]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
CVE-2014-7817: wordexp fails to honour WRDE_NOCMD.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a39208bd
CD
12014-11-19 Carlos O'Donell <carlos@redhat.com>
2 Florian Weimer <fweimer@redhat.com>
3 Joseph Myers <joseph@codesourcery.com>
4 Adam Conrad <adconrad@0c3.net>
5 Andreas Schwab <schwab@suse.de>
6 Brooks <bmoses@google.com>
7
8 [BZ #17625]
9 * wordexp-test.c (__dso_handle): Add prototype.
10 (__register_atfork): Likewise.
11 (__app_register_atfork): New function.
12 (registered_forks): New global.
13 (register_fork): New function.
14 (test_case): Add 3 new tests for WRDE_CMDSUB.
15 (main): Call __app_register_atfork.
16 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
17 fork count is non-zero fail the test.
18 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
19 is set.
20 (parse_dollars): Remove check for WRDE_NOCMD.
21 (parse_dquote): Likewise.
22
9cd47470
SP
232014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24
130ac68c
SP
25 * Makeconfig (built-modules): List non-library modules to be
26 built.
27 (module-cppflags): Include libc-modules.h for
28 everything except shlib-versions.v.i.
29 (CPPFLAGS): Use it.
30 (before-compile): Add libc-modules.h.
31 ($(common-objpfx)libc-modules.h,
32 $(common-objpfx)libc-modules.stmp): New targets.
33 (common-generated): Add libc-modules.h and libc-modules.stmp.
34 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
35 * include/libc-symbols.h: Don't include libc-modules.h.
36 * include/libc-modules.h: Remove file.
37 * scripts/gen-libc-modules.awk: New script to generate
38 libc-modules.h.
39 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
40 Depend on libc-modules.stmp.
41
286663c3
SP
42 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
43
9cd47470
SP
44 * Makeconfig (in-module): Get value of libof set for the
45 translation unit.
46 (CPPFLAGS): Use $(in-module).
47 * Makerules: Don't suffix routine names for nonlib.
48 * include/libc-modules.h: New file.
49 * include/libc-symbols.h: Include libc-modules.h
50 (IS_IN): New macro to replace IS_IN_* macros.
51 * elf/Makefile: Set libof-* for each routine.
52 * elf/rtld-Rules: Likewise.
53 * extra-modules.mk: Likewise.
54 * iconv/Makefile: Likewise.
55 * iconvdata/Makefile: Likewise.
56 * locale/Makefile: Likewise.
57 * malloc/Makefile: Likewise.
58 * nss/Makefile: Likewise.
59 * sysdeps/gnu/Makefile: Likewise.
60 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
61 * sysdeps/unix/sysv/linux/Makefile: Likewise.
62 * sysdeps/s390/s390-64/Makefile: Likewise.
63 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
64 CPPFLAGS for nscd instead of nonlib.
65
32fed10f
RM
662014-11-18 Roland McGrath <roland@hack.frob.com>
67
d71035bd
RM
68 * nptl/createthread.c: New file.
69
6540b991
RM
70 * nptl/createthread.c: Moved ...
71 * sysdeps/unix/sysv/linux/createthread.c: ... here.
72
32fed10f
RM
73 * nptl/createthread.c: Add proper top-line comment.
74 (do_clone): Folded into ...
75 (create_thread): ... here. Take new arguments STOPPED_START and
76 THREAD_RAN. Always set PD->stopped_start to something here. Don't
77 increment __nptl_threads, do event-reporting logic, do
78 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
79 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
80 resource cleanup if sched_setaffinity or sched_setscheduler fails,
81 just send SIGCANCEL.
82 * nptl/pthread_create.c: Forward-declare create_thread before
83 including createthread.c.
84 (start_thread): Use new macro START_THREAD_DEFN to replace defining
85 declaration, and new macro START_THREAD_SELF to replace argument.
86 Remove return statement.
87 (report_thread_creation): New function.
88 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
89 synchronization logic, and __nptl_nthreads increment here, around
90 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
91 PD->parent_cancelhandling here, before create_thread. When
92 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
93 __deallocate_stack, and ENOMEM translation here.
94
107a5bf0
JM
952014-11-18 Joseph Myers <joseph@codesourcery.com>
96
97 [BZ #17616]
98 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
99 (mptwo): Rename to __mptwo.
100 (__inv): Use __mptwo instead of mptwo.
101 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
102 (mptwo): Rename to __mptwo.
103 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
104 of mpone and __mptwo instead of mptwo.
105 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
106 instead of mpone.
107 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
108 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
109 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
110 of mpone and __mptwo instead of mptwo.
111 (__mpranred): Use __mpone instead of mpone.
112 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
113 variable.
114 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
115 (test-xfail-ISO99/math.h/linknamespace): Likewise.
116 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
117 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
118 (test-xfail-ISO11/math.h/linknamespace): Likewise.
119 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
120 (test-xfail-XPG3/math.h/linknamespace): Likewise.
121 (test-xfail-XPG4/math.h/linknamespace): Likewise.
122 (test-xfail-POSIX/math.h/linknamespace): Likewise.
123 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
124 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
125 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
126 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
127 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
128 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
129 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
130 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
131 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
132 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
133
3b679ab3
TV
1342014-11-18 Tom de Vries <tom@codesoucery.com>
135
136 * manual/signal.texi (Primitives Interrupted by Signals): In section,
137 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
138
1392014-11-17 Richard Henderson <rth@redhat.com>
140
141 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
142 (_FP_PACK_RAW_2): Remove.
143 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
144 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
145 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
146 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
147 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
148 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
149 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
150 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
151 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
152 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
153 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
154 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
155 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
156 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
157 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
158 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
159
0781a777
RM
1602014-11-14 Roland McGrath <roland@hack.frob.com>
161
162 * signal/signal.h [__USE_MISC]
163 (struct sigvec): Remove type.
164 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
165 (sigvec): Remove declaration.
166 * sysdeps/posix/sigvec.c: Moved ...
167 * signal/sigvec.c: ... here, replacing old file.
168 (struct sigvec): New type, copied from old signal.h definition.
169 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
170 (__sigvec): Convert definition to prototype.
171 (sigvec): Replace weak_alias with compat_symbol.
172 * signal/Versions (libc: GLIBC_2.21): New version set.
173 * include/signal.h: Remove __sigvec declaration.
174 * sysdeps/unix/bsd/sigvec.c: Remove file.
175 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
176 * manual/signal.texi (BSD Handler): Remove subsection.
177 Move siginterrupt up to ...
178 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
179 (Blocking in BSD): Fold subsection into its parent.
180 * NEWS: Mention sigvec removal.
181
a4733812
JM
1822014-11-14 Joseph Myers <joseph@codesourcery.com>
183
5ae4fe60
JM
184 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
185 (DLA_FMS): Make definition conditional only on [__FMA4__].
186 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
187 definition.
188
6a0dd472
JM
189 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
190 Make definition conditional only on [PROF].
191 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
192 definition.
193 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
194 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
195
a4733812
JM
196 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
197 !__GNUC__].
198 * include/signal.h (__sigpause): Move declaration above call to
199 libc_hidden_proto.
200 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
201 variable.
202 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
203 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
204
cf7246dd
DM
2052014-11-14 David S. Miller <davem@davemloft.net>
206
207 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
208 Define before including <string/memcpy.c> and <string/mempcpy.c>.
209
c1b0aadc
JM
2102014-11-14 Joseph Myers <joseph@codesourcery.com>
211
4863355a
JM
212 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
213 * configure: Regenerated.
214 * manual/install.texi (Tools for Compilation): Document a
215 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
216 compiler verified to work.
217 * INSTALL: Regenerated.
218
c1b0aadc
JM
219 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
220 redeclare with asm name.
221 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
222 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
223 including <string.h>.
224 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
225 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
226 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
227 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
228 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
229 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
230 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
231
2a1cfd94
JM
2322014-11-13 Joseph Myers <joseph@codesourcery.com>
233
bf438382
JM
234 * stdlib/strtol.c (__strtol): Use prototype definition.
235
2a1cfd94
JM
236 [BZ #17594]
237 * stdlib/strtol.c (SYM__): New macro.
238 (SYM__1): Likewise.
239 (__strtol): Likewise.
240 (strtol): Rename to __strtol and define as weak alias of
241 __strtol. Use libc_hidden_weak.
242
20ed0d26
SL
2432014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
244
245 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
246 Use numbered labels in inline assembly.
247
53244a4e
SL
2482014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
249
250 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
251 Add setjmp LIBC_PROBE.
252 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
253 Likewise.
254 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
255 Add longjmp, longjmp_target LIBC_PROBE.
256 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
257 Likewise.
258
47df8251
SL
2592014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
260
261 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
262 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
263 to get rid of unused variable warning.
264
618cebef
SL
2652014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
266
267 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
268 Check for unwind_backtrace == NULL only in SHARED case.
269 (__backchain_backtrace): Compile only in SHARED case.
270 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
271 Likewise.
272 (__backchain_backtrace): Declare as static.
273
c6aab2cb
RM
2742014-11-12 Roland McGrath <roland@hack.frob.com>
275
276 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
277 (__libc_multiple_threads_ptr): Variable moved ...
278 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
279
5a6fa4d7
JM
2802014-11-12 Joseph Myers <joseph@codesourcery.com>
281
24f4f825
JM
282 * conform/GlibcConform.pm: New file.
283 * conform/conformtest.pl: Use GlibcConform module.
284 * conform/linknamespace.pl: New file.
285 * conform/list-header-symbols.pl: Likewise.
286 * conform/Makefile (linknamespace-symlists-base): New variable.
287 (linknamespace-symlists-tests): Likewise.
288 (linknamespace-header-base): Likewise.
289 (linknamespace-header-tests): Likewise.
290 (tests-special): Add new tests.
291 ($(linknamespace-symlists-tests)): New rule.
292 (linknamespace-libs): New variable.
293 ($(objpfx)symlist-stdlibs): New rule.
294 ($(linknamespace-header-tests)): Likewise.
295 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
296 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
297 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
298 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
299 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
300 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
301 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
302 (test-xfail-ISO/math.h/linknamespace): Likewise.
303 (test-xfail-ISO/signal.h/linknamespace): Likewise.
304 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
305 (test-xfail-ISO/time.h/linknamespace): Likewise.
306 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
307 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
308 (test-xfail-ISO99/math.h/linknamespace): Likewise.
309 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
310 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
311 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
312 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
313 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
314 (test-xfail-ISO11/math.h/linknamespace): Likewise.
315 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
316 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
317 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
318 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
319 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
320 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
321 (test-xfail-XPG3/math.h/linknamespace): Likewise.
322 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
323 (test-xfail-XPG3/search.h/linknamespace): Likewise.
324 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
325 (test-xfail-XPG3/time.h/linknamespace): Likewise.
326 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
327 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
328 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
329 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
330 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
331 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
332 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
333 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
334 (test-xfail-XPG4/math.h/linknamespace): Likewise.
335 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
336 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
337 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
338 (test-xfail-XPG4/search.h/linknamespace): Likewise.
339 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
340 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
341 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
342 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
343 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
344 (test-xfail-XPG4/time.h/linknamespace): Likewise.
345 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
346 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
347 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
348 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
349 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
350 (test-xfail-POSIX/math.h/linknamespace): Likewise.
351 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
352 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
353 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
354 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
355 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
356 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
357 (test-xfail-POSIX/time.h/linknamespace): Likewise.
358 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
359 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
360 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
361 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
362 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
363 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
364 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
365 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
366 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
367 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
368 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
369 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
370 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
371 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
372 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
373 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
374 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
375 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
376 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
377 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
378 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
379 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
380 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
381 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
382 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
383 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
384 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
385 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
386 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
387 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
388 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
389 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
390 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
391 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
392 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
393 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
394 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
395 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
396 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
397 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
398 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
399 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
400 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
401 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
402 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
403 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
404 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
405 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
406 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
407 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
408 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
409 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
410 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
411 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
412 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
413 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
414 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
415 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
416 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
417 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
418 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
419 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
420 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
421 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
422 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
423 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
424 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
425 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
426 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
427 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
428 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
429 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
430 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
431 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
432 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
433 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
434 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
435 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
436 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
437 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
438 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
439 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
440 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
441 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
442 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
443 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
444 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
445 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
446 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
447 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
448 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
449 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
450 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
451 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
452 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
453 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
454 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
455 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
456
cc67478e
JM
457 [BZ #17589]
458 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
459 of fgets_unlocked.
460
9975e3d3
JM
461 [BZ #17585]
462 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
463 (memmem): Rename to __memmem and define as weak alias of
464 __memmem. Use libc_hidden_weak.
465 (__memmem): Use libc_hidden_def.
466 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
467 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
468 memmem.
469
c4eae752
JM
470 [BZ #17582]
471 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
472 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
473 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
474 and define as weak alias of __fgets_unlocked. Use
475 libc_hidden_weak.
476 (__fgets_unlocked): Use libc_hidden_def.
477 * include/stdio.h (__fgets_unlocked): Declare. Use
478 libc_hidden_proto.
479 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
480 __fgets_unlocked instead of fgets_unlocked.
481 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
482 (GET_NPROCS_CONF_PARSER): Likewise.
483 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
484 (GET_NPROCS_CONF_PARSER): Likewise.
485
01cad84e
JM
486 [BZ #17574]
487 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
488 weak alias of __wmemset. Use libc_hidden_weak.
489 (__wmemset): Use libc_hidden_def.
490 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
491 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
492 of wmemset.
493
939da411
JM
494 [BZ #17573]
495 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
496 with asm name __mempcpy.
497 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
498
293d9a41
JM
499 [BZ #17572]
500 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
501 and define as weak alias of __rawmemchr.
502 (__rawmemchr): Do not define as strong alias of rawmemchr.
503
bef8fd60
JM
504 [BZ #17571]
505 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
506 alias of __qsort_r.
507 (qsort): Call __qsort_r instead of qsort_r.
508 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
509 (__qsort_r): Declare. Call libc_hidden_proto.
510 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
511 instead of qsort_r.
512 * nscd/gai.c (__qsort_r): Define to qsort_r.
513 * posix/tst-rfc3484.c (__qsort_r): Likewise.
514 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
515 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
516
c52ff39e
JM
517 [BZ #17570]
518 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
519 define as weak alias of __malloc_info.
520
2f5c1b00
JM
521 [BZ #17584]
522 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
523 as weak alias of __rewinddir. Don't use libc_hidden_def.
524 (__rewinddir): Use libc_hidden_def.
525 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
526 as weak alias of __rewinddir. Don't use libc_hidden_def.
527 (__rewinddir): Use libc_hidden_def.
528 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
529 weak alias of __rewinddir. Don't use libc_hidden_def.
530 (__rewinddir): Use libc_hidden_def.
531 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
532 (__rewinddir): Use libc_hidden_proto.
533 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
534 rewinddir.
535 (__getcwd): Use __rewinddir instead of rewinddir.
536
5a6fa4d7
JM
537 [BZ #17583]
538 * libio/fileno.c (fileno): Rename to __fileno and define as weak
539 alias of __fileno. Use libc_hidden_weak.
540 (__fileno): Use libc_hidden_def.
541 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
542 * libio/ftello.c (ftello): Rename to __ftello and define as weak
543 alias of __ftello.
544 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
545 __ftello.
546 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
547 (__fread_unlocked): Define as strong alias of _IO_fread. Use
548 libc_hidden_def.
549 (fread_unlocked): Don't use libc_hidden_ver.
550 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
551 and define as weak alias of __fread_unlocked. Don't use
552 libc_hidden_def.
553 (__fread_unlocked): Use libc_hidden_def.
554 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
555 (ftello): Don't use libc_hidden_proto.
556 (__ftello): Declare. Use libc_hidden_proto.
557 (fread_unlocked): Don't use libc_hidden_proto.
558 (__fread_unlocked): Declare. Use libc_hidden_proto.
559 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
560 and __ftello instead of fileno, fread_unlocked and ftello.
561
2581b98e
SP
5622012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
563
564 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
565 GOT12.
566 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
567 Likewise.
568 (_dl_start_user): Likewise.
569 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
570
533bb7c2
SP
5712014-11-12 Carlos O'Donell <carlos@redhat.com>
572 Siddhesh Poyarekar <siddhesh@redhat.com>
573
574 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
575 Move argv and envp down instead of moving argc up.
576 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
577
fffa1cf8
LH
5782014-11-12 Leonhard Holz <leonhard.holz@web.de>
579
580 [BZ #17506]
581 * test-skeleton.c (main): Return successful if one of
582 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
583 * string/tst-strcoll-overflow.c: Define expected status.
584
fb89b46d
TU
5852014-11-12 Tatiana Udalova <t.udalova@samsung.com>
586
587 [BZ #17475]
588 * locale/iso-639.def: Define Bhili and Tulu language codes.
589
5c40c3ba
AH
5902014-11-11 Alan Hayward <alan.hayward@arm.com>
591
592 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
593
b17fe01b 5942014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
595
596 [BZ #17555]
597 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
598
bd805071
AS
5992014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
600
601 * configure.ac: Updated check of minimal required version to
602 2.22.
603 * manual/install.texi (Tools for Compilation): Updated version
604 number.
605 * configure: Regenerated.
606 * INSTALL: Likewise.
607
1400983e
AS
6082014-11-07 Andreas Schwab <schwab@linux-m68k.org>
609
610 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
611 __tls_get_addr.
612
2c46a66a
JM
6132014-11-07 Joseph Myers <joseph@codesourcery.com>
614
615 * include/sys/wait.h (__libc_waitpid): Remove declaration.
616 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
617 (__waitpid): Don't define as alias. Use libc_hidden_def not
618 libc_hidden_weak.
619 (waitpid): Define as alias of __waitpid.
620 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
621 __waitpid.
622 (__waitpid): Don't define as alias. Use libc_hidden_def not
623 libc_hidden_weak.
624 (waitpid): Define as alias of __waitpid.
625 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
626 __libc_waitpid alias.
627 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
628 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
629 Likewise.
630 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
631 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
632 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
633 alias.
634 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
635 __waitpid.
636 (__waitpid): Don't define as alias. Use libc_hidden_def not
637 libc_hidden_weak.
638 (waitpid): Define as alias of __waitpid.
639
da53d6db
CD
6402014-11-06 Carlos O'Donell <carlos@redhat.com>
641
a2887bdb
CD
642 * manual/llio.texi: Add comment that write safety has been
643 fixed in Linux.
644
da53d6db
CD
645 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
646 (localplt-build-dso): Add elf/ld.so.
647 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
648 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
649 and free for ld.so.
650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
651 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
653 Likewise.
654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
655 Likewise.
656 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
657 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
658 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
659 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
660 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
661 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
662 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
663 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
664 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
665 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
666 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
667
9cf27b8d
JM
6682014-11-05 Joseph Myers <joseph@codesourcery.com>
669
670 [BZ #14132]
671 * include/libc-symbols.h (INTUSE): Remove macro.
672 (INTDEF): Likewise.
673 (INTVARDEF): Likewise.
674 (_INTVARDEF): Likewise.
675 (INTDEF2): Likewise.
676 (INTVARDEF2): Likewise.
677 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
678 rtld_hidden_def instead of INTVARDEF.
679 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
680 (_dl_starting_up_internal): Remove declaration.
681 (_dl_starting_up): Use rtld_hidden_proto.
682 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
683 declaration.
684 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
685 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
686 _dl_starting_up.
687 * elf/dl-writev.h (_dl_writev): Likewise.
688 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
689 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
690 _dl_starting_up_internal.
691
af83568d
AZ
6922014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
693
694 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
695 test-skeleton.c.
696
b01ee67c
WN
6972014-11-05 Will Newton <will.newton@linaro.org>
698
699 * benchtests/Makefile: (bench-malloc): Add malloc thread
700 scalability benchmark.
701 * benchtests/bench-malloc-threads.c: New file.
702
be9d4ccc
RE
7032014-11-05 Richard Earnshaw <rearnsha@arm.com>
704
705 * sysdeps/aarch64/strchrnul.S: New file.
706
7110166d
AZ
7072014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
708
709 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
710 definition.
711 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
712 Likwise.
713 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
714 Likewise.
715 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
716 Likewise.
717 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
718 Likewise.
719 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
720 Likewise.
721
7222014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
723
724 * catgets/test-gencat.c: Use test-skeleton.c.
725 * catgets/tst-catgets.c: Likewise.
726 * csu/tst-empty.c: Likewise.
727 * elf/tst-audit2.c: Likewise.
728 * elf/tst-global1.c: Likewise.
729 * elf/tst-pathopt.c: Likewise.
730 * elf/tst-piemod1.c: Likewise.
731 * elf/tst-tls10.c: Likewise.
732 * elf/tst-tls11.c: Likewise.
733 * elf/tst-tls12.c: Likewise.
734 * gnulib/tst-gcc.c: Likewise.
735 * iconvdata/tst-e2big.c: Likewise.
736 * iconvdata/tst-loading.c: Likewise.
737 * iconv/tst-iconv1.c: Likewise.
738 * iconv/tst-iconv2.c: Likewise.
739 * inet/test-inet6_opt.c: Likewise.
740 * inet/tst-gethnm.c: Likewise.
741 * inet/tst-network.c: Likewise.
742 * inet/tst-ntoa.c: Likewise.
743 * intl/tst-codeset.c: Likewise.
744 * intl/tst-gettext2.c: Likewise.
745 * intl/tst-gettext3.c: Likewise.
746 * intl/tst-ngettext.c: Likewise.
747 * intl/tst-translit.c: Likewise.
748 * io/test-stat.c: Likewise.
749 * libio/test-fmemopen.c: Likewise.
750 * libio/tst-freopen.c: Likewise.
751 * libio/tst-sscanf.c: Likewise.
752 * libio/tst-ungetwc1.c: Likewise.
753 * libio/tst-ungetwc2.c: Likewise.
754 * libio/tst-widetext.c: Likewise.
755 * localedata/tst-ctype.c: Likewise.
756 * localedata/tst-digits.c: Likewise.
757 * localedata/tst-leaks.c: Likewise.
758 * localedata/tst-mbswcs1.c: Likewise.
759 * localedata/tst-mbswcs2.c: Likewise.
760 * localedata/tst-mbswcs3.c: Likewise.
761 * localedata/tst-mbswcs4.c: Likewise.
762 * localedata/tst-mbswcs5.c: Likewise.
763 * localedata/tst-setlocale.c: Likewise.
764 * localedata/tst-trans.c: Likewise.
765 * localedata/tst-wctype.c: Likewise.
766 * localedata/tst-xlocale1.c: Likewise.
767 * login/tst-grantpt.c: Likewise.
768 * malloc/tst-calloc.c: Likewise.
769 * malloc/tst-malloc.c: Likewise.
770 * malloc/tst-mallocstate.c: Likewise.
771 * malloc/tst-mcheck.c: Likewise.
772 * malloc/tst-mtrace.c: Likewise.
773 * malloc/tst-obstack.c: Likewise.
774 * math/atest-exp2.c: Likewise.
775 * math/atest-exp.c: Likewise.
776 * math/atest-sincos.c: Likewise.
777 * math/test-matherr.c: Likewise.
778 * math/test-misc.c: Likewise.
779 * math/test-powl.c: Likewise.
780 * math/tst-definitions.c: Likewise.
781 * misc/tst-dirname.c: Likewise.
782 * misc/tst-efgcvt.c: Likewise.
783 * misc/tst-fdset.c: Likewise.
784 * misc/tst-hsearch.c: Likewise.
785 * misc/tst-mntent2.c: Likewise.
786 * nptl/tst-sem7.c: Likewise.
787 * nptl/tst-sem8.c: Likewise.
788 * nptl/tst-sem9.c: Likewise.
789 * nss/test-netdb.c: Likewise.
790 * posix/tst-fnmatch.c: Likewise.
791 * posix/tst-getlogin.c: Likewise.
792 * posix/tst-gnuglob.c: Likewise.
793 * posix/tst-mmap.c: Likewise.
794 * pwd/tst-getpw.c: Likewise.
795 * resolv/tst-inet_ntop.c: Likewise.
796 * rt/tst-timer.c: Likewise.
797 * stdio-common/test-fseek.c: Likewise.
798 * stdio-common/test-popen.c: Likewise.
799 * stdio-common/test-vfprintf.c: Likewise.
800 * stdio-common/tst-cookie.c: Likewise.
801 * stdio-common/tst-fileno.c: Likewise.
802 * stdio-common/tst-gets.c: Likewise.
803 * stdio-common/tst-obprintf.c: Likewise.
804 * stdio-common/tst-perror.c: Likewise.
805 * stdio-common/tst-sprintf2.c: Likewise.
806 * stdio-common/tst-sprintf3.c: Likewise.
807 * stdio-common/tst-sprintf.c: Likewise.
808 * stdio-common/tst-swprintf.c: Likewise.
809 * stdio-common/tst-tmpnam.c: Likewise.
810 * stdio-common/tst-unbputc.c: Likewise.
811 * stdio-common/tst-wc-printf.c: Likewise.
812 * stdlib/tst-environ.c: Likewise.
813 * stdlib/tst-fmtmsg.c: Likewise.
814 * stdlib/tst-limits.c: Likewise.
815 * stdlib/tst-rand48-2.c: Likewise.
816 * stdlib/tst-rand48.c: Likewise.
817 * stdlib/tst-random2.c: Likewise.
818 * stdlib/tst-random.c: Likewise.
819 * stdlib/tst-strtol.c: Likewise.
820 * stdlib/tst-strtoll.c: Likewise.
821 * stdlib/tst-tls-atexit.c: Likewise.
822 * stdlib/tst-xpg-basename.c: Likewise.
823 * string/test-ffs.c: Likewise.
824 * string/tst-bswap.c: Likewise.
825 * string/tst-inlcall.c: Likewise.
826 * string/tst-strtok.c: Likewise.
827 * string/tst-strxfrm.c: Likewise.
828 * sysdeps/x86_64/tst-audit10.c: Likewise.
829 * sysdeps/x86_64/tst-audit3.c: Likewise.
830 * sysdeps/x86_64/tst-audit4.c: Likewise.
831 * sysdeps/x86_64/tst-audit5.c: Likewise.
832 * time/tst-ftime_l.c: Likewise.
833 * time/tst-getdate.c: Likewise.
834 * time/tst-mktime3.c: Likewise.
835 * time/tst-mktime.c: Likewise.
836 * time/tst-posixtz.c: Likewise.
837 * time/tst-strptime2.c: Likewise.
838 * time/tst-strptime3.c: Likewise.
839 * wcsmbs/tst-btowc.c: Likewise.
840 * wcsmbs/tst-mbrtowc.c: Likewise.
841 * wcsmbs/tst-mbsrtowcs.c: Likewise.
842 * wcsmbs/tst-wchar-h.c: Likewise.
843 * wcsmbs/tst-wcpncpy.c: Likewise.
844 * wcsmbs/tst-wcrtomb.c: Likewise.
845 * wcsmbs/tst-wcsnlen.c: Likewise.
846 * wcsmbs/tst-wcstof.c: Likewise.
847
2004e7fb
JM
8482014-11-04 Joseph Myers <joseph@codesourcery.com>
849
ab97ee8f
JM
850 [BZ #14132]
851 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
852 INTDEF.
853 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
854 declaration.
855 (_dl_mcount): Use rtld_hidden_proto.
856 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
857 _dl_mcount.
858 * elf/rtld.c (_rtld_global_ro): Likewise.
859
c5684fdb
JM
860 [BZ #14132]
861 * elf/dl-init.c (_dl_init): Don't use INTDEF.
862 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
863 of _dl_init_internal.
864 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
865 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
866 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
867 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
868 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
869 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
870 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
871 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
872 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
873 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
874 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
875 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
876 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
877 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
878 * sysdeps/tile/dl-start.S (_start): Likewise.
879 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
880 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
881
4243cbea
JM
882 [BZ #14132]
883 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
884 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
885 (rtld_progname): Make macro definition unconditional.
886 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
887 INTDEF.
888 (dlmopen_doit): Do not use INTUSE with _dl_argv.
889 (dl_main): Likewise.
890 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
891 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
892 instead of _dl_argv_internal.
893 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
894 __GI__dl_argv instead of INTUSE(_dl_argv).
895 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
896 __GI__dl_argv instead of _dl_argv_internal.
897
2004e7fb
JM
898 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
899 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
900 macro.
901 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
902 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
903 New macro.
904 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
905 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
906 macro.
907 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
908 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
909
97827bfc
AS
9102014-11-04 Andreas Schwab <schwab@suse.de>
911
912 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
913
5e4df284
AZ
9142014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
915
916 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
917 mtvsrd instruction in binary form.
918
04b76b5a
AS
9192014-11-03 Andreas Schwab <schwab@suse.de>
920
921 [BZ #17522]
922 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
923 for less than MB_LEN_MAX use a local buffer of that size.
924 * libio/tst-fputws.c: New file.
925 * libio/Makefile (tests): Add tst-fputws.
926
4c6da7da
JM
9272014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
928
929 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
930 the size of the fpu_fr.fpu_dregs[] array.
931
1679ba8e
JM
9322014-11-01 Joseph Myers <joseph@codesourcery.com>
933
934 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
935 (__nanosleep): Do not define as alias.
936 (nanosleep): Define as alias of __nanosleep.
937 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
938 __libc_nanosleep name.
939
2626c183
JM
9402014-10-31 Joseph Myers <joseph@codesourcery.com>
941
942 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
943 install.texi in comment.
944
7f981fc2
TR
9452014-10-31 Torvald Riegel <triegel@redhat.com>
946
947 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
948 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
949 ... add here and use lwsync or sync ...
950 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
951 ... and add here using lwsync.
952
d6f373d2
MF
9532014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
954
955 * elf/dl-machine-reject-phdr.h: New file.
956 * elf/dl-load.c: #include that.
957 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
958 if that returned true.
959
67c37987
RM
9602014-10-31 Roland McGrath <roland@hack.frob.com>
961
962 [BZ #17496]
963 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
964 gen-as-const-headers chunk. Add a big scare comment after the last
965 safe place to touch before-compile.
966
94a42455 9672014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 968
f3f5d895
JM
969 * manual/install.texi (Tools for Compilation): Update autoconf
970 version requirements.
971 * INSTALL: Regenerated.
972
f62ff286
JM
973 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
974 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
975 (__libc_pselect): Likewise.
94a42455
JM
976
977 [BZ #14138]
978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
982
ff9dbdc0
TR
9832014-10-31 Torvald Riegel <triegel@redhat.com>
984
985 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
986 correct barrier instruction.
987 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
988 Likewise.
989 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
990 Likewise.
991
b4f66884
RM
9922014-10-30 Roland McGrath <roland@hack.frob.com>
993
994 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
995 after defining inlines. Instead, just use parens to defeat macro
996 expansion of __isctype in its declaration.
997
e19c95fd
JM
9982014-10-30 Joseph Myers <joseph@codesourcery.com>
999
1000 * include/sys/uio.h (__libc_readv): Remove declaration.
1001 (__libc_writev): Likewise.
1002 * misc/readv.c (__libc_readv): Rename to __readv.
1003 (__readv): Do not define as alias.
1004 (readv): Define as alias of __readv.
1005 * misc/writev.c (__libc_writev): Rename to __writev.
1006 (__writev): Do not define as alias.
1007 (writev): Define as alias of __writev.
1008 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1009 (__readv): Do not define as alias.
1010 (readv): Define unconditionally as alias of __readv.
1011 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1012 (__writev): Do not define as alias.
1013 (writev): Define unconditionally as alias of __writev.
1014 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1015 name.
1016 (writev): Do not define __libc_writev name.
1017
65b00b6c
RM
10182014-10-30 Roland McGrath <roland@hack.frob.com>
1019
1020 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1021 (convert_charseq): New function, broken out of ...
1022 (use_from_charmap): ... here. Call it.
1023 (use_to_charmap): Use convert_charseq and free instead of duplicating
1024 its code with a variable-length stack struct.
1025
d4e157aa
JM
10262014-10-30 Joseph Myers <joseph@codesourcery.com>
1027
1028 * include/fcntl.h (__libc_creat): Remove declaration.
1029 * io/creat.c (__libc_creat): Rename to creat.
1030 (creat): Do not define as alias.
1031 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1032 of creat instead of __libc_creat.
1033 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1034 to creat.
1035 (creat): Do not define as alias.
1036 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1037 __libc_creat.
1038 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1039 __libc_creat name.
1040 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1041 Likewise.
1042
0c6891a0
CD
10432014-10-29 Carlos O'Donell <carlos@redhat.com>
1044
1045 * manual/llio.texi: Add comments discussing why write() may be
1046 considered MT-unsafe on Linux.
1047
cc00cece
CD
10482014-10-28 Carlos O'Donell <carlos@redhat.com>
1049
1050 * dl-load.c (local_strdup): Remove.
1051 (expand_dynamic_string_token): Use __strdup.
1052 (decompose_rpath): Likewise.
1053 (_dl_map_object): Likewise.
1054
51e623f2
JM
10552014-10-28 Joseph Myers <joseph@codesourcery.com>
1056
1057 [BZ #14132]
1058 * sysdeps/generic/unwind-dw2-fde.c
1059 (__register_frame_info_bases_internal): Do not declare.
1060 (__register_frame_info_table_bases_internal): Likewise.
1061 (__deregister_frame_info_bases_internal): Likewise.
1062 (__register_frame_info_bases): Declare and use hidden_proto before
1063 definition. Use hidden_def instead of INTDEF.
1064 (__register_frame_info_table_bases): Likewise.
1065 (__deregister_frame_info_bases): Likewise.
1066 (__register_frame_info): Do not use INTUSE.
1067 (__register_frame): Likewise.
1068 (__register_frame_info_table): Likewise.
1069 (__register_frame_table): Likewise.
1070 (__deregister_frame_info): Likewise.
1071 (__deregister_frame): Likewise.
1072
03d41216
GC
10732014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1074
1075 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1076 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1077 not undefine.
1078 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1079 Likewise.
1080 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1081 Likewise.
1082
a4b3624d
JM
10832014-10-27 Joseph Myers <joseph@codesourcery.com>
1084
1085 [BZ #14138]
1086 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1087 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1088 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1089 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1090 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1091 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1092 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1093 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1094 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1095 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1096 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1097 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1098 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1099 syscall.
1100 (setfsuid): Likewise.
1101 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1102 (setfsuid): Likewise.
1103 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1104 (setfsuid): Likewise.
1105 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1106 Likewise.
1107 (setfsuid): Likewise.
1108 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1109 (setfsuid): Likewise.
1110 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1111 Likewise.
1112 (setfsuid): Likewise.
1113
3574f2fd
AS
11142014-10-27 Andreas Schwab <schwab@suse.de>
1115
1116 [BZ #17501]
1117 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1118 check for Slow_SSE4_2 feature bit.
1119 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1120 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1121 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1122 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1123
70996a37
RM
11242014-10-24 Roland McGrath <roland@hack.frob.com>
1125
461a7b1e
RM
1126 * configure.ac: Validate compiler version with a empirical test of
1127 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1128 $CC -v output.
1129 * configure: Regenerated.
1130
70996a37
RM
1131 * inet/htons.c (htons): Prototypify.
1132 * inet/htonl.c (htonl): Likewise.
1133
e80514b5
WD
11342014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1135
1136 * string/strncat.c (strncat): Improve performance by using strlen.
1137
6e46de42
WD
11382014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1139
1140 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1141
6a9ad2fa
WD
11422014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1143
1144 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1145 Call libc_fetestexcept_aarch64.
1146
1c8810ed
WD
11472014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1148
1149 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1150 Call libc_feholdexcept_aarch64.
1151
8b1af712
WD
11522014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1153
1154 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1155 Call get_rounding_mode.
1156
a7b00c11
WD
11572014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1158
1159 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1160 Simplify logic.
1161
3a84f1a6
WD
11622014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1163
1164 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1165 Simplify logic.
1166
48eb7a94
JM
11672014-10-24 Joseph Myers <joseph@codesourcery.com>
1168
c8bc4038
JM
1169 [BZ #14138]
1170 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1171 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1172 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1173 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1174 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1175 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1176 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1177 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1178 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1179 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1180 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1181 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1182 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1183 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1184 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1185 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1186 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1187 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1188 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1189 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1190 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1191 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1192 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1193 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1194 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1195 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1196 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1197 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1198 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1199 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1200 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1201 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1202 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1203 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1204 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1205 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1206 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1207 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1208 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1209 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1210 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1211 syscall.
1212 (geteuid): Likewise.
1213 (getgid): Likewise.
1214 (getuid): Likewise.
1215 (getresgid): Likewise.
1216 (getresuid): Likewise.
1217 (getgroups): Likewise.
1218 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1219 (geteuid): Likewise.
1220 (getgid): Likewise.
1221 (getuid): Likewise.
1222 (getresgid): Likewise.
1223 (getresuid): Likewise.
1224 (getgroups): Likewise.
1225 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1226 (geteuid): Likewise.
1227 (getgid): Likewise.
1228 (getuid): Likewise.
1229 (getresgid): Likewise.
1230 (getresuid): Likewise.
1231 (getgroups): Likewise.
1232 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1233 Likewise.
1234 (geteuid): Likewise.
1235 (getgid): Likewise.
1236 (getuid): Likewise.
1237 (getresgid): Likewise.
1238 (getresuid): Likewise.
1239 (getgroups): Likewise.
1240 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1241 (geteuid): Likewise.
1242 (getgid): Likewise.
1243 (getuid): Likewise.
1244 (getresgid): Likewise.
1245 (getresuid): Likewise.
1246 (getgroups): Likewise.
1247 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1248 Likewise.
1249 (geteuid): Likewise.
1250 (getgid): Likewise.
1251 (getuid): Likewise.
1252 (getgroups): Likewise.
1253
48eb7a94
JM
1254 [BZ #14138]
1255 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1256 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1257 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1258 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1259 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1260 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1261 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1262 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1263 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1264 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1265 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1266 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1267 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1268 __chown.
1269 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1270 (lchown): Likewise.
1271 (fchown): Likewise.
1272 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1273 Likewise.
1274 (lchown): Likewise.
1275 (fchown): Likewise.
1276 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1277 (lchown): Likewise.
1278 (fchown): Likewise.
1279 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1280 Likewise.
1281 (lchown): Likewise.
1282 (fchown): Likewise.
1283
ea9a7c8b
WD
12842014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1285
1286 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1287 Simplify logic.
1288
e226de33
WD
12892014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1290
1291 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1292 Cleanup logic.
1293
6e3d8ed3
WD
12942014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1295
1296 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1297 Remove unused include.
1298
eb04247d
WD
12992014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1300
1301 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1302 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1303 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1304 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1305
13d84554
CD
13062014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1307 Helge Deller <deller@gmx.de>
1308
1309 [BZ #17508]
1310 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1311 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1312 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1313
15f9c5df
JM
13142014-10-23 Joseph Myers <joseph@codesourcery.com>
1315
1316 [BZ #14132]
1317 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1318 Remove macro definition.
1319 (__ashrdi3_v_glibc20): Likewise.
1320 (__lshrdi3_v_glibc20): Likewise.
1321 (__cmpdi2_v_glibc20): Likewise.
1322 (__ucmpdi2_v_glibc20): Likewise.
1323 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1324 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1325 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1326 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1327 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1328 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1329
c6dfed24
RM
13302014-10-22 Roland McGrath <roland@hack.frob.com>
1331
1332 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1333 old GNU extension [0] syntax.
1334 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1335 alloca rather than an array member with variable length.
1336 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1337 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1338 (parse_opt): ... here. Likewise use alloca there.
1339 Validate the -i argument before checking for rootness.
1340 (send_shutdown): New function, broken out of ...
1341 (parse_opt): ... here.
1342
8c2b1ed8
RM
13432014-10-22 Roland McGrath <roland@hack.frob.com>
1344
1345 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1346 macro to get at the _rt_local_ro field.
1347 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1348 ([PIC] case) or _dl_hwcap ([!PIC] case).
1349 * sysdeps/arm/setjmp.S: Likewise.
1350
1351 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1352 * sysdeps/arm/configure.ac: New check to define it.
1353 * sysdeps/arm/configure: Regenerated.
1354 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1355 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1356 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1357 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1358 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1359 Use move/movt pair instead of a load.
1360 (LDST_GLOBAL): Macro removed.
1361 (LDR_GLOBAL): New macro replaces it.
1362 (LDR_HIDDEN): New macro.
1363 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1364 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1365
1366 * setjmp/tst-setjmp-static.c: New file.
1367 * setjmp/Makefile (tests): Add it.
1368 (tests-static): New variable.
1369
b5af9297
MR
13702014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1371
1372 [BZ #17485]
1373 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1374
a13d0d74
JM
13752014-10-21 Joseph Myers <joseph@codesourcery.com>
1376
1377 [BZ #14132]
1378 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1379
f05e73f6
RM
13802014-10-21 Roland McGrath <roland@hack.frob.com>
1381
1382 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1383
6ab1d1ea
RM
13842014-10-20 Roland McGrath <roland@hack.frob.com>
1385
1386 * io/fts.c (dirent_not_directory): New function.
1387 (fts_build): Call it.
1388
ab49e763
RM
13892014-10-20 Roland McGrath <roland@hack.frob.com>
1390
e436eb79
RM
1391 * nptl/version.c (__nptl_main): Use normal __write rather than
1392 INTERNAL_SYSCALL.
1393 (banner): Update copyright years.
1394
6af246cf
RM
1395 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1396 gettimeofday.
1397 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1398 * nptl/pthread_cond_timedwait.c: Likewise.
1399 * nptl/pthread_mutex_timedlock.c: Likewise.
1400 * nptl/sem_timedwait.c: Likewise.
1401
ab49e763
RM
1402 * sysdeps/nptl/bits/libc-lock.h
1403 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1404 (__libc_lock_init_recursive): Return void, not 0.
1405 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1406 (__libc_rwlock_init): Likewise.
1407 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1408
f50277c1
TR
14092014-10-20 Torvald Riegel <triegel@redhat.com>
1410
1411 [BZ #15215]
1412 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1413 (__pthread_once_slow): ... here.
1414 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1415 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1416
63668b70
TR
14172014-10-20 Torvald Riegel <triegel@redhat.com>
1418
1419 [BZ #15215]
1420 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1421 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1422 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1423 * nptl/pthread_once.c (__pthread_once): Likewise.
1424 Update comments.
1425
42b7f5d4
JM
14262014-10-20 Joseph Myers <joseph@codesourcery.com>
1427
1428 [BZ #14138]
1429 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1430 name.
1431 (writev): Use __libc_writev as strong name.
1432 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1433 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1434
b0643088
RM
14352014-10-17 Roland McGrath <roland@hack.frob.com>
1436
114c4e09
RM
1437 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1438
674b8978
RM
1439 * sysdeps/i386/nptl/tls.h
1440 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1441 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1442 New macros.
1443 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1444 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1445 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1446 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1447 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1448 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1449
184ee940
RM
1450 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1451 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1452 on [__NR_futex].
1453 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1454 broken out of ...
1455 (__pthread_mutex_init): ... here. Call it.
1456 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1457 Conditionalize PI cases on [__NR_futex].
1458 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1459 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1460 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1461
327ae257
RM
1462 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1463 conditional on [SIGSETXID].
1464 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1465 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1466 is defined. Likewise for SIGSETXID.
1467 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1468 Conditionalize definitions on [SIGSETXID].
1469 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1470 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1471 unblocking on [SIGCANCEL].
1472
b0643088
RM
1473 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1474 [__NR_set_robust_list].
1475
33cc770b
SP
14762014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1477
1478 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1479 (do_compare): Likewise.
1480
0742aef6
LH
14812014-10-17 Leonhard Holz <leonhard.holz@web.de>
1482
1483 [BZ #15884]
1484 * string/strcoll_l.c: Don't include stdio.h.
1485 (coll_seq): Remove members idxarr and rulearr.
1486 (get_next_seq_cached): Remove function.
1487 (get_next_seq): Likewise.
1488 (get_next_seq_nocache): Rename to get_next_seq.
1489 (do_compare): Remove function.
1490 (do_compare_nocache): Rename to do_compare.
1491 (STRCOLL): Remove weight and rules cache.
1492
ee54ce44
RM
14932014-10-16 Roland McGrath <roland@hack.frob.com>
1494
1495 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1496 * sysdeps/arm/sfp-machine.h: ... to here.
1497 * sysdeps/arm/Implies: Remove arm/soft-fp.
1498
a75d3b02
JM
14992014-10-14 Joseph Myers <joseph@codesourcery.com>
1500
1501 * conform/data/sys/utsname.h-data (*_t): Allow.
1502 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1503 [POSIX] (WEXITED): Do not expect constant.
1504 [POSIX] (WSTOPPED): Likewise.
1505 [POSIX] (WNOHANG): Likewise.
1506 [POSIX] (WNOWAIT): Likewise.
1507 [POSIX] (siginfo_t): Do not expect type or elements.
1508 [POSIX] (pid_t): Do not expect type.
1509 [POSIX] (signal.h): Do not allow header.
1510 [POSIX] (sys/resource.h): Likewise.
1511 [POSIX] (si_*): Do not allow pattern.
1512 [POSIX] (W*): Likewise.
1513 [POSIX] (P_*): Likewise.
1514 [POSIX] (BUS_*): Likewise.
1515 [POSIX] (CLD_*): Likewise.
1516 [POSIX] (FPE_*): Likewise.
1517 [POSIX] (ILL_*): Likewise.
1518 [POSIX] (POLL_*): Likewise.
1519 [POSIX] (SEGV_*): Likewise.
1520 [POSIX] (SI_*): Likewise.
1521 [POSIX] (TRAP_*): Likewise.
1522 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1523 variable.
1524
fda389c8
SP
15252014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1526
1527 [BZ #12926]
1528 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1529 infinite loop when __recvmsg returns 0.
1530
6bc6bd3b
JM
15312014-10-10 Joseph Myers <joseph@codesourcery.com>
1532
fcb32af1
JM
1533 * CANCEL-FCT-WAIVE: Remove file.
1534 * CANCEL-FILE-WAIVE: Likewise.
1535
6bc6bd3b
JM
1536 [BZ #14132]
1537 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1538 instead of INTVARDEF.
1539 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1540 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1541 rtld_hidden_data_def instead of INTVARDEF.
1542 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1543 * elf/dl-deps.c (expand_dst): Likewise.
1544 * elf/dl-load.c (_dl_dst_count): Likewise.
1545 (_dl_dst_substitute): Likewise.
1546 (decompose_rpath): Likewise.
1547 (_dl_init_paths): Likewise.
1548 (open_path): Likewise.
1549 (_dl_map_object): Likewise.
1550 * elf/rtld.c (dl_main): Likewise.
1551 (process_dl_audit): Likewise.
1552 (process_envvars): Likewise.
1553 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1554 Remove declaration.
1555 (__libc_enable_secure): Use rtld_hidden_proto.
1556
b8c80a7e
KS
15572014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1558
1559 * elf/dl-load.c
1560 (add_path): New function broken out of _dl_rtld_di_serinfo.
1561 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1562
ff12c11f
JM
15632014-10-09 Joseph Myers <joseph@codesourcery.com>
1564
5c0508a3
JM
1565 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1566 parentheses around macro arguments.
1567 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1568 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1569 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1570 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1571 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1572 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1573 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1574 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1575 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1576 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1577 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1578 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1579 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1580 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1581 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1582 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1583 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1584 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1585 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1586 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1587 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1588 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1589 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1590 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1591 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1592 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1593 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1594 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1595 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1596 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1597 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1598 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1599 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1600 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1601 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1602 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1603 Likewise.
1604 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1605 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1606 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1607 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1608 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1609 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1610 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1611 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1612 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1613 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1614 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1615 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1616 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1617 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1618 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1619 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1620 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1621 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1622 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1623 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1624 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1625 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1626 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1627 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1628 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1629 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1630 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1631 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1632 (_FP_FRAC_SRS_1): Likewise.
1633 (_FP_FRAC_CLZ_1): Likewise.
1634 (_FP_MUL_MEAT_1_imm): Likewise.
1635 (_FP_MUL_MEAT_1_wide): Likewise.
1636 (_FP_MUL_MEAT_1_hard): Likewise.
1637 (_FP_SQRT_MEAT_1): Likewise.
1638 (_FP_FRAC_ASSEMBLE_1): Likewise.
1639 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1640 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1641 (__FP_CLZ_2): Likewise.
1642 (_FP_MUL_MEAT_2_wide): Likewise.
1643 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1644 (_FP_MUL_MEAT_2_gmp): Likewise.
1645 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1646 (_FP_SQRT_MEAT_2): Likewise.
1647 (_FP_FRAC_ASSEMBLE_2): Likewise.
1648 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1649 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1650 (_FP_FRAC_CLZ_4): Likewise.
1651 (_FP_MUL_MEAT_4_wide): Likewise.
1652 (_FP_MUL_MEAT_4_gmp): Likewise.
1653 (_FP_SQRT_MEAT_4): Likewise.
1654 (_FP_FRAC_ASSEMBLE_4): Likewise.
1655 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1656 * soft-fp/op-common.h (_FP_CMP): Likewise.
1657 (_FP_CMP_EQ): Likewise.
1658 (_FP_CMP_UNORD): Likewise.
1659 (_FP_TO_INT): Likewise.
1660 (_FP_FROM_INT): Likewise.
1661 [!__FP_CLZ] (__FP_CLZ): Likewise.
1662 (_FP_DIV_HELP_imm): Likewise.
1663 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1664 Likewise.
1665 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1666 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1667 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1668 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1669 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1670 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1671 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1672 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1673 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1674 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1675 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1676 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1677 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1678 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1679 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1680 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1681 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1682 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1683 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1684 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1685 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1686 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1687 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1688 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1689 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1690 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1691 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1692 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1693 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1694 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1695 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1696 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1697 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1698 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1699 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1700 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1701 (FP_UNPACK_RAW_SP): Likewise.
1702 (FP_PACK_RAW_S): Likewise.
1703 (FP_PACK_RAW_SP): Likewise.
1704 (FP_UNPACK_S): Likewise.
1705 (FP_UNPACK_SP): Likewise.
1706 (FP_UNPACK_SEMIRAW_S): Likewise.
1707 (FP_UNPACK_SEMIRAW_SP): Likewise.
1708 (FP_PACK_S): Likewise.
1709 (FP_PACK_SP): Likewise.
1710 (FP_PACK_SEMIRAW_S): Likewise.
1711 (FP_PACK_SEMIRAW_SP): Likewise.
1712 (_FP_SQRT_MEAT_S): Likewise.
1713 (FP_CMP_S): Likewise.
1714 (FP_CMP_EQ_S): Likewise.
1715 (FP_CMP_UNORD_S): Likewise.
1716 (FP_TO_INT_S): Likewise.
1717 (FP_FROM_INT_S): Likewise.
1718
a736ec37
JM
1719 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1720
ff12c11f
JM
1721 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1722 (FP_EX_INVALID_IMZ): Likewise.
1723 (FP_EX_INVALID_IMZ_FMA): Likewise.
1724 (FP_EX_INVALID_ISI): Likewise.
1725 (FP_EX_INVALID_ZDZ): Likewise.
1726 (FP_EX_INVALID_IDI): Likewise.
1727 (FP_EX_INVALID_SQRT): Likewise.
1728 (FP_EX_INVALID_CVI): Likewise.
1729 (FP_EX_INVALID_VC): Likewise.
1730 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1731 "invalid" exceptions.
1732 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1733 (_FP_ADD_INTERNAL): Likewise.
1734 (_FP_MUL): Likewise.
1735 (_FP_FMA): Likewise.
1736 (_FP_DIV): Likewise.
1737 (_FP_CMP_CHECK_NAN): Likewise.
1738 (_FP_SQRT): Likewise.
1739 (_FP_TO_INT): Likewise.
1740 (FP_EXTEND): Likewise.
1741
b6dcfe8c
AM
17422014-10-09 Allan McRae <allan@archlinux.org>
1743
1744 * po/fr.po: Update French translation from translation project.
1745
2d6a47ba
JM
17462014-10-09 Joseph Myers <joseph@codesourcery.com>
1747
cb831245
JM
1748 [BZ #14132]
1749 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1750 of INTDEF.
1751 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1752 (__cxa_atexit): Use libc_hidden_proto.
1753 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1754
5deeb190
JM
1755 [BZ #14132]
1756 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1757 declaration.
1758 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1759 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1760 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1761 [!_ISOMAC] (__iswctype_internal): Likewise.
1762 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1763 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1764 alias.
1765 (fcntl): Remove __fcntl_internal alias.
1766 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1767 __connect_internal alias.
1768 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1769 Likewise.
1770
454ac701
JM
1771 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1772 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1773 FP_DENORM_ZERO.
1774 (_FP_CHECK_FLUSH_ZERO): New macro.
1775 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1776 (_FP_CMP): Likewise.
1777 (_FP_CMP_EQ): Likewise.
1778 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1779 FP_DENORM_ZERO.
1780 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1781 (FP_TRUNC): Likewise.
1782
0022e688
JM
1783 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1784 treated as invalid conversion, not as normal exponent.
1785
73e28d9c
JM
1786 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1787 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1788 (_FP_CMP_EQ): Likewise.
1789 (_FP_CMP_UNORD): Likewise.
1790 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1791 (FP_CMP_EQ_D): Likewise.
1792 (FP_CMP_UNORD_D): Likewise.
1793 * soft-fp/extended.h (FP_CMP_E): Likewise.
1794 (FP_CMP_EQ_E): Likewise.
1795 (FP_CMP_UNORD_E): Likewise.
1796 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1797 (FP_CMP_EQ_Q): Likewise.
1798 (FP_CMP_UNORD_Q): Likewise.
1799 * soft-fp/single.h (FP_CMP_S): Likewise.
1800 (FP_CMP_EQ_S): Likewise.
1801 (FP_CMP_UNORD_S): Likewise.
1802 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1803 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1804 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1805 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1806 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1807 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1808 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1809 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1810 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1811 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1812 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1813 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1814 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1815 to FP_CMP_Q.
1816 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1817 FP_CMP_Q.
1818 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1819 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1820 FP_CMP_EQ_Q.
1821 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1822 FP_CMP_Q.
1823 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1824 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1825 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1826 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1827 FP_CMP_EQ_Q.
1828 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1829 FP_CMP_Q.
1830 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1831 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1832 FP_CMP_EQ_Q.
1833 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1834 FP_CMP_Q.
1835 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1836 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1837 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1838 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1839 FP_CMP_EQ_Q.
1840
43059f42
JM
1841 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1842 a subnormal result, set the underflow exception if trapping on
1843 underflow is enabled.
1844 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1845 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1846 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1847 redefine to 0.
1848 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1849 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1850 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1851 * soft-fp/extendxftf2.c (__extendxftf2): Use
1852 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1853
2d6a47ba
JM
1854 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1855 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1856 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1857 FP_HANDLE_EXCEPTIONS.
1858 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1859 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1860 FP_HANDLE_EXCEPTIONS.
1861 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1862 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1863 FP_HANDLE_EXCEPTIONS.
1864 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1865 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1866 FP_HANDLE_EXCEPTIONS.
1867
620f462e
JM
18682014-10-08 Joseph Myers <joseph@codesourcery.com>
1869
1870 [BZ #14132]
1871 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1872 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1873 use INTUSE.
1874 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1875 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1876 Remove alias.
1877 (__adjtimex): Define using libc_hidden_ver.
1878 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1879 Remove declaration.
1880 (ntp_gettime): Call __adjtimex directly.
1881 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1882 Remove declaration.
1883 (ntp_gettimex): Call __adjtimex directly.
1884 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1885 __adjtimex_internal alias.
1886
c763c5d2
RM
18872014-10-08 Roland McGrath <roland@hack.frob.com>
1888
1889 [BZ #17460]
1890 * nscd/nscd.c (more_help): Rewrite list of tables collection
1891 using xstrdup and asprintf.
1892
1893 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1894
7b8fb2b8
RM
18952014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1896 Roland McGrath <roland@hack.frob.com>
1897
1898 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1899 (do_lookup_unique): ... local function 'enter' here; update callers.
1900
abb280f7
JM
19012014-10-06 Joseph Myers <joseph@codesourcery.com>
1902
f7b42517
JM
1903 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1904 compat_symbol calls on [SHARED].
1905 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1906 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1907 Remove.
1908 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1909 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1910 (oldsetrlimit): Remove.
1911 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1913 (lchown): New syscall entry.
1914 (oldsetrlimit): Remove.
1915 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1916 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1917 (oldsetrlimit): Remove.
1918 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1919
abb280f7
JM
1920 [BZ #14138]
1921 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1922 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1923 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1924 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1925 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1926 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1927 (fchown): Likewise.
1928 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1929 (fchown): Likewise.
1930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1931 Likewise.
1932
47d46237
AZ
19332014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1934
1935 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1936 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1937 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1938 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1939 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1940 Likewise.
1941 (__old_sem_post): Likewise.
1942
19432014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 1944
845a7343
CM
1945 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1946 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1947 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1948 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1949 Use INLINE_VSYSCALL macro.
1950 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1951 __vdso_clock_gettime.
1952 * sysdeps/unix/sysv/linux/tile/init-first.c
1953 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1954 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1955 __vdso_clock_gettime.
1956
83d641ef
CM
1957 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1958 to set up frame more cleanly.
1959
d9cd52e6
CM
1960 * sysdeps/tile/memcmp.c: New file.
1961
4b68ea11
CM
1962 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1963
c86f7b80
CM
1964 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1965 * sysdeps/tile/tilegx/strcasestr.c: New file.
1966 * sysdeps/tile/tilegx/strnlen.c: New file.
1967 * sysdeps/tile/tilegx/strstr.c: New file.
1968
1c4c1a6f
CM
1969 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1970
99d86ea3
AS
19712014-10-06 Arjun Shankar <arjun.is@lostca.se>
1972
1973 * nptl/tst-setuid3.c: Write errors to stdout.
1974
06210a44
KS
19752014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1976
1977 * elf/dl-deps.c
1978 (preload): New functions broken out of _dl_map_object_deps.
1979 (_dl_map_object_deps): Remove a nested function. Update call sites.
1980
6268f532
JM
19812014-10-01 Joseph Myers <joseph@codesourcery.com>
1982
1983 [BZ #14138]
1984 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1985 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1986
b925285f
SE
19872014-10-01 Steve Ellcey <sellcey@mips.com>
1988
1989 * sysdeps/mips/strcmp.S: New.
1990
754a15c6
JM
19912014-09-30 Joseph Myers <joseph@codesourcery.com>
1992
1993 [BZ #14138]
1994 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1995 (linkat): Likewise.
1996 (mkdirat): Likewise.
1997 (readlinkat): Likewise.
1998 (renameat): Likewise.
1999 (symlinkat): Likewise.
2000 (unlinkat): Likewise.
2001 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2002 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2003 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2004 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2005 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2006 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2007 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2008
85bb81c9
WN
20092014-09-30 Will Newton <will.newton@linaro.org>
2010
dc6fe23b
WN
2011 * math/math.h: Define long double math functions if
2012 _LIBC_TEST is defined.
2013 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2014
85bb81c9
WN
2015 * localedata/Makefile: Move assignment to tests-special
2016 into an ifdef testing run-built-tests.
2017 * timezone/Makefile: Likewise.
2018
b7e02da4
JM
20192014-09-29 Joseph Myers <joseph@codesourcery.com>
2020
2021 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2022 with $(BASH) not $(SHELL).
2023
62058ce6
CD
20242014-09-29 Carlos O'Donell <carlos@redhat.com>
2025 Matthew LeGendre <legendre1@llnl.gov>
2026
2027 [BZ #17411]
2028 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2029 l_reloc_result.
2030
8e257a29
KS
20312014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2032
2033 * stdio-common/printf_fp.c
2034 (hack_digit): New function, broken out of ...
2035 (__printf_fp): ... local function here. Update call sites.
2036 hack_digit now takes an additional parameter that is a pointer
2037 to a struct of the referenced locals. Those locals moved inside
2038 the struct and references updated.
2039
f4a58f0d
L
20402014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2041
2042 * aclocal.m4: Require autoconf 2.69.
2043 * configure: Regenerated.
2044 * sysdeps/aarch64/configure: Likewise.
2045 * sysdeps/alpha/configure: Likewise.
2046 * sysdeps/arm/armv7/configure: Likewise.
2047 * sysdeps/arm/configure: Likewise.
2048 * sysdeps/ia64/configure: Likewise.
2049 * sysdeps/mach/configure: Likewise.
2050 * sysdeps/mips/configure: Likewise.
2051 * sysdeps/s390/configure: Likewise.
2052 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2054
2055 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2056 file.
2057 * sysdeps/ia64/configure.ac: Likewise.
2058
93ae1eba
JM
20592014-09-26 Joseph Myers <joseph@codesourcery.com>
2060
1810d3ab
JM
2061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2062 specify symbol version for ld.so. Do not include entry for
2063 libpthread.
2064 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2065 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2066 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2067
93ae1eba
JM
2068 [BZ #14171]
2069 * Makeconfig [$(build-shared) = yes]
2070 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2071 makefiles.
2072 [$(build-shared) = yes && $(soversions.mk-done) = t]
2073 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2074 [$(build-shared) = yes && $(soversions.mk-done) = t]
2075 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2076 to Makerules.
2077 [$(build-shared) = yes && $(soversions.mk-done) = t]
2078 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2079 here.
2080 [$(build-shared) = yes && $(soversions.mk-done) = t]
2081 (common-generated): Don't append gnu/lib-names.h and
2082 gnu/lib-names.stmp here.
2083 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2084 (lib-names-h-abi): New variable.
2085 [$(build-shared) = yes && $(soversions.mk-done) = t]
2086 (lib-names-stmp-abi): Likewise.
2087 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2088 abi-variants] (before-compile): Append
2089 $(common-objpfx)$(lib-names-h-abi).
2090 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2091 abi-variants] (common-generated): Append gnu/lib-names.h.
2092 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2093 abi-variants] (install-others-nosubdir): Depend on
2094 $(inst_includedir)/$(lib-names-h-abi).
2095 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2096 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2097 [$(build-shared) = yes && $(soversions.mk-done) = t]
2098 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2099 [$(build-shared) = yes && $(soversions.mk-done) = t]
2100 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2101 [$(build-shared) = yes && $(soversions.mk-done) = t]
2102 (common-generated): Append $(lib-names-h-abi) and
2103 $(lib-names-stmp-abi).
2104 * scripts/lib-names.awk: Do not handle multi being set.
2105 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2106 Remove variable.
2107 (abi-lp64_be-ld-soname): Likewise.
2108 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2109 Likewise.
2110 (abi-hard-ld-soname): Likewise.
2111 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2112 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2113 Remove variable.
2114 (abi-o32_hard-ld-soname): Likewise.
2115 (abi-o32_soft_2008-ld-soname): Likewise.
2116 (abi-o32_hard_2008-ld-soname): Likewise.
2117 (abi-n32_soft-ld-soname): Likewise.
2118 (abi-n32_hard-ld-soname): Likewise.
2119 (abi-n32_soft_2008-ld-soname): Likewise.
2120 (abi-n32_hard_2008-ld-soname): Likewise.
2121 (abi-n64_soft-ld-soname): Likewise.
2122 (abi-n64_hard-ld-soname): Likewise.
2123 (abi-n64_soft_2008-ld-soname): Likewise.
2124 (abi-n64_hard_2008-ld-soname): Likewise.
2125 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2126 Likewise.
2127 (abi-64-v2-ld-soname): Likewise.
2128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2129 ld.so entries.
2130 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2131 variable.
2132 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2133 entry.
2134 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2135 variable.
2136 (abi-64-ld-soname): Likewise.
2137 (abi-x32-ld-soname): Likewise.
2138 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2139 entry.
2140 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2141
68870f12
JM
21422014-09-23 Joseph Myers <joseph@codesourcery.com>
2143
2144 [BZ #14138]
2145 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2146 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2147 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2148 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2149 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2150 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2151 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2152 syscall entry for GLIBC_2.2 symbol version.
2153 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2154 Likewise.
2155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2156 (setrlimit): Likewise.
2157 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2158 Likewise.
2159
ea58f202
WN
21602014-09-23 Will Newton <will.newton@linaro.org>
2161
2162 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2163 _LINUX_ARM_SYSDEP_H include guard too.
2164 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2165 define.
2166
69eb9a18
RV
21672014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2168
2169 * sysdeps/unix/sysv/linux/eventfd.c:
2170 Make first argument unsigned.
2171 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2172 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2173
20e5a5f7
OB
21742014-09-20 Ondřej Bílka <neleai@seznam.cz>
2175
2176 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2177 * socket/sys/socket.h: Likewise
2178 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2179
d3c827e7
AK
21802014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2181
2182 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2183
fe1cc35a
AS
21842014-09-17 Arjun Shankar <arjun.is@lostca.se>
2185
2186 * time/tst-ftime.c: New test.
2187 * time/Makefile (tests): Add tst-ftime.
2188
4e8afe69
JM
21892014-09-17 Joseph Myers <joseph@codesourcery.com>
2190
c4fe3ea7
JM
2191 * soft-fp/extended.h: Fix comment formatting.
2192 * soft-fp/op-1.h: Likewise.
2193 * soft-fp/op-2.h: Likewise.
2194 * soft-fp/op-4.h: Likewise.
2195 * soft-fp/op-8.h: Likewise.
2196 * soft-fp/op-common.h: Likewise.
2197 * soft-fp/soft-fp.h: Likewise.
2198
4e8afe69
JM
2199 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2200
af296fcd
JM
22012014-09-16 Joseph Myers <joseph@codesourcery.com>
2202
2203 [BZ #6652]
2204 * Makeconfig (soversions-default-setname): Remove variable.
2205 ($(common-objpfx)soversions.i): Don't pass default_setname to
2206 soversions.awk.
2207 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2208 oldest_abi to abi-versions.awk.
2209 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2210 * config.make.in (oldest-abi): Remove variable.
2211 * configure.ac (--enable-oldest-abi): Remove configure option.
2212 * configure: Regenerated.
2213 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2214 text.
2215 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2216 * scripts/soversions.awk: Do not handle default_setname variable.
2217 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2218 variable.
2219 * sysdeps/mach/hurd/configure: Regenerated.
2220 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2221 variable.
2222 * sysdeps/unix/sysv/linux/configure: Regenerated.
2223
545583d6
SP
22242014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2225
d330b980
SP
2226 * elf/Makefile (CFLAGS-interp.c): Remove.
2227 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2228 path string.
2229 * elf/interp.c: Include generated runtime-linker.h
2230
02657da2
SP
2231 * Makerules (lib%.so): Don't include $(+interp) in
2232 prerequisites.
2233 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2234 * dlfcn/eval.c: Remove file.
2235
653b1080
SP
2236 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2237 macros.
2238
602f80ec
SP
2239 [BZ #17266]
2240 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2241 4.2 and newer.
2242
545583d6
SP
2243 [BZ #17370]
2244 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2245
884ddc50
SP
22462014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2247 Jakub Jelinek <jakub@redhat.com>
2248
2249 [BZ #17266]
2250 * libio/stdio.h: Check definition of __fortify_function
2251 instead of __extern_always_inline to include bits/stdio2.h.
2252 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2253 check if __extern_always_inline is defined.
2254 [__USE_MISC || __USE_XOPEN]: Likewise.
2255 [__USE_ISOC99] Likewise.
2256 * misc/sys/cdefs.h (__fortify_function): Define only if
2257 __extern_always_inline is defined.
2258 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2259 __extern_always_inline and __extern_inline only for g++-4.3
2260 and newer or a compatible gcc.
2261
a7b87268
AS
22622014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2263
2264 [BZ #17371]
2265 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2266 last change to handle zero prefix length.
2267
3f41521d
SP
22682014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2269
61fe374a
SP
2270 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2271 _SC_REGEX_VERSION.
2272
3f41521d
SP
2273 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2274 _POSIX_RAW_SOCKETS.
2275
d8f879ee
AM
22762014-09-13 Allan McRae <allan@archlinux.org>
2277
2278 * po/ru.po: Update Russian translation from translation project.
2279
c079afb7
RM
22802014-09-12 Roland McGrath <roland@hack.frob.com>
2281
a62b3c15
RM
2282 * locale/programs/locale.c (show_locale_vars): Inline local function
2283 into its sole call site. Clean up some style nits.
2284 (print_item): New function, broken out of ...
2285 (show_info): ... local function here. Clean up style nits.
2286
d7e49b19
RM
2287 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2288 out of ...
2289 (set_class_defaults): ... local function set_default here.
2290 Define set_default as a macro locally to pass constant parameters.
2291 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2292 rather than a shared local.
2293
c079afb7
RM
2294 * stdlib/rpmatch.c (try): New function, broken out of ...
2295 (rpmatch): ... local function here. Also, prototypify definition.
2296
0bd72468
JM
22972014-09-12 Joseph Myers <joseph@codesourcery.com>
2298
ba90e050
JM
2299 * scripts/soversions.awk: Do not handle configuration names.
2300 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2301 vendor and os variables to soversions.awk.
2302 * configure.ac: Do not modify gnu-* host_os.
2303 * configure: Regenerated
2304 * shlib-versions: Remove first column with configuration names.
2305 * nptl/shlib-versions: Likewise.
2306 * nptl_db/shlib-versions: Likewise.
2307 * sysdeps/hppa/shlib-versions: Likewise.
2308 * sysdeps/m68k/shlib-versions: Likewise.
2309 * sysdeps/mach/hurd/shlib-versions: Likewise.
2310 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2311 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2312 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2313 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2314 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2315 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2316 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2317 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2319 Likewise.
2320 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2321 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2322 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2323 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2324 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2325 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2326 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2327 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2328
73a39112
JM
2329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2330 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2332 Regenerated.
2333 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2335 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2336
c729e7c1
JM
2337 * shlib-versions: Remove OS-specific entries. Moved to files in
2338 sysdeps.
2339 * sysdeps/mach/hurd/shlib-versions: New file.
2340 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2341
dc932a24
JM
2342 * nptl/shlib-versions: Remove architecture-specific entries.
2343 Moved to files in sysdeps.
2344 * shlib-versions: Likewise.
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2346 file.
2347 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2348 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2349 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2350 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2351
0bd72468
JM
2352 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2353 (UDP_NO_CHECK6_RX): Likewise.
2354
920238e0
SP
23552014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2356
2357 * sysdeps/posix/sysconf.c (__sysconf): Spell
2358 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2359
ba7b4d29
FW
23602014-08-12 Florian Weimer <fweimer@redhat.com>
2361
2362 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2363 loading.
2364 * iconv/Versions (__gconv_transliterate): Export for use from
2365 gconv modules.
2366 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2367 (struct __gconv_trans_data, __gconv_trans_fct,
2368 __gconv_trans_context_fct, __gconv_trans_query_fct,
2369 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2370 definitions.
2371 (struct __gconv_step_data): Remove __trans member.
2372 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2373 longer hidden. Remove unused trans_data argument.
2374 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2375 (__gconv_translit_find): Remove declaration.
2376 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2377 prototype.
2378 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2379 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2380 trans_data argument. Add hidden definition.
2381 (__gconv_translit_find): Remove.
2382 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2383 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2384 * iconv/skeleton.c: Remove transliteration initialization.
2385 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2386 __gconv_step_data initialization.
2387 * libio/iofwide.c (__libio_translit_): Remove.
2388 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2389 * wcsmbs/btowc.c (__btowc): Likewise.
2390 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2391 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2392 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2393 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2394 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2395 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2396 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2397 * wcsmbs/wctob.c (wctob): Likewise.
2398
5379aebd
SP
23992014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2400
2401 [BZ #16194]
2402 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2403 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2404 register usage.
2405 * sysdeps/x86/Makefile: Adjust.
2406
8c0ab919
RM
24072014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2408 Roland McGrath <roland@hack.frob.com>
2409
2410 * locale/weight.h: Add include guard.
2411 (findidx): Make static rather than auto; take new parameters
2412 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2413 * locale/weightwc.h: Likewise.
2414 * posix/fnmatch_loop.c
2415 (FCT): Change type of EXTRA from int32_t to wint_t.
2416 Don't include either header inside the function.
2417 Call FINDIDX rather than findidx, and pass new arguments.
2418 #undef FINDIDX at the end of the file.
2419 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2420 FINDIDX before including fnmatch_loop.c for the non-wide version.
2421 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2422 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2423 for the wide version.
2424 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2425 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2426 Pass new arguments to findidx.
2427 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2428 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2429 Don't #include it inside the function. Pass new arguments to findidx.
2430 * posix/regex_internal.h
2431 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2432 (re_string_elem_size_at): Don't #include it inside the function.
2433 Pass new arguments to findidx.
2434 * string/strcoll_l.c: #include WEIGHT_H at top level.
2435 (get_next_seq): Don't #include it inside the function.
2436 Pass new arguments to findidx.
2437 (get_next_seq_nocache): Likewise.
2438 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2439 (STRXFRM): Don't #include it inside the function.
2440 Pass new arguments to findidx.
2441
52ffbdf2
FW
24422014-09-11 Florian Weimer <fweimer@redhat.com>
2443
2444 [BZ #17344]
2445 * malloc/malloc.c (unlink): Turn asserts into a call to
2446 malloc_printerr.
2447
984c0ea9
TL
24482014-09-11 Tim Lammens <tim.lammens@gmail.com>
2449
2450 [BZ #17370]
2451 * libio/wfileops (do_ftell_wide): Free OUT.
2452
3daee107
CM
24532014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2454
2455 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2456
58b930ae
SP
24572014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2458
2459 [BZ #17363]
2460 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2461 group if the current group is empty.
2462
3b473fec
AZ
24632014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2464
71ae8647
AZ
2465 * benchtests/bench-memset.c (test_main): Add more test from size
2466 from 32 to 512 bytes.
2467 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2468 Add POWER8 memset object.
2469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2470 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2471 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2472 implementation.
2473 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2474 Likewise.
2475 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2476 multiarch POWER8 memset optimization.
2477 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2478 POWER8 memset optimization.
2479
3b473fec
AZ
2480 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2481 Remove bzero multiarch objects.
2482 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2483 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2484 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2485 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2486 Remove define.
2487 [__bzero]: Redefine to specific name.
2488 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2489 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2490 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2491 define.
2492 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2493 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2494
e6fb9587
FW
24952014-09-10 Florian Weimer <fweimer@redhat.com>
2496
2497 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2498 warnings into errors.
2499
2500 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2501 __cxa_thread_atexit_impl prototype.
2502
9d3a350b
SE
25032014-09-09 Steve Ellcey <sellcey@mips.com>
2504
2505 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2506 Fix capitalization of error message.
2507
0febba23
SE
25082014-09-09 Steve Ellcey <sellcey@mips.com>
2509
2510 * sysdeps/mips/preconfigure: Modify ABI tests.
2511
645a0e9c
CD
25122014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2513
2514 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2515
d83f0734
CD
25162014-09-07 Roland McGrath <roland@hack.frob.com>
2517 Carlos O'Donell <carlos@systemhalted.org>
2518
2519 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2520 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2521 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2522 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2523 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2524 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2525 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2526 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2527 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2528 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2529 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2530 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2531 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2532 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2533 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2534 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2535 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2536 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2537 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2538 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2539 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2540 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2541 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2542 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2543 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2544 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2545 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2546 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2547 Deconditionalize the code that was previously under [RESET_PID].
2548 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2549 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2550 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2551 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2552 include sysdep.h.
2553
21c83793
AM
25542014-09-08 Allan McRae <allan@archlinux.org>
2555
2556 * version.h (RELEASE): Set to "development".
2557 (VERSION): Set to "2.20.90"
2558
1cd9b65c
AM
25592014-09-07 Allan McRae <allan@archlinux.org
2560
b8079dd0
AM
2561 * version.h (RELEASE): Set to "stable".
2562 (VERSION): Set to "2.20"
2563 * include/features.h (__GLIBC_MINOR__): Set to 20.
2564
c46303ef
AM
2565 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2566 Liebler.
2567
1cd9b65c
AM
2568 * po/ko.po: Update Korean translation from translation project.
2569
8622092d
CM
25702014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2571
2572 [BZ #17354]
2573 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2574 macro for handling signed relocations.
2575
41488498
FW
25762014-09-03 Florian Weimer <fweimer@redhat.com>
2577
2578 [BZ #17325]
2579 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2580 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2581 assert.
2582 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2583 * iconvdata/ibm935.c (BODY): Likewise.
2584 * iconvdata/ibm937.c (BODY): Likewise.
2585 * iconvdata/ibm939.c (BODY): Likewise.
2586 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2587 assert.
2588 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2589 script.
2590 * iconvdata/run-iconv-test.sh: New test loop for checking for
2591 decoder crashers.
2592
a78b712d
KR
25932014-09-02 Khem Raj <raj.khem@gmail.com>
2594
2595 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2596 libm_hidden_ver.
2597
cb08abc6
AM
25982014-09-01 Allan McRae <allan@archlinux.org>
2599
2c31e102
AM
2600 * po/eo.po: Update Esperanto translation from translation project.
2601
cb08abc6
AM
2602 * po/ca.po: Update Catalan translation from translation project.
2603
17a62de1
ST
26042014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2605
2606 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2607 __proc_dostop call.
2608
9570bc53
MW
26092014-08-27 Mark Wielaard <mjw@redhat.com>
2610
2611 [BZ #17319]
2612 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2613 to call set_thread_area instead of hand written asm.
2614 (__NR_set_thread_area): Removed define.
2615 (TLS_FLAG_WRITABLE): Likewise.
2616 (__ASSUME_SET_THREAD_AREA): Remove check.
2617 (TLS_EBX_ARG): Remove define.
2618 (TLS_LOAD_EBX): Likewise.
2619
b0f955c9
ST
26202014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2621
2622 Simplify atomicity of socket creation in bind.
2623
2624 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2625 looking up the name after linking the file.
2626
529bf515
AM
26272014-08-27 Allan McRae <allan@archlinux.org>
2628
2629 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2630
a1a6a401
FW
26312014-08-26 Florian Weimer <fweimer@redhat.com>
2632
2633 [BZ #17187]
2634 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2635 trans_compare, open_translit, __gconv_translit_find):
2636 Remove module loading code.
2637
686ab290
AM
26382014-08-26 Allan McRae <allan@archlinux.org>
2639
e4e7cfd2
AM
2640 * po/vi.po: Update Vietnamese translation from translation project.
2641
6aa09f71
AM
2642 * po/uk.po: Update Ukrainian translation from translation project.
2643
edc0660e
AM
2644 * po/fr.po: Update French translation from translation project.
2645
7eea72ac
AM
2646 * po/ru.po: Update Russian translation from translation project.
2647
93c49eff
AM
2648 * po/pl.po: Update Polish translation from translation project.
2649
46acaf63
AM
2650 * po/cs.po: Update Czech translation from translation project.
2651
a9f5ce98
AM
2652 * po/de.po: Update German translation from translation project.
2653
373f2b78
AM
2654 * po/bg.po: Update Bulgarian translation from translation project.
2655
e7548bd8
AM
2656 * po/sv.po: Update Sweedish translation from translation project.
2657
c526bf4d
AM
2658 * po/nl.po: Update Dutch translation from translation project.
2659
686ab290
AM
2660 * po/es.po: Update Spanish translation from translation project.
2661
eb72478a
SP
26622014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2663
dd763fdb
SP
2664 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2665
318c7a58
SP
2666 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2667 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2668 (CPPFLAGS-iconvconfig): Likewise.
2669 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2670
eb72478a
SP
2671 * include/libc-symbols.h: Remove unnecessary check for
2672 NOT_IN_libc.
2673 * nptl/pthreadP.h: Likewise.
2674 * sysdeps/aarch64/setjmp.S: Likewise.
2675 * sysdeps/alpha/setjmp.S: Likewise.
2676 * sysdeps/arm/sysdep.h: Likewise.
2677 * sysdeps/i386/setjmp.S: Likewise.
2678 * sysdeps/m68k/setjmp.c: Likewise.
2679 * sysdeps/posix/getcwd.c: Likewise.
2680 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2681 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2682 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2683 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2684 * sysdeps/sh/sh3/setjmp.S: Likewise.
2685 * sysdeps/sh/sh4/setjmp.S: Likewise.
2686 * sysdeps/unix/alpha/sysdep.h: Likewise.
2687 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2688 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2689 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2690 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2693 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2695 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2696 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2697 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2698 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2699 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2700 * sysdeps/x86_64/setjmp.S: Likewise.
2701
d44a052c
JM
27022014-08-13 Joseph Myers <joseph@codesourcery.com>
2703
2704 [BZ #17263]
2705 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2706 <stdint.h>.
2707 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2708 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2709
508ce3ac
SP
27102014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2711
e44c8b0e
SP
2712 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2713
508ce3ac
SP
2714 [BZ #17262]
2715 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2716 and __x86_64__ when disabling x87 inline functions.
2717
b4acef1f
L
27182014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2719
2720 [BZ #17259]
2721 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2722 asm statement with __cpuid_count.
2723
61b1ef6e
MF
27242014-08-12 Mike Frysinger <vapier@gentoo.org>
2725
2726 * configure.ac: Change __ehdr_start code to dereference the struct.
2727 Run readelf on the output to look for relocations.
2728 * configure: Regenerated.
2729
898c62f4
JM
27302014-08-12 Joseph Myers <joseph@codesourcery.com>
2731
2732 [BZ #17261]
2733 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2734 value to 0.
2735 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2736
9a8a5720
RM
27372014-08-12 Roland McGrath <roland@hack.frob.com>
2738
2739 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2740
4e75751c
BO
27412014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2742
2743 [BZ #16892]
2744 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2745 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2746
bb2ce416
SA
27472014-08-12 Sean Anderson <seanga2@gmail.com>
2748
2749 * malloc/malloc.c: Fix typo in comment.
2750
7950a4ee
AM
27512014-08-09 Allan McRae <allan@archlinux.org>
2752
2753 * Regenerate libc.po.
2754
f469c49f
MF
27552014-08-08 Mike Frysinger <vapier@gentoo.org>
2756
2757 * intl/tst-gettext2.sh: Check every lang file for creation.
2758
656b84c2
WD
27592014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2760
2761 * sysdeps/aarch64/fpu/math_private.h
2762 (libc_feholdsetround_noex_aarch64_ctx): New function.
2763
538e9e45
W
27642014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2765
2766 * sysdeps/arm/armv6/strcpy.S (strcpy):
2767 Fix performance issue in misaligned cases.
2768
d4795e4a
AZ
27692014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2770
2771 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2772 Move definition from termios.h.
2773 (struct termio): Likewise.
2774 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2775 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2776 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2777 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2778 Likewise.
2779 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2780 Move definition to ioctl-types.h
2781 (struct termio): Likewise.
2782 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2783 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2784 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2785 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2786 Likewise.
2787
64accb62
RH
27882014-08-05 Richard Henderson <rth@redhat.com>
2789
27bb6dc0
RH
2790 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2791 exceptions.
2792 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2793 Add fraiseexcpt.
2794 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2795 Use __feraiseexcept.
2796 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2797 Protect libm symbols with IS_IN_libm.
2798
64accb62
RH
2799 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2800
e5292691
BO
28012014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2802
2803 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2804
5b4bd2d4
WN
28052014-08-04 Will Newton <will.newton@linaro.org>
2806
2807 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2808 file.
2809
fcadaeef
MF
28102014-08-04 Mike Frysinger <vapier@gentoo.org>
2811
2812 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2813 variants for each function.
2814
43a94c64
RM
28152014-08-04 Roland McGrath <roland@hack.frob.com>
2816
2817 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2818 appended ...
2819 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2820 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2821 appended ...
2822 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2823 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2824 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2825 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2826 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2827 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2828 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2829 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2830 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2831 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2832 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2833 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2834 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2835 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2836 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2837 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2838 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2840 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2841 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2842 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2843 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2844 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2845 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2846 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2847 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2848 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2849 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2850 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2851 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2852 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2853 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2854 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2855 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2856 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2857 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2858 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2859 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2860 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2861 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2862 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2863 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2864 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2865 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2866 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2867 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2868 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2869 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2870 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2871 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2872 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2873 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2874 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2875 Update #include.
2876 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2877 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2878
8f3c1fa4
RM
28792014-08-04 Roland McGrath <roland@hack.frob.com>
2880
2881 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2882 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2883 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2884 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2885 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2886 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2887
ca08746f
RM
28882014-08-04 Roland McGrath <roland@hack.frob.com>
2889
2890 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2891 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2892 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2893 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2894
9c925ff9
RM
28952014-08-04 Roland McGrath <roland@hack.frob.com>
2896
2897 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2898 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2899 (__libc_vfork): Define function under this name.
2900 (__vfork): Define as an alias.
2901 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2902 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2903
e641054c
RM
29042014-08-04 Roland McGrath <roland@hack.frob.com>
2905
2906 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2907 that was previously under [RESET_PID].
2908 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2909
dacdc867
AS
29102014-08-04 Andreas Schwab <schwab@suse.de>
2911
2912 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2913
41f725ff
MF
29142014-08-03 Mike Frysinger <vapier@gentoo.org>
2915
2916 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2917 (main): Likewise.
2918
277cfb31
RM
29192014-08-01 Roland McGrath <roland@hack.frob.com>
2920
2921 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2922
4896f049
RH
29232014-08-01 Richard Henderon <rth@redhat.com>
2924
2925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2926 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2927 typo in exact zero test.
2928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2929 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2930 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2931
6f64e7d7
RM
29322014-08-01 Roland McGrath <roland@hack.frob.com>
2933
2934 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2935 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2936 * sysdeps/arm/sysdep.h: ... here.
2937 [!__ASSEMBLER__]: Include <stdint.h>.
2938
3f3dd810
SP
29392014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2940
a476ac4b
SP
2941 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2942 (HAVE_WCTYPE_H): Likewise.
2943 (HAVE_ISWCTYPE): Likewise.
2944 (ENABLE_NLS): Likewise.
2945 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2946 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2947
78dd658a
SP
2948 * posix/regex_internal.c: Check if DEBUG is defined and is
2949 set.
2950
3f3dd810
SP
2951 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2952 (HAVE_MBSRTOWCS): Likewise.
2953 * posix/fnmatch.c: Include string.h unconditionally.
2954
95ee7fb1
SL
29552014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2956
2957 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2958 reversal.
2959
23fe486b
RM
29602014-07-31 Roland McGrath <roland@hack.frob.com>
2961
f61a113f
RM
2962 * sysdeps/generic/safe-fatal.h: New file.
2963 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2964 * nptl/forward.c: Include it.
2965 (__pthread_unwind): Use __safe_fatal as default action, rather
2966 than a bogus use of INTERNAL_SYSCALL that could never work.
2967
9fe7e787
RM
2968 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2969 * configure.ac (libc_cv_builtin_trap): New test.
2970 * configure: Regenerated.
2971 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2972 (ABORT_INSTRUCTION): Define using __builtin_trap.
2973
23fe486b
RM
2974 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2975 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2976 * sysdeps/nptl/nptl-signals.h: New file.
2977 * nptl/pthreadP.h: Include <nptl-signals.h>.
2978
f349489e
SL
29792014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2980
2981 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2982 (ONE_DIRECTION): Define.
2983 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2984 (ONE_DIRECTION): Define.
2985 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2986 (ONE_DIRECTION): Define.
2987
2f438e20
SL
29882014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2989
2990 * sysdeps/s390/Makefile: Delete file.
2991 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2992 * sysdeps/s390/__longjmp.c: Delete file.
2993 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2994 Remove fields __flags and __reserved.
2995 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2996 and add versioning.
2997 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2998 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2999 * sysdeps/s390/rtld-setjmp.S: Likewise.
3000 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3001 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3002 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3003 * sysdeps/s390/s390-32/setjmp.S: ... here.
3004 Add versioning.
3005 (__sigsetjmp): Remove setting __flags field.
3006 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3007 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3008 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3009 * sysdeps/s390/s390-64/setjmp.S: ... here.
3010 Add versioning.
3011 (__sigsetjmp): Remove setting __flags field.
3012 * sysdeps/s390/setjmp.S: Delete file.
3013 * sysdeps/s390/sigjmp.c: Likewise.
3014 * sysdeps/s390/v1-longjmp.c: Likewise.
3015 * sysdeps/s390/v1-setjmp.h: Likewise.
3016 * sysdeps/s390/v1-sigjmp.c: Likewise.
3017 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3018 Remove v1-longjmp_chk.
3019 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3020 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3021 Include debug/longjmp_chk.c and add versioning.
3022 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3023 Include nptl/pt-longjmp.c and add versioning.
3024 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3025 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3026 Include __longjmp.c.
3027 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3028 Move to ...
3029 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3030 (__getcontext): Remove setting __flags field.
3031 Add versioning.
3032 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3033 Don't restore upper high grps.
3034 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3035 Likewise.
3036 (__swapcontext): Remove setting uc_flags field.
3037 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3038 Delete file.
3039 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3040 Include __longjmp.c.
3041 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3042 Move to ...
3043 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3044 (__getcontext): Remove setting __flags field.
3045 Add versioning.
3046 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3047 (__swapcontext): Remove setting uc_flags field.
3048 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3049 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3050 Remove fields uc_high_gprs and __reserved.
3051 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3052 New file with reverted content.
3053 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3054 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3055 Regenerated.
3056 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3057 Regenerated.
3058
6c9578a2
AS
30592014-07-31 Andreas Schwab <schwab@suse.de>
3060
3061 * config.h.in (HAVE_IFUNC): Define to 0.
3062 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3063 definedness.
3064
05f3633d
LM
30652014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3066
3067 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3068 memmove-avx-unaligned, memcpy-avx-unaligned and
3069 mempcpy-avx-unaligned.
3070 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3071 Add tests for AVX memcpy functions.
3072 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3073 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3074 memcpy_chk.
3075 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3076 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3077 memmove_chk.
3078 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3079 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3080 mempcpy_chk.
3081 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3082 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3083 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3084
a53fbd8e
AZ
30852013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3086
3087 [BZ #17213]
3088 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3089 powerpc64le.
3090
0961f7e1
JL
30912014-07-29 Jeff Layton <jlayton@poochiereds.net>
3092
3093 [BZ #16839]
3094 * manual/llio.texi: Add section about open file description locks.
3095 * manual/examples/ofdlocks.c: Example of open file description
3096 lock usage.
3097 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3098 F_OFD_SETLK, and F_OFD_SETLKW.
3099
cc5fb300
AM
31002014-07-23 Allan McRae <allan@archlinux.org>
3101
3102 * po/es.po: Update Spanish translation from translation project.
3103
23329dca
AS
31042014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3105
3106 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3107
9c82da17
MR
31082014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3109
3110 [BZ #17078]
3111 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3112 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3113 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3114
29c4f53e
JM
31152014-07-17 Joseph Myers <joseph@codesourcery.com>
3116
831b9896
JM
3117 [BZ #17088]
3118 * math/fesetenv.c (__fesetenv)
3119 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3120 * math/feupdateenv.c (__feupdateenv)
3121 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3122
b21c2d50
JM
3123 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3124 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3125 (__ASSUME_SOCKETCALL): Do not define.
3126
067764ef
JM
3127 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3128 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3129 (__ASSUME_SOCKETCALL): Do not define.
3130 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3131 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3132 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3133 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3134 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3135 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3136 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3137 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3138
642530c1
JM
3139 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3140 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3141 (__ASSUME_SOCKETCALL): Do not define.
3142 (__ASSUME_IPC64): Define unconditionally.
3143 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3144 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3145 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3146 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3147 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3148 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3149 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3150 Likewise.
3151
03f77315
JM
3152 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3153 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3154 (__ASSUME_SOCKETCALL): Do not define.
3155 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3156 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3157 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3158 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3159 (__ASSUME_REQUEUE_PI): Define unconditionally.
3160 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3161 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3162 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3163 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3164 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3165 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3166
083b1f7c
JM
3167 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3168 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3169 (__ASSUME_SOCKETCALL): Do not define.
3170 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3171 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3172 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3173 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3174 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3175 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3176
5be44ea6
JM
3177 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3178 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3179 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3180 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3181 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3182 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3183 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3184 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3185 (__ASSUME_GETCPU_SYSCALL): Likewise.
3186
d95ffd4c
JM
3187 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3188 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3189 cases for individual architectures.
3190 * sysdeps/gnu/configure: Regenerated.
3191 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3192 LIBC_SLIBDIR_RTLDDIR.
3193 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3194 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3195 LIBC_SLIBDIR_RTLDDIR.
3196 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3198 LIBC_SLIBDIR_RTLDDIR.
3199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3200 Regenerated.
3201 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3202 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3203 file.
3204 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3205 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3206 file.
3207 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3208 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3209 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3210 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3211
29c4f53e
JM
3212 * sysdeps/aarch64/shlib-versions: Move to ...
3213 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3214 * sysdeps/alpha/shlib-versions: Move to ...
3215 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3216 * sysdeps/arm/shlib-versions: Move to ...
3217 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3218 * sysdeps/hppa/shlib-versions: Move all contents except for
3219 libgcc_s entry to ...
3220 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3221 entry from ...
3222 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3223 * sysdeps/ia64/shlib-versions: Move to ...
3224 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3225 entry from ...
3226 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3227 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3228 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3229 * sysdeps/microblaze/shlib-versions: Move to ...
3230 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3231 * sysdeps/mips/shlib-versions: Move to ...
3232 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3233 entry from ...
3234 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3235 * sysdeps/tile/shlib-versions: Move to ...
3236 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3237 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3238 from ...
3239 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3240 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3241 entry from ...
3242 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3243
32bead5b
WN
32442014-07-17 Will Newton <will.newton@linaro.org>
3245
57977c4b
WN
3246 * sysdeps/arm/bits/atomic.h
3247 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3248 (__arch_compare_and_exchange_bool_16_int): Likewise.
3249 (__arch_compare_and_exchange_bool_64_int): Likewise.
3250
32bead5b
WN
3251 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3252 into an #else block.
3253
37fccd41
RM
32542014-07-16 Roland McGrath <roland@hack.frob.com>
3255
3256 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3257 just Linux configurations. Test empirically that the compiler sets
3258 __ARM_EABI__, rather than using the tuple to decide.
3259 * sysdeps/arm/preconfigure: Regenerated.
3260 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3261 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3262 contents appended ...
3263 * sysdeps/arm/configure.ac: ... here.
3264 * sysdeps/arm/configure: Regenerated.
3265
b365f3ec
RM
32662014-07-15 Roland McGrath <roland@hack.frob.com>
3267
8badf496
RM
3268 * nptl/pthread_kill.c: New file.
3269 * nptl/pthread_sigmask.c: New file.
3270 * nptl/pthread_sigqueue.c: New file.
3271
3df6f22e
RM
3272 * sysdeps/nptl/lowlevellock.h: New file.
3273 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3274 * sysdeps/nptl/lowlevellock-futex.h: New file.
3275
b365f3ec
RM
3276 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3277 Remove dead declarations.
3278
f2fef657
L
32792014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3280
3281 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3282 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3283 config-cflags-avx2.
3284 * sysdeps/x86_64/configure.ac: Likewise.
3285 * sysdeps/i386/configure: Regenerated.
3286 * sysdeps/x86_64/configure: Likewise.
3287 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3288 memset-avx2 only if config-cflags-avx2 is yes.
3289 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3290 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3291 defined.
3292 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3293 only if HAVE_AVX2_SUPPORT is defined.
3294 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3295
f6c44d47
AM
32962014-07-14 Alan Modra <amodra@gmail.com>
3297
3298 [BZ #17153]
3299 * elf/elf.h (DT_PPC64_NUM): Correct value.
3300 * NEWS: Add to fixed bug list.
3301
7ee03f00
JM
33022014-07-13 Jim Meyering <meyering@fb.com>
3303
3304 [BZ 17150]
3305 regex: don't deref NULL upon heap allocation failure
3306 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3307 failure in one more place.
3308 To trigger the segfault, configure grep -with-included-regex,
3309 build it, and run these commands:
3310 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3311
9d39d517
AS
33122014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3313
3314 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3315
a75b89b7
RH
33162014-07-11 Richard Henderson <rth@redhat.com>
3317
3318 * sysdeps/aarch64/libm-test-ulps: Update.
3319
771eb141
FW
33202014-07-10 Florian Weimer <fweimer@redhat.com>
3321
3322 [BZ #17135]
3323 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3324 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3325 (__nptl_setxid): Initialize error member. Call
3326 __nptl_setxid_error.
3327 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3328 * nptl/descr.h (struct xid_command): Add error member.
3329 * nptl/tst-setuid3.c: New file.
3330 * nptl/Makefile (tests): Add it.
3331
bc1da176
AZ
33322014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3333
3334 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3335 New define.
3336 (__lll_trylock): Use __lll_base_trylock.
3337 (__lll_cond_trylock): Likewise.
3338
887865fc
RM
33392014-07-10 Roland McGrath <roland@hack.frob.com>
3340
c0c6bac9
RM
3341 * nptl/pthread_create.c (start_thread): Use atomic_or and
3342 lll_futex_wake directly rather than lll_robust_dead.
3343 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3344 (lll_robust_dead): Macro removed.
6a42be57 3345 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
3346 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3347 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3348 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3349 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3350 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3351 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3352 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3353 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3354 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3355 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3356 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3357 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3358 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3359 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3360
887865fc
RM
3361 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3362 Use atomic_compare_and_exchange_val_acq directly rather than
3363 lll_robust_trylock.
3364 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3365 (__lll_robust_trylock, lll_robust_trylock): Removed.
3366 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3367 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3368 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3369 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3370 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3371 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3372 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3373 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3374 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3375 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3376 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3377 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3378 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3379 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3380
58536726
FW
33812014-07-02 Florian Weimer <fweimer@redhat.com>
3382
3383 * manual/locale.texi (Locale Names): New section documenting
3384 locale name syntax. Adjust menu and node chaining accordingly.
3385 (Choosing Locale): Reference Locale Names, Locale Categories.
3386 Mention setting LC_ALL=C. Reflect that name syntax is now
3387 documented.
3388 (Locale Categories): New section title. Reference Locale Names.
3389 LC_ALL is an environment variable, but not a category.
3390 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3391 description, now in Locale Name. Reference that section. Locale
3392 name syntax is now documented.
3393
4e8f95a0
FW
33942014-07-02 Florian Weimer <fweimer@redhat.com>
3395
3396 [BZ #17137]
3397 * locale/findlocale.c (name_present, valid_locale_name): New
3398 functions.
3399 (_nl_find_locale): Use the loc_name variable to store name
3400 candidates. Call name_present and valid_locale_name to check and
3401 validate locale names. Return an error if the locale is invalid.
3402
d1836456
FW
34032014-07-02 Florian Weimer <fweimer@redhat.com>
3404
3405 * locale/setlocale.c (setlocale): Use strdup for allocating
3406 composite name copy.
3407
d69b7f5a
SP
34082014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3409
888c679b
SP
3410 Sync up with gnulib.
3411 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3412 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3413 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3414 and _GL_ARG_NONNULL.
3415 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3416 [!_LIBC]: Include code for Windows and Cygwin.
3417 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3418 Include prototype for int strerror_r.
3419 [!_LIBC] (is_open): New function.
3420 (flush_stdout): New function.
3421 (print_errno_message): Use it.
3422 (error): Likewise.
3423 (error_at_line): Likewise.
3424 (error_tail) Add function attribute macros. Use
3425 __builtin_expect.
3426
180e0e4b
SP
3427 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3428
d22f1fe2
SP
3429 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3430
12f2254b
SP
3431 * io/ftw.c: Include sys/param.h unconditionally.
3432
c3c7c360
SP
3433 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3434
d62aa75a
SP
3435 [BZ #17125]
3436 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3437 libc_freeres_ptr.
3438 (freecache): New function to free CACHE on exit.
3439
d69b7f5a
SP
3440 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3441 initialization.
3442
5efe06a1
DM
34432014-07-09 David S. Miller <davem@davemloft.net>
3444
3445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3446
7000d82e
DM
3447 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3448 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3449 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3450 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3451 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3452 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3453 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3454 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3455 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3456 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3457 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3458 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3459 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3460
c213442d
AS
34612014-07-09 Andreas Schwab <schwab@suse.de>
3462
4a2552c3
AS
3463 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3464 output.
3465 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3466 (do_test): Likewise.
3467
c213442d
AS
3468 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3469
82374e65
WN
34702014-07-09 Will Newton <will.newton@linaro.org>
3471
3472 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3473 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3474 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3475 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3476 * sysdeps/hppa/start.S (_start): Likewise.
3477
6680738a
SP
34782014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3479
6ee3eab4
SP
3480 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3481
6680738a
SP
3482 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3483 defined.
3484
80b5c505
SP
34852014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3486
e35c53e3
SP
3487 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3488 after checking that it is non-NULL.
3489
80b5c505
SP
3490 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3491
91f4b564
AZ
34922014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3493
27b75f56
AZ
3494 * sysdeps/powerpc/memmove.c: Remove file.
3495 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3496 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3497 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3498 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3499 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3500 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3501 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3502 string memmove instead of removed powerpc one.
3503
e7f95bb5
AZ
3504 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3505 [weak_alias]: Fix compiler warning due trailing data.
3506 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3507 [weak_alias]: Likewise.
3508 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3509 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3510
91f4b564
AZ
3511 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3512 (__libc_ifunc_impl_list): Add memmove functions.
3513
7c33f1e5
SP
35142014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3515
3516 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3517 Remove code.
3518 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3519 Likewise
3520 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3521 Likewise
3522 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3523 Likewise
3524 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3525 Likewise
3526 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3527 Likewise
3528 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3529 Likewise
3530 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3531 Likewise
3532 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3533 Likewise
3534 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3535 Likewise
3536 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3537 Likewise
3538 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3539 Likewise
3540 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3541 Likewise
3542 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3543 Likewise
3544 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3545 Likewise
3546 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3547 Likewise
3548 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3549 Likewise
3550
3f17b03b
AZ
35512014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3552
87868c24
AZ
3553 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3554 to avoid alignment traps in non-cacheable memory.
3555 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3556
07aedd78
AZ
3557 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3558 multiarch objects.
3559 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3560 file: multiarch power7 memmove.
3561 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3562 multiarch default memmove.
3563 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3564 multiarch memove for powerpc32/power4.
3565
17762f66
AZ
3566 * string/bcopy.c: Use full path to include memmove.c.
3567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3568 multiarch objects.
3569 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3570 bcopy for powerpc64.
3571 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3572 bcopy for powerpc64.
3573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3574 and memmove implementations.
3575 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3576 optimized multiarch memmove for POWER7/powerpc64.
3577 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3578 default multiarch memmove for powerpc64.
3579 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3580 multiarch for powerpc64.
3581 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3582 for POWER7/powerpc64.
3583 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3584 memmove for POWER7/powerpc64.
3585
d6f68bbe
AZ
3586 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3587 glibc default one.
3588
3f17b03b
AZ
3589 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3590 __ELF_NATIVE_CLASS equal to 64.
3591
08192659
RM
35922014-07-07 Roland McGrath <roland@hack.frob.com>
3593
f4c4021b
RM
3594 * sysdeps/nptl/lowlevellock.h: File removed.
3595
f083450f
RM
3596 * NEWS: NPTL is no longer an add-on!
3597 * nptl/internaltypes.h: Moved ...
3598 * sysdeps/nptl/internaltypes.h: ... here.
3599 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3600 * sysdeps/nptl/fork.c: Likewise.
3601 * sysdeps/nptl/gai_misc.h: Likewise.
3602 * sysdeps/nptl/librt-cancellation.c: Likewise.
3603 * sysdeps/nptl/jmp-unwind.c: Likewise.
3604 * sysdeps/nptl/setxid.h: Likewise.
3605 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3606 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3607 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3608 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3609 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3610 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3611 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3612 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3613 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3614 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3615 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3616 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3617 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3618 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3619 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3620 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3621 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3622 * nptl/Makeconfig: Moved ...
3623 * sysdeps/nptl/Makeconfig: ... here.
3624 * nptl/configure: File removed.
3625 * nptl/ANNOUNCE: File removed.
3626 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3627 * sysdeps/unix/sysv/linux/configure: Regenerated.
3628
08192659
RM
3629 * nptl/Makefile (routines): Add libc_pthread_init,
3630 libc_multiple_threads, register-atfork and unregister-atfork.
3631 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3632 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3633 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3634 pthread-pi-defines.sym, structsem.sym.
3635 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3636 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3637 [$(subdir) = nptl] (tests): Add tst-setgetname.
3638 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3639 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3640 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3641 [!LIBC_SIGACTION]: Remove aliases.
3642 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3643 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3644 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3645 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3646 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3647 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3648 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3649 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3650 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3651 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3652 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3653 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3654 __libc_allocate_rtsig_private.
3655 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3656 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3657 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3658 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3659 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3660 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3661 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3662 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3663 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3664 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3665 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3666 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3667 * nptl/internaltypes.h: ... here.
3668 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3669 * sysdeps/nptl/jmp-unwind.c: ... here.
3670 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3671 * nptl/libc-lowlevellock.c: ... here.
3672 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3673 * nptl/libc_multiple_threads.c: ... here.
3674 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3675 * nptl/libc_pthread_init.c: ... here.
3676 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3677 * nptl/lowlevelbarrier.sym: ... here.
3678 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3679 * nptl/lowlevelcond.sym: ... here.
3680 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3681 * nptl/lowlevellock.c: ... here.
3682 * nptl/lowlevellock.h: Moved ...
3683 * sysdeps/nptl/lowlevellock.h: ... here.
3684 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3685 * nptl/lowlevelrobustlock.c: ... here.
3686 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3687 * nptl/lowlevelrobustlock.sym: ... here.
3688 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3689 * nptl/lowlevelrwlock.sym: ... here.
3690 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3691 * nptl/pt-fork.c: ... here.
3692 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3693 * nptl/pthread-pi-defines.sym: ... here.
3694 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3695 * nptl/pthread_attr_getaffinity.c: ... here.
3696 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3697 * nptl/pthread_attr_setaffinity.c: ... here.
3698 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3699 * nptl/pthread_mutex_cond_lock.c: ... here.
3700 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3701 Update #include.
3702 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3703 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3704 * nptl/pthread_once.c: ... here, replacing old file.
3705 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3706 * nptl/pthread_yield.c: ... here.
3707 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3708 * nptl/register-atfork.c: ... here.
3709 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3710 * nptl/sem_post.c: ... here.
3711 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3712 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3713 * nptl/sem_timedwait.c: ... here.
3714 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3715 * nptl/sem_trywait.c: ... here.
3716 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3717 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3718 * nptl/sem_wait.c: ... here.
3719 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3720 * nptl/structsem.sym: ... here.
3721 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3722 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3723 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3724 * nptl/unregister-atfork.c: ... here.
3725 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3726 * nptl/unwindbuf.sym: ... here.
3727 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3728 * sysdeps/nptl/fork.c: ... here.
3729 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3730 * sysdeps/nptl/fork.h: ... here.
3731 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3732 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3733 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3734 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3735 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3736 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3737 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3738 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3739 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3740 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3741 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3742 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3743 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3744 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3745 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3746 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3747 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3748 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3749 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3750 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3751 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3752 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3753 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3754 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3755 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3756 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3757 * sysdeps/unix/sysv/linux/raise.c: ... here.
3758 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3759 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3760 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3761 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3762 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3763 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3764 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3765 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3766 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3767 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3768 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3769 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3770 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3771 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3772 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3773
96baf6ff
SP
37742014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3775
3776 * sysdeps/generic/memcopy.h: Add comment for
3777 MEMCPY_OK_FOR_FWD_MEMMOVE.
3778
6b7b14b2
WN
37792014-07-04 Will Newton <will.newton@linaro.org>
3780
1570a72b
WN
3781 * string/memchr.c: Merge from gnulib.
3782 [_LIBC]: Remove conditionals.
3783 (__ptr_t): Remove define.
3784 (LONG_MAX_32_BITS): Likewise.
3785 (LONG_MAX): Likewise.
3786 (MEMCHR): Use ANSI prototype and optimize algorithm.
3787
6b7b14b2
WN
3788 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3789
38851324
SP
37902014-07-03 Roland McGrath <roland@hack.frob.com>
3791
3d9eb57c
RM
3792 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3793 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3794
78b984ae
RM
3795 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3796 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3797 in a bare environment with no <stdlib.h> installed.
3798 * sysdeps/nptl/configure: Regenerated.
3799
2d5976a5
RM
3800 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3801
c1f5acd4
RM
3802 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3803 AC_EGREP_CPP for kernel header checks, so they only succeed if
3804 including <linux/version.h> actually works right.
3805 * sysdeps/unix/sysv/linux/configure: Regenerated.
3806
4d614fe5
RM
3807 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3808 value so it's not diagnosed as unused.
3809
38851324
SP
3810 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3811 thing) with "ifeq ($(subdir),rt)".
3812
b3ec00e5
RH
38132014-07-03 Richard Henderson <rth@redhat.com>
3814
69862e25
RH
3815 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3816 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3817 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3818
d5e16ade
RH
3819 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3820 (math_force_eval): New.
3821
ca7b945c
RH
3822 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3823 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3824
cd1175a3
RH
3825 * sysdeps/alpha/fpu/s_round.c: Remove file.
3826 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3827
b3ec00e5
RH
3828 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3829 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3830 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3831 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3832 (_dl_start, print_statistics): Likewise.
3833 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3834 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3835
3836 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3837 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3838 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3839 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3840 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3841 (HP_SMALL_TIMING_AVAIL): Define.
3842 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3843 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3844 (HP_SMALL_TIMING_AVAIL): Define.
3845 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3846 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3847
3848 * sysdeps/aarch64/hp-timing.h: New file.
3849
3850 * sysdeps/generic/hp-timing.h: Remove dead comment.
3851 * sysdeps/generic/hp-timing-common.h: New file.
3852 * sysdeps/alpha/hp-timing.h: Include it.
3853 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3854 * sysdeps/i386/i686/hp-timing.h: Likewise.
3855 * sysdeps/ia64/hp-timing.h: Likewise.
3856 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3857 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3858 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3859 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3860 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3861 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3862 (hp_timing_t): New.
3863
3864 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3865 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3866 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3867 * elf/rtld.c (_dl_start_final): Likewise.
3868 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3869 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3870 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3871 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3872 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3873 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3874 (HP_TIMING_DIFF_INIT): Remove.
3875 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3876 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3877 (HP_TIMING_DIFF_INIT): Remove.
3878 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3879 * sysdeps/i386/i686/hp-timing.c: Remove file.
3880 * sysdeps/x86_64/hp-timing.c: Remove file.
3881 * sysdeps/ia64/hp-timing.c: Remove file.
3882 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3883 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3884 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3885 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3886
3887 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3888 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3889 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3890 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3891 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3892 (HP_TIMING_ACCUM): Remove.
3893 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3894 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3895 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3896
3897 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3898 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3899 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3900 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3901 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3902 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3903 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3904 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3905
3906 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3907
225f410f
MR
39082014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3909
3910 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3911
3247f285
SP
39122014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3913
3914 Sync up with gettext.
3915 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3916 [_MSC_VER]: Include malloc.h
3917 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3918 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3919 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3920 TEMP_FAILURE_RETRY. Cast return of alloca.
3921 [!_LIBC] Call gl_rwlock_init.
3922 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3923
d12704c7
SP
39242014-07-02 Roland McGrath <roland@hack.frob.com>
3925
3926 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3927 before checking its value.
3928
99f8dc92
SP
39292014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3930
05fdac77
SP
3931 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3932
99f8dc92
SP
3933 * debug/memcpy_chk.c: Don't include pagecopy.h.
3934 * debug/mempcpy_chk.c: Likewise.
3935 * string/memcpy.c: Likewise.
3936 * string/memmove.c: Likewise.
3937 * sysdeps/powerpc/memmove.c: Likewise.
3938 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3939 definition of PAGE_COPY_FWD_MAYBE here...
3940 * sysdeps/generic/pagecopy.h: ... from here.
3941 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3942
bc8ea385
VR
39432014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3944 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3945
3946 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3947 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3948 optimizations.
3949 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3950 (__libc_ifunc_impl_list): Likewise.
3951 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3952 multiarch strcat for PPC64.
3953 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3954 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3955
fe5f34e4
RM
39562014-07-02 Roland McGrath <roland@hack.frob.com>
3957
3958 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3959
256aa665
SP
39602014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3961
d4eb8195
SP
3962 * intl/loadmsgcat.c: Remove declaration of
3963 get_sysdep_segment_value.
3964 (get_sysdep_segment_value): Use ISO C style.
3965 (_nl_load_domain): Use ISO C style. Get rid of redundant
3966 semicolon. Fix typo and formatting in comment.
3967 (_nl_unload_domain): Use ISO C style.
3968
256aa665
SP
3969 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3970
b100f9aa
WN
39712014-07-02 Will Newton <will.newton@linaro.org>
3972
3973 * malloc/obstack.c: Merge from gnulib master.
3974 [HAVE_CONFIG_H]: Remove conditional code.
3975 [!_LIBC]: Include config.h.
3976 [!ELIDE_CODE]: Don't include inttypes.h, include
3977 stdint.h unconditionally.
3978 (print_and_abort): Mark as _Noreturn.
3979 (_obstack_allocated_p): Mark as __attribute_pure__.
3980 (obstack_free): Rename to __obstack_free.
3981 [!__attribute__]: Remove conditional code.
3982 * malloc/obstack.h: Merge from gnulib master.
3983 [__cplusplus]: Move conditional down.
3984 [!__attribute_pure__]: Define __attribute_pure__ here
3985 if it is not already defined.
3986 (_obstack_memory_used): Mark as __attribute_pure__.
3987 [!__obstack_free]: Define as obstack_free.
3988 [__GNUC__]: Remove check for ancient NeXT gcc.
3989
c4c41244
PE
39902014-07-02 Will Newton <will.newton@linaro.org>
3991 Paul Eggert <eggert@cs.ucla.edu>
3992
3993 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3994
e1e041c4
SP
39952014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3996
3997 * resolv/gethnamaddr.c: Add comment warning that the file is
3998 not maintained.
3999
ccf431ff
CD
40002014-07-01 Carlos O'Donell <carlos@redhat.com>
4001
d34570a6
CD
4002 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4003 entries.
4004
ccf431ff
CD
4005 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4006 entry for aio_cancel and aio_cancel64.
4007 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4008 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4009 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4010 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4011 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4012 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4013 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4014 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4015 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4016 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4017 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4018 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4019 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4020
ca06321d
RM
40212014-07-01 Roland McGrath <roland@hack.frob.com>
4022
4023 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4024 * nptl/pthread_mutex_lock.c: Likewise.
4025 * nptl/pthread_mutex_timedlock.c: Likewise.
4026 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4027
a1ac3184
RH
40282014-07-01 Richard henderson <rth@redhat.com>
4029
631021e0
RH
4030 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4031 (__isnan, __isnanl): Remove.
4032 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4033
a1ac3184
RH
4034 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4035
0c1d731f
SL
40362014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4037
4038 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4039
76985d3e
SP
40402014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4041
4042 * resolv/nss_dns/dns-host.c (getanswer_r)
4043 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4044
b0cb3096
JM
40452014-07-01 Joseph Myers <joseph@codesourcery.com>
4046
4047 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4048 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4049 undefine.
4050 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4051 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4052
4d76cb39
RM
40532014-07-01 Roland McGrath <roland@hack.frob.com>
4054
4055 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4056 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4057
4058 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4059 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4060
4061 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4062 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4063 ... here.
4064 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4065 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4066
4067 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4068 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4069 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4070 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4071
4072 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4073 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4074 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4075 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4076 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4077 Moved ...
4078 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4079 ... here.
4080 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4081 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4082 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4083 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4084 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4085 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4086 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4087 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4088 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4089 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4090 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4091 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4092 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4093 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4094 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4095 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4096 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4097 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4098 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4099 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4100 ... here.
4101 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4102 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4103 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4104 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4105 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4106 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4107 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4108 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4109
0cdcad17
DH
41102014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4111
4112 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4113 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4114 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4115 Add sysdep.
4116
9b71d0e3
AZ
41172014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4118
4119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4120
665390c2
JM
41212014-06-30 Joseph Myers <joseph@codesourcery.com>
4122
ae05a9d7
JM
4123 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4124 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4125
a7672a2f
JM
4126 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4127
665390c2
JM
4128 * sysdeps/arm/libm-test-ulps: Regenerated.
4129
d7a05d07
MR
41302014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4131 Roland McGrath <roland@hack.frob.com>
4132
4133 * test-skeleton.c (signal_handler): Kill the whole process group
4134 before killing the child individually.
4135 (main): Report any failure on `setpgid'.
4136
46f1d8a6
RM
41372014-06-30 Roland McGrath <roland@hack.frob.com>
4138
4139 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4140 from _TLS_H to _ARM_NPTL_TLS_H.
4141 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4142 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4143
9c37ec0b
JM
41442014-06-30 Joseph Myers <joseph@codesourcery.com>
4145
ce9c5b3e
JM
4146 [BZ #16539]
4147 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4148 (__expm1l): Return argument unchanged when small but not
4149 subnormal.
4150
3a6e9887
JM
4151 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4152 include macro name.
4153 (_FP_UNPACK_RAW_1_P): Likewise.
4154 (_FP_PACK_RAW_1): Likewise.
4155 (_FP_PACK_RAW_1_P): Likewise.
4156 (_FP_MUL_MEAT_1_wide): Likewise.
4157 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4158 (_FP_MUL_MEAT_1_hard): Likewise.
4159 (_FP_DIV_MEAT_1_imm): Likewise.
4160 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4161 (_FP_DIV_MEAT_1_udiv): Likewise.
4162 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4163 (_FP_UNPACK_RAW_2): Likewise.
4164 (_FP_UNPACK_RAW_2_P): Likewise.
4165 (_FP_PACK_RAW_2): Likewise.
4166 (_FP_PACK_RAW_2_P): Likewise.
4167 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4168 (_FP_MUL_MEAT_2_wide): Likewise.
4169 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4170 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4171 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4172 (_FP_MUL_MEAT_2_gmp): Likewise.
4173 (_FP_DIV_MEAT_2_udiv): Likewise.
4174 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4175 (_FP_FRAC_SRL_4): Likewise.
4176 (_FP_FRAC_SRST_4): Likewise.
4177 (_FP_FRAC_SRS_4): Likewise.
4178 (_FP_UNPACK_RAW_4): Likewise.
4179 (_FP_UNPACK_RAW_4_P): Likewise.
4180 (_FP_PACK_RAW_4): Likewise.
4181 (_FP_PACK_RAW_4_P): Likewise.
4182 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4183 (_FP_MUL_MEAT_4_wide): Likewise.
4184 (_FP_MUL_MEAT_4_gmp): Likewise.
4185 (umul_ppppmnnn): Likewise.
4186 (_FP_DIV_MEAT_4_udiv): Likewise.
4187 (__FP_FRAC_ADD_4): Likewise.
4188 (__FP_FRAC_SUB_3): Likewise.
4189 (__FP_FRAC_SUB_4): Likewise.
4190 (__FP_FRAC_DEC_3): Likewise.
4191 (__FP_FRAC_DEC_4): Likewise.
4192 (__FP_FRAC_ADDI_4): Likewise.
4193 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4194 (_FP_FRAC_SRL_8): Likewise.
4195 (_FP_FRAC_SRS_8): Likewise.
4196
9c37ec0b
JM
4197 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4198 include macro name.
4199 (FP_UNPACK_RAW_EP): Likewise.
4200 (FP_PACK_RAW_E): Likewise.
4201 (FP_PACK_RAW_EP): Likewise.
4202 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4203 (_FP_ISSIGNAN): Likewise.
4204 (_FP_ADD_INTERNAL): Likewise.
4205 (_FP_FMA): Likewise.
4206 (_FP_CMP): Likewise.
4207 (_FP_SQRT): Likewise.
4208 (_FP_TO_INT): Likewise.
4209 (_FP_FROM_INT): Likewise.
4210 (FP_EXTEND): Likewise.
4211 (_FP_DIV_MEAT_N_loop): Likewise.
4212
2125f674
MR
42132014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4214
4215 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4216 throughout.
4217
edea4028
JM
42182014-06-29 Joseph Myers <joseph@codesourcery.com>
4219
4220 [BZ #17097]
4221 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4222 result with correct sign in case of exponents that produce
4223 overflow except for X very close to 1.
4224
dd0ba018
PE
42252014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4226
4227 mktime: merge #if/#ifdef usage from glibc
4228 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4229 as that works with both Glibc's and Gnulib's style.
4230 See thread starting at Siddhesh Poyarekar's bug report at:
4231 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4232
64df73c2
SP
42332014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4234
4235 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4236 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4237 * sysdeps/tile/tilegx/memmove.c: Remove file.
4238
f1eafb41
JM
42392014-06-27 Joseph Myers <joseph@codesourcery.com>
4240
4241 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4242 abi-name definition.
4243 * scripts/soversions.awk: Do not handle or generate ABI lines.
4244 * shlib-versions: Remove ABI entries.
4245 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4246 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4247
58eb0862
RM
42482014-06-27 Roland McGrath <roland@hack.frob.com>
4249
37caf178
RM
4250 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4251 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4252 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4253 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4254 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4255 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4256 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4257 Moved ...
4258 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4259 ... here.
4260 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4261 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4262 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4263 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4264 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4265 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4266 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4267 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4268 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4269 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4270 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4271 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4272 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4273 Moved ...
4274 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4275 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4276 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4277 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4278 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4279 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4280 Moved ...
4281 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4282 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4283 Moved ...
4284 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4285 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4286 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4287 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4288 Moved ...
4289 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4290 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4291 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4292 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4293 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4294 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4295 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4296 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4297 Moved ...
4298 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4299 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4300 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4301 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4302 Moved ...
4303 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4304 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4305 Moved ...
4306 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4307 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4308 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4309 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4310 Moved ...
4311 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4312 ... here.
4313 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4314 Identical file removed.
4315 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4316 Moved ...
4317 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4318 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4319 Identical file removed.
4320 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4321 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4322 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4323 Moved ...
4324 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4325 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4326 Identical file removed.
4327 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4328 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4329 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4330 Identical file removed.
4331 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4332 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4333 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4334 Identical file removed.
4335 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4336 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4337 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4338 Identical file removed.
4339 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4340 Moved ...
4341 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4342 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4343 Identical file removed.
4344 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4345 Moved ...
4346 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4347 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4348 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4349 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4350 Identical file removed.
4351 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4352 Moved ...
4353 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4354 ... here.
4355 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4356 Identical file removed.
4357 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4358 Moved ...
4359 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4360 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4361 Identical file removed.
4362 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4363 Moved ...
4364 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4365 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4366 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4367 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4368 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4369 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4370 Moved ...
4371 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4372 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4373 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4374
58eb0862
RM
4375 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4376 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4377 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4378 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4379 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4380
6f12d062
AS
43812014-06-27 Arjun Shankar <arjun.is@lostca.se>
4382
4383 [BZ #17092]
4384 * nscd/nscd.c (monitor_child): Return exit status of child
4385 instead of return value from wait syscall.
4386
be254932
JM
43872014-06-27 Joseph Myers <joseph@codesourcery.com>
4388
cb403c34
JM
4389 * configure.ac (libc_commonpagesize): Remove variable.
4390 (libc_relro_required): Likewise.
4391 (libc_cv_z_relro): Remove configure test.
4392 * configure: Regenerated.
4393 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4394 variable.
4395 (libc_relro_required): Likewise.
4396 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4397 (libc_relro_required): Likewise.
4398 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4399 (libc_relro_required): Likewise.
4400 * sysdeps/arm/preconfigure: Regenerated.
4401 * sysdeps/ia64/preconfigure: Remove file.
4402 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4403 variable.
4404 (libc_relro_required): Likewise.
4405
be254932
JM
4406 [BZ #16561]
4407 [BZ #16562]
4408 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4409 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4410 recompute overflowing results in original rounding mode.
4411 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4412 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4413 recompute overflowing results in original rounding mode.
4414 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4415 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4416 recompute overflowing results in original rounding mode.
4417 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4418 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4419 recompute overflowing results in original rounding mode.
4420 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4421 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4422 recompute overflowing results in original rounding mode.
4423 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4424 (libc_feholdsetround_ctx): New macro.
4425 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4426 * sysdeps/i386/fpu/libm-test-ulps: Update.
4427 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4428
b351d85a
JM
44292014-06-26 Joseph Myers <joseph@codesourcery.com>
4430
4431 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4432 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4433 corresponding .cpsetup call.
4434
3cb4de47
RM
44352014-06-26 Roland McGrath <roland@hack.frob.com>
4436
4437 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4438 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4439 * sysdeps/arm/Makefile [$(subdir) = csu]
4440 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4441 (static-only-routines): Add aeabi_read_tp here.
4442 (shared-only-routines): Add libc-aeabi_read_tp here.
4443 (CFLAGS-libc-start.c): Add -fexceptions here.
4444 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4445 (sysdep_routines, static-only-routines, shared-only-routines):
4446 Don't add to these here.
4447 (CFLAGS-libc-start.c): Likewise.
4448
4449 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4450 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4451 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4452 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4453 * sysdeps/arm/Makefile [$(subdir) = rt]
4454 (librt-sysdep_routines, librt-shared-only-routines):
4455 Append rt-aeabi_unwind_cpp_pr1 here.
4456 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4457 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4458 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4459 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4460 Append nptl-aeabi_unwind_cpp_pr1 here.
4461 (tests): Filter out tst-cleanupx4 here.
4462 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4463 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4464 Don't do those here.
4465
354426bb
JM
44662014-06-26 Joseph Myers <joseph@codesourcery.com>
4467
4468 * scripts/list-sources.sh: Do not handle ports specially.
4469
28b0a8c9
RM
44702014-06-26 Roland McGrath <roland@hack.frob.com>
4471
a3dd035d
RM
4472 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4473 * sysdeps/arm/feupdateenv.c: Likewise.
4474
28b0a8c9
RM
4475 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4476
e66a8203
JM
44772014-06-26 Joseph Myers <joseph@codesourcery.com>
4478
4479 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4480 trailing whitespace removed.
4481 * scripts/config.guess: Update to version 2014-03-23.
4482 * scripts/config.sub: Update to version 2014-05-01
4483 * scripts/install-sh: Update to version 2013-12-25.23.
4484 * scripts/move-if-change: Update from gnulib.
4485
74171115
SP
44862014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4487
b97c9ce5
SP
4488 * debug/memmove_chk.c: Remove pagecopy.h include.
4489
4000f892
SP
44902014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4491
74171115
SP
4492 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4493 identical to gnulib mktime.
4494
a8779c28
JM
44952014-06-26 Joseph Myers <joseph@codesourcery.com>
4496
e64708de
JM
4497 * configure.ac: Do not test for machine being rs6000. Do not test
4498 for powerpc*-*soft.
4499 * configure: Regenerated.
4500
a8779c28
JM
4501 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4502 test.
4503 * configure: Regenerated.
4504 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4505 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4506 Remove configure test.
4507 * sysdeps/arm/configure: Regenerated.
4508 * sysdeps/nptl/configure.ac: Do not check
4509 libc_cv_asm_cfi_directives.
4510 * sysdeps/nptl/configure: Regenerated.
4511 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4512 * sysdeps/x86_64/nptl/configure: Remove generated file.
4513 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4514 unconditional.
4515 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4516
2aac0a86
SP
45172014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4518
059bf913
SP
4519 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4520 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4521 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4522 it is defined.
4523
4cf5b6d0
SP
4524 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4525 instead of whether it is defined.
4526 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4527 * sysdeps/hppa/dl-machine.h: Likewise.
4528 * sysdeps/ia64/dl-machine.h: Likewise.
4529 * sysdeps/m68k/dl-machine.h: Likewise.
4530 * sysdeps/microblaze/dl-machine.h: Likewise.
4531 * sysdeps/mips/dl-machine.: Likewise.
4532 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4533 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4534 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4535 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4536 * sysdeps/sh/dl-machine.h: Likewise.
4537 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4538 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4539 * sysdeps/tile/dl-machine.h: Likewise.
4540 * sysdeps/x86_64/dl-machine.h: Likewise.
4541
2aac0a86
SP
4542 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4543 code.
4544 (verify_persistent_db): Likewise.
4545
6ad2df0b
RM
45462014-06-26 Roland McGrath <roland@hack.frob.com>
4547
d8a483f3
RM
4548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4549 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4551 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4553 Moved ...
4554 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4555 ... here.
4556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4557 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4559 Identical file removed.
4560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4561 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4563 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4565 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4567 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4569 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4571 Moved ...
4572 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4574 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4576 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4578 Moved ...
4579 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4581 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4583 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4585 Identical file removed.
4586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4587 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4589 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4591 Moved ...
4592 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4593 ... here.
4594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4595 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4597 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4599 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4601 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4603 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4605 Moved ...
4606 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4608 Moved ...
4609 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4611 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4613 Moved ...
4614 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4616 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4617
52ae23b4
RM
4618 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4619 folded into ...
4620 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4621 * sysdeps/unix/sysv/linux/s390/Versions
4622 (libpthread: GLIBC_2.19): New version set.
4623 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4624 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4625 (librt: GLIBC_2.3.3): New version set.
4626 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4627 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4628 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4629 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4630 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4631 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4632 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4633 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4634 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4635 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4636 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4637 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4638 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4639 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4640 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4641 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4642 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4643 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4644 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4645 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4646 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4647 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4648 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4649 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4650 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4651 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4652 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4653 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4654 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4655 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4656 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4657 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4658 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4659 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4660 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4661 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4662 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4663 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4664 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4665 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4666 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4667 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4668 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4669 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4670 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4671
39507e4a
RM
4672 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4673 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4674 (__libc_vfork): Define the function under this name.
4675 [!NOT_IN_libc] (__vfork): Make this an alias.
4676 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4677 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4678 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4679 (__libc_vfork): Define the function under this name.
4680 [!NOT_IN_libc] (__vfork): Make this an alias.
4681 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4682 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4683 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4684 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4685 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4686 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4687
e549ee56
RM
4688 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4689 code that was previously under [RESET_PID].
4690 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4691 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4692 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4693
6ad2df0b
RM
4694 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4695 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4696 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4697 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4698 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4699 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4700 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4701 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4702 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4703 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4704 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4705 Moved ...
4706 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4707 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4708 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4709 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4710 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4711 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4712 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4713 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4714 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4715 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4716 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4717 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4718 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4719 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4720 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4721 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4722 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4723 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4724 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4725 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4726 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4727 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4728 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4729 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4730 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4731 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4732 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4733 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4734 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4735
7c1c1d8e
RM
47362014-06-25 Roland McGrath <roland@hack.frob.com>
4737
4738 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4739 that was previously under [RESET_PID].
4740 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4741
3e239be6
JM
47422014-06-25 Joseph Myers <joseph@codesourcery.com>
4743
74385da5
JM
4744 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4745 not undefine and redefine.
4746 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4747 [O_CLOEXEC]: Make code unconditional.
4748 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4749 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4750 <kernel-features.h>.
4751 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4752 conditional variable definition.
4753 (shm_open) [O_CLOEXEC]: Make code unconditional.
4754 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4755 code.
4756
c2570a0b
JM
4757 * configure.ac (USE_REGPARMS): Don't define here.
4758 * configure: Regenerated.
4759 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4760 * sysdeps/i386/configure: Regenerated.
4761
11b076bb
JM
4762 * nptl/createthread.c: Don't include kernel-features.h.
4763 * nptl/pthread_cancel.c: Likewise.
4764 * nptl/pthread_condattr_setclock.c: Likewise.
4765 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4766 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4767 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4768 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4769 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4770 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4771 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4772 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4773 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4774 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4775 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4776 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4777 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4778 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4779 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4780 * nscd/gai.c: Likewise.
4781 * nss/nss_db/db-open.c: Likewise.
4782 * sysdeps/generic/ldsodefs.h: Likewise.
4783 * sysdeps/sh/nptl/tls.h: Likewise.
4784 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4785 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4786 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4787 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4788 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4789 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4790 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4791 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4792 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4793 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4794 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4795 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4796 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4797 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4798 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4799 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4800 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4801 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4802 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4803 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4804 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4805 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4806 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4807 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4808 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4809 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4810 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4811 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4812 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4813 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4814 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4815 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4816 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4817 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4818 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4819 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4820 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4821 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4822 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4823 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4824 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4825 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4826 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4827 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4828 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4829 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4830 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4831 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4832 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4833 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4834 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4835 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4836 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4837 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4838 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4839 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4840 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4841 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4864 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4865 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4866 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4867 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4868 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4869 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4870 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4871 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4872 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4873 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4874 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4875 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4876 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4877 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4878 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4879 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4880 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4881 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4882 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4883 * sysdeps/unix/sysv/linux/system.c: Likewise.
4884 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4885 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4886 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4887 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4888 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4889 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4890 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4891
92072d57
JM
4892 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4893 * configure: Regenerated.
4894 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4895
3e239be6
JM
4896 * configure.ac (base_machine): Do not set specially for particular
4897 machines here.
4898 * configure: Regenerated.
4899 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4900 settings from configure.ac.
4901 * sysdeps/i386/preconfigure: New file.
4902 * sysdeps/s390/preconfigure: Likewise.
4903 * sysdeps/sh/preconfigure: Likewise.
4904 * sysdeps/sparc/preconfigure: Likewise.
4905
06d50baa
RM
49062014-06-25 Roland McGrath <roland@hack.frob.com>
4907
74836003
RM
4908 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4909 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4910 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4911 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4912 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4913 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4914 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4915 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4916 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4917 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4918 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4919 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4920 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4921 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4922 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4923 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4924 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4925 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4926 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4927
4928 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4929 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4930 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4931 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4932 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4933 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4934 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4935 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4936 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4937 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4938 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4939 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4940 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4941 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4942 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4943 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4944 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4945 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4946 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4947 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4948 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4949 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4950 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4951 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4952 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4953 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4954 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4955 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4956 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4957 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4958 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4959 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4960 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4961 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4962 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4963 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4964 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4965 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4966
06d50baa
RM
4967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4968 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4970 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4972 Moved ...
4973 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4974 ... here.
4975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4976 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4978 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4980 Moved ...
4981 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4983 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4985 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4987 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4989 Moved ...
4990 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4992 Moved ...
4993 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4995 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4997 Moved ...
4998 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5000 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5002 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5004 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5006 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5008 Moved ...
5009 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5010 ... here.
5011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5012 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5014 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5016 Moved ...
5017 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5019 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5021 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5023 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5025 Moved ...
5026 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5028 Moved ...
5029 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5031 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5033 Moved ...
5034 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5036 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5038 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5039
a4ccbc9b
JM
50402014-06-25 Joseph Myers <joseph@codesourcery.com>
5041
0828edbf
JM
5042 * timezone/checktab.awk: Update from tzcode 2014e.
5043 * timezone/private.h: Likewise.
5044 * timezone/tzfile.h: Likewise.
5045 * timezone/zdump.c: Likewise.
5046 * timezone/zic.c: Likewise.
5047
a4ccbc9b
JM
5048 * sysdeps/unix/sysv/linux/kernel-features.h
5049 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5050 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5051 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5052 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5053 Remove conditional code.
5054
9aea0cb8
WN
50552014-06-25 Will Newton <will.newton@linaro.org>
5056
5057 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5058 (_dl_arm_cap_flags): Add HWCAP2 values.
5059 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5060 (_DL_HWCAP_COUNT): Increase to 37.
5061 (_DL_HWCAP_LAST): New define.
5062 (_DL_HWCAP2_LAST): New define.
5063 (_dl_procinfo): Add support for printing
5064 AT_HWCAP2 entries.
5065 (_dl_string_hwcap): Use _dl_hwcap_string.
5066
6eaa65ce
AZ
50672014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5068
5069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5070
0f5b7185
JM
50712014-06-25 Joseph Myers <joseph@codesourcery.com>
5072
cfd2ea50
JM
5073 * README: Do not mention ports directory.
5074
cecf2ed4
JM
5075 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5076 Remove macro.
5077 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5078 <kernel-features.h>.
5079 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5080 conditional variable definition.
5081 (__futimes): Update comment.
5082 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5083 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5084
a638de82
JM
5085 [BZ #16560]
5086 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5087 arguments close to 0.
5088 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5089 Likewise.
5090 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5091 Likewise.
5092 * math/auto-libm-test-in: Add more tests of exp10.
5093 * math/auto-libm-test-out: Regenerated.
5094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5095
0f5b7185
JM
5096 * sysdeps/unix/sysv/linux/kernel-features.h
5097 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5098 * sysdeps/unix/sysv/linux/readv.c: Do not include
5099 <kernel-features.h>.
5100 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5101 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5102 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5103 unconditional.
5104 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5105 conditional code.
5106 * sysdeps/unix/sysv/linux/writev.c: Do not include
5107 <kernel-features.h>.
5108 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5109 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5110 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5111 unconditional.
5112 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5113 conditional code.
5114
c7aec4be
WN
51152014-06-25 Will Newton <will.newton@linaro.org>
5116
5117 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5118 comment changes throughout the file. Remove checks
5119 for HAVE_*_H definitions that are not required.
5120 (__gen_tempname): Call abort if an unknown kind value is
5121 passed.
5122
c5241f95
AS
51232014-06-25 Andreas Schwab <schwab@suse.de>
5124
5125 [BZ #17086]
5126 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5127 scalbln, scalblnf, scalblnl in libc.
5128
911422da
SP
51292014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5130
5131 [BZ #17086]
5132 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5133 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5134 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5135
0d749bbe
RM
51362014-06-24 Roland McGrath <roland@hack.frob.com>
5137
5138 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5139 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5140 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5141 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5142 Update #include.
5143 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5144 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5145 Update #include.
5146 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5147 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5148 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5149 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5150 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5151 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5152 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5153 * sysdeps/x86/bits/semaphore.h: ... here.
5154 * sysdeps/x86/nptl/elide.h: Moved ...
5155 * sysdeps/x86/elide.h: ... here.
5156 * sysdeps/x86_64/nptl/Implies: File removed.
5157 * sysdeps/i386/nptl/Implies: File removed.
5158
0ea5d373
JM
51592014-06-24 Joseph Myers <joseph@codesourcery.com>
5160
4060283d
JM
5161 [BZ #16539]
5162 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5163 return the argument for normal arguments with exponent below -64.
5164 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5165 Likewise.
5166 * math/auto-libm-test-in: Add another test of expm1.
5167 * math/auto-libm-test-out: Regenerated.
5168
e7dd3c8c
JM
5169 [BZ #16287]
5170 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5171 calling __erfcl for arguments at least 16.
5172 * math/auto-libm-test-in: Add more tests of erf.
5173 * math/auto-libm-test-out: Regenerated.
5174
0ea5d373
JM
5175 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5176 individual architectures.
5177 * sysdeps/unix/sysv/linux/configure: Regenerated.
5178 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5179 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5180 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5181 (ldd_rewrite_script): Define variable.
5182 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5184 file.
5185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5186 generated file.
5187 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5188 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5189 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5190 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5191 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5192 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5193 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5194 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5195
2307e126
SP
51962014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5197
5198 [BZ #17084]
5199 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5200 Rename member __data.d to __data.__elision_data.
5201
c0a4ed77
W
52022014-06-24 Wilco <wdijkstr@arm.com>
5203
5204 * NEWS: Add 16918 to fixed bug list.
5205
b8c00573
W
52062014-06-24 Wilco <wdijkstr@arm.com>
5207
5208 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5209
b5570d92
W
52102014-06-24 Wilco <wdijkstr@arm.com>
5211
5212 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5213 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5214 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5215 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5216 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5217 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5218 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5219 Use _FPU_MASK_RM.
5220
947bdca2
W
52212014-06-24 Wilco <wdijkstr@arm.com>
5222
5223 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5224
00f669ed
W
52252014-06-24 Wilco <wdijkstr@arm.com>
5226
5227 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5228 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5229 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5230 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5231
db59bad3
W
52322014-06-24 Wilco <wdijkstr@arm.com>
5233
5234 [BZ #16918]
5235 * sysdeps/arm/feupdateenv.c (feupdateenv):
5236 Rewrite to reduce FPSCR accesses and fix return value.
5237
001f7b77
W
52382014-06-24 Wilco <wdijkstr@arm.com>
5239
5240 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5241 Optimize to avoid unnecessary FPSCR writes.
5242 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5243 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5244 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5245 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5246
4841e6a6
W
52472014-06-24 Wilco <wdijkstr@arm.com>
5248
5249 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5250 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5251 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5252 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5253 Call libc_fetestexcept_vfp.
5254 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5255 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5256 __SOFTFP__ ifdef so that they can be built for softfp.
5257
0813022c
SP
52582014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5259
08e5862f
SP
5260 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5261 argument type signed char.
5262
0813022c
SP
5263 * Makerules (check-abi): Dump diff of symlist if the test
5264 fails.
5265
3fc7236a
RM
52662014-06-23 Roland McGrath <roland@hack.frob.com>
5267
aba8ef95
RM
5268 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5269 using abort.
5270
3fc7236a
RM
5271 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5272 Remove unused variable ST.
5273
4da6db51
JM
52742014-06-23 Joseph Myers <joseph@codesourcery.com>
5275
4648909d
JM
5276 [BZ #16354]
5277 [BZ #17061]
5278 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5279 small arguments before calling __expm1.
5280 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5281 small arguments before calling __expm1f.
5282 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5283 small arguments before calling __expm1l.
5284 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5285 Likewise.
5286 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5287 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5288 spurious underflow for some cosh tests.
5289 * math/auto-libm-test-out: Regenerated.
5290 * sysdeps/i386/fpu/libm-test-ulps: Update.
5291
46a3d3c7
JM
5292 [BZ #17050]
5293 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5294 (__ieee754_y1): Set errno if return value overflows.
5295 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5296 (__ieee754_y1f): Set errno if return value overflows.
5297 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5298 (__ieee754_y1l): Set errno if return value overflows.
5299 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5300 (__ieee754_y1l): Set errno if return value overflows.
5301 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5302 * math/auto-libm-test-out: Regenerated.
5303
863893ec
JM
5304 * math/gen-auto-libm-tests.c: Document use of
5305 ignore-zero-inf-sign.
5306 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5307 (input_flags): Add ignore-zero-inf-sign.
5308 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5309 * math/gen-libm-test.pl (generate_testfile): Handle
5310 ignore-zero-inf-sign.
5311 * math/auto-libm-test-in: Mark some cpow tests with
5312 ignore-zero-inf-sign and some with xfail-rounding.
5313 * math/auto-libm-test-out: Regenerated.
5314 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5315 * sysdeps/i386/fpu/libm-test-ulps: Update.
5316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5317
4da6db51
JM
5318 [BZ #16315]
5319 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5320 overflowing or underflowing operations take place with sign of
5321 result.
5322 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5323 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5324 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5325 (__ieee754_pow): Recompute overflowing and underflowing results in
5326 original rounding mode.
5327 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5328 (__powl_helper): Allow negative argument X and scale negated value
5329 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5330 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5331 overflowing or underflowing operations take place with sign of
5332 result.
5333 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5334 Include <math.h>.
5335 * math/auto-libm-test-in: Add more tests of pow.
5336 * math/auto-libm-test-out: Regenerated.
5337 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5338 (pow_tonearest_test_data): Remove.
5339 (pow_test_tonearest): Likewise.
5340 (pow_towardzero_test_data): Likewise.
5341 (pow_test_towardzero): Likewise.
5342 (pow_downward_test_data): Likewise.
5343 (pow_test_downward): Likewise.
5344 (pow_upward_test_data): Likewise.
5345 (pow_test_upward): Likewise.
5346 (main): Don't call removed functions.
5347 * sysdeps/i386/fpu/libm-test-ulps: Update.
5348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5349
5686b236
RM
53502014-06-23 Roland McGrath <roland@hack.frob.com>
5351
5352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5353 Moved ...
5354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5356 Moved ...
5357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5359 Moved ...
5360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5362 Moved ...
5363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5365 File removed.
5366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5367 File removed.
5368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5369 File removed.
5370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5371 File removed.
5372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5373 File removed.
5374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5375 File removed.
5376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5377 File removed.
5378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5379 File removed.
5380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5381 File removed.
5382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5383 File removed.
5384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5385 File removed.
5386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5387 File removed.
5388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5389 Moved ...
5390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5392 Moved ...
5393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5394 ... here.
5395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5396 Moved ...
5397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5399 Moved ...
5400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5402 Moved ...
5403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5405 Moved ...
5406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5408 Moved ...
5409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5411 Moved ...
5412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5414 Moved ...
5415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5418 ... here.
5419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5420 Moved ...
5421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5423 Moved ...
5424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5425 ... here.
5426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5427 Moved ...
5428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5429 ... here.
5430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5431 Moved ...
5432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5433 ... here.
5434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5435 Moved ...
5436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5438 Moved ...
5439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5443 Moved ...
5444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5445 ... here.
5446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5447 Moved ...
5448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5449 ... here.
5450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5451 Moved ...
5452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5454 Moved ...
5455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5457 Moved ...
5458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5460 Moved ...
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5463 Moved ...
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5465 ... here.
5466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5467 Moved ...
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5470 Moved ...
5471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5473 Moved ...
5474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5476 Moved ...
5477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5481 Moved ...
5482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5484 Moved ...
5485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5487 Moved ...
5488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5489 ... here.
5490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5491 Moved ...
5492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5493 ... here.
5494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5495 Moved ...
5496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5497 ... here.
5498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5499 Moved ...
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5502 Moved ...
5503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5505 Moved ...
5506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5508 Moved ...
5509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5510 ... here.
5511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5512 Moved ...
5513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5514 ... here.
5515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5516 Moved ...
5517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5518 ... here.
5519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5520 Moved ...
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5523 Moved ...
5524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5525
e6d90d67
WD
55262014-06-23 Will Newton <will.newton@linaro.org>
5527 Wilco <wdijkstr@arm.com>
5528
5529 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5530 implementation. Include get-rounding-mode.h.
5531 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5532 [!libc_feholdsetround_noex_ctx]: Define
5533 libc_feholdsetround_noex_ctx.
5534 [!libc_feholdsetround_noexf_ctx]: Define
5535 libc_feholdsetround_noexf_ctx.
5536 [!libc_feholdsetround_noexl_ctx]: Define
5537 libc_feholdsetround_noexl_ctx.
5538 (libc_feholdsetround_ctx): New function.
5539 (libc_feresetround_ctx): New function.
5540 (libc_feholdsetround_noex_ctx): New function.
5541 (libc_feresetround_noex_ctx): New function.
5542
d42df555
RM
55432014-06-23 Roland McGrath <roland@hack.frob.com>
5544
88a46474
RM
5545 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5546 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5547 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5548 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5549 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5550 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5551
15bed472
RM
5552 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5553 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5554 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5555 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5556 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5557 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5558 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5559 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5560 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5561 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5562 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5563 Moved ...
5564 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5565 ... here.
5566 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5567 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5568 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5569 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5570 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5571 Moved ...
5572 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5573 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5574 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5575 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5576 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5577 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5578 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5579 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5580 Moved ...
5581 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5582 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5583 Moved ...
5584 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5585 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5586 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5587 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5588 Moved ...
5589 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5590 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5591 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5592 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5593 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5594 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5595 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5596 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5597 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5598 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5599 Moved ...
5600 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5601 ... here.
5602 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5603 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5604 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5605 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5606 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5607 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5608 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5609 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5610 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5611 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5612 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5613 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5614 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5615 Moved ...
5616 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5617 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5618 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5619 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5620 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5621 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5622 Moved ...
5623 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5624 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5625 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5626 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5627 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5628
d42df555
RM
5629 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5630 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5631 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5632 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5633 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5634 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5635 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5636 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5637 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5638 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5639 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5640 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5641 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5642 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5643 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5644 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5645 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5646 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5647 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5648 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5649 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5650 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5651 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5652 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5653 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5654 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5655 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5656 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5657
76e5216e
JM
56582014-06-23 Joseph Myers <joseph@codesourcery.com>
5659
5660 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5661 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5662 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5663 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5664 (IPV6_PMTUDISC_INTERFACE): Likewise.
5665 (IPV6_PMTUDISC_OMIT): Likewise.
5666
7a81cbcc
AS
56672014-06-23 Andreas Schwab <schwab@suse.de>
5668
5669 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5670 Remove unused errout label.
5671
db224009
AZ
56722014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5673
5674 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5675 macro: hardware supports Vector Crypto instructions.
5676
f393b4aa
WN
56772014-06-23 Will Newton <will.newton@linaro.org>
5678
cc7d0447
WN
5679 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5680 rather than __builtin_expect.
5681
d6d06225
WN
5682 * elf/dl-lookup.c (undefined_msg): Remove variable.
5683 (_dl_lookup_symbol_x): Replace undefined_msg with string
5684 literal.
5685
f393b4aa
WN
5686 * elf/dl-lookup.c (do_lookup_unique): New function.
5687 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5688 to a separate function.
5689
ac60763e
AS
56902014-06-23 Andreas Schwab <schwab@suse.de>
5691
5692 [BZ #17079]
5693 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5694 before reading the next line.
5695
c5c13355
WN
56962014-06-23 Will Newton <will.newton@linaro.org>
5697
5698 * test-skeleton.c (signal_handler): Use printf and %m
5699 rather than perror. Use printf rather than fprintf to
5700 stderr. Use puts rather than fputs to stderr.
5701 (main): Likewise.
5702
bd3675f9
LC
57032014-06-22 Ludovic Courtès <ludo@gnu.org>
5704
5705 * nscd/nscd.c (thread_info_t): Remove typedef.
5706 (thread_info): Remove variable.
5707
d03efb2f
AM
57082014-06-21 Allan McRae <allan@archlinux.org>
5709
5710 * NEWS: Mention CVE-2014-4043.
5711
bc4a86fa
RM
57122014-06-20 Roland McGrath <roland@hack.frob.com>
5713
dc9a54f8
RM
5714 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5715 * nptl/smp.h: ... here.
5716
bd7022c4
RM
5717 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5718
26ffd5e6
RM
5719 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5720 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5721 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5722 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5723
93a6d082
RM
5724 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5725 * nptl/stack-aliasing.h: New file.
5726 * sysdeps/i386/i686/stack-aliasing.h: New file.
5727 * sysdeps/i386/i686/nptl/Makefile: File removed.
5728 * sysdeps/x86_64/stack-aliasing.h: New file.
5729 * sysdeps/x86_64/nptl/Makefile
5730 (CFLAGS-pthread_create.c): Variable removed.
5731
bc4a86fa
RM
5732 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5733 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5734 old file.
5735 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5736 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5737 old file.
5738
2272ffc1
JM
57392014-06-21 Joseph Myers <joseph@codesourcery.com>
5740
5741 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5742 (__ASSUME_SIGFRAME_V2): Remove macro.
5743 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5744 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5745 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5746 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5747 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5748 Declare as function. Remove conditional macro definitions.
5749 (__default_rt_sa_restorer): Likewise.
5750 (__default_sa_restorer_v1): Remove declaration.
5751 (__default_sa_restorer_v2): Likewise.
5752 (__default_rt_sa_restorer_v1): Likewise.
5753 (__default_rt_sa_restorer_v2): Likewise.
5754 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5755 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5756 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5757
4b88139b
RM
57582014-06-20 Roland McGrath <roland@hack.frob.com>
5759
5760 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5761 (libpthread-routines): Add sysdep.
5762 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5763 * sysdeps/unix/sysv/linux/sparc/Versions
5764 (libpthread: GLIBC_2.3.3): New version set.
5765 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5766 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5767 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5768 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5769 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5770 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5771 Moved ...
5772 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5773 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5774 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5775 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5776 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5777 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5778 * sysdeps/sparc/nptl/sem_init.c: ... here.
5779 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5780 * sysdeps/sparc/nptl/sem_post.c: ... here.
5781 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5782 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5783 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5784 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5785 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5786 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5787 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5788 (libpthread-routines): Add cpu_relax.
5789 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5790 File removed.
5791 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5792 (librt: GLIBC_2.3.3): New version set.
5793 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5794 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5795 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5796 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5797 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5798 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5799 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5800 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5801 Moved ...
5802 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5803 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5804 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5805 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5806 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5807 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5808 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5809 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5810 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5811 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5812 Moved ...
5813 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5814 Update #include.
5815 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5816 Moved ...
5817 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5818 Update #include.
5819 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5820 Moved ...
5821 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5822 Update #include.
5823 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5824 Moved ...
5825 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5826 Update #include.
5827 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5828 Moved ...
5829 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5830 Update #include.
5831 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5832 Moved ...
5833 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5834 Update #include.
5835 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5836 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5837 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5838 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5839 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5840 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5841 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5842 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5843 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5844 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5846 Moved ...
5847 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5848 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5849 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5850 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5851 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5852
d7109027
JM
58532014-06-20 Joseph Myers <joseph@codesourcery.com>
5854
9bc6103d
JM
5855 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5856 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5857 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5858 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5859 * nscd/nscd.c: Likewise.
5860 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5861 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5862 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5863 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5864
d7109027
JM
5865 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5866 <kernel-features.h>.
5867 (init_mq_netlink): Remove conditional have_sock_cloexec
5868 definitions. Remove code conditional on have_sock_cloexec < 0.
5869 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5870 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5871 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5872 <kernel-features.h>.
5873 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5874 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5875
d92d8f8a
L
58762014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5877
5878 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5879 Add tests for memset_chk and memset.
5880
5881 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5882 with AVX2_Usable.
5883
4e6d2347
MR
58842014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5885
257ce712
MR
5886 [BZ #16046]
5887 * elf/tst-dl-iter-static.c: New file.
5888 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5889
4e6d2347
MR
5890 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5891 error.
5892
a2a76afe
JM
58932014-06-20 Joseph Myers <joseph@codesourcery.com>
5894
7fd00f99
JM
5895 * sysdeps/unix/sysv/linux/kernel-features.h
5896 (__ASSUME_F_GETOWN_EX): Remove macro.
5897 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5898 <kernel-features.h>.
5899 (miss_F_GETOWN_EX): Remove variable or macro.
5900 (do_fcntl): Do not check miss_F_GETOWN_EX.
5901 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5902
4a103975
JM
5903 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5904 Remove macro.
5905 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5906 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5907 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5908
a2a76afe
JM
5909 * sysdeps/unix/sysv/linux/kernel-features.h
5910 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5911 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5912 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5913 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5914
90e5dd48
MR
59152014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5916
5917 [BZ #17075]
5918 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5919 Fix calculation of the symbol's value.
5920 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5921 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5922 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5923 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5924 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5925 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5926 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5927 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5928 (modules-names): Add `tst-armtlsdescmod',
5929 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5930 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5931 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5932 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5933 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5934 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5935 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5936 ($(objpfx)tst-armtlsdescloc): New dependency.
5937 ($(objpfx)tst-armtlsdescextnow): Likewise.
5938 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5939 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5940 TLS scheme support.
5941 * sysdeps/arm/configure: Regenerate.
5942
809fdf0d
JM
59432014-06-20 Joseph Myers <joseph@codesourcery.com>
5944
5945 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5946 (__atfct_seterrno_2): Likewise.
5947 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5948 <kernel-features.h>.
5949 (__ASSUME_ATFCTS): Do not undefine and redefine.
5950 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5951 (__have_atfcts): Remove conditional definition.
5952 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5953 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5954 unreachable if [__ASSUME_ATFCTS].
5955 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5956 not undefine and redefine.
5957 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5958 <kernel-features.h>.
5959 (faccessat) [__NR_faccessat]: Make code unconditional.
5960 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5961 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5962 <kernel-features.h>.
5963 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5964 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5965 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5966 <kernel-features.h>.
5967 (fchownat) [__NR_fchownat]: Make code unconditional.
5968 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5969 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5970 <kernel-features.h>.
5971 (futimesat) [__NR_futimesat]: Make code unconditional.
5972 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5973 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5974 <kernel-features.h>.
5975 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5976 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5977 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5978 <kernel-features.h>.
5979 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5980 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5981 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5982 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5983 <kernel-features.h>.
5984 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5985 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5986 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5987 <kernel-features.h>.
5988 (linkat) [__NR_linkat]: Make code unconditional.
5989 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5990 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5991 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5992 <kernel-features.h>.
5993 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5994 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5995 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5996 <kernel-features.h>.
5997 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5998 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5999 * sysdeps/unix/sysv/linux/openat.c: Do not include
6000 <kernel-features.h>.
6001 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6002 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6003 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6004 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6005 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6006 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6007 <kernel-features.h>.
6008 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6009 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6010 result of INLINE_SYSCALL directly, not via int variable.
6011 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6012 <kernel-features.h>.
6013 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6014 (renameat) [__NR_renameat]: Make code unconditional.
6015 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6016 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6017 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6018 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6019 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6020 (__ASSUME_ATFCTS): Do not undefine and redefine.
6021 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6022 <kernel-features.h>.
6023 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6024 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6025 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6026 <kernel-features.h>.
6027 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6028 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6029 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6030 (__ASSUME_ATFCTS): Do not undefine and redefine.
6031 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6032 <kernel-features.h>.
6033 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6034 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6035 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6036 <kernel-features.h>.
6037 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6038 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6039
224c6c51
L
60402014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6041
6042 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6043
aa6ec754
AS
60442014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6045
6046 [BZ #17069]
6047 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6048 constructed tree before returning error.
6049 * posix/bug-regexp36.c: Expand test case.
6050
d8c2869d
SL
60512014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6052
3ef6b850
SL
6053 [BZ #6803]
6054 * math/libm-test.inc (scalbln_test_date):
6055 Add errno expectations.
6056 * math/w_scalblnf.c: New File.
6057 Add wrapper which checks for setting errno to ERANGE.
6058 Add weak_alias for corresponding scalbln function.
6059 * math/w_scalbln.c: Likewise.
6060 * math/w_scalblnl.c: Likewise.
6061 * math/Makefile (libm-calls): Add w_scalbln.
6062 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6063 Remove weak_alias for corresponding scalbln function.
6064 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6065 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6066 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6067 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6068 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6069 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6070 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6071 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6072 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6073 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6074 Remove long_double_symbol for scalblnl function in libm, libc.
6075 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6076 Add wrapper which checks for setting errno to ERANGE.
6077 Add long_double_symbol for scalblnl function in libm, libc.
6078 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6079 Remove long_double_symbol for scalblnl in libm.
6080 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6081 Add wrapper which checks for setting errno to ERANGE.
6082 Add long_double_symbol for scalblnl function in libm.
6083 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6084 Do not use wrapper because of own implementation.
6085
c8daec5c
L
60862014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6087
6088 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6089 3 bytes for __pad1 for x32.
6090 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6091
5c74e47c
LM
60922014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6093 H.J. Lu <hongjiu.lu@intel.com>
6094
6095 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6096 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6097 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6098 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6099 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6100
4d43ef1e
AS
61012014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6102
6103 [BZ #17069]
6104 * posix/regcomp.c (parse_expression): Deallocate partially
6105 constructed tree before returning error.
6106 * posix/Makefile.c (tests): Add bug-regex36.
6107 (generated): Add bug-regex36.mtrace.
6108 (tests-special): Add $(objpfx)bug-regex36-mem.out
6109 (bug-regex36-ENV): New variable.
6110 ($(objpfx)bug-regex36-mem.out): New rule.
6111 * posix/bug-regex36.c: New file.
6112
51a7380b
WN
61132014-06-19 Will Newton <will.newton@linaro.org>
6114
6115 * malloc/malloc.c (systrim): If extra is zero then return
6116 early.
6117
91b84fe5
SP
61182014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6119
6120 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6121
f940b965
RE
61222014-06-19 Richard Earnshaw <rearnsha@arm.com>
6123
6124 * sysdeps/aarch64/strchr.S: New file.
6125
4ba7a00f
JM
61262014-06-18 Joseph Myers <joseph@codesourcery.com>
6127
6128 [BZ #17022]
6129 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6130 from arguments -2 or below.
6131 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6132 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6133
b3a9f56b
AS
61342014-06-18 Andreas Schwab <schwab@suse.de>
6135
6136 [BZ #17062]
6137 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6138 of a bracket expr not to run off the end of the string.
6139 * posix/Makefile (tests): Add tst-fnmatch3.
6140 * posix/tst-fnmatch3.c: New file.
6141
85d89278
JM
61422014-06-18 Joseph Myers <joseph@codesourcery.com>
6143
6144 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6145 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6146 [$(cross-compiling) = no]: Likewise.
6147 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6148 [$(cross-compiling) = no]: Likewise.
6149
754c5a08
RS
61502014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6151
6152 [BZ #17031]
6153 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6154 double, adjusted for any remainder from the high double.
6155 * math/libm-test.inc (nearbyint): Add tests.
6156 (rint): Likewise.
6157
556f529d
AZ
61582014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6159
6160 * nptl/sysdeps/powerpc/Makefile: Moved ...
6161 * sysdeps/powerpc/nptl/Makefile: ... here.
6162 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6163 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6164 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6165 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6166 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6167 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6168 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6169 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6170 * nptl/sysdeps/powerpc/tls.h: Moved ...
6171 * sysdeps/powerpc/nptl/tls.h: ... here.
6172
91c03c53
JM
61732014-06-16 Joseph Myers <joseph@codesourcery.com>
6174
6175 [BZ #16681]
6176 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6177 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6178 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6179 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6180 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6181 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6182 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6183 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6184 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6185
a76e63c5
AS
61862014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6187
6188 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6189
f2f6d82f
AS
61902014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6191
ea8a15f6
AS
6192 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6193 defined operator.
6194
f2f6d82f
AS
6195 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6196 $TIMEOUTFACTOR.
6197
a7291117
FW
61982014-06-16 Florian Weimer <fweimer@redhat.com>
6199
6200 [BZ #17058]
6201 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6202 non-executed part of the test.
6203
3d7c00e3
AS
62042014-06-16 Andreas Schwab <schwab@suse.de>
6205
6206 * string/bits/string2.h (strdup, strndup): Update feature guard.
6207
6957fb31
DM
62082014-06-14 David S. Miller <davem@davemloft.net>
6209
6210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6211
11b9e55b
AS
62122014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6213
1d2a0492
AS
6214 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6215 that was previously under [RESET_PID].
6216 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6217
11b9e55b
AS
6218 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6219 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6220 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6221 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6222 (__libc_vfork): New strong alias.
6223 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6224
0f6901d0
AK
62252014-06-14 Andi Kleen <ak@linux.intel.com>
6226
6227 * sysdeps/generic/elide.h: New file.
6228
38bbbb9f
SL
62292014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6230
6231 * Makefile (installed-headers): Adjust path of pthread.h header.
6232
45193bb8
RM
62332014-06-13 Roland McGrath <roland@hack.frob.com>
6234
9a25fd1e
RM
6235 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6236 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6237 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6238 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6239
4004f7e4
RM
6240 * nptl/sysdeps/s390/Makefile: Moved ...
6241 * sysdeps/s390/nptl/Makefile: ... here.
6242 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6243 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6244 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6245 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6246 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6247 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6248 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6249 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6250 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6251 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6252 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6253 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6254 * nptl/sysdeps/s390/tls.h: Moved ...
6255 * sysdeps/s390/nptl/tls.h: ... here.
6256
45193bb8
RM
6257 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6258 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6259
f6fdf533
DM
62602014-06-13 David S. Miller <davem@davemloft.net>
6261
6262 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6263 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6264 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6265 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6266 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6267 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6268 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6269 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6270 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6271 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6272 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6273 Remove RESET_PID cpp guards.
6274 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6275 Remove RESET_PID cpp guards.
6276 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6277
f5d71e14
AS
62782014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6279
6280 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6281 __sp to uintptr_t.
6282
b7aa8caa
AK
62832014-06-13 Andi Kleen <ak@linux.intel.com>
6284
4b266200
AZ
6285 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6286 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6287 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6288 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6289 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6290 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6291 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6292 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6293 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6294 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6295 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6296 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6297 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6298 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6299 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6300 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6301 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6302 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6303 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6304 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
6305
6306 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
6307 (pthread_rwlock_rdlock): Add elision.
6308 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6309 (pthread_rwlock_wrlock): Add elision.
6310 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6311 (pthread_rwlock_trywrlock): Add elision.
6312 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6313 (pthread_rwlock_tryrdlock): Add elision.
6314 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6315 (pthread_rwlock_tryrdlock): Add elision unlock.
6316 * nptl/sysdeps/pthread/pthread.h:
6317 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6318 (PTHREAD_RWLOCK_INITIALIZER,
6319 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6320 Handle new elision field.
6321 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6322 * sysdeps/arm/nptl/bits/pthreadtypes.h
6323 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6324 * sysdeps/sh/nptl/bits/pthreadtypes.h
6325 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6326 * sysdeps/tile/nptl/bits/pthreadtypes.h
6327 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6328 * sysdeps/a/nptl/bits/pthreadtypes.h
6329 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6330 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6331 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6332 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6333 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6334 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6335 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6336 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6337 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6338 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6339 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6340 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6341 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6342 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6343 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6344 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6345 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6346 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6347 (elision_init): Set try_xbegin to zero when no RTM.
6348 * sysdeps/x86/nptl/bits/pthreadtypes.h
6349 (pthread_rwlock_t): Change __pad1 to __rwelision.
6350 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 6351
a832bdd3
AK
63522014-06-13 Andi Kleen <ak@linux.intel.com>
6353
6354 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6355 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6356 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6357 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6358
995a46bb
MI
63592014-06-13 Meador Inge <meadori@codesourcery.com>
6360
6361 [BZ #16996]
03ed7738 6362 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
6363 that the cached result has been set before returning it.
6364
45262aee
RM
63652014-06-12 Roland McGrath <roland@hack.frob.com>
6366
febf6cc5
RM
6367 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6368 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6369 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6370 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6371 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6372 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6373
e2682246
RM
6374 * nptl/sysdeps/sparc/Makefile: Moved ...
6375 * sysdeps/sparc/nptl/Makefile: ... here.
6376 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6377 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6378 * nptl/sysdeps/sparc/tls.h: Moved ...
6379 * sysdeps/sparc/nptl/tls.h: ... here.
6380 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6381 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6382 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6383 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6384 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6385 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6386 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6387 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6388 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6389 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6390 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6391 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6392 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6393 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6394 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6395 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6396 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6397 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6398 Update #include.
6399 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6400 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6401 Update #include.
6402 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6403 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6404 Update #include.
6405 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6406 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6407 Update #include.
6408
b0725f43
RM
6409 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6410
b14368b8
RM
6411 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6412 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6413
c5620eb3
RM
6414 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6415 (struct list_links): Type removed.
6416 (struct thread_node, struct timer_node): Replace struct list_links
6417 with struct list_head.
6418 (list_unlink_ip): Likewise.
6419 * sysdeps/pthread/timer_routines.c
6420 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6421 (list_append, list_insbefore): Likewise.
6422 (list_init): Function removed.
6423 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
6424 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6425 * sysdeps/pthread/Makefile: ... here, new file.
6426
6427 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6428 * sysdeps/nptl/Implies: ... here.
6429 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6430 * nptl/sysdeps/pthread/list.h: Moved ...
6431 * include/list.h: ... here.
6432 * nptl/sysdeps/pthread/createthread.c: Moved ...
6433 * nptl/createthread.c: ... here.
6434 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6435 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6436 * nptl/pt-longjmp.c: ... here.
6437 * nptl/sysdeps/pthread/Makefile: Moved ...
6438 * sysdeps/nptl/Makefile: ... here.
6439 * nptl/sysdeps/pthread/Subdirs: Moved ...
6440 * sysdeps/nptl/Subdirs: ... here.
6441 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6442 * sysdeps/nptl/aio_misc.h: ... here.
6443 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6444 * sysdeps/nptl/bits/libc-lock.h: ... here.
6445 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6446 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6447 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6448 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6449 * nptl/sysdeps/pthread/configure: Moved ...
6450 * sysdeps/nptl/configure: ... here.
6451 * nptl/sysdeps/pthread/configure.ac: Moved ...
6452 * sysdeps/nptl/configure.ac: ... here.
6453 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6454 * sysdeps/nptl/gai_misc.h: ... here.
6455 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6456 * sysdeps/nptl/librt-cancellation.c: ... here.
6457 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6458 * sysdeps/nptl/malloc-machine.h: ... here.
6459 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6460 * sysdeps/nptl/pthread-functions.h: ... here.
6461 * nptl/sysdeps/pthread/pthread.h: Moved ...
6462 * sysdeps/nptl/pthread.h: ... here.
6463 * nptl/sysdeps/pthread/setxid.h: Moved ...
6464 * sysdeps/nptl/setxid.h: ... here.
6465 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6466 * sysdeps/nptl/sigfillset.c: ... here.
6467 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6468 * sysdeps/nptl/tcb-offsets.h: ... here.
6469 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6470 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6471 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6472 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6473 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6474 * sysdeps/pthread/allocalim.h: ... here.
6475 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6476 * sysdeps/pthread/bits/sigthread.h: ... here.
6477 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6478 * sysdeps/pthread/flockfile.c: ... here.
6479 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6480 * sysdeps/pthread/ftrylockfile.c: ... here.
6481 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6482 * sysdeps/pthread/funlockfile.c: ... here.
6483 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6484 * sysdeps/pthread/posix-timer.h: ... here.
6485 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6486 * sysdeps/pthread/timer_create.c: ... here.
6487 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6488 * sysdeps/pthread/timer_delete.c: ... here.
6489 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6490 * sysdeps/pthread/timer_getoverr.c: ... here.
6491 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6492 * sysdeps/pthread/timer_gettime.c: ... here.
6493 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6494 * sysdeps/pthread/timer_routines.c: ... here.
6495 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6496 * sysdeps/pthread/timer_settime.c: ... here.
6497 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6498 * sysdeps/pthread/tst-timer.c: ... here.
6499 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6500 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6501
e876b090
RM
6502 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6503 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6504
f6b07b3d
RM
6505 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6506 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6507 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6508 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6509 Update #include target.
6510 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6511 * sysdeps/i386/i686/nptl/Makefile: ... here.
6512 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6513 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6514 Update #include target.
6515 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6516 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6517 * nptl/sysdeps/i386/Makefile: Moved ...
6518 * sysdeps/i386/nptl/Makefile: ... here.
6519 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6520 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6521 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6522 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6523 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6524 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6525 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6526 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6527 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6528 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6529 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6530 * nptl/sysdeps/i386/tls.h: Moved ...
6531 * sysdeps/i386/nptl/tls.h: ... here.
6532
45262aee
RM
6533 * sysdeps/sh/Makefile [$(subdir) = csu]
6534 (gen-as-const-headers): Add tcb-offsets.sym.
6535 * nptl/sysdeps/sh/Makefile: File removed.
6536 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6537 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6538 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6539 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6540 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6541 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6542 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6543 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6544 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6545 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6546 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6547 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6548 * nptl/sysdeps/sh/tls.h: Moved ...
6549 * sysdeps/sh/nptl/tls.h: ... here.
6550 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6551 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6552 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6553 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6554 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6555 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6556 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6557 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6558 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6559 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6560 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6561 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6562 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6563 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6564 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6565 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6566 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6567 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6568 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6569 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6570 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6571 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6572 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6573 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6574 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6575 Moved ...
6576 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6577 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6578 Moved ...
6579 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6580 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6581 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6582 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6583 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6584 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6585 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6586 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6587 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6588 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6589 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6590 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6591 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6592 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6593 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6594 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6595 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6596 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6597 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6598
35a5e3e3
SL
65992014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6600
6601 * posix/spawn_faction_addopen.c: Include string.h.
6602
14642b85
RM
66032014-06-11 Roland McGrath <roland@hack.frob.com>
6604
6605 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6606 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6607 * nptl/sysdeps/x86_64/Makefile: Moved ...
6608 * sysdeps/x86_64/nptl/Makefile: ... here.
6609 * nptl/sysdeps/x86_64/configure: Moved ...
6610 * sysdeps/x86_64/nptl/configure: ... here.
6611 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6612 * sysdeps/x86_64/nptl/configure.ac: ... here.
6613 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6614 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6615 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6616 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6617 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6618 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6619 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6620 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6621 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6622 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6623 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6624 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6625 * nptl/sysdeps/x86_64/tls.h: Moved ...
6626 * sysdeps/x86_64/nptl/tls.h: ... here.
6627 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6628 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6629 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6630 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6631
6632 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6633
31c44fea
AZ
66342014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6635
6636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6637
e81a4f9a
JM
66382014-06-11 Joseph Myers <joseph@codesourcery.com>
6639
6640 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6641 type.
6642 [POSIX] (off_t): Likewise.
6643 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6644 [POSIX] (S_ISBLK): Require macro.
6645 [POSIX] (S_ISCHR): Likewise.
6646 [POSIX] (S_ISDIR): Likewise.
6647 [POSIX] (S_ISFIFO): Likewise.
6648 [POSIX] (S_ISREG): Likewise.
6649 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6650 optional-macro.
6651 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6652 type.
6653 [POSIX] (time_t): Likewise.
6654 [POSIX] (timer_t): Likewise.
6655
89e435f3
FW
66562014-06-11 Florian Weimer <fweimer@redhat.com>
6657
6658 [BZ #17048]
6659 * posix/spawn_int.h (struct __spawn_action): Make the path string
6660 non-const to support deallocation.
6661 * posix/spawn_faction_addopen.c
6662 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6663 * posix/spawn_faction_destroy.c
6664 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6665 path in all spawn_do_open actions.
6666 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6667 posix_spawn_file_actions_addopen.
6668
c3a2ebe1
CM
66692014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6670
6671 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6672 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6673 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6674 conditional code always true.
6675 (__libc_vfork): New alias.
6676
9503784a
RM
66772014-06-11 Roland McGrath <roland@hack.frob.com>
6678
c9cab3d2
RM
6679 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6680 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6681
d3996c79
RM
6682 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6683
ba5ec611
RM
6684 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6685 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6686
f12b4814
RM
6687 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6688 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6689
9503784a
RM
6690 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6691 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6692
e23d3d26
VR
66932014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6694
6695 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6696 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6697 multiarch strcmp for PPC64.
6698 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6699 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6701 multiarch optimizations.
6702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6703 (__libc_ifunc_impl_list): Likewise.
6704
42b1161e
SP
67052014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6706
6707 * benchtests/scripts/validate_benchout.py: New script.
6708 * benchtests/Makefile (bench-func): Call it.
6709 * benchtests/scripts/benchout.schema.json: New file.
6710
2d0fc4dc
CM
67112014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6712
4a594c34
AZ
6713 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6714 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6715 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6716 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6717 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6718 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6719 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6720 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6721 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6722 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6723 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6724 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6725 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6726 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6727 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6728 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6730 Moved ...
4a594c34 6731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6732 ... here.
4a594c34 6733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6734 Moved ...
4a594c34
AZ
6735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6737 Moved ...
4a594c34 6738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6739 ... here.
4a594c34 6740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6741 Moved ...
4a594c34 6742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6743 ... here.
4a594c34 6744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6745 Moved ...
4a594c34
AZ
6746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6748 Moved ...
4a594c34 6749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6750 ... here.
4a594c34 6751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6752 Moved ...
4a594c34 6753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6754 ... here.
4a594c34 6755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6756 Moved ...
4a594c34
AZ
6757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6759 Moved ...
4a594c34 6760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6761 ... here.
4a594c34 6762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6763 Moved ...
4a594c34 6764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6765 ... here.
4a594c34 6766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6767 Moved ...
4a594c34 6768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6769 ... here.
4a594c34 6770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6771 Moved ...
4a594c34
AZ
6772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6774 Moved ...
4a594c34 6775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6776 ... here.
4a594c34 6777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6778 Moved ...
4a594c34 6779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6780 ... here.
4a594c34 6781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6782 Moved ...
4a594c34 6783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6784 ... here.
4a594c34 6785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6786 Moved ...
4a594c34
AZ
6787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6789 Moved ...
4a594c34 6790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6791 ... here.
4a594c34 6792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6793 Moved ...
4a594c34 6794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6795 ... here.
4a594c34 6796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 6797 Moved ...
4a594c34
AZ
6798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 6800 Moved ...
4a594c34 6801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 6802 ... here.
4a594c34 6803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 6804 Moved ...
4a594c34
AZ
6805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 6807 Moved ...
4a594c34
AZ
6808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 6810 Moved ...
4a594c34 6811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 6812 ... here.
4a594c34 6813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 6814 Moved ...
4a594c34 6815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 6816 ... here.
4a594c34 6817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 6818 Moved ...
4a594c34 6819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 6820 ... here.
4a594c34 6821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 6822 Moved ...
4a594c34
AZ
6823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 6825 Moved ...
4a594c34 6826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 6827 ... here.
4a594c34 6828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 6829 Moved ...
4a594c34 6830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 6831 ... here.
4a594c34
AZ
6832 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6833 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6834 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6835 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6836 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 6837 Moved ...
4a594c34 6838 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 6839 ... here.
4a594c34
AZ
6840 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6841 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6842 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6843 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6844 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6845 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6846 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6847 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6848 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6849 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6850 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6851 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6852 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 6853 Moved ...
4a594c34
AZ
6854 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6855 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 6856 Moved ...
4a594c34
AZ
6857 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6858 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6859 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6860 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 6861 Moved ...
4a594c34
AZ
6862 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6863 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6864 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6865 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6866 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6867 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6868 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 6869
0570cfed
W
68702014-06-10 Wilco <wdijkstr@arm.com>
6871
6872 * math/test-fenv-return.c: New file.
6873 * math/Makefile: Add new test test-fenv-return.
6874
f8ba1b56
JM
68752014-06-10 Joseph Myers <joseph@codesourcery.com>
6876
6877 [BZ #17042]
6878 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6879 when x - 1 is zero.
6880 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6881 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6882 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6883 0.0L for an argument of 1.0L.
6884 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6885 Likewise.
6886 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6887 value when x - 1 is zero.
6888 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6889 * sysdeps/i386/fpu/libm-test-ulps: Update.
6890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6891
2c3520d9
BO
68922014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6893
6894 [BZ #15119]
6895 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6896
acaa4d24
RM
68972014-06-09 Roland McGrath <roland@hack.frob.com>
6898
6899 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6900 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6901
962b744d
RM
69022014-06-09 Roland McGrath <roland@hack.frob.com>
6903
d752f0cc
RM
6904 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6905 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6906
34eda6d1
RM
6907 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6908 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6909
50f0a637
RM
6910 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6911 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6912
08f41f04
RM
6913 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6914 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6915
962b744d
RM
6916 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6917 if not already defined.
6918 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6919 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6920 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6921 (TLS_INIT_TP): Use it.
6922 (TLS_DEFINE_INIT_TP): New macro.
6923 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6924
09f19b05
JM
69252014-06-09 Joseph Myers <joseph@codesourcery.com>
6926
6927 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6928 constant.
6929 [POSIX] (IXANY): Likewise.
6930 [POSIX] (OLCUC): Likewise.
6931 [POSIX || POSIX2008] (CBAUD): Do not allow.
6932 [POSIX || POSIX2008] (DEFECHO): Likewise.
6933 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6934 [POSIX || POSIX2008] (ECHOKE): Likewise.
6935 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6936 [POSIX || POSIX2008] (EXTA): Likewise.
6937 [POSIX || POSIX2008] (EXTB): Likewise.
6938 [POSIX || POSIX2008] (FLUSHO): Likewise.
6939 [POSIX || POSIX2008] (LOBLK): Likewise.
6940 [POSIX || POSIX2008] (PENDIN): Likewise.
6941 [POSIX || POSIX2008] (SWTCH): Likewise.
6942 [POSIX || POSIX2008] (VDISCARD): Likewise.
6943 [POSIX || POSIX2008] (VDSUSP): Likewise.
6944 [POSIX || POSIX2008] (VLNEXT): Likewise.
6945 [POSIX || POSIX2008] (VREPRINT): Likewise.
6946 [POSIX || POSIX2008] (VSTATUS): Likewise.
6947 [POSIX || POSIX2008] (VWERASE): Likewise.
6948 (B*): Change to B[0123456789]*.
6949 * conform/data/time.h-data [POSIX || UNIX98]
6950 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6951 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6952 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6953 [POSIX] (tm_*): Do not allow.
6954
686554bf
JM
69552014-06-07 Joseph Myers <joseph@codesourcery.com>
6956
6957 * Makefile (install): Don't set LANGUAGE.
6958 * Makefile.in (install): Likewise.
6959 * assert/Makefile (test-assert-ENV): Remove variable.
6960 (test-assert-perr-ENV): Likewise.
6961 * elf/Makefile (neededtest4-ENV): Likewise.
6962 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6963 [$(cross-compiling) = no]: Don't set LANGUAGE.
6964 * io/ftwtest-sh (LANG): Remove variable.
6965 * libio/Makefile (tst-widetext-ENV): Likewise.
6966 * manual/install.texi (Running make install): Don't refer to
6967 environment settings for make install.
6968 * INSTALL: Regenerated.
6969 * nptl/tst-tls6.sh: Don't set LANG.
6970 * posix/globtest.sh (LANG): Remove variable.
6971 * string/Makefile (tester-ENV): Likewise.
6972 (inl-tester-ENV): Likewise.
6973 (noinl-tester-ENV): Likewise.
6974 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6975 [$(cross-compiling) = no]: Don't set LANGUAGE.
6976 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6977 without explicit environment settings.
6978
68e6b6b1
RM
69792014-06-06 Roland McGrath <roland@hack.frob.com>
6980
6981 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6982 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6983 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6984 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6985
4d3ae034
CM
69862014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6987
6988 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6989 other files in the crypt directory.
6990 * crypt/crypt.c: Remove duplicate includes.
6991 * crypt/crypt-entry.c: Likewise.
6992 * crypt/crypt_util.c: Likewise.
6993
8540f6d2
JM
69942014-06-06 Joseph Myers <joseph@codesourcery.com>
6995
6996 * Makeconfig (run-program-env): New variable.
6997 (run-program-prefix-before-env): Likewise.
6998 (run-program-prefix-after-env): Likewise.
6999 (run-program-prefix): Define in terms of new variables.
7000 (built-program-cmd-before-env): New variable.
7001 (built-program-cmd-after-env): Likewise.
7002 (built-program-cmd): Define in terms of new variables.
7003 (test-program-prefix-before-env): New variable.
7004 (test-program-prefix-after-env): Likewise.
7005 (test-program-prefix): Define in terms of new variables.
7006 (test-program-cmd-before-env): New variable.
7007 (test-program-cmd-after-env): Likewise.
7008 (test-program-cmd): Define in terms of new variables.
7009 * Rules (make-test-out): Use $(run-program-env).
7010 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7011 (help): Do not mention environment variables. Mention
7012 --timeoutfactor option.
7013 (timeoutfactor): New variable.
7014 (blacklist_exports): Remove function.
7015 (exports): Remove variable.
7016 (command): Do not include ${exports}.
7017 * manual/install.texi (Configuring and compiling): Do not mention
7018 test wrappers preserving environment variables. Mention that last
7019 assignment to a variable must take precedence.
7020 * INSTALL: Regenerated.
7021 * benchtests/Makefile (run-bench): Use $(run-program-env).
7022 * catgets/Makefile ($(objpfx)test1.cat): Use
7023 $(built-program-cmd-before-env), $(run-program-env) and
7024 $(built-program-cmd-after-env).
7025 ($(objpfx)test2.cat): Do not specify environment variables
7026 explicitly.
7027 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7028 $(run-program-env) and $(built-program-cmd-after-env).
7029 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7030 $(run-program-env) and $(test-program-cmd-after-env).
7031 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7032 explicitly.
7033 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7034 run_program_env and test_program_cmd_after_env arguments.
7035 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7036 * elf/tst-pathopt.sh: Use run_program_env argument.
7037 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7038 $(test-wrapper-env) and $(run-program-env).
7039 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7040 run_program_env arguments.
7041 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7042 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7043 $(test-program-prefix-before-env), $(run-program-env) and
7044 $(test-program-prefix-after-env).
7045 ($(objpfx)tst-gettext2.out): Likewise.
7046 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7047 run_program_env and test_program_prefix_after_env arguments.
7048 * intl/tst-gettext2.sh: Likewise.
7049 * intl/tst-gettext4.sh: Do not set environment variables
7050 explicitly.
7051 * intl/tst-gettext6.sh: Likewise.
7052 * intl/tst-translit.sh: Likewise.
7053 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7054 $(test-program-prefix-before-env), $(run-program-env) and
7055 $(test-program-prefix-after-env).
7056 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7057 run_program_env and test_program_prefix_after_env arguments.
7058 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7059 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7060 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7061 explicitly with each use of ${test_wrapper_env}.
7062 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7063 $(test-program-prefix-before-env), $(run-program-env) and
7064 $(test-program-prefix-after-env).
7065 * posix/tst-getconf.sh: Do not set environment variables
7066 explicitly.
7067 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7068 run_program_env and test_program_prefix_after_env arguments.
7069 * stdio-common/tst-printf.sh: Do not set environment variables
7070 explicitly.
7071 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7072 $(test-program-prefix-before-env), $(run-program-env) and
7073 $(test-program-prefix-after-env).
7074 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7075 run_program_env and test_program_prefix_after_env arguments.
7076 Split $test calls into $test_pre and $test.
7077 * timezone/Makefile (build-testdata): Use
7078 $(built-program-cmd-before-env), $(run-program-env) and
7079 $(built-program-cmd-after-env).
7080
ed36bfa1
AZ
70812014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7082
7083 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7084 strlen for non SHARED builds.
7085
fc75bf46
SP
70862014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7087
7088 * nptl/allocatestack.c (check_list): Inlined function...
7089 (__reclaim_stacks): ... here.
7090
d89b3d80
OB
70912014-06-05 Ondřej Bílka <neleai@seznam.cz>
7092
7093 [BZ #15698]
7094 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7095 memory overrun.
7096
2bf18041
JM
70972014-06-05 Joseph Myers <joseph@codesourcery.com>
7098
7099 * Rules (make-test-out): Include
7100 LOCPATH=$(common-objpfx)localedata in default environment.
7101 * debug/Makefile (tst-chk1-ENV): Remove variable.
7102 (tst-chk2-ENV): Likewise.
7103 (tst-chk3-ENV): Likewise.
7104 (tst-chk4-ENV): Likewise.
7105 (tst-chk5-ENV): Likewise.
7106 (tst-chk6-ENV): Likewise.
7107 (tst-lfschk1-ENV): Likewise.
7108 (tst-lfschk2-ENV): Likewise.
7109 (tst-lfschk3-ENV): Likewise.
7110 (tst-lfschk4-ENV): Likewise.
7111 (tst-lfschk5-ENV): Likewise.
7112 (tst-lfschk6-ENV): Likewise.
7113 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7114 (tst-iconv7-ENV): Likewise.
7115 * intl/Makefile (LOCPATH-ENV): Likewise.
7116 (tst-codeset-ENV): Likewise.
7117 (tst-gettext3-ENV): Likewise.
7118 (tst-gettext5-ENV): Likewise.
7119 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7120 (tst-fopenloc-ENV): Likewise.
7121 (tst-fgetws-ENV): Remove variable.
7122 (tst-ungetwc1-ENV): Likewise.
7123 (tst-ungetwc2-ENV): Likewise.
7124 (bug-ungetwc2-ENV): Likewise.
7125 (tst-swscanf-ENV): Likewise.
7126 (bug-ftell-ENV): Likewise.
7127 (tst-fgetwc-ENV): Likewise.
7128 (tst-fseek-ENV): Likewise.
7129 (tst-ftell-partial-wide-ENV): Likewise.
7130 (tst-ftell-active-handler-ENV): Likewise.
7131 (tst-ftell-append-ENV): Likewise.
7132 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7133 (tst-regexloc-ENV): Likewise.
7134 (bug-regex1-ENV): Likewise.
7135 (tst-regex-ENV): Likewise.
7136 (tst-regex2-ENV): Likewise.
7137 (bug-regex5-ENV): Likewise.
7138 (bug-regex6-ENV): Likewise.
7139 (bug-regex17-ENV): Likewise.
7140 (bug-regex18-ENV): Likewise.
7141 (bug-regex19-ENV): Likewise.
7142 (bug-regex20-ENV): Likewise.
7143 (bug-regex22-ENV): Likewise.
7144 (bug-regex23-ENV): Likewise.
7145 (bug-regex25-ENV): Likewise.
7146 (bug-regex26-ENV): Likewise.
7147 (bug-regex30-ENV): Likewise.
7148 (bug-regex32-ENV): Likewise.
7149 (bug-regex33-ENV): Likewise.
7150 (bug-regex34-ENV): Likewise.
7151 (bug-regex35-ENV): Likewise.
7152 (tst-rxspencer-ENV): Likewise.
7153 (tst-rxspencer-no-utf8-ENV): Likewise.
7154 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7155 (tst-sscanf-ENV): Likewise.
7156 (tst-swprintf-ENV): Likewise.
7157 (tst-swscanf-ENV): Likewise.
7158 (test-vfprintf-ENV): Likewise.
7159 (scanf13-ENV): Likewise.
7160 (bug14-ENV): Likewise.
7161 (tst-grouping-ENV): Likewise.
7162 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7163 (tst-strtod3-ENV): Likewise.
7164 (tst-strtod4-ENV): Likewise.
7165 (tst-strtod5-ENV): Likewise.
7166 (testmb2-ENV): Likewise./
7167 * string/Makefile (tst-strxfrm-ENV): Likewise.
7168 (tst-strxfrm2-ENV): Likewise.
7169 (bug-strcoll1-ENV): Likewise.
7170 (test-strcasecmp-ENV): Likewise.
7171 (test-strncasecmp-ENV): Likewise.
7172 * time/Makefile (tst-strptime-ENV): Likewise.
7173 (tst-ftime_l-ENV): Likewise.
7174 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7175 (tst-mbrtowc-ENV): Likewise.
7176 (tst-wcrtomb-ENV): Likewise.
7177 (tst-mbrtowc2-ENV): Likewise.
7178 (tst-c16c32-1-ENV): Likewise.
7179 (tst-mbsnrtowcs-ENV): Likewise.
7180
cd1fb604
OB
71812014-06-05 Ondřej Bílka <neleai@seznam.cz>
7182
7183 * manual/resource.texi (How to get information about the memory
7184 subsystem?): Fix typo.
7185 Reported by Peon de la Parra Ivan <peon@keba.com>
7186
b42eca7d
GY
71872014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7188
7189 [BZ #16882]
7190 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7191 (pthread_spin_lock): Branch out of spin loop to proper location.
7192 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7193 (pthread_spin_lock): Likewise.
7194
902b71f9
DM
7195 * nptl/tst-spin4.c: New test.
7196 * nptl/Makefile (tests): Add tst-spin4.
7197
f9d2d032
AS
71982014-06-03 Andreas Schwab <schwab@suse.de>
7199
7200 [BZ #15946]
7201 * resolv/res_send.c (send_dg): Reload file descriptor after
7202 calling reopen.
7203
cf7bfd28
SL
72042014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7205
7206 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7207
111cc714
RH
72082014-06-03 Richard Henderson <rth@redhat.com>
7209
89b4bd6b
RH
7210 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7211 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7212 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7213 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7214 in the SAVE_PID block.
7215 (__libc_vfork): New alias.
71840409 7216 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 7217
111cc714
RH
7218 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7219 child in registers, not on the stack. Remove RESET_PID conditionals.
7220 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7221
ccc39911
MS
72222014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7223
7224 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7225
693096cc
W
72262014-06-03 Wilco <wdijkstr@arm.com>
7227
7228 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7229 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7230 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7231 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7232 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7233 Likewise.
7234
0b4366bc
W
72352014-06-03 Wilco <wdijkstr@arm.com>
7236
7237 * sysdeps/aarch64/fpu/math_private.h
7238 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7239 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7240 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7241 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7242 Fix declarations.
7243
8747cd03
KS
72442014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7245
7246 * crypt/crypt-private.h: Include ufc-crypt.h.
7247 (__b64_from_24bit): Declare extern.
7248 * crypt/crypt_util.c(__b64_from_24bit): New function.
7249 (b64t): New static const variable.
7250 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7251 (b64t): Remove variable.
7252 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7253 * crypt/sha256-crypt.c: Include crypt-private.h.
7254 (b64t): Remove variable.
7255 (__sha256_crypt_r): Remove b64_from_24bit and replace
7256 with __b64_from_24bit.
7257 * crypt/sha512-crypt.c: Likewise.
7258
d936d379
RM
72592014-06-02 Roland McGrath <roland@hack.frob.com>
7260
7261 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7262 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7263 Label the code __libc_vfork rather than __vfork.
7264 [!NOT_IN_libc] (vfork): Define as weak alias.
7265 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7266 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7267 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7268
9fa76613
SP
72692014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7270
7271 * malloc/malloc.c (malloc_info): Fix format specifier for
7272 n_mmaps.
7273
a88dadbe
W
72742014-06-02 Wilco <wdijkstr@arm.com>
7275
7276 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7277 FPCR write.
7278
c95b3011
W
72792014-06-02 Wilco <wdijkstr@arm.com>
7280
7281 [BZ #17009]
7282 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7283 Rewrite to reduce FPCR/FPSR accesses.
7284
6b4d7a90
DM
72852014-06-01 David S. Miller <davem@davemloft.net>
7286
7287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7288
30f3d07c
DM
72892014-05-31 David S. Miller <davem@davemloft.net>
7290
7291 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7292 to occur in round to nearest mode when |x| >= 2.0
7293
74f31c18
RH
72942014-05-30 Richard Henderson <rth@twiddle.net>
7295
f0712b54
RH
7296 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7297 (PSEUDO_RET_NOERRNO): Remove.
7298 (ret): Don't redefine.
7299 (ret_NOERRNO): Define in terms of ret.
7300 (ret_ERRVAL): Likewise.
7301
74f31c18
RH
7302 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7303 use of PSEUDO_RET; perform the error check directly.
7304
30477995
MM
73052014-05-30 Marko Myllynen <myllynen@redhat.com>
7306
7307 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7308 with __int128_t.
7309
62a58816
SP
73102014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7311
7312 * malloc/malloc (malloc_info): Fix formatting.
7313
4d653a59
SP
73142014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7315 Roland McGrath <roland@hack.frob.com>
7316
7317 * malloc/malloc (malloc_info): Also print mmapped statistics.
7318
5190c17f
RM
73192014-05-30 Roland McGrath <roland@hack.frob.com>
7320
7321 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7322 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7323
987c0269
OB
73242014-05-30 Ondřej Bílka <neleai@seznam.cz>
7325
7326 * malloc/malloc.c (malloc_info): Inline mi_arena.
7327
af4e8ef9
RH
73282014-05-29 Richard Henderson <rth@twiddle.net>
7329
1670e207
RH
7330 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7331 Remove comma before expanding ASM_ARGS_##nr.
7332 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7333 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7334 of ASM_ARGS_##nr.
7335 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7336 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7337 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7338 (ASM_ARGS_1): Add leading comma.
7339
11a28aee
RH
7340 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7341 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7342 to __errno_location.
7343 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7344 Remove the expected plt for __errno_location.
7345
a17e5ffb 7346 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 7347 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
7348 call to __read_tp.
7349
b5be4597
RH
7350 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7351 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7352 it and break it down.
7353 (DOCARGS_0, DOCARGS_1): Do nothing.
7354 (DOCARGS_2): Update to store into the new stack frame.
7355 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7356 (UNDOCARGS_1): Update to restore from the new stack frame.
7357 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7358 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7359
645d44ab
RH
7360 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7361 (SINGLE_THREAD_P): New parameter for result regno.
7362 (PSEUDO): Update to match; use cbz instead of beq.
7363
a8b4f04a
RH
7364 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7365 Use ENTRY to define the _nocancel entry point. Share the syscall
7366 and syscall error check paths with the cancel path.
7367 (PSEUDO_END): New.
7368
af4e8ef9
RH
7369 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7370 whitespace; tabs before and after asm mnemonics.
7371
26b0d2e1
EW
73722014-05-29 Eric Wong <normalperson@yhbt.net>
7373
7374 [BZ #15132]
7375 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7376 Call fstat64 or stat64 internally, depending on arguments passed.
7377 Replace stat buffer argument with file descriptor argument.
7378 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7379 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7380 Pass fd to __internal_statvfs instead of calling fstat64.
7381 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7382 Pass fd to __internal_statvfs64 instead of calling fstat64.
7383 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7384 Pass -1 to __internal_statvfs instead of calling stat64.
7385 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7386 Pass -1 to __internal_statvfs64 instead of calling stat64.
7387
1efe2bd9
RM
73882014-05-28 Roland McGrath <roland@hack.frob.com>
7389
0d3b7a19
RM
7390 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7391 that was previously under [RESET_PID].
7392 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7393
1efe2bd9
RM
7394 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7395 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7396
a6bea3ca
RM
73972014-05-27 Roland McGrath <roland@hack.frob.com>
7398
30b6629e
RM
7399 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7400
a6bea3ca
RM
7401 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7402 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7403
3dfb9a5c
OB
74042014-05-27 Ondřej Bílka <neleai@seznam.cz>
7405
7406 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7407
774f9285
AS
74082014-05-27 Andreas Schwab <schwab@suse.de>
7409
7410 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7411 TLS_INIT_TP macro.
7412 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7413 * elf/rtld.c (init_tls, dl_main): Likewise.
7414 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7415 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7416 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7417 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7418 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7419 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7420 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7421 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7422 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7423 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7424 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7425 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7426 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7427 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7428 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7429 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7430 * sysdeps/generic/tls.h: Update description.
7431
36ffe739
WN
74322014-05-27 Will Newton <will.newton@linaro.org>
7433
7434 [BZ #16990]
7435 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7436 and restore r2 rather than just restoring.
7437
2482ae43
SP
74382014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7439
7440 [BZ #16724]
7441 * libio/tst-ftell-append.c: New test case.
7442 * libio/Makefile (tests): Add test case.
7443 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7444 append mode.
7445 * libio/wfileops.c (do_ftell_wide): Likewise.
7446
3d1024e8
AZ
74472014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7448
bab90016
AZ
7449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7450
c7a8d667
AZ
7451 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7452 ...
7453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7455 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7456 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7457 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7458 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7459 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7460 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7461 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7462 Moved ...
7463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7464 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7465 Moved ...
7466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7467 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7468 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7469 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7470 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7471 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7472 ...
7473 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7474 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7475 Moved ...
7476 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7477 here.
7478 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7479 ...
7480 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7481 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7482 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7483
daee7851
AZ
7484 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7485 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7486 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7487 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7488
50a40819
AZ
7489 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7490 merge into ...
7491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7492 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7493 ...
7494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7495 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7496 ...
7497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7498 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7499 Moved ...
7500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7501 here.
7502 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7503 Moved ...
7504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7505 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7506 Moved ...
7507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7508
8464c2a1
AZ
7509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7510 conditional [RESET_PID].
7511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7512 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7513 removed.
7514 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7515 removed.
7516
3d1024e8
AZ
7517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7518 <tcb-offsets.h>.
7519 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7520 (__libc_vfork): New strong alias.
7521 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7522 removed.
7523 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7524 Removed.
7525
7526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7527 <tcb-offsets.h>.
7528 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7529 (__libc_vfork): New strong alias.
7530 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7531 removed.
7532 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7533 removed.
7534
fdfd175d
CD
75352014-05-26 Carlos O'Donell <carlos@redhat.com>
7536
7537 * malloc/malloc.c (mi_arena): New function.
7538 (malloc_info): Remove nested function mi_arena. Call non-nosted
7539 function mi_arena.
7540
d298c416
AZ
75412014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7542
7543 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7544 by insrwi.
7545 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7546 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7547 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7548 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7549 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7550 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7551 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7552
b60ea6ff
AS
75532014-05-26 Andreas Schwab <schwab@suse.de>
7554
7555 [BZ #16984]
7556 * locale/programs/repertoire.c (repertoire_read): Add slash
7557 between I18NPATH element and file name.
7558 * locale/programs/locfile.c (locfile_read): Likewise.
7559
67365926
SL
75602014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7561
7562 * nptl/pthread_mutexattr_settype.c
7563 (__pthread_mutexattr_settype):
7564 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7565
f8bdf1f0
SL
75662014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7567
7568 * nptl/tst-mutex5 (do_test):
7569 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7570
15eaf6ff
SP
75712014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7572
7573 * benchtests/README: Document 'init' directive.
7574 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7575 BENCH_INIT.
7576 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7577 (parse_file): Recognize 'init' directive.
7578
75f11331
KM
75792014-05-26 Kyle McMartin <kyle@redhat.com>
7580
7581 [BZ #16796]
7582 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7583 alignment of struct pthread.
7584
c3ec475c
SP
75852014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7586
7587 [BZ #16878]
7588 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7589 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7590 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7591 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7592
82aab97c
RH
75932014-05-25 Richard Henderson <rth@twiddle.net>
7594
aa2f176d
RH
7595 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7596 (SINGLE_THREAD_P_PIC): Remove.
7597 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7598 (SINGLE_THREAD_P_PIC): Remove.
7599
ca3cfa40
RH
7600 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7601 branch to syscall error ...
7602 (PSEUDO): ... here.
7603 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7604 from __local_syscall_error to .Lsyscall_error.
7605 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7606 (SYSCALL_ERROR): Update label name.
7607
6e6c2d01
RH
7608 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7609 Do not use DOARGS/UNDOARGS.
7610 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7611 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7612 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7613 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7614 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7615
c69abcee
RH
7616 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7617 block comment.
7618
82aab97c
RH
7619 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7620 define if !NOT_IN_libc.
7621 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7622 define with non-default symbol versions.
7623
8820e3ac
RH
76242014-05-23 Richard Henderson <rth@twiddle.net>
7625
900e445f
RH
7626 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7627 (vfork, __vfork): Define via compat_symbol.
7628
8820e3ac
RH
7629 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7630 [!HAVE_IFUNC] (vfork_compat): Remove.
7631 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7632
e59252a5
JM
76332014-05-23 Joseph Myers <joseph@codesourcery.com>
7634
7635 [BZ #16978]
7636 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7637 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7638 variable.
7639
132c7f5f
RH
76402014-05-23 Richard Henderson <rth@twiddle.net>
7641
bc89e962
RH
7642 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7643 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7644 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7645 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7646
7647 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7648 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7649 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7650 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7651 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7652 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7653 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7654 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7655 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7656 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7657 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7658 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7659 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7660 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7661 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7662 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7663 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7664 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7665 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7666 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7667 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7668 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7669 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7670 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7671 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7672 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7673 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7674 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7675 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7676 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7677 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7678 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7679 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7680 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7681 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7682 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7683 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7684 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7685 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7686 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7687 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7688 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7689 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7690 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7691 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7692 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7693 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7694 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7695 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7696 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7697 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7698 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7699 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7700 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7701 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7702 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7703
e2fa4bc2
RH
7704 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7705 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7706 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7707 before exiting on error.
7708 (__libc_vfork): New strong alias.
7709 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7710 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7711
279b24e2
RH
7712 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7713 that was previously under [RESET_PID].
7714 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7715
132c7f5f
RH
7716 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7717
b72592e7
JM
77182014-05-23 Joseph Myers <joseph@codesourcery.com>
7719
7720 [BZ #16977]
7721 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7722 value when x - 1 is zero.
7723 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7724 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7725 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7726 0.0L for an argument of 1.0L.
7727 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7728 Likewise.
7729 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7730 value when x - 1 is zero.
7731 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7732 * sysdeps/i386/fpu/libm-test-ulps: Update.
7733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7734
2302d679
RV
77352014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7736
7737 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7738 alphasort and versionsort.
7739
32999d63
AZ
77402014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7741
7742 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7743 macro.
7744 [copysignf]: Likewise.
7745
019324d0
SP
77462014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7747
7748 * crypt/md5-crypt.c: Fix formatting.
7749
34fff5c2
KS
77502014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7751
7752 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7753 (b64_from_24bit): New function.
7754
3d2badac
AZ
77552014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7756
7757 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7758 libc_hidden_builtin_def to ifunc.
7759 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7760 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7761
f7bb179f 77622014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7763
7764 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7765 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7766
4134b50d
JM
77672014-05-21 Joseph Myers <joseph@codesourcery.com>
7768
bb7d0337
JM
7769 * nscd/Depend (linuxthreads): Remove.
7770 (nptl): Add.
7771 * resolv/Depend (linuxthreads): Remove.
7772 * rt/Depend (linuxthreads): Remove.
7773
4134b50d
JM
7774 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7775 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7776 $(common-objpfx)elf/.
7777 (link-libc-before-gnulib): Likewise.
7778 (elfobjdir): Remove variable.
7779 * Makefile (install): Use $(elf-objpfx) instead of
7780 $(common-objpfx)elf/.
7781 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7782 $(elfobjdir)/.
7783 (link-libc-deps): Likewise.
7784 ($(common-objpfx)libc.so): Likewise.
7785 ($(common-objpfx)linkobj/libc.so): Likewise.
7786 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7787 instead of $(common-objpfx)elf/.
7788 (symbolic-link-list): Likewise.
7789 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7790 [$(cross-compiling) = no]: Likewise.
7791 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7792 $(elfobjdir)/.
7793 (static-gnulib-arch): Likewise.
7794 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7795 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7796 $(common-objpfx)elf/.
7797
3612eb8f
RH
77982014-05-21 Richard Henderson <rth@redhat.com>
7799
a6b3657b
RH
7800 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7801 (SINGLE_THREAD_P): Use the correct width load. Fold
7802 into the ldr offset.
7803
3612eb8f
RH
7804 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7805 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7806
175cef41
JM
78072014-05-20 Joseph Myers <joseph@codesourcery.com>
7808
7809 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7810 (libgcc_s_resume): Use __attribute_used__.
7811 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7812 Likewise.
7813
e13bccd3
AZ
78142014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7815
7816 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7817 optimization when used with float constants.
7818
7c112a38
AZ
7819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7820
ae75a883
AJ
78212014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7822
7823 [BZ #16915]
7824 * locale/nl_langinfo_l.c: Make direct reference to every
7825 _nl_current_CATEGORY symbol.
7826 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7827 (tests-static): Add tst-langinfo-static.
7828 (tests-special): Add tst-langinfo-static.out.
7829 ($(objpfx)tst-langinfo.out): Redirect output.
7830 ($(objpfx)tst-langinfo-static.out): New.
7831 * localedata/tst-langinfo.sh: Send output to stdout.
7832 * localedata/tst-langinfo-static.c: New file.
7833
4406c41c
AJ
7834 [BZ #16965]
7835 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7836 when the shift amount is modulo the limb size.
7837
4c0a1e63
RH
78382014-05-20 Richard Henderson <rth@redhat.com>
7839
de9d8f20
RH
7840 [BZ #16967]
7841 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7842 Change type of sa_flags from unsigned int to int.
7843
4c0a1e63
RH
7844 [BZ #16966]
7845 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
7846
7847 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7848
a60339aa
WN
78492014-05-20 Will Newton <will.newton@linaro.org>
7850
7851 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7852 Test the return value of the system call in the nocancel case.
7853
7d05a816
YR
78542014-05-20 Will Newton <will.newton@linaro.org>
7855 Yvan Roux <yvan.roux@linaro.org>
7856
7857 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7858 #include of asm/ptrace.h.
7859 (PTRACE_GET_THREAD_AREA): Remove #undef.
7860 (PTRACE_GETHBPREGS): Likewise.
7861 (PTRACE_SETHBPREGS): Likewise.
7862 (struct user_regs_struct): New structure.
7863 (struct user_fpsimd_struct): New structure.
7864 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7865 #include of asm/ptrace.h and second #include of sys/user.h.
7866 (PTRACE_GET_THREAD_AREA): Remove #undef.
7867 (PTRACE_GETHBPREGS): Likewise.
7868 (PTRACE_SETHBPREGS): Likewise.
7869 (ELF_NGREG): Use new struct user_regs_struct.
7870 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7871
af121e37
AZ
78722014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7873
7874 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7875 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7876
834caf06
JM
78772014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7878
7879 [BZ #16958]
7880 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7881 membar to avoid block loads/stores to overlap previous stores.
7882
e184a918
RH
78832014-05-17 Richard Henderson <rth@redhat.com>
7884
7885 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7886 Create the __##syscall_name##_nocancel entry point.
7887 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7888 Remove; let the sysdep-cancel.h code create it.
7889
f56c7a6a
DM
78902014-05-17 David S. Miller <davem@davemloft.net>
7891
7892 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7893 Protect with __USE_GNU.
7894 (TIOCSET_TEMPT): Likewise.
7895 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7896 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7897 these are already provided in bits/ioctl-types.h
7898
f75616b2
RM
78992014-05-16 Roland McGrath <roland@hack.frob.com>
7900
3edeca86
RM
7901 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7902 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7903
f75616b2
RM
7904 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7905 Use wait4 regardless of [__NR_waitpid].
7906
deb0f7f6
MR
79072014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7908
7909 PR libgcc/60166
7910 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7911 (_FP_NANSIGN_Q): Set the quiet bit.
7912
79520f4b
JM
79132014-05-16 Joseph Myers <joseph@codesourcery.com>
7914
7915 * benchtests/Makefile
7916 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7917 not $(common-objpfx)math/libm.so.
7918 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7919 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7920 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7921 $(common-objpfx)dlfcn/libdl.so.
7922 ($(objpfx)tst-audit8): Depend on $(libm), not
7923 $(common-objpfx)math/libm.so.
7924 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7925 not $(common-objpfx)dlfcn/libdl.so.
7926 * math/Makefile
7927 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7928 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7929 [$(build-shared) = yes].
7930 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7931 $(common-objpfx)nptl/libpthread.so.
7932 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7933 $(common-objpfx)math/libm.so$(libm.so-version) or
7934 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7935 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7936 $(common-objpfx)dlfcn/libdl.so.
7937 * setjmp/Makefile (link-libm): Remove variable.
7938 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7939 * stdio-common/Makefile (link-libm): Remove variable.
7940 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7941 * stdlib/Makefile (link-libm): Remove variable.
7942 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7943 ($(objpfx)tst-strtod-round): Likewise.
7944 ($(objpfx)tst-tininess): Likewise.
7945 ($(objpfx)tst-strtod-underflow): Likewise.
7946 ($(objpfx)tst-strtod6): Likewise.
7947 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7948 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7949 $(common-objpfx)dlfcn/libdl.so.
7950
026b0fe4
AZ
79512014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7952
7953 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7954 BSD terminal modes definitions.
7955
def4bcb2
RM
79562014-05-16 Roland McGrath <roland@hack.frob.com>
7957
fe39b021
RM
7958 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7959 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7960
1d1fc46e 7961 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
7962 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7963 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7964 Don't do #include_next.
7965 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7966 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7967 Don't do #include_next.
7968 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7969 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7970 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7971 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7972
c72399fb
AM
79732014-05-16 Allan McRae <allan@archlinux.org>
7974
d51d659d
AM
7975 * po/sv.po: Update Swedish translation from translation project.
7976
c72399fb
AM
7977 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7978 in sed expression.
7979
d0583c40
AJ
79802014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7981
7982 [BZ #16917]
7983 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7984 errno if the TIOCGPTN ioctl fails with an error different than
7985 EINVAL.
7986 * login/tst-ptsname.c: New file.
7987 * login/Makefile (tests): Add tst-ptsname.
7988
d16e6ec7
AJ
7989 [BZ #16943]
7990 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7991 and prlimit64.
7992
cf26a0cb
SP
79932014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7994
7995 [BZ #16849]
7996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7997 herrno to return EAI_AGAIN.
7998
5675da1e
RM
79992014-05-14 Roland McGrath <roland@hack.frob.com>
8000
a5d87b3d
RM
8001 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8002 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8003 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8004 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8005 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8006 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8007 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8008 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8009 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8010 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8011 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8012 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8013 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8014 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8015 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8016 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8017 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8018 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8019 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8020 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8021 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8022 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8023 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8024 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8025 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8026 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8027 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8028 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8029 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8030 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8032 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8034 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8036 Moved ...
8037 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8039 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8041 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8043 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8045 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8047 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8049 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8051 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8053 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8055 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8057 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8059 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8061 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8063 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8065 Moved ...
8066 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8068 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8070 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8072 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8074 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8076 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8078 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8080 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8082 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8084 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8086 Moved ...
8087 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8089 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8090
039890a6
RM
8091 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8092 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8093 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8094 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8095 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8096 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8097 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8098 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8099 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8100 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8101 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8102 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8103 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8104 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8105 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8106 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8107 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8108 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8109 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8110 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8111 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8112 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8113 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8114 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8115 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8116 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8117 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8118 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8119 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8120 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8121 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8122
65c89320
RM
8123 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8124 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8125
348f8e8c
RM
8126 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8127 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8128 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8129 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8130 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8131 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8132 Moved ...
8133 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8134 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8135 Moved ...
8136 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8137 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8138 Moved ...
8139 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8140 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8141 Moved ...
8142 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8143 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8144 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8145 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8146 Moved ...
8147 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8148 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8149 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8150 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8151 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8152 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8153 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8154 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8155 Moved ...
8156 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8157 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8158 Moved ...
8159 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8160 ... here.
8161 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8162 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8163 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8164 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8165 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8166 Moved ...
8167 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8168 ... here.
8169 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8170 Moved ...
8171 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8172 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8173 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8174 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8175 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8176 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8177 Moved ...
8178 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8179 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8180 Moved ...
8181 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8182 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8183 Moved ...
8184 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8185 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8186 Moved ...
8187 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8188 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8189 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8190 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8191 Moved ...
8192 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8193 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8194 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8195 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8196 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8197 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8198 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8199 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8200 Moved ...
8201 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8202 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8203 Moved ...
8204 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8205 ... here.
8206 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8207 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8208 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8209 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8210 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8211 Moved ...
8212 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8213 ... here.
8214 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8215 Moved ...
8216 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8217 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8218 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8219 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8220 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8221 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8222 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8223 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8224 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8225 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8226 Moved ...
8227 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8228 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8229 Moved ...
8230 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8231 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8232 Moved ...
8233 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8234 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8235 Moved ...
8236 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8237 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8238 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8239 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8240 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8241 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8242 Moved ...
8243 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8244 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8245 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8246 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8247 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8248 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8249 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8250 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8251 Moved ...
8252 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8253 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8254 Moved ...
8255 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8256 ... here.
8257 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8258 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8259 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8260 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8261 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8262 Moved ...
8263 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8264 ... here.
8265 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8266 Moved ...
8267 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8268 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8269 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8270 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8271 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8272 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8273 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8274 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8275 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8276 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8277 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8278
5085af05
RM
8279 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8280 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8281
708f0813
RM
8282 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8283 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8284
c96067bc
RM
8285 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8286 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8287 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8288 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8289 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8290 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8291 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8292 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8293 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8294 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8295 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8296 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8297 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8298 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8299 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8300 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8301 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8302 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8303 Moved ...
8304 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8305 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8306 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8307 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8308 Moved ...
8309 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8310 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8311 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8312 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8313 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8314 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8315 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8316 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8317 Moved ...
8318 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8319 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8320 Moved ...
8321 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8322 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8323 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8324 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8325 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8326 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8327 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8328 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8329 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8330 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8331 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8332 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8333 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8334 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8335 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8336 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8337 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8338
ec136444
RM
8339 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8340 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8341 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8342 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8343 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8344
2fbdf533
RM
8345 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8346 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8347 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8348 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8349 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8350 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8351 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8352 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8353 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8354 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8355
4c68138b
RM
8356 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8357 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8358
4eaae765
RM
8359 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8360 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
8361 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8362 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8363 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8364 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8365 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8366 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8367 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8368 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8369 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8370 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8371 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8372 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8373 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8374 Update #include.
8375 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8376 Likewise.
8377 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8378 Likewise.
8379 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8380 Likewise.
8381 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8382 Likewise.
8383 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8384 Likewise.
8385 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8386 Likewise.
8387 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8388 Likewise.
8389 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8390 Likewise.
8391 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8392 Likewise.
4ef6befa
RM
8393 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8394 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8395 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8396 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8397 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
8398 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8399 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8400 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8401 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8402 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8403 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8404 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8405 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8406 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8407 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 8408
941d7dfd
RM
8409 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8410 that was previously under [RESET_PID].
8411 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8412 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8413 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8414
1b731c35
RM
8415 * sysdeps/i386/nptl/Implies: New file.
8416 * sysdeps/x86_64/nptl/Implies: New file.
8417 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8418 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8419 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8420 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8421
e2787137
RM
8422 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8423 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8424 (__libc_vfork): New strong alias.
8425 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8426 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8427
8428 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8429 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8430 (__libc_vfork): New strong alias.
8431 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8432 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8433
5675da1e
RM
8434 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8435 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8436 (__libc_vfork): New strong alias.
8437 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8438 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8439 * nptl/pt-vfork.c: New file.
8440 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8441 (libpthread: GLIBC_2.20): New version set (empty).
8442
4f02e2b8
WN
84432014-05-14 Will Newton <will.newton@linaro.org>
8444
8445 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8446 rather than #if.
8447
0bf061d3
JM
84482014-05-14 Joseph Myers <joseph@codesourcery.com>
8449
1a84c3d6
JM
8450 [BZ #16564]
8451 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8452 arguments with exponent 65 or above.
8453 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8454 arguments 0x1p113L or above.
8455 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8456 to arguments 0x1p107L or above.
8457 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8458 positive arguments with exponent 65 or above.
8459 * math/auto-libm-test-in: Add more tests of log1p.
8460 * math/auto-libm-test-out: Regenerated.
8461
01dbacd2
JM
8462 [BZ #16928]
8463 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8464 non-finite arguments is +0.
8465 * math/s_cacosf.c (__cacosf): Likewise.
8466 * math/s_cacosl.c (__cacosl): Likewise.
8467 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8468 * sysdeps/i386/fpu/libm-test-ulps: Update.
8469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8470
913d03c8
JM
8471 [BZ #16927]
8472 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8473 value.
8474 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8475 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8476 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8477 for explicit high bit of mantissa when testing for argument equal
8478 to 1.
8479 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8480 * sysdeps/i386/fpu/libm-test-ulps: Update.
8481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8482
0bf061d3
JM
8483 [BZ #16516]
8484 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8485 (__erf): Scale by 16 instead of 8 in potentially underflowing
8486 case. Ensure exception if result actually underflows.
8487 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8488 (__erff): Scale by 16 instead of 8 in potentially underflowing
8489 case. Ensure exception if result actually underflows.
8490 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8491 (efx8): Remove variable.
8492 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8493 case. Ensure exception if result actually underflows.
8494 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8495 (efx8): Remove variable.
8496 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8497 case. Ensure exception if result actually underflows.
8498 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8499 (efx8): Remove variable.
8500 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8501 case. Ensure exception if result actually underflows.
8502 * math/auto-libm-test-in: Add more tests of erf.
8503 * math/auto-libm-test-out: Regenerated.
8504
73ba67cb
AS
85052014-05-14 Andreas Schwab <schwab@suse.de>
8506
3d8c8bff
AS
8507 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8508 Remove code conditionalized on USE___THREAD.
8509
73ba67cb
AS
8510 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8511 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8512 not definedness.
8513
5c521ecd
JM
85142014-05-14 Joseph Myers <joseph@codesourcery.com>
8515
5e7698c6
JM
8516 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8517 Define unconditionally.
8518 (__ASSUME_O_CLOEXEC): Likewise.
8519 (__ASSUME_SOCK_CLOEXEC): Likewise.
8520 (__ASSUME_IN_NONBLOCK): Likewise.
8521 (__ASSUME_PIPE2): Likewise.
8522 (__ASSUME_EVENTFD2): Likewise.
8523 (__ASSUME_SIGNALFD4): Likewise.
8524 (__ASSUME_DUP3): Likewise.
8525 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8526 (__ASSUME_DUP3): Do not define.
8527 (__ASSUME_EVENTFD2): Likewise.
8528 (__ASSUME_IN_NONBLOCK): Likewise.
8529 (__ASSUME_O_CLOEXEC): Likewise.
8530 (__ASSUME_PIPE2): Likewise.
8531 (__ASSUME_SIGNALFD4): Likewise.
8532 (__ASSUME_SOCK_CLOEXEC): Likewise.
8533 (__ASSUME_UTIMES): Undefine.
8534 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8535 (__ASSUME_UTIMES): Do not define.
8536 (__ASSUME_O_CLOEXEC): Likewise.
8537 (__ASSUME_SOCK_CLOEXEC): Likewise.
8538 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8539 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8540 0x020621].
8541 (__ASSUME_PIPE2): Likewise.
8542 (__ASSUME_EVENTFD2): Likewise.
8543 (__ASSUME_SIGNALFD4): Likewise.
8544 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8545 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8546 Do not define.
8547 (__ASSUME_EVENTFD2): Likewise.
8548 (__ASSUME_SIGNALFD4): Likewise.
8549 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8550 (__ASSUME_32BITUIDS): Likewise.
8551 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8552 (__ASSUME_IPC64): Likewise.
8553 (__ASSUME_ST_INO_64_BIT): Likewise.
8554 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8555 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8556 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8557 (__ASSUME_UTIMES): Do not define.
8558 (__ASSUME_PSELECT): Likewise.
8559 (__ASSUME_PPOLL): Likewise.
8560 (__ASSUME_O_CLOEXEC): Likewise.
8561 (__ASSUME_SOCK_CLOEXEC): Likewise.
8562 (__ASSUME_IN_NONBLOCK): Likewise.
8563 (__ASSUME_PIPE2): Likewise.
8564 (__ASSUME_EVENTFD2): Likewise.
8565 (__ASSUME_SIGNALFD4): Likewise.
8566 (__ASSUME_DUP3): Likewise.
8567 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8568 (__ASSUME_UTIMES): Likewise.
8569 (__ASSUME_O_CLOEXEC): Likewise.
8570 (__ASSUME_SOCK_CLOEXEC): Likewise.
8571 (__ASSUME_IN_NONBLOCK): Likewise.
8572 (__ASSUME_PIPE2): Likewise.
8573 (__ASSUME_EVENTFD2): Likewise.
8574 (__ASSUME_SIGNALFD4): Likewise.
8575 (__ASSUME_DUP3): Likewise.
8576 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8577 (__ASSUME_UTIMES): Likewise.
8578 (__ASSUME_O_CLOEXEC): Likewise.
8579 (__ASSUME_SOCK_CLOEXEC): Likewise.
8580 (__ASSUME_IN_NONBLOCK): Likewise.
8581 (__ASSUME_PIPE2): Likewise.
8582 (__ASSUME_EVENTFD2): Likewise.
8583 (__ASSUME_SIGNALFD4): Likewise.
8584 (__ASSUME_DUP3): Likewise.
8585 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8586 Likewise.
8587 (__ASSUME_UTIMES): Likewise.
8588 (__ASSUME_EVENTFD2): Likewise.
8589 (__ASSUME_SIGNALFD4): Likewise.
8590 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8591 (__ASSUME_O_CLOEXEC): Likewise.
8592 (__ASSUME_SOCK_CLOEXEC): Likewise.
8593 (__ASSUME_IN_NONBLOCK): Likewise.
8594 (__ASSUME_PIPE2): Likewise.
8595 (__ASSUME_EVENTFD2): Likewise.
8596 (__ASSUME_SIGNALFD4): Likewise.
8597 (__ASSUME_DUP3): Likewise.
8598 (__ASSUME_UTIMES): Undefine.
8599
5c521ecd
JM
8600 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8601 feclearexcept. Remove symbol versioning code.
8602 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8603 symbol versioning code.
8604 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8605 symbol versioning code.
8606 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8607 feupdateenv. Remove symbol versioning code.
8608 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8609 fegetexceptflag. Remove symbol versioning code.
8610 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8611 fesetexceptflag. Remove symbol versioning code.
8612 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8613 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8614 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8615 (__posix_fadvise64_l32): Remove prototype.
8616 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8617 code.
8618
5da9dfad
RM
86192014-05-13 Roland McGrath <roland@hack.frob.com>
8620
8621 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8622 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8623 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8624 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8625
893b4f37
SK
86262014-05-13 Sami Kerola <kerolasa@iki.fi>
8627
8628 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8629 current working directory
8630
e0db6517
RM
86312014-05-13 Roland McGrath <roland@hack.frob.com>
8632
58aa195d
RM
8633 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8634 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8635 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8636 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8637 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8638 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8639 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8640 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8641 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8642 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8643 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8644 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8645 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8646 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8647 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8648 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8649 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8650 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8651 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8652 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8653 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8654 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8655 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8656 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8657 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8658 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8659 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8660 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8661 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8662 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8663 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8664 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8665 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8666 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8667 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8668 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8669 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8670 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8671 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8672 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8673 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8674 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8675
8c6d01f0
RM
8676 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8677 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8678
8679 * sysdeps/unix/sysv/linux/arm/Makefile
8680 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8681 Add rt-aeabi_unwind_cpp_pr1.
8682 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8683 Add nptl-aeabi_unwind_cpp_pr1.
8684 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8685 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8686 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8687 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8688 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8689 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8690
8691 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8692 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8693 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8694 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8695
bba6da4e
RM
8696 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8697 Deconditionalize the code that was previously under [RESET_PID].
8698 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8699
e0db6517
RM
8700 * sysdeps/generic/exit-thread.h: New file.
8701 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8702 * include/unistd.h (__exit_thread): Remove declaration.
8703 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8704 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8705 * csu/libc-start.c: Include <exit-thread.h>.
8706 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8707 * nptl/pthread_create.c: Include <exit-thread.h>.
8708 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8709 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8710 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8711 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8712 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8713 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8714 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8715 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8716 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8717 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8718 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8719 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8720 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8721 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8722 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8723 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8724 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8725
01eb16fd
AS
87262014-05-13 Andreas Schwab <schwab@suse.de>
8727
8728 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8729
637461d9
JM
87302014-05-12 Joseph Myers <joseph@codesourcery.com>
8731
8732 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8733 (__ASSUME_UTIMES): Do not condition on kernel version.
8734 (__ASSUME_PSELECT): Define unconditionally.
8735 (__ASSUME_PPOLL): Likewise.
8736 (__ASSUME_ATFCTS): Likewise.
8737 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8738 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8739 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8740 (__ASSUME_UTIMENSAT): Define unconditionally.
8741 (__ASSUME_PRIVATE_FUTEX): Likewise.
8742 (__ASSUME_FALLOCATE): Likewise.
8743 (__ASSUME_O_CLOEXEC): Likewise.
8744 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8745 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8746 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8747 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8748 (__ASSUME_IN_NONBLOCK): Likewise.
8749 (__ASSUME_PIPE2): Likewise.
8750 (__ASSUME_EVENTFD2): Likewise.
8751 (__ASSUME_SIGNALFD4): Likewise.
8752 (__ASSUME_DUP3): Likewise.
8753 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8754 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8755 (__ASSUME_AT_RANDOM): Likewise.
8756 (__ASSUME_PREADV): Likewise.
8757 (__ASSUME_PWRITEV): Likewise.
8758 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8759 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8760 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8761 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8762 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8763 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8764 (__ASSUME_O_CLOEXEC): Define unconditionally.
8765 (__ASSUME_PSELECT): Do not undefine conditionally.
8766 (__ASSUME_PPOLL): Likewise.
8767 (__ASSUME_ATFCTS): Likewise.
8768 (__ASSUME_SET_ROBUST_LIST): Likewise.
8769 (__ASSUME_UTIMENSAT): Likewise.
8770 (__ASSUME_FDATASYNC): Define unconditionally.
8771 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8772 (__ASSUME_SIGFRAME_V2): Likewise.
8773 )__ASSUME_EVENTFD2): Likewise.
8774 (__ASSUME_SIGNALFD4): Likewise.
8775 (__ASSUME_PSELECT): Do not undefine conditionally.
8776 (__ASSUME_PPOLL): Likewise.
8777 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8778 (__ASSUME_PSELECT): Define unconditionally.
8779 (__ASSUME_PPOLL): Likewise.
8780 (__ASSUME_O_CLOEXEC): Likewise.
8781 (__ASSUME_SOCK_CLOEXEC): Likewise.
8782 (__ASSUME_IN_NONBLOCK): Likewise.
8783 (__ASSUME_PIPE2): Likewise.
8784 (__ASSUME_EVENTFD2): Likewise.
8785 (__ASSUME_SIGNALFD4): Likewise.
8786 (__ASSUME_DUP3): Likewise.
8787 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8788 (__ASSUME_O_CLOEXEC): Likewise.
8789 (__ASSUME_SOCK_CLOEXEC): Likewise.
8790 (__ASSUME_IN_NONBLOCK): Likewise.
8791 (__ASSUME_PIPE2): Likewise.
8792 (__ASSUME_EVENTFD2): Likewise.
8793 (__ASSUME_SIGNALFD4): Likewise.
8794 (__ASSUME_DUP3): Likewise.
8795 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8796 (__ASSUME_EVENTFD2): Likewise.
8797 (__ASSUME_SIGNALFD4): Likewise.
8798 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8799
315eb1d8
AS
88002014-05-12 Andreas Schwab <schwab@suse.de>
8801
8802 [BZ #16932]
8803 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8804 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8805 than maximum RPC packet size.
8806 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8807 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8808 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8809 (_nss_nis_getservbyport_r): Likewise.
8810
91df99f7
WN
88112014-05-12 Will Newton <will.newton@linaro.org>
8812
8813 * malloc/Makefile (tests): Add tst-mallopt.
8814 * malloc/tst-mallopt.c: New file.
8815
0a982a29
RM
88162014-05-09 Roland McGrath <roland@hack.frob.com>
8817
8818 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8819 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8820
0ded08a5
AZ
88212014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8822
8823 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8824 (tst-tlsmod6.so): Likewise.
8825
55d4d550
RM
88262014-05-09 Roland McGrath <roland@hack.frob.com>
8827
8828 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8829
77d08aca
JM
88302014-05-09 Joseph Myers <joseph@codesourcery.com>
8831
8832 [BZ #16064]
8833 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8834 and <dl-procinfo.h>.
8835 (__fegetenv): Save SSE state in envp->__eip if supported.
8836 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8837 envp->__eip if supported.
8838 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8839 and <dl-procinfo.h>.
8840 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8841 __data_offset and __data_selector in environment to 0. Set SSE
8842 state if supported.
8843 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8844 test-fenv-sse.
8845 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8846 -mfpmath=sse.
8847 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8848
28162f4d
WN
88492014-05-09 Will Newton <will.newton@linaro.org>
8850
8851 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8852 and libc_relro_required for ARM.
8853 * sysdeps/arm/preconfigure: Regenerate.
8854
5a414ff7
DV
88552014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8856 Stefan Liebler <stli@linux.vnet.ibm.com>
8857
8858 * config.make.in (enable-lock-elision): New Makefile variable.
8859 * configure.ac: Likewise.
8860 * configure: Regenerate.
8861 * sysdeps/s390/configure.ac:
8862 Add check for gcc transactions support.
8863 * sysdeps/s390/configure: Regenerate.
8864 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8865 Build elision files if enabled.
8866 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8867 Add lock elision support for s390.
8868 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8869 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8870 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8871 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8872 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8873 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8874 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8875 Likewise.
8876 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8877 Likewise.
8878 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8879 Likewise.
8880 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8881 Likewise.
8882 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8883 (__lll_timedlock_elision, __lll_lock_elision)
8884 (__lll_unlock_elision, __lll_trylock_elision)
8885 (lll_timedlock_elision, lll_lock_elision)
8886 (lll_unlock_elision, lll_trylock_elision): Add.
8887 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8888 (pthread_mutex_t): Add lock elision support for s390.
8889
1a2f40e5
W
88902014-05-14 Wilco <wdijkstr@arm.com>
8891
8892 * sysdeps/arm/fclrexcpt.c: Cleanup.
8893 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8894 * sysdeps/arm/feenablxcpt.c: Cleanup.
8895 * sysdeps/arm/fegetenv.c: Cleanup.
8896 * sysdeps/arm/fegetexcept.c: Cleanup.
8897 * sysdeps/arm/fegetround.c: Cleanup.
8898 * sysdeps/arm/feholdexcpt.c: Cleanup.
8899 * sysdeps/arm/fesetenv.c: Cleanup.
8900 * sysdeps/arm/fesetround.c: Cleanup.
8901 * sysdeps/arm/feupdateenv.c: Cleanup.
8902 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8903 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8904 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8905 * sysdeps/arm/ftestexcept.c: Cleanup.
8906 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8907 * sysdeps/arm/setfpucw.c: Cleanup.
8908
f63c86fe
WN
89092014-05-09 Will Newton <will.newton@linaro.org>
8910
8911 * sysdeps/arm/armv7/strcmp.S: New file.
8912 * NEWS: Mention addition of ARMv7 optimized strcmp.
8913
7a1a51b5
RM
89142014-05-08 Roland McGrath <roland@hack.frob.com>
8915
95afbbe5
RM
8916 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8917 look for %.ac rather than %.in.
8918
8919 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8920 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8921 * sysdeps/mach/hurd/configure: Regenerated.
8922 * sysdeps/unix/sysv/linux/configure: Regenerated.
8923
7a1a51b5
RM
8924 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8925
5057ad3b
SE
89262014-05-07 Steve Ellcey <sellcey@mips.com>
8927
8928 [BZ# 16922]
8929 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8930 (LONG_SUB): Ditto.
8931 (PTR_SUB): Ditto.
8932
8dc97517
AS
89332014-05-07 Andreas Schwab <schwab@suse.de>
8934
8935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8936 when skipping over non-matching result from nscd.
8937
ce0c5b8f
OB
89382014-05-07 Ondřej Bílka <neleai@seznam.cz>
8939
8940 [BZ #16876]
8941 * nptl/sockperf.c (client): Check socket return value.
8dc97517 8942
a1189263
OB
8943 [BZ #16877]
8944 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8945 nscd security class.
ce0c5b8f 8946
0f58d252
RM
89472014-05-06 Roland McGrath <roland@hack.frob.com>
8948
8949 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8950 * sysdeps/arm/unwind.h: ... here.
8951
83df9ad0
AJ
89522014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8953
ce0c5b8f
OB
8954 [BZ# 16916]
8955 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8956 Define.
83df9ad0 8957
f360f94a
VR
89582014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8959
8960 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8961 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8962 multiarch strncpy for PPC64.
8963 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8964 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8965 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8966 multiarch optimizations.
8967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8968 (__libc_ifunc_impl_list): Likewise.
8969 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8970 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8971 multiarch stpncpy for PPC64.
8972 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8973 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8974
978a41c3
AS
89752014-05-06 Andreas Schwab <schwab@suse.de>
8976
8977 [BZ #16912]
8978 * gmon/mcount.c (_MCOUNT_DECL): Use
8979 atomic_compare_and_exchange_bool_acq instead of
8980 catomic_compare_and_exchange_bool_acq.
8981
eb1ed03d
RM
89822014-05-05 Roland McGrath <roland@hack.frob.com>
8983
fe658845
RM
8984 * elf/Makefile (others, install-bin): Remove pldd.
8985 (pldd-modules): Variable removed.
8986 ($(objpfx)pldd): Target removed.
8987 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8988 (others, install-bin): Append pldd here.
8989 ($(objpfx)pldd): New target.
8990
eb1ed03d
RM
8991 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8992 to 0, so the first #if test emitted later doesn't see it undefined.
8993 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8994 * sysdeps/gnu/errlist.c: Regenerated.
8995
19c4bec0
AZ
89962014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8997
8998 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8999 [libc_hidden_builtin_def]: Define to empty value.
9000 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9001 [libc_hidden_builtin_def]: Likewise.
9002 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9003 [libc_hidden_builtin_def]: Likewise.
9004 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9005 [libc_hidden_builtin_def]: Likewise.
9006 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9007 __redirect_memcpy and define ifunc as default hidden symbol.
9008 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9009 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9010
7776e669
AC
90112014-05-04 Adam Conrad <adconrad@0c3.net>
9012
9013 * locale/iso-4217.def: Reintroduce XDR currency.
9014
d69aeb12
AM
90152014-05-04 Allan McRae <allan@archlinux.org>
9016
9017 * po/eo.po: Update Esperanto translation from translation project.
9018
8f1df5cf
CD
90192014-05-02 Carlos O'Donell <carlos@redhat.com>
9020
9021 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9022 and FEATURE_INDEX_MAX to 1.
9023 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9024
13e402e7
SE
90252014-05-01 Steve Ellcey <sellcey@mips.com>
9026
9027 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9028 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9029 * iconvdata/big5.c (ONE_DIRECTION): Define.
9030 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9031 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9032 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9033 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9034 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9035 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9036 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9037 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9038 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9039 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9040 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9041 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9042 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9043 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9044 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9045 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9046 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9047 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9048 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9049 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9050 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9051 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9052 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9053 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9054 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9055 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9056 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9057 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9058 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9059 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9060 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9061 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9062 * iconvdata/johab.c (ONE_DIRECTION): Define.
9063 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9064 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9065 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9066 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9067 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9068 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9069 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9070 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9071 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9072 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9073
c727f032
RM
90742014-05-01 Roland McGrath <roland@hack.frob.com>
9075
8f2f08d0
RM
9076 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9077 (_IO_JUMPS_OFFSET): Define to 0.
9078
c727f032
RM
9079 * nptl/sysdeps/pthread/bits/libc-lock.h
9080 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9081 (__libc_lock_define_initialized_recursive): Always define using
9082 initializer. Modern compilers treat uninitialized (implicit zero) and
9083 explicit zero initializers the same (i.e. put the datum in bss).
9084
a849e800
AS
90852014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9086
9087 * nscd/nscd-client.h: Include <string.h>.
9088
5331255b
DM
90892014-05-01 David S. Miller <davem@davemloft.net>
9090
9091 [BZ #16885]
9092 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9093 multiple zero bytes exist at the end of a string.
9094 Reported by Aurelien Jarno <aurelien@aurel32.net>
9095
9096 * string/test-strcmp.c (check): Add explicit test for situations where
9097 there are multiple zero bytes after the first.
9098
4fdfe821
AS
90992014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9100
9101 [BZ #16890]
9102 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9103 when compiling wprintf.
9104 * stdio-common/tstdiomisc.c (t3): New function.
9105 (main): Call it.
9106
0cdddc25
SE
91072014-05-01 Steve Ellcey <sellcey@mips.com>
9108
9109 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9110 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9111 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9112 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9113
6426d77e
SE
91142014-05-01 Steve Ellcey <sellcey@mips.com>
9115
9116 * stdlib/longlong.h: Updated from GCC.
9117
6d96f5e4
WN
91182014-05-01 Will Newton <will.newton@linaro.org>
9119 Bernard Ogden <bernie.ogden@linaro.org>
9120
7470db0c
WN
9121 * NEWS: Update fixed bug list.
9122
6d96f5e4
WN
9123 [BZ #15119]
9124 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9125
211d653c
DM
91262014-04-30 David S. Miller <davem@davemloft.net>
9127
4fa262fa
DM
9128 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9129 (libc_feholdexcept_setround_sparc_ctx): New function.
9130 (libc_fesetenv_sparc_ctx): Likewise.
9131 (libc_feupdateenv_sparc_ctx): Likewise.
9132 (libc_feholdsetround_sparc_ctx): Likewise.
9133 (libc_feholdexcept_setround_ctx): Define.
9134 (libc_feholdexcept_setroundf_ctx): Likewise.
9135 (libc_feholdexcept_setroundl_ctx): Likewise.
9136 (libc_fesetenv_ctx): Likewise.
9137 (libc_fesetenvf_ctx): Likewise.
9138 (libc_fesetenvl_ctx): Likewise.
9139 (libc_feupdateenv_ctx): Likewise.
9140 (libc_feupdateenvf_ctx): Likewise.
9141 (libc_feupdateenvl_ctx): Likewise.
9142 (libc_feresetround_ctx): Likewise.
9143 (libc_feresetroundf_ctx): Likewise.
9144 (libc_feresetroundl_ctx): Likewise.
9145 (libc_feholdsetround_ctx): Likewise.
9146 (libc_feholdsetroundf_ctx): Likewise.
9147 (libc_feholdsetroundl_ctx): Likewise.
9148
1d3d93ef
DM
9149 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9150 with __USE_GNU instead of XOPEN cpp guards.
9151
8aa583c3
DM
9152 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9153 0.
9154
211d653c
DM
9155 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9156 with XOPEN cpp guards.
9157
60c8f1f6
JB
91582014-04-30 Julian Brown <julian@codesourcery.com>
9159
9160 [BZ #16888]
9161 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9162 handling.
9163
9a461d46
JM
91642014-04-30 Joseph Myers <joseph@codesourcery.com>
9165
d0f5b3f8
JM
9166 [BZ #9894]
9167 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9168 Change to 2.6.32.
9169 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9170 * sysdeps/unix/sysv/linux/configure: Regenerated.
9171 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9172 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9173 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9174 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9175 * README: Update reference to required Linux kernel version.
9176 * manual/install.texi (Linux): Update reference to required Linux
9177 kernel headers version.
9178 * INSTALL: Regenerated.
9179
9a461d46
JM
9180 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9181 header inclusion.
9182 [POSIX] (limits.h): Likewise.
9183 [POSIX] (math.h): Likewise.
9184 [POSIX] (sys/wait.h): Likewise.
9185 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9186 function.
9187 [POSIX] (stddef.h): Do not allow header inclusion.
9188
1775babf
AZ
91892014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9190
57f41c40 9191 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 9192
8f630cca
YY
91932014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9194
9195 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9196 Return immediately after lll_futex_wake.
9197
1cdeb237
SP
91982014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9199
bc8f194c
SP
9200 [BZ #16791]
9201 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9202 structure.
9203 (datahead_init_pos): Call datahead_init_common early.
9204 (datahead_init_neg): Likewise.
9205
1cdeb237
SP
9206 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9207 datahead_init_neg): New functions.
9208 * nscd/aicache.c (addhstaiX): Use them.
9209 * nscd/grpcache.c (cache_addgr): Likewise.
9210 * nscd/hstcache.c (cache_addhst): Likewise.
9211 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9212 * nscd/netgroupcache.c (do_notfound): Likewise.
9213 (addgetnetgrentX): Likewise.
9214 (addinnetgrX): Likewise.
9215 * nscd/pwdcache.c (cache_addpw): Likewise.
9216 * nscd/servicescache.c (cache_addserv): Likewise.
9217
16b293a7
SP
92182014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9219 Atsushi Onoe <atsushi@onoe.org>
9220
9221 [BZ #14308]
9222 [BZ #12994]
9223 [BZ #13651]
9224 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9225 one response is valid.
9226 * resolv/res_send.c (send_dg): Check for validity of other
9227 response if the current response is a referral.
9228
a28a9b94
SE
92292014-04-29 Steve Ellcey <sellcey@mips.com>
9230
9231 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9232
2ca180e9
SL
92332014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9234
9235 [BZ #16823]
9236 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9237 Always divide by positive zero when computing -Inf result.
9238 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9239 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9240
18f2945a
AZ
92412014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9242
9243 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9244 FPSCR if value do not change.
9245 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9246 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9247 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9248 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9249 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9250 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9251 function.
9252
5abebba4
CD
92532014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9254
9255 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9256 * sysdeps/unix/sysv/linux/hppa: Move directory from
9257 ports/systeps/unix/sysv/linux/hppa.
9258 * README: Update listing for hppa-*-linux-gnu.
9259
f7ed60c2
OB
92602014-04-28 Ondřej Bílka <neleai@seznam.cz>
9261
fff763a5
OB
9262 [BZ #16754]
9263 * manual/stdio.texi (Hook functions): Fix types of stream hook
9264 functions.
f7ed60c2
OB
9265 [BZ #16854]
9266 * socket/sys/socket.h: Fix typo in comment.
9267
df639d73
WD
92682014-04-28 Wilco <wdijkstr@arm.com>
9269
f7ed60c2 9270 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
9271 * sysdeps/arm/math_private.h: New file.
9272 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9273
48332d82
L
92742014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9275
9276 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9277 with __int128_t.
9278 (La_x86_64_retval): Likewise.
9279
e5e0d9a4
IB
92802014-04-24 Ian Bolton <ian.bolton@arm.com>
9281
9282 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9283 fpsr if value didn't change.
9284 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9285 to fpcr if value didn't change.
9286 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9287 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9288 fpsr or fpcr if value didn't change.
9289 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9290 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9291 fpcr if value didn't change.
9292 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9293 to fpsr if value didn't change.
9294
bacc75f7
SP
92952014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9296
9297 * nptl/tst-sem3.c: Use test-skeleton.c
9298 (main): Rename to do_test. Use return instead of
9299 exit.
9300 * nptl/tst-sem4.c: Use test-skeleton.c
9301 (main): Rename to do_test.
9302
a059d359
DM
93032014-04-22 David S. Miller <davem@davemloft.net>
9304
9305 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9306 (struct sigaction): New struct member __glibc_reserved0, change
9307 type of sa_flags to int.
9308
ea6c92f3
YZ
93092014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9310
9311 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9312 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9313
766c4a36
SP
93142014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9315
9316 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9317 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9318
140cc7ab
VK
93192014-04-22 Will Newton <will.newton@linaro.org>
9320 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9321
9322 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9323 (__longjmp): Add longjmp and longjmp_target SystemTap
9324 probes.
9325 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9326 (__sigsetjmp): Add setjmp SystemTap probe.
9327
c54e5cf7
CD
93282014-04-17 Carlos O'Donell <carlos@redhat.com>
9329
9330 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9331 match manual order.
9332
75ffb047
AZ
93332014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9334
9335 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9336
2cd925f7
AZ
9337 * sysdeps/powerpc/fpu/fenv_private.h
9338 (libc_feholdexcept_setroundl_ctx): Define to
9339 libc_feholdexcept_setround_ppc_ctx.
9340 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9341 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9342 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9343 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9344
39e6cd8d
IB
93452014-04-17 Ian Bolton <ian.bolton@arm.com>
9346
9347 * sysdeps/aarch64/math-tests.h: New file.
9348
f9281df9
SY
93492014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9350
9351 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9352 New.
9353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9354 Check and set bit_AVX2_Usable.
9355 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9356 macro.
9357 (bit_AVX2): Likewise.
9358 (index_AVX2_Usable): Likewise.
9359 (CPUID_AVX2): Likewise.
9360 (HAS_AVX2): Likewise.
9361
37d35007
WN
93622014-04-17 Will Newton <will.newton@linaro.org>
9363
7c677662
WN
9364 * manual/setjmp.texi (System V contexts): Add note that
9365 calling setcontext on a context created by a call to a
9366 signal handler is undefined. Update text to note that
9367 setcontext from a signal handler is possible but not
9368 recommended.
9369
37d35007 9370 [BZ #16629]
e04a4e9d
WN
9371 * stdlib/tst-setcontext.c: Include signal.h.
9372 (main): Check that the signal stack before and
9373 after swapcontext is the same.
9374
37d35007
WN
9375 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9376 Re-implement to restore registers in user code and avoid
9377 rt_sigreturn system call.
9378
423a7160
W
93792014-04-17 Wilco <wdijkstr@arm.com>
9380
9381 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9382 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9383 * math/test-fenv.c: Skip exception trap tests on targets which only
9384 support non-stop mode.
9385
bc93ab29
IB
93862014-04-17 Ian Bolton <ian.bolton@arm.com>
9387 Wilco Dijkstra <wilco.dijkstra@arm.com>
9388
9389 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9390 (libc_feholdsetround_aarch64_ctx)
9391 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9392 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9393 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9394 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9395 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9396 (libc_feresetround_noexl_ctx): Define.
9397
95fc5fa3
RH
93982014-04-16 Richard Henderson <rth@redhat.com>
9399
ddb04724
RH
9400 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9401
d77c0899
RH
9402 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9403 unwind tables.
9404
a3df56fc
RH
9405 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9406 const from the non-libc, non-ldso copy.
9407
95fc5fa3
RH
9408 * sysdeps/alpha/libm-test-ulps: Regenerate.
9409
7e0b6763
IB
94102014-04-16 Ian Bolton <ian.bolton@arm.com>
9411 Wilco Dijkstra <wilco.dijkstra@arm.com>
9412
9413 * sysdeps/aarch64/fpu/math_private.h: New file.
9414
a9ea2e0c
MS
94152014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9416
9417 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9418
ea8ba7cd
IZ
94192014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9420
7e54fd04 9421 [BZ #16275]
ea8ba7cd
IZ
9422 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9423 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9424 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9425 Intel MPX bound registers before _dl_profile_fixup.
9426 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9427 registers after _dl_profile_fixup. Save and restore bound
9428 registers bnd0/bnd1 when calling _dl_call_pltexit.
9429 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9430 (LR_BND_OFFSET): Likewise.
9431 (LRV_BND0_OFFSET): Likewise.
9432 (LRV_BND1_OFFSET): Likewise.
9433
9f2a4fbc
ST
94342014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9435
9436 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9437 to...
9438 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
9439 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9440 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9441 fields.
9f2a4fbc 9442
fd15a59b
ST
94432014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9444
9445 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9446
f19dfa0a
SL
94472014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9448
9449 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9450
4fa8bc3b
SL
94512014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9452
9453 [BZ #14770]
9454 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9455 * sysdeps/s390/configure: Regenerate.
9456
8ea587db
SL
9457 [BZ #16824]
9458 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9459 Set round-to-nearest internally to reduce error accumulation.
9460
aa5f0ff1
AM
94612014-04-16 Alan Modra <amodra@gmail.com>
9462
9463 [BZ #16740]
9464 [BZ #16619]
9465 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9466 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9467 * NEWS: Update fixed bug list.
aa5f0ff1 9468
bb9c256f
SP
94692014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9470
9471 * benchtests/Makefile: Depend on libraries in build directory.
9472 (bench-math): Separate out math tests.
9473 (bench-pthread): Separate out pthread tests.
9474 (bench): Include math and pthread tests.
9475
f737dfd0
CD
94762014-04-14 Carlos O'Donell <carlos@redhat.com>
9477
9478 [BZ #16831]
9479 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9480 _dl_debug_initialize.
9481
0699f766
CD
9482 * configure.ac: Remove SELinux header check.
9483 * configure: Regenerate.
9484 * nscd/selinux.c (perms): Array of const char* to permission names.
9485 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9486 default policy. Call string_to_security_class and string_to_av_perm to
9487 translate strings. Enforce default policy and call avs_has_perm with
9488 results of translated strings.
9489
809bd45f
DM
94902014-04-13 David S. Miller <davem@davemloft.net>
9491
9492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9493
89e691f2
AM
94942014-04-12 Allan McRae <allan@archlinux.org>
9495
9496 [BZ #16838]
9497 * manual/string.texi (Collation Functions): Fix qsort argument
9498 order in example.
9499 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9500
9c9daaeb
CM
95012014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9502
9503 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9504 Make the test a no-op if there are no exceptions defined.
9505
95561fb9
PP
95062014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9507
fe8d072c 9508 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9509 enable-hardcoded-path-in-tests
9510
970c602a
WN
95112014-04-11 Will Newton <will.newton@linaro.org>
9512
9513 * benchtests/Makefile (extra-objs): Add json-lib.o.
9514 (bench-func): Tidy up JSON output.
9515 * benchtests/bench-skeleton.c: Include json-lib.h.
9516 (main): Use JSON library functions to do output of
9517 benchmark results.
9518 * benchtests/bench-timing-type.c (main): Output the
9519 timing type simply, leaving formatting to the user.
9520 * benchtests/json-lib.c: New file.
9521 * benchtests/json-lib.h: Likewise.
9522
36875b06
TR
95232014-04-11 Torvald Riegel <triegel@redhat.com>
9524
9525 [BZ #15215]
9526 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9527 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9528 memory barriers. Add comments.
9529 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9530 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9531 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9532 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9533 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9534 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9535
579db35a
SL
95362014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9537
9538 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9539 * sysdeps/s390/s390-64/configure.ac: ... this ...
9540 * sysdeps/s390/configure.ac: ... to here.
9541 * sysdeps/s390/s390-32/configure: Delete file.
9542 * sysdeps/s390/s390-64/configure: Delete file.
9543 * sysdeps/s390/configure: Regenerate.
9544
c12e9f37
JAPH
95452014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9546
9547 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9548
439bda32
WN
95492014-04-11 Will Newton <will.newton@linaro.org>
9550
9551 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9552 to zero if it is not defined elsewhere. (mtrim): Test
9553 the value of MALLOC_DEBUG with #if rather than #ifdef.
9554
6a5d6ea1
TR
95552014-04-10 Torvald Riegel <triegel@redhat.com>
9556
9557 * benchtests/pthread_once-inputs: New file.
9558 * benchtests/pthread_once-source.c: New file.
9559 * benchtests/README: Update documentation.
9560
a4c75cfd
IZ
95612014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9562 H.J. Lu <hongjiu.lu@intel.com>
9563
7e54fd04 9564 [BZ #16275]
a4c75cfd
IZ
9565 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9566 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9567 * sysdeps/x86_64/configure: Regenerated.
9568 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9569 macro.
9570 (REGISTER_SAVE_RAX): Likewise.
9571 (REGISTER_SAVE_RCX): Likewise.
9572 (REGISTER_SAVE_RDX): Likewise.
9573 (REGISTER_SAVE_RSI): Likewise.
9574 (REGISTER_SAVE_RDI): Likewise.
9575 (REGISTER_SAVE_R8): Likewise.
9576 (REGISTER_SAVE_R9): Likewise.
9577 (REGISTER_SAVE_BND0): Likewise.
9578 (REGISTER_SAVE_BND1): Likewise.
9579 (REGISTER_SAVE_BND2): Likewise.
9580 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9581 bound registers when calling _dl_fixup.
9582
27822ce6
AZ
95832014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9584
9585 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9586 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9587 of its definition.
27822ce6
AZ
9588 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9589 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9590 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9591 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9592 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9593 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9594 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9595
a88ddc90
PTB
95962014-04-09 Peter Brett <peter@peter-b.co.uk>
9597
9598 [BZ #15514]
9599 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9600 pathconf(_PC_NAME_MAX).
9601
01f8eac2
AZ
96022014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9603
9604 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9605 Remove macro usage.
9606 (__PTHREAD_SPINS): Move definition to ...
9607 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9608 (__PTHREAD_SPINS): ... here.
9609 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9610 (__PTHREAD_SPIN): Likewise.
9611 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9612 (__PTHREAD_SPIN): Likewise.
9613 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9614 (__PTHREAD_SPIN): Likewise.
9615 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9616 (__PTHREAD_SPIN): Likewise.
9617 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9618 (__PTHREAD_SPIN): Likewise.
9619 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9620 (__PTHREAD_SPIN): Likewise.
9621 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9622 (__PTHREAD_SPIN): Likewise.
9623 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9624 (__PTHREAD_SPIN): Likewise.
9625 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9626 (__PTHREAD_SPIN): Likewise.
9627 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9628 (__PTHREAD_SPIN): Likewise.
9629 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9630 (__PTHREAD_SPIN): Likewise.
9631 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9632 (__PTHREAD_SPIN): Likewise.
9633
de21c33c
AZ
9634 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9635 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9636 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9637 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9638 imply folder.
9639 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9640 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9641 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9642 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9643 correct imply path.
9644 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9645 strlen symbol for non multi-arch builds.
9646 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9647 missing hidden_def and weak_alias.
9648
862c472e
CD
96492014-04-08 Carlos O'Donell <carlos@redhat.com>
9650
9651 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9652
8667f90e
WN
96532014-04-07 Will Newton <will.newton@linaro.org>
9654
9655 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9656 and contents. [!_LIBC] Remove #ifndef and contents.
9657 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9658 * string/memccpy.c (__memccpy): Use ANSI prototype.
9659 * string/memfrob.c (memfrob): Likewise.
9660 * string/strcoll.c (STRCOLL): Likewise.
9661 * string/strlen.c (strlen): Likewise.
9662 * string/strtok.c (STRTOK): Likewise.
9663 * string/strcat.c: Remove unused #include of memcopy.h.
9664 (strcat): Use ANSI prototype.
9665 * string/strchr.c: Remove unused #include of memcopy.h.
9666 (strchr): Use ANSI prototype.
9667 * string/strcmp.c: Remove unused #include of memcopy.h.
9668 (strcmp): Use ANSI prototype.
9669 * string/strcpy.c: Remove unused #include of memcopy.h.
9670 (strcpy): Use ANSI prototype.
9671
7ffa9423
AZ
96722014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9673
9674 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9675 * config.make.in (config-extra-cppflags): Set it from
9676 libc_extra_cppflags.
9677 * configure.ac (libc_extra_cflags): Make it accumulate over
9678 configure fragments.
9679 (libc_extra_cppflags): New flag.
9680 * configure. Regenerate.
9681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9682 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9683 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9685
8bd70862
AZ
9686 [BZ #16815]
9687 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9688 result for FE_DOWNWARD rounding mode.
9689 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9690 Likewise.
9691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9692
d42f3448
CM
96932014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9694
9695 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9696 in function argument name.
9697
1c21d115
DS
96982014-04-03 David Svoboda <svoboda@cert.org>
9699
9700 [BZ #5666]
9701 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9702 explicitly.
9703
fcccd512
RM
97042014-04-03 Roland McGrath <roland@hack.frob.com>
9705
9706 * elf/dl-unmap-segments.h: New file.
9707 * sysdeps/generic/ldsodefs.h
9708 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9709 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9710 * elf/dl-fptr.c: Likewise.
9711 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9712 * sysdeps/aarch64/tlsdesc.c: Likewise.
9713 * sysdeps/arm/tlsdesc.c: Likewise.
9714 * sysdeps/i386/tlsdesc.c: Likewise.
9715 * sysdeps/tile/dl-runtime.c: Likewise.
9716 * sysdeps/x86_64/tlsdesc.c: Likewise.
9717 * elf/dl-load.h: New file.
9718 * elf/dl-load.c: Include it.
9719 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9720 Macros moved to dl-load.h.
9721 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9722 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9723 Use _dl_unmap_segments in place of __munmap.
9724 Break out segment-mapping loop into ...
9725 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9726
f6488e2b
WN
97272014-04-03 Will Newton <will.newton@linaro.org>
9728
9729 * elf/dl-lookup.c (do_lookup_x): Remove comment
9730 referring to nested function and move variable
9731 declarations down to before first use.
9732
6f05bafe
JM
97332014-04-02 Joseph Myers <joseph@codesourcery.com>
9734
a84e78c8
JM
9735 [BZ #16799]
9736 [BZ #16800]
9737 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9738 with 0 numerator.
9739 * math/s_catanf.c (__catanf): Likewise.
9740 * math/s_catanh.c (__catanh): Likewise.
9741 * math/s_catanhf.c (__catanhf): Likewise.
9742 * math/s_catanhl.c (__catanhl): Likewise.
9743 * math/s_catanl.c (__catanl): Likewise.
9744 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9745 by positive zero when computing -Inf result.
9746 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9747 (catanh_test): Likewise.
9748 * sysdeps/i386/fpu/libm-test-ulps: Update.
9749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9750
6f05bafe
JM
9751 [BZ #16789]
9752 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9753 instead of using underflowing value in computing result.
9754 * math/s_clog10.c (__clog10): Likewise.
9755 * math/s_clog10f.c (__clog10f): Likewise.
9756 * math/s_clog10l.c (__clog10l): Likewise.
9757 * math/s_clogf.c (__clogf): Likewise.
9758 * math/s_clogl.c (__clogl): Likewise.
9759 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9760 (clog10_test): Likewise.
9761 * sysdeps/i386/fpu/libm-test-ulps: Update.
9762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9763
b0abbc21
AM
97642014-04-02 Alan Modra <amodra@gmail.com>
9765
9766 [BZ #16739]
9767 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9768 output when value is near a power of two. Use int64_t for lx and
9769 remove casts. Use decimal rather than hex exponent constants.
9770 Don't use long double multiplication when double will suffice.
9771 * math/libm-test.inc (nextafter_test_data): Add tests.
9772 * NEWS: Add 16739 and 16786 to bug list.
9773
af6b1797
AM
9774 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9775
483818d7
AM
9776 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9777
f6c55796
WN
97782014-04-01 Will Newton <will.newton@linaro.org>
9779
9780 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9781 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9782
13f7fe35
FW
97832014-04-01 Florian Weimer <fweimer@redhat.com>
9784
9785 [BZ #13347]
9786 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9787 * nptl/tst-setuid2.c: New file.
9788 * nptl/Makefile (xtests): Add tst-setuid2.
9789
c859b32e
AM
97902014-04-01 Alan Modra <amodra@gmail.com>
9791
9792 [BZ #16786]
9793 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9794
54fa2475
JM
97952014-03-31 Joseph Myers <joseph@codesourcery.com>
9796
8795b4a4
JM
9797 [BZ #6803]
9798 [BZ #6804]
9799 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9800 set errno as appropriate.
9801 * math/w_scalbf.c (__scalbf): Likewise.
9802 * math/w_scalbl.c (__scalbl): Likewise.
9803 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9804 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9805 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9806 Add more NaN tests.
9807
54fa2475
JM
9808 [BZ #16349]
9809 * math/w_atan2.c: Include <errno.h>.
9810 (__atan2): Set errno for result underflowing to zero.
9811 * math/w_atan2f.c: Include <errno.h>.
9812 (__atan2f): Set errno for result underflowing to zero.
9813 * math/w_atan2l.c: Include <errno.h>.
9814 (__atan2l): Set errno for result underflowing to zero.
9815 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9816 tests.
9817 * math/auto-libm-test-out: Regenerated.
9818
757d9dd5
AZ
98192014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9820
9821 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9822 Encode instruction correctly in little endian.
9823 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9824 Likewise.
9825 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9826 Likewise.
9827 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9828 Likewise.
9829 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9830 Likewise.
9831
d7a68734
JM
98322014-03-31 Joseph Myers <joseph@codesourcery.com>
9833
47c5adeb
JM
9834 [BZ #9894]
9835 * sysdeps/unix/sysv/linux/kernel-features.h
9836 [__sparc__ && !__arch64__ && !__sparc_v9__]
9837 (__ASSUME_SET_ROBUST_LIST): Do not define.
9838 [__sparc__ && !__arch64__ && !__sparc_v9__]
9839 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9840 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9841 Likewise.
9842 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9843 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9844 (__ASSUME_REQUEUE_PI): Likewise.
9845 (__ASSUME_SET_ROBUST_LIST): Likewise.
9846 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9847 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9848 Undefine.
9849 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9850 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9851 Likewise.
9852 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9853 Likewise.
9854 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9855 Likewise.
9856 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9857 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9858 Undefine.
9859 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9860 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9861 Likewise.
9862
d7a68734
JM
9863 [BZ #16648]
9864 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9865 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9866 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9867
c760f5c2
WN
98682014-03-31 Will Newton <will.newton@linaro.org>
9869
9870 * benchtests/Makefile (bench): Add ffs and ffsll to list
9871 of tests.
9872 * benchtests/ffs-inputs: New file.
9873 * benchtests/ffsll-inputs: Likewise.
9874
ea6029b1
JM
98752014-03-29 Joseph Myers <joseph@codesourcery.com>
9876
9877 [BZ #16770]
9878 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9879 too large before casting to int.
9880 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9881 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9882 * math/libm-test.inc (scalb_test_data): Add more tests.
9883
cf806aff
SP
98842014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9885
56737508
SP
9886 * benchtests/Makefile (DETAILED_OPT): New make option.
9887 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9888 set.
9889 * benchtests/bench-skeleton.c: Include stdbool.h.
9890 (main): Store and print timings per input.
9891 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9892 member to each argument value.
9893 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9894 (_print_arg_data): Initialize per-input timing to 0.
9895
cb5e4aad
SP
9896 * benchtests/Makefile (timing-type): New binary.
9897 (bench-clean): Also remove bench-timing-type.
9898 (bench): New target for timing-type.
9899 (bench-func): Print output in JSON format.
9900 * benchtests/bench-skeleton.c (main): Print output in JSON
9901 format.
9902 * benchtests/bench-timing-type.c: New file.
9903 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9904 (TIMING_PRINT_STATS): Remove.
9905 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9906 name separately.
9907
cf806aff
SP
9908 * benchtests/bench-modf.c: Remove.
9909 * benchtests/modf-inputs: New inputs file.
9910
289e0779
JM
99112014-03-28 Joseph Myers <joseph@codesourcery.com>
9912
9913 [BZ #16362]
9914 * math/s_clog10.c (M_PI_LOG10E): New macro.
9915 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9916 imaginary parts are 0.
9917 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9918 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9919 imaginary parts are 0.
9920 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9921 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9922 imaginary parts are 0.
9923 * math/libm-test.inc (clog10_test_data): Update expected results
9924 for when real and imaginary parts are 0.
9925
277ae3f1
PP
99262014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9927
9928 * elf/dl-load.c: Finish conversion of __builtin_expect into
9929 __glibc_{un}likely.
9930
03a7091f
JM
99312014-03-27 Joseph Myers <joseph@codesourcery.com>
9932
9933 [BZ #16348]
9934 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9935 1+x for argument with exponent below -67.
9936 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9937 Likewise.
9938 * math/auto-libm-test-in: Add more tests of exp.
9939 * math/auto-libm-test-out: Regenerated.
9940
ea7d8b95
SP
99412014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9942
dd3022d7
SP
9943 [BZ #16759]
9944 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9945 (nscd_getnetgrent): Use it.
9946
ea7d8b95
SP
9947 [BZ #16760]
9948 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9949 of stpcpy.
9950
df5b85da
AK
99512014-03-27 Andi Kleen <ak@linux.intel.com>
9952
57f41c40
AS
9953 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9954 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9955 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9956 (lll_robust_unlock): Remove out of line section. Use cfi
9957 intrinsics.
df5b85da 9958 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
9959 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9960 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9961 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9962 (lll_robust_unlock): Remove out of line section. Use cfi
9963 intrinsics.
df5b85da
AK
9964 (LLL_STUB_UNWIND_INFO*): Remove.
9965
fbd6b5a4
SP
99662014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9967
9968 [BZ #16758]
9969 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9970 blank values.
9971
1b26b855
PP
99722014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9973
9974 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9975
9be36fb8
JM
99762014-03-26 Joseph Myers <joseph@codesourcery.com>
9977
9978 [BZ #16198]
9979 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9980 fnstenv.
9981 * math/test-fenv-preserve.c: New file.
9982 * math/Makefile (tests): Add test-fenv-preserve.
9983
60a2f3c1
WN
99842014-03-26 Will Newton <will.newton@linaro.org>
9985
9986 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9987
a5e5f1e2
RM
99882014-03-25 Roland McGrath <roland@hack.frob.com>
9989
9990 * scripts/versionlist.awk: Partition the version sets and emit all
9991 GLIBC_* (sorted) before all others (sorted).
9992
00f4012a
JM
99932014-03-25 Joseph Myers <joseph@codesourcery.com>
9994
9995 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9996 GLIBC_2.2.5 version.
9997
7bc5a741
AZ
99982014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9999
10000 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10001 calls.
10002
7578473b
AZ
10003 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10004 previous change.
10005
f3f1dab3
AZ
10006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10007
6da36183
AS
100082014-03-25 Andreas Schwab <schwab@suse.de>
10009
10010 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10011 label to be used after in6ailist is initialized.
10012
f3f1dab3 100132014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 10014
7578473b 10015 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
10016 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10017
046651c1
JM
100182014-03-25 Joseph Myers <joseph@codesourcery.com>
10019
10020 [BZ #16357]
10021 [BZ #16599]
10022 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10023 min_plus_half.
10024 (fp_formats): Update initializers.
10025 (init_fp_formats): Initialize new field.
10026 (output_for_one_input_case): Allow underflow for results up to
10027 min_plus_half.
10028 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10029 * math/auto-libm-test-in: Don't mark some underflows from asin and
10030 atanh as spurious.
10031 * math/auto-libm-test-out: Regenerated.
10032 * sysdeps/i386/fpu/libm-test-ulps: Update.
10033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10034
003e49ed
AS
100352014-03-25 Andreas Schwab <schwab@suse.de>
10036
10037 * libio/Makefile (tst-ftell-partial-wide-ENV)
10038 (tst-ftell-active-handler-ENV): Define.
10039
de031874
SL
100402014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10041
10042 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10043
55a81e3b
PP
100442014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10045
10046 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10047
f3426898
JM
100482014-03-24 Joseph Myers <joseph@codesourcery.com>
10049
10050 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10051 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10052 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10053
a42faf59
PP
100542014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10055
10056 [BZ #16634]
a42faf59 10057 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
10058 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10059 (open_path): Change from boolean 'secure' to complete flag 'mode'
10060 (_dl_map_object): Adjust.
a42faf59
PP
10061 * elf/Makefile (tests): Add tst-dlopen-aout.
10062 * elf/tst-dlopen-aout.c: New test.
10063
50936127
SL
100642014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10065
10066 [BZ #16714]
10067 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10068 (struct stat): Rename member pad0 to __glibc_reserved0.
10069
26011b5c
SL
10070 [BZ #16712]
10071 * sysdeps/s390/s390-32/bits/wordsize.h
10072 (__WORDSIZE32_SIZE_ULONG): New define.
10073 * sysdeps/s390/s390-64/bits/wordsize.h
10074 (__WORDSIZE32_SIZE_ULONG): Likewise.
10075 * sysdeps/generic/stdint.h (SIZE_MAX):
10076 Define as UL if __WORDSIZE32_SIZE_ULONG.
10077
a2d86bf1
SL
10078 [BZ #16713]
10079 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10080 (__glibc_reserved0): New variable.
10081 (sa_flags): Change type to int.
10082
78b6eebc
SL
10083 * posix/Makefile (before-compile): Use += before-compile instead
10084 of a :=.
10085
f1399b5a
SL
10086 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10087 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10088
a071766e
AS
100892014-03-20 Andreas Schwab <schwab@suse.de>
10090
10091 [BZ #16743]
10092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10093 non-matching result from nscd.
10094
27c673b8
SP
100952014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10096
10097 * scripts/bench.py: Moved to ...
10098 * benchtests/scripts/bench.py: ... here.
10099 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10100
44152e4b
AS
101012014-03-24 Andreas Schwab <schwab@suse.de>
10102
10103 [BZ #16002]
10104 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10105 alloca_account and account alloca use for struct in6ailist.
10106
b376a11a
JM
101072014-03-24 Joseph Myers <joseph@codesourcery.com>
10108
10109 [BZ #16284]
10110 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10111 rounding mode to recompute results that overflow to infinity or
10112 underflow to zero.
10113 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10114 bug 16284.
10115 * math/auto-libm-test-out: Regenerated.
10116 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10117 (ccosh_test): Likewise.
10118 (csin_test_data): Use plus_oflow.
10119 (csin_test): Use ALL_RM_TEST.
10120 (csinh_test_data): Use plus_oflow.
10121 (csinh_test): Use ALL_RM_TEST.
10122 * sysdeps/i386/fpu/libm-test-ulps: Update.
10123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10124
f7be7376
JM
101252014-03-21 Joseph Myers <joseph@codesourcery.com>
10126
1ca2d03e
JM
10127 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10128 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10129 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10130
f7be7376
JM
10131 [BZ #16731]
10132 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10133 when x - 1 is zero.
10134 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10135 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10136 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10137 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10138 argument is 1.
10139 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10140 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10141 zero.
10142 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10143 * sysdeps/i386/fpu/libm-test-ulps: Update.
10144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10145
fdf4534d
SP
101462014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10147
df26ea53
SP
10148 * scripts/bench.pl: Remove file.
10149 * scripts/bench.py: New benchmark script.
10150 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10151 * benchtests/README: Mention python dependency.
10152 * scripts/pylintrc: New file.
10153 * scripts/pylint: New file.
10154
fdf4534d
SP
10155 * bits/mathdef.h: Use #ifdef instead of #if.
10156 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10157 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10158 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10159 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10160 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10161 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10162
6f23d093
AZ
101632014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10164 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10165
10166 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10168 and strpbrk-ppc64 objects.
10169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10170 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10171 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10172 multiarch strpbrk for POWER7.
10173 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10174 multiarch strpbrk for PPC64.
10175 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10176 ifunc selector.
10177 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10178 strpbrk for POWER7.
10179
8c92dfff
JM
101802014-03-20 Joseph Myers <joseph@codesourcery.com>
10181
10182 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10183 (atan_test): Likewise.
10184 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10185 (atanh_test): Use ALL_RM_TEST.
10186 (atan2_test_data): Likewise.
10187 (cabs_test): Likewise.
10188 (cacosh_test): Likewise.
10189 (carg_test): Likewise.
10190 (casin_test): Likewise.
10191 (casinh_test): Likewise.
10192 (cbrt_test): Likewise.
10193 (csqrt_test): Likewise.
10194 (erf_test): Likewise.
10195 (erfc_test): Likewise.
10196 (pow10_test): Likewise.
10197 (exp2_test): Likewise.
10198 (hypot_test): Likewise.
10199 (j0_test): Likewise.
10200 (j1_test): Likewise.
10201 (lgamma_test): Likewise.
10202 (gamma_test): Likewise.
10203 (sincos_test): Likewise.
10204 (tanh_test): Likewise.
10205 (y0_test): Likewise.
10206 (y1_test): Likewise.
10207 * sysdeps/i386/fpu/libm-test-ulps: Update.
10208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10209
6eaf95cb
AZ
102102014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10211
a387428c
SP
10212 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
10214 and strcspn-ppc64 objects.
10215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10216 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10217 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10218 multiarch strcspn for POWER7.
10219 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10220 multiarch strcspn for PPC64.
10221 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10222 ifunc selector.
10223 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10224 strcspn for POWER7.
10225
ae3a5dff
JM
102262014-03-20 Joseph Myers <joseph@codesourcery.com>
10227
10228 * math/gen-libm-test.pl (generate_testfile): Expect only function
10229 name as argument to AUTO_TESTS_* and pass results for all rounding
10230 modes to parse_args.
10231 (parse_auto_input): Separate inputs of automatic tests from
10232 outputs before storing in %auto_tests.
10233 * math/libm-test.inc (acos_test_data): Update call to
10234 AUTO_TESTS_f_f.
10235 (acos_test): Use ALL_RM_TEST.
10236 (acos_tonearest_test_data): Remove.
10237 (acos_test_tonearest): Likewise.
10238 (acos_towardzero_test_data): Likewise.
10239 (acos_test_towardzero): Likewise.
10240 (acos_downward_test_data): Likewise.
10241 (acos_test_downward): Likewise.
10242 (acos_upward_test_data): Likewise.
10243 (acos_test_upward): Likewise.
10244 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10245 (asin_test_data): Likewise.
10246 (asin_test): Use ALL_RM_TEST.
10247 (asin_tonearest_test_data): Remove.
10248 (asin_test_tonearest): Likewise.
10249 (asin_towardzero_test_data): Likewise.
10250 (asin_test_towardzero): Likewise.
10251 (asin_downward_test_data): Likewise.
10252 (asin_test_downward): Likewise.
10253 (asin_upward_test_data): Likewise.
10254 (asin_test_upward): Likewise.
10255 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10256 (atan_test_data): Likewise.
10257 (atanh_test_data): Likewise.
10258 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10259 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10260 (carg_test_data): Likewise.
10261 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10262 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10263 (ccosh_test_data): Likewise.
10264 (cexp_test_data): Likewise.
10265 (clog_test_data): Likewise.
10266 (clog10_test_data): Likewise.
10267 (cos_test_data): Update call to AUTO_TESTS_f_f.
10268 (cos_test): Use ALL_RM_TEST.
10269 (cos_tonearest_test_data): Remove.
10270 (cos_test_tonearest): Likewise.
10271 (cos_towardzero_test_data): Likewise.
10272 (cos_test_towardzero): Likewise.
10273 (cos_downward_test_data): Likewise.
10274 (cos_test_downward): Likewise.
10275 (cos_upward_test_data): Likewise.
10276 (cos_test_upward): Likewise.
10277 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10278 (cosh_test): Use ALL_RM_TEST.
10279 (cosh_tonearest_test_data): Remove.
10280 (cosh_test_tonearest): Likewise.
10281 (cosh_towardzero_test_data): Likewise.
10282 (cosh_test_towardzero): Likewise.
10283 (cosh_downward_test_data): Likewise.
10284 (cosh_test_downward): Likewise.
10285 (cosh_upward_test_data): Likewise.
10286 (cosh_test_upward): Likewise.
10287 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10288 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10289 (ctan_test_data): Likewise.
10290 (ctan_test): Use ALL_RM_TEST.
10291 (ctan_tonearest_test_data): Remove.
10292 (ctan_test_tonearest): Likewise.
10293 (ctan_towardzero_test_data): Likewise.
10294 (ctan_test_towardzero): Likewise.
10295 (ctan_downward_test_data): Likewise.
10296 (ctan_test_downward): Likewise.
10297 (ctan_upward_test_data): Likewise.
10298 (ctan_test_upward): Likewise.
10299 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10300 (ctanh_test): Use ALL_RM_TEST.
10301 (ctanh_tonearest_test_data): Remove.
10302 (ctanh_test_tonearest): Likewise.
10303 (ctanh_towardzero_test_data): Likewise.
10304 (ctanh_test_towardzero): Likewise.
10305 (ctanh_downward_test_data): Likewise.
10306 (ctanh_test_downward): Likewise.
10307 (ctanh_upward_test_data): Likewise.
10308 (ctanh_test_upward): Likewise.
10309 (erf_test_data): Update call to AUTO_TESTS_f_f.
10310 (erfc_test_data): Likewise.
10311 (exp_test_data): Likewise.
10312 (exp_test): Use ALL_RM_TEST.
10313 (exp_tonearest_test_data): Remove.
10314 (exp_test_tonearest): Likewise.
10315 (exp_towardzero_test_data): Likewise.
10316 (exp_test_towardzero): Likewise.
10317 (exp_downward_test_data): Likewise.
10318 (exp_test_downward): Likewise.
10319 (exp_upward_test_data): Likewise.
10320 (exp_test_upward): Likewise.
10321 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10322 (exp10_test): Use ALL_RM_TEST.
10323 (exp10_tonearest_test_data): Remove.
10324 (exp10_test_tonearest): Likewise.
10325 (exp10_towardzero_test_data): Likewise.
10326 (exp10_test_towardzero): Likewise.
10327 (exp10_downward_test_data): Likewise.
10328 (exp10_test_downward): Likewise.
10329 (exp10_upward_test_data): Likewise.
10330 (exp10_test_upward): Likewise.
10331 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10332 (expm1_test_data): Likewise.
10333 (expm1_test): Use ALL_RM_TEST.
10334 (expm1_tonearest_test_data): Remove.
10335 (expm1_test_tonearest): Likewise.
10336 (expm1_towardzero_test_data): Likewise.
10337 (expm1_test_towardzero): Likewise.
10338 (expm1_downward_test_data): Likewise.
10339 (expm1_test_downward): Likewise.
10340 (expm1_upward_test_data): Likewise.
10341 (expm1_test_upward): Likewise.
10342 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10343 (fma_test): Use ALL_RM_TEST.
10344 (fma_towardzero_test_data): Remove.
10345 (fma_test_towardzero): Likewise.
10346 (fma_downward_test_data): Likewise.
10347 (fma_test_downward): Likewise.
10348 (fma_upward_test_data): Likewise.
10349 (fma_test_upward): Likewise.
10350 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10351 (j0_test_data): Update call to AUTO_TESTS_f_f.
10352 (j1_test_data): Likewise.
10353 (jn_test_data): Update call to AUTO_TESTS_if_f.
10354 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10355 (log_test_data): Update call to AUTO_TESTS_f_f.
10356 (log10_test_data): Likewise.
10357 (log1p_test_data): Likewise.
10358 (log2_test_data): Likewise.
10359 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10360 (pow_tonearest_test_data): Likewise.
10361 (sin_test_data): Update call to AUTO_TESTS_f_f.
10362 (sin_test): Use ALL_RM_TEST.
10363 (sin_tonearest_test_data): Remove.
10364 (sin_test_tonearest): Likewise.
10365 (sin_towardzero_test_data): Likewise.
10366 (sin_test_towardzero): Likewise.
10367 (sin_downward_test_data): Likewise.
10368 (sin_test_downward): Likewise.
10369 (sin_upward_test_data): Likewise.
10370 (sin_test_upward): Likewise.
10371 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10372 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10373 (sinh_test): Use ALL_RM_TEST.
10374 (sinh_tonearest_test_data): Remove.
10375 (sinh_test_tonearest): Likewise.
10376 (sinh_towardzero_test_data): Likewise.
10377 (sinh_test_towardzero): Likewise.
10378 (sinh_downward_test_data): Likewise.
10379 (sinh_test_downward): Likewise.
10380 (sinh_upward_test_data): Likewise.
10381 (sinh_test_upward): Likewise.
10382 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10383 (sqrt_test): Use ALL_RM_TEST.
10384 (sqrt_tonearest_test_data): Remove.
10385 (sqrt_test_tonearest): Likewise.
10386 (sqrt_towardzero_test_data): Likewise.
10387 (sqrt_test_towardzero): Likewise.
10388 (sqrt_downward_test_data): Likewise.
10389 (sqrt_test_downward): Likewise.
10390 (sqrt_upward_test_data): Likewise.
10391 (sqrt_test_upward): Likewise.
10392 (tan_test_data): Update call to AUTO_TESTS_f_f.
10393 (tan_test): Use ALL_RM_TEST.
10394 (tan_tonearest_test_data): Remove.
10395 (tan_test_tonearest): Likewise.
10396 (tan_towardzero_test_data): Likewise.
10397 (tan_test_towardzero): Likewise.
10398 (tan_downward_test_data): Likewise.
10399 (tan_test_downward): Likewise.
10400 (tan_upward_test_data): Likewise.
10401 (tan_test_upward): Likewise.
10402 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10403 (tgamma_test_data): Likewise.
10404 (y0_test_data): Likewise.
10405 (y1_test_data): Likewise.
10406 (yn_test_data): Update call to AUTO_TESTS_if_f.
10407 (main): Do not call removed functions.
10408
d71aeee8
JM
104092014-03-19 Joseph Myers <joseph@codesourcery.com>
10410
10411 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10412 (ldexp_test_data): Remove.
10413 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10414 scalbn_test_data.
10415 (scalb_test): Use ALL_RM_TEST.
10416
baaf1ded
AS
104172014-03-19 Andreas Schwab <schwab@suse.de>
10418
10419 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10420
b1115e91
JM
104212014-03-19 Joseph Myers <joseph@codesourcery.com>
10422
10423 [BZ #16649]
10424 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10425 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10426 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10427 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10428 (__ASSUME_PREADV): Undefine.
10429 (__ASSUME_PWRITEV): Likewise.
10430
0283ecca
RM
104312014-03-18 Roland McGrath <roland@hack.frob.com>
10432
7d375303
RM
10433 * bits/mman-linux.h: Add comment about non-Linux use.
10434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10435 bits/mman-linux.h resting place.
10436
0283ecca
RM
10437 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10438 * bits/mman-linux.h: ... here.
10439
aebe1003
AZ
104402014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10441
10442 * conform/conformtest.pl: Add standard definition when calling C
10443 preprocessor on data files.
10444 (checknamespace): Remove unused variable.
10445
b29b6bb8
JM
104462014-03-18 Joseph Myers <joseph@codesourcery.com>
10447
10448 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10449 minus_oflow, plus_uflow and minus_uflow in expected results.
10450 * math/libm-test.inc (scalbn_test_data): Add more tests of
10451 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10452 minus_uflow.
10453 (scalbn_test): Use ALL_RM_TEST.
10454 (scalbln_test_data): Add more tests of negative arguments. Use
10455 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10456 (scalbln_test): Use ALL_RM_TEST.
10457
c8f8fa15
RM
104582014-03-18 Roland McGrath <roland@hack.frob.com>
10459
10460 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10461
fede7a5f
WN
104622014-03-18 Will Newton <will.newton@linaro.org>
10463
10464 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10465 inaccurate comment.
10466
80cf0a58
JM
104672014-03-18 Joseph Myers <joseph@codesourcery.com>
10468
10469 * Makerules [!subdir] (check-abi): Exit with error status if a
10470 test failed.
10471
b3620862
JM
104722014-03-17 Joseph Myers <joseph@codesourcery.com>
10473
10474 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10475 for rint. Include results for all rounding modes.
10476 (nearbyint_test): Use ALL_RM_TEST.
10477 (rint_test_data): Include all tests used for nearbyint.
10478
788bba36
WN
104792014-03-17 Will Newton <will.newton@linaro.org>
10480
04ec140a
WN
10481 * nptl/sysdeps/pthread/pthread.h: Revert previous
10482 change.
10483
7579d8d5
WN
10484 * sysdeps/generic/ldsodefs.h: Revert previous
10485 change.
10486
c15cf13a
WN
10487 * libio/genops.c: Revert previous change.
10488 * libio/libioP.h: Likewise.
10489 * stdio-common/vfprintf.c: Likewise.
10490
d0ac1324
WN
10491 * sysdeps/generic/math_private.h: Revert previous
10492 change.
10493
9290130a
WN
10494 * sysdeps/generic/math_private.h: Check whether
10495 HAVE_RM_CTX is defined with #ifdef rather
10496 than #if.
10497
afb466fc
WN
10498 * argp/argp-fmtstream.h: Check whether
10499 __STRICT_ANSI__ is defined with #ifdef rather
10500 than #if.
10501 * argp/argp.h: Likewise.
10502
f7efd7c3
WN
10503 * libio/genops.c: Check whether
10504 _IO_JUMPS_OFFSET is defined with #ifdef rather
10505 than #if.
10506 * libio/libioP.h: Likewise.
10507 * stdio-common/vfprintf.c: Likewise.
10508
53f1bed3
WN
10509 * sysdeps/generic/ldsodefs.h: Check whether
10510 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10511 than #if.
10512
788bba36
WN
10513 * nptl/sysdeps/pthread/pthread.h: Check
10514 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10515 its value.
10516
fcd89ebe
SP
105172014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10518
ae42bbc5
SP
10519 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10520 setting O_APPEND.
10521 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10522 test case.
10523
ea33158c
SP
10524 [BZ #16680]
10525 * libio/fileops.c (_IO_file_open): Seek to end of file but
10526 don't cache the offset.
10527 (get_file_offset): Remove function.
10528 (do_ftell): Use cached offset when available.
10529 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10530 don't cache the offset.
10531 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10532 case.
10533 (do_one_test): Call it.
10534 (do_ftell_test): Fix up expected old offset for a+ mode.
10535 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10536 available.
10537
b1dbb426
SP
10538 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10539 up test status with function return status.
10540 (do_write_test): Likewise.
10541 (do_append_test): Likewise.
10542
fcd89ebe
SP
10543 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10544 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10545 Remove.
10546
9962a2d3
JM
105472014-03-17 Joseph Myers <joseph@codesourcery.com>
10548
10549 * math/gen-libm-test.pl (parse_args): Handle results specified for
10550 each rounding mode separately.
10551 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10552 tests and results from lrint_tonearest_test_data,
10553 lrint_towardzero_test_data, lrint_downward_test_data and
10554 lrint_upward_test_data.
10555 (lrint_test): Use ALL_RM_TEST.
10556 (lrint_tonearest_test_data): Remove.
10557 (lrint_test_tonearest): Likewise.
10558 (lrint_towardzero_test_data): Likewise.
10559 (lrint_test_towardzero): Likewise.
10560 (lrint_downward_test_data): Likewise.
10561 (lrint_test_downward): Likewise.
10562 (lrint_upward_test_data): Likewise.
10563 (lrint_test_upward): Likewise.
10564 (llrint_test_data): Merge in per-rounding-mode tests and results
10565 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10566 llrint_downward_test_data and llrint_upward_test_data.
10567 (llrint_test): Use ALL_RM_TEST.
10568 (llrint_tonearest_test_data): Remove.
10569 (llrint_test_tonearest): Likewise.
10570 (llrint_towardzero_test_data): Likewise.
10571 (llrint_test_towardzero): Likewise.
10572 (llrint_downward_test_data): Likewise.
10573 (llrint_test_downward): Likewise.
10574 (llrint_upward_test_data): Likewise.
10575 (llrint_test_upward): Likewise.
10576 (rint_test_data): Merge in per-rounding-mode tests and results
10577 from rint_tonearest_test_data, rint_towardzero_test_data,
10578 rint_downward_test_data and rint_upward_test_data. Add
10579 per-rounding-mode results for tests not in those arrays.
10580 (rint_test): Use ALL_RM_TEST.
10581 (rint_tonearest_test_data): Remove.
10582 (rint_test_tonearest): Likewise.
10583 (rint_towardzero_test_data): Likewise.
10584 (rint_test_towardzero): Likewise.
10585 (rint_downward_test_data): Likewise.
10586 (rint_test_downward): Likewise.
10587 (rint_upward_test_data): Likewise.
10588 (rint_test_upward): Likewise.
10589 (main): Don't call removed functions.
10590
5006148e
RM
105912014-03-14 Roland McGrath <roland@hack.frob.com>
10592
10593 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10594 "Compiled on ..." crapola. It is anti-useful.
10595
d6fe5e58
JM
105962014-03-14 Joseph Myers <joseph@codesourcery.com>
10597
10598 * scripts/evaluate-test.sh: Handle fourth argument to determine
10599 whether test run should stop on failure.
10600 * Makeconfig (stop-on-test-failure): New variable.
10601 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10602 $(stop-on-test-failure).
10603 * Makefile (tests): Give a summary of results from testing and
10604 exit with failure status if they include an ERROR or FAIL.
10605 (xtests): Likewise.
10606 * manual/install.texi (Configuring and compiling): Mention
10607 stop-on-test-failure=y.
10608 * INSTALL: Regenerated.
10609
498a2233
RM
106102014-03-14 Roland McGrath <roland@hack.frob.com>
10611
22dbc19d
RM
10612 * scripts/versionlist.awk: New file.
10613 * Makerules [$(build-shared) = yes]
10614 (postclean-generated): Add Versions.def, not Versions.def.v and
10615 Versions.def.v.i.
10616 ($(common-objpfx)Versions.def.v.i): Target removed.
10617 ($(common-objpfx)Versions.def): New target.
10618 ($(common-objpfx)Versions.all): Depend on that rather that
10619 $(common-objpfx)Versions.def.v.
10620 * Versions.def: File removed.
10621
498a2233
RM
10622 * Makeconfig (+gccwarn): Add -Wundef.
10623 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10624 a dl-sysdep.h breaking its contract.
10625 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10626 * include/stackinfo.h: New file.
10627 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10628 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10629 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10630 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10631 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10632 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10633 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10634 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10635 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10636 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10637 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10638 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10639 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10640 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10641 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10642
c7de5025
AZ
106432014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10644
10645 [BZ #16707]
10646 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10647 implementation.
10648 * math/libm-test.inc (round_test_data): Add more tests.
10649
98fb27a3
AZ
10650 [BZ #16706]
10651 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10652 implementation.
10653 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10654
374f7f61
AZ
10655 [BZ #16701]
10656 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10657 implementation.
10658 * math/libm-test.inc (ceil_test_data): Add more tests.
10659
4655c291
AZ
10660 * math/libm-test.inc (trunc_test_data): Add more tests related to
10661 BZ#16414.
10662
d7329d4b
RM
106632014-03-14 Roland McGrath <roland@hack.frob.com>
10664
10665 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10666 with #if rather than #ifdef.
10667 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10668
aa4de9ce
L
106692014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10670
10671 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10672 first. Disable AVX-512 GCC support if assembler doesn't support
10673 it.
10674 * sysdeps/x86_64/configure: Regenerated.
10675
2e03fae7
CD
106762014-03-13 Carlos O'Donell <carlos@redhat.com>
10677
10678 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10679 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10680 (__old_pthread_attr_setstack): Likewise.
10681 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10682 [!_STACK_GROWS_DOWN]: Likewise.
10683
43ca83ec
MF
106842014-03-13 Mike Frysinger <vapier@gentoo.org>
10685
10686 * config.make.in (have-bash2): Delete.
10687 * configure.ac (libc_cv_have_bash2): Delete.
10688 * configure: Regenerate.
10689 * elf/Makefile (common-ldd-rewrite): Rename to ...
10690 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10691 (sh-ldd-rewrite): Delete.
10692 (bash-ldd-rewrite): Delete.
10693 (have-bash2): Delete checks.
57f41c40
AS
10694 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10695 ldd-rewrite.
c66e48b4
MF
10696
10697 * config.make.in (have-ksh): Delete.
10698 (KSH): Delete.
10699 * configure.ac (libc_cv_have_ksh): Delete.
10700 * configure: Regenerate.
10701
b93834ef
MF
10702 * elf/Makefile: Delete $(have-ksh) check.
10703 ($(objpfx)sotruss): Change KSH to BASH.
10704 * elf/sotruss.ksh: Rename to ...
10705 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10706 function style to match POSIX. Drop ksh vim mode setting.
10707
f3a4632a
MF
10708 * manual/time.texi (Specifying the Time Zone with TZ): Change
10709 Tuesday to Thursday.
10710
5896c8bd
MF
10711 * debug/tst-longjmp_chk2.c: Update header comment.
10712 (stackoverflow_handler): Add comment. Call assert on pass value.
10713
2d63a517
IZ
107142014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10715
7e54fd04 10716 [BZ #16194]
2d63a517
IZ
10717 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10718 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10719 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10720 (La_x86_64_vector): Add zmm.
10721 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10722 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10723 ($(objpfx)tst-audit10): New target.
10724 ($(objpfx)tst-audit10.out): Likewise.
10725 (tst-audit10-ENV): New.
10726 (AVX512-CFLAGS): Likewise.
10727 (CFLAGS-tst-audit10.c): Likewise.
10728 (CFLAGS-tst-auditmod10a.c): Likewise.
10729 (CFLAGS-tst-auditmod10b.c): Likewise.
10730 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10731 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10732 * sysdeps/x86_64/configure: Regenerated.
10733 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10734 AVX-512 zmm register support.
10735 (_dl_x86_64_save_sse): Likewise.
10736 (_dl_x86_64_restore_sse): Likewise.
10737 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10738 size vector registers.
10739 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10740 (ZMM_SIZE): Likewise.
10741 * sysdeps/x86_64/tst-audit10.c: New file.
10742 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10743 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10744
44c4e5d5
RM
107452014-03-13 Roland McGrath <roland@hack.frob.com>
10746
10747 * configure.ac (HAVE_EHDR_START): New check.
10748 * configure: Regenerated.
10749 * config.h.in (HAVE_EHDR_START): New #undef.
10750 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10751 assuming the lowest-addressed segment maps the start of the file.
10752
acd6e389
JM
107532014-03-13 Joseph Myers <joseph@codesourcery.com>
10754
10755 * INSTALL: Regenerated.
10756
6f918f36
WN
107572014-03-13 Will Newton <will.newton@linaro.org>
10758
10759 * manual/setjmp.texi (System V contexts): Improve
10760 clarity and grammar of documentation.
10761
798212a0
PP
107622014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10763
10764 [BZ #16381]
798212a0 10765 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10766 (tests-pie): Add tst-pie2.
798212a0
PP
10767 * elf/tst-pie2.c: New file.
10768 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10769 for ET_EXEC.
10770 * elf/rtld.c (map_doit): Load executable as lt_executable.
10771 (dl_main): Likewise.
10772
abe6d90c
JM
107732014-03-12 Joseph Myers <joseph@codesourcery.com>
10774
10775 [BZ #16642]
10776 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10777 (__ASSUME_PSELECT): Undefine.
10778
dd3946c6
AZ
107792014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10780
10781 [BZ #16689]
10782 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10783 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10784 static build.
10785 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10786 selector for static builds.
10787
c44496df
SP
107882014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10789
10790 [BZ #16695]
10791 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10792 key in the buffer.
10793
27c7220a
AZ
107942014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10795
57f41c40
AS
10796 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10797 IFUNC selector for static builds.
27c7220a 10798
600fa361
JM
107992014-03-11 Joseph Myers <joseph@codesourcery.com>
10800
76c96cf7
JM
10801 * sysdeps/mips/math_private.h [__mips_hard_float]
10802 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10803 libc_feresetround_mips_ctx.
10804 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10805 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10806 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10807
600fa361
JM
10808 [BZ #16677]
10809 * math/s_nextafter.c (__nextafter): Do not return value from
10810 overflowing computation.
10811 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10812 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10813 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10814 Likewise.
10815 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10816 Likewise.
10817 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10818 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10819
d7706c32
RM
108202014-03-11 Roland McGrath <roland@hack.frob.com>
10821
10822 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10823 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10824 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10825 the new mov targetting sp.
10826
4facea47
AZ
108272014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10828
10829 [BZ #16683]
10830 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10831 Define it for static builds as well.
10832 (NO_BZERO_IMPL): Likewise.
10833
e65caf1f
VR
108342014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10835
10836 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10837 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10838 multiarch strspn for PPC64.
10839 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10840 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10842 (__libc_ifunc_impl_list): Likewise.
10843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10844 multiarch optimizations
10845 * string/strspn.c (strspn): Using macro to redefine symbol name.
10846
ba9cc071
AZ
108472014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10848 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10849
10850 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10851 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10852 multiarch strncat for PPC64.
10853 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10854 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10856 (__libc_ifunc_impl_list): Likewise.
10857 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10858 multiarch optimizations
10859
8b4ff974
SP
108602014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10861
10862 [BZ #16639]
10863 * nscd/nscd.service: Make service type forking.
10864
54b46a4b
AZ
108652014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10866
10867 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10868 sign in non default rounding modes.
10869 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10870
e9996ef7
JM
108712014-03-08 Joseph Myers <joseph@codesourcery.com>
10872
10873 * math/libm-test.inc (ALL_RM_TEST): New macro.
10874 (ceil_test): Use ALL_RM_TEST.
10875 (cimag_test): Likewise.
10876 (conj_test): Likewise.
10877 (copysign_test): Likewise.
10878 (cproj_test): Likewise.
10879 (creal_test): Likewise.
10880 (fabs_test): Likewise.
10881 (floor_test): Likewise.
10882 (fmax_test): Likewise.
10883 (fmin_test): Likewise.
10884 (fmod_test): Likewise.
10885 (fpclassify_test): Likewise.
10886 (frexp_test): Likewise.
10887 (ilogb_test): Likewise.
10888 (isfinite_test): Likewise.
10889 (finite_test): Likewise.
10890 (isgreater_test): Likewise.
10891 (isgreaterequal_test): Likewise.
10892 (isinf_test): Likewise.
10893 (isless_test): Likewise.
10894 (islessequal_test): Likewise.
10895 (islessgreater_test): Likewise.
10896 (isnan_test): Likewise.
10897 (isnormal_test): Likewise.
10898 (issignaling_test): Likewise.
10899 (isunordered_test): Likewise.
10900 (logb_test): Likewise.
10901 (logb_downward_test_data): Remove.
10902 (logb_test_downward): Likewise.
10903 (lround_test): Use ALL_RM_TEST.
10904 (llround_test): Likewise.
10905 (modf_test): Likewise.
10906 (nexttoward_test): Likewise.
10907 (remainder_test): Likewise.
10908 (drem_test): Likewise.
10909 (remainder_tonearest_test_data): Likewise.
10910 (remainder_test_tonearest): Likewise.
10911 (drem_test_tonearest): Likewise.
10912 (remainder_towardzero_test_data): Likewise.
10913 (remainder_test_towardzero): Likewise.
10914 (drem_test_towardzero): Likewise.
10915 (remainder_downward_test_data): Likewise.
10916 (remainder_test_downward): Likewise.
10917 (drem_test_downward): Likewise.
10918 (remainder_upward_test_data): Likewise.
10919 (remainder_test_upward): Likewise.
10920 (drem_test_upward): Likewise.
10921 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10922 (round_test): Use ALL_RM_TEST.
10923 (signbit_test): Likewise.
10924 (trunc_test): Likewise.
10925 (significand_test): Likewise.
10926 (main): Don't call removed functions.
10927
bc61d27c
JM
109282014-03-07 Joseph Myers <joseph@codesourcery.com>
10929
5c780849
JM
10930 [BZ #16674]
10931 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10932 || __USE_XOPEN2K8].
10933 (ILL_ILLOPN): Likewise.
10934 (ILL_ILLADR): Likewise.
10935 (ILL_ILLTRP): Likewise.
10936 (ILL_PRVOPC): Likewise.
10937 (ILL_PRVREG): Likewise.
10938 (ILL_COPROC): Likewise.
10939 (ILL_BADSTK): Likewise.
10940 (FPE_INTDIV): Likewise.
10941 (FPE_INTOVF): Likewise.
10942 (FPE_FLTDIV): Likewise.
10943 (FPE_FLTOVF): Likewise.
10944 (FPE_FLTUND): Likewise.
10945 (FPE_FLTRES): Likewise.
10946 (FPE_FLTINV): Likewise.
10947 (FPE_FLTSUB): Likewise.
10948 (SEGV_MAPERR): Likewise.
10949 (SEGV_ACCERR): Likewise.
10950 (BUS_ADRALN): Likewise.
10951 (BUS_ADRERR): Likewise.
10952 (BUS_OBJERR): Likewise.
10953 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10954 (TRAP_TRACE): Likewise.
10955 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10956 __USE_XOPEN2K8].
10957 (CLD_KILLED): Likewise.
10958 (CLD_DUMPED): Likewise.
10959 (CLD_TRAPPED): Likewise.
10960 (CLD_STOPPED): Likewise.
10961 (CLD_CONTINUED): Likewise.
10962 (POLL_IN): Likewise.
10963 (POLL_OUT): Likewise.
10964 (POLL_MSG): Likewise.
10965 (POLL_ERR): Likewise.
10966 (POLL_PRI): Likewise.
10967 (POLL_HUP): Likewise.
10968 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10969 Likewise.
10970 (ILL_ILLOPN): Likewise.
10971 (ILL_ILLADR): Likewise.
10972 (ILL_ILLTRP): Likewise.
10973 (ILL_PRVOPC): Likewise.
10974 (ILL_PRVREG): Likewise.
10975 (ILL_COPROC): Likewise.
10976 (ILL_BADSTK): Likewise.
10977 (FPE_INTDIV): Likewise.
10978 (FPE_INTOVF): Likewise.
10979 (FPE_FLTDIV): Likewise.
10980 (FPE_FLTOVF): Likewise.
10981 (FPE_FLTUND): Likewise.
10982 (FPE_FLTRES): Likewise.
10983 (FPE_FLTINV): Likewise.
10984 (FPE_FLTSUB): Likewise.
10985 (SEGV_MAPERR): Likewise.
10986 (SEGV_ACCERR): Likewise.
10987 (BUS_ADRALN): Likewise.
10988 (BUS_ADRERR): Likewise.
10989 (BUS_OBJERR): Likewise.
10990 (BUS_MCEERR_AR): Likewise.
10991 (BUS_MCEERR_AO): Likewise.
10992 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10993 (TRAP_TRACE): Likewise.
10994 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10995 __USE_XOPEN2K8].
10996 (CLD_KILLED): Likewise.
10997 (CLD_DUMPED): Likewise.
10998 (CLD_TRAPPED): Likewise.
10999 (CLD_STOPPED): Likewise.
11000 (CLD_CONTINUED): Likewise.
11001 (POLL_IN): Likewise.
11002 (POLL_OUT): Likewise.
11003 (POLL_MSG): Likewise.
11004 (POLL_ERR): Likewise.
11005 (POLL_PRI): Likewise.
11006 (POLL_HUP): Likewise.
11007 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11008 (ILL_ILLOPN): Likewise.
11009 (ILL_ILLADR): Likewise.
11010 (ILL_ILLTRP): Likewise.
11011 (ILL_PRVOPC): Likewise.
11012 (ILL_PRVREG): Likewise.
11013 (ILL_COPROC): Likewise.
11014 (ILL_BADSTK): Likewise.
11015 (FPE_INTDIV): Likewise.
11016 (FPE_INTOVF): Likewise.
11017 (FPE_FLTDIV): Likewise.
11018 (FPE_FLTOVF): Likewise.
11019 (FPE_FLTUND): Likewise.
11020 (FPE_FLTRES): Likewise.
11021 (FPE_FLTINV): Likewise.
11022 (FPE_FLTSUB): Likewise.
11023 (SEGV_MAPERR): Likewise.
11024 (SEGV_ACCERR): Likewise.
11025 (BUS_ADRALN): Likewise.
11026 (BUS_ADRERR): Likewise.
11027 (BUS_OBJERR): Likewise.
11028 (BUS_MCEERR_AR): Likewise.
11029 (BUS_MCEERR_AO): Likewise.
11030 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11031 (TRAP_TRACE): Likewise.
11032 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11033 __USE_XOPEN2K8].
11034 (CLD_KILLED): Likewise.
11035 (CLD_DUMPED): Likewise.
11036 (CLD_TRAPPED): Likewise.
11037 (CLD_STOPPED): Likewise.
11038 (CLD_CONTINUED): Likewise.
11039 (POLL_IN): Likewise.
11040 (POLL_OUT): Likewise.
11041 (POLL_MSG): Likewise.
11042 (POLL_ERR): Likewise.
11043 (POLL_PRI): Likewise.
11044 (POLL_HUP): Likewise.
11045 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11046 Likewise.
11047 (ILL_ILLOPN): Likewise.
11048 (ILL_ILLADR): Likewise.
11049 (ILL_ILLTRP): Likewise.
11050 (ILL_PRVOPC): Likewise.
11051 (ILL_PRVREG): Likewise.
11052 (ILL_COPROC): Likewise.
11053 (ILL_BADSTK): Likewise.
11054 (ILL_BADIADDR): Likewise.
11055 (ILL_BREAK): Likewise.
11056 (FPE_INTDIV): Likewise.
11057 (FPE_INTOVF): Likewise.
11058 (FPE_FLTDIV): Likewise.
11059 (FPE_FLTOVF): Likewise.
11060 (FPE_FLTUND): Likewise.
11061 (FPE_FLTRES): Likewise.
11062 (FPE_FLTINV): Likewise.
11063 (FPE_FLTSUB): Likewise.
11064 (FPE_DECOVF): Likewise.
11065 (FPE_DECDIV): Likewise.
11066 (FPE_DECERR): Likewise.
11067 (FPE_INVASC): Likewise.
11068 (FPE_INVDEC): Likewise.
11069 (SEGV_MAPERR): Likewise.
11070 (SEGV_ACCERR): Likewise.
11071 (SEGV_PSTKOVF): Likewise.
11072 (BUS_ADRALN): Likewise.
11073 (BUS_ADRERR): Likewise.
11074 (BUS_OBJERR): Likewise.
11075 (BUS_MCEERR_AR): Likewise.
11076 (BUS_MCEERR_AO): Likewise.
11077 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11078 (TRAP_TRACE): Likewise.
11079 (TRAP_BRANCH): Likewise.
11080 (TRAP_HWBKPT): Likewise.
11081 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11082 __USE_XOPEN2K8].
11083 (CLD_KILLED): Likewise.
11084 (CLD_DUMPED): Likewise.
11085 (CLD_TRAPPED): Likewise.
11086 (CLD_STOPPED): Likewise.
11087 (CLD_CONTINUED): Likewise.
11088 (POLL_IN): Likewise.
11089 (POLL_OUT): Likewise.
11090 (POLL_MSG): Likewise.
11091 (POLL_ERR): Likewise.
11092 (POLL_PRI): Likewise.
11093 (POLL_HUP): Likewise.
11094 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11095 (ILL_ILLOPN): Likewise.
11096 (ILL_ILLADR): Likewise.
11097 (ILL_ILLTRP): Likewise.
11098 (ILL_PRVOPC): Likewise.
11099 (ILL_PRVREG): Likewise.
11100 (ILL_COPROC): Likewise.
11101 (ILL_BADSTK): Likewise.
11102 (FPE_INTDIV): Likewise.
11103 (FPE_INTOVF): Likewise.
11104 (FPE_FLTDIV): Likewise.
11105 (FPE_FLTOVF): Likewise.
11106 (FPE_FLTUND): Likewise.
11107 (FPE_FLTRES): Likewise.
11108 (FPE_FLTINV): Likewise.
11109 (FPE_FLTSUB): Likewise.
11110 (SEGV_MAPERR): Likewise.
11111 (SEGV_ACCERR): Likewise.
11112 (BUS_ADRALN): Likewise.
11113 (BUS_ADRERR): Likewise.
11114 (BUS_OBJERR): Likewise.
11115 (BUS_MCEERR_AR): Likewise.
11116 (BUS_MCEERR_AO): Likewise.
11117 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11118 (TRAP_TRACE): Likewise.
11119 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11120 __USE_XOPEN2K8].
11121 (CLD_KILLED): Likewise.
11122 (CLD_DUMPED): Likewise.
11123 (CLD_TRAPPED): Likewise.
11124 (CLD_STOPPED): Likewise.
11125 (CLD_CONTINUED): Likewise.
11126 (POLL_IN): Likewise.
11127 (POLL_OUT): Likewise.
11128 (POLL_MSG): Likewise.
11129 (POLL_ERR): Likewise.
11130 (POLL_PRI): Likewise.
11131 (POLL_HUP): Likewise.
11132 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11133 (ILL_ILLOPN): Likewise.
11134 (ILL_ILLADR): Likewise.
11135 (ILL_ILLTRP): Likewise.
11136 (ILL_PRVOPC): Likewise.
11137 (ILL_PRVREG): Likewise.
11138 (ILL_COPROC): Likewise.
11139 (ILL_BADSTK): Likewise.
11140 (FPE_INTDIV): Likewise.
11141 (FPE_INTOVF): Likewise.
11142 (FPE_FLTDIV): Likewise.
11143 (FPE_FLTOVF): Likewise.
11144 (FPE_FLTUND): Likewise.
11145 (FPE_FLTRES): Likewise.
11146 (FPE_FLTINV): Likewise.
11147 (FPE_FLTSUB): Likewise.
11148 (SEGV_MAPERR): Likewise.
11149 (SEGV_ACCERR): Likewise.
11150 (BUS_ADRALN): Likewise.
11151 (BUS_ADRERR): Likewise.
11152 (BUS_OBJERR): Likewise.
11153 (BUS_MCEERR_AR): Likewise.
11154 (BUS_MCEERR_AO): Likewise.
11155 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11156 (TRAP_TRACE): Likewise.
11157 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11158 __USE_XOPEN2K8].
11159 (CLD_KILLED): Likewise.
11160 (CLD_DUMPED): Likewise.
11161 (CLD_TRAPPED): Likewise.
11162 (CLD_STOPPED): Likewise.
11163 (CLD_CONTINUED): Likewise.
11164 (POLL_IN): Likewise.
11165 (POLL_OUT): Likewise.
11166 (POLL_MSG): Likewise.
11167 (POLL_ERR): Likewise.
11168 (POLL_PRI): Likewise.
11169 (POLL_HUP): Likewise.
11170 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11171 (ILL_ILLOPN): Likewise.
11172 (ILL_ILLADR): Likewise.
11173 (ILL_ILLTRP): Likewise.
11174 (ILL_PRVOPC): Likewise.
11175 (ILL_PRVREG): Likewise.
11176 (ILL_COPROC): Likewise.
11177 (ILL_BADSTK): Likewise.
11178 (FPE_INTDIV): Likewise.
11179 (FPE_INTOVF): Likewise.
11180 (FPE_FLTDIV): Likewise.
11181 (FPE_FLTOVF): Likewise.
11182 (FPE_FLTUND): Likewise.
11183 (FPE_FLTRES): Likewise.
11184 (FPE_FLTINV): Likewise.
11185 (FPE_FLTSUB): Likewise.
11186 (SEGV_MAPERR): Likewise.
11187 (SEGV_ACCERR): Likewise.
11188 (BUS_ADRALN): Likewise.
11189 (BUS_ADRERR): Likewise.
11190 (BUS_OBJERR): Likewise.
11191 (BUS_MCEERR_AR): Likewise.
11192 (BUS_MCEERR_AO): Likewise.
11193 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11194 (TRAP_TRACE): Likewise.
11195 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11196 __USE_XOPEN2K8].
11197 (CLD_KILLED): Likewise.
11198 (CLD_DUMPED): Likewise.
11199 (CLD_TRAPPED): Likewise.
11200 (CLD_STOPPED): Likewise.
11201 (CLD_CONTINUED): Likewise.
11202 (POLL_IN): Likewise.
11203 (POLL_OUT): Likewise.
11204 (POLL_MSG): Likewise.
11205 (POLL_ERR): Likewise.
11206 (POLL_PRI): Likewise.
11207 (POLL_HUP): Likewise.
11208 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11209 (ILL_ILLOPN): Likewise.
11210 (ILL_ILLADR): Likewise.
11211 (ILL_ILLTRP): Likewise.
11212 (ILL_PRVOPC): Likewise.
11213 (ILL_PRVREG): Likewise.
11214 (ILL_COPROC): Likewise.
11215 (ILL_BADSTK): Likewise.
11216 (ILL_DBLFLT): Likewise.
11217 (ILL_HARDWALL): Likewise.
11218 (FPE_INTDIV): Likewise.
11219 (FPE_INTOVF): Likewise.
11220 (FPE_FLTDIV): Likewise.
11221 (FPE_FLTOVF): Likewise.
11222 (FPE_FLTUND): Likewise.
11223 (FPE_FLTRES): Likewise.
11224 (FPE_FLTINV): Likewise.
11225 (FPE_FLTSUB): Likewise.
11226 (SEGV_MAPERR): Likewise.
11227 (SEGV_ACCERR): Likewise.
11228 (BUS_ADRALN): Likewise.
11229 (BUS_ADRERR): Likewise.
11230 (BUS_OBJERR): Likewise.
11231 (BUS_MCEERR_AR): Likewise.
11232 (BUS_MCEERR_AO): Likewise.
11233 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11234 (TRAP_TRACE): Likewise.
11235 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11236 __USE_XOPEN2K8].
11237 (CLD_KILLED): Likewise.
11238 (CLD_DUMPED): Likewise.
11239 (CLD_TRAPPED): Likewise.
11240 (CLD_STOPPED): Likewise.
11241 (CLD_CONTINUED): Likewise.
11242 (POLL_IN): Likewise.
11243 (POLL_OUT): Likewise.
11244 (POLL_MSG): Likewise.
11245 (POLL_ERR): Likewise.
11246 (POLL_PRI): Likewise.
11247 (POLL_HUP): Likewise.
11248 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11249 (ILL_ILLOPN): Likewise.
11250 (ILL_ILLADR): Likewise.
11251 (ILL_ILLTRP): Likewise.
11252 (ILL_PRVOPC): Likewise.
11253 (ILL_PRVREG): Likewise.
11254 (ILL_COPROC): Likewise.
11255 (ILL_BADSTK): Likewise.
11256 (FPE_INTDIV): Likewise.
11257 (FPE_INTOVF): Likewise.
11258 (FPE_FLTDIV): Likewise.
11259 (FPE_FLTOVF): Likewise.
11260 (FPE_FLTUND): Likewise.
11261 (FPE_FLTRES): Likewise.
11262 (FPE_FLTINV): Likewise.
11263 (FPE_FLTSUB): Likewise.
11264 (SEGV_MAPERR): Likewise.
11265 (SEGV_ACCERR): Likewise.
11266 (BUS_ADRALN): Likewise.
11267 (BUS_ADRERR): Likewise.
11268 (BUS_OBJERR): Likewise.
11269 (BUS_MCEERR_AR): Likewise.
11270 (BUS_MCEERR_AO): Likewise.
11271 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11272 (TRAP_TRACE): Likewise.
11273 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11274 __USE_XOPEN2K8].
11275 (CLD_KILLED): Likewise.
11276 (CLD_DUMPED): Likewise.
11277 (CLD_TRAPPED): Likewise.
11278 (CLD_STOPPED): Likewise.
11279 (CLD_CONTINUED): Likewise.
11280 (POLL_IN): Likewise.
11281 (POLL_OUT): Likewise.
11282 (POLL_MSG): Likewise.
11283 (POLL_ERR): Likewise.
11284 (POLL_PRI): Likewise.
11285 (POLL_HUP): Likewise.
11286 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11287 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11288
bc61d27c
JM
11289 [BZ #16670]
11290 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11291 before #include of <time.h>.
11292 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11293 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11294 (test-xfail-UNIX98/sched.h/conform): Likewise.
11295
302949e2
MS
112962014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11297
11298 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11299 error absence of trapping exception support.
11300 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11301
a00f522a
JM
113022014-03-07 Joseph Myers <joseph@codesourcery.com>
11303
6f99f280
JM
11304 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11305 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11306 * timezone/Makefile (testdata): Move definition above include of
11307 Rules.
11308 (test-zones): New variable.
11309 (tests-special): Add zone files.
11310 (build-testdata): Use $(evaluate-test).
11311
0b20a9e8
JM
11312 * elf/Makefile (tests-special): Rename tests to end with .out.
11313 ($(objpfx)noload-mem): Likewise.
11314 ($(objpfx)tst-leaks1-mem): Likewise.
11315 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11316 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11317 $(objpfx)test-iconvconfig.out.
11318 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11319 set -e inside subshell and redirect output to file.
11320 * iconvdata/Makefile (generated): Rename tests to end with .out.
11321 Correct type.
11322 (tests-special): Rename tests to end with .out.
11323 ($(objpfx)mtrace-tst-loading): Likewise.
11324 * intl/Makefile (generated): Likewise.
11325 (tests-special): Likewise.
11326 ($(objpfx)mtrace-tst-gettext): Likewise.
11327 * misc/Makefile (generated): Likewise.
11328 (tests-special): Likewise.
11329 ($(objpfx)tst-error1-mem): Likewise.
11330 * nptl/Makefile (tests-special): Likewise.
11331 ($(objpfx)tst-stack3-mem): Likewise.
11332 (generated): Likewise.
11333 * posix/Makefile (generated): Likewise.
11334 (tests-special): Likewise.
11335 (xtests-special): Likewise.
11336 ($(objpfx)tst-fnmatch-mem): Likewise.
11337 ($(objpfx)bug-regex2-mem): Likewise.
11338 ($(objpfx)bug-regex14-mem): Likewise.
11339 ($(objpfx)bug-regex21-mem): Likewise.
11340 ($(objpfx)bug-regex31-mem): Likewise.
11341 ($(objpfx)tst-vfork3-mem): Likewise.
11342 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11343 ($(objpfx)tst-pcre-mem): Likewise.
11344 ($(objpfx)tst-boost-mem): Likewise.
11345 ($(objpfx)bug-ga2-mem): Likewise.
11346 ($(objpfx)bug-glob2-mem): Likewise.
11347 * resolv/Makefile (generate): Likewise.
11348 (tests-special): Likewise.
11349 (xtests-special): Likewise.
11350 (generated): Likewise.
11351 ($(objpfx)mtrace-tst-leaks): Likewise.
11352 ($(objpfx)mtrace-tst-leaks2): Likewise.
11353
265d52ab
JM
11354 * scripts/merge-test-results.sh: New file.
11355 * Makefile (tests-special-notdir): New variable.
11356 (tests): Run merge-test-results.sh.
11357 (xtests): Likewise.
11358 * Rules (tests-special-notdir): New variable.
11359 (xtests-special-notdir): Likewise.
11360 (tests): Run merge-test-results.sh
11361 (xtests): Likewise.
11362
54ee292d
JM
11363 * Makeconfig (test-xfail-name): New variable.
11364 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11365 compute variable name for expected failures.
11366 * conform/Makefile (conformtest-headers-data): New variable.
11367 (conformtest-standards): Likewise.
11368 (conformtest-headers-ISO): Likewise.
11369 (conformtest-headers-ISO99): Likewise.
11370 (conformtest-headers-ISO11): Likewise.
11371 (conformtest-headers-POSIX): Likewise.
11372 (conformtest-headers-XPG3): Likewise.
11373 (conformtest-headers-XPG4): Likewise.
11374 (conformtest-headers-UNIX98): Likewise.
11375 (conformtest-headers-XOPEN2K): Likewise.
11376 (conformtest-headers-POSIX2008): Likewise.
11377 (conformtest-headers-XOPEN2K8): Likewise.
11378 (conformtest-header-list-base): Likewise.
11379 (conformtest-header-list-tests): Likewise.
11380 (conformtest-header-base): Likewise.
11381 (conformtest-header-tests): Likewise.
11382 (tests-special): Add $(conformtest-header-list-tests). If
11383 [$(fast-check) && !$(cross-compiling)], add
11384 $(conformtest-header-tests) instead of
11385 $(objpfx)run-conformtest.out.
11386 (generated): Add $(conformtest-header-list-base). If
11387 [$(fast-check) && !$(cross-compiling)], add
11388 $(conformtest-header-base). Remove previous setting.
11389 ($(conformtest-header-list-tests)): New target.
11390 (test-xfail-run-conformtest): Remove variable.
11391 ($(objpfx)run-conformtest.out): Remove target.
11392 (test-xfail-ISO11/complex.h/conform): New variable.
11393 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11394 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11395 (test-xfail-XPG3/varargs.h/conform): Likewise.
11396 (test-xfail-XPG4/varargs.h/conform): Likewise.
11397 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11398 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11399 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11400 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11401 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11402 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11403 (test-xfail-XPG3/ftw.h/conform): Likewise.
11404 (test-xfail-XPG3/grp.h/conform): Likewise.
11405 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11406 (test-xfail-XPG3/limits.h/conform): Likewise.
11407 (test-xfail-XPG3/pwd.h/conform): Likewise.
11408 (test-xfail-XPG3/search.h/conform): Likewise.
11409 (test-xfail-XPG3/signal.h/conform): Likewise.
11410 (test-xfail-XPG3/stdio.h/conform): Likewise.
11411 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11412 (test-xfail-XPG3/string.h/conform): Likewise.
11413 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11414 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11415 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11416 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11417 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11418 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11419 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11420 (test-xfail-XPG3/termios.h/conform): Likewise.
11421 (test-xfail-XPG3/time.h/conform): Likewise.
11422 (test-xfail-XPG3/unistd.h/conform): Likewise.
11423 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11424 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11425 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11426 (test-xfail-XPG4/netdb.h/conform): Likewise.
11427 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11428 (test-xfail-XPG4/signal.h/conform): Likewise.
11429 (test-xfail-XPG4/stdio.h/conform): Likewise.
11430 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11431 (test-xfail-XPG4/stropts.h/conform): Likewise.
11432 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11433 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11434 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11435 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11436 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11437 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11438 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11439 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11440 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11441 (test-xfail-XPG4/termios.h/conform): Likewise.
11442 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11443 (test-xfail-XPG4/unistd.h/conform): Likewise.
11444 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11445 (test-xfail-POSIX/sched.h/conform): Likewise.
11446 (test-xfail-POSIX/signal.h/conform): Likewise.
11447 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11448 (test-xfail-POSIX/tar.h/conform): Likewise.
11449 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11450 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11451 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11452 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11453 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11454 (test-xfail-UNIX98/sched.h/conform): Likewise.
11455 (test-xfail-UNIX98/signal.h/conform): Likewise.
11456 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11457 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11458 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11459 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11460 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11461 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11462 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11463 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11464 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11465 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11466 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11467 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11468 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11469 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11470 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11471 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11472 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11473 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11474 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11475 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11476 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11477 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11478 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11479 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11480 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11481 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11482 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11483 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11484 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11485 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11486 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11487 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11488 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11489 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11490 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11491 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11492 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11493 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11494 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11495 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11496 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11497 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11498 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11499 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11500 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11501 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11502 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11503 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11504 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11505 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11506 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11507 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11508 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11509 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11510 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11511 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11512 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11513 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11514 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11515 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11516 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11517 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11518 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11519 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11520 (conformtest-cc-flags): Likewise.
11521 ($(conformtest-header-tests): New target.
11522 * conform/check-header-lists.sh: New file.
11523 * conform/run-conformtest.sh: Remove.
11524
a00f522a
JM
11525 * conform/conformtest.pl: Allow ' and \ in values given for
11526 constants.
11527 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11528 inclusion.
11529 [POSIX] (sys/types.h): Likewise.
11530 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11531 inclusion.
11532 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11533 inclusion.
11534 * conform/data/signal.h-data (SIGIO): Remove expectation.
11535 [XPG3] (SIGBUS): Do not expect.
11536 [POSIX || XPG3] (SIGPOLL): Likewise.
11537 [POSIX || XPG3] (SIGPROF): Likewise.
11538 [POSIX || XPG3] (SIGSYS): Likewise.
11539 [XPG3] (SIGTRAP): Likewise.
11540 [POSIX || XPG3] (SIGURG): Likewise.
11541 [POSIX || XPG3] (SIGVTALRM): Likewise.
11542 [POSIX || XPG3] (SIGXCPU): Likewise.
11543 [POSIX || XPG3] (SIGXFSZ): Likewise.
11544 [POSIX] (SA_SIGINFO): Expect.
11545 [XPG3] (siginfo_t): Do not expect type or contents.
11546 [POSIX] (si_pid): Do not expect element.
11547 [POSIX] (si_uid): Likewise.
11548 [POSIX] (si_addr): Likewise.
11549 [POSIX] (si_status): Likewise.
11550 [POSIX] (si_band): Likewise.
11551 [XPG4] (si_value): Likewise.
11552 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11553 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11554 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11555 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11556 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11557 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11558 [POSIX || XPG3] (ILL_COPROC): Likewise.
11559 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11560 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11561 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11562 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11563 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11564 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11565 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11566 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11567 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11568 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11569 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11570 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11571 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11572 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11573 [POSIX || XPG3] (CLD_EXITED): Likewise.
11574 [POSIX || XPG3] (CLD_KILLED): Likewise.
11575 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11576 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11577 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11578 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11579 [POSIX || XPG3] (POLL_IN): Likewise.
11580 [POSIX || XPG3] (POLL_OUT): Likewise.
11581 [POSIX || XPG3] (POLL_MSG): Likewise.
11582 [POSIX || XPG3] (POLL_ERR): Likewise.
11583 [POSIX || XPG3] (POLL_PRI): Likewise.
11584 [POSIX || XPG3] (POLL_HUP): Likewise.
11585 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11586 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11587 (SIG*): Do not allow.
11588 [XPG3] (si_*): Likewise.
11589 [XPG3] (SI_*): Likewise.
11590 [XPG3 || XPG4] (sigev_*): Likewise.
11591 [XPG3 || XPG4] (SIGEV_*): Likewise.
11592 [XPG3 || XPG4] (sival_*): Likewise.
11593 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11594 [POSIX || XPG3] (BUS_*): Likewise.
11595 [POSIX || XPG3] (CLD_*): Likewise.
11596 [POSIX || XPG3] (FPE_*): Likewise.
11597 [POSIX || XPG3] (ILL_*): Likewise.
11598 [POSIX || XPG3] (POLL_*): Likewise.
11599 [POSIX || XPG3] (SEGV_*): Likewise.
11600 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11601 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11602 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11603 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11604 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11605 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11606 Specify type and value.
11607 (TVERSLEN): Likewise.
11608 (REGTYPE): Likewise.
11609 (AREGTYPE): Likewise.
11610 (LNKTYPE): Likewise.
11611 (SYMTYPE): Likewise.
11612 (CHRTYPE): Likewise.
11613 (BLKTYPE): Likewise.
11614 (DIRTYPE): Likewise.
11615 (FIFOTYPE): Likewise.
11616 (CONTTYPE): Likewise.
11617 (TSUID): Likewise.
11618 (TSGID): Likewise.
11619 (TSVTX): Likewise.
11620 (TUREAD): Likewise.
11621 (TUWRITE): Likewise.
11622 (TUEXEC): Likewise.
11623 (TGREAD): Likewise.
11624 (TGWRITE): Likewise.
11625 (TGEXEC): Likewise.
11626 (TOREAD): Likewise.
11627 (TOWRITE): Likewise.
11628 (TOEXEC): Likewise.
11629 [POSIX] (TSVTX): Expect constant.
11630
aa97dee1
JM
116312014-03-06 Joseph Myers <joseph@codesourcery.com>
11632
f214606a
JM
11633 * Makefile (tests): Change dependencies to ....
11634 (tests-special): ... additions to this variable.
11635 (tests): Depend on $(tests-special).
11636 * Makerules (check-abi-list): New variable.
11637 (check-abi): Depend on $(check-abi-list).
11638 [$(subdir) = elf] (tests-special): Add
11639 $(objpfx)check-abi-libc.out.
11640 [$(build-shared) = yes && subdir] (tests-special): Add
11641 $(check-abi-list).
11642 [$(build-shared) = yes && subdir] (tests): Do not depend on
11643 check-abi.
11644 * Rules (tests): Depend on $(tests-special).
11645 (xtests): Depend on $(xtests-special).
11646 * catgets/Makefile (tests): Change dependencies to ....
11647 (tests-special): ... additions to this variable.
11648 * conform/Makefile (tests): Change dependencies to ....
11649 (tests-special): ... additions to this variable.
11650 * elf/Makefile (tests): Change dependencies to ....
11651 (tests-special): ... additions to this variable.
11652 * grp/Makefile (tests): Change dependencies to ....
11653 (tests-special): ... additions to this variable.
11654 * iconv/Makefile (xtests): Change dependencies to ....
11655 (xtests-special): ... additions to this variable.
11656 * iconvdata/Makefile (tests): Change dependencies to ....
11657 (tests-special): ... additions to this variable.
11658 * intl/Makefile (tests): Change dependencies to ....
11659 (tests-special): ... additions to this variable. Also add
11660 $(objpfx)tst-gettext.out.
11661 * io/Makefile (tests): Change dependencies to ....
11662 (tests-special): ... additions to this variable.
11663 * libio/Makefile (tests): Change dependencies to ....
11664 (tests-special): ... additions to this variable.
11665 * malloc/Makefile (tests): Change dependencies to ....
11666 (tests-special): ... additions to this variable.
11667 * misc/Makefile (tests): Change dependencies to ....
11668 (tests-special): ... additions to this variable.
11669 * nptl/Makefile (tests): Change dependencies to ....
11670 (tests-special): ... additions to this variable.
11671 * nptl_db/Makefile (tests): Change dependencies to ....
11672 (tests-special): ... additions to this variable.
11673 * posix/Makefile (tests): Change dependencies to ....
11674 (tests-special): ... additions to this variable.
11675 (xtests): Change dependencies to ....
11676 (xtests-special): ... additions to this variable.
11677 * resolv/Makefile (tests): Change dependencies to ....
11678 (tests-special): ... additions to this variable.
11679 (xtests): Change dependencies to ....
11680 (xtests-special): ... additions to this variable.
11681 * stdio-common/Makefile (tests): Change dependencies to ....
11682 (tests-special): ... additions to this variable.
11683 (do-tst-unbputc): Remove target.
11684 (do-tst-printf): Likewise.
11685 * stdlib/Makefile (tests): Change dependencies to ....
11686 (tests-special): ... additions to this variable.
11687 * string/Makefile (tests): Change dependencies to ....
11688 (tests-special): ... additions to this variable.
11689 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11690 (tests-special): ... additions to this variable.
11691
81700b53
JM
11692 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11693 whole file.
11694 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11695 whole file.
11696 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11697 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11698
2ea18461
JM
11699 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11700 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11701 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11702 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11703 * conform/data/libgen.h-data [XPG3]: Likewise.
11704 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11705 * conform/data/ndbm.h-data [XPG3]: Likewise.
11706 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11707 * conform/data/netdb.h-data [XPG3]: Likewise.
11708 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11709 * conform/data/poll.h-data [XPG3]: Likewise.
11710 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11711 * conform/data/strings.h-data [XPG3]: Likewise.
11712 * conform/data/stropts.h-data [XPG3]: Likewise.
11713 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11714 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11715 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11716 Likewise.
11717 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11718 * conform/data/sys/time.h-data [XPG3]: Likewise.
11719 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11720 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11721 * conform/data/sys/un.h-data [XPG3]: Likewise.
11722 * conform/data/syslog.h-data [XPG3]: Likewise.
11723 * conform/data/ucontext.h-data [XPG3]: Likewise.
11724 * conform/data/utmpx.h-data [XPG3]: Likewise.
11725 * conform/data/varargs.h-data [UNIX98]: Enable file.
11726
355bc986
JM
11727 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11728
215db402
JM
11729 * math/libm-test.inc (struct test_f_f_data): Move expected results
11730 into structure for each rounding mode.
11731 (struct test_ff_f_data): Likewise.
11732 (struct test_ff_f_data_nexttoward): Likewise.
11733 (struct test_fi_f_data): Likewise.
11734 (struct test_fl_f_data): Likewise.
11735 (struct test_if_f_data): Likewise.
11736 (struct test_fff_f_data): Likewise.
11737 (struct test_c_f_data): Likewise.
11738 (struct test_f_f1_data): Likewise.
11739 (struct test_fF_f1_data): Likewise.
11740 (struct test_ffI_f1_data): Likewise.
11741 (struct test_c_c_data): Likewise.
11742 (struct test_cc_c_data): Likewise.
11743 (struct test_f_i_data): Likewise.
11744 (struct test_ff_i_data): Likewise.
11745 (struct test_f_l_data): Likewise.
11746 (struct test_f_L_data): Likewise.
11747 (struct test_fFF_11_data): Likewise.
11748 (RM_): New macro.
11749 (RM_FE_DOWNWARD): Likewise.
11750 (RM_FE_TONEAREST): Likewise.
11751 (RM_FE_TOWARDZERO): Likewise.
11752 (RM_FE_UPWARD): Likewise.
11753 (RUN_TEST_LOOP_f_f): Update references to expected results.
11754 (RUN_TEST_LOOP_2_f): Likewise.
11755 (RUN_TEST_LOOP_fff_f): Likewise.
11756 (RUN_TEST_LOOP_c_f): Likewise.
11757 (RUN_TEST_LOOP_f_f1): Likewise.
11758 (RUN_TEST_LOOP_fF_f1): Likewise.
11759 (RUN_TEST_LOOP_fI_f1): Likewise.
11760 (RUN_TEST_LOOP_ffI_f1): Likewise.
11761 (RUN_TEST_LOOP_c_c): Likewise.
11762 (RUN_TEST_LOOP_cc_c): Likewise.
11763 (RUN_TEST_LOOP_f_i): Likewise.
11764 (RUN_TEST_LOOP_f_i_tg): Likewise.
11765 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11766 (RUN_TEST_LOOP_f_b): Likewise.
11767 (RUN_TEST_LOOP_f_b_tg): Likewise.
11768 (RUN_TEST_LOOP_f_l): Likewise.
11769 (RUN_TEST_LOOP_f_L): Likewise.
11770 (RUN_TEST_LOOP_fFF_11): Likewise.
11771 * math/gen-libm-test.pl (parse_args): Output four copies of
11772 expected results for each test.
11773
67737b8f
JM
11774 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11775 (__ASSUME_UTIMES): Remove.
11776 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11777 (__ASSUME_UTIMES): Likewise.
11778
aa97dee1
JM
11779 * math/gen-auto-libm-tests.c: Update comment on output format.
11780 (output_for_one_input_case): Generate before-rounding and
11781 after-rounding information as conditions on output flags not
11782 floating-point format.
11783 * math/auto-libm-test-out: Regenerated.
11784 * math/gen-libm-test.pl (cond_value): New function.
11785 (or_cond_value): Use cond_value.
11786 (generate_testfile): Handle conditional exceptions.
11787
e6b6a857
JM
117882014-03-05 Joseph Myers <joseph@codesourcery.com>
11789
2f0a0f44
JM
11790 * math/libm-test.inc (max_valid_error): New variable.
11791 (init_max_error): Take new argument specifying whether function
11792 results are exactly determined. Set max_valid_error and bound
11793 other variables for errors based on this argument.
11794 (set_max_error): Do not record results above max_valid_error.
11795 (check_float_internal): Only accept errors of up to 0.5ulps if
11796 also at most max_valid_error.
11797 (START): Take new argument EXACT and pass it to init_max_error.
11798 (acos_test): Update call to START.
11799 (acos_test_tonearest): Likewise.
11800 (acos_test_towardzero): Likewise.
11801 (acos_test_downward): Likewise.
11802 (acos_test_upward): Likewise.
11803 (acosh_test): Likewise.
11804 (asin_test): Likewise.
11805 (asin_test_tonearest): Likewise.
11806 (asin_test_towardzero): Likewise.
11807 (asin_test_downward): Likewise.
11808 (asin_test_upward): Likewise.
11809 (asinh_test): Likewise.
11810 (atan_test): Likewise.
11811 (atanh_test): Likewise.
11812 (atan2_test): Likewise.
11813 (cabs_test): Likewise.
11814 (cacos_test): Likewise.
11815 (cacosh_test): Likewise.
11816 (carg_test): Likewise.
11817 (casin_test): Likewise.
11818 (casinh_test): Likewise.
11819 (catan_test): Likewise.
11820 (catanh_test): Likewise.
11821 (cbrt_test): Likewise.
11822 (ccos_test): Likewise.
11823 (ccosh_test): Likewise.
11824 (ceil_test): Likewise.
11825 (cexp_test): Likewise.
11826 (cimag_test): Likewise.
11827 (clog_test): Likewise.
11828 (clog10_test): Likewise.
11829 (conj_test): Likewise.
11830 (copysign_test): Likewise.
11831 (cos_test): Likewise.
11832 (cos_test_tonearest): Likewise.
11833 (cos_test_towardzero): Likewise.
11834 (cos_test_downward): Likewise.
11835 (cos_test_upward): Likewise.
11836 (cosh_test): Likewise.
11837 (cosh_test_tonearest): Likewise.
11838 (cosh_test_towardzero): Likewise.
11839 (cosh_test_downward): Likewise.
11840 (cosh_test_upward): Likewise.
11841 (cpow_test): Likewise.
11842 (cproj_test): Likewise.
11843 (creal_test): Likewise.
11844 (csin_test): Likewise.
11845 (csinh_test): Likewise.
11846 (csqrt_test): Likewise.
11847 (ctan_test): Likewise.
11848 (ctan_test_tonearest): Likewise.
11849 (ctan_test_towardzero): Likewise.
11850 (ctan_test_downward): Likewise.
11851 (ctan_test_upward): Likewise.
11852 (ctanh_test): Likewise.
11853 (ctanh_test_tonearest): Likewise.
11854 (ctanh_test_towardzero): Likewise.
11855 (ctanh_test_downward): Likewise.
11856 (ctanh_test_upward): Likewise.
11857 (erf_test): Likewise.
11858 (erfc_test): Likewise.
11859 (exp_test): Likewise.
11860 (exp_test_tonearest): Likewise.
11861 (exp_test_towardzero): Likewise.
11862 (exp_test_downward): Likewise.
11863 (exp_test_upward): Likewise.
11864 (exp10_test): Likewise.
11865 (exp10_test_tonearest): Likewise.
11866 (exp10_test_towardzero): Likewise.
11867 (exp10_test_downward): Likewise.
11868 (exp10_test_upward): Likewise.
11869 (pow10_test): Likewise.
11870 (exp2_test): Likewise.
11871 (expm1_test): Likewise.
11872 (expm1_test_tonearest): Likewise.
11873 (expm1_test_towardzero): Likewise.
11874 (expm1_test_downward): Likewise.
11875 (expm1_test_upward): Likewise.
11876 (fabs_test): Likewise.
11877 (fdim_test): Likewise.
11878 (floor_test): Likewise.
11879 (fma_test): Likewise.
11880 (fma_test_towardzero): Likewise.
11881 (fma_test_downward): Likewise.
11882 (fma_test_upward): Likewise.
11883 (fmax_test): Likewise.
11884 (fmin_test): Likewise.
11885 (fmod_test): Likewise.
11886 (fpclassify_test): Likewise.
11887 (frexp_test): Likewise.
11888 (hypot_test): Likewise.
11889 (ilogb_test): Likewise.
11890 (isfinite_test): Likewise.
11891 (finite_test): Likewise.
11892 (isgreater_test): Likewise.
11893 (isgreaterequal_test): Likewise.
11894 (isinf_test): Likewise.
11895 (isless_test): Likewise.
11896 (islessequal_test): Likewise.
11897 (islessgreater_test): Likewise.
11898 (isnan_test): Likewise.
11899 (isnormal_test): Likewise.
11900 (issignaling_test): Likewise.
11901 (isunordered_test): Likewise.
11902 (j0_test): Likewise.
11903 (j1_test): Likewise.
11904 (jn_test): Likewise.
11905 (ldexp_test): Likewise.
11906 (lgamma_test): Likewise.
11907 (gamma_test): Likewise.
11908 (lrint_test): Likewise.
11909 (lrint_test_tonearest): Likewise.
11910 (lrint_test_towardzero): Likewise.
11911 (lrint_test_downward): Likewise.
11912 (lrint_test_upward): Likewise.
11913 (llrint_test): Likewise.
11914 (llrint_test_tonearest): Likewise.
11915 (llrint_test_towardzero): Likewise.
11916 (llrint_test_downward): Likewise.
11917 (llrint_test_upward): Likewise.
11918 (log_test): Likewise.
11919 (log10_test): Likewise.
11920 (log1p_test): Likewise.
11921 (log2_test): Likewise.
11922 (logb_test): Likewise.
11923 (logb_test_downward): Likewise.
11924 (lround_test): Likewise.
11925 (llround_test): Likewise.
11926 (modf_test): Likewise.
11927 (nearbyint_test): Likewise.
11928 (nextafter_test): Likewise.
11929 (nexttoward_test): Likewise.
11930 (pow_test): Likewise.
11931 (pow_test_tonearest): Likewise.
11932 (pow_test_towardzero): Likewise.
11933 (pow_test_downward): Likewise.
11934 (pow_test_upward): Likewise.
11935 (remainder_test): Likewise.
11936 (drem_test): Likewise.
11937 (remainder_test_tonearest): Likewise.
11938 (drem_test_tonearest): Likewise.
11939 (remainder_test_towardzero): Likewise.
11940 (drem_test_towardzero): Likewise.
11941 (remainder_test_downward): Likewise.
11942 (drem_test_downward): Likewise.
11943 (remainder_test_upward): Likewise.
11944 (drem_test_upward): Likewise.
11945 (remquo_test): Likewise.
11946 (rint_test): Likewise.
11947 (rint_test_tonearest): Likewise.
11948 (rint_test_towardzero): Likewise.
11949 (rint_test_downward): Likewise.
11950 (rint_test_upward): Likewise.
11951 (round_test): Likewise.
11952 (scalb_test): Likewise.
11953 (scalbn_test): Likewise.
11954 (scalbln_test): Likewise.
11955 (signbit_test): Likewise.
11956 (sin_test): Likewise.
11957 (sin_test_tonearest): Likewise.
11958 (sin_test_towardzero): Likewise.
11959 (sin_test_downward): Likewise.
11960 (sin_test_upward): Likewise.
11961 (sincos_test): Likewise.
11962 (sinh_test): Likewise.
11963 (sinh_test_tonearest): Likewise.
11964 (sinh_test_towardzero): Likewise.
11965 (sinh_test_downward): Likewise.
11966 (sinh_test_upward): Likewise.
11967 (sqrt_test): Likewise.
11968 (sqrt_test_tonearest): Likewise.
11969 (sqrt_test_towardzero): Likewise.
11970 (sqrt_test_downward): Likewise.
11971 (sqrt_test_upward): Likewise.
11972 (tan_test): Likewise.
11973 (tan_test_tonearest): Likewise.
11974 (tan_test_towardzero): Likewise.
11975 (tan_test_downward): Likewise.
11976 (tan_test_upward): Likewise.
11977 (tanh_test): Likewise.
11978 (tgamma_test): Likewise.
11979 (trunc_test): Likewise.
11980 (y0_test): Likewise.
11981 (y1_test): Likewise.
11982 (yn_test): Likewise.
11983 (significand_test): Likewise.
11984
e6b6a857
JM
11985 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11986 individual tests in comment.
11987 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11988 (prev_max_error): New variable.
11989 (prev_real_max_error): Likewise.
11990 (prev_imag_max_error): Likewise.
11991 (compare_ulp_data): Don't refer to test names in comment.
11992 (find_test_ulps): Remove function.
11993 (find_function_ulps): Likewise.
11994 (find_complex_function_ulps): Likewise.
11995 (init_max_error): Take function name as argument. Look up ulps
11996 for that function.
11997 (print_ulps): Remove function.
11998 (print_max_error): Use prev_max_error instead of calling
11999 find_function_ulps.
12000 (print_complex_max_error): Use prev_real_max_error and
12001 prev_imag_max_error instead of calling find_complex_function_ulps.
12002 (check_float_internal): Take max_ulp parameter instead of calling
12003 find_test_ulps. Don't call print_ulps.
12004 (check_float): Update call to check_float_internal.
12005 (check_complex): Update calls to check_float_internal.
12006 (START): Pass argument to init_max_error.
12007 * math/gen-libm-test.pl (%results): Don't include "kind"
12008 information.
12009 (parse_ulps): Don't handle ulps of individual tests.
12010 (print_ulps_file): Likewise.
12011 (output_ulps): Likewise.
12012 * math/README.libm-test: Update.
12013 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12014 individual tests.
12015 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12016 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12017 * sysdeps/arm/libm-test-ulps: Likewise.
12018 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12019 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12020 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12021 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12022 * sysdeps/microblaze/libm-test-ulps: Likewise.
12023 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12024 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12025 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12026 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12027 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12028 * sysdeps/sh/libm-test-ulps: Likewise.
12029 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12030 * sysdeps/tile/libm-test-ulps: Likewise.
12031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12032
45adef3c
JM
120332014-03-04 Joseph Myers <joseph@codesourcery.com>
12034
12035 * math/libm-test.inc (print_complex_max_error): Check separately
12036 whether real and imaginary errors are within allowed range and
12037 pass 0 to print_complex_function_ulps instead of value within
12038 allowed range.
12039
000232b9
SP
120402014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12041
d4b17258
SP
12042 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12043 formatting.
12044 (get_handles_fopen): Likewise.
12045 (do_write_test): Likewise.
12046
091eff71
SP
12047 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12048
fa3cd248
SP
12049 * libio/fileops.c (do_ftell): Use cached offset when
12050 available.
12051 * libio/iofwide.c (do_ftell_wide): Likewise.
12052 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12053 _IO_file_attach.
12054 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12055
000232b9
SP
12056 [BZ #16532]
12057 * libio/libioP.h (get_file_offset): New function.
12058 * libio/fileops.c (get_file_offset): Likewise.
12059 (do_ftell): Likewise.
12060 (_IO_new_file_seekoff): Split out ftell logic.
12061 * libio/wfileops.c (do_ftell_wide): Likewise.
12062 (_IO_wfile_seekoff): Split out ftell logic.
12063 * libio/tst-ftell-active-handler.c: New test case.
12064 * libio/Makefile (tests): Add it.
12065
116f4d1a
RM
120662014-03-03 Roland McGrath <roland@hack.frob.com>
12067
12068 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12069 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12070
532a6035
SP
120712014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12072
12073 [BZ #16639]
12074 * nscd/connections.c (nscd_init): Call do_exit.
12075 (start_threads): Call do_exit and notify_parent.
12076 (begin_drop_privileges): Call do_exit.
12077 (finish_drop_privileges): Likewise.
12078 * nscd/selinux.c (preserve_capabilities): Likewise.
12079 (install_real_capabilities): Likewise.
12080 (nscd_selinux_enabled): Likewise.
12081 (avc_create_thread): Likewise.
12082 (avc_alloc_lock): Likewise.
12083 (nscd_avc_init): Likewise.
12084 * nscd/nscd.c (parent_fd): New static variable.
12085 (main): Create a pipe between parent and child processes.
12086 Skip closing parent_fd.
12087 (monitor_child): New function.
12088 (do_exit): Likewise.
12089 (notify_parent): Likewise.
12090 * nscd/nscd.h (notify_parent): Likewise.
12091 (do_exit): Likewise.
12092
d6285c9f
CD
120932014-03-03 Carlos O'Donell <carlos@redhat.com>
12094
12095 * malloc/malloc.c (__libc_calloc): Revert last change.
12096
2b85d2a0
AZ
120972014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12098
12099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12100
c7debbdf
RS
121012014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12102
12103 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12105 implementation.
12106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12107 (__libc_ifunc_impl_list): Likewise.
12108 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12109 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12110 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12111 * string/strrchr.c: Define STRRCHR.
12112
235eed86
OB
121132014-02-28 Ondřej Bílka <neleai@seznam.cz>
12114
12115 * benchtest/bench-strtok.c (simple_strtok): Delete.
12116 (strtok_string): Use as benchmark.
12117 * string/strtok (STRTOK): New macro.
12118
8e25d1e7
CD
121192014-02-28 Carlos O'Donell <carlos@redhat.com>
12120
ef563f92
CD
12121 * manual/threads.texi: Add header and standard comments to all
12122 functions.
12123
8e25d1e7
CD
12124 * elf/dl-lookup.c (check_match): New function.
12125 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12126 (do_lookup_x): Remove nested function check_match. Use non-nested
12127 function check_match.
12128
ff71cc37
RM
121292014-02-28 Roland McGrath <roland@hack.frob.com>
12130
f08e9a26
RM
12131 * csu/Makefile (generated, before-compile): Use += rather than =.
12132 * catgets/Makefile (generated, generated-dirs): Likewise.
12133 * debug/Makefile (generated): Likewise.
12134 * dlfcn/Makefile (generated): Likewise.
12135 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12136 * iconvdata/Makefile (before-compile, generated): Likewise.
12137 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12138 * libio/Makefile (generated): Likewise.
12139 * malloc/Makefile (generated): Likewise.
12140 * manual/Makefile (generated, generated-dirs): Likewise.
12141 * misc/Makefile (generated): Likewise.
12142 * posix/Makefile (generated): Likewise.
12143 * resolv/Makefile (generated): Likewise.
12144 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12145 * timezone/Makefile (generated, generated-dirs): Likewise.
12146
ff71cc37
RM
12147 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12148
fe13a20c
AZ
121492014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12150
57f41c40
AS
12151 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12152 power8 implementation.
12153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12154 file: POWER8 llround ifunc implementation.
12155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12156 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
12157 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12158 POWER8 llround implementation.
12159
57f41c40
AS
12160 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12161 power8 implementation.
12162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12163 file: POWER8 llrint ifunc implementation.
12164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12165 Add POWER8 implementation.
1ad8950a
AZ
12166 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12167 POWER8 llrint implementation.
12168
57f41c40
AS
12169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12170 power8 implementation.
12171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12172 file: POWER8 finite ifunc implementation.
12173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12174 Add POWER8 implementation.
cac626d6
AZ
12175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12176 Likewise.
12177 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12178 POWER8 finite implementation.
12179 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12180
57f41c40
AS
12181 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12182 power8 implementation.
12183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12184 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
12185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12186 POWER8 implementation.
12187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12188 Likewise.
57f41c40
AS
12189 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12190 isinf implementation.
4393fc11
AZ
12191 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12192
57f41c40
AS
12193 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12194 (INIT_ARCH): Add hwcap2 initialization.
12195 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12196 power8 implementation.
12197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12198 file: POWER8 isnan ifunc implementation.
487972ae
AZ
12199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12200 POWER8 implementation.
12201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12202 Likewise.
57f41c40
AS
12203 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12204 isnan implementation.
487972ae
AZ
12205 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12206
7d92b787
JY
122072014-02-27 Joey Ye <joey.ye@arm.com>
12208
12209 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12210 (_FP_NANFRAC_Q): Set to zero.
12211
1cadc858
SP
122122014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12213
12214 [BZ #16623]
12215 * math/auto-libm-test-in: New test inputs.
12216 * math/auto-libm-test-out: Regenerate.
12217 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12218 and DA.
12219 (__cos): Likewise.
12220 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12221
f8c17e79
JM
122222014-02-27 Joseph Myers <joseph@codesourcery.com>
12223
12224 * scripts/evaluate-test.sh: Take new argument indicating whether
12225 failure is expected.
12226 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12227 indicating whether failure is expected.
12228 * conform/Makefile (test-xfail-run-conformtest): New variable.
12229 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12230 level.
12231 * posix/Makefile (test-xfail-annexc): New variable.
12232 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12233
a5f891ac
JM
122342014-02-26 Joseph Myers <joseph@codesourcery.com>
12235
12236 * argp/Makefile: Include Makeconfig immediately after defining
12237 subdir.
12238 * assert/Makefile: Likewise.
12239 * benchtests/Makefile: Likewise.
12240 * catgets/Makefile: Likewise.
12241 * conform/Makefile: Likewise.
12242 * crypt/Makefile: Likewise.
12243 * csu/Makefile: Likewise.
12244 (all): Remove target.
12245 * ctype/Makefile: Include Makeconfig immediately after defining
12246 subdir.
12247 * debug/Makefile: Likewise.
12248 * dirent/Makefile: Likewise.
12249 * dlfcn/Makefile: Likewise.
12250 * gmon/Makefile: Likewise.
12251 * gnulib/Makefile: Likewise.
12252 * grp/Makefile: Likewise.
12253 * gshadow/Makefile: Likewise.
12254 * hesiod/Makefile: Likewise.
12255 * hurd/Makefile: Likewise.
12256 (all): Remove target.
12257 * iconvdata/Makefile: Include Makeconfig immediately after
12258 defining subdir.
12259 * inet/Makefile: Likewise.
12260 * intl/Makefile: Likewise.
12261 * io/Makefile: Likewise.
12262 * libio/Makefile: Likewise.
12263 (all): Remove target.
12264 * locale/Makefile: Include Makeconfig immediately after defining
12265 subdir.
12266 * login/Makefile: Likewise.
12267 * mach/Makefile: Likewise.
12268 (all): Remove target.
12269 * malloc/Makefile: Include Makeconfig immediately after defining
12270 subdir.
12271 (all): Remove target.
12272 * manual/Makefile: Include Makeconfig immediately after defining
12273 subdir.
12274 * math/Makefile: Likewise.
12275 * misc/Makefile: Likewise.
12276 * nis/Makefile: Likewise.
12277 * nss/Makefile: Likewise.
12278 * po/Makefile: Likewise.
12279 (all): Remove target.
12280 * posix/Makefile: Include Makeconfig immediately after defining
12281 subdir.
12282 * pwd/Makefile: Likewise.
12283 * resolv/Makefile: Likewise.
12284 * resource/Makefile: Likewise.
12285 * rt/Makefile: Likewise.
12286 * setjmp/Makefile: Likewise.
12287 * shadow/Makefile: Likewise.
12288 * signal/Makefile: Likewise.
12289 * socket/Makefile: Likewise.
12290 * soft-fp/Makefile: Likewise.
12291 * stdio-common/Makefile: Likewise.
12292 * stdlib/Makefile: Likewise.
12293 * streams/Makefile: Likewise.
12294 * string/Makefile: Likewise.
12295 * sunrpc/Makefile: Likewise.
12296 (all): Remove target.
12297 * sysvipc/Makefile: Include Makeconfig immediately after defining
12298 subdir.
12299 * termios/Makefile: Likewise.
12300 * time/Makefile: Likewise.
12301 * timezone/Makefile: Likewise.
12302 (all): Remove target.
12303 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12304 subdir.
12305 * wctype/Makefile: Likewise.
12306
5b456e9d
SE
123072014-02-26 Steve Ellcey <sellcey@mips.com>
12308
12309 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12310 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12311 (libc_feholdexcept_setround_mips): Ditto.
12312 (libc_feholdsetround): New.
12313 (libc_feholdsetroundf): New.
12314 (libc_feholdsetroundl): New.
12315 (libc_feupdateenv_test_mips): New.
12316 (libc_feupdateenv_test): New.
12317 (libc_feupdateenv_testf): New.
12318 (libc_feupdateenv_testl): New.
12319 (libc_feresetround): New.
12320 (libc_feresetroundf): New.
12321 (libc_feresetroundl): New.
12322 (libc_fetestexcept_mips): New.
12323 (libc_fetestexcept): New.
12324 (libc_fetestexceptf): New.
12325 (libc_fetestexceptl): New.
12326 (HAVE_RM_CTX): New.
12327 (libc_feholdexcept_setround_mips_ctx): New.
12328 (libc_feholdexcept_setround_ctx): New.
12329 (libc_feholdexcept_setroundf_ctx): New.
12330 (libc_feholdexcept_setroundl_ctx): New.
12331 (libc_fesetenv_mips_ctx): New.
12332 (libc_fesetenv_ctx): New.
12333 (libc_fesetenv_ctxf): New.
12334 (libc_fesetenv_ctxl): New.
12335 (libc_feupdateenv_mips_ctx): New.
12336 (libc_feupdateenv_ctx): New.
12337 (libc_feupdateenvf_ctx): New.
12338 (libc_feupdateenvl_ctx): New.
12339 (libc_feholdsetround_mips_ctx): New.
12340 (libc_feholdsetround_ctx): New.
12341 (libc_feholdsetroundf_ctx): New.
12342 (libc_feholdsetroundl_ctx): New.
12343 (libc_feresetround_mips_ctx): New.
12344 (libc_feresetround_ctx): New.
12345 (libc_feresetroundf_ctx): New.
12346 (libc_feresetroundl_ctx): New.
12347
085d0e35
CD
123482014-02-26 Carlos O'Donell <carlos@redhat.com>
12349
f067bf1f
CD
12350 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12351
085d0e35
CD
12352 * manual/ipc.texi: New file.
12353 * manual/Makefile (chapters): Add ipc.
12354 * manual/job.texi: Add "Inter-Process Communication" to next.
12355 * manual/process.texi: Add "Inter-Process Communication" to prev.
12356
86e58c08
AZ
123572014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12358
12359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12360
4248f0da
OB
123612014-02-26 Ondřej Bílka <neleai@seznam.cz>
12362
12363 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12364
cf822e3c
OB
12365 * manual/arith.texi: Fix spaces after sentences.
12366 * manual/charset.texi: Likewise.
12367 * manual/errno.texi: Likewise.
12368 * manual/install.texi: Likewise.
12369 * manual/llio.texi: Likewise.
12370 * manual/locale.texi: Likewise.
12371 * manual/maint.texi: Likewise.
12372 * manual/math.texi: Likewise.
12373 * manual/memory.texi: Likewise.
12374 * manual/message.texi: Likewise.
12375 * manual/probes.texi: Likewise.
12376 * manual/resource.texi: Likewise.
12377 * manual/signal.texi: Likewise.
12378 * manual/socket.texi: Likewise.
12379 * manual/stdio.texi: Likewise.
12380 * manual/string.texi: Likewise.
12381 * manual/time.texi: Likewise.
12382 * manual/users.texi: Likewise.
12383
ade40b10
CD
123842014-02-25 Carlos O'Donell <carlos@redhat.com>
12385
12386 [BZ #16632]
12387 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12388 _DEFAULT_SOURCE is defined.
12389
d0503676
CD
123902014-02-25 Ulrich Drepper <drepper@gmail.com>
12391 Carlos O'Donell <carlos@redhat.com>
12392
12393 [BZ #16613]
12394 * elf/dl-tls.c (_dl_count_modids): New function.
12395 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12396 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12397 audit library and increment generation counter.
12398 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12399 * elf/tst-audit9.c: New file.
12400 * elf/tst-auditmod9a.c: New file.
12401 * elf/tst-auditmod9b.c: New file.
12402 * elf/Makefile: Add rules to build and run tst-audit9.
12403
4cbf380c
FW
124042014-02-25 Florian Weimer <fweimer@redhat.com>
12405
12406 [BZ #15347]
12407 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12408
80a56cc3
WN
124092014-02-25 Will Newton <will.newton@linaro.org>
12410
12411 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12412 (__longjmp): Restore sp and lr before restoring callee
12413 saved registers. Add longjmp and longjmp_target
12414 SystemTap probe point.
12415 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12416 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12417 Define to zero to match jmpbuf layout.
12418 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12419 (__sigsetjmp): Save sp and lr before saving callee
12420 saved registers. Add setjmp SystemTap probe point.
12421
3ea0f74e
SL
124222014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12423
12424 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12425
b04acb26
AS
124262014-02-24 Andreas Schwab <schwab@suse.de>
12427
12428 [BZ #15804]
12429 * elf/pldd.c (wait_for_ptrace_stop): New function.
12430 (main): Call it after attaching.
12431
098ad55c
RM
124322014-02-22 Roland McGrath <roland@hack.frob.com>
12433
d4ec6ae1
RM
12434 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12435 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12436 Versions files is now verboten.
12437 * hurd/Versions (libc: GLIBC_2.0):
12438 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12439 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12440 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12441 * mach/Versions: Likewise.
12442
098ad55c
RM
12443 * csu/Versions: Remove unused %include.
12444 * resolv/Versions: Likewise.
12445
acd7f096
JM
124462014-02-21 Joseph Myers <joseph@codesourcery.com>
12447
f0881698
JM
12448 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12449 ($(objpfx)check-local-headers.out): Likewise.
12450 ($(objpfx)begin-end-check.out): Likewise.
12451 * Makerules (check-abi-%.out): Likewise.
12452 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12453 ($(objpfx)test2.cat): Likewise.
12454 ($(objpfx)de/libc.cat): Likewise.
12455 ($(objpfx)test-gencat.out): Likewise.
12456 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12457 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12458 ($(objpfx)noload-mem): Likewise.
12459 ($(objpfx)tst-pathopt.out): Likewise.
12460 ($(objpfx)tst-rtld-load-self.out): Likewise.
12461 ($(objpfx)tst-array1-cmp.out): Likewise.
12462 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12463 ($(objpfx)tst-array2-cmp.out): Likewise.
12464 ($(objpfx)tst-array3-cmp.out): Likewise.
12465 ($(objpfx)tst-array4-cmp.out): Likewise.
12466 ($(objpfx)tst-array5-cmp.out): Likewise.
12467 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12468 ($(objpfx)check-textrel.out): Likewise.
12469 ($(objpfx)check-execstack.out): Likewise.
12470 ($(objpfx)check-localplt.out): Likewise.
12471 ($(objpfx)order2-cmp.out): Likewise.
12472 ($(objpfx)tst-leaks1-mem): Likewise.
12473 ($(objpfx)tst-leaks1-static-mem): Likewise.
12474 ($(objpfx)tst-initorder-cmp.out): Likewise.
12475 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12476 ($(objpfx)tst-unused-dep.out): Likewise.
12477 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12478 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12479 * iconv/Makefile (test-iconvconfig): Likewise.
12480 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12481 ($(objpfx)iconv-test.out): Likewise.
12482 ($(objpfx)tst-tables.out): Likewise.
12483 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12484 ($(objpfx)tst-gettext.out): Likewise.
12485 ($(objpfx)tst-translit.out): Likewise.
12486 ($(objpfx)tst-gettext2.out): Likewise.
12487 ($(objpfx)tst-gettext4.out): Likewise.
12488 ($(objpfx)tst-gettext6.out): Likewise.
12489 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12490 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12491 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12492 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12493 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12494 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12495 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12496 ($(objpfx)wordexp-tst.out): Likewise.
12497 ($(objpfx)annexc.out): Likewise.
12498 ($(objpfx)tst-fnmatch-mem): Likewise.
12499 ($(objpfx)bug-regex2-mem): Likewise.
12500 ($(objpfx)bug-regex14-mem): Likewise.
12501 ($(objpfx)bug-regex21-mem): Likewise.
12502 ($(objpfx)bug-regex31-mem): Likewise.
12503 ($(objpfx)tst-vfork3-mem): Likewise.
12504 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12505 ($(objpfx)tst-pcre-mem): Likewise.
12506 ($(objpfx)tst-boost-mem): Likewise.
12507 ($(objpfx)tst-getconf.out): Likewise.
12508 ($(objpfx)bug-ga2-mem): Likewise.
12509 ($(objpfx)bug-glob2-mem): Likewise.
12510 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12511 ($(objpfx)mtrace-tst-leaks2): Likewise.
12512 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12513 ($(objpfx)tst-printf.out): Likewise.
12514 ($(objpfx)tst-setvbuf1.out): Likewise.
12515 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12516 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12517 ($(objpfx)tst-fmtmsg.out): Likewise.
12518 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12519 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12520
acd7f096
JM
12521 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12522 * bits/sigaction.h [__USE_MISC]: Likewise.
12523 * bits/waitstatus.h: Update #endif comments.
12524 * ctype/ctype.h: Likewise.
12525 * dirent/dirent.h: Likewise.
12526 [__USE_MISC]: Remove redundant conditionals.
12527 * grp/grp.h: Update #endif comments.
12528 [__USE_GNU]: Remove redundant conditionals.
12529 [__USE_MISC]: Likewise.
12530 * inet/netinet/in.h [__USE_GNU]: Likewise.
12531 * io/sys/stat.h [__USE_MISC]: Likewise.
12532 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12533 * libio/bits/stdio.h: Update #endif comments.
12534 [__USE_MISC]: Remove redundant conditionals.
12535 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12536 * libio/stdio.h: Update #endif comments.
12537 [__USE_MISC]: Remove redundant conditionals.
12538 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12539 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12540 * math/math.h: Update #else and #endif comments.
12541 [__USE_MISC]: Remove redundant conditionals.
12542 * misc/sys/uio.h: Update #endif comments.
12543 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12544 * posix/glob.h [__USE_MISC]: Likewise.
12545 * posix/sys/types.h: Update #endif comments.
12546 [__USE_MISC]: Remove redundant conditionals.
12547 * posix/sys/wait.h: Update #endif comments.
12548 [__USE_MISC]: Remove redundant conditionals.
12549 * posix/unistd.h: Update #endif comments.
12550 [__USE_MISC]: Remove redundant conditionals.
12551 * pwd/pwd.h [__USE_GNU]: Likewise.
12552 [__USE_MISC]: Likewise.
12553 * resolv/netdb.h [__USE_GNU]: Likewise.
12554 * signal/signal.h: Update #endif comments.
12555 [__USE_MISC]: Remove redundant conditionals.
12556 * stdlib/stdlib.h: Update #else and #endif comments.
12557 [__USE_MISC]: Remove redundant conditionals.
12558 [__USE_GNU]: Likewise.
12559 * string/bits/string2.h [__USE_MISC]: Likewise.
12560 * string/string.h: Update #endif comments.
12561 [__USE_MISC]: Remove redundant conditionals.
12562 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12563 Likewise.
12564 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12565 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12566 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12567 Likewise.
12568 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12569 Likewise.
12570 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12571 comments.
12572 [__USE_MISC]: Remove redundant conditionals.
12573 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12574 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12575 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12576 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12577 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12578 Likewise.
12579 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12580 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12581 Likewise.
12582 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12583 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12584 Likewise.
12585 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12586 Likewise.
12587 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12588 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12589 Likewise.
12590 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12591 Likewise.
12592 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12593 * sysdeps/x86/bits/string.h: Update #endif comments.
12594 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12595 conditionals.
12596 * time/sys/time.h: Update #endif comments.
12597 * time/time.h: Likewise.
12598 [__USE_MISC]: Remove redundant conditionals.
12599
a5d82e4e
YG
126002014-02-21 Yury Gribov <y.gribov@samsung.com>
12601
12602 [BZ #16600]
12603 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12604
9a80491d
AS
126052014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12606
12607 * Versions.def (librt): Add GLIBC_2.17.
12608
105fa381
AC
126092014-02-21 Adam Conrad <adconrad@0c3.net>
12610
12611 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12612 synonym for _SYS_AUXV_H to allow direct inclusion.
12613 * sysdeps/sparc/bits/hwcap.h: Likewise.
12614 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12615 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12616 * sysdeps/sparc/sysdep.h: Likewise.
12617
b8cd1c4e
SP
126182014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12619
12620 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12621
bd939d23
RS
126222014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12623
12624 * benchtests/bench-strrchr.c: Print length instead of position.
12625
5d7b57ca
JM
126262014-02-20 Joseph Myers <joseph@codesourcery.com>
12627
bc688c10
JM
12628 [BZ #16611]
12629 * sysdeps/unix/sysv/linux/kernel-features.h
12630 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12631 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12632 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12633 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12634 Likewise.
12635 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12636 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12637 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12638 (__ASSUME_SENDMMSG): Define instead of using previous
12639 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12640 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12641 (__ASSUME_SENDMMSG_SYSCALL): Define.
12642 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12643 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12644 Likewise.
12645 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12646 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12647 Likewise.
12648 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12649 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12650 Likewise.
12651 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12652 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12653 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12654 [__ASSUME_SENDMMSG]: Change conditionals to
12655 [__ASSUME_SENDMMSG_SOCKETCALL].
12656 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12657 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12658 Define.
12659 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12660 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12661 Likewise.
12662 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12663 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12664 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12665 [!__ASSUME_SENDMMSG]: Change conditional to
12666 [!__ASSUME_SENDMMSG_SOCKETCALL].
12667 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12668 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12669 Define.
12670
0e31b18c
JM
12671 [BZ #16610]
12672 * sysdeps/unix/sysv/linux/kernel-features.h
12673 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12674 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12675 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12676 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12677 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12678 [__i386__ || __sparc__]
12679 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12680 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12681 (__ASSUME_RECVMMSG): Define instead of using previous
12682 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12683 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12684 (__ASSUME_RECVMMSG_SYSCALL): Define.
12685 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12686 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12687 Likewise.
12688 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12689 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12690 Likewise.
12691 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12692 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12693 Likewise.
12694 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12695 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12696 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12697 [__ASSUME_RECVMMSG]: Change condition to
12698 [__ASSUME_RECVMMSG_SOCKETCALL].
12699 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12700 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12701 Define.
12702 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12703 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12704 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12705 Likewise.
12706 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12707 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12708 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12709 [!__ASSUME_RECVMMSG]: Change condition to
12710 [!__ASSUME_RECVMMSG_SOCKETCALL].
12711 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12712 (__ASSUME_RECVMMSG_SYSCALL): Define.
12713
dd481ccf
JM
12714 [BZ #16609]
12715 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12716 __powerpc__ || __s390__ || __sh__ || __sparc__]
12717 (__ASSUME_SOCKETCALL): Define.
12718 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12719 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12720 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12721 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12722 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12723 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12724 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12725 (__ASSUME_ACCEPT4): Define instead of using previous
12726 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12727 __powerpc__ || __sparc__ || __s390__)] condition.
12728 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12729 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12730 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12731 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12732 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12733 [!__ASSUME_ACCEPT4]: Change condition to
12734 [!__ASSUME_ACCEPT4_SOCKETCALL].
12735 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12736 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12737 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12738 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12739 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12740 __ASSUME_ACCEPT4_SYSCALL.
12741 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12742 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12743 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12744 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12745 __ASSUME_ACCEPT4_SYSCALL.
12746 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12747 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12748 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12749 [__ASSUME_ACCEPT4]: Change condition to
12750 [__ASSUME_ACCEPT4_SOCKETCALL].
12751 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12752 (__ASSUME_SOCKETCALL): Define.
12753 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12754 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12755 (__ASSUME_SOCKETCALL): Define.
12756 (__ASSUME_ACCEPT4): Remove.
12757 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12758 Define.
12759 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12760 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12761 Likewise.
12762 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12763 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12764
5d7b57ca
JM
12765 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12766 macro.
12767 (HWCAP_ARM_LPAE): Likewise.
12768 (HWCAP_ARM_EVTSTRM): Likewise.
12769 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12770 Add vpfd32, lpae and evtstrm.
12771 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12772 Increase to 22.
12773
63689d61
JM
127742014-02-19 Joseph Myers <joseph@codesourcery.com>
12775
12776 * math/auto-libm-test-in: Add tests of clog10.
12777 * math/auto-libm-test-out: Regenerated.
12778 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12779 * sysdeps/i386/fpu/libm-test-ulps: Update.
12780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12781
ab09bf61
AS
127822014-02-18 Andreas Schwab <schwab@suse.de>
12783
12784 [BZ #16574]
12785 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12786 Store non-zero if the second buffer was newly allocated.
12787 (send_dg): Likewise.
12788 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12789 to send_vc and send_dg.
12790 (res_nsend): Pass NULL for ansp2_malloced.
12791 * resolv/res_query.c (__libc_res_nquery): Add parameter
12792 answerp2_malloced and pass it down to __libc_res_nsend.
12793 (res_nquery): Pass additional NULL to __libc_res_nquery.
12794 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12795 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12796 second answer buffer if answerp2_malloced was set.
12797 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12798 (__libc_res_nquerydomain): Add parameter
12799 answerp2_malloced and pass it down to __libc_res_nquery.
12800 (res_nquerydomain): Pass additional NULL to
12801 __libc_res_nquerydomain.
12802 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12803 additional NULL to __libc_res_nsend and __libc_res_nquery.
12804 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12805 additional NULL to __libc_res_nsearch.
12806 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12807 parameter of __libc_res_nsearch to check for separately allocated
12808 second buffer.
12809 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12810 __libc_res_nquery.
12811 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12812 additional NULL to __libc_res_nquery.
12813 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12814 __libc_res_nsearch.
12815 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12816 * include/resolv.h: Update prototypes of __libc_res_nquery,
12817 __libc_res_nsearch, __libc_res_nsend.
12818
a4fb7861
JM
128192014-02-18 Joseph Myers <joseph@codesourcery.com>
12820
c6af2d89
JM
12821 * math/auto-libm-test-in: Add tests of fma.
12822 * math/auto-libm-test-out: Regenerated.
12823 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12824 (fma_towardzero_test_data): Likewise.
12825 (fma_downward_test_data): Likewise.
12826 (fma_upward_test_data): Likewise.
12827 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12828 mpc_mode.
12829 (rounding_modes): Add values for new field.
12830 (func_calc_method): Add value mpfr_fff_f.
12831 (func_calc_desc): Add mpfr_fff_f union field.
12832 (test_function): Add field exact_args.
12833 (FUNC): Add macro argument EXACT_ARGS.
12834 (FUNC_mpfr_f_f): Update call to FUNC.
12835 (FUNC_mpfr_f_f): Likewise.
12836 (FUNC_mpfr_ff_f): Likewise.
12837 (FUNC_mpfr_if_f): Likewise.
12838 (FUNC_mpc_c_f): Likewise.
12839 (FUNC_mpc_c_c): Likewise.
12840 (test_functions): Add fma. Update calls to FUNC.
12841 (handle_input_arg): Add argument exact_args.
12842 (add_test): Update call to handle_input_arg.
12843 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12844 (output_for_one_input_case): Update call to calc_generic_results.
12845 Recalculate exact zero results in each rounding mode.
12846
a4fb7861
JM
12847 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12848 non-negative before setting low bit.
12849 * math/auto-libm-test-in: Mark one asin test possibly having
12850 spurious underflow.
12851 * math/auto-libm-test-out: Regenerated.
12852 * sysdeps/i386/fpu/libm-test-ulps: Update.
12853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12854
ef114eaf
DH
128552014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12856
2b7f4f2c
SP
12857 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12858 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12859 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
12860 * README: Add missing listing for microblaze*-*-linux-gnu.
12861
8125aedc
AM
128622014-02-16 Ondřej Bílka <neleai@seznam.cz>
12863
12864 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12865 duplicate code
12866
c70a4b1d
MF
128672014-02-16 Mike Frysinger <vapier@gentoo.org>
12868
12869 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12870 * sysdeps/unix/sysv/linux/ia64: Move directory from
12871 ports/sysdeps/unix/sysv/linux/ia64.
12872 * README: Update listing for ia64-*-linux-gnu.
12873
591aeaf7
TD
128742014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12875 Joseph Myers <joseph@codesourcery.com>
12876
12877 * Makeconfig (test-name): New variable.
12878 (evaluate-test): Likewise.
12879 * Makerules (do-test-clean): Remove .test-result files.
12880 (common-mostlyclean): Likewise.
12881 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12882 * scripts/evaluate-test.sh: New file.
12883
6e89caf1
JM
128842014-02-14 Joseph Myers <joseph@codesourcery.com>
12885
7f98f180
JM
12886 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12887 separate $(objpfx)tst-fopenloc-cmp.out and
12888 $(objpfx)tst-fopenloc-mem.out targets.
12889 (tests): Update dependencies.
12890 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12891 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12892 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12893 (tst-rxspencer-no-utf8-ARGS): New variable.
12894 (tst-rxspencer-no-utf8-ENV): Likewise.
12895 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12896 instead of $(objpfx)tst-rxspencer-mem.
12897 ($(objpfx)tst-rxspencer-mem): Change target to
12898 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12899 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12900 * posix/tst-rxspencer-no-utf8.c: New file.
12901
6e89caf1
JM
12902 * elf/Makefile ($(objpfx)order.out): Remove rule.
12903 [$(run-built-tests) = yes] (tests): Depend on
12904 $(objpfx)order-cmp.out.
12905 ($(objpfx)order-cmp.out): New rule.
12906 [$(run-built-tests) = yes] (tests): Depend on
12907 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12908 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12909 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12910 $(objpfx)tst-array5-static-cmp.out.
12911 ($(objpfx)tst-array1.out): Remove rule.
12912 ($(objpfx)tst-array1-cmp.out): New rule.
12913 ($(objpfx)tst-array1-static.out): Remove rule.
12914 ($(objpfx)tst-array1-static-cmp.out): New rule.
12915 ($(objpfx)tst-array2.out): Remove rule.
12916 ($(objpfx)tst-array2-cmp.out): New rule.
12917 ($(objpfx)tst-array3.out): Remove rule.
12918 ($(objpfx)tst-array3-cmp.out): New rule.
12919 ($(objpfx)tst-array4.out): Remove rule.
12920 ($(objpfx)tst-array4-cmp.out): New rule.
12921 ($(objpfx)tst-array5.out): Remove rule.
12922 ($(objpfx)tst-array5-cmp.out): New rule.
12923 ($(objpfx)tst-array5-static.out): Remove rule.
12924 ($(objpfx)tst-array5-static-cmp.out): New rule.
12925 [$(run-built-tests) = yes] (tests): Depend on
12926 $(objpfx)order2-cmp.out.
12927 ($(objpfx)order2.out): Remove rule.
12928 ($(objpfx)order2-cmp.out): New rule.
12929 ($(objpfx)tst-initorder.out): Remove rule.
12930 [$(run-built-tests) = yes] (tests): Depend on
12931 $(objpfx)tst-initorder-cmp.out.
12932 ($(objpfx)tst-initorder-cmp.out): New rule.
12933 ($(objpfx)tst-initorder2.out): Remove rule.
12934 [$(run-built-tests) = yes] (tests): Depend on
12935 $(objpfx)tst-initorder2-cmp.out.
12936 ($(objpfx)tst-initorder2-cmp.out): New rule.
12937 [$(run-built-tests) = yes] (tests): Depend on
12938 $(objpfx)tst-unused-dep-cmp.out.
12939 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12940 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12941 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12942 on $(objpfx)tst-setvbuf1-cmp.out.
12943 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12944 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12945 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12946 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12947 ($(objpfx)tst-svc.out): Remove rule.
12948 ($(objpfx)tst-svc-cmp.out): New rule.
12949
ed9a38e2
JM
129502014-02-13 Joseph Myers <joseph@codesourcery.com>
12951
12952 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12953 * ctype/ctype.h [__USE_MISC]: Likewise.
12954 * dirent/dirent.h [__USE_MISC]: Likewise.
12955 * grp/grp.h [__USE_MISC]: Likewise.
12956 * io/fcntl.h [__USE_MISC]: Likewise.
12957 * io/sys/stat.h [__USE_MISC]: Likewise.
12958 * libio/stdio.h [__USE_MISC]: Likewise.
12959 * posix/unistd.h [__USE_MISC]: Likewise.
12960 * pwd/pwd.h [__USE_MISC]: Likewise.
12961 * stdlib.h [__USE_MISC]: Likewise.
12962 * string/bits/string2.h [__USE_MISC]: Likewise.
12963 * string/string.h [__USE_MISC]: Likewise.
12964 * time/time.h [__USE_MISC]: Likewise.
12965
d6680619
AS
129662014-02-13 Andreas Schwab <schwab@suse.de>
12967
12968 [BZ #16574]
12969 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12970 second answer buffer if it was separately allocated.
12971
ace614b8
JM
129722014-02-12 Joseph Myers <joseph@codesourcery.com>
12973
743151ae
JM
12974 * sysdeps/mips/math-tests.h: Include <features.h>.
12975 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12976 (ROUNDING_TESTS_long_double): Do not define.
12977 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12978 (EXCEPTION_TESTS_long_double): Likewise.
12979 * sysdeps/mips/mips64/libm-test-ulps: Update.
12980
498afc54
JM
12981 * include/features.h (__USE_BSD): Remove macro definitions.
12982 (__USE_SVID): Likewise.
12983 (_BSD_SOURCE): Likewise.
12984 (_SVID_SOURCE): Likewise.
12985 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12986 from definition of _DEFAULT_SOURCE.
12987 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12988 [_DEFAULT_SOURCE].
12989 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12990 * bits/mman.h [__USE_BSD]: Likewise.
12991 * bits/termios.h [__USE_BSD]: Likewise.
12992 * bits/waitstatus.h [__USE_BSD]: Likewise.
12993 * ctype/ctype.h [__USE_SVID]: Likewise.
12994 * dirent/dirent.h [__USE_BSD]: Likewise.
12995 * grp/grp.h [__USE_SVID]: Likewise.
12996 [__USE_BSD]: Likewise.
12997 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12998 * io/fcntl.h [__USE_BSD]: Likewise.
12999 * io/ftw.h [__USE_BSD]: Likewise.
13000 * io/sys/stat.h [__USE_BSD]: Likewise.
13001 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13002 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13003 * libio/stdio.h [__USE_SVID]: Likewise.
13004 [__USE_BSD]: Likewise.
13005 * math/math.h [__USE_SVID]: Likewise.
13006 [__USE_BSD]: Likewise.
13007 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13008 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13009 * misc/search.h [__USE_SVID]: Likewise.
13010 * misc/sys/mman.h [__USE_BSD]: Likewise.
13011 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13012 * misc/sys/uio.h [__USE_BSD]: Likewise.
13013 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13014 * posix/glob.h [__USE_BSD]: Likewise.
13015 * posix/regex.h [__USE_BSD]: Likewise.
13016 * posix/sys/types.h [__USE_BSD]: Likewise.
13017 [__USE_SVID]: Likewise.
13018 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13019 * posix/sys/wait.h [__USE_BSD]: Likewise.
13020 [__USE_SVID]: Likewise.
13021 * posix/unistd.h [__USE_BSD]: Likewise.
13022 [__USE_SVID]: Likewise.
13023 * pwd/pwd.h [__USE_SVID]: Likewise.
13024 * resolv/netdb.h [__USE_BSD]: Likewise.
13025 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13026 * signal/signal.h [__USE_BSD]: Likewise.
13027 [__USE_SVID]: Likewise.
13028 * socket/sys/socket.h [__USE_BSD]: Likewise.
13029 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13030 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13031 [__USE_SVID]: Likewise.
13032 * string/bits/string2.h [__USE_BSD]: Likewise.
13033 [__USE_SVID]: Likewise.
13034 * string/bits/string3.h [__USE_BSD]: Likewise.
13035 * string/endian.h [__USE_BSD]: Likewise.
13036 * string/string.h [__USE_SVID]: Likewise.
13037 [__USE_BSD]: Likewise.
13038 * string/strings.h [__USE_BSD]: Likewise.
13039 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13040 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13041 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13042 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13043 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13044 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13045 Likewise.
13046 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13047 Likewise.
13048 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13049 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13050 Likewise.
13051 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13052 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13053 Likewise.
13054 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13055 Likewise.
13056 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13057 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13058 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13059 Likewise.
13060 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13061 Likewise.
13062 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13063 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13064 * termios/termios.h [__USE_BSD]: Likewise.
13065 * time/sys/time.h [__USE_BSD]: Likewise.
13066 * time/time.h [__USE_BSD]: Likewise.
13067 [__USE_SVID]: Likewise.
13068
dd7b064c
JM
13069 * Makefile (subdir_targets): Remove subdir_lint.out.
13070
a2c4c199
JM
13071 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13072 (do-tst-printf): Likewise.
13073 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13074 $(objpfx)tst-printf.out.
13075
8756f740
JM
13076 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13077
1b6dd3f1
JM
13078 * Makerules (check-abi-%): Change target to
13079 $(objpfx)check-abi-%.out.
13080 (check-abi target): Update dependencies.
13081 (check-abi-pattern variable): Redirect output of diff to $@.
13082 (check-abi variable): Likewise.
13083 * elf/Makefile (check-abi): Update dependencies.
13084
ace614b8
JM
13085 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13086 unused.
13087 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13088 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13089 subnormal range.
13090 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13091 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13092 value has largest subnormal exponent.
13093 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13094 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13095 * sysdeps/aarch64/soft-fp/sfp-machine.h
13096 (_FP_TININESS_AFTER_ROUNDING): New macro.
13097 * sysdeps/alpha/soft-fp/sfp-machine.h
13098 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13099 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13100 Likewise.
13101 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13102 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13103 * sysdeps/mips/soft-fp/sfp-machine.h
13104 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13105 * sysdeps/powerpc/soft-fp/sfp-machine.h
13106 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13107 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13108 Likewise.
13109 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13110 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13111 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13112 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13113 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13114 Likewise.
13115
fbfdf9cb
DAS
131162014-02-12 Dylan Alex Simon <dylan@dylex.net>
13117
13118 [BZ #16545]
13119 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13120 model 1.
13121
68b7efaa
RH
131222014-02-12 Richard Henderson <rth@redhat.com>
13123
c70a4b1d 13124 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
13125 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13126 * sysdeps/unix/sysv/linux/alpha: Move directory from
13127 ports/sysdeps/unix/sysv/linux/alpha.
13128 * README: Update listing for alpha-*-linux-gnu.
13129
cb4a2928
JM
131302014-02-11 Joseph Myers <joseph@codesourcery.com>
13131
c941736c
JM
13132 * include/features.h: Update comment documenting feature test
13133 macros.
13134 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13135 _DEFAULT_SOURCE.
13136 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13137 (_SVID_SOURCE): Likewise.
13138 (_DEFAULT_SOURCE): Update description of default features.
13139 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13140 with _GNU_SOURCE.
13141 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13142 (S_ISVTX): Likewise.
13143 * manual/math.texi (Mathematical Constants): Likewise.
13144 * manual/signal.texi (Interrupted Primitives): Likewise.
13145 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13146 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13147 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13148 Don't refer to _SVID_SOURCE in warning text.
13149
e8d8d7ec
JM
13150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13151
cb4a2928
JM
13152 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13153 already defined.
13154 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13155 * sysdeps/mips/dl-lookup.c: Remove.
13156 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13157
7e6424e3
AK
131582014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13159
13160 [BZ #16447]
13161 * math/auto-libm-test-in: Add testcase for expl.
13162 * math/auto-libm-test-out: Regenerate.
13163 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13164 calculation of unsafe.
13165 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13166
75eff3fe
MS
131672014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13168
13169 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13170 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13171 ports/sysdeps/unix/sysv/linux/aarch64.
13172 * README: Update listing for aarch64*-*-linux-gnu.
13173
d35f1e80
WN
131742014-02-11 Will Newton <will.newton@linaro.org>
13175
13176 * manual/probes.texi (Mathematical Function Probes): Use
13177 "triggered" instead of "hit".
13178
7b3436d4
WN
13179 * manual/probes.texi (Internal Probes): Add documentation
13180 of setjmp, longjmp and longjmp_target probes.
13181
b4f12ca3
WN
13182 * include/stap-probe.h: Add comment about probe argument
13183 format.
13184
c13a72b7
WN
13185 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13186 definition. (tr_where, tr_freehook, tr_mallochook,
13187 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13188
195b8165
DM
131892014-02-11 David S. Miller <davem@davemloft.net>
13190
13191 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13192 processing int_tests.
13193
2ad7600b
JM
131942014-02-10 Joseph Myers <joseph@codesourcery.com>
13195
13196 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13197 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13198 * sysdeps/unix/sysv/linux/mips: Move directory from
13199 ports/sysdeps/unix/sysv/linux/mips.
13200 * README: Update listing for mips-*-linux-gnu and
13201 mips64-*-linux-gnu.
13202
73588a72
AS
132032014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13204
13205 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13206 * sysdeps/unix/sysv/linux/m68k: Move directory from
13207 ports/sysdeps/unix/sysv/linux/m68k.
13208 * README: Update listing for m68k-*-linux-gnu.
13209
4372980f
CM
132102014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13211
13212 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13213 * sysdeps/unix/sysv/linux/generic: Move directory from
13214 ports/sysdeps/unix/sysv/linux/generic.
13215 * sysdeps/unix/sysv/linux/tile: Move directory from
13216 ports/sysdeps/unix/sysv/linux/tile.
13217 * README: Update listing for tile*-*-linux-gnu.
13218
a1ffb40e
OB
132192014-02-10 Ondřej Bílka <neleai@seznam.cz>
13220
57f41c40
AS
13221 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13222 __builtin_expect.
a1ffb40e
OB
13223 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13224 * catgets/open_catalog.c (__open_catalog): Likewise.
13225 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13226 * debug/confstr_chk.c: Likewise.
13227 * debug/fread_chk.c (__fread_chk): Likewise.
13228 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13229 * debug/getgroups_chk.c: Likewise.
13230 * debug/mbsnrtowcs_chk.c: Likewise.
13231 * debug/mbsrtowcs_chk.c: Likewise.
13232 * debug/mbstowcs_chk.c: Likewise.
13233 * debug/memcpy_chk.c: Likewise.
13234 * debug/memmove_chk.c: Likewise.
13235 * debug/mempcpy_chk.c: Likewise.
13236 * debug/memset_chk.c: Likewise.
13237 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13238 * debug/strcat_chk.c (__strcat_chk): Likewise.
13239 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13240 * debug/strncat_chk.c (__strncat_chk): Likewise.
13241 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13242 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13243 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13244 * debug/wcpncpy_chk.c: Likewise.
13245 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13246 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13247 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13248 * debug/wcsncpy_chk.c: Likewise.
13249 * debug/wcsnrtombs_chk.c: Likewise.
13250 * debug/wcsrtombs_chk.c: Likewise.
13251 * debug/wcstombs_chk.c: Likewise.
13252 * debug/wmemcpy_chk.c: Likewise.
13253 * debug/wmemmove_chk.c: Likewise.
13254 * debug/wmempcpy_chk.c: Likewise.
13255 * debug/wmemset_chk.c: Likewise.
13256 * dirent/scandirat.c (SCANDIRAT): Likewise.
13257 * dlfcn/dladdr1.c (dladdr1): Likewise.
13258 * dlfcn/dladdr.c (dladdr): Likewise.
13259 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13260 * dlfcn/dlerror.c (__dlerror): Likewise.
13261 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13262 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13263 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13264 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13265 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13266 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13267 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13268 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13269 Likewise.
13270 * elf/dl-conflict.c: Likewise.
13271 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13272 * elf/dl-dst.h: Likewise.
13273 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13274 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13275 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13276 * elf/dl-init.c (call_init, _dl_init): Likewise.
13277 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
13278 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13279 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13280 Likewise.
a1ffb40e
OB
13281 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13282 Likewise.
13283 * elf/dl-minimal.c (__libc_memalign): Likewise.
13284 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13285 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13286 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13287 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
13288 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13289 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
13290 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13291 * elf/dl-writev.h (_dl_writev): Likewise.
13292 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
13293 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13294 (dl_main): Likewise.
a1ffb40e
OB
13295 * elf/setup-vdso.h (setup_vdso): Likewise.
13296 * grp/compat-initgroups.c (compat_call): Likewise.
13297 * grp/fgetgrent.c (fgetgrent): Likewise.
13298 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13299 * grp/putgrent.c (putgrent): Likewise.
13300 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13301 Likewise.
13302 * hurd/hurdinit.c: Likewise.
13303 * iconvdata/8bit-gap.c (struct): Likewise.
13304 * iconvdata/ansi_x3.110.c : Likewise.
13305 * iconvdata/big5.c : Likewise.
13306 * iconvdata/big5hkscs.c : Likewise.
13307 * iconvdata/cp1255.c: Likewise.
13308 * iconvdata/cp1258.c : Likewise.
13309 * iconvdata/cp932.c : Likewise.
13310 * iconvdata/euc-cn.c: Likewise.
13311 * iconvdata/euc-jisx0213.c : Likewise.
13312 * iconvdata/euc-jp.c: Likewise.
13313 * iconvdata/euc-jp-ms.c : Likewise.
13314 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13315 * iconvdata/gb18030.c : Likewise.
13316 * iconvdata/gbbig5.c (const): Likewise.
13317 * iconvdata/gbgbk.c: Likewise.
13318 * iconvdata/gbk.c : Likewise.
13319 * iconvdata/ibm1364.c : Likewise.
13320 * iconvdata/ibm930.c : Likewise.
13321 * iconvdata/ibm932.c: Likewise.
13322 * iconvdata/ibm933.c : Likewise.
13323 * iconvdata/ibm935.c : Likewise.
13324 * iconvdata/ibm937.c : Likewise.
13325 * iconvdata/ibm939.c : Likewise.
13326 * iconvdata/ibm943.c: Likewise.
13327 * iconvdata/iso_11548-1.c: Likewise.
13328 * iconvdata/iso-2022-cn.c : Likewise.
13329 * iconvdata/iso-2022-cn-ext.c : Likewise.
13330 * iconvdata/iso-2022-jp-3.c: Likewise.
13331 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13332 * iconvdata/iso-2022-kr.c : Likewise.
13333 * iconvdata/iso646.c (gconv_end): Likewise.
13334 * iconvdata/iso_6937-2.c : Likewise.
13335 * iconvdata/iso_6937.c : Likewise.
13336 * iconvdata/iso8859-1.c: Likewise.
13337 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13338 * iconvdata/shift_jisx0213.c : Likewise.
13339 * iconvdata/sjis.c : Likewise.
13340 * iconvdata/t.61.c : Likewise.
13341 * iconvdata/tcvn5712-1.c : Likewise.
13342 * iconvdata/tscii.c: Likewise.
13343 * iconvdata/uhc.c : Likewise.
13344 * iconvdata/unicode.c (gconv_end): Likewise.
13345 * iconvdata/utf-16.c (gconv_end): Likewise.
13346 * iconvdata/utf-32.c (gconv_end): Likewise.
13347 * iconvdata/utf-7.c (base64): Likewise.
13348 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13349 * iconv/gconv_close.c (__gconv_close): Likewise.
13350 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
13351 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13352 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13353 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13354 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13355 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
13356 * iconv/iconv.c (iconv): Likewise.
13357 * iconv/iconv_close.c: Likewise.
13358 * iconv/loop.c (SINGLE): Likewise.
13359 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13360 * include/atomic.h: Likewise.
13361 * inet/inet6_option.c (option_alloc): Likewise.
13362 * intl/bindtextdom.c (set_binding_values): Likewise.
13363 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13364 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13365 * intl/localealias.c (read_alias_file): Likewise.
13366 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
13367 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13368 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
13369 * libio/fmemopen.c (fmemopen): Likewise.
13370 * libio/iofgets.c (_IO_fgets): Likewise.
13371 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13372 * libio/iofgetws.c (fgetws): Likewise.
13373 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13374 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
13375 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13376 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
13377 * locale/findlocale.c (_nl_find_locale): Likewise.
13378 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13379 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13380 Likewise.
13381 * locale/setlocale.c (setlocale): Likewise.
13382 * login/programs/pt_chown.c (main): Likewise.
13383 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13384 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
13385 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13386 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
13387 * math/e_exp2l.c: Likewise.
13388 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13389 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13390 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13391 * math/s_catan.c (__catan): Likewise.
13392 * math/s_catanf.c (__catanf): Likewise.
13393 * math/s_catanh.c (__catanh): Likewise.
13394 * math/s_catanhf.c (__catanhf): Likewise.
13395 * math/s_catanhl.c (__catanhl): Likewise.
13396 * math/s_catanl.c (__catanl): Likewise.
13397 * math/s_ccosh.c (__ccosh): Likewise.
13398 * math/s_ccoshf.c (__ccoshf): Likewise.
13399 * math/s_ccoshl.c (__ccoshl): Likewise.
13400 * math/s_cexp.c (__cexp): Likewise.
13401 * math/s_cexpf.c (__cexpf): Likewise.
13402 * math/s_cexpl.c (__cexpl): Likewise.
13403 * math/s_clog10.c (__clog10): Likewise.
13404 * math/s_clog10f.c (__clog10f): Likewise.
13405 * math/s_clog10l.c (__clog10l): Likewise.
13406 * math/s_clog.c (__clog): Likewise.
13407 * math/s_clogf.c (__clogf): Likewise.
13408 * math/s_clogl.c (__clogl): Likewise.
13409 * math/s_csin.c (__csin): Likewise.
13410 * math/s_csinf.c (__csinf): Likewise.
13411 * math/s_csinh.c (__csinh): Likewise.
13412 * math/s_csinhf.c (__csinhf): Likewise.
13413 * math/s_csinhl.c (__csinhl): Likewise.
13414 * math/s_csinl.c (__csinl): Likewise.
13415 * math/s_csqrt.c (__csqrt): Likewise.
13416 * math/s_csqrtf.c (__csqrtf): Likewise.
13417 * math/s_csqrtl.c (__csqrtl): Likewise.
13418 * math/s_ctan.c (__ctan): Likewise.
13419 * math/s_ctanf.c (__ctanf): Likewise.
13420 * math/s_ctanh.c (__ctanh): Likewise.
13421 * math/s_ctanhf.c (__ctanhf): Likewise.
13422 * math/s_ctanhl.c (__ctanhl): Likewise.
13423 * math/s_ctanl.c (__ctanl): Likewise.
13424 * math/w_pow.c: Likewise.
13425 * math/w_powf.c: Likewise.
13426 * math/w_powl.c: Likewise.
13427 * math/w_scalb.c (sysv_scalb): Likewise.
13428 * math/w_scalbf.c (sysv_scalbf): Likewise.
13429 * math/w_scalbl.c (sysv_scalbl): Likewise.
13430 * misc/error.c (error_tail): Likewise.
13431 * misc/pselect.c (__pselect): Likewise.
13432 * nis/nis_callback.c (__nis_create_callback): Likewise.
13433 * nis/nis_call.c (__nisfind_server): Likewise.
13434 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13435 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13436 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13437 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13438 * nis/nis_lookup.c (nis_lookup): Likewise.
13439 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
13440 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13441 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 13442 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
13443 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13444 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13445 * nis/nss_compat/compat-initgroups.c (add_group)
13446 (internal_getgrent_r): Likewise.
13447 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13448 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13449 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13450 (internal_getspnam_r): Likewise.
13451 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13452 (_nss_nis_getaliasbyname_r): Likewise.
13453 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13454 (_nss_nis_getntohost_r): Likewise.
13455 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13456 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13457 (_nss_nis_getgrgid_r): Likewise.
13458 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13459 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13460 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13461 (_nss_nis_gethostbyname4_r): Likewise.
13462 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13463 (initgroups_netid): Likewise.
a1ffb40e 13464 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13465 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13466 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13467 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13468 (_nss_nis_getprotobynumber_r): Likewise.
13469 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13470 (_nss_nis_getsecretkey): Likewise.
13471 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13472 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13473 (_nss_nis_getpwuid_r): Likewise.
13474 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13475 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13476 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13477 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13478 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13479 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13480 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13481 Likewise.
57f41c40
AS
13482 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13483 (_nss_nisplus_getntohost_r): Likewise.
13484 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13485 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13486 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13487 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13488 Likewise.
57f41c40
AS
13489 * nis/nss_nisplus/nisplus-initgroups.c
13490 (_nss_nisplus_initgroups_dyn): Likewise.
13491 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13492 (_nss_nisplus_getnetbyaddr_r): Likewise.
13493 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13494 (_nss_nisplus_getprotobynumber_r): Likewise.
13495 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13496 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13497 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13498 Likewise.
57f41c40
AS
13499 * nis/nss_nisplus/nisplus-service.c
13500 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13501 (_nss_nisplus_getservbyport_r): Likewise.
13502 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13503 (_nss_nisplus_getspnam_r): Likewise.
13504 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13505 Likewise.
a1ffb40e
OB
13506 * nscd/aicache.c (addhstaiX): Likewise.
13507 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13508 * nscd/connections.c (register_traced_file, send_ro_fd)
13509 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13510 (main_loop_epoll): Likewise.
a1ffb40e
OB
13511 * nscd/grpcache.c (addgrbyX): Likewise.
13512 * nscd/hstcache.c (addhstbyX): Likewise.
13513 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13514 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13515 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13516 (addinnetgrX): Likewise.
13517 * nscd/nscd-client.h (__nscd_acquire_maplock)
13518 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13519 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13520 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13521 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13522 Likewise.
13523 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13524 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13525 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13526 (__nscd_get_map_ref): Likewise.
a1ffb40e 13527 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13528 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13529 Likewise.
a1ffb40e
OB
13530 * nscd/pwdcache.c (addpwbyX): Likewise.
13531 * nscd/selinux.c (preserve_capabilities): Likewise.
13532 * nscd/servicescache.c (addservbyX): Likewise.
13533 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13534 * posix/fnmatch.c (fnmatch): Likewise.
13535 * posix/getopt.c (_getopt_internal_r): Likewise.
13536 * posix/glob.c (glob, glob_in_dir): Likewise.
13537 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13538 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13539 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13540 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13541 * resolv/res_init.c: Likewise.
13542 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13543 * resolv/res_query.c (__libc_res_nquery): Likewise.
13544 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13545 Likewise.
13546 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13547 * stdio-common/perror.c (perror): Likewise.
13548 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13549 * stdio-common/tmpnam.c (tmpnam): Likewise.
13550 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13551 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13552 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13553 Likewise.
a1ffb40e
OB
13554 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13555 * stdlib/putenv.c (putenv): Likewise.
13556 * stdlib/setenv.c (__add_to_environ): Likewise.
13557 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13558 * stdlib/strtol_l.c (INTERNAL): Likewise.
13559 * string/memmem.c (memmem): Likewise.
13560 * string/strerror.c (strerror): Likewise.
13561 * string/strnlen.c (__strnlen): Likewise.
13562 * string/test-memmem.c (simple_memmem): Likewise.
13563 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13564 * sunrpc/pm_getport.c (__get_socket): Likewise.
13565 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13566 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13567 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13568 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13569 Likewise.
13570 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13571 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13572 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13573 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13574 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13575 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13576 Likewise.
13577 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13578 Likewise.
a1ffb40e
OB
13579 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13580 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13581 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13582 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13583 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13584 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13585 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13586 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13587 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13588 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13589 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13590 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13591 Likewise.
13592 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13593 Likewise.
13594 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13595 Likewise.
13596 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13597 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13598 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13599 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13600 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13601 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13602 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13603 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13604 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13605 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13606 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13607 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13608 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13609 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13610 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13611 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13612 Likewise.
a1ffb40e
OB
13613 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13614 Likewise.
13615 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13616 Likewise.
13617 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13618 Likewise.
13619 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13620 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13621 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13622 Likewise.
13623 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13624 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13625 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13626 * sysdeps/posix/sleep.c: Likewise.
13627 * sysdeps/posix/tempname.c: Likewise.
13628 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13629 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13630 Likewise.
57f41c40
AS
13631 * sysdeps/powerpc/powerpc32/dl-machine.h
13632 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13633 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13634 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13635 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13636 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13637 Likewise.
13638 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13639 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13640 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13641 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13642 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13643 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13644 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13645 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13646 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13647 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13648 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13649 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13650 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13651 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13652 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13653 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13654 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13655 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13656 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13657 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13658 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13659 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13660 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13661 Likewise.
13662 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13663 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13664 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13665 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13666 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13667 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13668 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13669 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13670 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13671 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13672 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13673 Likewise.
13674 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13675 (__posix_fallocate64_l64): Likewise.
13676 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13677 (posix_fallocate): Likewise.
57f41c40
AS
13678 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13679 Likewise.
a1ffb40e 13680 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13681 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13682 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13683 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13684 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13685 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13686 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13687 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13688 (__posix_fallocate64_l64): Likewise.
13689 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13690 Likewise.
13691 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13692 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13693 (__get_clockfreq): Likewise.
a1ffb40e
OB
13694 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13695 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13696 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13697 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13698 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13699 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13700 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13701 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13702 Likewise.
13703 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13704 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13705 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13706 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13707 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13708 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13709 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13710 Likewise.
13711 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13712 (posix_fallocate): Likewise.
13713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13714 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13715 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13716 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13717 (elf_machine_rela, elf_machine_rela_relative)
13718 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13719 * time/asctime.c (asctime_internal): Likewise.
13720 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13721 * time/tzset.c (__tzset_parse_tz): Likewise.
13722 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13723 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13724 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13725 * wcsmbs/wcsmbsload.h: Likewise.
13726
f3d338c9
OB
13727 [BZ #15894]
13728 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13729
57f41c40
AS
13730 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13731 (arena_get2): Remove THREAD_STATS conditionals.
13732 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13733 (__malloc_stats, int): Likewise.
bdfe308a 13734
d674667c
MF
137352014-02-08 Mike Frysinger <vapier@gentoo.org>
13736
13737 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13738 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13739
6349768c
MF
13740 * manual/setjmp.texi: Fix typos/grammar errors.
13741
0b7c7473
MF
13742 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13743 Only return early when n is <= 0. Delete unused return statement.
13744
ac8cc9e3
MF
13745 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13746 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13747 * debug/tst-longjmp_chk3.c: New file.
13748
c5bb8e23
MF
13749 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13750 (test_main): Replace code with set_fortify_handler call.
13751 * debug/test-strcpy_chk.c: Likewise.
13752 * debug/tst-chk1.c: Likewise.
13753 * debug/tst-longjmp_chk.c: Likewise.
13754 * test-skeleton.c: Include fcntl.h & paths.h
13755 (set_fortify_handler): Define.
13756
10444e42
MF
13757 * debug/tst-longjmp_chk.c: Add header comment and include
13758 ../test-skeleton.c.
13759 (do_test): Mark static.
13760 (TEST_FUNCTION): Define.
13761
1e805e8d
MF
13762 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13763 (IP_PMTUDISC_INTERFACE): Likewise.
13764 (IP_MULTICAST_IF): Likewise.
13765 (IP_MULTICAST_TTL): Likewise.
13766 (IP_MULTICAST_LOOP): Likewise.
13767 (IP_ADD_MEMBERSHIP): Likewise.
13768 (IP_DROP_MEMBERSHIP): Likewise.
13769 (IP_UNBLOCK_SOURCE): Likewise.
13770 (IP_BLOCK_SOURCE): Likewise.
13771 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13772 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13773 (IP_MSFILTER): Likewise.
13774 (MCAST_JOIN_GROUP): Likewise.
13775 (MCAST_BLOCK_SOURCE): Likewise.
13776 (MCAST_UNBLOCK_SOURCE): Likewise.
13777 (MCAST_LEAVE_GROUP): Likewise.
13778 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13779 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13780 (MCAST_MSFILTER): Likewise.
13781 (IP_MULTICAST_ALL): Likewise.
13782 (IP_UNICAST_IF): Likewise.
13783
73f79bb7
MF
13784 * timezone/Makefile: Delete $(have-ksh) check.
13785 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13786 * timezone/tzselect.ksh: Add +x mode bits.
13787
8da79b60
MF
13788 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13789 (ANON_INODE_FS_MAGIC): Likewise.
13790 (BDEVFS_MAGIC): Likewise.
13791 (BINFMTFS_MAGIC): Likewise.
13792 (BTRFS_TEST_MAGIC): Likewise.
13793 (CRAMFS_MAGIC_WEND): Likewise.
13794 (DEBUGFS_MAGIC): Likewise.
13795 (ECRYPTFS_SUPER_MAGIC): Likewise.
13796 (EXT3_SUPER_MAGIC): Likewise.
13797 (EXT4_SUPER_MAGIC): Likewise.
13798 (FUTEXFS_SUPER_MAGIC): Likewise.
13799 (HOSTFS_SUPER_MAGIC): Likewise.
13800 (HUGETLBFS_MAGIC): Likewise.
13801 (MINIX3_SUPER_MAGIC): Likewise.
13802 (MTD_INODE_FS_MAGIC): Likewise.
13803 (NILFS_SUPER_MAGIC): Likewise.
13804 (OPENPROM_SUPER_MAGIC): Likewise.
13805 (PIPEFS_MAGIC): Likewise.
13806 (PSTOREFS_MAGIC): Likewise.
13807 (QNX6_SUPER_MAGIC): Likewise.
13808 (RAMFS_MAGIC): Likewise.
13809 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13810 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13811 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13812 (SECURITYFS_MAGIC): Likewise.
13813 (SELINUX_MAGIC): Likewise.
13814 (SMACK_MAGIC): Likewise.
13815 (SOCKFS_MAGIC): Likewise.
13816 (SQUASHFS_MAGIC): Likewise.
13817 (STACK_END_MAGIC): Likewise.
13818 (TMPFS_MAGIC): Likewise.
13819 (USBDEVICE_SUPER_MAGIC): Likewise.
13820 (V9FS_MAGIC): Likewise.
13821 (XENFS_SUPER_MAGIC): Likewise.
13822 (CRAMFS_MAGIC): Fix typo in comment.
13823 (EXT2_SUPER_MAGIC): Update comment.
13824 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13825
464263cc
JM
138262014-02-08 Joseph Myers <joseph@codesourcery.com>
13827
c6bfe5c4
JM
13828 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13829 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13830 * sysdeps/unix/sysv/linux/arm: Move directory from
13831 ports/sysdeps/unix/sysv/linux/arm.
13832 * README: Update listing for arm-*-linux-gnueabi.
13833
464263cc
JM
13834 * README: Remove mention of am33.
13835
32749f6c
RM
138362014-02-07 Roland McGrath <roland@hack.frob.com>
13837
13838 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13839 than the comma operator, to avoid "rhs of comma has no effect"
13840 compiler warnings.
13841 (__sigfillset, __sigandset, __sigorset): Likewise.
13842 * include/signal.h (__sigemptyset): Likewise.
13843 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13844
d5b396c1
AM
138452014-02-07 Allan McRae <allan@archlinux.org>
13846
13847 * version.h (RELEASE): Set to "development".
13848 (VERSION): Set to "2.19.90"
13849 * NEWS: Add 2.20 section.
13850
3bfff2ed
CD
138512014-02-06 Carlos O'Donell <carlos@redhat.com>
13852
13853 [BZ #16529]
13854 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13855
ee7cc385
SP
138562014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13857
13858 * manual/contrib.texi: Update entry for Carlos O'Donell,
13859 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13860
f877c4f2
CD
138612014-02-05 Carlos O'Donell <carlos@rehdat.com>
13862
27e839f6
CD
13863 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13864
f877c4f2
CD
13865 * sysdeps/unix/sysv/linux/kernel-features.h
13866 [__LINUX_KERNEL_VERSION >= 0x020621]
13867 (__ASSUME_PROC_PID_TASK_COMM): Define.
13868
68159946
SP
138692014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13870
ba17cdbd
SP
13871 [BZ #16398]
13872 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13873 conversion when destination buffer does not have enough space.
13874 * libio/tst-ftell-partial-wide.c: New test case.
13875 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13876
68159946
SP
13877 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13878 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13879 Leonard and Allan McRae.
13880
2b528732
DM
138812014-02-04 David S. Miller <davem@davemloft.net>
13882
13883 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13884 32-bit.
13885
0ff82463
AZ
138862014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13887
57f41c40
AS
13888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13889 New file
c01603f7
AZ
13890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13891 New file
57f41c40
AS
13892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13893 New file.
13894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13895 New file.
c01603f7
AZ
13896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13897 New file.
57f41c40
AS
13898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13899 New file.
13900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13901 New file.
c01603f7
AZ
13902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13903 New file.
13904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13905 New file.
13906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13907 New file.
13908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13909 New file.
13910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13911 New file.
13912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13913 New file.
13914
139152014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13916
0ff82463
AZ
13917 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13918 * shlib-versions: Likewise.
13919
1695c773
AZ
139202014-02-04 Roland McGrath <roland@hack.frob.com>
13921 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13922
13923 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13924 (abilist-pattern): New variable, set to %-le.abilist.
13925
13926 * Makerules (abilist-pattern): New variable.
13927 (vpath): Use $(abilist-pattern) in place of %.abilist.
13928 (check-abi-% pattern rule): Likewise.
13929 (check-abi, update-abi): Likewise.
13930
6c0ce4b4
EW
139312014-02-04 Eric Wong <normalperson@yhbt.net>
13932
13933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13934
481e3524
CD
139352014-02-03 Carlos O'Donell <carlos@redhat.com>
13936
13937 * manual/startup.texi: Add next, previous, and top entries for
13938 the `Program Arguments' and `Environment Variables' nodes.
13939
375592d3
AO
139402014-02-03 Alexandre Oliva <aoliva@redhat.com>
13941
13942 * manual/macros.texi: Add comments before MTASC-safety macros.
13943
f54838ba
AO
13944 * manual/users.texi: Document MTASC-safety properties.
13945
57f41c40
AS
13946 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13947 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
13948 @deftypefun, and add @safety note.
13949 * manual/signal.texi: Move comments that analyze the above
13950 functions to their home place.
13951
fd3daba4
AM
139522014-02-03 Allan McRae <allan@archlinux.org>
13953
13954 * po/sl.po: Update Slovenian translation from translation project.
13955
597636d7
AO
139562014-02-02 Alexandre Oliva <aoliva@redhat.com>
13957
13958 * manual/time.texi (timegm): Add missing blank after @c.
13959 Reported by Joseph Myers <joseph@codesourcery.com>.
13960
ee196e3c
AO
139612014-02-01 Alexandre Oliva <aoliva@redhat.com>
13962
13963 * manual/check-safety.sh: New.
13964 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13965
f8d529d5
AO
13966 * manual/terminal.texi: Document MTASC-safety properties.
13967
de55fdf4
AO
13968 * manual/filesys.texi: Document MTASC-safety properties.
13969
c3299c08
AO
13970 * manual/errno.texi: Document MTASC-safety properties.
13971
06e90b14
AO
13972 * manual/intro.texi: Document safety identifiers and
13973 conditionals.
13974
1acd4371
AO
13975 * manual/string.texi (wcstok): Fix prototype.
13976 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13977
23e5b8cb
AO
13978 * manual/time.texi: Document MTASC-safety properties.
13979
11087373
AO
13980 * manual/string.texi: Document MTASC-safety properties.
13981
5da2c93d
AO
13982 * manual/threads.texi: Document MTASC-safety properties.
13983
171e9210
AO
13984 * manual/stdio.texi: Document MTASC-safety properties.
13985
d9e02532
AO
13986 * manual/syslog.texi: Document MTASC-safety properties.
13987
6af8bab7
AO
13988 * manual/sysinfo.texi: Document MTASC-safety properties.
13989
663b02d7
AO
13990 * manual/startup.texi: Document MTASC-safety properties.
13991
973f180b
AO
13992 * manual/socket.texi: Document MTASC-safety properties.
13993
8f3c25c8
AO
13994 * manual/signal.texi: Document MTASC-safety properties.
13995
542210fb
AO
139962014-01-31 Alexandre Oliva <aoliva@redhat.com>
13997
13998 * manual/setjmp.texi: Document MTASC-safety properties.
13999
433c45a2
AO
14000 * manual/search.texi: Document MTASC-safety properties.
14001
c8ce789c
AO
14002 * manual/resource.texi: Document MTASC-safety properties.
14003
19f5d29c
AO
14004 * manual/process.texi: Document MTASC-safety properties.
14005
e2dfb7f4
AO
14006 * manual/platform.texi: Document MTASC-safety properties.
14007
8c1413f5
AO
14008 * manual/pipe.texi: Document MTASC-safety properties.
14009
03483ada
AO
14010 * manual/pattern.texi: Document MTASC-safety properties.
14011
29e7e2df
AO
14012 * manual/message.texi: Document MTASC-safety properties.
14013
9f529d7c
AO
14014 [BZ #12751]
14015 * manual/memory.texi: Document MTASC-safety properties.
14016
27aaa791
AO
14017 * manual/math.texi: Document MTASC-safety properties.
14018
f2d58726
AO
14019 * manual/locale.texi: Document MTASC-safety properties.
14020
2cc3615c
AO
14021 * manual/llio.texi: Document MTASC-safety properties.
14022
d9f0ec97
AO
14023 * manual/libdl.texi: New.
14024
e7c4409a
AO
14025 * manual/lang.texi: Document MTASC-safety properties.
14026
27bdc63c
AO
14027 * manual/job.texi: Document MTASC-safety properties.
14028
a7b90ea9
AO
14029 * manual/getopt.texi: Document MTASC-safety properties.
14030
c49130e3
AO
14031 * manual/ctype.texi: Document MTASC-safety properties.
14032
0d23a5c1
MR
140332014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14034
14035 [BZ #16046]
14036 * csu/libc-tls.c (static_map): Remove variable.
14037 (__libc_setup_tls): Use main executable's link map for TLS data.
14038 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14039 casing for LM_ID_BASE and GL(dl_nns).
14040 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14041 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14042 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14043 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14044 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14045 member.
14046 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14047 l_phnum members.
14048
0037bb60
AO
140492014-01-30 Alexandre Oliva <aoliva@redhat.com>
14050
14051 * manual/debug.texi: Document MTASC-safety properties.
14052
409e00bd
L
140532014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14054
14055 [BZ #16510]
14056 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14057 of __x86_64__ when disabling x87 inline functions.
14058
86e60666
AO
140592014-01-29 Alexandre Oliva <aoliva@redhat.com>
14060
14061 * manual/charset.texi: Document MTASC-safety properties.
14062
76167637
AO
14063 * manual/crypt.texi: Document MTASC-safety properties.
14064
e567f2a0
AO
14065 * manual/conf.texi: Document MTASC-safety properties.
14066
b719dafd
AO
14067 * manual/arith.texi: Document MTASC-safety properties.
14068
4a16c662
AO
14069 * manual/argp.texi: Document MTASC-safety properties.
14070
0a57b83e
AO
14071 * manual/macros.texi: Introduce macros to document multi
14072 thread, asynchronous signal and asynchronous cancellation
14073 safety properties.
14074 * manual/intro.texi: Introduce the properties themselves.
14075
feab2397
KK
140762014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14077
14078 * sysdeps/sh/sh4/Makefile: New file.
14079
1c0d11bc
AS
140802014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14081
14082 * math/gen-libm-test.pl ($srcdir): New variable.
14083 ($auto_input): Use it.
14084
af37a8a3
SP
140852014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14086
d7b00f98
SP
14087 [BZ #16506]
14088 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14089 access beyond array bounds when parsing netgroups file.
14090
af37a8a3
SP
14091 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14092 the old buffer before realloc.
14093
0c00f062
AM
140942014-01-27 Allan McRae <allan@archlinux.org>
14095
14096 * po/fr.po: Update French translation from translation project.
14097
7d69a1b0
KK
140982014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14099
14100 * sysdeps/sh/libm-test-ulps: Regenerate.
14101
6e697ff7
DM
141022014-01-24 David S. Miller <davem@davemloft.net>
14103
14104 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14105
9cadb35c
KK
141062014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14107
14108 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14109 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14110
5d41dadf
SP
141112013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14112
14113 [BZ #16474]
14114 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14115 string pointers after reallocation.
14116
0bad441c
KK
141172014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14118
14119 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14120 __SH4A__ instead of __SH_FPU_ANY__.
14121
7007c661
KK
141222014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14123
14124 * sysdeps/sh/fpu_control.h: New file.
14125 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14126 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14127 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14128 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14129 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14130 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14131 * sysdeps/sh/sys/ucontext.h: Remove.
14132 * sysdeps/sh/sys: Remove directory.
14133
0f0c35e4
AK
141342014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14135
14136 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14137 s390/sys/ucontext.h.
14138 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14139 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14140
4959e284
L
141412014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14142
14143 [BZ #15605]
14144 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14145
d98720e0
AZ
141462014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14147
14148 [BZ#16431]
14149 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14150 Adjust the vDSO correctly for internal calls.
14151 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14152
91cbd0bc
AM
141532014-01-20 Allan McRae <allan@archlinux.org>
14154
14155 * po/ca.po: Update Catalan translation from translation project.
14156
7a02cfad
MF
141572014-01-16 Mike Frysinger <vapier@gentoo.org>
14158
14159 * sysdeps/s390/sotruss-lib.c: New file.
14160
736c304a
AZ
141612014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14162
14163 [BZ#16430]
6e077ee5 14164 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
14165 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14166 local calls issues by not having a PLT stub required for IFUNC calls.
14167 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14168
94d0cea0
JM
141692014-01-16 Joseph Myers <joseph@codesourcery.com>
14170
14171 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14172 * math/test-fpucw-static.c: Likewise.
14173
980cb518
SP
141742013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14175
14176 [BZ #16453]
14177 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14178
2393fc01
AZ
141792014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14180
14181 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14182 implementation for powerpc.
14183
d359bcc2
OB
141842014-01-15 Ondřej Bílka <neleai@seznam.cz>
14185
14186 [BZ #14782]
14187 * sysdeps/posix/system.c (__libc_system): Do not enable
14188 asynchronous cancellation.
14189
7beb48cb
AK
141902014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14191
14192 [BZ #16427]
14193 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14194 handling only for numbers special also in the IEEE case.
14195
c20d5bf5
AK
141962014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14197
14198 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14199
e83bd4ee
AM
142002014-01-11 Allan McRae <allan@archlinux.org>
14201
76d0ea69
AM
14202 * po/bg.po: Update Bulgarian translation from translation project.
14203
e83bd4ee
AM
14204 * po/de.po: Update German translation from translation project.
14205
bc2ba20a
RM
142062014-01-10 Roland McGrath <roland@hack.frob.com>
14207
14208 * sysdeps/generic/gcc-compat.h: New file.
14209
649ecea2
SP
142102014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14211
14212 * benchtests/asin-inputs: Correct slow inputs.
14213 * benchtests/acos-inputs: Likewise.
14214
1b19c006
AM
142152014-01-10 Allan McRae <allan@archlinux.org>
14216
a46dab08
AM
14217 * po:sv.po: Update Swedish translation from translation project.
14218
421df74a
AM
14219 * po/vi.po: Update Vietnamese translation from translation project.
14220
d61c51a7
AM
14221 * po/eo.po: Update Esperanto translation from translation project.
14222
0339a319
AM
14223 * po/cs.po: Update Czech translation from translation project.
14224
94ad3e99
AM
14225 * po/nl.po: Update Dutch translation from translation project.
14226
e349ca71
AM
14227 * po/pl.po: Update Polish translation from translation project.
14228
ddf930c1
AM
14229 * po/ru.po: Update Russian translation from translation project.
14230
1b19c006
AM
14231 * po/uk.po: Update Ukrainian translation from translation project.
14232
9f236c49
BM
142332014-01-08 Brooks Moses <bmoses@google.com>
14234
14235 * elf/dl-load.c: Fix comment typo.
14236
cd6701cf
CD
142372014-01-08 Carlos O'Donell <carlos@redhat.com>
14238
14239 * po/header.pot: Rename to...
14240 * po/pot.header: ... this.
14241 * po/Makefile: Use pot.header.
14242
66671c84
YK
142432014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14244 Maxim Kuvyrkov <maxim@kugelworks.com>
14245
14246 [BZ #16394]
cd6701cf
CD
14247 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14248 SRC and DEST against LEN.
66671c84 14249
38f34581
AZ
142502014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14251
14252 [BZ #16414]
14253 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14254 implementation.
14255 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14256
142572014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
14258
14259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14260
4c327f2a
JM
142612014-01-08 Joseph Myers <joseph@codesourcery.com>
14262
14263 [BZ #16408]
14264 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14265 for large positive arguments.
14266
b821f414
JM
142672014-01-07 Joseph Myers <joseph@codesourcery.com>
14268
1f0f2067
JM
14269 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14270
a5a326f6
JM
14271 * math/auto-libm-test-in: Mark various tests with
14272 xfail-rounding:ldbl-128ibm.
14273 * math/auto-libm-test-out: Regenerated.
14274
b821f414
JM
14275 [BZ #16407]
14276 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14277 Increase overflow threshold.
14278
94c8a4bc
OB
142792014-01-07 Ondřej Bílka <neleai@seznam.cz>
14280
14281 [BZ #14286]
14282 * stdio-common/vfprintf.c: Check for integer overflow.
14283
87ded0c3
AK
142842014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14285
14286 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14287 the first argument and return value of __tls_get_addr_internal.
14288
c5eebdd0
AK
142892014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14290
14291 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14292 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14293
05d138ef
AK
142942014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14295
14296 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14297 * sysdeps/s390/rtld-global-offsets.sym: New file.
14298 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14299 GLIBC_2.19 symbol.
14300 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14301 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14302 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14303 ... this.
14304 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14305 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14306 ... this.
14307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14308 Regenerate.
14309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14310 Regenerate.
14311 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14312 halfs of GPRs for high_gprs contexts.
14313 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14314 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14315 field.
14316 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14317 uc_flags field.
14318 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14319 64 bit versions:
14320 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14321 for high GPRs (uc_high_gprs) and for future extensions
14322 (__reserved).
14323 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14324 for future extensions (__reserved).
14325 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14326 64 bit versions:
14327 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14328 SC_HIGHGPRS offset definition.
14329 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14330 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14331
93a45ff1
AK
14332 * Versions.def: Add GLIBC_2.19 for libpthread.
14333 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14334 siglongjmp for libpthread with GLIBC_2.19 symver.
14335 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14336 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14337 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14338 * sysdeps/s390/__longjmp.c: New file.
14339 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14340 * sysdeps/s390/longjmp.c: New file.
14341 * sysdeps/s390/setjmp.S: New file.
14342 * sysdeps/s390/sigjmp.S: New file.
14343 * sysdeps/s390/v1-longjmp.c: New file.
14344 * sysdeps/s390/v1-setjmp.h: New file.
14345 * sysdeps/s390/v1-sigjmp.c: New file.
14346 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14347 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14348 GLIBC_2.19 version.
14349 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14350 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14351 versioned symbols for ____longjmp_chk.
14352 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14353 Likewise.
14354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14355 Regenerate.
14356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14357 Regenerate.
14358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14359 Regenerate.
14360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14361 Regenerate.
14362 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14363 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14364 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14365 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14366 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14367 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14368 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14369 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14370 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14371 * sysdeps/s390/rtld-__longjmp.c: New file.
14372 * sysdeps/s390/rtld-setjmp.S: New file.
14373
eb3fc44b
JM
143742014-01-06 Joseph Myers <joseph@codesourcery.com>
14375
14376 [BZ #16400]
14377 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14378 Return -__logl (x) for small positive arguments without evaluating
14379 a polynomial.
14380
9341dde4
MF
143812014-01-06 Mike Frysinger <vapier@gentoo.org>
14382
14383 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14384 Rename to ...
14385 (__ptrace_peeksiginfo_args): ... this.
14386 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14387 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14388 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14389
4cff0293
AM
143902014-01-06 Allan McRae <allan@archlinux.org>
14391
14392 * inet/netinet/in.h: Fix typo in comment.
14393
75595dcf
AJ
143942014-01-05 Andreas Jaeger <aj@suse.de>
14395
14396 * sysdeps/i386/fpu/libm-test-ulps: Update.
14397
79c1e109
AM
143982014-01-05 Allan McRae <allan@archlinux.org>
14399
dd804818
AM
14400 * po/libc.pot: Regenerated.
14401
79c1e109
AM
14402 * malloc/memusagestat.c: Fix gettext call formatting.
14403
0c813d1f
SK
144042014-01-04 Sami Kerola <kerolasa@iki.fi>
14405
14406 * nscd/nscd.c: Improve usage() output.
14407
20f4a8d9
MF
144082014-01-04 Mike Frysinger <vapier@gentoo.org>
14409
14410 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14411 * sysdeps/unix/sysv/linux/configure: Regenerated.
14412 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14413 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14414
22562bb2
JM
144152014-01-03 Joseph Myers <joseph@codesourcery.com>
14416
14417 [BZ #16390]
14418 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14419 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14420
d7ad2d9b
AZ
144212014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14422
14423 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14424 extra tokens at end of #undef directive.
14425 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14426 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14427 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14428
7dd009d8
JM
144292014-01-03 Joseph Myers <joseph@codesourcery.com>
14430
24db925a
JM
14431 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14432
7dd009d8
JM
14433 * math/auto-libm-test-in: Mark various tests with
14434 xfail-rounding:ldbl-128ibm.
14435 * math/auto-libm-test-out: Regenerated.
14436
396e3ecf
JM
144372014-01-02 Joseph Myers <joseph@codesourcery.com>
14438
819e5d50
JM
14439 [BZ #16386]
14440 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14441 numbers with subnormal high part when calculating exponent.
14442
90b6a1e5
JM
14443 [BZ #16385]
14444 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14445 fabs.
14446
396e3ecf
JM
14447 [BZ #16384]
14448 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14449 M_LN2l.
14450 (__ieee754_acoshl): Use __log1pl not __log1p.
14451
6c8dbf00
OB
144522013-01-02 Ondřej Bílka <neleai@seznam.cz>
14453
57f41c40
AS
14454 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14455 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14456 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14457 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14458 (reused_arena, arena_get2): Convert to GNU style.
14459 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14460 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14461 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14462 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14463 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14464 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14465 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14466 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14467 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14468 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14469 * malloc/malloc.h: Likewise.
57f41c40
AS
14470 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14471 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14472 * malloc/mcheck.h: Likewise.
57f41c40
AS
14473 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14474 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14475 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14476 * malloc/morecore.c (__default_morecore): Likewise.
14477 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14478 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14479 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14480 (print_and_abort): Likewise.
6c8dbf00
OB
14481 * malloc/obstack.h: Likewise.
14482 * malloc/set-freeres.c (__libc_freeres): Likewise.
14483 * malloc/tst-mallocstate.c (main): Likewise.
14484 * malloc/tst-mtrace.c (main): Likewise.
14485 * malloc/tst-realloc.c (do_test): Likewise.
14486
d4124212
SP
144872013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14488
9a3c6a6f
SP
14489 [BZ #16366]
14490 * nscd/netgroupcache.c (do_notfound): New function.
14491 (addgetnetgrentX): Use it.
14492
d4124212
SP
14493 [BZ # 16365]
14494 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14495 NSS_STATUS_NOTFOUND.
14496
97b9a009
JM
144972014-01-01 Joseph Myers <joseph@codesourcery.com>
14498
14499 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14501
d4697bc9
AM
145022014-01-01 Allan McRae <allan@archlinux.org>
14503
ddb3687f
AM
14504 * scripts/update-copyrights: Update configure input file suffix.
14505
88726d48
AM
14506 * NEWS: Update copyright year.
14507 * catgets/gencat.c: Likewise.
14508 * csu/version.c: Likewise.
14509 * debug/catchsegv.sh: Likewise.
14510 * debug/pcprofiledump.c: Likewise.
14511 * debug/xtrace.sh: Likewise.
14512 * elf/ldconfig.c: Likewise.
14513 * elf/ldd.bash.in: Likewise.
14514 * elf/pldd.c: Likewise.
14515 * elf/sotruss.ksh: Likewise.
14516 * elf/sprof.c: Likewise.
14517 * iconv/iconv_prog.c: Likewise.
14518 * iconv/iconvconfig.c: Likewise.
14519 * locale/programs/locale.c: Likewise.
14520 * locale/programs/localedef.c: Likewise.
14521 * login/programs/pt_chown.c: Likewise.
14522 * malloc/memusage.sh: Likewise.
14523 * malloc/memusagestat.c: Likewise.
14524 * malloc/mtrace.pl: Likewise.
14525 * manual/libc.texinfo: Likewise.
14526 * nscd/nscd.c: Likewise.
14527 * nss/getent.c: Likewise.
14528 * nss/makedb.c: Likewise.
14529 * posix/getconf.c: Likewise.
14530 * scripts/test-installation.pl: Likewise.
14531
d4697bc9
AM
14532 * All files with FSF copyright notices: Update copyright dates
14533 using scripts/update-copyrights.
14534 * intl/plural.c: Regenerated.
14535 * locale/programs/charmap-kw.h: Likewise.
14536 * locale/programs/locfile-kw.h: Likewise.
14537
c8590f9d
MF
145382013-12-31 Mike Frysinger <vapier@gentoo.org>
14539
14540 * sysdeps/unix/sysv/linux/configure: Regenerated.
14541 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14542 the linux/fanotify.h header.
14543 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14544 HAVE_LINUX_FANOTIFY_H is defined.
14545
b19221b9
SP
145462013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14547
dd1d85e5
SP
14548 * benchtests/cos-inputs: New inputs.
14549 * benchtests/sin-inputs: Likewise.
14550
1acbb90f
SP
14551 * benchtests/atan-inputs: New inputs. Fix name of multiple
14552 precision fallback inputs.
14553
4c012ed3
SP
14554 * benchtests/atanh-inputs: New inputs.
14555 * benchtests/tanh-inputs: Likewise.
14556
eff98324
SP
14557 * benchtests/acosh-inputs: New inputs.
14558 * benchtests/asinh-inputs: Likewise.
14559
ce641152
SP
14560 * benchtests/cosh-inputs: New inputs.
14561 * benchtests/sinh-inputs: Likewise.
14562
b19221b9
SP
14563 * benchtests/acos-inputs: Add more inputs.
14564 * benchtests/asin-inputs: Likewise.
14565
030a4976 145662013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14567
030a4976 14568 [BZ #16375]
9dcc8f11
VS
14569 * manual/arith.texi: Fix spelling.
14570 * manual/charset.texi: Likewise.
14571 * manual/errno.texi: Likewise.
14572 * manual/filesys.texi: Likewise.
14573 * manual/lang.texi: Likewise.
14574 * manual/llio.texi: Likewise.
14575 * manual/locale.texi: Likewise.
14576 * manual/message.texi: Likewise.
14577 * manual/resource.texi: Likewise.
14578 * manual/search.texi: Likewise.
14579 * manual/setjmp.texi: Likewise.
14580 * manual/stdio.texi: Likewise.
14581 * manual/string.texi: Likewise.
14582 * manual/sysinfo.texi: Likewise.
14583 * manual/time.texi: Likewise.
14584
11520a57
CD
145852013-12-27 Carlos O'Donell <carlos@redhat.com>
14586
14587 * po/sl.po: New file.
14588
471103ae
MF
145892013-12-27 Mike Frysinger <vapier@gentoo.org>
14590
14591 * .gitignore: Add core/.gdbinit/.gdb_history.
14592
6c9642ed
AM
145932013-12-27 Allan McRae <allan@archlinux.org>
14594
14595 [BZ #16369]
14596 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14597 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14598
3f637079
BM
145992013-12-24 Brooks Moses <bmoses@google.com>
14600
14601 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14602 all compilers that claim C++98 compliance, not just GCC.
14603 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14604 Likewise.
14605
abc26e99
MK
146062013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14607
14608 * NEWS: Restore accidentally deleted bug-fix entries.
14609
362b47fe
MK
146102013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14611 Ondřej Bílka <neleai@seznam.cz>
14612
14613 [BZ #15073]
14614 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14615 have_lock.
362b47fe 14616
b9bcbbcb
OB
146172013-12-23 Ondřej Bílka <neleai@seznam.cz>
14618
14619 [BZ #12986]
14620 * manual/stdio.texi (String Input Conversions): Clarify that character
14621 classes are not supported.
14622
fb55fcd2
AZ
146232013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14624
14625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14626
ef7344f0
JM
146272013-12-22 Joseph Myers <joseph@codesourcery.com>
14628
4f40e4b3
JM
14629 [BZ #16337]
14630 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14631 Calculate results for small negative arguments directly rather
14632 than using reflection formula with special underflow handling.
14633
ef7344f0
JM
14634 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14635 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14636 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14637 (fchflags): Likewise.
14638 (revoke): Likewise.
14639 (setlogin): Likewise.
14640 (sigaltstack): Likewise.
14641 (wait4): Likewise.
14642 (sigblock): Remove.
14643 (sigsetmask): Likewise.
14644 (wait3): Likewise.
14645 (waitpid): Likewise.
14646 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14647 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14648 file.
14649 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14650 * sysdeps/unix/bsd/Makefile: ... here.
14651 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14652 * sysdeps/unix/bsd/Versions: ... here.
14653 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14654 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14655 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14656 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14657 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14658 * sysdeps/unix/bsd/sigblock.c: ... here.
14659 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14660 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14661 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14662 * sysdeps/unix/bsd/sigvec.c: ... here.
14663 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14664 * sysdeps/unix/bsd/tcdrain.c: ... here.
14665 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14666 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14667 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14668 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14669 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14670 * sysdeps/unix/bsd/wait.c: ... here.
14671 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14672 * sysdeps/unix/bsd/wait3.c: ... here.
14673 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14674 * sysdeps/unix/bsd/waitpid.c: ... here.
14675
5b0626b9
JM
146762013-12-21 Joseph Myers <joseph@codesourcery.com>
14677
14678 [BZ #16356]
14679 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14680 round-to-nearest for [!USE_AS_EXPM1L].
14681 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14682 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14683 more tests of exp and exp10. Expect some exp10 tests to miss
14684 exceptions or fail in directed rounding modes.
14685 * math/auto-libm-test-out: Regenerated.
14686 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14687 (exp10_test_tonearest): New function.
14688 (exp10_towardzero_test_data): New array.
14689 (exp10_test_towardzero): New function.
14690 (exp10_downward_test_data): New array.
14691 (exp10_test_downward): New function.
14692 (exp10_upward_test_data): New array.
14693 (exp10_test_upward): New function.
14694 (main): Call the new functions.
14695 * sysdeps/i386/fpu/libm-test-ulps: Update.
14696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14697
7fda5682
JM
146982013-12-20 Joseph Myers <joseph@codesourcery.com>
14699
31e3a405
JM
14700 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14701 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14702 * math/auto-libm-test-out: Regenerated.
14703 * math/libm-test.inc (acosh_test_data): Add more tests.
14704 (atanh_test_data): Likewise.
14705 (ceil_test_data): Likewise.
14706 (copysign_test_data): Likewise.
14707 * sysdeps/i386/fpu/libm-test-ulps: Update.
14708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14709
85bff96a
JM
14710 * timezone/checktab.awk: Update from tzcode 2013i.
14711 * timezone/private.h: Likewise.
14712 * timezone/scheck.c: Likewise.
14713 * timezone/tzfile.h: Likewise.
14714 * timezone/tzselect.ksh: Likewise.
14715 * timezone/zdump.c: Likewise.
14716 * timezone/zic.c: Likewise.
14717
b7867a3b
JM
14718 * math/auto-libm-test-in: Add tests of cpow.
14719 * math/auto-libm-test-out: Regenerated.
14720 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14721 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14722 mpc_cc_c.
14723 (func_calc_desc): Add mpc_cc_c union field.
14724 (test_functions): Add cpow.
14725 (special_fill_2pi): New function.
14726 (special_real_inputs): Add 2pi.
14727 (calc_generic_results): Handle mpc_cc_c.
14728 * sysdeps/i386/fpu/libm-test-ulps: Update.
14729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14730
7fda5682
JM
14731 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14732 csqrt, ctan and ctanh.
14733 * math/auto-libm-test-out: Regenerated.
14734 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14735 (TEST_COND_x86): Likewise.
14736 (ccos_test_data): Use AUTO_TESTS_c_c.
14737 (ccosh_test_data): Likewise.
14738 (cexp_test_data): Likewise.
14739 (clog_test_data): Likewise.
14740 (csqrt_test_data): Likewise.
14741 (ctan_test_data): Likewise.
14742 (ctan_tonearest_test_data): Likewise.
14743 (ctan_towardzero_test_data): Likewise.
14744 (ctan_downward_test_data): Likewise.
14745 (ctan_upward_test_data): Likewise.
14746 (ctanh_test_data): Likewise.
14747 (ctanh_tonearest_test_data): Likewise.
14748 (ctanh_towardzero_test_data): Likewise.
14749 (ctanh_downward_test_data): Likewise.
14750 (ctanh_upward_test_data): Likewise.
14751 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14752 mpc_c_c.
14753 (func_calc_desc): Add mpc_c_c union field.
14754 (FUNC_mpc_c_c): New macro.
14755 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14756 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14757 ctanh.
14758 (special_fill_min_subnorm_p120): New function.
14759 (special_real_inputs): Add min_subnorm_p120.
14760 (calc_generic_results): Handle mpc_c_c.
14761 * sysdeps/i386/fpu/libm-test-ulps: Update.
14762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14763
5ff8d60e
SP
147642013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14765
57f41c40
AS
14766 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14767 (do_sin_slow): New functions.
14768 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14769 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14770
84ba214c
SP
14771 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14772 Use M to change sign of result instead of X. Assume X is
14773 positive.
14774 (csloww1): Likewise.
14775 (__sin): Adjust.
14776 (__cos): Adjust.
14777
975195e4
SP
14778 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14779 arguments A and DA.
14780 (__sin): Adjust.
14781 (__cos): Likewise.
14782
5ff8d60e
SP
14783 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14784 (__cos): Likewise.
14785 (sloww1): Don't adjust sign of DX.
14786 (csloww1): Likewise.
14787 (sloww2): Use X directly and don't adjust sign of DX.
14788 (csloww2): Likewise.
14789
eb983568
JM
147902013-12-19 Joseph Myers <joseph@codesourcery.com>
14791
64a17f1a
JM
14792 * math/auto-libm-test-in: Add tests of cabs and carg.
14793 * math/auto-libm-test-out: Regenerated.
14794 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14795 (carg_test_data): Likewise.
14796 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14797 mpc_c_f.
14798 (func_calc_desc): Add mpc_c_f union field.
14799 (test_functions): Add cabs and carg.
14800 (calc_generic_results): Handle mpc_c_f.
14801
eb983568
JM
14802 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14803 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14804 as a macro and a compat symbol.
14805 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14806 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14807 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14808 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14809 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14810 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14811 not use .hidden.
14812 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14813 Likewise.
14814 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14815 Likewise.
14816 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14817 Likewise.
14818 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14819 Likewise.
14820 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14821 Likewise.
14822 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14823 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14824 from GLIBC_2.3.2.
14825
6eeb678a
AZ
148262013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14827
14828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14829
6f6fc482
JM
148302013-12-19 Joseph Myers <joseph@codesourcery.com>
14831
21fea2e2
JM
14832 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14833 trailing whitespace removed.
14834 * scripts/config.guess: Update to version 2013-11-29.
14835 * scripts/config.sub: Update to version 2013-10-01.
14836
6f6fc482
JM
14837 * math/auto-libm-test-in: Add tests of sincos.
14838 * math/auto-libm-test-out: Regenerated.
14839 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14840 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14841 mpfr_f_11.
14842 (func_calc_desc): Add mpfr_f_11 union field.
14843 (test_functions): Add sincos.
14844 (calc_generic_results): Handle mpfr_f_11.
14845 * sysdeps/i386/fpu/libm-test-ulps: Update.
14846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14847
83f5c32d
AS
148482013-12-19 Andreas Schwab <schwab@suse.de>
14849
14850 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14851 CALL_MCOUNT.
14852 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14853 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14854 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14855
c688b419
JM
148562013-12-19 Joseph Myers <joseph@codesourcery.com>
14857
335ee092
JM
14858 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14859 * sysdeps/i386/fpu/libm-test-ulps: Update.
14860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14861
f88acd39
JM
14862 [BZ #16293]
14863 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14864 round-to-nearest mode when using frndint.
14865 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14866 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14867 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14868 Likewise.
14869 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14870 sinh test to fail.
14871 * math/auto-libm-test-out: Regenerated.
14872 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14873 (TEST_COND_x86): Likewise.
14874 (expm1_tonearest_test_data): New array.
14875 (expm1_test_tonearest): New function.
14876 (expm1_towardzero_test_data): New array.
14877 (expm1_test_towardzero): New function.
14878 (expm1_downward_test_data): New array.
14879 (expm1_test_downward): New function.
14880 (expm1_upward_test_data): New array.
14881 (expm1_test_upward): New function.
14882 (main): Run the new test functions.
14883 * sysdeps/i386/fpu/libm-test-ulps: Update.
14884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14885
c688b419
JM
14886 * include/features.h: Update comment documenting feature test
14887 macros. Mention _DEFAULT_SOURCE in comment.
14888 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14889 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14890 _BSD_SOURCE and _SVID_SOURCE.
14891 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14892 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14893 !_SVID_SOURCE]: Likewise.
14894 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14895 (__USE_POSIX_IMPLICITLY): Define.
14896 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14897 (_POSIX_SOURCE): Undefine and redefine.
14898 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14899 (_POSIX_C_SOURCE): Likewise.
14900 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14901 (Feature Test Macros): Update documentation of default features.
14902
9f6e964c
RS
149032013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14904
14905 * benchtests/Makefile: Add bench-strtok.
14906 * benchtests/bench-strtok.c: New file: strtok benchtest.
14907
ee0a148a
AM
149082013-12-19 Allan McRae <allan@archlinux.org>
14909
14910 * manual/install.texi: Suppress menu for plain text output.
14911 * INSTALL: Regenerated.
14912
b9ab448f
BM
149132013-12-18 Brooks Moses <bmoses@google.com>
14914
14915 [BZ #15846]
14916 * misc/getauxval.c: Include errno.h.
14917 (__getauxval): Set errno to ENOENT if the requested type is not
14918 found.
14919 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14920 don't declare with __attribute_const__.
14921 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14922 * manual/startup.texi: Document that getauxval sets errno.
14923
23776487
JM
149242013-12-18 Joseph Myers <joseph@codesourcery.com>
14925
f889953b
JM
14926 * math/auto-libm-test-in: Add tests of jn and yn.
14927 * math/auto-libm-test-out: Regenerated.
14928 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14929 (yn_test_data): Likewise.
14930 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14931 mpfr_if_f.
14932 (func_calc_desc): Add mpfr_if_f union field.
14933 (FUNC_mpfr_if_f): New macro.
14934 (test_functions): Add jn and yn.
14935 (calc_generic_results): Assert type of second input for
14936 mpfr_ff_f. Handle mpfr_if_f.
14937 (output_for_one_input_case): Disable all checking for arguments
14938 fitting floating-point types in case of an integer argument.
14939 * sysdeps/i386/fpu/libm-test-ulps: Update.
14940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14941
23776487
JM
14942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14943 Don't expect fegetround reference in libm.so.
14944
cb756c6d
MS
149452013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14946
14947 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14948 $(config-cflags-nofma).
14949
2dec468f
JM
149502013-12-18 Joseph Myers <joseph@codesourcery.com>
14951
5953eb3a
JM
14952 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14953 * math/auto-libm-test-out: Regenerated.
14954
2dec468f
JM
14955 [BZ #16338]
14956 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14957 to determine exponent and adjust argument to have exponent of -1.
14958 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14959 log2.
14960 * math/auto-libm-test-out: Regenerated.
14961 * sysdeps/i386/fpu/libm-test-ulps: Update.
14962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14963
4d84e6ad
OB
149642013-12-18 Ondřej Bílka <neleai@seznam.cz>
14965
14966 * manual/probes.texi: Remove cases when per-thread arenas are
14967 disabled.
14968
1818483b
AS
149692013-12-18 Andreas Schwab <schwab@suse.de>
14970
14971 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14972 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14973 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14974 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14975 * sysdeps/i386/i686/multiarch/Makefile: Update.
14976 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14977
25de95bf
JM
149782013-12-17 Joseph Myers <joseph@codesourcery.com>
14979
14980 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14981 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14982
674762d9
PE
149832013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14984
ed27ed83 14985 [BZ #15968]
0748546f
PE
14986 Support TZ transition times < 00:00:00.
14987 This is needed for version-3 tz-format files; it supports time
14988 stamps past 2037 for America/Godthab (the only entry in the tz
14989 database for which this change is relevant).
14990 * manual/time.texi (TZ Variable): Document transition times
14991 from -167:59:59 through -00:00:01.
14992 * time/tzset.c (tz_rule): Time of day is now signed.
14993 (__tzset_parse_tz): Parse negative time of day.
14994
4480e934
PE
14995 Document TZ transition times >= 25:00:00.
14996 * manual/time.texi (TZ Variable): Document transition times from
14997 25:00:00 through 167:59:59. These are already supported, and this
14998 support will help with version-3 tz-format files.
14999
69947401
PE
15000 * manual/time.texi (TZ Variable): Modernize North America example
15001 to reflect current (i.e., 2007-and-later) daylight saving rules.
15002
674762d9
PE
15003 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15004
7011c262
JM
150052013-12-17 Joseph Myers <joseph@codesourcery.com>
15006
2fc6557e
JM
15007 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15008 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15009 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15011 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15012 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15013 * sysdeps/unix/bsd/clock.c: Likewise.
15014 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15015 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15016 * sysdeps/unix/bsd/init-posix.c: Likewise.
15017 * sysdeps/unix/bsd/poll.c: Likewise.
15018 * sysdeps/unix/bsd/ptsname.c: Likewise.
15019 * sysdeps/unix/bsd/seekdir.c: Likewise.
15020 * sysdeps/unix/bsd/setegid.c: Likewise.
15021 * sysdeps/unix/bsd/seteuid.c: Likewise.
15022 * sysdeps/unix/bsd/setgid.c: Likewise.
15023 * sysdeps/unix/bsd/setrgid.c: Likewise.
15024 * sysdeps/unix/bsd/setruid.c: Likewise.
15025 * sysdeps/unix/bsd/setsid.c: Likewise.
15026 * sysdeps/unix/bsd/setuid.c: Likewise.
15027 * sysdeps/unix/bsd/sigaction.c: Likewise.
15028 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15029 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15030 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15031 * sysdeps/unix/bsd/telldir.c: Likewise.
15032 * sysdeps/unix/bsd/times.c: Likewise.
15033 * sysdeps/unix/bsd/usleep.c: Likewise.
15034
029c7b25
JM
15035 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15036 ($(objpfx)libbsd-compat.a): Remove rule.
15037
7011c262
JM
15038 * include/features.h (__FAVOR_BSD): Do not define.
15039 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15040 features conflicting with POSIX.
15041 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15042 (_BSD_SOURCE): Remove description of not being a subset of other
15043 feature test macros.
15044 * manual/job.texi (getpgrp): Do not document BSD version.
15045 (getpgid): Do not document by reference to BSD getpgrp.
15046 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15047 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15048 * signal/signal.h [__FAVOR_BSD]: Likewise.
15049 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15050 instead of making contents conditional on [__FAVOR_BSD].
15051 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15052
affb6f78
AZ
150532013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15054
15055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15056
c88769dd
JM
150572013-12-17 Joseph Myers <joseph@codesourcery.com>
15058
6432a540
JM
15059 [BZ #16314]
15060 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15061 values below 2**-450, not 2**-500.
15062 * math/auto-libm-test-in: Don't allow spurious underflow from
15063 hypot.
15064 * math/auto-libm-test-out: Regenerated.
15065
c88769dd
JM
15066 [BZ #16316]
15067 [BZ #16330]
15068 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15069 values of ha and hb and sort them after adjusting subnormal
15070 arguments.
15071 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15072 Likewise.
15073 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15074 values of ea and eb and sort them after adjusting subnormal
15075 arguments.
15076 * math/auto-libm-test-in: Do not expect some hypot tests of
15077 subnormals to fail. Add more hypot tests.
15078 * math/auto-libm-test-out: Regenerated.
15079
29618f6b
KK
150802013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15081
15082 [BZ #13304]
15083 * sysdeps/sh/s_fma.c: New file.
15084 * sysdeps/sh/s_fmaf.c: New file.
15085 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15086 version.
15087 * sysdeps/sh/Implies: Add sh/soft-fp.
15088
eacfdfbf
RM
150892013-12-16 Roland McGrath <roland@hack.frob.com>
15090
15091 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15092 level of indirection to members `objname', `errstring', `malloced'.
15093 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15094 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15095 it as the __longjmp argument (just pass 1 instead).
15096 (_dl_catch_error): Initialize C with argument pointers and address of
15097 volatile local ERRCODE rather than copying values out of C at return.
15098
ff362e5b
JM
150992013-12-16 Joseph Myers <joseph@codesourcery.com>
15100
15101 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15102 * math/auto-libm-test-out: Regenerated.
15103 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15104 (hypot_test_data): Likewise.
15105 (pow_test_data): Likewise.
15106 (pow_tonearest_test_data): Likewise.
15107 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15108 mpfr_ff_f.
15109 (func_calc_desc): Add mpfr_ff_f union field.
15110 (FUNC_mpfr_ff_f): New macro.
15111 (test_functions): Add atan2, hypot and pow.
15112 (special_fill_min): New function.
15113 (special_fill_minus_min): Likewise.
15114 (special_fill_min_subnorm): Likewise.
15115 (special_fill_minus_min_subnorm): Likewise.
15116 (special_real_inputs): Add min, -min, min_subnorm and
15117 -min_subnorm.
15118 (calc_generic_results): Handle mpfr_ff_f.
15119 * sysdeps/i386/fpu/libm-test-ulps: Update.
15120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15121
5764c27f
WN
151222013-12-16 Will Newton <will.newton@linaro.org>
15123
15124 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15125 (Aligned Memory Blocks): Add documentation for aligned_alloc
15126 and suggest it as an alternative to posix_memalign.
15127 (Hooks for Malloc): Document __memalign_hook is also called
15128 for aligned_alloc. (Summary of Malloc): Add summary for
15129 aligned alloc. Document __memalign_hook is also called
15130 for aligned_alloc.
15131
0a096e44
WN
151322013-12-16 Will Newton <will.newton@linaro.org>
15133
15134 * manual/memory.texi (Malloc Examples): Clarify default
15135 alignment documentation. Suggest posix_memalign rather
15136 than memalign or valloc.
15137 (Aligned Memory Blocks): Remove suggestion to use memalign
15138 or valloc. Remove obsolete comment about BSD.
15139 Document memalign errno values and mark the function obsolete.
15140 Document posix_memalign returned error codes. Mark valloc
15141 as obsolete. (Hooks for Malloc): __memalign_hook is also
15142 called for posix_memalign and valloc.
15143 (Summary of Malloc): Add posix_memalign to function summary.
15144 __memalign_hook is also called for posix_memalign and valloc.
15145
8d561986
SP
151462013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15147
15148 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15149 TAYLOR_SIN.
15150 (__sin): Adjust.
15151 (__cos): Likewise.
15152 (sloww): Use mynumber union. Expand ternary operator into
15153 if-else statements.
15154 (cslow): use mynumber union.
15155
73616a74
AM
151562013-12-16 Allan McRae <allan@archlinux.org>
15157
9e8ac24b
AM
15158 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15159 * configure: Regenerated.
15160
6f8e37eb
AM
15161 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15162
8894bad3
AM
15163 [BZ #14120]
15164 * configure.ac: Added --enable-maintainer-mode. Check for
15165 autoconf when enabled.
15166 * configure: Regenerated.
15167
73616a74
AM
15168 * nscd/nscd.service: New file.
15169 * nscd/nscd.tmpfiles: New file.
15170
584b18eb
OB
151712013-12-14 Ondřej Bílka <neleai@seznam.cz>
15172
15173 [BZ #12100]
15174 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15175 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15176 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15177 (strstr): Add __strstr_sse2_unaligned ifunc.
15178 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15179 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15180 (strcasestr): Remove __strcasestr_sse42 ifunc.
15181 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15182 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15184
8a5c7897
KK
151852013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15186
15187 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15188 * sysdeps/sh/bits/fenv.h: ... here.
15189 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15190
fd712ef3
AZ
151912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15192
15193 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15194
42fcb46c
AZ
15195 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15196 hypotf multiarch implementations.
15197 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15198 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15199 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15200 multiarch hypot for PPC64.
15201 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15202 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15203 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15204 multiarch hypotf for PPC64.
15205
83efded4
AZ
15206 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15207 modff multiarch implementations.
15208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15211 multiarch modf for PPC64.
15212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15215 multiarch modff for PPC64.
15216
43e246d2
AZ
15217 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15218 and logl multiarch implementations.
15219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15222 multiarch logb for PPC64.
15223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15226 multiarch logb for PPC64.
15227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15230 multiarch logb for PPC64.
15231
8fdad123
AZ
15232 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15233 isinff multiarch implementation.
15234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15235 file.
15236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15238 multiarch isinf for PPC64.
15239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15240 file.
15241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15242 multiarch isinff for PPC64.
15243
1481d706
AZ
15244 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15245 finitef multiarch implementation.
15246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15247 file.
15248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15250 multiarch finite for PPC64.
15251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15252 file.
15253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15254 multiarch finitef for PPC64.
15255
5ccd5fc8
AZ
15256 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15257 lrint multiarch implementation.
15258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15259 file.
15260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15262 multiarch llrint for PPC64.
15263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15264 multiarch lrint for PPC64.
15265
2568f3fa
AZ
15266 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15267 copysignf multiarch implementation.
15268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15269 file.
15270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15271 file.
15272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15273 multiarch copysign for PPC64.
15274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15275 multiarch copysignf for PPC64.
15276
1cb341fd
AZ
15277 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15278 multiarch implementation.
15279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15280 file.
15281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15282 file.
15283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15284 file.
15285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15286 file.
15287 multiarch llround for PPC64.
15288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15289 multiarch trunc for PPC64.
15290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15291 multiarch truncf for PPC64.
15292
59a3e194
AZ
15293 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15294 multiarch implementation.
15295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15296 file.
15297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15298 file.
15299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15300 file.
15301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15302 file.
15303 multiarch llround for PPC64.
15304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15305 multiarch round for PPC64.
15306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15307 multiarch roundf for PPC64.
15308
357fd3b4
AZ
15309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15310 multiarch implementation.
15311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15312 file.
15313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15314 file.
15315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15316 file.
15317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15318 file.
15319 multiarch llround for PPC64.
15320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15321 multiarch floor for PPC64.
15322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15323 multiarch floorf for PPC64.
15324
96770f12
AZ
15325 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15326 multiarch implementation.
15327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15328 file.
15329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15330 file.
15331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15332 file.
15333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15334 file.
15335 multiarch llround for PPC64.
15336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15337 multiarch ceil for PPC64.
15338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15339 multiarch ceilf for PPC64.
15340
c3627f6e
AZ
15341 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15342 multiarch implementation.
15343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15344 file.
15345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15346 file.
15347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15348 file.
15349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15350 multiarch llround for PPC64.
15351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15352 multiarch lround for PPC64.
15353
b2284ad7
AZ
15354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15355 multiarch implementation.
15356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15359 file.
15360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15363 multiarch isnan for PPC64.
15364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15365 multiarch isnanf for PPC64.
15366
69bbc63d
AZ
15367 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15368 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15369 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15370 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15371 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15373
c24517c9
AZ
15374 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15375 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15376 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15377 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15378
a52374e8
AZ
15379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15380 multiarch implementations.
15381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15382 (__libc_ifunc_impl_list): Likewise.
15383 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15384 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15385 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15386 multiarch stpcpy for PPC64.
15387
7f5ec113
AZ
15388 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15389 multiarch implementations.
15390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15391 (__libc_ifunc_impl_list): Likewise.
15392 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15393 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15394 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15395 multiarch strcpy for PPC64.
15396
e28bcd42
AZ
15397 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15398 redefine function name.
15399 (_wordcopy_fwd_dest_aligned): Likewise.
15400 (_wordcopy_bwd_aligned): Likewise.
15401 (_wordcopy_bwd_dest_aligned): Likewise.
15402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15403 multiarch implementations.
15404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15405 (__libc_ifunc_impl_list): Likewise.
15406 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15407 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15408 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15409 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15410 multiarch wcscpy for PPC64.
15411
92cacfce
AZ
15412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15413 multiarch implementations.
15414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15415 (__libc_ifunc_impl_list): Likewise.
15416 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15417 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15418 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15419 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15420 multiarch wcscpy for PPC64.
15421
7b714620
AZ
15422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15423 multiarch implementations.
15424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15425 (__libc_ifunc_impl_list): Likewise.
15426 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15427 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15428 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15429 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15430 multiarch wcsrchr for PPC64.
15431
16fd2ae3
AZ
15432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15433 multiarch implementations.
15434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15435 (__libc_ifunc_impl_list): Likewise.
15436 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15437 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15438 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15439 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15440 multiarch wcschr for PPC64.
15441
9ee2969b
AZ
15442 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15443 multiarch implementations.
15444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15445 (__libc_ifunc_impl_list): Likewise.
15446 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15447 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15448 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15449 multiarch strchrnul for PPC64.
15450
372dc060
AZ
15451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15452 implementations.
15453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15454 (__libc_ifunc_impl_list): Likewise.
15455 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15456 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15457 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15458 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15459 strchr for PPC64.
15460
24c2c3b9
AZ
15461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15462 implementations.
15463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15464 (__libc_ifunc_impl_list): Likewise.
15465 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15466 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15467 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15468 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15469 strncmp for PPC64.
15470
1c92d9a0
AZ
15471 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15472 multiarch implementations.
15473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15474 (__libc_ifunc_impl_list): Likewise.
15475 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15476 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15477 strncasecmp for PPC64.
15478 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15479 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15480 multiarch strncasecmp_l for PPC64.
15481
17de3ee3
AZ
15482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15483 multiarch implementations.
15484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15485 (__libc_ifunc_impl_list): Likewise.
15486 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15487 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15488 multiarch strcasecmp for PPC64.
15489 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15490 file.
15491 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15492 multiarch strcasecmp_l for PPC64.
15493
62982bf9
AZ
15494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15495 implementations.
15496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15497 (__libc_ifunc_impl_list): Likewise.
15498 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15499 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15500 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15501 strnlen for PPC64.
15502
a65f4904
AZ
15503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15504 implementations.
15505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15506 (__libc_ifunc_impl_list): Likewise.
15507 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15508 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15509 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15510 strlen for PPC64.
15511
1fd005ad
AZ
15512 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15513 implementations.
15514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15515 (__libc_ifunc_impl_list): Likewise.
15516 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15517 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15518 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15519 rawmemrchr for PPC64.
15520
cd05ba91
AZ
15521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15522 implementation.
15523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15524 (__libc_ifunc_impl_list): Likewise.
15525 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15526 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15527 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15528 memrchr for PPC64.
15529
870f8676
AZ
15530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15531 implementation.
15532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15533 (__libc_ifunc_impl_list): Likewise.
15534 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15535 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15536 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15537 memchr for PPC64.
15538
f00be62b
AZ
15539 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15540 implementation.
15541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15542 (__libc_ifunc_impl_list): Likewise.
15543 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15544 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15545 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15546 mempcpy for PPC64.
15547
8a29a3d0
AZ
15548 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15549 avoid cretion of __bzero symbol.
15550 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15551 Likewise.
15552 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15553 Likewise.
15554 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15555 Likewise.
15556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15557 multiarch implementations.
15558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15559 (__libc_ifunc_impl_list): Likewise.
15560 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15561 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15562 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15563 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15564 bzero for PPC32.
15565 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15566 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15567 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15568 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15569 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15570 memset for PPC64.
15571 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15572
07253fcf
AZ
15573 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15575 implementations.
15576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15577 (__libc_ifunc_impl_list): Likewise.
15578 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15579 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15580 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15581 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15582 memcmp for PPC64.
15583
b5beafbc
AZ
15584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15585 multiarch for POWER/PPC64.
15586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15587 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15588 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15589 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15590 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15591 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15592 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15593 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15594 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15595 memcpy for PPC64.
15596
5e6a4d4b
AZ
15597 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15598 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15599 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15600 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15601 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15602 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15603 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15604 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15605 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15606 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15607 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15608 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15609 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15610 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15611 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15619
ddfab6dc
KK
156202013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15621
15622 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15623
19b5525e
SP
156242013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15625
15626 * benchtests/Makefile (bench): Add exp2 and log2.
15627 (LDLIBS-bench-exp2): Add -lm.
15628 (LDLIBS-bench-log2): Likewise.
15629 * benchtests/exp2-inputs: New inputs file.
15630 * benchtests/log2-inputs: New inputs file.
15631 * benchtests/log-inputs: Add new inputs.
15632 * benchtests/tan-inputs: Likewise.
15633
196f7f5d
SP
156342013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15635
7a74607f
SP
15636 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15637 definition...
57f41c40
AS
15638 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15639 (csloww2): ... from here.
7a74607f 15640
196f7f5d
SP
15641 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15642 instead of structures.
15643 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15644 (POLYNOMIAL): Likewise.
15645 (TAYLOR_SLOW): Likewise.
15646 (__sin): Likewise.
15647 (__cos): Likewise.
15648 (slow1): Likewise.
15649 (slow2): Likewise.
15650 (sloww): Likewise.
15651 (sloww1); Likewise.
15652 (sloww2): Likewise.
15653 (bsloww1): Likewise.
15654 (bsloww2): Likewise.
15655 (cslow2): Likewise.
15656 (csloww): Likewise.
15657 (csloww1): Likewise.
15658 (csloww2): Likewise.
15659
0dfa665c
OB
156602013-12-10 Ondřej Bílka <neleai@seznam.cz>
15661
15662 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15663 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15664 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15665 * malloc/hooks.c (realloc_check): Likewise.
15666
5782a80f
OB
15667 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15668 * malloc/arena.c: Remove PER_THREAD conditional.
15669 [!PER_THREAD]: Remove code.
15670 (ptmalloc_unlock_all2): Likewise.
15671 (ptmalloc_init): Likewise.
15672 (_int_new_arena): Likewise.
15673 (arena_get2): Likewise.
15674 * malloc/hooks.c (__malloc_get_state): Likewise.
15675 (__malloc_set_state): Likewise.
15676 * malloc/malloc.c: Likewise.
15677 (struct malloc_state): Likewise.
15678 (struct malloc_par): Likewise.
15679 (__libc_realloc): Likewise.
15680 (__libc_mallopt): Likewise.
15681
aeb95445
AZ
156822013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15683
15684 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15685
e8349efd
OB
156862013-12-09 Ondřej Bílka <neleai@seznam.cz>
15687
15688 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15689 macro to a function. Check for zero perturb_byte.
15690 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15691
f3eeb3fc 15692 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15693 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15694 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15695 force_reg by atomic_forced_read.
15696 * malloc/arena.c (ptmalloc_init): Likewise.
15697 * malloc/hooks.c (top_check): Likewise.
15698
be2f9009
AZ
156992013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15700
15701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15702
e7b914bd
MT
157032013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15704
15705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15706
9f0be4f8
JM
157072013-12-08 Joseph Myers <joseph@codesourcery.com>
15708
15709 * math/auto-libm-test-in: Add tests of lgamma.
15710 * math/auto-libm-test-out: Regenerated.
15711 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15712 (M_LOG_2_SQRT_PIl): Likewise.
15713 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15714 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15715 mpfr_f_f1.
15716 (func_calc_desc): Add mpfr_f_f1 union field.
15717 (ARGS1): New macro.
15718 (ARGS2): Likewise.
15719 (ARGS3): Likewise.
15720 (ARGS4): Likewise.
15721 (RET1): Likewise.
15722 (RET2): Likewise.
15723 (CALC): Likewise.
15724 (FUNC): Likewise.
15725 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15726 (test_functions): Add lgamma.
15727 (calc_generic_results): Handle mpfr_f_f1.
15728 * sysdeps/i386/fpu/libm-test-ulps: Update.
15729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15730
24eeafdb
AZ
157312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15732
15733 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15734 __mpn_add_n for PowerPC64/POWER7.
15735 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15736 __mpn_sub_n for PowerPC64/POWER7.
15737
4a2c0fd4
AZ
15738 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15739 __mpn_addmul_1 for PowerPC64.
15740 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15741 __mpn_submul_1 for PowerPC64.
15742 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15743 for PowerPC64.
15744 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15745 for PowerPC64.
15746
4b5b548c
FS
157472013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15748
15749 [BZ #15089]
15750 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15751
0a3ac0aa
AZ
157522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15753
15754 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15755
ccdc8438
AZ
15756 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15757 add multiarch folders.
15758 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15759 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15760 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15761 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15762 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15763 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15764 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15765 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15766 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15767 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15768 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15775
2e973d99
AZ
15776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15777 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15779 New file.
15780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15781 New file.
15782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15783 multiarch __ieee754_hypot for PowerPC32.
15784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15785 New file.
15786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15787 New file.
15788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15789 multiarch __ieee754_hypotf for PowerPC32.
15790
2d9470b2
AZ
15791 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15792 long_double_symbol only if __logbl is defined.
15793 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15794 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15795 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15796 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15797 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15798 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15799 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15800 path for implementation.
15801 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15802 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15804 logb, and logbl multiarch implementations for PowerPC32.
15805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15806 file.
15807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15808 file.
15809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15810 multiarch logb for PowerPC32.
15811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15812 file.
15813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15814 file.
15815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15816 multiarch logbf for PowerPC32.
15817 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15819 file.
15820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15821 multiarch logbl implementation for PowerPC32.
15822
5212ffce
AZ
15823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15824 and modff multiarch implementations.
15825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15826 New file.
15827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15828 New file.
15829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15830 multiarch modf for PowerPC32.
15831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15832 New file.
15833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15834 New file.
15835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15836 multiarch modff for PowerPC32.
15837
79dccf31
AZ
15838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15839 and lrintf multiarch implementations.
15840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15841 New file.
15842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15843 New file.
15844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15845 multiarch lrint for PowerPC32.
15846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15847 file: multiarch lrintf for PowerPC32.
15848
deb66480
AZ
15849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15850 and lroundf multiarch implementations.
15851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15852 New file.
15853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15854 New file.
15855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15856 New file.
15857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15858 multiarch lround for PowerPC32.
15859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15860 file: multiarch lroundf for PowerPC32.
15861
264b036b
AZ
15862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15863 copysign and copysignf multiarch implementations.
15864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15865 New file.
15866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15867 New file.
15868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15869 file: multiarch copysign for PowerPC32.
15870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15871 file: multiarch copysignf for PowerPC32.
15872
d47db6c9
AZ
15873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15874 and truncf multiarch implementations.
15875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15876 New file.
15877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15878 file.
15879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15880 multiarch trunc for PowerPC32.
15881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15882 New file.
15883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15884 New file.
15885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15886 multiarch truncf for PowerPC32.
15887
ddb60b5a
AZ
15888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15889 and roundf multiarch implementations.
15890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15891 New file.
15892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15893 file.
15894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15895 multiarch round for PowerPC32.
15896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15897 New file.
15898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15899 New file.
15900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15901 multiarch roundf for PowerPC32.
15902
bedcf49b
AZ
15903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15904 and floorf multiarch implementations.
15905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15906 New file.
15907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15908 file.
15909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15910 multiarch floor for PowerPC32.
15911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15912 New file.
15913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15914 New file.
15915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15916 multiarch floorf for PowerPC32.
15917
35ae5b40
AZ
15918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15919 and ceilf multiarch implementations.
15920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15921 New file.
15922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15923 file.
15924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15925 multiarch ceil for PowerPC32.
15926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15927 New file.
15928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15929 file.
15930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15931 multiarch ceilf for PowerPC32.
15932
ae1a4cd9
AZ
15933 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15934 is defined.
15935 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15936 FINITEF is defined.
15937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15938 and finitef multiarch implementations.
15939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15940 New file.
15941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15942 file.
15943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15944 multiarch finite for PowerPC32.
15945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15946 New file.
15947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15948 file: multiarch finitef for PowerPC32.
15949
64fffd65
AZ
15950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15951 and isinff multiarch implementations.
15952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15953 file.
15954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15955 file.
15956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15957 multiarch isinf for PowerPC32.
15958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15959 New file.
15960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15961 multiarch isinff for PowerPC32.
15962
8e4e7ba2
AZ
15963 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15964 alias when __isnan is defined.
15965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15966 and isnanf multiarch implementations.
15967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15968 file.
15969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15970 file.
15971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15972 file.
15973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15974 file.
15975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15976 multiarch isnan for PowerPC32.
15977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15978 New file.
15979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15980 New file.
15981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15982 multiarch isnanf for PowerPC32.
15983
ddba588e
AZ
15984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15985 and sqrtf multiarch implementations.
15986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15987 file.
15988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15989 file.
15990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15991 multiarch sqrt for PowerPC32.
15992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15993 file.
15994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15995 file.
15996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15997 multiarch sqrtf for PowerPC32.
15998
0f96a2f0
AZ
15999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16000 and llroundf multiarch implementations.
16001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16002 New file.
16003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16004 New file.
16005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16006 New file.
16007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16008 file: multiarch llround for PowerPC32.
16009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16010 file: multiarch llroundf for PowerPC32.
16011
c9b5d79e
AZ
16012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16013 multiarch PowerPC32 fpu implementations.
16014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16015 New file.
16016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16017 New file.
16018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16019 multiarch llrint for PowerPC32.
16020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16021 New file.
16022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16023 New file.
16024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16025 file.
16026
9cbb3aab
AZ
16027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16028
ea5a72f8
AZ
16029 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16030 file.
16031 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16032 file.
16033 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16034 file.
16035 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16036 multiarch wordcopy for PPC32.
16037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16038 wordcopy objects.
16039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16040 (__libc_ifunc_impl_list): Likewise.
16041 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16042 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16043 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16044 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16045 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16046 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16047
93be09e7
AZ
16048 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16049 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16050 file.
16051 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16052 file.
16053 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16054 file.
16055 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16056 multiarch wcscpy for PPC32.
16057 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16058 multiarch objects.
16059 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16060 (__libc_ifunc_impl_list): Likewise.
16061 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16062 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16063 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16064 sysdeps/powerpc/power6/wcscpy.c.
16065
bb04e529
AZ
16066 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16067 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16068 file.
16069 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16070 file.
16071 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16072 file.
16073 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16074 multiarch wcsrchr for PPC32.
16075 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16076 multiarch objects.
16077 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16078 (__libc_ifunc_impl_list): Likewise.
16079 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16080 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16081 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16082 sysdeps/powerpc/power6/wcsrchr.c.
16083
05b5cd1c
AZ
16084 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16085 file.
16086 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16087 file.
16088 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16089 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16090 multiarch wcschr for PPc32.
16091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16092 multiarch objects.
16093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16094 (__libc_ifunc_impl_list): Likewise.
16095 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16096 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16097 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16098 sysdeps/powerpc/power6/wcschr.c.
16099
ba964147
AZ
16100 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16101 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16102 file.
16103 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16104 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16105 file: multiarch strchr for PPC32.
16106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16107 multiarch objects.
16108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16109 (__libc_ifunc_impl_list): Likewise.
16110
31c81aaa
AZ
16111 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16112 name.
16113 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16114 file.
16115 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16116 file.
16117 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16118 multiarch strchrnul for PPC32.
16119 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16120 multiarch objects.
16121 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16122 (__libc_ifunc_impl_list): Likewise.
16123
0d0607d9
AZ
16124 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16125 file.
16126 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16127 multiarch strncasecmp for PPC32.
16128 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16129 file.
16130 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16131 multiarch strncasecmp_l for PPC32.
16132 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16133 strncasecmp multiarch objects.
16134 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16135 (__libc_ifunc_impl_list): Likewise.
16136
4dfd5c86
AZ
16137 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16138 file.
16139 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16140 multiarch strncasecmp for PPC32.
16141 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16142 New file.
16143 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16144 multiarch strcasecmp_l for PPC32.
16145 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16146 multiarch objects.
16147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16148 (__libc_ifunc_impl_list): Likewise.
16149
a19e01a3
AZ
16150 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16151 file.
16152 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16153 file.
16154 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16155 multiarch strncmp for PPC32.
16156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16157 multiarch objects.
16158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16159 (__libc_ifunc_impl_list): Likewise.
16160
ae9cf7a2
AZ
16161 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16162 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16163 file.
16164 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16165 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16166 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16167 multiarch objects.
16168 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16169 (__libc_ifunc_impl_list): Likewise.
16170
3148bb7d
AZ
16171 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16172 file.
16173 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16174 file.
16175 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16176 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16177 multiarch objects.
16178 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16179 (__libc_ifunc_impl_list): Likewise.
16180
7af8b946
AZ
16181 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16182 file.
16183 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16184 file.
16185 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16186 multiarch rawmemchr for PPC32.
16187 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16188 multiarch objects.
16189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16190 (__libc_ifunc_impl_list): Likewise.
16191
03a6aa6a
AZ
16192 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16193 file.
16194 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16195 file.
16196 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16197 file: memrchr multiarch for PPC32.
16198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16199 multiarch objects.
16200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16201 (__libc_ifunc_impl_list): Likewise.
16202
1c62e6d9
AZ
16203 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16204 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16205 file.
16206 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16207 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16208 multiarch memchr for PPC32.
16209 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16210 multiarch objects.
16211 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16212 (__libc_ifunc_impl_list): Likewise.
16213
87da8bdb
AZ
16214 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16215 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16216 file.
16217 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16218 file.
16219 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16220 file: multiarch mempcpy for PPC32.
16221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16222 multiarch objects.
16223 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16224 (__libc_ifunc_impl_list): Likewise.
16225
20ed4714
AZ
16226 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16227 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16228 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16229 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16230 multiarch bzero for PPC32.
16231 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16232 file.
16233 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16234 file.
16235 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16236 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16237 file: multiarch memset for PPC32.
16238 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16240 memset multiarch objects.
16241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16242 (__libc_ifunc_impl_list): Likewise.
16243
ab3e3a46
AZ
16244 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16245 file.
16246 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16247 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16248 memcmp for PPC32.
16249 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16251 multiarch objects.
16252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16253 (__libc_ifunc_impl_list): Likewise.
16254
930de6f0
AZ
16255 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16256 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16257 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16258 file.
16259 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16260 file.
16261 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16262 file.
16263 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16264 multiarch memcpy for PPC32.
16265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16266 multiarch objects.
16267 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16268 (__libc_ifunc_impl_list): Likewise.
16269
4c628e00
AZ
16270 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16271 support multiarch for POWER/PPC32.
16272 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16273 Likewise.
16274 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16276 Implies file to make multiarch folder appers before the fpu and
16277 default folder for power4 configuration.
16278
f4479220
SP
162792013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16280
16281 * scripts/bench.pl: Append volatile keyword to type.
16282
8517800f
KK
162832013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16284
16285 * sysdeps/sh/sotruss-lib.c: New file.
16286 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16287
180138f1
AZ
162882013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16289
16290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16291
bbf37bdc
JM
162922013-12-05 Joseph Myers <joseph@codesourcery.com>
16293
e47cc4e0
JM
16294 [BZ #6810]
16295 * math/w_tgamma.c: Include <errno.h>.
16296 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16297 * math/w_tgammaf.c: Include <errno.h>.
16298 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16299 * math/w_tgammal.c: Include <errno.h>.
16300 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16301 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16302 underflow. Add more tgamma tests.
16303 * math/auto-libm-test-out: Regenerated.
16304 * sysdeps/i386/fpu/libm-test-ulps: Update.
16305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16306
bbf37bdc
JM
16307 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16308 sin, sinh, tan, tanh, tgamma, y0 and y1.
16309 * math/auto-libm-test-out: Regenerated.
16310 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16311 (TEST_COND_x86): Likewise.
16312 (M_E2l): Remove macro.
16313 (M_E3l): Likewise.
16314 (M_2_SQRT_PIl): Likewise.
16315 (M_SQRT_PIl): Likewise.
16316 (M_1_DIV_El): Likewise.
16317 (log_test_data): Use AUTO_TESTS_f_f.
16318 (log10_test_data): Likewise.
16319 (log1p_test_data): Likewise.
16320 (log2_test_data): Likewise.
16321 (sin_test_data): Likewise.
16322 (sin_tonearest_test_data): Likewise.
16323 (sin_towardzero_test_data): Likewise.
16324 (sin_downward_test_data): Likewise.
16325 (sin_upward_test_data): Likewise.
16326 (sinh_test_data): Likewise.
16327 (sinh_tonearest_test_data): Likewise.
16328 (sinh_towardzero_test_data): Likewise.
16329 (sinh_downward_test_data): Likewise.
16330 (sinh_upward_test_data): Likewise.
16331 (tan_test_data): Likewise.
16332 (tan_tonearest_test_data): Likewise.
16333 (tan_towardzero_test_data): Likewise.
16334 (tan_downward_test_data): Likewise.
16335 (tan_upward_test_data): Likewise.
16336 (tanh_test_data): Likewise.
16337 (tgamma_test_data): Likewise.
16338 (y0_test_data): Likewise.
16339 (y1_test_data): Likewise.
16340 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16341 (special_real_inputs): Add pi/4.
16342 * sysdeps/i386/fpu/libm-test-ulps: Update.
16343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16344
eb5ad6b9
AZ
163452013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16346
16347 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16348 "longjmp_target" static probes.
16349 (__longjmp): Rename to __longjmp_symbol.
16350 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16351 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16352 on which longjmp to generate.
16353 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16354 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16355 probe.
16356 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16357 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16358 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16359 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16360 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16361 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16363 __longjmp_symbol based on which __longjmp to generate.
16364 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16365 probe.
16366 (setjmp): Rename to setjmp_symbol.
16367 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16368 (_setjmp): Rename to _setjmp_symbol.
16369 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16370 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16371 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16372 which setjmp to generate.
16373 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16374 "longjmp_target" static probes.
16375
d136c6dc
SP
163762013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16377
9298ecba
SP
16378 * benchtests/README: Add note about output arguments.
16379 * benchtests/bench-sincos.c: Remove file.
16380 * benchtests/sincos-inputs: New file.
16381 * scripts/bench.pl: Identify output arguments and define
16382 static variables for them.
16383
232983e9
SP
16384 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16385
d136c6dc
SP
16386 [BZ #15941]
16387 * Makefile (INSTALL): Add install-plain.texi as the primary
16388 dependency.
16389 * manual/install-plain.texi: New file.
16390 * manual/install.texi: Include node directive only for
16391 non-plaintext output.
16392
699ff837
JM
163932013-12-04 Joseph Myers <joseph@codesourcery.com>
16394
ab07cea8
JM
16395 * stdlib/longlong.h: Update from GCC.
16396
699ff837
JM
16397 [BZ #6807]
16398 [BZ #15901]
16399 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16400 * math/w_j0f.c (y0f): Likewise.
16401 * math/w_j0l.c (__y0l): Likewise.
16402 * math/w_j1.c (y1): Likewise.
16403 * math/w_j1f.c (y1f): Likewise.
16404 * math/w_j1l.c (__y1l): Likewise
16405 * math/w_jn.c (yn): Likewise.
16406 * math/w_jnf.c (ynf): Likewise.
16407 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16408 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16409 value for Bessel function domain errors outside _SVID_ mode.
16410 Adjust sign of return value for yn (negative integer, 0).
16411 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16412 by zero in return for negative x and set sign appropriately for
16413 negative n.
16414 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16415 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16416 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16417 expectations in error cases.
16418 (y1_test_data): Likewise.
16419 (yn_test_data): Likewise.
16420 * sysdeps/i386/fpu/libm-test-ulps: Update.
16421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16422
5b118558
UW
164232013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16424
16425 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16426 "64" to "64-v1". Add "64-v2".
16427 (abi-64-options): Rename to ...
16428 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16429 (abi-64-condition): Rename to ...
16430 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16431 (abi-64-ld-soname): Rename to ...
16432 (abi-64-v1-ld-soname): ... this.
16433 (abi-64-v2-options): Define.
16434 (abi-64-v2-condition): Likewise.
16435 (abi-64-v2-ld-soname): Likewise.
16436 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16437 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16441
61cd8fe4
UW
164422013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16443 Alan Modra <amodra@gmail.com>
16444
16445 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16446 New versions for use with the ELFv2 ABI.
16447 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16448 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16449 declaration.
16450 (struct La_ppc64v2_retval): Likewise.
16451 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16452 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16453 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16454 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16455 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16456 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16457 Do not save or restore CR.
16458 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16459 (_dl_profile_resolve): Do no save or restore CR. Support extended
16460 return values for ELFv2 ABI. Fix location of FPR return registers.
16461 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16462 updated values for _CALL_ELF == 2.
16463 (La_regs, La_retval, int_retval): Likewise.
16464
8b8a692c
UW
164652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16466
16467 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16468 (FRAME_MIN_SIZE_PARM): Likewise.
16469 (FRAME_BACKCHAIN): Likewise.
16470 (FRAME_CR_SAVE): Likewise.
16471 (FRAME_LR_SAVE): Likewise.
16472 (FRAME_TOC_SAVE): Likewise.
16473 (FRAME_PARM_SAVE): Likewise.
16474 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16475 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16476 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16477 (call_mcount_parm_offset): New macro.
16478 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16479 (PROF): Use symbolic stack frame offsets.
16480 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16481 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16482 Redefine in terms of FRAME_MIN_SIZE.
16483 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16484 (_dl_profile_resolve): Likewise. Update comment.
16485 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16486 symbols stack frame offsets.
16487 (__sigsetjmp): Likewise.
16488 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16489 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16490 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16491 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16492
16493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16494 (FRAME_BACKCHAIN): Remove.
16495 (FRAME_CR_SAVE): Likewise.
16496 (FRAME_LR_SAVE): Likewise.
16497 (FRAME_COMPILER_DW): Likewise.
16498 (FRAME_LINKER_DW): Likewise.
16499 (FRAME_TOC_SAVE): Likewise.
16500 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16501 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16502 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16503 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16505 (CHECK_SP): Use symbolic stack frame offsets.
16506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16507 zone" instead of caller's parameter save area for temp storage.
16508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16509 Likewise. Also, use symbolic stack frame offsets.
16510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16511 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16512 our own stack frame instead of the caller's.
16513 (__socket): Use symbolic stack frame offsets.
16514
122b66de
UW
165152013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16516 Alan Modra <amodra@gmail.com>
16517
16518 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16519 Define.
57f41c40
AS
16520 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16521 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16522 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16523 New function.
16524 (elf_machine_fixup_plt): Call it.
16525 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16526 reloc arguments.
16527 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16528 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16529 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16530 r2 before calling target.
16531
696caf1d
UW
165322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16533 Alan Modra <amodra@gmail.com>
16534
16535 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16536 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16537 versions of macros to support ELFv2 ABI.
16538 (LOCALENTRY): New macro.
16539 (ENTRY, EALIGN): Use it.
16540 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16541 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16542 fall through into ENTRY entry point.
16543 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16544 Only define if _CALL_ELF != 2.
16545
16546 (elf_machine_matches_host): Verify ABI version matches.
16547 (RTLD_START): Use LOCALENTRY.
16548 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16549 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16550 (PLT_ENTRY_WORDS): New macro.
16551 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16552 (elf_machine_runtime_setup): Support ELFv2 ABI.
16553 (elf_machine_fixup_plt): Likewise.
16554 (elf_machine_plt_conflict): Likewise.
16555 (resolve_ifunc): Likewise.
16556 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16557 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16558 Likewise.
16559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16560 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16562 (makecontext): Support ELFv2 ABI.
16563 * elf/elf.h (EF_PPC64_ABI): Define.
16564
d31beafa
UW
165652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16566
57f41c40
AS
16567 * sysdeps/powerpc/powerpc64/sysdep.h
16568 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16569 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16570 (ENTRY) [ASSEMBLER]: ... but instead here ...
16571 (EALIGN) [ASSEMBLER]: ... and here.
16572 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16573 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16574 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16575 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16576 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16577 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16578 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16579 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16581 Use PPC64_LOAD_FUNCPTR.
16582
b525166b
UW
16583 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16584
7ec07d9a
AM
165852013-12-04 Alan Modra <amodra@gmail.com>
16586
16587 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16588 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16589 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16590 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16591
16592 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16593 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16594 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16595 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16596 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16597 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16598
5162e7dd
UW
165992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16600
16601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16602 (__makecontext): Fix incorrect CFI when backtracing out of
16603 context created via makecontext.
16604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16605 (__setcontext): Fix incorrect CFI during switch to new context.
16606 (__novec_setcontext): Likewise.
16607
19e3372b
OB
166082013-12-04 Ondřej Bílka <neleai@seznam.cz>
16609
16610 [BZ #4772]
16611 * time/strptime_l.c (__strptime_internal): Allow modifiers
16612 in strptime.
16613 * time/tst-strptime.c (day_tests): Add testcase.
16614
ecaf142d
SP
166152013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16616
16617 * scripts/bench.pl: Skip over blank lines.
16618
fbf964ae
PE
166192013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16620
16621 [BZ #926]
16622 * manual/time.texi (Calendar Time): Clarify what timezone functions
16623 use.
16624
fa60a674
AZ
166252013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16626
16627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16628
d674f0ef
OB
166292013-12-04 Ondřej Bílka <neleai@seznam.cz>
16630
16631 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16632 implementation.
16633 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16634 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16635 * debug/memset_chk.c (__memset_chk): Likewise.
16636 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16637 * debug/strncpy_chk.c: Likewise.
16638
17dea188
JM
166392013-12-03 Joseph Myers <joseph@codesourcery.com>
16640
749008ff
JM
16641 [BZ #15268]
16642 [BZ #15425]
16643 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16644 (__ieee754_exp): For possibly underflowing results, check size of
16645 result and force underflow exception if required.
16646 * math/auto-libm-test-in: Add more tests of exp.
16647 * math/auto-libm-test-out: Regenerated.
16648 * sysdeps/i386/fpu/libm-test-ulps: Update.
16649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16650
17dea188
JM
16651 [BZ #16283]
16652 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16653 * math/w_exp2f.c (__exp2f): Likewise.
16654 * math/w_exp2l.c (__exp2l): Likewise.
16655 * math/auto-libm-test-in: Do not allow missing errno on exp2
16656 underflow.
16657 * math/auto-libm-test-out: Regenerated.
16658
b20de2c3
OB
166592013-12-03 Ondřej Bílka <neleai@seznam.cz>
16660
16661 [BZ #16274]
16662 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16663 handle filename validation.
16664 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16665 (do_open): Delete.
16666
d8e2dbe3
JM
166672013-12-03 Joseph Myers <joseph@codesourcery.com>
16668
34e16df5
JM
16669 [BZ #6786]
16670 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16671 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16672 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16673 <float.h>.
16674 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16675 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16676 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16677 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16678 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16679 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16680 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16681 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16682 Add more erfc tests.
16683 * math/auto-libm-test-out: Regenerated.
16684 * sysdeps/i386/fpu/libm-test-ulps: Update.
16685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16686
d8e2dbe3
JM
16687 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16688 exp2, expm1, j0 and j1.
16689 * math/auto-libm-test-out: Regenerated.
16690 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16691 (erfc_test_data): Likewise.
16692 (exp_test_data): Likewise.
16693 (exp_tonearest_test_data): Likewise.
16694 (exp_towardzero_test_data): Likewise.
16695 (exp_downward_test_data): Likewise.
16696 (exp_upward_test_data): Likewise.
16697 (exp10_test_data): Likewise.
16698 (exp2_test_data): Likewise.
16699 (expm1_test_data): Likewise.
16700 (j0_test_data): Likewise.
16701 (j1_test_data): Likewise.
16702 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16703 (input_flag_type): Add flag_xfail_rounding.
16704 (input_flags): Add xfail-rounding.
16705 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16706 (output_for_one_input_case): Handle flag_xfail_rounding.
16707 * sysdeps/i386/fpu/libm-test-ulps: Update.
16708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16709
18d14251
AJ
167102013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16711
3d2e6075 16712 [BZ #16289]
18d14251
AJ
16713 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16714 division by 0.
16715
520d437b
SP
167162013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16717
16718 [BZ #16195]
16719 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16720 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16721 (STAP_PROBE0): New macro.
16722 (STAP_PROBE1): Likewise.
16723 (STAP_PROBE2): Likewise.
16724 (STAP_PROBE3): Likewise.
16725 (STAP_PROBE4): Likewise.
16726
416e0145
OB
167272013-12-02 Ondřej Bílka <neleai@seznam.cz>
16728
16729 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16730
9d17796a
SE
167312013-12-02 Steve Ellcey <sellcey@mips.com>
16732
16733 * benchtests/Makefile (bench): Add sqrt.
16734 (LDLIBS-bench-sqrt): New.
16735 * benchtests/sqrt-input: New.
16736
f524d6a8
PS
167372013-12-02 Pavel Simerda <psimerda@redhat.com>
16738
639a0ef8
PS
16739 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16740 (GAIH_EAI): Likewise.
16741 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16742 (gaih_inet): Likewise.
16743 (getaddrinfo): Don't use GAIH_EAI.
16744
f524d6a8
PS
16745 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16746 (struct gaih): Remove definition.
16747
df3aedaf
SP
167482013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16749
16750 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16751 Use HERRNOP directly.
16752
1ab19dec
AZ
167532013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16754
b42ad38d 16755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16756
176b0c79
JM
167572013-11-30 Joseph Myers <joseph@codesourcery.com>
16758
16759 * math/gen-auto-libm-tests.c (test_functions): Add more
16760 single-argument functions.
16761 (special_fill_pi_2): New function.
16762 (special_fill_minus_pi_2): Likewise.
16763 (special_fill_pi_6): Likewise.
16764 (special_fill_minus_pi_6): Likewise.
16765 (special_fill_pi_3): Likewise.
16766 (special_fill_2pi_3): Likewise.
16767 (special_fill_e): Likewise.
16768 (special_fill_1_e): Likewise.
16769 (special_fill_e_minus_1): Likewise.
16770 (special_real_inputs): Add more special inputs.
16771 (output_for_one_input_case): Do not require ERANGE on underflow to
16772 zero if round-to-nearest result does not underflow to zero, unless
16773 exact results required.
16774 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16775 atan, atanh, cbrt, cos and cosh.
16776 * math/auto-libm-test-out: Regenerated.
16777 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16778 (acos_tonearest_test_data): Likewise.
16779 (acos_towardzero_test_data): Likewise.
16780 (acos_downward_test_data): Likewise.
16781 (acos_upward_test_data): Likewise.
16782 (acosh_test_data): Likewise.
16783 (asin_test_data): Likewise.
16784 (asin_tonearest_test_data): Likewise.
16785 (asin_towardzero_test_data): Likewise.
16786 (asin_upward_test_data): Likewise.
16787 (asinh_test_data): Likewise.
16788 (atan_test_data): Likewise.
16789 (atanh_test_data): Likewise.
16790 (cbrt_test_data): Likewise.
16791 (cos_test_data): Likewise.
16792 (cos_tonearest_test_data): Likewise.
16793 (cos_towardzero_test_data): Likewise.
16794 (cos_downward_test_data): Likewise.
16795 (cos_upward_test_data): Likewise.
16796 (cosh_test_data): Likewise.
16797 (cosh_tonearest_test_data): Likewise.
16798 (cosh_towardzero_test_data): Likewise.
16799 (cosh_downward_test_data): Likewise.
16800 (cosh_upward_test_data): Likewise.
16801 * sysdeps/i386/fpu/libm-test-ulps: Update.
16802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16803
ffb536d0
JM
168042013-11-29 Joseph Myers <joseph@codesourcery.com>
16805
2a77a467
JM
16806 [BZ #6787]
16807 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16808 * math/w_exp10f.c (__exp10f): Likewise.
16809 * math/w_exp10l.c (__exp10l): Likewise.
16810 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16811 errno settings in existing tests.
16812
ea3bc4e8
JM
16813 [BZ #14032]
16814 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16815 precision control set to double precision.
16816 * sysdeps/i386/fpu/w_sqrt.c: New file.
16817 * math/auto-libm-test-in: Add more tests.
16818 * math/auto-libm-test-out: Update.
16819
0712c9d8
JM
16820 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16821 (sqrt_test_tonearest): New function.
16822 (sqrt_towardzero_test_data): New variable.
16823 (sqrt_test_towardzero): New function.
16824 (sqrt_downward_test_data): New variable.
16825 (sqrt_test_downward): New function.
16826 (sqrt_upward_test_data): New variable.
16827 (sqrt_test_upward): New function.
16828 (main): Call the new functions.
16829
ffb536d0
JM
16830 * math/gen-auto-libm-tests.c: New file.
16831 * math/auto-libm-test-in: Likewise.
16832 * math/auto-libm-test-out: New generated file.
16833 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16834 variables.
16835 (%beautify): Add generated representations of zero.
16836 (top level): Set $auto_input and call parse_auto_input.
16837 (beautify): Remove trailing "f" from hex float constants.
16838 (parse_args): Handle XFAIL_TEST.
16839 (convert_condition): New function.
16840 (or_value): Likewise.
16841 (or_cond_value): Likewise.
16842 (generate_testfile): Handle AUTO_TESTS_* lines.
16843 (parse_auto_input): New function.
16844 * math/libm-test.inc (XFAIL_TEST): New macro.
16845 (ERRNO_UNCHANGED): Update value.
16846 (ERRNO_EDOM): Likewise.
16847 (ERRNO_ERANGE): Likewise.
16848 (IGNORE_RESULT): Likewise.
16849 (TEST_COND_flt_32): New macro.
16850 (TEST_COND_dbl_64): Likewise.
16851 (TEST_COND_ldbl_96_intel): Likewise.
16852 (TEST_COND_ldbl_96_m68k): Likewise.
16853 (TEST_COND_ldbl_128): Likewise.
16854 (TEST_COND_ldbl_128ibm): Likewise.
16855 (TEST_COND_long32): Likewise.
16856 (TEST_COND_long64): Likewise.
16857 (TEST_COND_before_rounding): Likewise.
16858 (TEST_COND_after_rounding): Likewise.
16859 (enable_test): Handle XFAIL_TEST flag.
16860 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16861 with finite results.
16862 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16863 auto-libm-test-out.
16864
acd98a8e
AK
168652013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16866 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16867
16868 [BZ #16214]
16869 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16870 __tls_get_addr_internal instead of __tls_get_offset in order to
16871 avoid GOT pointer dependency. Make rtld export
16872 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16873 __tls_get_addr since we are a __tls_get_offset platform.
16874 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16875 GOT pointer being set up before.
16876 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16877
3c1c46a6
JM
168782013-11-28 Joseph Myers <joseph@codesourcery.com>
16879
7475aef5
JM
16880 * manual/math.texi (Errors in Math Functions): Document accuracy
16881 goals.
16882
8bca7cd8
JM
16883 [BZ #15004]
16884 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16885 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16886 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16887 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16888 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16889 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16890 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16891 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16892 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16893 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16894 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16895 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16896 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16897 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16898 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16899 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16900
91a1f3fe
JM
16901 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16902 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16903 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16904 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16905 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16906 Likewise.
16907 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16908 Likewise.
16909 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16910 Likewise.
16911 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16912 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16913 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16914 atomic-feupdateenv and flt-rounds.
16915 * sysdeps/powerpc/nofpu/Versions (libc): Add
16916 __atomic_feholdexcept, __atomic_feclearexcept,
16917 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16918 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16919 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16920 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16921 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16922 here.
16923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16924 Update.
16925
c5df7609
JM
16926 * manual/arith.texi (FP Exceptions): Document that exceptions may
16927 not be raised when matherr is used.
16928 (Math Error Reporting): Document overflow in directed rounding
16929 modes. Document that errno may not be set when finite values are
16930 returned on overflow. Document intent to set errno on underflow
16931 only for underflow to zero.
16932
3c1c46a6
JM
16933 [BZ #16271]
16934 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16935 round-to-nearest then adjust result for other rounding modes.
16936 * include/fenv.h (fegetround): Use libm_hidden_proto.
16937 * math/fegetround.c (fegetround): Use libm_hidden_def.
16938 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16939 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16940 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16941 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16942 Likewise.
16943 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16944 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16945 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16946 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16947
5a4c6d53
SP
169482013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16949
16950 [BZ #16077]
16951 * nss/Versions (libnss_files): Add
16952 _nss_files_gethostbyname3_r.
16953 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16954 New function.
16955 (HOST_DB_LOOKUP): Remove macro.
16956 (_nss_files_gethostbyname_r): Implement function without the
16957 HOST_DB_LOOKUP macro.
16958 (_nss_files_gethostbyname2_r): Likewise.
16959
897b98ba
OB
169602013-11-28 Ondřej Bílka <neleai@seznam.cz>
16961
16962 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16963
6f476861
UB
169642013-11-26 Uros Bizjak <ubizjak@gmail.com>
16965
16966 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16967 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16968 warning.
16969
bd12ab55
AZ
169702013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16971
16972 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16973 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16974 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16975 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16976 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16977 __fe_nomask_env_priv and attribute_hidden.
16978 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16979 (libc_feupdateenv_test_ppc): Likewise.
16980 (libc_feresetround_ppc): Likewise.
16981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16982 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16983 compat_symbol macro.
16984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16985 (__fe_nomask_env): Likewise.
16986 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16987
52bb6543
OB
169882013-11-26 Ondřej Bílka <neleai@seznam.cz>
16989
16990 * string/Makefile: Remove ifunc tests.
16991 * string/test-string.h: Define TEST_IFUNC.
16992 * string/test-bcopy-ifunc.c: Remove.
16993 * string/test-bzero-ifunc.c: Likewise.
16994 * string/test-memccpy-ifunc.c: Likewise.
16995 * string/test-memchr-ifunc.c: Likewise.
16996 * string/test-memcmp-ifunc.c: Likewise.
16997 * string/test-memcpy-ifunc.c: Likewise.
16998 * string/test-memmem-ifunc.c: Likewise.
16999 * string/test-memmove-ifunc.c: Likewise.
17000 * string/test-mempcpy-ifunc.c: Likewise.
17001 * string/test-memrchr-ifunc.c: Likewise.
17002 * string/test-memset-ifunc.c: Likewise.
17003 * string/test-rawmemchr-ifunc.c: Likewise.
17004 * string/test-stpcpy-ifunc.c: Likewise.
17005 * string/test-stpncpy-ifunc.c: Likewise.
17006 * string/test-strcasecmp-ifunc.c: Likewise.
17007 * string/test-strcasestr-ifunc.c: Likewise.
17008 * string/test-strcat-ifunc.c: Likewise.
17009 * string/test-strchr-ifunc.c: Likewise.
17010 * string/test-strchrnul-ifunc.c: Likewise.
17011 * string/test-strcmp-ifunc.c: Likewise.
17012 * string/test-strcpy-ifunc.c: Likewise.
17013 * string/test-strcspn-ifunc.c: Likewise.
17014 * string/test-strlen-ifunc.c: Likewise.
17015 * string/test-strncasecmp-ifunc.c: Likewise.
17016 * string/test-strncat-ifunc.c: Likewise.
17017 * string/test-strncmp-ifunc.c: Likewise.
17018 * string/test-strncpy-ifunc.c: Likewise.
17019 * string/test-strnlen-ifunc.c: Likewise.
17020 * string/test-strpbrk-ifunc.c: Likewise.
17021 * string/test-strrchr-ifunc.c: Likewise.
17022 * string/test-strspn-ifunc.c: Likewise.
17023 * string/test-strstr-ifunc.c: Likewise.
17024
ab260039 170252013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
17026
17027 * benchtests/Makefile: Remove ifunc tests.
17028 * benchtests/bench-string.h: Define TEST_IFUNC.
17029 * benchtests/bench-bcopy-ifunc.c: Remove.
17030 * benchtests/bench-bzero-ifunc.c: Likewise.
17031 * benchtests/bench-memccpy-ifunc.c: Likewise.
17032 * benchtests/bench-memchr-ifunc.c: Likewise.
17033 * benchtests/bench-memcmp-ifunc.c: Likewise.
17034 * benchtests/bench-memcpy-ifunc.c: Likewise.
17035 * benchtests/bench-memmem-ifunc.c: Likewise.
17036 * benchtests/bench-memmove-ifunc.c: Likewise.
17037 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17038 * benchtests/bench-memrchr-ifunc.c: Likewise.
17039 * benchtests/bench-memset-ifunc.c: Likewise.
17040 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17041 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17042 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17043 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17044 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17045 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17046 * benchtests/bench-strcat-ifunc.c: Likewise.
17047 * benchtests/bench-strchr-ifunc.c: Likewise.
17048 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17049 * benchtests/bench-strcmp-ifunc.c: Likewise.
17050 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17051 * benchtests/bench-strcpy-ifunc.c: Likewise.
17052 * benchtests/bench-strcspn-ifunc.c: Likewise.
17053 * benchtests/bench-strlen-ifunc.c: Likewise.
17054 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17055 * benchtests/bench-strncat-ifunc.c: Likewise.
17056 * benchtests/bench-strncmp-ifunc.c: Likewise.
17057 * benchtests/bench-strncpy-ifunc.c: Likewise.
17058 * benchtests/bench-strnlen-ifunc.c: Likewise.
17059 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17060 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 17061 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
17062 * benchtests/bench-strspn-ifunc.c: Likewise.
17063 * benchtests/bench-strstr-ifunc.c: Likewise.
17064
170652013-11-26 Ondřej Bílka <neleai@seznam.cz>
17066
ab260039
OB
17067 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17068
d1d9eaf4 170692013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 17070
d1d9eaf4
OB
17071 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17072 * rt/aio.h: Likewise.
17073 * sysdeps/gnu/bits/utmp.h: Likewise.
17074 * sysdeps/gnu/bits/utmpx.h: Likewise.
17075 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17076 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17077 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17078 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17079 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17080 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17081 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17082 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17083 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17084 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17085 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17086 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17087 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17089 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17090 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17091 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17092 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17093 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17094 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17095 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17096 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17097 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17098 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17099 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17100 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17101 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17102 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17103 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17104 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17105 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17106 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17107 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17108 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17109 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17110 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17111 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17112 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17113 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17114 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17115 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17116 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17117
a7624ed9
CD
171182013-11-25 Carlos O'Donell <carlos@redhat.com>
17119
17120 [BZ #16245]
17121 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17122 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17123
63cfe52b
JM
171242013-11-25 Joseph Myers <joseph@codesourcery.com>
17125
17126 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17127 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17128 Likewise.
17129
41e8926a
AZ
171302013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17131
17132 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17133 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17134 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17135 (__fesetround): Remove define.
17136 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17137 rounding and exceptions handling.
17138 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17139 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17140 (__fe_nomask_env): Likewise.
17141 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17142 __fegetround instead of fegetround.
17143 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17144 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17145
6851bd4d
RM
171462013-11-21 Roland McGrath <roland@hack.frob.com>
17147
070906ff
RM
17148 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17149 it's there.
17150
6851bd4d
RM
17151 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17152
84ae135d
MI
171532013-11-21 Meador Inge <meadori@codesourcery.com>
17154
17155 [BZ #11157]
17156 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17157 (encrypt_r): Likewise.
17158 * malloc/obstack.h (obstack_free): Likewise.
17159 * posix/unistd.h (encrypt): Likewise.
17160
daf75146
GM
171612013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17162
17163 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17164 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17165 DL_CALL_DT_FINI() that call the functions directly.
17166 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17167 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17168 * elf/dl-fini.c: Likewise.
17169
10ad46bc
OB
171702013-11-20 Ondřej Bílka <neleai@seznam.cz>
17171
17172 * malloc/hooks.c (memalign_check): Add alignment rounding.
17173 * malloc/malloc.c (_mid_memalign): New function.
17174 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17175 Implement by calling _mid_memalign.
17176 * manual/probes.texi (Memory Allocation Probes): Remove
17177 memory_valloc_retry and memory_pvalloc_retry.
17178
f3fd2628
SP
171792013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17180
4712799f
SP
17181 * locale/programs/locarchive.c (open_archive): Add const
17182 qualifier to ARCHIVEFNAME and copy default fname to
17183 DEFAULT_FNAME.
17184
0417b20f
SP
17185 [BZ #15601]
17186 * libio/tst-widetext.input: Rename Oriya to Odia.
17187 * locale/iso-639.def: Likewise.
17188
f3fd2628
SP
17189 * manual/probes.texi (Mathematical Function Probes): Add
17190 documentation for sin, cos, asin and acos probes.
17191 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17192 (__sin32): Add slowasin probe.
17193 (__cos32): Add slowacos probe.
17194 (__mpsin): Add slowsin probe.
17195 (__mpcos): Add slowcos probe.
17196
73c1ce4f
JM
171972013-11-19 Joseph Myers <joseph@codesourcery.com>
17198
17199 [BZ #15483]
17200 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17201 thread-local __sim_exceptions_thread and global
17202 __sim_exceptions_global.
17203 (__sim_disabled_exceptions): Change to thread-local
17204 __sim_disabled_exceptions_thread and global
17205 __sim_disabled_exceptions_global.
17206 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17207 and global __sim_round_mode_global.
17208 (__simulate_exceptions): Use thread-local floating-point state and
17209 set global state from it as needed.
17210 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17211 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17212 __sim_round_mode_thread.
17213 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17214 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17215 and global __sim_exceptions_global.
17216 (__sim_disabled_exceptions): Change to thread-local
17217 __sim_disabled_exceptions_thread and global
17218 __sim_disabled_exceptions_global.
17219 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17220 and global __sim_round_mode_global.
17221 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17222 (SIM_SET_GLOBAL): Likewise.
17223 * sysdeps/powerpc/soft-fp/sfp-machine.h
17224 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17225 __sim_round_mode_thread.
17226 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17227 __sim_disabled_exceptions_thread.
17228 (__sim_exceptions): Change to __sim_exceptions_thread.
17229 (__sim_disabled_exceptions): Change to
17230 __sim_disabled_exceptions_thread.
17231 (__sim_round_mode): Change to __sim_round_mode_thread.
17232 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17233 thread-local floating-point state and set global state from it as
17234 needed.
17235 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17236 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17237 (__sim_disabled_exceptions): Remove extern declaration.
17238 (feenableexcept): Use thread-local floating-point state and set
17239 global state from it as needed.
17240 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17241 extern declaration.
17242 (__sim_disabled_exceptions): Likewise.
17243 (__sim_round_mode): Likewise.
17244 (__fegetenv): Use thread-local floating-point state.
17245 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17246 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17247 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17248 floating-point state and set global state from it as needed.
17249 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17250 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17251 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17252 Likewise.
17253 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17254 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17255 Likewise.
17256 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17257 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17258 Use __sim_round_mode_thread.
17259 * math/test-fenv-tls.c: New file.
17260 * math/Makefile (tests): Add test-fenv-tls.
17261 ($(objpfx)test-fenv-tls): Depend on
17262 $(common-objpfx)nptl/libpthread.so.
17263
b5449b12
AS
172642013-11-19 Andreas Schwab <schwab@suse.de>
17265
17266 * locale/programs/locale.c (show_info): Decode wordarray elements.
17267 * locale/categories.def (LC_MONETARY): Add element for
17268 _NL_MONETARY_CRNCYSTR.
17269 * locale/C-monetary.c (conversion_rate): New variable.
17270 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17271 element.
17272
e186536b
CM
172732013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17274
17275 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17276 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17277
5c349950
PP
172782013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17279
17280 * elf/Makefile (tst-auxv): New test.
17281 * elf/tst-auxv.c: New
17282 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17283
699df45b
JM
172842013-11-18 Joseph Myers <joseph@codesourcery.com>
17285
17286 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17287 (hidden_proto): Caller changed.
17288 (hidden_tls_proto): New macro.
17289 (libc_hidden_tls_proto): Likewise.
17290 (rtld_hidden_tls_proto): Likewise.
17291 (libm_hidden_tls_proto): Likewise.
17292 (libresolv_hidden_tls_proto): Likewise.
17293 (librt_hidden_tls_proto): Likewise.
17294 (libdl_hidden_tls_proto): Likewise.
17295 (libnss_files_hidden_tls_proto): Likewise.
17296 (libnsl_hidden_tls_proto): Likewise.
17297 (libnss_nisplus_hidden_tls_proto): Likewise.
17298 (libutil_hidden_tls_proto): Likewise.
17299
b7589107
OB
173002013-11-18 Ondřej Bílka <neleai@seznam.cz>
17301
17302 [BZ #10253]
17303 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17304 (decompose_rpath): Defer expansion to fillin_rpath.
17305 (_dl_init_paths): Pass linkmap to fillin_rpath.
17306
250c23bd
RS
173072013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17308
17309 * benchtests/Makefile: Add strsep.
17310 * benchtests/bench-strsep.c: New file: strsep benchtest.
17311 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17312
a7931fcf
AS
173132013-11-18 Andreas Schwab <schwab@suse.de>
17314
17315 * locale/programs/locale.c (show_info) [case byte]: Check for
17316 '\377' instead of '\177'.
17317 * locale/C-monetary.c (not_available): Always use "\377".
17318 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17319 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17320 detect unavailable sign_posn locale elements.
17321 * locale/localeconv.c (__localeconv): For grouping and
17322 mon_grouping handle "\177" and "\377" like no grouping.
17323 (INT_ELEM): New macro. Use it to set all numeric members.
17324 * locale/programs/ld-monetary.c (monetary_read)
17325 <tok_mon_grouping>: Normalize single -1 to the empty string.
17326 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17327 Likewise.
17328
728dab0e
OB
173292013-11-07 Ondřej Bílka <neleai@seznam.cz>
17330
17331 [BZ #16055]
17332 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17333 when we match (nil).
17334 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17335
66294491
JM
173362013-11-16 Joseph Myers <joseph@codesourcery.com>
17337
ce665817
JM
17338 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17339 (NO_TEST_INLINE): Update value.
17340 (ERRNO_UNCHANGED): Likewise.
17341 (ERRNO_EDOM): Likewise.
17342 (ERRNO_ERANGE): Likewise.
17343 (IGNORE_RESULT): Likewise.
17344 (check_float_internal): Check signs of NaN results if
17345 TEST_NAN_SIGN used.
17346 (check_complex): Pass TEST_NAN_SIGN flag through to second
17347 check_float_internal call.
17348 (copysign_test_data): Add tests with quiet NaNs as second
17349 argument. Use TEST_NAN_SIGN.
17350 (fabs_test_data): Add test of negative quiet NaN argument. Use
17351 TEST_NAN_SIGN.
17352 (signbit_test_data): Add tests of quiet NaN argument.
17353 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17354
ee1466a9
JM
17355 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17356 $ignore_result.
17357 (parse_args): Handle function results specified as IGNORE.
17358 * math/libm-test.inc (IGNORE_RESULT): New macro.
17359 (check_float_internal): Do not check numerical result if flag
17360 IGNORE_RESULT set.
17361 (check_complex): Pass through IGNORE_RESULT to second
17362 check_float_internal call.
17363 (check_int): Do not check numerical result if flag IGNORE_RESULT
17364 set.
17365 (check_long): Likewise.
17366 (check_bool): Likewise.
17367 (check_longlong): Likewise.
17368 (lrint_test_data): Add tests of infinite and NaN arguments.
17369 (lrint_tonearest_test_data): Likewise.
17370 (lrint_towardzero_test_data): Likewise.
17371 (lrint_downward_test_data): Likewise.
17372 (lrint_upward_test_data): Likewise.
17373 (llrint_test_data): Likewise.
17374 (llrint_tonearest_test_data): Likewise.
17375 (llrint_towardzero_test_data): Likewise.
17376 (llrint_downward_test_data): Likewise.
17377 (llrint_upward_test_data): Likewise.
17378 (lround_test_data): Likewise.
17379 (llround_test_data): Likewise.
17380
14407b7e
JM
17381 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17382 (ERRNO_UNCHANGED): Update value.
17383 (ERRNO_EDOM): Likewise.
17384 (ERRNO_ERANGE): Likewise.
17385 (NO_TEST_INLINE_FLOAT): New macro.
17386 (NO_TEST_INLINE_DOUBLE): Likewise.
17387 (enable_test): New function.
17388 (RUN_TEST_f_f): Check enable_test before running test.
17389 (RUN_TEST_2_f): Likewise.
17390 (RUN_TEST_fff_f): Likewise.
17391 (RUN_TEST_c_f): Likewise.
17392 (RUN_TEST_f_f1): Likewise.
17393 (RUN_TEST_fF_f1): Likewise.
17394 (RUN_TEST_fI_f1): Likewise.
17395 (RUN_TEST_ffI_f1): Likewise.
17396 (RUN_TEST_c_c): Likewise.
17397 (RUN_TEST_cc_c): Likewise.
17398 (RUN_TEST_f_i): Likewise.
17399 (RUN_TEST_f_i_tg): Likewise.
17400 (RUN_TEST_ff_i_tg): Likewise.
17401 (RUN_TEST_f_b): Likewise.
17402 (RUN_TEST_f_b_tg): Likewise.
17403 (RUN_TEST_f_l): Likewise.
17404 (RUN_TEST_f_L): Likewise.
17405 (RUN_TEST_fFF_11): Likewise.
17406 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17407 conditionals.
17408 (cosh_test_data): Likewise.
17409 (exp_test_data): Likewise.
17410 (expm1_test_data): Likewise.
17411 (hypot_test_data): Likewise.
17412 (pow_test_data): Likewise.
17413 (sinh_test_data): Likewise.
17414 (tanh_test_data): Likewise.
17415 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17416 flags argument.
17417
ca07f197
JM
17418 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17419 tests with quiet NaN input and output.
17420 (acosh_test_data): Likewise.
17421 (asin_test_data): Likewise.
17422 (asinh_test_data): Likewise.
17423 (atan_test_data): Likewise.
17424 (atanh_test_data): Likewise.
17425 (atan2_test_data): Likewise.
17426 (cbrt_test_data): Likewise.
17427 (cos_test_data): Likewise.
17428 (cosh_test_data): Likewise.
17429 (erf_test_data): Likewise.
17430 (erfc_test_data): Likewise.
17431 (exp_test_data): Likewise.
17432 (exp10_test_data): Likewise.
17433 (exp2_test_data): Likewise.
17434 (expm1_test_data): Likewise.
17435 (hypot_test_data): Likewise.
17436 (j0_test_data): Likewise.
17437 (j1_test_data): Likewise.
17438 (jn_test_data): Likewise.
17439 (lgamma_test_data): Likewise.
17440 (log_test_data): Likewise.
17441 (log10_test_data): Likewise.
17442 (log1p_test_data): Likewise.
17443 (log2_test_data): Likewise.
17444 (pow_test_data): Likewise.
17445 (scalb_test_data): Likewise.
17446 (sin_test_data): Likewise.
17447 (sincos_test_data): Likewise.
17448 (sinh_test_data): Likewise.
17449 (tan_test_data): Likewise.
17450 (tanh_test_data): Likewise.
17451 (tgamma_test_data): Likewise.
17452 (y0_test_data): Likewise.
17453 (y1_test_data): Likewise.
17454 (yn_test_data): Likewise.
17455
66294491
JM
17456 [BZ #16167]
17457 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17458 argument being NaN and avoid computations with second argument in
17459 that case.
17460 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17461 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17462 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17463
1820b143
CL
174642013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17465
17466 * locale/iso-639.def: Add Chitwani Tharu (the).
17467
714bd261
AS
174682013-11-14 Andreas Schwab <schwab@suse.de>
17469
17470 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17471 word instead of empty string.
17472
7ab44563
AZ
174732013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17474
17475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17476 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17478 (__fe_nomask_env): Likewise.
17479
e8470ea2
SE
174802013-11-13 Steve Ellcey <sellcey@mips.com>
17481
17482 * benchtests/bench-timing.h: Include time.h.
17483
17c1d9f0
L
174842013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17485
17486 [BZ #15997]
17487 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17488 to 3.4.0 for x32.
17489 * sysdeps/unix/sysv/linux/configure: Regenerated.
17490
9310c284
JM
174912013-11-13 Joseph Myers <joseph@codesourcery.com>
17492
17493 [BZ #16151]
17494 * stdlib/strtod_l.c (round_and_return): Do not consider
17495 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17496 exponent one less than half the least subnormal exponent.
17497 * stdlib/test-strtod-round-data: Add more tests.
17498 * stdlib/tst-strtod-round.c (tests): Regenerated.
17499
7a2ad8cf
AZ
175002013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17501
17502 [BZ #14143]
17503 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17504 (__fe_mask_env): Likewise.
17505 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17506 libm_hidden_proto and add function prototype.
17507 (__fe_mask_env): Add function prototype.
17508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17509 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17511 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17513 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17514
50727aa7
MS
175152013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17516
b2f386c1 17517 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17518 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17519
a615be46
MS
175202013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17521
17522 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17523 of htab_find_slot().
17524
7ddace62
DM
175252013-11-11 David S. Miller <davem@davemloft.net>
17526
17527 [BZ #16150]
17528 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17529 symbol in the non-vis3 case in static builds.
17530 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17531 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17532 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17533 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17534
9182aa67
JK
175352013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17536
17537 [BZ #387]
17538 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17539 it is empty.
17540
450a2e2d
AZ
175412013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17542
b2f386c1
SP
17543 * benchtests/Makefile: Add bench-strtod.
17544 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17545
8ec3f656
AS
175462013-11-11 Andreas Schwab <schwab@suse.de>
17547
17548 [BZ #16153]
17549 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17550 terminating NUL in key length.
17551
76a9b998
AZ
175522013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17553
17554 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17555 Add artificial ODP entry for vDSO symbol for PPC64.
17556 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17557 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17558
e4368156
OB
175592013-11-07 Ondřej Bílka <neleai@seznam.cz>
17560
17561 [BZ #15374]
17562 * nss/getent.c (services_keys): Recognize services starting with digit.
17563
8d6bb57c
DM
175642013-11-06 David S. Miller <davem@davemloft.net>
17565
17566 [BZ #15985]
17567 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17568 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17569
e256c421
WN
175702013-11-06 Will Newton <will.newton@linaro.org>
17571
17572 * manual/memory.texi (Malloc Examples): Remove register
17573 keyword from examples.
17574
f6e12daa 175752013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17576
f6e12daa 17577 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17578
9d880655
AS
175792013-11-04 Joseph Myers <joseph@codesourcery.com>
17580
fd2f9486 17581 [BZ #6981]
9d880655
AS
17582 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17583 depending on [__GCC_IEC_559 > 0].
17584 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17585 depending on [__GCC_IEC_559_COMPLEX > 0].
17586
ae129d3c
CL
175872013-11-03 Chris Leonard <cjl@sugarlabs.org>
17588
17589 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17590 to iso-639.def.
17591
4a15c2a4 175922013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17593
17594 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17595
8b35e35d
OB
175962013-11-01 Ondřej Bílka <neleai@seznam.cz>
17597
17598 [BZ #16112]
17599 * malloc/malloc (malloc_info): Do not handle first bin as
17600 special case.
17601
1d70fd6c
CL
176022013-11-01 Chris Leonard <cjl@sugarlabs.org>
17603
17604 * locale/iso-639.def: Add Central Nahuatl (nhn).
17605
8c5c2600
BH
176062013-11-01 Bruno Haible <bruno@clisp.org>
17607
17608 [BZ #7003]
17609 * manual/math.texi (BSD Random): Specify range upper bound as
17610 in POSIX.
17611
da5579c2
CL
176122013-10-31 Chris Leonard <cjl@sugarlabs.org>
17613
17614 * locale/iso-639.def: Add Meadow Mari (mhr).
17615
5d30d853
OB
176162013-10-31 Ondřej Bílka <neleai@seznam.cz>
17617
17618 [BZ #14752], [BZ #15763]
17619 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17620 Validate name.
17621 * rt/tst_shm.c: Add test for escaping directory.
17622
a4966c61
AS
176232013-10-31 Andreas Schwab <schwab@suse.de>
17624
8a43e768 17625 [BZ #15917]
a4966c61
AS
17626 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17627 followed by 'x' as part of digit sequence.
17628 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17629
28d708c4
MAP
176302013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17631
17632 [BZ #16037]
17633 * configure.ac: allow GNU Make 4.0 and greater.
17634 * configure: Regenerated.
17635
a56ee40b
WN
176362013-10-30 Will Newton <will.newton@linaro.org>
17637
17638 [BZ #16038]
17639 * malloc/hooks.c (memalign_check): Limit alignment to the
17640 maximum representable power of two.
17641 * malloc/malloc.c (__libc_memalign): Likewise.
17642 * malloc/tst-memalign.c (do_test): Add test for very
17643 large alignment values.
17644 * malloc/tst-posix_memalign.c (do_test): Likewise.
17645
c6e4925d
OB
176462013-10-30 Ondřej Bílka <neleai@seznam.cz>
17647
17648 [BZ #11087]
17649 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17650 (munmap_chunk): Likewise.
17651 (mremap_chunk): Likewise.
17652
176532013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17654
8a43e768 17655 [BZ #15799]
bbea82f7
OB
17656 * stdlib/div.c (div): Remove obsolete code.
17657 * stdlib/ldiv.c (ldiv): Likewise.
17658 * stdlib/lldiv.c (lldiv): Likewise.
17659
977f4b31
SP
176602013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17661
17662 [BZ #16071]
17663 * nss/nss_files/files-XXX.c (get_contents_ret): New
17664 enumerator.
17665 (get_contents): New function.
17666 (internal_getent): Use it. Expand size of LINEBUFLEN.
17667
cb8a6dbd
MF
176682013-10-30 Mike Frysinger <vapier@gentoo.org>
17669
17670 * configure.in: Moved to ...
17671 * configure.ac: ... here. Change reference to configure.in
17672 to configure.ac.
17673 * sysdeps/arm/preconfigure.ac: ... here.
17674 configure.in to configure.ac.
17675 * sysdeps/gnu/configure.in: Moved to ...
17676 * sysdeps/gnu/configure.ac: ... here.
17677 * sysdeps/i386/configure.in: Moved to ...
17678 * sysdeps/i386/configure.ac: ... here.
17679 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17680 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17681 * sysdeps/mach/configure.in: Moved to ...
17682 * sysdeps/mach/configure.ac: ... here.
17683 * sysdeps/mach/hurd/configure.in: Moved to ...
17684 * sysdeps/mach/hurd/configure.ac: ... here.
17685 * sysdeps/powerpc/configure.in: Moved to ...
17686 * sysdeps/powerpc/configure.ac: ... here.
17687 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17688 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17689 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17690 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17691 * sysdeps/s390/s390-32/configure.in: Moved to ...
17692 * sysdeps/s390/s390-32/configure.ac: ... here.
17693 * sysdeps/s390/s390-64/configure.in: Moved to ...
17694 * sysdeps/s390/s390-64/configure.ac: ... here.
17695 * sysdeps/sh/configure.in: Moved to ...
17696 * sysdeps/sh/configure.ac: ... here.
17697 * sysdeps/sparc/configure.in: Moved to ...
17698 * sysdeps/sparc/configure.ac: ... here.
17699 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17700 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17701 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17702 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17703 * sysdeps/x86_64/configure.in: Moved to ...
17704 * sysdeps/x86_64/configure.ac: ... here.
17705 * sysdeps/x86_64/preconfigure.in: Moved to ...
17706 * sysdeps/x86_64/preconfigure.ac: ... here.
17707 * aclocal.m4: Change reference to configure.in to configure.ac.
17708 * config.h.in: Likewise.
17709 * manual/install.texi: Likewise.
17710 * manual/maint.texi: Likewise.
17711 * Makefile: Likewise.
17712 * malloc/Makefile: Likewise.
17713 * nscd/Makefile: Likewise.
17714 * Makeconfig: Change reference to configure.in and
17715 preconfigure.in to configure.ac and preconfigure.ac
17716 respectively.
17717 * INSTALL: Regenerated.
17718 * configure: Likewise.
17719 * sysdeps/gnu/configure: Likewise.
17720 * sysdeps/i386/configure: Likewise.
17721 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17722 * sysdeps/mach/configure: Likewise.
17723 * sysdeps/mach/hurd/configure: Likewise.
17724 * sysdeps/powerpc/configure: Likewise.
17725 * sysdeps/powerpc/powerpc32/configure: Likewise.
17726 * sysdeps/powerpc/powerpc64/configure: Likewise.
17727 * sysdeps/s390/s390-32/configure: Likewise.
17728 * sysdeps/s390/s390-64/configure: Likewise.
17729 * sysdeps/sh/configure: Likewise.
17730 * sysdeps/sparc/configure: Likewise.
17731 * sysdeps/unix/sysv/linux/configure: Likewise.
17732 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17733 * sysdeps/x86_64/configure: Likewise.
17734 * sysdeps/x86_64/preconfigure: Likewise.
17735
36a4953a
AS
177362013-10-29 Andreas Schwab <schwab@suse.de>
17737
17738 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17739
c79a1204
SP
177402013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17741
dfa1b402
SP
17742 * benchtests/pow-inputs: Add new inputs.
17743
54f73d9c
SP
17744 * benchtests/exp-inputs: Add new inputs.
17745
c79a1204
SP
17746 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17747 conditional check for return value.
17748 (__cos32): Likewise.
17749
67beb545 177502013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17751
17752 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17753 to provide a boost for large inputs with word alignment.
17754 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17755 implementation based on optimized PPC64 strcpy.
17756 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17757 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17758 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17759 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17760
151659f6
OB
177612013-10-25 Ondřej Bílka <neleai@seznam.cz>
17762
482a077e 17763 [BZ #2801]
151659f6
OB
17764 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17765
10b0f26b
OB
177662013-10-25 Ondřej Bílka <neleai@seznam.cz>
17767
17768 [BZ #14876]
17769 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17770 * time/tst-strptime.c (day_tests): Add testcase.
17771
ca42d35e
OB
177722013-10-25 Ondřej Bílka <neleai@seznam.cz>
17773
482a077e 17774 [BZ #14029]
ca42d35e
OB
17775 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17776
52e6d801
FB
177772013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17778
17779 [BZ #16074]
17780 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17781 MAP_FAILED on error.
17782
7cbcdb36
SP
177832013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17784
17785 [BZ #16072]
17786 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17787 heap for large requests.
17788
894f3f10
AM
177892013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17790
17791 [BZ #9954]
17792 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17793 result if the result has no associated interface.
17794 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17795 interface for all 127.X.Y.Z addresses.
17796
b85545a6
CL
177972013-10-24 Chris Leonard <cjl@sugarlabs.org>
17798
17799 * locale/iso-639.def: Add Ligurian (lij)
17800
d1f23d46
OB
178012013-10-21 Ondřej Bílka <neleai@seznam.cz>
17802
17803 [BZ #15825]
17804 * sunrpc/rpc_main.c: Document rpcgen -5.
17805
4db5b08f
MS
178062013-10-19 Michael Stahl <mstahl@redhat.com>
17807
17808 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17809
a471e96a
OB
178102013-10-19 Ondřej Bílka <neleai@seznam.cz>
17811
d1f23d46 17812 [BZ #10278]
a471e96a
OB
17813 * posix/glob.c: Match only directories when trailing slash is present.
17814 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17815 (main): Add testcase.
17816
45c30c61
OB
178172013-10-19 Ondřej Bílka <neleai@seznam.cz>
17818
17819 [BZ #15670]
17820 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17821
484c12fb
CD
178222013-10-18 Carlos O'Donell <carlos@redhat.com>
17823
3d7dc513
CD
17824 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17825 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17826 AUTH_DES and cindex for FIPS 140-2.
17827 (DES Encryption): Add cindex FIPS 46-3.
17828
484c12fb
CD
17829 * locale/locarchive.h (struct locarhandle): Add fname.
17830 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17831 if an optional argument was specified to --list-archive,
17832 otherwise NULL.
17833 * locale/programs/locarchive.c (show_archive_content): Take new
17834 argument fname and pass it via ah.fname to open_archive.
17835 * locale/programs/localedef.h: Update decl.
17836 (open_archive): If AH->fname is non-null, open that file
17837 rather than the default file name, and don't ignore ENOENT.
17838 (create_archive): Set AH.fname to NULL.
17839 (delete_locales_from_archive): Likewise.
17840 (add_locales_to_archive): Likewise.
17841 * locale/programs/locfile.c (write_all_categories): Likewise.
17842
3c8325fb
JM
178432013-10-18 Joseph Myers <joseph@codesourcery.com>
17844 Aldy Hernandez <aldyh@redhat.com>
17845
17846 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17847 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17848 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17849 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17850 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17851 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17852 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17853 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17854 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17855 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17856 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17857 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17858 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17859 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17860 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17861 Likewise.
17862 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17863 Likewise.
17864 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17865 Likewise.
17866 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17867 Likewise.
17868 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17869 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17870 Likewise.
17871 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17872 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17873 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17874 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17875 Likewise.
17876 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17877 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17878 * sysdeps/powerpc/preconfigure: Likewise.
17879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17880 Likewise.
17881 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17882 Replace contents of file by #include of <fenv_libc.h>.
17883 * sysdeps/powerpc/soft-fp/sfp-machine.h
17884 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17885 and <sys/prctl.h>.
17886 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17887 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17888 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17889 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17890 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17891 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17892 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17893 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17894 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17895 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17896 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17897 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17899 Allow copysignl PLT reference to be missing.
17900
5abe0682
RS
179012013-10-18 Richard Sandiford <richard@codesourcery.com>
17902 Joseph Myers <joseph@codesourcery.com
17903
17904 [BZ #15948]
17905 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17906 single character.
17907 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17908
c7738d08
SP
179092013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17910
17911 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17912 * elf/tst-tls1.c: Likewise.
17913 * elf/tst-tls10.h: Likewise.
17914 * elf/tst-tls14.c: Likewise.
17915 * elf/tst-tls2.c: Likewise.
17916 * elf/tst-tls3.c: Likewise.
17917 * elf/tst-tls4.c: Likewise.
17918 * elf/tst-tls5.c: Likewise.
17919 * elf/tst-tls6.c: Likewise.
17920 * elf/tst-tls7.c: Likewise.
17921 * elf/tst-tls8.c: Likewise.
17922 * elf/tst-tls9.c: Likewise.
17923 * elf/tst-tlsmod1.c: Likewise.
17924 * elf/tst-tlsmod13.c: Likewise.
17925 * elf/tst-tlsmod13a.c: Likewise.
17926 * elf/tst-tlsmod14a.c: Likewise.
17927 * elf/tst-tlsmod16a.c: Likewise.
17928 * elf/tst-tlsmod16b.c: Likewise.
17929 * elf/tst-tlsmod2.c: Likewise.
17930 * elf/tst-tlsmod3.c: Likewise.
17931 * elf/tst-tlsmod4.c: Likewise.
17932 * elf/tst-tlsmod5.c: Likewise.
17933 * elf/tst-tlsmod6.c: Likewise.
17934
0bfcf2c7
OB
179352013-10-18 Ondřej Bílka <neleai@seznam.cz>
17936
17937 [BZ #12486]
17938 * malloc/malloc.c: remove checks for statistics.
17939
264aad1e
OB
179402013-10-17 Ondřej Bílka <neleai@seznam.cz>
17941
17942 [BZ #15277]
17943 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17944 * inet/tst-network.c: Add testcase.
17945
b957ced8
AS
179462013-10-17 Andreas Schwab <schwab@suse.de>
17947
17948 [BZ #15218]
17949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17950 to determine canonical name.
17951
c5d5d574
OB
179522013-10-17 Ondřej Bílka <neleai@seznam.cz>
17953
17954 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17955 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17956 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17957 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17958 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17959 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17960 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17961 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17962 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17963 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17964 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17965 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17966 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17967 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17968 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17969 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17971 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17972 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17973 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17974 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17975 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17976 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17977 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17978 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17979 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17980 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17981 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17982 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17983 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17984 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17988 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17989 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17990 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17991 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17992 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17993 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17994 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17995 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17996 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17997 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17998 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17999 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18000 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18001 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18002 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18003 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18004 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18005 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18006 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18007 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18008 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18009 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18010 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18011 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18012
e5c2c2d0
JM
180132013-10-17 Joseph Myers <joseph@codesourcery.com>
18014
18015 [BZ #16041]
18016 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18017 make result into a quiet NaN.
18018
51ca9e29
JM
180192013-10-16 Joseph Myers <joseph@codesourcery.com>
18020
18021 * soft-fp/adddf3.c: Fix horizontal whitespace.
18022 * soft-fp/addsf3.c: Likewise.
18023 * soft-fp/addtf3.c: Likewise.
18024 * soft-fp/divdf3.c: Likewise.
18025 * soft-fp/divsf3.c: Likewise.
18026 * soft-fp/divtf3.c: Likewise.
18027 * soft-fp/double.h: Likewise.
18028 * soft-fp/eqdf2.c: Likewise.
18029 * soft-fp/eqsf2.c: Likewise.
18030 * soft-fp/eqtf2.c: Likewise.
18031 * soft-fp/extenddftf2.c: Likewise.
18032 * soft-fp/extended.h: Likewise.
18033 * soft-fp/extendsfdf2.c: Likewise.
18034 * soft-fp/extendsftf2.c: Likewise.
18035 * soft-fp/extendxftf2.c: Likewise.
18036 * soft-fp/fixdfdi.c: Likewise.
18037 * soft-fp/fixdfsi.c: Likewise.
18038 * soft-fp/fixdfti.c: Likewise.
18039 * soft-fp/fixsfdi.c: Likewise.
18040 * soft-fp/fixsfsi.c: Likewise.
18041 * soft-fp/fixsfti.c: Likewise.
18042 * soft-fp/fixtfdi.c: Likewise.
18043 * soft-fp/fixtfsi.c: Likewise.
18044 * soft-fp/fixtfti.c: Likewise.
18045 * soft-fp/fixunsdfdi.c: Likewise.
18046 * soft-fp/fixunsdfsi.c: Likewise.
18047 * soft-fp/fixunsdfti.c: Likewise.
18048 * soft-fp/fixunssfdi.c: Likewise.
18049 * soft-fp/fixunssfsi.c: Likewise.
18050 * soft-fp/fixunssfti.c: Likewise.
18051 * soft-fp/fixunstfdi.c: Likewise.
18052 * soft-fp/fixunstfsi.c: Likewise.
18053 * soft-fp/fixunstfti.c: Likewise.
18054 * soft-fp/floatdidf.c: Likewise.
18055 * soft-fp/floatdisf.c: Likewise.
18056 * soft-fp/floatditf.c: Likewise.
18057 * soft-fp/floatsidf.c: Likewise.
18058 * soft-fp/floatsisf.c: Likewise.
18059 * soft-fp/floatsitf.c: Likewise.
18060 * soft-fp/floattidf.c: Likewise.
18061 * soft-fp/floattisf.c: Likewise.
18062 * soft-fp/floattitf.c: Likewise.
18063 * soft-fp/floatundidf.c: Likewise.
18064 * soft-fp/floatundisf.c: Likewise.
18065 * soft-fp/floatunditf.c: Likewise.
18066 * soft-fp/floatunsidf.c: Likewise.
18067 * soft-fp/floatunsisf.c: Likewise.
18068 * soft-fp/floatunsitf.c: Likewise.
18069 * soft-fp/floatuntidf.c: Likewise.
18070 * soft-fp/floatuntisf.c: Likewise.
18071 * soft-fp/floatuntitf.c: Likewise.
18072 * soft-fp/fmadf4.c: Likewise.
18073 * soft-fp/fmasf4.c: Likewise.
18074 * soft-fp/fmatf4.c: Likewise.
18075 * soft-fp/gedf2.c: Likewise.
18076 * soft-fp/gesf2.c: Likewise.
18077 * soft-fp/getf2.c: Likewise.
18078 * soft-fp/ledf2.c: Likewise.
18079 * soft-fp/lesf2.c: Likewise.
18080 * soft-fp/letf2.c: Likewise.
18081 * soft-fp/muldf3.c: Likewise.
18082 * soft-fp/mulsf3.c: Likewise.
18083 * soft-fp/multf3.c: Likewise.
18084 * soft-fp/negdf2.c: Likewise.
18085 * soft-fp/negsf2.c: Likewise.
18086 * soft-fp/negtf2.c: Likewise.
18087 * soft-fp/op-1.h: Likewise.
18088 * soft-fp/op-2.h: Likewise.
18089 * soft-fp/op-4.h: Likewise.
18090 * soft-fp/op-8.h: Likewise.
18091 * soft-fp/op-common.h: Likewise.
18092 * soft-fp/quad.h: Likewise.
18093 * soft-fp/single.h: Likewise.
18094 * soft-fp/soft-fp.h: Likewise.
18095 * soft-fp/sqrtdf2.c: Likewise.
18096 * soft-fp/sqrtsf2.c: Likewise.
18097 * soft-fp/sqrttf2.c: Likewise.
18098 * soft-fp/subdf3.c: Likewise.
18099 * soft-fp/subsf3.c: Likewise.
18100 * soft-fp/subtf3.c: Likewise.
18101 * soft-fp/truncdfsf2.c: Likewise.
18102 * soft-fp/trunctfdf2.c: Likewise.
18103 * soft-fp/trunctfsf2.c: Likewise.
18104 * soft-fp/trunctfxf2.c: Likewise.
18105 * soft-fp/unorddf2.c: Likewise.
18106 * soft-fp/unordsf2.c: Likewise.
18107 * soft-fp/unordtf2.c: Likewise.
18108
9ebb0332
JM
181092013-10-15 Joseph Myers <joseph@codesourcery.com>
18110
18111 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18112 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18113
4b1a6d8b
OB
181142013-10-15 Ondřej Bílka <neleai@seznam.cz>
18115
18116 * elf/dl-libc.c: Clear initfini list after freeing.
18117
1e145589
JM
181182013-10-14 Joseph Myers <joseph@codesourcery.com>
18119
18120 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18121 * soft-fp/addsf3.c: Likewise.
18122 * soft-fp/addtf3.c: Likewise.
18123 * soft-fp/divdf3.c: Likewise.
18124 * soft-fp/divsf3.c: Likewise.
18125 * soft-fp/divtf3.c: Likewise.
18126 * soft-fp/double.h: Likewise.
18127 * soft-fp/eqdf2.c: Likewise.
18128 * soft-fp/eqsf2.c: Likewise.
18129 * soft-fp/eqtf2.c: Likewise.
18130 * soft-fp/extenddftf2.c: Likewise.
18131 * soft-fp/extended.h: Likewise.
18132 * soft-fp/extendsfdf2.c: Likewise.
18133 * soft-fp/extendsftf2.c: Likewise.
18134 * soft-fp/extendxftf2.c: Likewise.
18135 * soft-fp/fixdfdi.c: Likewise.
18136 * soft-fp/fixdfsi.c: Likewise.
18137 * soft-fp/fixdfti.c: Likewise.
18138 * soft-fp/fixsfdi.c: Likewise.
18139 * soft-fp/fixsfsi.c: Likewise.
18140 * soft-fp/fixsfti.c: Likewise.
18141 * soft-fp/fixtfdi.c: Likewise.
18142 * soft-fp/fixtfsi.c: Likewise.
18143 * soft-fp/fixtfti.c: Likewise.
18144 * soft-fp/fixunsdfdi.c: Likewise.
18145 * soft-fp/fixunsdfsi.c: Likewise.
18146 * soft-fp/fixunsdfti.c: Likewise.
18147 * soft-fp/fixunssfdi.c: Likewise.
18148 * soft-fp/fixunssfsi.c: Likewise.
18149 * soft-fp/fixunssfti.c: Likewise.
18150 * soft-fp/fixunstfdi.c: Likewise.
18151 * soft-fp/fixunstfsi.c: Likewise.
18152 * soft-fp/fixunstfti.c: Likewise.
18153 * soft-fp/floatdidf.c: Likewise.
18154 * soft-fp/floatdisf.c: Likewise.
18155 * soft-fp/floatditf.c: Likewise.
18156 * soft-fp/floatsidf.c: Likewise.
18157 * soft-fp/floatsisf.c: Likewise.
18158 * soft-fp/floatsitf.c: Likewise.
18159 * soft-fp/floattidf.c: Likewise.
18160 * soft-fp/floattisf.c: Likewise.
18161 * soft-fp/floattitf.c: Likewise.
18162 * soft-fp/floatundidf.c: Likewise.
18163 * soft-fp/floatundisf.c: Likewise.
18164 * soft-fp/floatunsidf.c: Likewise.
18165 * soft-fp/floatunsisf.c: Likewise.
18166 * soft-fp/floatuntidf.c: Likewise.
18167 * soft-fp/floatuntisf.c: Likewise.
18168 * soft-fp/floatuntitf.c: Likewise.
18169 * soft-fp/fmadf4.c: Likewise.
18170 * soft-fp/fmasf4.c: Likewise.
18171 * soft-fp/fmatf4.c: Likewise.
18172 * soft-fp/gedf2.c: Likewise.
18173 * soft-fp/gesf2.c: Likewise.
18174 * soft-fp/getf2.c: Likewise.
18175 * soft-fp/ledf2.c: Likewise.
18176 * soft-fp/lesf2.c: Likewise.
18177 * soft-fp/letf2.c: Likewise.
18178 * soft-fp/muldf3.c: Likewise.
18179 * soft-fp/mulsf3.c: Likewise.
18180 * soft-fp/multf3.c: Likewise.
18181 * soft-fp/negdf2.c: Likewise.
18182 * soft-fp/negsf2.c: Likewise.
18183 * soft-fp/negtf2.c: Likewise.
18184 * soft-fp/op-1.h: Likewise.
18185 * soft-fp/op-2.h: Likewise.
18186 * soft-fp/op-4.h: Likewise.
18187 * soft-fp/op-8.h: Likewise.
18188 * soft-fp/op-common.h: Likewise.
18189 * soft-fp/quad.h: Likewise.
18190 * soft-fp/single.h: Likewise.
18191 * soft-fp/soft-fp.h: Likewise.
18192 * soft-fp/sqrtdf2.c: Likewise.
18193 * soft-fp/sqrtsf2.c: Likewise.
18194 * soft-fp/sqrttf2.c: Likewise.
18195 * soft-fp/subdf3.c: Likewise.
18196 * soft-fp/subsf3.c: Likewise.
18197 * soft-fp/subtf3.c: Likewise.
18198 * soft-fp/truncdfsf2.c: Likewise.
18199 * soft-fp/trunctfdf2.c: Likewise.
18200 * soft-fp/trunctfsf2.c: Likewise.
18201 * soft-fp/trunctfxf2.c: Likewise.
18202 * soft-fp/unorddf2.c: Likewise.
18203 * soft-fp/unordsf2.c: Likewise.
18204 * soft-fp/unordtf2.c: Likewise.
18205
17c48a60
OB
182062013-10-14 Ondřej Bílka <neleai@seznam.cz>
18207
18208 [BZ #15672]
18209 * misc/error.c (error_tail): Fix possible buffer overflow.
18210
cabba934
OB
182112013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18212
18213 [BZ #13028]
18214 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18215 address.
18216
94bf958a
PM
182172013-10-14 P. J. McDermott <pj@pehjota.net>
18218
18219 [BZ #832]
18220 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18221 testing pipefail option.
18222
71b4dea7
JM
182232013-10-12 Joseph Myers <joseph@codesourcery.com>
18224
18225 * soft-fp/double.h: Indent preprocessor directives inside #if.
18226 * soft-fp/extended.h: Likewise.
18227 * soft-fp/op-2.h: Likewise.
18228 * soft-fp/op-4.h: Likewise.
18229 * soft-fp/op-common.h: Likewise.
18230 * soft-fp/quad.h: Likewise.
18231 * soft-fp/single.h: Likewise.
18232 * soft-fp/soft-fp.h: Likewise.
18233
55602758
YC
182342013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18235
18236 * iconv/iconv_prog.c: Fix typos.
18237 * stdio-common/psiginfo-data.h: Likewise.
18238
9cd83302
RT
182392013-10-12 Reuben Thomas <rrt@sc3d.org>
18240
18241 [BZ #15764]
18242 * locale/setlocale.c: Fix typo.
18243
99fd9f47
JM
182442013-10-12 Joseph Myers <joseph@codesourcery.com>
18245
b7ea74f0
JM
18246 [BZ #16036]
18247 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18248 signaling NaN arguments.
18249 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18250 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18251
8a509447
JM
18252 [BZ #14910]
18253 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18254 unordered operands.
18255 * soft-fp/gesf2.c (__gesf2): Likewise.
18256 * soft-fp/getf2.c (__getf2): Likewise.
18257 * soft-fp/ledf2.c (__ledf2): Likewise.
18258 * soft-fp/lesf2.c (__lesf2): Likewise.
18259 * soft-fp/letf2.c (__letf2): Likewise.
18260
98998e9f
JM
18261 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18262 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18263 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18264 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18265 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18266 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18267 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18268 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18269 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18270 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18271 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18272 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18273 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18274 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18275 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18276 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18277 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18278 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18279 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18280 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18281 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18282 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18283 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18284 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18285 * soft-fp/floattidf.c (__floattidf): Likewise.
18286 * soft-fp/floattisf.c (__floattisf): Likewise.
18287 * soft-fp/floattitf.c (__floattitf): Likewise.
18288 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18289 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18290 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18291 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18292 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18293 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18294 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18295 * soft-fp/gesf2.c (__gesf2): Likewise.
18296 * soft-fp/getf2.c (__getf2): Likewise.
18297 * soft-fp/ledf2.c (__ledf2): Likewise.
18298 * soft-fp/lesf2.c (__lesf2): Likewise.
18299 * soft-fp/letf2.c (__letf2): Likewise.
18300
8edc4a11
JM
18301 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18302 Undefine and redefine.
18303 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18304 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18305 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18306 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18307 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18308 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18309 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18310 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18311 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18312 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18313 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18314 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18315 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18316 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18317 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18318
8399acaf
JM
18319 [BZ #16032]
18320 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18321 without decrementing exponent if mantissa >= that for the
18322 denominator, not >.
18323 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18324 denominator, not >. Decrement exponent in < case instead of
18325 incrementing in >= case.
18326 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18327 without decrementing exponent if mantissa >= that for the
18328 denominator, not >.
18329
99fd9f47
JM
18330 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18331 computing saturated result for unsigned overflow.
18332
10e1cf6b
SP
183332013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18334 Jeff Law <law@redhat.com>
18335
18336 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18337 (atan2Mp): Add systemtap probe marker.
18338 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18339 (__ieee754_log): Add systemtap probe marker.
18340 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18341 (atanMp): Add systemtap probe marker.
18342 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18343 (tanMp): Add systemtap probe marker.
18344 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18345 (__slowexp): Add systemtap probe marker.
18346 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18347 (__slowpow): Add systemtap probe marker.
18348 * manual/probes.texi: Document probes.
18349
3d110c7c
EB
183502013-10-11 Eric Biggers <ebiggers3@gmail.com>
18351
18352 [BZ #15362]
18353 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18354 written.
18355 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18356 written.
18357 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18358 written to buffer but not flushed.
18359 * libio/iofwrite_u.c: Likewise.
18360 * libio/iopadn.c: Return bytes returned even if EOF was
18361 encountered.
18362 * libio/iowpadn.c: Likewise.
18363 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18364 if _IO_padn does not write the whole buffer.
18365 [!COMPILE_WPRINTF] (PAD): Likewise.
18366
75b4202a
DM
183672013-10-10 David S. Miller <davem@davemloft.net>
18368
18369 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18370 directory block.
18371
6c6352e6
JM
183722013-10-10 Joseph Myers <joseph@codesourcery.com>
18373
33b853c3
JM
18374 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18375 instead of FSF address.
18376 * soft-fp/fixdfti.c: Likewise.
18377 * soft-fp/fixsfti.c: Likewise.
18378 * soft-fp/fixtfti.c: Likewise.
18379 * soft-fp/fixunsdfti.c: Likewise.
18380 * soft-fp/fixunssfti.c: Likewise.
18381 * soft-fp/fixunstfti.c: Likewise.
18382 * soft-fp/floattidf.c: Likewise.
18383 * soft-fp/floattisf.c: Likewise.
18384 * soft-fp/floattitf.c: Likewise.
18385 * soft-fp/floatuntidf.c: Likewise.
18386 * soft-fp/floatuntisf.c: Likewise.
18387 * soft-fp/floatuntitf.c: Likewise.
18388 * soft-fp/trunctfxf2.c: Likewise.
18389
6c6352e6
JM
18390 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18391 * soft-fp/fixdfti.c: Likewise.
18392 * soft-fp/fixsfti.c: Likewise.
18393 * soft-fp/fixtfti.c: Likewise.
18394 * soft-fp/fixunsdfti.c: Likewise.
18395 * soft-fp/fixunssfti.c: Likewise.
18396 * soft-fp/fixunstfti.c: Likewise.
18397 * soft-fp/floattidf.c: Likewise.
18398 * soft-fp/floattisf.c: Likewise.
18399 * soft-fp/floattitf.c: Likewise.
18400 * soft-fp/floatuntidf.c: Likewise.
18401 * soft-fp/floatuntisf.c: Likewise.
18402 * soft-fp/floatuntitf.c: Likewise.
18403 * soft-fp/trunctfxf2.c: Likewise.
18404
3bf78b71
DM
184052013-10-10 David S. Miller <davem@davemloft.net>
18406
18407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18408
6f10289e
JM
184092013-10-10 Joseph Myers <joseph@codsourcery.com>
18410
bd878fc0
JM
18411 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18412 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18413 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18414 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18415 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18416 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18417 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18418
6f10289e
JM
18419 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18420 for NaNs before doing comparisons on argument.
18421 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18422 Likewise.
18423
321e2684
WN
184242013-10-10 Will Newton <will.newton@linaro.org>
18425
18426 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18427 passed to _int_memalign does not overflow.
18428
40fefba1
TR
184292013-10-10 Torvald Riegel <triegel@redhat.com>
18430
18431 * scripts/bench.pl: Add include-sources directive.
18432 * benchtests/README: Update documentation.
18433
2ae21ed2
JM
184342013-10-10 Joseph Myers <joseph@codesourcery.com>
18435
dcc2dd3f
JM
18436 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18437 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18438 instead of FP_INIT_ROUNDMODE.
18439 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18440 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18441
2ae21ed2
JM
18442 [BZ #16034]
18443 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18444 copy class of input value.
18445 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18446 not handle exceptions.
18447 * soft-fp/negsf2.c (__negsf2): Likewise.
18448 * soft-fp/negtf2.c (__negtf2): Likewise.
18449 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18450
cb8f9562
JM
184512013-10-09 Joseph Myers <joseph@codesourcery.com>
18452
18453 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18454 semicolon. From Linux kernel.
18455
5b60c59d
AB
184562013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18457
18458 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18459
b86835ca
YC
184602013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18461
18462 [BZ #156]
18463 * manual/socket.texi: Added statement about buffer
18464 for gethostbyname2_r.
18465
e7044ea7
OB
184662013-10-08 Ondřej Bílka <neleai@seznam.cz>
18467
18468 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18469 Use .p2align directive instead, throughout.
18470 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18471 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18472 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18473 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18474 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18475 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18476 * sysdeps/x86_64/strchr.S: Likewise.
18477 * sysdeps/x86_64/strrchr.S: Likewise.
18478
09544cbc
SP
184792013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18480
88576635
SP
18481 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18482
e7b2d1dd
SP
18483 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18484
09544cbc
SP
18485 * sysdeps/generic/math_private.h (__mpsin1): Remove
18486 declaration.
18487 (__mpcos1): Likewise.
18488 (__mpsin): New argument __range_reduce.
18489 (__mpcos): Likewise.
18490 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18491 (slow): Use __mpsin and __mpcos.
18492 (slow1): Likewise.
18493 (slow2): Likewise.
18494 (sloww): Likewise.
18495 (sloww1): Likewise.
18496 (sloww2): Likewise.
18497 (bsloww): Likewise.
18498 (bsloww1): Likewise.
18499 (bsloww2): Likewise.
18500 (cslow2): Likewise.
18501 (csloww): Likewise.
18502 (csloww1): Likewise.
18503 (csloww2): Likewise.
18504 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18505 range_reduce. Merge in __mpsin1.
18506 (__mpcos): Likewise.
18507 (__mpsin1): Remove.
18508 (__mpcos1): Likewise.
18509
7602d070
JM
185102013-10-07 Joseph Myers <joseph@codesourcery.com>
18511
18512 * locale/loadlocale.c (_nl_intern_locale_data): Use
18513 LOCFILE_ALIGNED_P.
18514 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18515 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18516 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18517 obstack data is appropriately aligned.
18518 (obstack_int32_grow_fast): Likewise.
18519 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18520 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18521 (add_locale_uint32_array): Likewise.
18522
a357259b
SP
185232013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18524
18525 * benchtests/Makefile: Remove ARGLIST and RET variables.
18526 ($(objpfx)bench-%.c): Pass only function name to the script.
18527 * benchtests/README: Update documentation.
18528 * benchtests/acos-inputs: Add new directives.
18529 * benchtests/acosh-inputs: Likewise.
18530 * benchtests/asin-inputs: Likewise.
18531 * benchtests/asinh-inputs: Likewise.
18532 * benchtests/atan-inputs: Likewise.
18533 * benchtests/atanh-inputs: Likewise.
18534 * benchtests/cos-inputs: Likewise.
18535 * benchtests/cosh-inputs: Likewise.
18536 * benchtests/exp-inputs: Likewise.
18537 * benchtests/log-inputs: Likewise.
18538 * benchtests/pow-inputs: Likewise.
18539 * benchtests/rint-inputs: Likewise.
18540 * benchtests/sin-inputs: Likewise.
18541 * benchtests/sinh-inputs: Likewise.
18542 * benchtests/tan-inputs: Likewise.
18543 * benchtests/tanh-inputs: Likewise.
18544 * scripts/bench.pl: Add support for new directives.
18545
9ec1b13d
AM
185462013-10-07 Alan Modra <amodra@gmail.com>
18547
18548 * README: Fix careless merge.
18549
8b7d57cd
AM
185502013-10-05 Alan Modra <amodra@gmail.com>
18551
18552 * NEWS: Mention powerpc64le support and bugs fixed.
18553 * README: Both big-endian and little-endian powerpc64 supported.
18554
7b7bab13
ST
185552013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18556
57f41c40
AS
18557 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18558 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18559 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18560 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18561
d39baad1
RA
185622013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18563
18564 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18565 match prototype.
18566
cd78f7e7
JM
185672013-10-04 Joseph Myers <joseph@codesourcery.com>
18568
29d73d86
JM
18569 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18570 Move -mhard-float appending from
18571 ports/sysdeps/powerpc/powerpc32/Makefile.
18572 [$(with-fp) = yes] (ASFLAGS): Likewise.
18573 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18574 * sysdeps/powerpc/nofpu: Move directory from
18575 ports/sysdeps/powerpc/nofpu.
18576 * sysdeps/powerpc/soft-fp: Move directory from
18577 ports/sysdeps/powerpc/soft-fp.
18578 * sysdeps/powerpc/powerpc32/405: Move directory from
18579 ports/sysdeps/powerpc/powerpc32/405.
18580 * sysdeps/powerpc/powerpc32/440: Move directory from
18581 ports/sysdeps/powerpc/powerpc32/440.
18582 * sysdeps/powerpc/powerpc32/464: Move directory from
18583 ports/sysdeps/powerpc/powerpc32/464.
18584 * sysdeps/powerpc/powerpc32/476: Move directory from
18585 ports/sysdeps/powerpc/powerpc32/476.
18586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18587 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18589 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18591 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18593 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18595 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18596 * README: Update for powerpc-*-linux-gnu software floating point
18597 support in libc.
18598
e246b347
JM
18599 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18600 case to powerpc/powerpc32*.
18601 * sysdeps/unix/sysv/linux/configure: Regenerated.
18602
89c2003e
JM
18603 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18604 (_FPU_MASK_OM): Define as 0x04.
18605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18607 0x00c10080.
18608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18609 0x0000003c.
18610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18611
cd78f7e7
JM
18612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18613 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18614 getcontext_e500.
18615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18616 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18617 setcontext_e500.
18618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18619 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18620 and setcontext_e500.
18621
c755294d
CL
186222013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18623
18624 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18625
e16d221c
SP
186262013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18627
18628 * manual/threads.texi (Default Thread Attributes): Fix typo.
18629
215c7d43
WN
186302013-10-04 Will Newton <will.newton@linaro.org>
18631
18632 * malloc/Makefile: Add tst-memalign.
18633 * malloc/tst-memalign.c: New file.
18634
27d0461b
WN
18635 * malloc/tst-posix_memalign.c: Add comments.
18636 (do_test): Add comments and call free on all potentially
18637 allocated pointers. Add space after cast.
18638
1bc92709
WN
18639 * malloc/tst-pvalloc.c: Add comments.
18640 (do_test): Add comments and call free on all potentially
18641 allocated pointers. Remove duplicate check for NULL pointer.
18642 Add space after cast.
18643
66a9be9d
WN
18644 * malloc/tst-valloc.c: Add comments.
18645 (do_test): Add comments and call free on all potentially
18646 allocated pointers. Remove duplicate check for NULL pointer.
18647 Add space after cast.
18648
4cb81307
AM
186492013-10-04 Alan Modra <amodra@gmail.com>
18650
18651 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18652 Use stdint types in rather than __attribute__((mode())).
18653 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18654
f8e3e9f3
AM
186552013-10-04 Alan Modra <amodra@gmail.com>
18656
18657 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18658 Correct handling of unaligned relocs for little-endian.
18659 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18660
8f9ebb08
AM
186612013-10-04 Alan Modra <amodra@gmail.com>
18662
18663 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18664 * configure: Regenerate.
18665 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18666 * shlib-versions: Likewise.
18667
0edf96c2
AM
186682013-10-04 Alan Modra <amodra@gmail.com>
18669
18670 * string/tester.c (test_memrchr): Increment reported test cycle.
18671
e0f7a380
AM
186722013-10-04 Alan Modra <amodra@gmail.com>
18673
18674 * string/test-memcpy.c (do_one_test): When reporting errors, print
18675 string address and don't overrun end of string.
18676
466b0393
AM
186772013-10-04 Alan Modra <amodra@gmail.com>
18678
18679 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18680 insrdi. Make better use of reg selection to speed exit slightly.
18681 Schedule entry path a little better. Remove useless "are we done"
18682 checks on entry to main loop. Handle wrapping around zero address.
18683 Correct main loop count. Handle single left-over word from main
18684 loop inline rather than by using loop_small. Remove extra word
18685 case in loop_small caused by wrong loop count. Add little-endian
18686 support.
18687 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18688 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18689 cache hint.
18690 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18691 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18692 support. Avoid rlwimi.
18693 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18694
3be87c77
AM
186952013-10-04 Alan Modra <amodra@gmail.com>
18696
18697 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18698 insrdi. Formatting.
3be87c77
AM
18699 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18700 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18701 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18702 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18703 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18704 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18705
759cfef3
AM
187062013-10-04 Alan Modra <amodra@gmail.com>
18707
18708 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18709 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18710 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18711 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18712 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18713 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18714 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18715 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18716 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18717 use of regs. Use power7 mtocrf. Tidy function tails.
18718
fe6e95d7
AM
187192013-10-04 Alan Modra <amodra@gmail.com>
18720
18721 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18722 Formatting. Consistently use rXXX register defines or rN defines.
18723 Use early exit labels that avoid restoring unused non-volatile regs.
18724 Make cr field use more consistent with rWORDn compares. Rename
18725 regs used as shift registers for unaligned loop, using rN defines
18726 for short lifetime/multiple use regs.
18727 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18728 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18729 addi 1,1,64 to pop stack frame. Simplify return value code.
18730 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18731
664318c3
AM
187322013-10-04 Alan Modra <amodra@gmail.com>
18733
18734 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18735 support. Correct typos, formatting. Optimize tail. Use insrdi
18736 rather than rlwimi.
18737 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18738 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18739 little-endian support. Correct typos.
18740 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18741 rather than rlwimi.
18742 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18743 in loop and entry code to keep "and." results.
18744 (strchr): Add little-endian support. Comment. Move cntlzd
18745 earlier in tail.
18746 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18747
43b84013
AM
187482013-10-04 Alan Modra <amodra@gmail.com>
18749
18750 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18751 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18752 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18753 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18754
8a7413f9
AM
187552013-10-04 Alan Modra <amodra@gmail.com>
18756
18757 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18758 (rTMP): Define as r11.
18759 (strcmp): Add little-endian support. Optimise tail.
18760 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18761 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18762 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18763 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18764 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18765 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18766 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18767
33ee81de
AM
187682013-10-04 Alan Modra <amodra@gmail.com>
18769
18770 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18771 little-endian support. Remove unnecessary "are we done" tests.
18772 Handle "s" wrapping around zero and extremely large "size".
18773 Correct main loop count. Handle single left-over word from main
18774 loop inline rather than by using small_loop. Correct comments.
18775 Delete "zero" tail, use "end_max" instead.
18776 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18777
db9b4570
AM
187782013-10-04 Alan Modra <amodra@gmail.com>
18779
18780 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18781 support. Don't branch over align.
18782 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18783 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18784 support. Rearrange tmp reg use to suit. Comment.
18785 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18786
f7c399cf
AM
187872013-10-04 Alan Modra <amodra@gmail.com>
18788
18789 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18790
0b2c2ace
AM
187912013-10-04 Alan Modra <amodra@gmail.com>
18792
18793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18794 conditional form of branch and link when obtaining pc.
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18796
02f04a6c
AM
187972013-10-04 Alan Modra <amodra@gmail.com>
18798
18799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18800 HIWORD/LOWORD.
18801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18803
9b874b2f
AM
188042013-10-04 Alan Modra <amodra@gmail.com>
18805
18806 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18807 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18808 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18809 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18810 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18811 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18812 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18813 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18814 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18815 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18816
be1e5d31
AB
188172013-10-04 Anton Blanchard <anton@au1.ibm.com>
18818 Alistair Popple <alistair@ozlabs.au.ibm.com>
18819 Alan Modra <amodra@gmail.com>
18820
18821 [BZ #15723]
18822 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18823 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18824 _dl_hwcap access for little-endian.
18825 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18826 destroy vmx regs when saving unaligned.
18827 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18828 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18829 destroy vmx regs when saving unaligned.
18830
fef13a78
AM
188312013-10-04 Alan Modra <amodra@gmail.com>
18832
18833 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18834 Don't use a union to pack hi/low value.
18835
76a66d51
AB
188362013-10-04 Anton Blanchard <anton@au1.ibm.com>
18837
18838 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18839 for little-endian.
18840 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18841 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18842 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18843 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18844 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18845
6a31fe7f
AM
188462013-10-04 Alan Modra <amodra@gmail.com>
18847
18848 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18849 constants to usual value for .cst8 section, and remove redundant
18850 high address load.
18851 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18852 constant for 0x1p52. Load little-endian words of double from
18853 correct stack offsets.
18854
7b88401f
AM
188552013-10-04 Alan Modra <amodra@gmail.com>
18856
18857 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18858 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18859 words of double from correct stack offsets.
18860 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18861 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18862 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18863 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18864 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18865 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18866 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18867 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18868 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18869 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18870 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18871 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18872 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18873 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18874 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18875 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18876 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18877
9c008155
AM
188782013-10-04 Alan Modra <amodra@gmail.com>
18879
18880 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18881 64-bit int/double union.
18882 (_FPU_SETCW): Likewise.
18883 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18884 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18885
da13146d
AM
188862013-10-04 Alan Modra <amodra@gmail.com>
18887
18888 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18889 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18890
603e8410
AM
188912013-10-04 Alan Modra <amodra@gmail.com>
18892
18893 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18894 use vector int constants.
18895 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18896
4a28b3ca
AB
188972013-10-04 Anton Blanchard <anton@au1.ibm.com>
18898
18899 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18900 array with long long.
18901 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18902 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18903 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18904 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18905 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18906 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18907 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18908 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18909 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18910 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18911 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18912 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18913 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18914
2ca85d2b
AB
189152013-10-04 Anton Blanchard <anton@au1.ibm.com>
18916
18917 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18918 (__signbit): Likewise. Correct for little-endian.
18919 (__signbitl): Call __signbit.
18920 (lrint): Correct for little-endian.
18921 (lrintf): Call lrint.
18922
62a728ae
AM
189232013-10-04 Alan Modra <amodra@gmail.com>
18924
18925 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18926 union 32-bit int array member with 64-bit int array.
18927 (t515, tm256): Double rather than long double.
18928 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18929
32c301df
AM
189302013-10-04 Alan Modra <amodra@gmail.com>
18931
18932 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18933 Delete.
18934 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18935 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18936 version of math_ldbl.h.
18937
650ef4bd
AM
189382013-10-04 Alan Modra <amodra@gmail.com>
18939
18940 [BZ #15734], [BZ #15735]
18941 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18942 all uses of ieee875 long double macros and unions. Simplify test
18943 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18944 ldbl_extract_mantissa value for ix,iy exponents. Properly
18945 normalize after ldbl_extract_mantissa, and don't add hidden bit
18946 already handled. Don't treat low word of ieee854 mantissa like
18947 low word of IBM long double and mask off bit when testing for
18948 zero.
18949 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18950 all uses of ieee875 long double macros and unions. Simplify tests
18951 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18952 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18953 two1022, instead use their values. Recognise that tests for large
18954 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18955 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18956 Rewrite all uses of ieee875 long double macros and unions. Simplify
18957 test for 0.0L and nan. Correct negation.
18958 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18959 ieee875 long double macros and unions. Correct output for large
18960 magnitude x. Correct absolute value calculation.
18961 (__erfcl): Likewise.
18962 * math/libm-test.inc: Add tests for errors discovered in IBM long
18963 double versions of fmodl, remainderl, erfl and erfcl.
18964
765714ca
AM
189652013-10-04 Alan Modra <amodra@gmail.com>
18966
18967 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18968 all uses of ieee854 long double macros and unions. Simplify tests
18969 for long doubles that are fully specified by the high double.
18970 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18971 Likewise.
18972 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18973 Remove dead code too.
18974 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18975 (__ieee754_ynl): Likewise.
18976 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18977 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18978 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18979 Remove dead code too.
18980 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18981 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18982 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18983 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18984 Simplify.
18985 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18986 Simplify.
18987 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18988 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18989 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18990 Comment on variable precision.
18991 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18992 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18993 Likewise.
18994 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18995 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18996 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18997 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18998 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18999
4ebd120c
AM
190002013-10-04 Alan Modra <amodra@gmail.com>
19001
19002 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19003 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19004 all uses of ieee854 long double macros and unions.
19005 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19006 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19007 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19008 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19009 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19010 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19011 Likewise.
19012 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19013 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19014 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19015 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19016 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19017 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19018 Simplify sign and nan test too.
19019 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19020 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19021 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19022 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19023 Likewise.
19024 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19025 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19026 Likewise.
19027 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19028 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19029 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19030 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19031 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19033
1b6adf88
AM
190342013-10-04 Alan Modra <amodra@gmail.com>
19035
19036 * stdio-common/printf_size.c (__printf_size): Don't use
19037 union ieee854_long_double in fpnum union.
19038 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19039 signbit macro to retrieve sign from long double.
19040 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19041 retrieve sign from long double.
19042 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19043 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19044 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19045 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19046 * math/test-misc.c (main): Don't use union ieee854_long_double.
19047
4cf69995
AM
190482013-10-04 Alan Modra <amodra@gmail.com>
19049
19050 [BZ #15680]
19051 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19052 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19053 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19054 calculation. Remove unnecessary test for denormal exponent.
19055 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19056 Correct handling of denormals. Avoid undefined shift behaviour.
19057 Correct normalisation of low mantissa when low double is denormal.
19058 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19059 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19060 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19061 Correct normalisation of low mantissa. Test for overflow of high
19062 mantissa and normalise.
19063 (ldbl_nearbyint): Use more readable constant for two52.
19064 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19065 (__mpn_construct_long_double): Fix test for overflow of high
19066 mantissa and correct normalisation. Avoid undefined shift.
19067
9605ca6c
AM
190682013-10-04 Alan Modra <amodra@gmail.com>
19069
19070 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19071 (union ibm_extended_long_double): Define as an array of ieee754_double.
19072 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19073 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19074 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19075 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19076 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19077 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19078 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19079 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19080 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19081 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19082 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19083
975569d0
JM
190842013-10-03 Joseph Myers <joseph@codesourcery.com>
19085
d3d23756
JM
19086 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19087 page size instead of calling getpagesize.
19088
975569d0
JM
19089 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19090 (LOCFILE_ALIGN_MASK): Likewise.
19091 (LOCFILE_ALIGN_UP): Likewise.
19092 (LOCFILE_ALIGNED_P): Likewise.
19093 * locale/programs/ld-collate.c (collate_output): Use the new
19094 macros instead of __alignof__ (int32_t).
19095 * locale/weight.h (findidx): Likewise.
19096
b1fe1f2b
OB
190972013-10-03 Ondřej Bílka <neleai@seznam.cz>
19098
19099 [BZ #431]
19100 * manual/string.texi: Fix strncat and wcsncat.
19101
5f855e35
BM
191022013-10-03 Brooks Moses <bmoses@google.com>
19103
19104 [BZ #15915]
19105 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19106 * Makerules: ...here, and adjust associated comments.
19107
3cef6009
WN
191082013-10-02 Will Newton <will.newton@linaro.org>
19109
19110 * malloc/Makefile: Add tst-pvalloc.
19111 * malloc/tst-pvalloc.c: New file.
19112
7815420b
WN
191132013-10-02 Will Newton <will.newton@linaro.org>
19114
19115 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19116 improve test coverage.
19117
4868b204
WN
191182013-10-02 Will Newton <will.newton@linaro.org>
19119
19120 * malloc/Makefile: Add tst-posix_memalign.
19121 * malloc/tst-posix_memalign.c: New file.
19122
29c793b3
EB
191232013-10-01 Eric Blake <eblake@redhat.com>
19124
19125 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19126 Use __THROWNL rather than __THROW on static functions.
19127
fd967522
PM
191282013-09-30 Petr Machata <pmachata@redhat.com>
19129
19130 * elf/elf.h (R_AARCH64_ABS16): New macro.
19131 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19132 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19133 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19134 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19135 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19136 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19137 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19138 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19139 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19140 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19141 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19142 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19143 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19144 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19145 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19146 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19147 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19148 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19149 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19150 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19151 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19152 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19153 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19154 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19155 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19156 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19157 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19158 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19159 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19160 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19161 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19162 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19163 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19164 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19165 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19166 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19167 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19168 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19169 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19170 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19171 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19172 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19173 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19174 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19175 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19176 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19177 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19178 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19179 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19180 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19181 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19182 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19183 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19184 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19185 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19186 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19187 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19188 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19189 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19190 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19191 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19192 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19193 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19194 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19195 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19196 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19197 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19198 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19199 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19200 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19201 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19202 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19203 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19204 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19205 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19206 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19207 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19208 (R_AARCH64_TLSDESC_LDR): Likewise.
19209 (R_AARCH64_TLSDESC_ADD): Likewise.
19210 (R_AARCH64_TLSDESC_CALL): Likewise.
19211
b2179107
AS
192122013-09-30 Andreas Schwab <schwab@suse.de>
19213
19214 [BZ #15048]
19215 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19216 the nss database lookup.
19217 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19219
47f28d0a
MF
192202013-09-28 Mike Frysinger <vapier@gentoo.org>
19221
19222 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19223
192242013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
19225
19226 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19227 ${Bash-specific parameter/pattern/string} parameter expansion.
19228 * sysdeps/unix/make-syscalls.sh: Likewise.
19229
f4518a17
KK
192302013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19231
19232 * sysdeps/sh/stackguard-macros.h: New file.
19233
dc1a95c7
OB
192342013-09-26 Ondřej Bílka <neleai@seznam.cz>
19235
19236 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19237 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19238 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19239 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19240 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19241 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19242
5ebbff8f
AZ
192432013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19244
19245 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19246 Fix thread ID register.
19247
4fd2cf9f
JM
192482013-09-25 Joseph Myers <joseph@codesourcery.com>
19249
19250 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19251 [POSIX || UNIX98]: Require rather than permitting all symbols from
19252 <time.h>.
19253 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19254 element of struct sched_param.
19255 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19256 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19257 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19258 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19259 constant.
19260
12c22bc4
OL
192612013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19262
19263 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19264 argument calculation.
19265
a03d8ea7
JM
192662013-09-24 Joseph Myers <joseph@codesourcery.com>
19267
19268 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19269 Expect macro.
19270 [POSIX] (pthread_attr_t): Do not require type.
19271 [POSIX] (pthread_cond_t): Likewise.
19272 [POSIX] (pthread_condattr_t): Likewise.
19273 [POSIX] (pthread_key_t): Likewise.
19274 [POSIX] (pthread_mutex_t): Likewise.
19275 [POSIX] (pthread_mutexattr_t): Likewise.
19276 [POSIX] (pthread_once_t): Likewise.
19277 [POSIX] (pthread_t): Likewise.
19278 [POSIX-based standards] (pthread_atfork): Expect function.
19279
6055173a
JM
192802013-09-24 Joseph Myers <joseph@codesourcery.com>
19281 Richard Sandiford <richard@codesourcery.com>
19282
19283 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19284 (swap_endianness_p): New extern variable.
19285 (set_big_endian): New inline function.
19286 (maybe_swap_uint32): Likewise.
19287 (maybe_swap_uint32_array): Likewise.
19288 (maybe_swap_uint32_obstack): Likewise.
19289 * locale/programs/locfile.c: Include <stdbool.h>.
19290 (swap_endianness_p): New variable.
19291 (add_locale_uint32): Call maybe_swap_uint32.
19292 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19293 (write_locale_data): Call maybe_swap_uint32_array.
19294 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19295 maybe_swap_uint32.
19296 (obstack_int32_grow_fast): Likewise.
19297 (output_weightwc): Call maybe_swap_uint32_obstack.
19298 (collate_output): Likewise.
19299 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19300 (OPT_LITTLE_ENDIAN): Likewise.
19301 (options): Add --little-endian and --big-endian options.
19302 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19303 * locale/programs/locarchive.c: Include "locfile.h".
19304 (GET): New macro.
19305 (SET): Likewise.
19306 (INC): Likewise.
19307 (create_archive): Use the new macros to access fields of
19308 structures directly mapped from or written to locale archives.
19309 (oldlocrecentcmp): Likewise.
19310 (enlarge_archive): Likewise.
19311 (insert_name): Likewise.
19312 (add_alias): Likewise.
19313 (add_locale): Likewise.
19314 (delete_locales_from_archive): Likewise.
19315 (show_archive_content): Likewise.
19316 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19317 locale data.
19318
39bf0bb4
RM
193192013-09-24 Roland McGrath <roland@hack.frob.com>
19320
19321 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19322 http://www.gnu.org/doc/freemanuals.texi.
19323 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19324
f02eed10
WN
193252013-09-24 Will Newton <will.newton@linaro.org>
19326
19327 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19328 macro.
19329
a3a6c312
JM
193302013-09-23 Joseph Myers <joseph@codesourcery.com>
19331
19332 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19333 unsigned char.
19334
107375ac
MR
193352013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19336
19337 * manual/threads.texi (POSIX Threads): Fix a typo.
19338
141f3a77
SP
193392013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19340
303e567a
SP
19341 [BZ #14547]
19342 * string/tst-strcoll-overflow.c: New test case.
19343 * string/Makefile (xtests): Add tst-strcoll-overflow.
19344 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19345 cache if string sizes may cause integer overflow.
19346
141f3a77
SP
19347 [BZ #14547]
19348 * string/strcoll_l.c (coll_seq): New members rule, idx,
19349 save_idx and back_us.
19350 (get_next_seq_nocache): New function.
19351 (do_compare_nocache): New function.
19352 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19353 when malloc fails.
19354
c61b4d41
CD
193552013-09-23 Carlos O'Donell <carlos@redhat.com>
19356
0b1f8e35
CD
19357 [BZ #15754]
19358 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19359 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19360 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19361
c61b4d41
CD
19362 [BZ #15754]
19363 * elf/Makefile (tests): Add tst-ptrguard1.
19364 (tests-static): Add tst-ptrguard1-static.
19365 (tst-ptrguard1-ARGS): Define.
19366 (tst-ptrguard1-static-ARGS): Define.
19367 * elf/tst-ptrguard1.c: New file.
19368 * elf/tst-ptrguard1-static.c: New file.
19369 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19370 * sysdeps/i386/stackguard-macros.h: Likewise.
19371 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19372 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19373 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19374 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19375 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19376 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19377
193782013-09-23 Hector Marco <hecmargi@upv.es>
19379 Ismael Ripoll <iripoll@disca.upv.es>
19380 Carlos O'Donell <carlos@redhat.com>
19381
19382 [BZ #15754]
19383 * sysdeps/generic/stackguard-macros.h: Define
19384 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19385 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19386 Define __pointer_chk_guard_local.
19387 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19388 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19389
f5f4e7b4
VV
193902013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19391
19392 [BZ #15859]
19393 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19394
5bb43a43
AS
193952013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19396
19397 * include/string.h (__ffs): Declare as hidden.
19398 * string/ffs.c (__ffs): Define as hidden.
19399 * sysdeps/i386/ffs.c (__ffs): Likewise.
19400 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19401 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19402 * sysdeps/s390/ffs.c (__ffs): Likewise.
19403 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19404
3ea5be54
AO
194052013-09-20 Alexandre Oliva <aoliva@redhat.com>
19406
ffb89e53
AO
19407 * NEWS: Mention malloc probes.
19408
322dea08
AO
19409 * malloc/arena.c (new_heap): New memory_heap_new probe.
19410 (grow_heap): New memory_heap_more probe.
19411 (shrink_heap): New memory_heap_less probe.
19412 (heap_trim): New memory_heap_free probe.
19413 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19414 (systrim): New memory_sbrk_less probe.
19415 * manual/probes.texi: Document them.
19416
655673f3
AO
19417 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19418 * manual/probes.texi: Document it.
19419
35fed6f1
AO
19420 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19421 (__libc_realloc): Add memory_realloc_retry probe.
19422 (__libc_memalign): Add memory_memalign_retry probe.
19423 (__libc_valloc): Add memory_valloc_retry probe.
19424 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19425 (__libc_calloc): Add memory_calloc_retry probe.
19426 * manual/probes.texi: Document them.
19427
6999d38c
AO
19428 * malloc/arena.c (get_free_list): Add probe
19429 memory_arena_reuse_free_list.
19430 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19431 and memory_arena_reuse.
19432 (arena_get2) [!PER_THREAD]: Likewise.
19433 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19434 memory_arena_reuse_realloc.
19435 * manual/probes.texi: Document them.
19436
0653427f
AO
19437 * malloc/malloc.c (__libc_free): Add
19438 memory_mallopt_free_dyn_thresholds probe.
19439 (__libc_mallopt): Add multiple memory_mallopt probes.
19440 * manual/probes.texi: Document them.
19441
3ea5be54
AO
19442 * malloc/malloc.c: Include stap-probe.h.
19443 (__libc_mallopt): Add memory_mallopt probe.
19444 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19445 * manual/probes.texi: New.
19446 * manual/Makefile (chapters): Add probes.
19447 * manual/threads.texi: Set next node.
19448
e35696c3 194492013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 19450
e35696c3
CL
19451 [BZ #15963, #13985]
19452 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19453 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19454 Add `Chinese' to `nan' entry name.
19455
4aafb73c
SP
194562013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19457
19458 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19459 (POLYNOMIAL): Likewise.
19460 (TAYLOR_SINCOS): Likewise.
19461 (TAYLOR_SLOW): Likewise.
19462 (__sin): Use TAYLOR_SINCOS.
19463 (__cos): Likewise.
19464 (slow): Use TAYLOR_SLOW.
19465 (sloww): Likewise.
19466 (bsloww): Likewise.
19467 (csloww): Likewise.
19468
d84f25c7
LD
194692013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19470
19471 * stdlib/strtod_l.c: Fix buffer overrun.
19472
5eea0404
SP
194732013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19474
7849ff93
SP
19475 * benchtests/Makefile (bench): Add sincos.
19476 * benchtests/bench-sincos.c: New file.
19477
cfa3c886
SP
19478 * math/libm-test.inc (cos_test_data): New test inputs.
19479 (sin_test_data): Likewise.
19480
b348e1e3
SP
19481 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19482 macro.
19483 (__sin): Use it.
19484 (__cos): Likewise.
19485 (slow1): Likewise.
19486 (slow2): Likewise.
19487 (sloww1): Likewise.
19488 (sloww2): Likewise.
19489 (bsloww1): Likewise.
19490 (bsloww2): Likewise.
19491 (cslow2): Likewise.
19492 (csloww1): Likewise.
19493 (csloww2): Likewise.
19494
6cce25f8
SP
19495 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19496 function.
19497 (__sin): Use it.
19498 (__cos): Likewise.
19499
5eea0404
SP
19500 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19501 gotos.
19502 (__cos): Likewise.
19503
9c21573c
MR
195042013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19505
19506 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19507 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19508 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19509 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19510 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19511 * elf/cache.c (print_entry): Handle the new cache flags.
19512
24d22e65
JM
195132013-09-18 Joseph Myers <joseph@codesourcery.com>
19514 Aldy Hernandez <aldyh@redhat.com>
19515
19516 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19517 Change condition to [_SOFT_FLOAT].
19518 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19519 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19520 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19521 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19522 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19523 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19524 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19525 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19526 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19527 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19530 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19531 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19532 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19533 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19534 declaration.
19535
d13ef066
JM
195362013-09-18 Joseph Myers <joseph@codesourcery.com>
19537
2e071de0
JM
19538 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19539 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19540 (__longjmp): Use LOAD_GP to load saved GPRs.
19541 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19542 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19543 (__sigsetjmp): Use SAVE_GP to save GPRs.
19544
d13ef066
JM
19545 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19546 Do not append -msoft-float.
19547 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19548
97a0650b
SP
195492013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19550
19551 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19552
11ca09e9
JM
195532013-09-17 Joseph Myers <joseph@codesourcery.com>
19554
19555 [BZ #15966]
19556 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19557 (_FPU_GETCW): Use initial "__" on variable and field names but not
19558 on macro parameter name.
19559 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19560 parentheses around reference to macro parameter.
19561
08ffcf34
RS
195622013-09-13 Richard Sandiford <richard@codesourcery.com>
19563
19564 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19565 prototype.
19566 (ctype_startup): Use uint32_t in cast and sizeof for
19567 ctype->charnames.
19568
ae7080d3
JL
195692013-09-11 Jia Liu <proljc@gmail.com>
19570
19571 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19572 __daddr_t_defined.
19573 [__FreeBSD__]: Likewise.
19574
5905e7b3
OB
195752013-09-11 Ondřej Bílka <neleai@seznam.cz>
19576
19577 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19578 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19579 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19580 (strchr): Remove __strchr_sse42 ifunc selection.
19581 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19582 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19583
b987c776
WN
195842013-09-11 Will Newton <will.newton@linaro.org>
19585
19586 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19587 parameter to RES. Remove hardcoded 1000 value.
19588 * benchtests/bench-skeleton.c (main): Pass RES parameter
19589 to TIMING_INIT and multiply result by 1000.
19590
ddf985af
AZ
195912013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19592
19593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19594
ffdd3181
AS
195952013-09-11 Andreas Schwab <schwab@suse.de>
19596
19597 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19598 if not defined.
19599 (O_TMPFILE) [__USE_GNU]: Define.
19600 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19601 Define.
19602
b73ed247
WN
196032013-09-11 Will Newton <will.newton@linaro.org>
19604
19605 [BZ #15857]
19606 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19607 does not overflow.
19608
55e17aad
WN
196092013-09-11 Will Newton <will.newton@linaro.org>
19610
19611 [BZ #15856]
19612 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19613 does not overflow.
19614
1159a193
WN
196152013-09-11 Will Newton <will.newton@linaro.org>
19616
19617 [BZ #15855]
19618 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19619 does not overflow.
19620
5905e7b3 196212013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19622
19623 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19624 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19625 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19626 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19627 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19628
cdfc721b
AM
196292013-09-10 Allan McRae <allan@archlinux.org>
19630
aa04af00
AM
19631 [BZ #15748]
19632 * manual/arith.texi (Parsing of Floats): Clarify
19633 cross-reference.
19634
cdfc721b
AM
19635 [BZ #15849]
19636 * manual/install.texi (Running make install): Mention
19637 --enable-pt-chown.
19638 * INSTALL: Regenerated.
19639
95e7cf29
MR
196402013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19641
19642 * csu/init-first.c (_init): Remove the !SHARED condition around
19643 FPU control word initialization.
19644 * elf/dl-support.c (_dl_fpu_control): New variable.
19645 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19646 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19647 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19648 * math/test-fpucw-static.c: New file.
19649 * math/test-fpucw-ieee.c: New file.
19650 * math/test-fpucw-ieee-static.c: New file.
19651 * math/Makefile (tests): Add `test-fpucw-ieee' and
19652 `$(tests-static)'.
19653 (tests-static): New variable.
19654 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19655 dependency to...
19656 [($(build-shared),yes)]
19657 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19658 ... this.
19659 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19660 New dependency.
19661
83e43bf0
AM
196622013-09-09 Allan McRae <allan@archlinux.org>
19663
a9f5ce09
AM
19664 [BZ #15939]
19665 * manual/string.texi (Collation Functions): Fix typo in
19666 strcoll example.
19667 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19668
34829bc2
AM
19669 [BZ #15893]
19670 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19671
3932737d
AM
19672 [BZ #15892]
19673 * libio/memstream.c (open_memstream): Fix memory leak.
19674 * libio/wmemstream.c (open_wmemstream): Likewise.
19675
83e43bf0
AM
19676 [BZ #15895]
19677 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19678
0c66b8e9
WN
196792013-09-09 Will Newton <will.newton@linaro.org>
19680
19681 * malloc/Makefile: Add tst-realloc to tests.
19682 * malloc/tst-realloc.c: New file.
19683
f6b00fd1
AM
196842013-09-09 Allan McRae <allan@archlinux.org>
19685
19686 [BZ #15844]
19687 * COPYING: Update from GNU website to fix FSF address.
19688 * COPYING.LIB: Likewise.
19689
eec55e16
DM
196902013-09-06 David S. Miller <davem@davemloft.net>
19691
19692 * po/zh_TW.po: Update Chinese (traditional) translation from
19693 translation project.
19694
1ecbb381
RS
196952013-09-06 Richard Sandiford <richard@codesourcery.com>
19696 Joseph Myers <joseph@codesourcery.com>
19697
19698 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19699 "localeinfo.h".
19700 (obstack_chunk_alloc): New macro.
19701 (obstack_chunk_free): Likewise.
19702 (record_offset): New function.
19703 (init_locale_data): Likewise.
19704 (align_locale_data): Likewise.
19705 (add_locale_empty): Likewise.
19706 (add_locale_raw_data): Likewise.
19707 (add_locale_raw_obstack): Likewise.
19708 (add_locale_string): Likewise.
19709 (add_locale_wstring): Likewise.
19710 (add_locale_uint32): Likewise.
19711 (add_locale_uint32_array): Likewise.
19712 (add_locale_char): Likewise.
19713 (start_locale_structure): Likewise.
19714 (end_locale_structure): Likewise.
19715 (start_locale_prelude): Likewise.
19716 (end_locale_prelude): Likewise.
19717 (write_locale_data): Take locale_file structure rather than an
19718 iovec.
19719 * locale/programs/locfile.h: Include "obstack.h".
19720 (struct locale_file): Change to store locale file contents instead
19721 of header.
19722 (init_locale_data): New prototype.
19723 (align_locale_data): Likewise.
19724 (add_locale_empty): Likewise.
19725 (add_locale_raw_data): Likewise.
19726 (add_locale_raw_obstack): Likewise.
19727 (add_locale_string): Likewise.
19728 (add_locale_wstring): Likewise.
19729 (add_locale_uint32): Likewise.
19730 (add_locale_uint32_array): Likewise.
19731 (add_locale_char): Likewise.
19732 (start_locale_structure): Likewise.
19733 (end_locale_structure): Likewise.
19734 (start_locale_prelude): Likewise.
19735 (end_locale_prelude): Likewise.
19736 (write_locale_data): Update prototype.
19737 * locale/programs/3level.h (struct TABLE): Remove result field.
19738 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19739 Use new locale_file interface.
19740 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19741 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19742 * locale/programs/ld-address.c (address_output): Use new
19743 locale_file interface.
19744 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19745 NO_ADD_LOCALE.
19746 (collate_finish): Don't call collseq_table_finalize.
19747 (collate_output): Use new locale_file interface.
19748 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19749 in file.
19750 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19751 (TABLE): Move defines earlier in file.
19752 (ELEMENT): Likewise.
19753 (DEFAULT): Likewise.
19754 (wctrans_table_add): Move macro and inline function earlier in
19755 file.
19756 (struct wctype_table): Move type earlier in file.
19757 (add_locale_wctype_table): New static prototype.
19758 (struct locale_ctype_t): Use logical types instead of struct iovec
19759 pointers for members.
19760 (ctype_output): Use new locale_file interface.
19761 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19762 new locale_file interface.
19763 (allocate_arrays): Update for use of new locale_file interface.
19764 * locale/programs/ld-identification.c (identification_output): Use
19765 new locale_file interface.
19766 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19767 * locale/programs/ld-messages.c (messages_output): Likewise.
19768 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19769 * locale/programs/ld-name.c (name_output): Likewise.
19770 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19771 * locale/programs/ld-paper.c (paper_output): Likewise.
19772 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19773 * locale/programs/ld-time.c (time_output): Likewise.
19774
e029e2e5
AZ
197752013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19776
19777 * benchtests/Makefile: Add memrchr benchmark.
19778 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19779 benchmark as memrchr.
19780 * benchtests/bench-memrchr-ifunc.c: New file.
19781 * benchtests/bench-memrchr.c: New file.
19782
bbf6e8e4
WN
197832013-09-06 Will Newton <will.newton@linaro.org>
19784
19785 * benchtests/Makefile (string-bench): Add memcpy.
19786
6c82a2f8
CD
197872013-09-05 Carlos O'Donell <carlos@redhat.com>
19788 Cong Wang <amwang@redhat.com>
19789
e732c5f0 19790 [BZ #15850]
6c82a2f8
CD
19791 * sysdeps/unix/sysv/linux/bits/in.h
19792 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19793 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19794 before __USE_KERNEL_IPV6_DEFS uses.
19795 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19796 IPPROTO_BEETPH.
19797 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19798 sockaddr_in6, or ipv6_mreq.
19799
5430fc65
AZ
198002013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19801
19802 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19803 memory access for final bytes in some large inputs.
19804 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19805
4660856c
AZ
198062013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19807
19808 * string/test-memrchr.c: New file.
19809 * string/test-memrchr-ifunc.c: New file.
19810 * string/Makefile: Add new memrchr testcase.
19811
bb8ea713
MF
198122013-09-05 Mike Frysinger <vapier@gentoo.org>
19813
19814 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19815 fanotify_init returns EPERM.
19816
b92a20b5
JM
198172013-09-04 Joseph Myers <joseph@codesourcery.com>
19818
19819 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19820 errors.
19821 (top level): Treat second token from macro or constant entries for
19822 allowed headers as allowed.
19823 * include/complex.h: Condition internal declarations on
19824 [!_ISOMAC].
19825 * include/fenv.h: Condition include of <stdbool.h> and internal
19826 declarations on [!_ISOMAC].
7447ccd9
CL
19827
198282013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19829
3e181dda 19830 [BZ #15923]
7447ccd9
CL
19831 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19832
3f2e46a4
JM
198332013-09-04 Joseph Myers <joseph@codesourcery.com>
19834
19835 * configure.in (--enable-versioning): Remove configure option.
19836 (libc_cv_asm_symver_directive): Remove configure test.
19837 (libc_cv_ld_version_script_option): Likewise.
19838 (VERSIONING): Remove variable and AC_SUBST.
19839 (DO_VERSIONING): Remove AC_DEFINE.
19840 * configure: Regenerated.
19841 * config.h.in (DO_VERSIONING): Remove macro.
19842 * Makerules [$(versioning) = yes]: Change conditionals to
19843 [$(build-shared) = yes].
19844 * config.make.in (versioning): Remove variable.
19845 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19846 [$(build-shared) = yes].
19847 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19848 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19849 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19850 [$(build-shared) = yes].
19851 * extra-lib.mk [$(versioning) = yes]: Likewise.
19852 * hurd/Makefile [$(versioning) = yes]: Likewise.
19853 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19854 [SHARED].
19855 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19856 [SHARED].
19857 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19858 [SHARED && !NO_HIDDEN].
19859 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19860 [SHARED].
19861 [SHARED && DO_VERSIONING]: Likewise..
19862 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19863 [$(build-shared) = yes].
19864 * manual/install.texi (--disable-versioning): Remove
19865 documentation.
19866 * INSTALL: Regenerated.
19867 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19868 to [SHARED].
19869 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19870 [$(build-shared) = yes].
19871 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19872 * sysdeps/i386/i686/multiarch/strstr-c.c
19873 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19874 [SHARED && !NO_HIDDEN].
19875 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19876 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19877 * sysdeps/powerpc/powerpc32/dl-machine.c
19878 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19879 * sysdeps/powerpc/powerpc32/sysdep.h
19880 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19881 to [SHARED && PIC && !NO_HIDDEN].
19882 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19883 conditional to [SHARED].
19884
44558701
WN
198852013-09-04 Will Newton <will.newton@linaro.org>
19886
19887 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19888 * benchtests/bench-string.h: Include bench-timing.h instead
19889 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19890 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19891 call to HP_TIMING_DIFF_INIT.
19892 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19893 instead of hp-timing.h macros.
19894 * benchtests/bench-memchr.c: Likewise.
19895 * benchtests/bench-memcmp.c: Likewise.
19896 * benchtests/bench-memcpy.c: Likewise.
19897 * benchtests/bench-memmem.c: Likewise.
19898 * benchtests/bench-memmove.c: Likewise.
19899 * benchtests/bench-memset.c: Likewise.
19900 * benchtests/bench-rawmemchr.c: Likewise.
19901 * benchtests/bench-strcasecmp.c: Likewise.
19902 * benchtests/bench-strcasestr.c: Likewise.
19903 * benchtests/bench-strcat.c: Likewise.
19904 * benchtests/bench-strchr.c: Likewise.
19905 * benchtests/bench-strcmp.c: Likewise.
19906 * benchtests/bench-strcpy.c: Likewise.
19907 * benchtests/bench-strcpy_chk.c: Likewise.
19908 * benchtests/bench-strlen.c: Likewise.
19909 * benchtests/bench-strncasecmp.c: Likewise.
19910 * benchtests/bench-strncat.c: Likewise.
19911 * benchtests/bench-strncmp.c: Likewise.
19912 * benchtests/bench-strncpy.c: Likewise.
19913 * benchtests/bench-strnlen.c: Likewise.
19914 * benchtests/bench-strpbrk.c: Likewise.
19915 * benchtests/bench-strrchr.c: Likewise.
19916 * benchtests/bench-strspn.c: Likewise.
19917 * benchtests/bench-strstr.c: Likewise.
19918
cae16d66
WN
199192013-09-04 Will Newton <will.newton@linaro.org>
19920
19921 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19922
ffa3cd7f
JM
199232013-09-03 Joseph Myers <joseph@codesourcery.com>
19924
19925 [BZ #15427]
19926 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19927 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19928 * math/libm-test.inc (lgamma_test_data): Add more tests.
19929 * sysdeps/i386/fpu/libm-test-ulps: Update.
19930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19931
8f02859f
OB
199322013-09-03 Ondřej Bílka <neleai@seznam.cz>
19933
19934 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19935 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19936 Add ifunc.
19937 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19938 Add strcmp-sse2-unaligned
19939 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19940
18d43716
MF
199412013-09-02 Mike Frysinger <vapier@gentoo.org>
19942
19943 * Versions.def (libc): Add GLIBC_2.19.
19944
ac444012
MF
199452013-09-02 Mike Frysinger <vapier@gentoo.org>
19946
19947 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19948 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19949
b7835e32
JM
199502013-09-02 Joseph Myers <joseph@codesourcery.com>
19951
19952 [BZ #14155]
19953 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19954 intermediate calculations in recurrence.
19955 (__ieee754_ynf): Likewise.
19956 * math/libm-test.inc (jn_test_data): Do not allow spurious
19957 underflow exception. Add more tests.
19958 (yn_test_data): Add more tests.
19959 * sysdeps/i386/fpu/libm-test-ulps: Update.
19960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19961
8220f4f0
OB
199622013-09-02 Ondřej Bílka <neleai@seznam.cz>
19963
19964 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19965
f24a6d08
OB
199662013-08-30 Ondřej Bílka <neleai@seznam.cz>
19967
19968 * csu/init-first.c: Fix then/than typos.
19969 * locale/programs/ld-collate.c: Likewise.
19970 * locale/programs/linereader.h: Likewise.
19971 * manual/charset.texi: Likewise.
19972 * manual/filesys.texi: Likewise.
19973 * manual/stdio.texi: Likewise.
19974 * manual/string.texi: Likewise.
19975 * stdlib/fmtmsg.c: Likewise.
19976 * sysdeps/i386/stpncpy.S: Likewise.
19977 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19978 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19979 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19980 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19981
382466e0
OB
199822013-08-30 Ondřej Bílka <neleai@seznam.cz>
19983
19984 * elf/dl-open.c: Fix typos.
19985 * iconvdata/gbbig5.c: Likewise.
19986 * iconvdata/iso-2022-jp.c: Likewise.
19987 * iconv/gconv_int.h: Likewise.
19988 * iconv/loop.c: Likewise.
19989 * nis/rpcsvc/nis.h: Likewise.
19990 * resolv/ns_name.c: Likewise.
19991 * stdio-common/vfscanf.c: Likewise.
19992 * streams/stropts.h: Likewise.
19993 * sunrpc/rpc_thread.c: Likewise.
19994 * sysdeps/i386/strpbrk.S: Likewise.
19995 * sysdeps/ieee754/k_standard.c: Likewise.
19996 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19997 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19998 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19999 * sysdeps/mach/hurd/profil.c: Likewise.
20000 * sysdeps/s390/dl-procinfo.h: Likewise.
20001 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20002 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20003 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20004 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20005 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20006
0186c6e9
OB
200072013-08-30 Ondřej Bílka <neleai@seznam.cz>
20008
20009 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20010 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20011
d4e16af1
OB
200122013-08-29 Ondřej Bílka <neleai@seznam.cz>
20013
20014 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20015 aix specific files.
20016 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20017 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20018 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20019 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20020 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20021 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20022 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20023 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20024
88335980
TS
200252013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20026 Roland McGrath <roland@hack.frob.com>
20027
20028 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20029 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20030
ed479b02
ST
200312013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20032
20033 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20034 __executable_start symbol instead of _start.
20035
f1cc4c86
TS
200362013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20037
d821f07c
TS
20038 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20039 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20040 Move macros to...
20041 * sysdeps/gnu/ldsodefs.h: ... this new file.
20042
c54290cf
TS
20043 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20044 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20045 instead of ELFOSABI_LINUX.
20046
0007fc9b 20047 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
20048 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20049 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20050 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20051 Likewise.
20052 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20053 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20054 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20055 Likewise.
20056 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20057 (ibm_extended_long_double): Add ieee_nan member.
20058 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20059 (do_test): New function.
20060
f1cc4c86
TS
20061 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20062 TEST_TRUNC.
20063 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20064 functions, renamed from truncdfsf_test, trunctfsf_test,
20065 trunctfdf_test.
20066 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20067 functions.
20068 (do_test): Run all these.
20069
6f65e668
OB
200702013-08-29 Ondřej Bílka <neleai@seznam.cz>
20071
20072 * argp/argp-help.c: Fix typos.
20073 * argp/argp-parse.c: Likewise.
20074 * debug/backtracesyms.c: Likewise.
20075 * elf/elf.h: Likewise.
20076 * malloc/malloc.c: Likewise.
20077 * nis/nis_print.c: Likewise.
20078 * resolv/res_comp.c: Likewise.
20079 * stdlib/stdlib.h: Likewise.
20080 * sunrpc/clnt_tcp.c: Likewise.
20081 * sunrpc/clnt_udp.c: Likewise.
20082 * sunrpc/clnt_unix.c: Likewise.
20083 * sysdeps/unix/bsd/ptsname.c: Likewise.
20084 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20085 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
20086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20087 Likewise.
20088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20089 Likewise.
20090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20091 Likewise.
6f65e668
OB
20092 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20093
3a309239
SP
200942013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20095
20096 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20098
3b813b29
MF
200992013-08-27 Mike Frysinger <vapier@gentoo.org>
20100
20101 [BZ #15897]
20102 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20103 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20104 ($(objpfx)bug-dl-leaf): New rule.
20105 ($(objpfx)bug-dl-leaf.so): Likewise.
20106 ($(objpfx)bug-dl-leaf.out): Likewise.
20107 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20108 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20109 * dlfcn/bug-dl-leaf.c: New test.
20110 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20111 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20112 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20113 (dlclose): Likewise.
20114 (dlmopen): Likewise.
20115
8cc3269f
RM
201162013-08-27 Roland McGrath <roland@hack.frob.com>
20117
7f9d0034
RM
20118 * include/netdb.h [!_ISOMAC]:
20119 Don't include <tls.h>.
20120 (h_errno, __libc_h_errno): Move declaration and macros out of
20121 [_LIBC_REENTRANT].
20122
fb431262
RM
20123 * include/resolv.h [_RESOLV_H_]:
20124 Don't include <tls.h>.
20125 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20126 * resolv/res_libc.c: Don't include <tls.h>.
20127 (_res): Use __attribute__ ((nocommon)) in place of
20128 __attribute__ ((section (".bss"))).
20129
bd81123a
RM
20130 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20131 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20132
c4e42566
RM
20133 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20134
f890a59b
RM
20135 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20136 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20137
20138 * resolv/res_mkquery.c: Include <sys/time.h>.
20139
5d1f0a09
RM
20140 * inet/ifreq.c: Moved to ...
20141 * sysdeps/unix/ifreq.c: ... here.
20142 * inet/ifreq.c: New file, true stub version.
20143
6fcf28b3
RM
20144 * socket/sa_len.c: New file.
20145 * socket/Makefile (aux): Add it.
20146 * sysdeps/unix/sysv/linux/Makefile
20147 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20148 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20149 and #include <socket/sa_len.c>.
20150 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20151 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20152
e041fb8b
RM
20153 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20154 * bits/socket.h: ... here.
20155
8cc3269f
RM
20156 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20157 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20158 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20159
5d228a43
AS
201602013-08-27 Andreas Schwab <schwab@suse.de>
20161
45b8accc
AS
20162 [BZ #15736]
20163 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20164 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20165 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20166 * string/test-strcasecmp.c (test_main): Run tests in several
20167 locales.
20168 * string/test-strncasecmp.c (test_main): Likewise.
20169
5d228a43
AS
20170 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20171 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20172 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20173 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20174 (__strncasecmp_ssse3) [PIC]: Likewise.
20175
59d112a4
RM
201762013-08-26 Roland McGrath <roland@hack.frob.com>
20177
53234cc3
RM
20178 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20179
59d112a4
RM
20180 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20181 instead of explicitly declaring xdecrypt.
20182 * nis/nss_nis/nis-publickey.c: Likewise.
20183
595aba70
SP
201842013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20185
20186 [BZ #15890]
20187 * nscd/aicache.c: Include res_hconf.h.
20188 (addhstaiX): Initialize res_hconf.
20189
ffabd393
AS
201902013-08-26 Andreas Schwab <schwab@suse.de>
20191
20192 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20193 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20194
e0a69f5c
SP
201952013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20196
20197 * nscd/aicache.c (addhstaiX): Fix indentation.
20198
8c12f01d
MF
201992013-08-25 Mike Frysinger <vapier@gentoo.org>
20200
20201 * configure.ac: Quote $build_pt_chown test.
20202 * configure: Regenerated.
20203
8fe89494
JM
202042013-08-23 Joseph Myers <joseph@codesourcery.com>
20205
20206 [BZ #15532]
20207 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20208 * math/s_cexpf.c (__cexpf): Likewise.
20209 * math/s_cexpl.c (__cexpl): Likewise.
20210 * math/libm-test.inc (cexp_test_data): Correct expected return
20211 value for NaN + i0. Add another test.
20212
75b181d6
DM
202132013-08-22 David S. Miller <davem@davemloft.net>
20214
20215 * po/ca.po: Update Catalan translation from translation project.
936241e4 20216 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 20217
acd06bb1
JM
202182013-08-21 Joseph Myers <joseph@codesourcery.com>
20219
20220 [BZ #15797]
20221 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20222 is infinite, not alongside NaN test.
20223 * math/s_fdimf.c (__fdimf): Likewise.
20224 * math/s_fdiml.c (__fdiml): Likewise.
20225 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20226 errno is unchanged.
20227
c0c3f78a
OB
202282013-08-21 Ondřej Bílka <neleai@seznam.cz>
20229
20230 * argp/argp-help.c: Fix typos.
20231 * crypt/speeds.c: Likewise.
20232 * csu/check_fds.c: Likewise.
20233 * elf/dl-load.c: Likewise.
20234 * elf/dl-open.c: Likewise.
20235 * elf/reldep3.c: Likewise.
20236 * elf/reldep.c: Likewise.
20237 * elf/sprof.c: Likewise.
20238 * iconv/iconv_charmap.c: Likewise.
20239 * iconv/skeleton.c: Likewise.
20240 * iconv/strtab.c: Likewise.
20241 * io/lockf64.c: Likewise.
20242 * libio/libioP.h: Likewise.
20243 * resolv/gai_notify.c: Likewise.
20244 * resolv/ns_name.c: Likewise.
20245 * resolv/ns_samedomain.c: Likewise.
20246 * resolv/res_send.c: Likewise.
20247 * stdlib/random.c: Likewise.
20248 * sunrpc/rpc/xdr.h: Likewise.
20249 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20250 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20251 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20252 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20253 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20254 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20255 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20256 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20257 * sysdeps/mach/hurd/check_fds.c: Likewise.
20258 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20259 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20260 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20261 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20262 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20263 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20264 * sysdeps/pthread/aio_notify.c: Likewise.
20265 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20266 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20267 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20268 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20269 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20270
46ed1038
LD
202712013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20272
20273 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20274 version if bit_Slow_SSE4_2 is set.
20275 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20276 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20277
d400dcac
AZ
202782013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20279
20280 [BZ #15867]
20281 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20282 trampoline stack frame information.
20283 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20284 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20285 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20286 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20287 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20288 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20289 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20290 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20291 sa_flags value.
20292 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20293 interrupting a syscall and set with option SA_SIGINFO.
20294
42c8fdd8
JM
202952013-08-20 Joseph Myers <joseph@codesourcery.com>
20296
c980f2f4
JM
20297 [BZ #15531]
20298 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20299 argument is infinite.
20300 * math/s_cprojf.c (__cprojf): Likewise.
20301 * math/s_cprojl.c (__cprojl): Likewise.
20302 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20303 * math/libm-test.inc (cproj_test_data): Add more tests.
20304
0716c4fc
JM
20305 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20306
42c8fdd8
JM
20307 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20308 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20309 size. Use __ffs to determine corresponding shift.
20310
b31469d0
JM
203112013-08-20 Joseph Myers <joseph@codesourcery.com>
20312 Roland McGrath <roland@hack.frob.com>
20313
20314 * Makefile (INSTALL): Remove trailing blank lines from output of
20315 makeinfo.
20316
4e39af6e
AK
203172013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20318
20319 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20320 Align 32 bit compat elf_greg to 8 bytes.
20321
f315524e
AA
203222013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20323
20324 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20325
1326ba1a
SP
203262013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20327
20328 * string/strcoll_l.c (coll_seq): New structure.
20329 (get_next_seq_cached): New function.
20330 (get_next_seq): New function.
20331 (do_compare): New function.
20332 (STRCOLL): Use GNU style definition. Simplify implementation
20333 by using get_next_seq, get_next_seq_cached and do_compare.
20334
91ce4085
FW
203352013-08-16 Florian Weimer <fweimer@redhat.com>
20336
20337 [BZ #14699]
20338 CVE-2013-4237
20339 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20340 member.
20341 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20342 member.
20343 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20344 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20345 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20346 conditional.
20347 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20348 GETDENTS_64BIT_ALIGNED.
20349 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20350 * manual/filesys.texi (Reading/Closing Directory): Document
20351 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20352 strongly.
20353 * manual/conf.texi (Limits for Files): Add portability note to
20354 NAME_MAX, PATH_MAX.
20355 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20356
ca0a6bc4
AS
203572013-08-13 Andreas Schwab <schwab@suse.de>
20358
20359 [BZ #15749]
20360 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20361 of fabs.
20362 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20363 LDBL_MAX_EXP >= 16384]: Add tests for it.
20364
6c1fd795
DM
203652013-08-12 David S. Miller <davem@davemloft.net>
20366
20367 * version.h (RELEASE): Set to "development".
20368 (VERSION): Set to "2.18.90".
20369 * NEWS: Add 2.19 section.
20370
31ad488d
DM
203712013-08-03 David S. Miller <davem@davemloft.net>
20372
20373 * po/ko.po: Update Korean translation from translation project.
20374
db24e684
DM
203752013-08-01 David S. Miller <davem@davemloft.net>
20376
20377 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20378 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20379 Bilka.
20380
f723285b
DM
203812013-07-30 David S. Miller <davem@davemloft.net>
20382
20383 * po/fr.po: Update French translation from translation project.
20384
3cbc52db
DM
203852013-07-28 David S. Miller <davem@davemloft.net>
20386
30bbc0cc
DM
20387 * po/cs.po: Update Czech translation from translation project.
20388
3cbc52db
DM
20389 * po/sv.po: Update Swedish translation from translation project.
20390
d492e6d0
DM
203912013-07-27 David S. Miller <davem@davemloft.net>
20392
f1a7f492
DM
20393 * po/eo.po: Update Esperanto translation from translation project.
20394
90e62a4a
DM
20395 * po/vi.po: Update Vietnamese translation from translation project.
20396
d492e6d0
DM
20397 * po/de.po: Update German translation from translation project.
20398
d4baa62d
DM
203992013-07-26 David S. Miller <davem@davemloft.net>
20400
641aa7b4
DM
20401 * po/bg.po: Update Bulgarian translation from translation project.
20402
d4baa62d
DM
20403 * po/nl.po: Update Dutch translation from translation project.
20404 * po/pl.po: Update Polish translation from translation project.
20405 * po/ru.po: Update Russian translation from translation project.
20406
61a9dcb9
DM
204072013-07-24 David S. Miller <davem@davemloft.net>
20408
20409 * po/libc.pot: Update.
20410
7b1f8b58
AZ
204112013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20412
20413 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20414 variable page size.
20415 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20416 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20417 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20418
a8fc7a03
AK
204192013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20420
20421 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20422
e4608715
CD
204232013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20424 Andreas Schwab <schwab@suse.de>
20425 Roland McGrath <roland@hack.frob.com>
20426 Joseph Myers <joseph@codesourcery.com>
20427 Carlos O'Donell <carlos@redhat.com>
20428
20429 [BZ #15755]
20430 * config.h.in: Define HAVE_PT_CHOWN.
20431 * config.make.in (build-pt-chown): New variable.
20432 * configure.in (--enable-pt_chown): New configure option.
20433 * configure: Regenerate.
20434 * login/Makefile: Include Makeconfig. Build pt_chown only if
20435 build-pt-chown is enabled.
20436 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20437 pt_chown to fix pty ownership.
20438 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20439 CLOSE_ALL_FDS.
20440 * manual/install.texi (Configuring and compiling): Mention
20441 --enable-pt_chown. Add @findex for grantpt.
20442 * INSTALL: Regenerate.
20443
da2d62df
DM
204442013-07-20 David S. Miller <davem@davemloft.net>
20445
20446 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20447 difference between 32-bit and 64-bit.
20448
d7e06450
CD
204492013-07-15 Carlos O'Donell <carlos@redhat.com>
20450
20451 [BZ #15711]
20452 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20453 Avoid system header dependency with -ffreestanding.
20454 ($(objpfx)bits/syscall%d): Likewise.
20455
f959cfd7
DM
204562013-07-13 David S. Miller <davem@davemloft.net>
20457
20458 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20459 underflows from atanl/atan2l due to bug 15319.
20460 (casinh_test_data): Likewise.
20461
c61f8513
DM
204622013-07-07 David S. Miller <davem@davemloft.net>
20463
20464 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20465
72c90ed0
JA
204662013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20467
20468 * sysdeps/i386/fpu/libm-test-ulps: Update.
20469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20470
52dfbe13
SP
204712013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20472
20473 * configure.in (--enable-lock-elision): Fix message text.
20474 * INSTALL: Regenerate.
20475 * configure: Regenerate.
20476
3f169543
AZ
204772013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20478
20479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20480
521c6785
AJ
204812013-07-03 Andreas Jaeger <aj@suse.de>
20482
20483 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20484 define.
20485 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20486 (ptrace_peeksiginfo_args): Add.
20487 (__ptrace_peeksiginfo_flags): Add.
20488 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20489 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20490 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20491
d2cc15cb
AM
204922013-07-03 Allan McRae <allan@archlinux.org>
20493
20494 * sysdeps/i386/fpu/libm-test-ulps: Update.
20495
3aaeeca7
DM
204962013-07-02 David S. Miller <davem@davemloft.net>
20497
20498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20499
5314ed1a
MT
205002013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20501
20502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20503
67338156
JM
205042013-07-02 Joseph Myers <joseph@codesourcery.com>
20505
20506 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20508
1717da59
AK
205092013-07-02 Andi Kleen <ak@linux.intel.com>
20510
20511 * config.h.in (ENABLE_LOCK_ELISION): Add.
20512 * configure.in (--enable-lock-elision): Add option.
20513 * manual/install.texi: Document --enable lock elision.
20514 * configure: Regenerate
20515 * INSTALL: Regenerate.
20516
1c81621c
L
205172013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20518
20519 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20520 SSE4.2 strcasecmp for libc.a.
20521 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20522
77f01ab5
JM
205232013-07-02 Joseph Myers <joseph@codesourcery.com>
20524
20525 [BZ #13304]
20526 * soft-fp/op-common.h (_FP_FMA): New macro.
20527 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20528 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20529 (_FP_MUL_MEAT_1_imm): ... here.
20530 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20531 (_FP_MUL_MEAT_1_wide): ... here.
20532 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20533 (_FP_MUL_MEAT_1_hard): ... here.
20534 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20535 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20536 (_FP_MUL_MEAT_2_wide): ... here.
20537 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20538 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20539 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20540 (_FP_MUL_MEAT_2_gmp): ... here.
20541 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20542 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20543 (_FP_MUL_MEAT_4_wide): ... here.
20544 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20545 (_FP_MUL_MEAT_4_gmp): ... here.
20546 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20547 (_FP_WFRACBITS_DW_S): Likewise.
20548 (_FP_WFRACXBITS_DW_S): Likewise.
20549 (_FP_HIGHBIT_DW_S): Likewise.
20550 (FP_FMA_S): Likewise.
20551 (_FP_FRAC_HIGH_DW_S): Likewise.
20552 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20553 (_FP_WFRACBITS_DW_D): Likewise.
20554 (_FP_WFRACXBITS_DW_D): Likewise.
20555 (_FP_HIGHBIT_DW_D): Likewise.
20556 (FP_FMA_D): Likewise.
20557 (_FP_FRAC_HIGH_DW_D): Likewise.
20558 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20559 (_FP_WFRACBITS_DW_E): Likewise.
20560 (_FP_WFRACXBITS_DW_E): Likewise.
20561 (_FP_HIGHBIT_DW_E): Likewise.
20562 (FP_FMA_E): Likewise.
20563 (_FP_FRAC_HIGH_DW_E): Likewise.
20564 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20565 (_FP_WFRACBITS_DW_Q): Likewise.
20566 (_FP_WFRACXBITS_DW_Q): Likewise.
20567 (_FP_HIGHBIT_DW_Q): Likewise.
20568 (FP_FMA_Q): Likewise.
20569 (_FP_FRAC_HIGH_DW_Q): Likewise.
20570 * soft-fp/fmasf4.c: New file.
20571 * soft-fp/fmadf4.c: Likewise.
20572 * soft-fp/fmatf4.c: Likewise.
20573
6308fd9a
LD
205742013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20575
20576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20577 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20578 Silvermont.
20579 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20580 macro.
20581 (index_Slow_SSE4_2): Likewise.
20582 (index_Prefer_PMINUB_for_stringop): Likewise.
20583 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20584 bit_Slow_SSE4_2 is set.
20585 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20586 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20587
89cd9569
RA
205882013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20589
20590 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20591 rtld_global._dl_hwcap2.
20592 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20593 POWER8.
20594 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20595 POWER8 feature descriptions defined in _dl_hwcap2.
20596 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20597 string handling for POWER8 feature bits.
20598 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20599 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20600 _dl_powerpc_cap_flags.
20601 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20602 * sysdeps/powerpc/rtld-global-offsets.sym
20603 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20604 _dl_hwcap2 in the rtld_global_ro structure.
20605
1ae8bfe0
RA
206062013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20607
20608 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20609 hardware capabilities in support of AT_HWCAP2.
20610 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20611 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20612 GLRO(dl_hwcap2).
20613 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20614 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20615 explicitly the unknown a_type display mechanism is used.
20616 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20617 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20618 struct member.
20619 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20620 to macro prototype for AT_HWCAP2 support.
20621 * sysdeps/i386/dl-procinfo.h: Likewise.
20622 * sysdeps/s390/dl-procinfo.h: Likewise.
20623 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20624 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20625 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20626 return -1 for unknown a_type display fallback.
20627 * sysdeps/sparc/dl-procinfo.h: Likewise.
20628 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20629 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20630
8fbec010
JM
206312013-06-28 Joseph Myers <joseph@codesourcery.com>
20632
20633 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20634 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20635
0432680e
PY
206362013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20637
20638 [BZ #12492]
20639 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20640 mprotect making __stack_prot writable.
20641
ce61a2ad
NF
206422013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20643 Joseph Myers <joseph@codesourcery.com>
20644
20645 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20646 as being properly aligned.
20647
f91f1c0f
MR
206482013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20649
3d0f5d0c
MR
20650 * dlfcn/modstatic5.c: New file.
20651 * dlfcn/tststatic5.c: New file.
20652 * dlfcn/Makefile (tests): Add tststatic5.
20653 (tests-static): Likewise.
20654 (modules-names): Add modstatic5.
20655 (tststatic5-ENV): New variable.
20656 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20657
f91f1c0f
MR
20658 [BZ #15022]
20659 * elf/dl-support.c (_dl_main_map): New variable.
20660 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20661 (_dl_nns, _dl_load_adds): Set to 1.
20662 (_dl_initial_searchlist): Refer to _dl_main_map.
20663 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20664 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20665 call to _dl_get_origin.
20666 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20667 around call_map.
20668 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20669 * dlfcn/modstatic3.c: New file.
20670 * dlfcn/tststatic3.c: New file.
20671 * dlfcn/tststatic4.c: New file.
20672 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20673 (tests-static): Likewise.
20674 (modules-names): Add modstatic3.
20675 (tststatic3-ENV, tststatic4-ENV): New variables.
20676 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20677 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20678
cbe7d24b
JM
206792013-06-26 Joseph Myers <joseph@codesourcery.com>
20680
20681 * configure.in (CC): Require GCC version 4.4 or later.
20682 * configure: Regenerated.
20683 * manual/install.texi (Tools for Compilation): Update GCC version
20684 requirement.
20685 * INSTALL: Regenerated.
20686
11b8a0e1
LD
206872013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20688
20689 [BZ #15674]
bb5bb87c
L
20690 * string/test-memcmp.c (check2): New.
20691 (main): Call check2.
20692
11b8a0e1
LD
20693 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20694
b0037103
MR
206952013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20696
20697 [BZ #15022]
20698 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20699 over to...
20700 (dl_open_worker) [!SHARED]: ... here.
20701
c18c701d
RA
207022013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20703
20704 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20705
1d17fa5f
RH
207062013-06-25 Richard Henderson <rth@redhat.com>
20707
20708 * locale/programs/locarchive.c: Include <libc-internal.h>
20709
8fcb833a
JM
207102013-06-25 Joseph Myers <joseph@codesourcery.com>
20711
20712 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20713 trailing whitespace removed.
20714
17db6e8d
MF
207152013-06-24 Mike Frysinger <vapier@gentoo.org>
20716
20717 [BZ #10283]
17db6e8d
MF
20718 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20719 * locale/programs/locarchive.c: Include libc-mmap.h.
20720 (prepare_address_space): Take two new outputs (the mmap base and len).
20721 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20722 values.
20723 (create_archive): Declare new mmap base and len values for
20724 prepare_address_space, and store the result in ah.
20725 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20726 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20727 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20728 Declare new mmap base and len values for
20729 prepare_address_space, and store the result in new_ah.
20730 (open_archive): Declare new mmap base and len values for
20731 prepare_address_space, and store the result in ah.
20732 (close_archive): If ah->mmap_base is not NULL, use that and
20733 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20734 * sysdeps/generic/libc-mmap.h: New file.
20735
d605071e
MF
207362013-06-24 Mike Frysinger <vapier@gentoo.org>
20737
20738 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20739 (ALIGN_UP): Likewise.
20740 (PTR_ALIGN_DOWN): Likewise.
20741 (PTR_ALIGN_UP): Likewise.
20742
2f063a6e
RA
207432013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20744
20745 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20746 entry mapped to PPC_PLATFORM_POWER8.
20747 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20748 POWER8.
20749 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20750 (_dl_string_platform): Add case for exporting platform position for
20751 POWER8.
20752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20753 search path to sysdeps/powerpc/powerpc32/power8 directory.
20754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20755 search path to sysdeps/powerpc/powerpc64/power8 directory.
20756 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20757 power7 directories.
20758 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20759 power7 directories.
20760
a31ee4b3
SP
207612013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20762
a74ca98f
SP
20763 * INSTALL: Regenerate.
20764
a31ee4b3
SP
20765 * nscd/connections.c (nscd_init): Fix comment.
20766
695c378f
JM
207672013-06-22 Joseph Myers <joseph@codesourcery.com>
20768
d8412221
JM
20769 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20770
695c378f
JM
20771 [BZ #15667]
20772 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20773 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20774
d1d54715
MR
207752013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20776
20777 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20778 DL_DST_REQ_STATIC.
20779 (DL_DST_REQ_STATIC): Remove macro.
20780
8fdda7af
JM
207812013-06-21 Joseph Myers <joseph@codesourcery.com>
20782
20783 [BZ #7006]
20784 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20785 with a shift of 0 bits.
20786
f3bc5e5a
MR
207872013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20788
20789 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20790 $(tststatic-ENV).
20791
be09e8c9
KK
207922013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20793
20794 [BZ #15655]
20795 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20796
85c2e611
AZ
207972013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20798
20799 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20800 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20801 accepts -fno-tree-loop-distribute-patterns.
20802 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20803 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20804 recursive call.
20805 * string/memset.c (memset): Likewise.
20806 * string/test-memmove.c (simple_memmove): Disable loop transformation
20807 to library calls.
20808 * string/test-memset.c (simple_memset): Likewise.
20809 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20810 * benchtests/bench-memset.c (simple_memset): Likewise.
20811 * configure: Regenerated.
20812
c91e0825
JM
208132013-06-20 Joseph Myers <joseph@codesourcery.com>
20814
b8c792af
JM
20815 * math/test-misc.c (main): Ignore fesetround failure when failures
20816 of subsequent rounding tests would be ignored.
20817
c91e0825
JM
20818 [BZ #15654]
20819 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20820 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20821 * math/fegetenv.c (__fegetenv): Return 0.
20822 * math/fegetexcept.c (fegetexcept): Return 0.
20823 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20824 FE_TONEAREST.
20825 * math/feholdexcpt.c (feholdexcept): Return 0.
20826 * math/fesetenv.c (__fesetenv): Return 0.
20827 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20828 argument FE_TONEAREST.
20829 * math/feupdateenv.c (__feupdateenv): Return 0.
20830 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20831
bfcacbde
RM
208322013-06-18 Roland McGrath <roland@hack.frob.com>
20833
20834 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20835 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20836 ($(objpfx)rtld-%.os rules): Use them.
20837
e55a9b25
AZ
208382013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20839
20840 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20841 fields.
20842
346d65b3
RM
208432013-06-17 Roland McGrath <roland@hack.frob.com>
20844
12086fb4
RM
20845 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20846 length of target pattern, then descending length of dependency pattern.
20847 * configure.in (AWK): Require gawk 3.1.2 or newer.
20848 * manual/install.texi (Tools for Compilation): Say that we do.
20849 * configure: Regenerated.
20850
346d65b3
RM
20851 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20852 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20853 * scripts/sysd-rules.awk: ... this new script.
20854 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20855 than a glob-style pattern.
20856
1a846317
JM
208572013-06-17 Joseph Myers <joseph@codesourcery.com>
20858
20859 * math/test-misc.c (main): Do not treat incorrectly rounded
20860 conversions as failure unless ROUNDING_TESTS passes.
20861
8fc75e6f
JM
208622013-06-15 Joseph Myers <joseph@codesourcery.com>
20863
3711a167
JM
20864 [BZ #15631]
20865 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20866 restore exception state around main square root computation, then
20867 check for inexactness explicitly.
20868
8fc75e6f
JM
20869 * math/libm-test.inc (fma_test_data): Add another test.
20870
61dd6208
SP
208712013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20872
adf23d2c
SP
20873 * manual/threads.texi (Non-POSIX Extensions): New document
20874 node. Document pthread_getattr_default_np and
20875 pthread_setattr_default_np.
20876
61dd6208
SP
20877 * Versions.def (libpthread): Add GLIBC_2.18.
20878 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20880 Likewise.
20881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20882 Likewise.
20883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20884 Likewise.
20885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20886 Likewise.
20887 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20888 Likewise.
20889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20890 Likewise.
20891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20892 Likewise.
20893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20894 Likewise.
20895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20896 Likewise.
20897
d086fc7b
LD
208982013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20899
20900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20901 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20902
747ef469
SP
209032013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20904 H.J. Lu <hjl.tools@gmail.com>
20905
20906 [BZ #15627]
20907 * sysdeps/x86_64/rtld-memset.c: Remove file.
20908 * sysdeps/x86_64/rtld-memset.S: New file.
20909
1b2feed2
JM
209102013-06-14 Joseph Myers <joseph@codesourcery.com>
20911
20912 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20913 (test_in_one_mode): Take arguments for whether the rounding mode
20914 is supported for each floating-point type.
20915 (do_test): Pass new arguments to test_in_one_mode using
20916 ROUNDING_TESTS.
20917
a58ad3f8
RM
209182013-06-13 Roland McGrath <roland@hack.frob.com>
20919
20920 * posix/tst-waitid.c (do_test): Distinguish different instances of
20921 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20922 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20923 before entering the kernel for waitpid.
20924
c204ab28
SP
209252013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20926
20927 * NEWS: Fix note on clock function precision. Text by Roland
20928 McGrath.
20929
f4a29fba
RM
209302013-06-13 Roland McGrath <roland@hack.frob.com>
20931
20932 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20933 it into place only when and if the sanity check passes.
20934
1f24b9ad
JM
209352013-06-13 Joseph Myers <joseph@codesourcery.com>
20936
20937 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20938 output for whether conversion result is exact. Take argument
20939 indicating whether type is IBM long double.
20940 (round_for_all): Change need_exact field to ibm_ld.
20941 * stdlib/tst-strtod-round.c (struct exactness): New type.
20942 (struct test): Change bool ld_ok field to struct exactness exact.
20943 (TEST): Update all definitions for change to field.
20944 (tests): Regenerate array contents.
20945 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20946 field value. Check for IBM long double here.
20947 (do_test): Update calls to test_in_one_mode.
20948
58206c68
SP
209492013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20950
20951 [BZ #12515]
20952 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20953 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20954
2d6f4c5b 209552013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
20956
20957 [BZ #15605]
20958 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20959 generated by the compiler on loop optimizations.
20960 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20961 general definitions.
20962
94f2c076
JM
209632013-06-12 Joseph Myers <joseph@codesourcery.com>
20964
20965 * math/bug-nextafter.c: Include <math-tests.h>.
20966 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20967 the relevant type.
20968 * math/bug-nexttoward.c: Include <math-tests.h>.
20969 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20970 the relevant type.
20971 * math/test-misc.c: Include <math-tests.h>.
20972 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20973 the relevant type.
20974
e0e50a0a
AJ
209752013-06-12 Andreas Jaeger <aj@suse.de>
20976
20977 * po/ia.po: Update Interlingua translation from translation
20978 project.
20979
25061094
SP
209802013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20981
20982 * include/fenv.h: Include stdbool.h.
20983 (struct rm_ctx): New structure.
20984 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20985 Define macro.
20986 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20987 (SET_RESTORE_ROUNDF): Likewise.
20988 (SET_RESTORE_ROUNDL): Likewise.
20989 (SET_RESTORE_ROUND_NOEX): Likewise.
20990 (SET_RESTORE_ROUND_NOEXF): Likewise.
20991 (SET_RESTORE_ROUND_NOEXL): Likewise.
20992 (SET_RESTORE_ROUND_53BIT): Likewise.
20993 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20994 (libc_feresetround_noexf_ctx): Likewise.
20995 (libc_feresetround_noexl_ctx): Likewise.
20996 (libc_feholdsetround_53bit_ctx): Likewise.
20997 (libc_feresetround_53bit_ctx): Likewise.
20998 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20999 (libc_feholdexcept_setround_sse_ctx): New function.
21000 (libc_fesetenv_sse_ctx): Likewise.
21001 (libc_feupdateenv_sse_ctx): Likewise.
21002 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21003 (libc_feholdexcept_setround_387_ctx): Likewise.
21004 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21005 (libc_feholdsetround_387_prec_ctx): Likewise.
21006 (libc_feholdsetround_387_ctx): Likewise.
21007 (libc_feholdsetround_387_53bit_ctx): Likewise.
21008 (libc_feholdsetround_sse_ctx): Likewise.
21009 (libc_feresetround_sse_ctx): Likewise.
21010 (libc_feresetround_387_ctx): Likewise.
21011 (libc_feupdateenv_387_ctx): Likewise.
21012 (libc_feholdexcept_setroundf_ctx): Define macro.
21013 (libc_fesetenvf_ctx): Likewise.
21014 (libc_feupdateenvf_ctx): Likewise.
21015 (libc_feholdsetroundf_ctx): Likewise.
21016 (libc_feresetroundf_ctx): Likewise.
21017 (libc_feholdexcept_setround_ctx): Likewise.
21018 (libc_fesetenv_ctx): Likewise.
21019 (libc_feupdateenv_ctx): Likewise.
21020 (libc_feholdsetround_ctx): Likewise.
21021 (libc_feresetround_ctx): Likewise.
21022 (libc_feholdexcept_setroundl_ctx): Likewise.
21023 (libc_feupdateenvl_ctx): Likewise.
21024 (libc_feholdsetroundl_ctx): Likewise.
21025 (libc_feresetroundl_ctx): Likewise.
21026 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21027 (libc_feresetround_53bit_ctx): Likewise.
21028
59b30555
SP
210292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21030
21031 * locale/iso-639.def: Convert to UTF-8.
21032
f1d73d30
JM
210332013-06-11 Joseph Myers <joseph@codesourcery.com>
21034
21035 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21036 (EXCEPTION_TESTS_double): Likewise.
21037 (EXCEPTION_TESTS_long_double): Likewise.
21038 (EXCEPTION_TESTS): Likewise.
21039 * math/libm-test.inc (test_exceptions): Only test exceptions if
21040 EXCEPTION_TESTS (FLOAT).
21041
94aca5e7
SP
210422013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21043
21044 * benchtests/Makefile (string-bench): Add strcpy_chk and
21045 stpcpy_chk.
21046 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21047 * benchtests/bench-stpcpy_chk.c: New file.
21048 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21049 * benchtests/bench-strcpy_chk.c: New file.
21050 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21051 code.
21052 (do_test): Likewise.
21053
fac0c5f2
RA
210542013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21055
21056 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21057 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21058 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21059 with tabs where appropriate.
21060 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21061 dl-procinfo.h.
21062 [PPC_PLATFORM_PPC440]: Likewise.
21063 [PPC_PLATFORM_PPC464]: Likewise.
21064 [PPC_PLATFORM_PPC476]: Likewise.
21065 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21066 ppc464, and ppc476 platform strings merging from ports/
21067 dl-procinfo.h.
21068
f22bc486
AS
210692013-06-11 Andreas Schwab <schwab@suse.de>
21070
21071 [BZ #14991]
21072 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21073 (from_ucs4_idx): Regenerate.
21074 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21075 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21076 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21077 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21078 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21079 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21080 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21081 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21082 from FROM_LOOP and TO_LOOP specific macros.
21083 (BODY): Handle combining characters.
21084 * iconvdata/BIG5HKSCS.irreversible: Update.
21085 * iconvdata/BIG5HKSCS.precomposed: New file.
21086 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21087 characters.
21088 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21089
c1f75dc3
SP
210902013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21091
4eacded2
SP
21092 * include/sys/time.h: Fix indentation and add copyright header.
21093
fec799f8
SP
21094 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21095 (do_test): Likewise.
21096 * string/test-memchr.c (do_one_test): Likewise.
21097 (do_test): Likewise.
21098 * string/test-memcmp.c (do_one_test): Likewise.
21099 (do_test): Likewise.
21100 * string/test-memcpy.c (do_one_test): Likewise.
21101 (do_test): Likewise.
21102 * string/test-memmem.c (do_one_test): Likewise.
21103 (do_test): Likewise.
21104 (do_random_tests): Likewise.
21105 * string/test-memmove.c (do_one_test): Likewise.
21106 (do_test): Likewise.
21107 * string/test-memset.c (do_one_test): Likewise.
21108 (do_test): Likewise.
21109 * string/test-rawmemchr.c (do_one_test): Likewise.
21110 (do_test): Likewise.
21111 * string/test-strcasecmp.c (do_one_test): Likewise.
21112 (do_test): Likewise.
21113 * string/test-strcasestr.c (do_one_test): Likewise.
21114 (do_test): Likewise.
21115 * string/test-strcat.c (do_one_test): Likewise.
21116 (do_test): Likewise.
21117 * string/test-strchr.c (do_one_test): Likewise.
21118 (do_test): Likewise.
21119 * string/test-strcmp.c (do_one_test): Likewise.
21120 (do_test): Likewise.
21121 * string/test-strcpy.c (do_one_test): Likewise.
21122 (do_test): Likewise.
21123 * string/test-string.h: Likewise.
21124 (test_init): Likewise.
21125 * string/test-strlen.c (do_one_test): Likewise.
21126 (do_test): Likewise.
21127 * string/test-strncasecmp.c (do_one_test): Likewise.
21128 (do_test): Likewise.
21129 * string/test-strncat.c (do_one_test): Likewise.
21130 (do_test): Likewise.
21131 * string/test-strncmp.c (do_one_test): Likewise.
21132 (do_test_limit): Likewise.
21133 (do_test): Likewise.
21134 * string/test-strncpy.c (do_one_test): Likewise.
21135 (do_test): Likewise.
21136 * string/test-strnlen.c (do_one_test): Likewise.
21137 (do_test): Likewise.
21138 * string/test-strpbrk.c (do_one_test): Likewise.
21139 (do_test): Likewise.
21140 * string/test-strrchr.c (do_one_test): Likewise.
21141 (do_test): Likewise.
21142 * string/test-strspn.c (do_one_test): Likewise.
21143 (do_test): Likewise.
21144 * string/test-strstr.c (do_one_test): Likewise.
21145 (do_test): Likewise.
21146
97020474
SP
21147 * benchtests/Makefile (string-bench): Add string benchmarks.
21148 * benchtests/bench-bcopy-ifunc.c: New file.
21149 * benchtests/bench-bcopy.c: New file.
21150 * benchtests/bench-bzero-ifunc.c: New file.
21151 * benchtests/bench-bzero.c: New file.
21152 * benchtests/bench-memccpy-ifunc.c: New file.
21153 * benchtests/bench-memccpy.c: New file.
21154 * benchtests/bench-memchr-ifunc.c: New file.
21155 * benchtests/bench-memchr.c: New file.
21156 * benchtests/bench-memcmp-ifunc.c: New file.
21157 * benchtests/bench-memcmp.c: New file.
21158 * benchtests/bench-memmem-ifunc.c: New file.
21159 * benchtests/bench-memmem.c: New file.
21160 * benchtests/bench-memmove-ifunc.c: New file.
21161 * benchtests/bench-memmove.c: New file.
21162 * benchtests/bench-mempcpy-ifunc.c: New file.
21163 * benchtests/bench-mempcpy.c: New file.
21164 * benchtests/bench-memset-ifunc.c: New file.
21165 * benchtests/bench-memset.c: New file.
21166 * benchtests/bench-rawmemchr-ifunc.c: New file.
21167 * benchtests/bench-rawmemchr.c: New file.
21168 * benchtests/bench-stpcpy-ifunc.c: New file.
21169 * benchtests/bench-stpcpy.c: New file.
21170 * benchtests/bench-stpncpy-ifunc.c: New file.
21171 * benchtests/bench-stpncpy.c: New file.
21172 * benchtests/bench-strcasecmp-ifunc.c: New file.
21173 * benchtests/bench-strcasecmp.c: New file.
21174 * benchtests/bench-strcasestr-ifunc.c: New file.
21175 * benchtests/bench-strcasestr.c: New file.
21176 * benchtests/bench-strcat-ifunc.c: New file.
21177 * benchtests/bench-strcat.c: New file.
21178 * benchtests/bench-strchr-ifunc.c: New file.
21179 * benchtests/bench-strchr.c: New file.
21180 * benchtests/bench-strchrnul-ifunc.c: New file.
21181 * benchtests/bench-strchrnul.c: New file.
21182 * benchtests/bench-strcmp-ifunc.c: New file.
21183 * benchtests/bench-strcmp.c: New file.
21184 * benchtests/bench-strcpy-ifunc.c: New file.
21185 * benchtests/bench-strcpy.c: New file.
21186 * benchtests/bench-strcspn-ifunc.c: New file.
21187 * benchtests/bench-strcspn.c: New file.
21188 * benchtests/bench-strlen-ifunc.c: New file.
21189 * benchtests/bench-strlen.c: New file.
21190 * benchtests/bench-strncasecmp-ifunc.c: New file.
21191 * benchtests/bench-strncasecmp.c: New file.
21192 * benchtests/bench-strncat-ifunc.c: New file.
21193 * benchtests/bench-strncat.c: New file.
21194 * benchtests/bench-strncmp-ifunc.c: New file.
21195 * benchtests/bench-strncmp.c: New file.
21196 * benchtests/bench-strncpy-ifunc.c: New file.
21197 * benchtests/bench-strncpy.c: New file.
21198 * benchtests/bench-strnlen-ifunc.c: New file.
21199 * benchtests/bench-strnlen.c: New file.
21200 * benchtests/bench-strpbrk-ifunc.c: New file.
21201 * benchtests/bench-strpbrk.c: New file.
21202 * benchtests/bench-strrchr-ifunc.c: New file.
21203 * benchtests/bench-strrchr.c: New file.
21204 * benchtests/bench-strspn-ifunc.c: New file.
21205 * benchtests/bench-strspn.c: New file.
21206 * benchtests/bench-strstr-ifunc.c: New file.
21207 * benchtests/bench-strstr.c: New file.
21208
c1f75dc3
SP
21209 * benchtests/Makefile: Disable parallel execution of targets.
21210 (string-bench): Add memcpy.
21211 (benchset): New variable to store a list of benchmark sets.
21212 (bench-func): Renamed from bench.
21213 (bench-set): New target.
21214 (bench): Depend on bench-func and bench-set.
21215 * benchtests/README: Add section on benchmark sets.
21216 * benchtests/bench-memcpy-ifunc.c: New file.
21217 * benchtests/bench-memcpy.c: New file.
21218 * benchtests/bench-string.h: New file.
21219
50fd745b
AS
212202013-06-11 Andreas Schwab <schwab@suse.de>
21221
21222 [BZ #15577]
21223 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21224 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21225 values in the triple.
21226 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21227 terminator in the group key.
21228
3ee7e9fe
AJ
212292013-06-11 Andreas Jaeger <aj@suse.de>
21230
21231 * po/zh_TW.po: Update Chinese (traditional) translation from
21232 translation project.
21233
89fb6835
SP
212342013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21235
21236 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21237 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21238 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21239 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21240 (clock_getcpuclockid): Likewise.
21241 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21242 Add weak_alias and libc_hidden_def.
21243 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21244 * rt/clock_gettime.c (clock_gettime): Rename to
21245 __clock_gettime. Add weak_alias and libc_hidden_def.
21246 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21247 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21248 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21249 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21250 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21251 Likewise.
21252 * rt/clock_settime.c (clock_settime): Rename to
21253 __clock_settime. Add weak_alias and libc_hidden_def.
21254 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21255
0efa6f8b
JM
212562013-06-10 Joseph Myers <joseph@codesourcery.com>
21257
b8c61b4b
JM
21258 * mach/err_boot.sub: Remove trailing whitespace.
21259 * mach/err_ipc.sub: Likewise.
21260 * mach/err_mach.sub: Likewise.
21261
0efa6f8b
JM
21262 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21263 (ROUNDING_TESTS_double): Likewise.
21264 (ROUNDING_TESTS_long_double): Likewise.
21265 (ROUNDING_TESTS): Likewise.
21266 * math/libm-test.inc: Include <math-tests.h>.
21267 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21268 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21269 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21270 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21271
50b818bf
SP
212722013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21273
21274 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21275 of assigning.
21276
60d2f8f3
JM
212772013-06-08 Joseph Myers <joseph@codesourcery.com>
21278
4902d2c3
JM
21279 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21280 otherwise empty TRANS lines.
21281 * sysdeps/gnu/errlist.c: Regenerated.
21282
60d2f8f3
JM
21283 * catgets/gencat.c (error_print): Use (void) in function
21284 definition.
21285 * crypt/crypt_util.c (__init_des): Likewise.
21286 * crypt/speeds.c (Stop): Likewise.
21287 (main): Likewise.
21288 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21289 * inet/ruserpass.c (token): Likewise.
21290 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21291 * intl/localealias.c (extend_alias_table): Likewise.
21292 * intl/plural-exp.c (init_germanic_plural): Likewise.
21293 * libio/fcloseall.c (__fcloseall): Likewise.
21294 * libio/genops.c (_IO_flush_all): Likewise.
21295 (_IO_flush_all_linebuffered): Likewise.
21296 (_IO_cleanup): Likewise.
21297 (_IO_iter_begin): Likewise.
21298 (_IO_iter_end): Likewise.
21299 (_IO_list_lock): Likewise.
21300 (_IO_list_unlock): Likewise.
21301 (_IO_list_resetlock): Likewise.
21302 * libio/getchar.c (getchar): Likewise.
21303 * libio/getchar_u.c (getchar_unlocked): Likewise.
21304 * libio/getwchar.c (getwchar): Likewise.
21305 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21306 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21307 * login/getpt.c (__getpt): Likewise.
21308 * login/tst-utmp.c (main): Likewise.
21309 * malloc/hooks.c (__malloc_check_init): Likewise.
21310 * malloc/malloc.c (__malloc_stats): Likewise.
21311 * malloc/mtrace.c (tr_break): Likewise.
21312 (mtrace): Likewise.
21313 (muntrace): Likewise.
21314 * misc/fstab.c (endfsent): Likewise.
21315 * misc/getclktck.c (__getclktck): Likewise.
21316 * misc/getdtsz.c (__getdtablesize): Likewise.
21317 * misc/gethostid.c (gethostid): Likewise.
21318 * misc/getpagesize.c (__getpagesize): Likewise.
21319 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21320 (__get_nprocs): Likewise.
21321 (__get_phys_pages): Likewise.
21322 (__get_avphys_pages): Likewise.
21323 * misc/getttyent.c (getttyent): Likewise.
21324 (setttyent): Likewise.
21325 (endttyent): Likewise.
21326 * misc/getusershell.c (getusershell): Likewise.
21327 (endusershell): Likewise.
21328 (setusershell): Likewise.
21329 (initshells): Likewise.
21330 * misc/hsearch.c (__hdestroy): Likewise.
21331 * misc/sync.c (sync): Likewise.
21332 * misc/syslog.c (closelog_internal): Likewise.
21333 (closelog): Likewise.
21334 * misc/ttyslot.c (ttyslot): Likewise.
21335 * misc/vhangup.c (vhangup): Likewise.
21336 * posix/fork.c (__fork): Likewise.
21337 * posix/getegid.c (__getegid): Likewise.
21338 * posix/geteuid.c (__geteuid): Likewise.
21339 * posix/getgid.c (__getgid): Likewise.
21340 * posix/getpid.c (__getpid): Likewise.
21341 * posix/getppid.c (__getppid): Likewise.
21342 * posix/getuid.c (__getuid): Likewise.
21343 * posix/pause.c (pause): Likewise.
21344 * posix/setpgrp.c (setpgrp): Likewise.
21345 * posix/setsid.c (__setsid): Likewise.
21346 * posix/test-vfork.c (noop): Likewise.
21347 * resolv/gethnamaddr.c (_endhtent): Likewise.
21348 (_gethtent): Likewise.
21349 (ht_endhostent): Likewise.
21350 (gethostent): Likewise.
21351 (dns_service): Likewise.
21352 * stdlib/drand48.c (drand48): Likewise.
21353 * stdlib/lrand48.c (lrand48): Likewise.
21354 * stdlib/mrand48.c (mrand48): Likewise.
21355 * stdlib/rand.c (rand): Likewise.
21356 * stdlib/random.c (__random): Likewise.
21357 * stdlib/setenv.c (clearenv): Likewise.
21358 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21359 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21360 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21361 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21362 (__get_nprocs): Likewise.
21363 (__get_phys_pages): Likewise.
21364 (__get_avphys_pages): Likewise.
21365 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21366 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21367 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21368 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21369 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21370 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21371 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21372 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21373 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21374 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21375 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21376 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21377 * sysdeps/posix/clock.c (clock): Likewise.
21378 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21379 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21380 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21381 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21382 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21383 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21384 (__get_nprocs_conf): Likewise.
21385 (__get_phys_pages): Likewise.
21386 (__get_avphys_pages): Likewise.
21387 * time/clock.c (clock): Likewise.
21388 * time/tzset.c (__tzname_max): Likewise.
21389
2e09a79a
JM
213902013-06-07 Joseph Myers <joseph@codesourcery.com>
21391
21392 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21393 (__bswap_32): Do not use "register".
21394 * crypt/crypt.c (_ufc_doit_r): Likewise.
21395 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21396 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21397 * gmon/gmon.c (__monstartup): Likewise.
21398 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21399 * hurd/hurdmalloc.c (more_memory): Likewise.
21400 (malloc): Likewise.
21401 (free): Likewise.
21402 (realloc): Likewise.
21403 (malloc_fork_prepare): Likewise.
21404 (malloc_fork_parent): Likewise.
21405 (malloc_fork_child): Likewise.
21406 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21407 (_svcauth_des): Likewise.
21408 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21409 * inet/inet_net.c (inet_network): Likewise.
21410 * inet/inet_netof.c (inet_netof): Likewise.
21411 * inet/rcmd.c (__validuser2_sa): Likewise.
21412 * io/fts.c (fts_open): Likewise.
21413 (fts_load): Likewise.
21414 (fts_close): Likewise.
21415 (fts_read): Likewise.
21416 (fts_children): Likewise.
21417 (fts_build): Likewise.
21418 (fts_stat): Likewise.
21419 (fts_sort): Likewise.
21420 (fts_alloc): Likewise.
21421 (fts_lfree): Likewise.
21422 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21423 (_IO_file_xsgetn): Likewise.
21424 (_IO_file_xsgetn_mmap): Likewise.
21425 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21426 (_IO_cookie_write): Likewise.
21427 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21428 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21429 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21430 * malloc/obstack.c (_obstack_begin): Likewise.
21431 (_obstack_begin_1): Likewise.
21432 (_obstack_newchunk): Likewise.
21433 (_obstack_allocated_p): Likewise.
21434 (obstack_free): Likewise.
21435 (_obstack_memory_used): Likewise.
21436 * misc/getttyent.c (getttynam): Likewise.
21437 (getttyent): Likewise.
21438 (skip): Likewise.
21439 (value): Likewise.
21440 * misc/getusershell.c (initshells): Likewise.
21441 * misc/syslog.c (__vsyslog_chk): Likewise.
21442 * misc/ttyslot.c (ttyslot): Likewise.
21443 * nis/nis_hash.c (__nis_hash): Likewise.
21444 * posix/fnmatch_loop.c (FCT): Likewise.
21445 * posix/getconf.c (print_all): Likewise.
21446 (main): Likewise.
21447 * posix/getopt.c (exchange): Likewise.
21448 * posix/glob.c (globfree): Likewise.
21449 (prefix_array): Likewise.
21450 (__glob_pattern_type): Likewise.
21451 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21452 (NS_GET32): Likewise.
21453 (NS_PUT16): Likewise.
21454 (NS_PUT32): Likewise.
21455 * resolv/gethnamaddr.c (getanswer): Likewise.
21456 (gethostbyname2): Likewise.
21457 (gethostbyaddr): Likewise.
21458 (_gethtent): Likewise.
21459 (_gethtbyname2): Likewise.
21460 (_gethtbyaddr): Likewise.
21461 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21462 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21463 * resolv/res_init.c (__res_vinit): Likewise.
21464 (net_mask): Likewise.
21465 * resolv/res_mkquery.c (outchar): Likewise.
21466 (PRINT): Likewise.
21467 * stdio-common/printf_fp.c (outchar): Likewise.
21468 (PRINT): Likewise.
21469 * stdio-common/printf_fphex.c (outchar): Likewise.
21470 (PRINT): Likewise.
21471 * stdio-common/printf_size.c (outchar): Likewise.
21472 (PRINT): Likewise.
21473 * stdio-common/test_rdwr.c (main): Likewise.
21474 * stdio-common/tfformat.c (matches): Likewise.
21475 * stdio-common/vfprintf.c (outchar): Likewise.
21476 (printf_unknown): Likewise.
21477 (buffered_vfprintf): Likewise.
21478 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21479 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21480 (ReadFile): Likewise.
21481 * stdlib/qsort.c (SWAP): Likewise.
21482 (_quicksort): Likewise.
21483 * stdlib/setenv.c (__add_to_environ): Likewise.
21484 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21485 * stdlib/strtol_l.c (__strtol_l): Likewise.
21486 * stdlib/tst-strtod.c (main): Likewise.
21487 * stdlib/tst-strtol.c (main): Likewise.
21488 * stdlib/tst-strtoll.c (main): Likewise.
21489 * string/bits/string2.h (__strcmp_cc): Likewise.
21490 (__strcmp_cg): Likewise.
21491 (__strcspn_c1): Likewise.
21492 (__strcspn_c2): Likewise.
21493 (__strcspn_c3): Likewise.
21494 (__strspn_c1): Likewise.
21495 (__strspn_c2): Likewise.
21496 (__strspn_c3): Likewise.
21497 (__strsep_1c): Likewise.
21498 (__strsep_2c): Likewise.
21499 (__strsep_3c): Likewise.
21500 * string/memccpy.c (__memccpy): Likewise.
21501 * string/stpcpy.c (__stpcpy): Likewise.
21502 * string/strcmp.c (strcmp): Likewise.
21503 * string/strrchr.c (strrchr): Likewise.
21504 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21505 Likewise.
21506 * sysdeps/mach/hurd/getcwd.c
21507 (_hurd_canonicalize_directory_name_internal): Likewise.
21508 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21509 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21510 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21511 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21512 Likewise, in both definitions.
21513 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21514 definitions.
21515 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21516 64] (__bswap_64): Likewise.
21517 * time/test_time.c (main): Likewise.
21518 * time/tzfile.c (__tzfile_read): Likewise.
21519 (__tzfile_compute): Likewise.
21520 * time/tzset.c (__tzset_parse_tz): Likewise.
21521 (tzset_internal): Likewise.
21522 (compute_change): Likewise.
21523 * wcsmbs/wcscat.c (__wcscat): Likewise.
21524 * wcsmbs/wcschr.c (wcschr): Likewise.
21525 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21526 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21527 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21528 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21529 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21530 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21531 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21532 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21533 * wcsmbs/wmemset.c (wmemset): Likewise.
21534
9e54314b
JM
215352013-06-06 Joseph Myers <joseph@codesourcery.com>
21536
21537 * scripts/config.guess: Update to version 2013-05-16.
21538 * scripts/config.sub: Update to version 2013-04-24.
21539 * scripts/install-sh: Update to version 2011-11-20.07.
21540 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21541 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21542
350635a5
OB
215432013-06-06 Ondřej Bílka <neleai@seznam.cz>
21544
21545 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21546 * elf/sln.c: Likewise.
21547 * hurd/hurd/ioctl.h: Likewise.
21548 * hurd/hurdmalloc.c: Likewise.
21549 * hurd/xattr.c: Likewise.
21550 * include/shlib-compat.h: Likewise.
21551 * inet/ruserpass.c: Likewise.
21552 * libio/iofgets_u.c: Likewise.
21553 * libio/iofgetws_u.c: Likewise.
21554 * locale/programs/ld-identification.c: Likewise.
21555 * locale/programs/ld-time.c: Likewise.
21556 * mach/msg-destroy.c: Likewise.
21557 * nss/nss_files/files-netgrp.c: Likewise.
21558 * resolv/res_data.c: Likewise.
21559 * soft-fp/op-1.h: Likewise.
21560 * soft-fp/op-2.h: Likewise.
21561 * soft-fp/op-4.h: Likewise.
21562 * soft-fp/op-common.h: Likewise.
21563 * stdio-common/printf_fphex.c: Likewise.
21564 * stdlib/strtod_l.c: Likewise.
21565 * sunrpc/rpc/clnt.h: Likewise.
21566 * sysdeps/generic/framestate.c: Likewise.
21567 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21568 * sysdeps/i386/bsd-setjmp.S: Likewise.
21569 * sysdeps/i386/__longjmp.S: Likewise.
21570 * sysdeps/i386/setjmp.S: Likewise.
21571 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21572 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21573 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21574 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21575 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21576 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21577 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21578 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21579 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21580 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21581 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21582 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21583 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21584 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21585 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21586 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21587 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21588 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21589 * sysdeps/ieee754/support.c: Likewise.
21590 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21591 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21592 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21593 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21594 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21595 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21596 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21597 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21598 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21599 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21600 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21601 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21602 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21603 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21604 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21605 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21606 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21608
44a988af
OB
216092013-06-05 Ondřej Bílka <neleai@seznam.cz>
21610
25506f09 21611 * posix/transbug.c: Remove executable mode.
44a988af 21612
9c84384c
JM
216132013-06-05 Joseph Myers <joseph@codesourcery.com>
21614
21615 * crypt/speeds.c: Remove trailing whitespace.
21616 * dlfcn/default.c: Likewise.
21617 * elf/ifuncdep2.c: Likewise.
21618 * elf/ifuncmain1.c: Likewise.
21619 * elf/ifuncmain1vis.c: Likewise.
21620 * elf/testobj.h: Likewise.
21621 * elf/tst-stackguard1.c: Likewise.
21622 * gmon/sys/gmon.h: Likewise.
21623 * hurd/hurdmsg.c: Likewise.
21624 * hurd/new-fd.c: Likewise.
21625 * hurd/ports-get.c: Likewise.
21626 * iconvdata/ibm1008_420.c: Likewise.
21627 * inet/tst-getni1.c: Likewise.
21628 * inet/tst-getni2.c: Likewise.
21629 * libio/ioungetc.c: Likewise.
21630 * libio/wfiledoalloc.c: Likewise.
21631 * manual/libm-err-tab.pl: Likewise.
21632 * math/w_dremf.c: Likewise.
21633 * misc/ftruncate.c: Likewise.
21634 * posix/bug-glob2.c: Likewise.
21635 * posix/tst-pcre.c: Likewise.
21636 * posix/wait4.c: Likewise.
21637 * resolv/README: Likewise.
21638 * resolv/res_debug.h: Likewise.
21639 * resolv/tst-inet_ntop.c: Likewise.
21640 * setjmp/bug269-setjmp.c: Likewise.
21641 * soft-fp/extended.h: Likewise.
21642 * soft-fp/op-1.h: Likewise.
21643 * soft-fp/op-2.h: Likewise.
21644 * soft-fp/op-4.h: Likewise.
21645 * soft-fp/op-8.h: Likewise.
21646 * soft-fp/testit.c: Likewise.
21647 * stdio-common/bug16.c: Likewise.
21648 * stdlib/random.c: Likewise.
21649 * sunrpc/rpcsvc/rquota.x: Likewise.
21650 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21651 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21652 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21653 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21654 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21655 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21656 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21657 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21658 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21659 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21660 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21661 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21662 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21663 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21664 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21665 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21666 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21667 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21668 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21669 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21670 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21671 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21672 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21673 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21674 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21675 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21676 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21677 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21678 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21679 * sysdeps/ieee754/s_lib_version.c: Likewise.
21680 * sysdeps/mach/hurd/check_fds.c: Likewise.
21681 * sysdeps/mach/hurd/getsockname.c: Likewise.
21682 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21683 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21684 * sysdeps/powerpc/bits/link.h: Likewise.
21685 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21686 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21687 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21688 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21689 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21690 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21691 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21692 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21693 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21694 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21695 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21696 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21697 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21698 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21699 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21700 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21701 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21702 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21703 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21704 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21705 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21706 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21707 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21708 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21709 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21710 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21711 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21712 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21713 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21714 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21715 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21716 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21717 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21718 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21719 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21720 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21721 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21722 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21723 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21724 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21725 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21726 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21727 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21728 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21729 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21730 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21731 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21732 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21733 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21734 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21735 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21736 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21737 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21738 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21739 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21740 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21741 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21742 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21743 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21744 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21745 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21746 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21747 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21748 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21749 * sysdeps/powerpc/sysdep.h: Likewise.
21750 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21751 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21752 * sysdeps/sh/dl-trampoline.S: Likewise.
21753 * sysdeps/sh/memset.S: Likewise.
21754 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21755 * sysdeps/sh/strlen.S: Likewise.
21756 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21757 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21758 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21759 * sysdeps/sparc/sparc32/rem.S: Likewise.
21760 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21761 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21762 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21763 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21764 * sysdeps/sparc/sparc32/urem.S: Likewise.
21765 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21766 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21767 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21768 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21769 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21770 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21771 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21772 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21773 * sysdeps/unix/bsd/times.c: Likewise.
21774 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21775 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21779 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21780 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21781 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21782 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21783 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21784 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21785 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21786 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21787 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21788 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21789 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21790 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21791 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21792 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21793 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21794 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21795 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21796 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21797 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21798 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21799 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21800 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21801 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21802 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21803 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21804 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21805 * sysdeps/x86_64/strcspn.S: Likewise.
21806
869378a5
RA
218072013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21808
21809 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21810 generated file. Regenerate properly from gen-translit.pl.
21811 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21812 locale/C-translit.h.
21813
840e2943
AS
218142013-06-05 Andreas Schwab <schwab@suse.de>
21815
21816 [BZ #15100]
21817 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21818 week as 6 instead of -1.
21819 * time/tst-strptime.c (day_tests): Add test case.
21820
4c60cb0c
SP
218212013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21822
21823 * sysdeps/generic/math_private.h
21824 (libc_feholdexcept_setround_53bit): Replace with
21825 libc_feholdsetround_53bit.
21826 (libc_feupdateenv_53bit): Replace with
21827 libc_feresetround_53bit.
21828 (SET_RESTORE_ROUND_53BIT): Adjust.
21829
d180203e
SP
218302013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21831
96df079a
SP
21832 * string/test-strchrnul.c: Add copyright header.
21833
d180203e
SP
21834 * posix/tst-getaddrinfo4.c: Increase test timeout.
21835
8b0ccb2d
CD
218362013-06-03 Carlos O'Donell <carlos@redhat.com>
21837
21838 [BZ #15536]
21839 * math/libm-test.inc (MAX_EXP): Remove
21840 (MIN_EXP): Define.
21841 (ulp): Use MIN_EXP - MANT_DIG.
21842 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21843
3b3c4d40
CD
218442013-05-31 Carlos O'Donell <carlos@redhat.com>
21845
21846 * po/be.po: Revert last change.
21847 * po/zh_CN.po: Likewise.
21848 * po/header.pot: Likewise.
21849
fab7ce3f
JM
218502013-05-31 Joseph Myers <joseph@codesourcery.com>
21851
21852 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21853 link-libc-deps to empty as target-specific variable.
21854 * Makerules (link-libc-args): New variable.
21855 (libc-for-link): Likewise.
21856 (link-libc-deps): Likewise.
21857 (lib%.so): Depend on $(link-libc-deps). Link with
21858 $(link-libc-args).
21859 (build-module): Link with $(link-libc-args).
21860 (build-module-asneeded): Likewise.
21861 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21862 list of objects.
21863 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21864 target-specific variable.
21865 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21866 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21867 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21868 libc.
21869 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21870 libc and ld.so.
21871 ($(objpfx)libpcprofile.so): Likewise.
21872 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21873 libc_nonshared.a.
21874 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21875 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21876 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21877 $(link-libc-deps).
21878 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21879 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21880 * login/Makefile ($(objpfx)libutil.so): Likewise.
21881 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21882 * math/Makefile ($(objpfx)libm.so): Likewise.
21883 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21884 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21885 variable instead of depending directly on libc.
21886 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21887 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21888 $(link-libc-deps).
21889 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21890 libc.
21891 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21892 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21893 ($(objpfx)libanl.so): Likewise.
21894 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21895 ld.so.
21896 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21897 $(link-libc-deps).
21898 * sysdeps/i386/fpu/Makefile: Remove file.
21899 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21900 ($(objpfx)libm.so): Remove dependency on ld.so.
21901
eca5920c
PF
219022013-05-30 Patsy Franklin <pfrankli@redhat.com>
21903
21904 [BZ # 15553]
21905 * nis/yp_xdr.c (XDRMAXNAME): Define.
21906 (XDRMAXRECORD): Define.
21907 (xdr_domainname): Use XDRMAXNAME.
21908 (xdr_mapname): Likewise.
21909 (xdr_peername): Likewise.
21910 (xdr_keydat): Use XDRMAXRECORD.
21911 (xdr_valdat): Likewise.
21912
219132013-05-30 Jeff Law <law@redhat.com>
96945714
JL
21914
21915 [BZ #14256]
21916 * manual/errno.texi (ESTALE): Update to account for more than
21917 just NFS file systems.
21918 * sysdeps/gnu/errlist.c: Regenerated.
21919
b9375348
SP
219202013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21921
21922 [BZ #15465]
21923 * elf/Makefile (tests): Add tst-null-argv.
21924 (modules-names): Add tst-null-argv-lib.
21925 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21926 (tst-null-argv-ENV): Set environment for tst-null-argv.
21927 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21928 (RTLD_PROGNAME): New macro.
21929 * elf/tst-null-argv.c: New test case.
21930 * elf/tst-null-argv-lib.c: Library for test case.
21931 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21932 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21933 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21934 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21935 * elf/dl-init.c (call_init): Likewise.
21936 (_dl_init): Likewise.
21937 * elf/dl-load.c (print_search_path): Likewise.
21938 (_dl_map_object): Likewise.
21939 * elf/dl-lookup.c (do_lookup_x): Likewise.
21940 (add_dependency): Likewise.
21941 (_dl_lookup_symbol_x): Likewise.
21942 (_dl_debug_bindings): Likewise.
21943 * elf/dl-open.c (_dl_show_scope): Likewise.
21944 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21945 * elf/dl-version.c (match_symbol): Likewise.
21946 (_dl_check_map_versions): Likewise.
21947 * elf/rtld.c (dl_main): Likewise.
21948 (print_unresolved): Use RTLD_PROGNAME.
21949 (print_missing_version): Likewise.
21950 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21951 (elf_machine_rela): Likewise.
21952 * sysdeps/powerpc/powerpc32/dl-machine.c
21953 (__process_machine_rela): Likewise.
21954 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21955 Likewise.
21956 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21957 Likewise.
21958 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21959 Likewise.
21960 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21961 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21962 Likewise.
21963 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21964 Likewise.
21965 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21966
8a9f20c8
CD
219672013-05-28 Carlos O'Donell <carlos@redhat.com>
21968
21969 * po/be.po: Add descriptive title.
21970 * po/zh_CN.po: Likewise.
21971 * po/header.pot: Likewise.
21972
0e60d68e
MF
219732013-05-28 Mike Frysinger <vapier@gentoo.org>
21974
21975 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21976 error message.
21977 (enlarge_archive): Likewise.
21978
56b672e9
BN
219792013-05-28 Ben North <ben@redfrontdoor.org>
21980
21981 * manual/arith.texi (frexp): It is the magnitude of the return
21982 value which lies in [0.5, 1), not the return value itself.
21983
5e056687
AZ
219842013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21985
21986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21987
2b66ef5d
TS
219882013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21989
528c2405
TS
21990 * stdio-common/bug26.c (main): Correct fscanf template.
21991
07b4c13d
TS
21992 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21993 declare _dl_skip_args.
21994
ec9dd97c
TS
21995 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21996 Don't declare.
21997
2b66ef5d
TS
21998 * manual/platform.texi: Add missing @end deftypefun.
21999
4f8dfe27
JM
220002013-05-24 Joseph Myers <joseph@codesourcery.com>
22001
0323d086
JM
22002 [BZ #15529]
22003 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22004 bit of mantissa of 2^16382.
22005 * math/libm-test.inc (hypot_test_data): Add more tests.
22006
dd4259b9
JM
22007 * math/libm-test.inc: Add drem and pow10 to list of tested
22008 functions.
22009 (pow10_test): New function.
22010 (drem_test): Likewise.
22011 (drem_test_tonearest): Likewise.
22012 (drem_test_towardzero): Likewise.
22013 (drem_test_downward): Likewise.
22014 (drem_test_upward): Likewise.
22015 (main): Call the new functions.
22016
4f8dfe27
JM
22017 * math/libm-test.inc (finite_test_data): Remove.
22018 (finite_test): Run tests from isfinite_test_data.
22019 (gamma_test_data): Remove.
22020 (gamma_test): Run tests from lgamma_test_data.
22021 * sysdeps/i386/fpu/libm-test-ulps: Update.
22022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22023
d116b7c4
AZ
220242013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22025
22026 * manual/platform.texi: Add PowerPC PPR function set documentation.
22027 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22028 implementation.
22029
e96e3767
CD
220302013-05-24 Carlos O'Donell <carlos@redhat.com>
22031
22032 * math/libm-test.inc (MAX_EXP): Define.
22033 (ULPDIFF): Define.
22034 (ulp): New function.
22035 (check_float_internal): Use ULPDIFF.
22036 (cpow_test): Disable failing test.
22037 (check_ulp): Test ulp() implemetnation.
22038 (main): Call check_ulp before starting tests.
22039
b679a606
JM
220402013-05-24 Joseph Myers <joseph@codesourcery.com>
22041
e8bdba36
JM
22042 * math/gen-libm-test.pl (generate_testfile): Do not handle
22043 START_DATA and END_DATA.
22044 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22045 END_DATA.
22046 (acos_tonearest_test_data): Likewise.
22047 (acos_towardzero_test_data): Likewise.
22048 (acos_downward_test_data): Likewise.
22049 (acos_upward_test_data): Likewise.
22050 (acosh_test_data): Likewise.
22051 (asin_test_data): Likewise.
22052 (asin_tonearest_test_data): Likewise.
22053 (asin_towardzero_test_data): Likewise.
22054 (asin_downward_test_data): Likewise.
22055 (asin_upward_test_data): Likewise.
22056 (asinh_test_data): Likewise.
22057 (atan_test_data): Likewise.
22058 (atanh_test_data): Likewise.
22059 (atan2_test_data): Likewise.
22060 (cabs_test_data): Likewise.
22061 (cacos_test_data): Likewise.
22062 (cacosh_test_data): Likewise.
22063 (carg_test_data): Likewise.
22064 (casin_test_data): Likewise.
22065 (casinh_test_data): Likewise.
22066 (catan_test_data): Likewise.
22067 (catanh_test_data): Likewise.
22068 (cbrt_test_data): Likewise.
22069 (ccos_test_data): Likewise.
22070 (ccosh_test_data): Likewise.
22071 (ceil_test_data): Likewise.
22072 (cexp_test_data): Likewise.
22073 (cimag_test_data): Likewise.
22074 (clog_test_data): Likewise.
22075 (clog10_test_data): Likewise.
22076 (conj_test_data): Likewise.
22077 (copysign_test_data): Likewise.
22078 (cos_test_data): Likewise.
22079 (cos_tonearest_test_data): Likewise.
22080 (cos_towardzero_test_data): Likewise.
22081 (cos_downward_test_data): Likewise.
22082 (cos_upward_test_data): Likewise.
22083 (cosh_test_data): Likewise.
22084 (cosh_tonearest_test_data): Likewise.
22085 (cosh_towardzero_test_data): Likewise.
22086 (cosh_downward_test_data): Likewise.
22087 (cosh_upward_test_data): Likewise.
22088 (cpow_test_data): Likewise.
22089 (cproj_test_data): Likewise.
22090 (creal_test_data): Likewise.
22091 (csin_test_data): Likewise.
22092 (csinh_test_data): Likewise.
22093 (csqrt_test_data): Likewise.
22094 (ctan_test_data): Likewise.
22095 (ctan_tonearest_test_data): Likewise.
22096 (ctan_towardzero_test_data): Likewise.
22097 (ctan_downward_test_data): Likewise.
22098 (ctan_upward_test_data): Likewise.
22099 (ctanh_test_data): Likewise.
22100 (ctanh_tonearest_test_data): Likewise.
22101 (ctanh_towardzero_test_data): Likewise.
22102 (ctanh_downward_test_data): Likewise.
22103 (ctanh_upward_test_data): Likewise.
22104 (erf_test_data): Likewise.
22105 (erfc_test_data): Likewise.
22106 (exp_test_data): Likewise.
22107 (exp_tonearest_test_data): Likewise.
22108 (exp_towardzero_test_data): Likewise.
22109 (exp_downward_test_data): Likewise.
22110 (exp_upward_test_data): Likewise.
22111 (exp10_test_data): Likewise.
22112 (exp2_test_data): Likewise.
22113 (expm1_test_data): Likewise.
22114 (fabs_test_data): Likewise.
22115 (fdim_test_data): Likewise.
22116 (finite_test_data): Likewise.
22117 (floor_test_data): Likewise.
22118 (fma_test_data): Likewise.
22119 (fma_towardzero_test_data): Likewise.
22120 (fma_downward_test_data): Likewise.
22121 (fma_upward_test_data): Likewise.
22122 (fmax_test_data): Likewise.
22123 (fmin_test_data): Likewise.
22124 (fmod_test_data): Likewise.
22125 (fpclassify_test_data): Likewise.
22126 (frexp_test_data): Likewise.
22127 (gamma_test_data): Likewise.
22128 (hypot_test_data): Likewise.
22129 (ilogb_test_data): Likewise.
22130 (isfinite_test_data): Likewise.
22131 (isgreater_test_data): Likewise.
22132 (isgreaterequal_test_data): Likewise.
22133 (isinf_test_data): Likewise.
22134 (isless_test_data): Likewise.
22135 (islessequal_test_data): Likewise.
22136 (islessgreater_test_data): Likewise.
22137 (isnan_test_data): Likewise.
22138 (isnormal_test_data): Likewise.
22139 (issignaling_test_data): Likewise.
22140 (isunordered_test_data): Likewise.
22141 (j0_test_data): Likewise.
22142 (j1_test_data): Likewise.
22143 (jn_test_data): Likewise.
22144 (ldexp_test_data): Likewise.
22145 (lgamma_test_data): Likewise.
22146 (lrint_test_data): Likewise.
22147 (lrint_tonearest_test_data): Likewise.
22148 (lrint_towardzero_test_data): Likewise.
22149 (lrint_downward_test_data): Likewise.
22150 (lrint_upward_test_data): Likewise.
22151 (llrint_test_data): Likewise.
22152 (llrint_tonearest_test_data): Likewise.
22153 (llrint_towardzero_test_data): Likewise.
22154 (llrint_downward_test_data): Likewise.
22155 (llrint_upward_test_data): Likewise.
22156 (log_test_data): Likewise.
22157 (log10_test_data): Likewise.
22158 (log1p_test_data): Likewise.
22159 (log2_test_data): Likewise.
22160 (logb_test_data): Likewise.
22161 (logb_downward_test_data): Likewise.
22162 (lround_test_data): Likewise.
22163 (llround_test_data): Likewise.
22164 (modf_test_data): Likewise.
22165 (nearbyint_test_data): Likewise.
22166 (nextafter_test_data): Likewise.
22167 (nexttoward_test_data): Likewise.
22168 (pow_test_data): Likewise.
22169 (pow_tonearest_test_data): Likewise.
22170 (pow_towardzero_test_data): Likewise.
22171 (pow_downward_test_data): Likewise.
22172 (pow_upward_test_data): Likewise.
22173 (remainder_test_data): Likewise.
22174 (remainder_tonearest_test_data): Likewise.
22175 (remainder_towardzero_test_data): Likewise.
22176 (remainder_downward_test_data): Likewise.
22177 (remainder_upward_test_data): Likewise.
22178 (remquo_test_data): Likewise.
22179 (rint_test_data): Likewise.
22180 (rint_tonearest_test_data): Likewise.
22181 (rint_towardzero_test_data): Likewise.
22182 (rint_downward_test_data): Likewise.
22183 (rint_upward_test_data): Likewise.
22184 (round_test_data): Likewise.
22185 (scalb_test_data): Likewise.
22186 (scalbn_test_data): Likewise.
22187 (scalbln_test_data): Likewise.
22188 (signbit_test_data): Likewise.
22189 (sin_test_data): Likewise.
22190 (sin_tonearest_test_data): Likewise.
22191 (sin_towardzero_test_data): Likewise.
22192 (sin_downward_test_data): Likewise.
22193 (sin_upward_test_data): Likewise.
22194 (sincos_test_data): Likewise.
22195 (sinh_test_data): Likewise.
22196 (sinh_tonearest_test_data): Likewise.
22197 (sinh_towardzero_test_data): Likewise.
22198 (sinh_downward_test_data): Likewise.
22199 (sinh_upward_test_data): Likewise.
22200 (sqrt_test_data): Likewise.
22201 (tan_test_data): Likewise.
22202 (tan_tonearest_test_data): Likewise.
22203 (tan_towardzero_test_data): Likewise.
22204 (tan_downward_test_data): Likewise.
22205 (tan_upward_test_data): Likewise.
22206 (tanh_test_data): Likewise.
22207 (tgamma_test_data): Likewise.
22208 (trunc_test_data): Likewise.
22209 (y0_test_data): Likewise.
22210 (y1_test_data): Likewise.
22211 (yn_test_data): Likewise.
22212 (significand_test_data): Likewise.
22213
b679a606
JM
22214 * math/gen-libm-test.pl (@functions): Remove variable.
22215 (generate_testfile): Don't handle START and END lines.
22216 * math/libm-test.inc (START): New macro.
22217 (END): Likewise.
22218 (END_COMPLEX): Likewise.
22219 (acos_test): Use END macro without arguments.
22220 (acos_test_tonearest): Likewise.
22221 (acos_test_towardzero): Likewise.
22222 (acos_test_downward): Likewise.
22223 (acos_test_upward): Likewise.
22224 (acosh_test): Likewise.
22225 (asin_test): Likewise.
22226 (asin_test_tonearest): Likewise.
22227 (asin_test_towardzero): Likewise.
22228 (asin_test_downward): Likewise.
22229 (asin_test_upward): Likewise.
22230 (asinh_test): Likewise.
22231 (atan_test): Likewise.
22232 (atanh_test): Likewise.
22233 (atan2_test): Likewise.
22234 (cabs_test): Likewise.
22235 (cacos_test): Use END_COMPLEX macro without arguments.
22236 (cacosh_test): Likewise.
22237 (carg_test): Use END macro without arguments.
22238 (casin_test): Use END_COMPLEX macro without arguments.
22239 (casinh_test): Likewise.
22240 (catan_test): Likewise.
22241 (catanh_test): Likewise.
22242 (cbrt_test): Use END macro without arguments.
22243 (ccos_test): Use END_COMPLEX macro without arguments.
22244 (ccosh_test): Likewise.
22245 (ceil_test): Use END macro without arguments.
22246 (cexp_test): Use END_COMPLEX macro without arguments.
22247 (cimag_test): Use END macro without arguments.
22248 (clog_test): Use END_COMPLEX macro without arguments.
22249 (clog10_test): Likewise.
22250 (conj_test): Likewise.
22251 (copysign_test): Use END macro without arguments.
22252 (cos_test): Likewise.
22253 (cos_test_tonearest): Likewise.
22254 (cos_test_towardzero): Likewise.
22255 (cos_test_downward): Likewise.
22256 (cos_test_upward): Likewise.
22257 (cosh_test): Likewise.
22258 (cosh_test_tonearest): Likewise.
22259 (cosh_test_towardzero): Likewise.
22260 (cosh_test_downward): Likewise.
22261 (cosh_test_upward): Likewise.
22262 (cpow_test): Use END_COMPLEX macro without arguments.
22263 (cproj_test): Likewise.
22264 (creal_test): Use END macro without arguments.
22265 (csin_test): Use END_COMPLEX macro without arguments.
22266 (csinh_test): Likewise.
22267 (csqrt_test): Likewise.
22268 (ctan_test): Likewise.
22269 (ctan_test_tonearest): Likewise.
22270 (ctan_test_towardzero): Likewise.
22271 (ctan_test_downward): Likewise.
22272 (ctan_test_upward): Likewise.
22273 (ctanh_test): Likewise.
22274 (ctanh_test_tonearest): Likewise.
22275 (ctanh_test_towardzero): Likewise.
22276 (ctanh_test_downward): Likewise.
22277 (ctanh_test_upward): Likewise.
22278 (erf_test): Use END macro without arguments.
22279 (erfc_test): Likewise.
22280 (exp_test): Likewise.
22281 (exp_test_tonearest): Likewise.
22282 (exp_test_towardzero): Likewise.
22283 (exp_test_downward): Likewise.
22284 (exp_test_upward): Likewise.
22285 (exp10_test): Likewise.
22286 (exp2_test): Likewise.
22287 (expm1_test): Likewise.
22288 (fabs_test): Likewise.
22289 (fdim_test): Likewise.
22290 (finite_test): Likewise.
22291 (floor_test): Likewise.
22292 (fma_test): Likewise.
22293 (fma_test_towardzero): Likewise.
22294 (fma_test_downward): Likewise.
22295 (fma_test_upward): Likewise.
22296 (fmax_test): Likewise.
22297 (fmin_test): Likewise.
22298 (fmod_test): Likewise.
22299 (fpclassify_test): Likewise.
22300 (frexp_test): Likewise.
22301 (gamma_test): Likewise.
22302 (hypot_test): Likewise.
22303 (ilogb_test): Likewise.
22304 (isfinite_test): Likewise.
22305 (isgreater_test): Likewise.
22306 (isgreaterequal_test): Likewise.
22307 (isinf_test): Likewise.
22308 (isless_test): Likewise.
22309 (islessequal_test): Likewise.
22310 (islessgreater_test): Likewise.
22311 (isnan_test): Likewise.
22312 (isnormal_test): Likewise.
22313 (issignaling_test): Likewise.
22314 (isunordered_test): Likewise.
22315 (j0_test): Likewise.
22316 (j1_test): Likewise.
22317 (jn_test): Likewise.
22318 (ldexp_test): Likewise.
22319 (lgamma_test): Likewise.
22320 (lrint_test): Likewise.
22321 (lrint_test_tonearest): Likewise.
22322 (lrint_test_towardzero): Likewise.
22323 (lrint_test_downward): Likewise.
22324 (lrint_test_upward): Likewise.
22325 (llrint_test): Likewise.
22326 (llrint_test_tonearest): Likewise.
22327 (llrint_test_towardzero): Likewise.
22328 (llrint_test_downward): Likewise.
22329 (llrint_test_upward): Likewise.
22330 (log_test): Likewise.
22331 (log10_test): Likewise.
22332 (log1p_test): Likewise.
22333 (log2_test): Likewise.
22334 (logb_test): Likewise.
22335 (logb_test_downward): Likewise.
22336 (lround_test): Likewise.
22337 (llround_test): Likewise.
22338 (modf_test): Likewise.
22339 (nearbyint_test): Likewise.
22340 (nextafter_test): Likewise.
22341 (nexttoward_test): Likewise.
22342 (pow_test): Likewise.
22343 (pow_test_tonearest): Likewise.
22344 (pow_test_towardzero): Likewise.
22345 (pow_test_downward): Likewise.
22346 (pow_test_upward): Likewise.
22347 (remainder_test): Likewise.
22348 (remainder_test_tonearest): Likewise.
22349 (remainder_test_towardzero): Likewise.
22350 (remainder_test_downward): Likewise.
22351 (remainder_test_upward): Likewise.
22352 (remquo_test): Likewise.
22353 (rint_test): Likewise.
22354 (rint_test_tonearest): Likewise.
22355 (rint_test_towardzero): Likewise.
22356 (rint_test_downward): Likewise.
22357 (rint_test_upward): Likewise.
22358 (round_test): Likewise.
22359 (scalb_test): Likewise.
22360 (scalbn_test): Likewise.
22361 (scalbln_test): Likewise.
22362 (signbit_test): Likewise.
22363 (sin_test): Likewise.
22364 (sin_test_tonearest): Likewise.
22365 (sin_test_towardzero): Likewise.
22366 (sin_test_downward): Likewise.
22367 (sin_test_upward): Likewise.
22368 (sincos_test): Likewise.
22369 (sinh_test): Likewise.
22370 (sinh_test_tonearest): Likewise.
22371 (sinh_test_towardzero): Likewise.
22372 (sinh_test_downward): Likewise.
22373 (sinh_test_upward): Likewise.
22374 (sqrt_test): Likewise.
22375 (tan_test): Likewise.
22376 (tan_test_tonearest): Likewise.
22377 (tan_test_towardzero): Likewise.
22378 (tan_test_downward): Likewise.
22379 (tan_test_upward): Likewise.
22380 (tanh_test): Likewise.
22381 (tgamma_test): Likewise.
22382 (trunc_test): Likewise.
22383 (y0_test): Likewise.
22384 (y1_test): Likewise.
22385 (yn_test): Likewise.
22386 (significand_test): Likewise.
22387
bae143d2
OB
223882013-05-24 Ondřej Bílka <neleai@seznam.cz>
22389
22390 [BZ #15381]
22391 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22392
9323d39b
EM
223932013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22394
d4ea44a0 22395 [BZ #14894]
9323d39b
EM
22396 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22397 __ppc_mdoio and __ppc_mdoom.
22398 * manual/platform.texi: Document new functions __ppc_yield,
22399 __ppc_mdoio and __ppc_mdoom.
22400
13e23af7
CD
224012013-05-22 Carlos O'Donell <carlos@redhat.com>
22402
22403 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22404 (main): Mention "tls" pseudo-hwcap is legacy.
22405 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22406
351fe550
JM
224072013-05-22 Joseph Myers <joseph@codesourcery.com>
22408
22409 * math/gen-libm-test.pl (parse_args): Output only string of
22410 arguments as text for test name, not full call or descriptions of
22411 tests for extra outputs.
22412 (generate_testfile): Do not pass function name to parse_args.
22413 Generate this_func variable from START.
22414 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22415 field to arg_str.
22416 (struct test_ff_f_data): Likewise.
22417 (test_ff_f_data_nexttoward): Likewise.
22418 (struct test_fi_f_data): Likewise.
22419 (struct test_fl_f_data): Likewise.
22420 (struct test_if_f_data): Likewise.
22421 (struct test_fff_f_data): Likewise.
22422 (struct test_c_f_data): Likewise.
22423 (struct test_f_f1_data): Likewise. Remove field extra_name.
22424 (struct test_fF_f1_data): Likewise.
22425 (struct test_ffI_f1_data): Likewise.
22426 (struct test_c_c_data): Rename test_name field to arg_str.
22427 (struct test_cc_c_data): Likewise.
22428 (struct test_f_i_data): Likewise.
22429 (struct test_ff_i_data): Likewise.
22430 (struct test_f_l_data): Likewise.
22431 (struct test_f_L_data): Likewise.
22432 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22433 and extra2_name.
22434 (COMMON_TEST_SETUP): New macro.
22435 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22436 (COMMON_TEST_CLEANUP): Likewise.
22437 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22438 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22439 macros.
22440 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22441 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22442 macros.
22443 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22444 (RUN_TEST_fff_f): Take argument string. Call new setup and
22445 cleanup macros.
22446 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22447 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22448 macros.
22449 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22450 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22451 macros.
22452 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22453 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22454 cleanup macros.
22455 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22456 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22457 cleanup macros.
22458 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22459 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22460 cleanup macros.
22461 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22462 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22463 macros.
22464 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22465 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22466 macros.
22467 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22468 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22469 macros.
22470 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22471 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22472 cleanup macros.
22473 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22474 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22475 cleanup macros.
22476 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22477 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22478 macros.
22479 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22480 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22481 cleanup macros.
22482 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22483 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22484 macros.
22485 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22486 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22487 macros.
22488 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22489 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22490 cleanup macros.
22491 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22492
85118d4d
EBM
224932013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22494
22495 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22496 to _sifields.sigfault.
22497 (si_addr_lsb): Define new macro.
22498 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22499 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22500 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22501
7a44c18f
CD
225022013-05-03 Carlos O'Donell <carlos at redhat.com>
22503
22504 [BZ #15441]
22505 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22506 returns -1.
22507 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22508 null return -1.
22509 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22510 loading the domain.
22511
b50a7181
JM
225122013-05-22 Joseph Myers <joseph@codesourcery.com>
22513
22514 * math/gen-libm-test.pl (parse_args): Do not include expected
22515 result in test name.
22516 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22517 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22518 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22519 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22520 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22522
051063c8
SP
225232013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22524
3ce9e010
SP
22525 * benchtests/Makefile: Sort function entries.
22526
051063c8
SP
22527 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22528 tanh, asinh, acosh, atanh.
22529 * benchtests/acos-inputs: New file.
22530 * benchtests/acosh-inputs: New file.
22531 * benchtests/asin-inputs: New file.
22532 * benchtests/asinh-inputs: New file.
22533 * benchtests/atanh-inputs: New file.
22534 * benchtests/cosh-inputs: New file.
22535 * benchtests/log-inputs: New file.
22536 * benchtests/sinh-inputs: New file.
22537 * benchtests/tanh-inputs: New file.
22538
47c22455
DL
225392013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22540
22541 [BZ #15339]
22542 * posix/tst-getaddrinfo4.c: New test.
22543 * posix/Makefile (tests): Add it.
22544
3d04f5db
SP
225452013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22546
22547 [BZ #15339]
22548 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22549 when no services were used.
22550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22551 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22552
d5dd6189
AS
225532013-05-21 Andreas Schwab <schwab@suse.de>
22554
22555 [BZ #15014]
22556 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22557 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22558 successful.
22559 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22560 redundant variable declarations and reallocation of buffer when
22561 parsing as IPv6 address. Always set NSS status when called from
22562 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22563 buffer too small. Correct computation of needed size.
22564 * nss/Makefile (tests): Add test-digits-dots.
22565 * nss/test-digits-dots.c: New test.
22566
fef94eab
SP
225672013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22568
22569 * benchtests/Makefile: Remove instructions for adding
22570 benchmark tests.
22571 * benchtests/README: New file to explain how to execute and
22572 enhance the benchmark tests.
22573
e39adf43
AS
225742013-05-21 Andreas Schwab <schwab@suse.de>
22575
22576 [BZ #15493]
22577 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22578 * setjmp/tst-sigsetjmp.c: New test.
22579
b2b671b6
OB
225802013-05-20 Ondřej Bílka <neleai@seznam.cz>
22581
22582 * sysdeps/x86_64/memset.S (memset): New implementation.
22583 (__bzero): Likewise.
22584 (__memset_tail): New function.
22585
2d48b41c
OB
225862013-05-20 Ondřej Bílka <neleai@seznam.cz>
22587
22588 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22589 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22590 __memcpy_sse2_unaligned ifunc selection.
22591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22592 Add memcpy-sse2-unaligned.S.
22593 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22594 Add: __memcpy_sse2_unaligned.
22595
f16cc3eb
JM
225962013-05-19 Joseph Myers <joseph@codesourcery.com>
22597
3e694268
JM
22598 [BZ #15490]
22599 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22600 math_force_eval before restoring floating-point envrionment.
22601 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22602 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22603 Likewise.
22604 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22605 <math_private.h>.
22606 (__nearbyintl): Use math_force_eval before restoring
22607 floating-point environment.
22608 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22609
db62a907
JM
22610 * math/gen-libm-test.pl (special_functions): Remove.
22611 (parse_args): Don't handle TEST_extra. Handle functions with no
22612 return value.
22613 * math/libm-test.inc (struct test_sincos_data): Replace with
22614 struct test_fFF_11_data.
22615 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22616 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22617 (sincos_test_data): Change element type to struct
22618 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22619 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22620 RUN_TEST_LOOP_sincos.
22621 * math/README.libm-test: Don't mention special handling of
22622 individual functions.
22623 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22624 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22625 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22626 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22627 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22629
f16cc3eb
JM
22630 * math/gen-libm-test.pl (get_variable): Remove function.
22631 (parse_args): Don't show pointer parameters to call in test
22632 names. Use "extra output N" in test names for extra outputs
22633 rather than naming variables.
22634
3779b5b6
JM
226352013-05-18 Joseph Myers <joseph@codesourcery.com>
22636
2ee094ff
JM
22637 [BZ #15488]
22638 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22639 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22640 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22641 double tests.
22642 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22643 disable.
22644 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22645 check_long_double.
22646
3779b5b6
JM
22647 * math/gen-libm-test.pl (@tests): Remove variable.
22648 ($count): Likewise.
22649 (new_test): Remove function.
22650 (show_exceptions): New function.
22651 (special_functions): Use show_exceptions instead of new_test.
22652 (parse_args): Likewise.
22653 (generate_testfile): Pass only function name in generated call to
22654 print_max_error or print_complex_max_error.
22655 (get_ulps): Do not handle complex tests specially.
22656 (output_test): Rename to ...
22657 (get_all_ulps_for_test): ... this. Return a string rather than
22658 printing to a file. Require ulps to be present.
22659 (output_ulps): Generate arrays rather than #defines.
22660 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22661 (struct ulp_data): New type.
22662 (BUILD_COMPLEX_ULP): Remove macro.
22663 (compare_ulp_data): New function.
22664 (find_ulps): Likewise.
22665 (find_test_ulps): Likewise.
22666 (find_function_ulps): Likewise.
22667 (find_complex_function_ulps): Likewise.
22668 (print_max_error): Determine allowed ulps using
22669 find_function_ulps.
22670 (print_complex_max_error): Determine allowed ulps using
22671 find_complex_function_ulps.
22672 (check_float_internal): Determine max ulps using find_test_ulps.
22673 (check_float): Do not take max_ulp parameter. Update call to
22674 check_float_internal.
22675 (check_complex): Likewise.
22676 (check_int): Do not take max_ulp parameter.
22677 (check_long): Likewise.
22678 (check_bool): Likewise.
22679 (check_longlong): Likewise.
22680 (struct test_f_f_data): Remove max_ulp field.
22681 (struct test_ff_f_data): Likewise.
22682 (struct test_ff_f_data_nexttoward): Likewise.
22683 (struct test_fi_f_data): Likewise.
22684 (struct test_fl_f_data): Likewise.
22685 (struct test_if_f_data): Likewise.
22686 (struct test_fff_f_data): Likewise.
22687 (struct test_c_f_data): Likewise.
22688 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22689 (struct test_fF_f1_data): Likewise.
22690 (struct test_ffI_f1_data): Likewise.
22691 (struct test_c_c_data): Remove max_ulp field.
22692 (struct test_cc_c_data): Likewise.
22693 (struct test_f_i_data): Likewise.
22694 (struct test_ff_i_data): Likewise.
22695 (struct test_f_l_data): Likewise.
22696 (struct test_f_L_data): Likewise.
22697 (struct test_sincos_data): Likewise.
22698 (RUN_TEST_f_f): Do not handle ulps.
22699 (RUN_TEST_LOOP_f_f): Likewise.
22700 (RUN_TEST_2_f): Likewise.
22701 (RUN_TEST_LOOP_2_f): Likewise.
22702 (RUN_TEST_fff_f): Likewise.
22703 (RUN_TEST_LOOP_fff_f): Likewise.
22704 (RUN_TEST_c_f): Likewise.
22705 (RUN_TEST_LOOP_c_f): Likewise.
22706 (RUN_TEST_f_f1): Likewise.
22707 (RUN_TEST_LOOP_f_f1): Likewise.
22708 (RUN_TEST_fF_f1): Likewise.
22709 (RUN_TEST_LOOP_fF_f1): Likewise.
22710 (RUN_TEST_fI_f1): Likewise.
22711 (RUN_TEST_LOOP_fI_f1): Likewise.
22712 (RUN_TEST_ffI_f1): Likewise.
22713 (RUN_TEST_LOOP_ffI_f1): Likewise.
22714 (RUN_TEST_c_c): Likewise.
22715 (RUN_TEST_LOOP_c_c): Likewise.
22716 (RUN_TEST_cc_c): Likewise.
22717 (RUN_TEST_LOOP_cc_c): Likewise.
22718 (RUN_TEST_f_i): Likewise.
22719 (RUN_TEST_LOOP_f_i): Likewise.
22720 (RUN_TEST_f_i_tg): Likewise.
22721 (RUN_TEST_LOOP_f_i_tg): Likewise.
22722 (RUN_TEST_ff_i_tg): Likewise.
22723 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22724 (RUN_TEST_f_b): Likewise.
22725 (RUN_TEST_LOOP_f_b): Likewise.
22726 (RUN_TEST_f_b_tg): Likewise.
22727 (RUN_TEST_LOOP_f_b_tg): Likewise.
22728 (RUN_TEST_f_l): Likewise.
22729 (RUN_TEST_LOOP_f_l): Likewise.
22730 (RUN_TEST_f_L): Likewise.
22731 (RUN_TEST_LOOP_f_L): Likewise.
22732 (RUN_TEST_sincos): Likewise.
22733 (RUN_TEST_LOOP_sincos): Likewise.
22734
8269107f
JM
227352013-05-17 Joseph Myers <joseph@codesourcery.com>
22736
bb38759d
JM
22737 [BZ #15480]
22738 [BZ #15485]
22739 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22740 main case of finite arguments, set rounding mode to FE_TONEAREST
22741 and discard exceptions.
22742 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22743 exceptions.
22744 (remainder_tonearest_test_data): New variable.
22745 (remainder_test_tonearest): New function.
22746 (remainder_towardzero_test_data): New variable.
22747 (remainder_test_towardzero): New function.
22748 (remainder_downward_test_data): New variable.
22749 (remainder_test_downward): New function.
22750 (remainder_upward_test_data): New variable.
22751 (remainder_test_upward): New function.
22752 (main): Call the new test functions.
22753
a00bdcf0
JM
22754 * math/libm-test.inc (struct test_f_f1_data): Remove field
22755 extra_init.
22756 (struct test_fF_f1_data): Likewise.
22757 (struct test_ffI_f1_data): Likewise.
22758 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22759 based on value of EXTRA_EXPECTED.
22760 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22761 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22762 EXTRA_VAR based on value of EXTRA_EXPECTED.
22763 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22764 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22765 EXTRA_VAR based on value of EXTRA_EXPECTED.
22766 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22767 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22768 EXTRA_VAR based on value of EXTRA_EXPECTED.
22769 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22770 * math/gen-libm-test.pl (parse_args): Don't output initializers
22771 for extra output values.
22772
de407f79
JM
22773 * math/libm-test.inc (check_int): Expect result to be exactly
22774 equal to expected value and do not handle ulps.
22775 (check_long): Likewise.
22776 (check_longlong): Likewise.
22777
8269107f
JM
22778 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22779 exceptions.
22780 (cimag_test_data): Likewise.
22781 (conj_test_data): Likewise.
22782 (copysign_test_data): Likewise.
22783 (cproj_test_data): Likewise.
22784 (creal_test_data): Likewise.
22785 (fabs_test_data): Likewise.
22786 (fdim_test_data): Likewise.
22787 (finite_test_data): Likewise.
22788 (floor_test_data): Likewise.
22789 (fmax_test_data): Likewise.
22790 (fmin_test_data): Likewise.
22791 (fmod_test_data): Likewise.
22792 (fpclassify_test_data): Likewise.
22793 (frexp_test_data): Likewise.
22794 (ilogb_test_data): Likewise.
22795 (isfinite_test_data): Likewise.
22796 (isgreater_test_data): Likewise.
22797 (isgreaterequal_test_data): Likewise.
22798 (isinf_test_data): Likewise.
22799 (isless_test_data): Likewise.
22800 (islessequal_test_data): Likewise.
22801 (islessgreater_test_data): Likewise.
22802 (isnan_test_data): Likewise.
22803 (isnormal_test_data): Likewise.
22804 (issignaling_test_data): Likewise.
22805 (isunordered_test_data): Likewise.
22806 (ldexp_test_data): Likewise.
22807 (lrint_test_data): Likewise.
22808 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22809 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22810 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22811 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22812 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22813 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22814 test input.
22815 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22816 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22817 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22818 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22819 that test input.
22820 (lrint_downward_test_data): Test for "inexact" exceptions.
22821 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22822 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22823 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22824 test input.
22825 (lrint_upward_test_data): Test for "inexact" exceptions.
22826 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22827 test input.
22828 (llrint_test_data): Test for "inexact" exceptions.
22829 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22830 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22831 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22832 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22833 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22834 (llrint_downward_test_data): Test for "inexact" exceptions.
22835 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22836 (llrint_upward_test_data): Test for "inexact" exceptions.
22837 (logb_test_data): Likewise.
22838 (logb_downward_test_data): Likewise.
22839 (nextafter_test_data): Likewise.
22840 (nexttoward_test_data): Likewise.
22841 (remainder_test_data): Likewise.
22842 (remquo_test_data): Likewise.
22843 (scalbn_test_data): Likewise.
22844 (scalbln_test_data): Likewise.
22845 (signbit_test_data): Likewise.
22846 (sqrt_test_data): Likewise.
22847 (significand_test_data): Likewise.
22848
48a18de1
SP
228492013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22850
22851 [BZ #15424]
22852 * benchtests/bench-modf.c (struct args): Mark arg0 as
22853 volatile.
22854 * scripts/bench.pl: Mark members of struct args as volatile.
22855
13d3b41a
AZ
228562013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22857
68191c1d 22858 [BZ # 15497]
13d3b41a
AZ
22859 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22860 negative infinity on POWER6 or lower.
22861 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22862
2848b105
MR
228632013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22864
22865 [BZ #15442]
22866 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22867 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22868 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22869 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22870 (_FP_SETQNAN): New macro.
22871 (_FP_SETQNAN_SEMIRAW): Likewise.
22872 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22873 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22874 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22875 (FP_EXTEND): Use _FP_FRAC_SNANP.
22876 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22877 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22878 into account.
22879 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22880 New macro.
22881 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22882 Likewise.
22883
323e5cb7
JM
228842013-05-16 Joseph Myers <joseph@codesourcery.com>
22885
c58b274f
JM
22886 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22887 with DIVIDE_BY_ZERO_EXCEPTION.
22888 (gamma_test_data): Likewise.
22889 (lgamma_test_data): Likewise.
22890 (log_test_data): Likewise.
22891 (log10_test_data): Likewise.
22892 (log2_test_data): Likewise.
22893 (tgamma_test_data): Likewise.
22894
0ab34904
JM
22895 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22896 (acos_test_tonearest): Likewise.
22897 (acos_test_towardzero): Likewise.
22898 (acos_test_downward): Likewise.
22899 (acos_test_upward): Likewise.
22900 (acosh_test): Likewise.
22901 (asin_test): Likewise.
22902 (asin_test_tonearest): Likewise.
22903 (asin_test_towardzero): Likewise.
22904 (asin_test_downward): Likewise.
22905 (asin_test_upward): Likewise.
22906 (asinh_test): Likewise.
22907 (atan_test): Likewise.
22908 (atanh_test): Likewise.
22909 (atan2_test): Likewise.
22910 (cabs_test): Likewise.
22911 (cacos_test): Likewise.
22912 (cacosh_test): Likewise.
22913 (casin_test): Likewise.
22914 (casinh_test): Likewise.
22915 (catan_test): Likewise.
22916 (catanh_test): Likewise.
22917 (cbrt_test): Likewise.
22918 (ccos_test): Likewise.
22919 (ccosh_test): Likewise.
22920 (cexp_test): Likewise.
22921 (clog_test): Likewise.
22922 (clog10_test): Likewise.
22923 (cos_test): Likewise.
22924 (cos_test_tonearest): Likewise.
22925 (cos_test_towardzero): Likewise.
22926 (cos_test_downward): Likewise.
22927 (cos_test_upward): Likewise.
22928 (cosh_test): Likewise.
22929 (cosh_test_tonearest): Likewise.
22930 (cosh_test_towardzero): Likewise.
22931 (cosh_test_downward): Likewise.
22932 (cosh_test_upward): Likewise.
22933 (cpow_test): Likewise.
22934 (csin_test): Likewise.
22935 (csinh_test): Likewise.
22936 (csqrt_test): Likewise.
22937 (ctan_test): Likewise.
22938 (ctan_test_tonearest): Likewise.
22939 (ctan_test_towardzero): Likewise.
22940 (ctan_test_downward): Likewise.
22941 (ctan_test_upward): Likewise.
22942 (ctanh_test): Likewise.
22943 (ctanh_test_tonearest): Likewise.
22944 (ctanh_test_towardzero): Likewise.
22945 (ctanh_test_downward): Likewise.
22946 (ctanh_test_upward): Likewise.
22947 (erf_test): Likewise.
22948 (erfc_test): Likewise.
22949 (exp_test): Likewise.
22950 (exp_test_tonearest): Likewise.
22951 (exp_test_towardzero): Likewise.
22952 (exp_test_downward): Likewise.
22953 (exp_test_upward): Likewise.
22954 (exp10_test): Likewise.
22955 (exp2_test): Likewise.
22956 (expm1_test): Likewise.
22957 (fmod_test): Likewise.
22958 (gamma_test): Likewise.
22959 (hypot_test): Likewise.
22960 (j0_test): Likewise.
22961 (j1_test): Likewise.
22962 (jn_test): Likewise.
22963 (lgamma_test): Likewise.
22964 (log_test): Likewise.
22965 (log10_test): Likewise.
22966 (log1p_test): Likewise.
22967 (log2_test): Likewise.
22968 (logb_test_downward): Likewise.
22969 (pow_test): Likewise.
22970 (pow_test_tonearest): Likewise.
22971 (pow_test_towardzero): Likewise.
22972 (pow_test_downward): Likewise.
22973 (pow_test_upward): Likewise.
22974 (remainder_test): Likewise.
22975 (remquo_test): Likewise.
22976 (sin_test): Likewise.
22977 (sin_test_tonearest): Likewise.
22978 (sin_test_towardzero): Likewise.
22979 (sin_test_downward): Likewise.
22980 (sin_test_upward): Likewise.
22981 (sincos_test): Likewise.
22982 (sinh_test): Likewise.
22983 (sinh_test_tonearest): Likewise.
22984 (sinh_test_towardzero): Likewise.
22985 (sinh_test_downward): Likewise.
22986 (sinh_test_upward): Likewise.
22987 (sqrt_test): Likewise.
22988 (tan_test): Likewise.
22989 (tan_test_tonearest): Likewise.
22990 (tan_test_towardzero): Likewise.
22991 (tan_test_downward): Likewise.
22992 (tan_test_upward): Likewise.
22993 (tanh_test): Likewise.
22994 (tgamma_test): Likewise.
22995 (y0_test): Likewise.
22996 (y1_test): Likewise.
22997 (yn_test): Likewise.
22998
323e5cb7
JM
22999 * math/gen-libm-test.pl (adjust_arg): Remove function.
23000 (special_function): Remove argument $in_func. Only handle
23001 generating output for tables of tests, not inside functions.
23002 (parse_args): Likewise.
23003 (generate_testfile): Remove variable $in_func. Update call to
23004 parse_args.
23005 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23006 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23007 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23008 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23009 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23010 (MAX_VALUE_INIT): Rename macro to max_value.
23011 (MIN_VALUE_INIT): Rename macro to min_value.
23012 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23013 (plus_zero): Remove variable.
23014 (minus_zero): Likewise.
23015 (plus_infty): Likewise.
23016 (minus_infty): Likewise.
23017 (qnan_value): Likewise.
23018 (max_value): Likewise.
23019 (min_value): Likewise.
23020 (min_subnorm_value): Likewise.
23021
e054f494
RA
230222013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23023
23024 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23025 uint64_t or uint32_t usage.
23026 * crypt/sha256-block.c: Likewise.
23027 * crypt/sha256-crypt.c: Likewise.
23028 * crypt/sha256.c: Likewise.
23029 * crypt/sha512-block.c: Likewise.
23030 * crypt/sha512-crypt.c: Likewise.
23031 * crypt/sha512.c: Likewise.
23032 * debug/backtrace-tst.c: Likewise.
23033 * debug/pcprofiledump.c: Likewise.
23034 * elf/cache.c: Likewise.
23035 * elf/dl-cache.c: Likewise.
23036 * elf/dl-misc.c: Likewise.
23037 * elf/dl-profile.c: Likewise.
23038 * elf/dl-support.c: Likewise.
23039 * elf/ldconfig.c: Likewise.
23040 * elf/sprof.c: Likewise.
23041 * iconv/dummy-repertoire.c: Likewise.
23042 * iconv/iconv_charmap.c: Likewise.
23043 * iconv/skeleton.c: Likewise.
23044 * iconvdata/8bit-generic.c: Likewise.
23045 * iconvdata/cp737.h: Likewise.
23046 * iconvdata/cp775.h: Likewise.
23047 * iconvdata/ibm1008.h: Likewise.
23048 * iconvdata/ibm1025.h: Likewise.
23049 * iconvdata/ibm1046.h: Likewise.
23050 * iconvdata/ibm1097.h: Likewise.
23051 * iconvdata/ibm1112.h: Likewise.
23052 * iconvdata/ibm1122.h: Likewise.
23053 * iconvdata/ibm1123.h: Likewise.
23054 * iconvdata/ibm1124.h: Likewise.
23055 * iconvdata/ibm1129.h: Likewise.
23056 * iconvdata/ibm1130.h: Likewise.
23057 * iconvdata/ibm1132.h: Likewise.
23058 * iconvdata/ibm1133.h: Likewise.
23059 * iconvdata/ibm1137.h: Likewise.
23060 * iconvdata/ibm1140.h: Likewise.
23061 * iconvdata/ibm1141.h: Likewise.
23062 * iconvdata/ibm1142.h: Likewise.
23063 * iconvdata/ibm1143.h: Likewise.
23064 * iconvdata/ibm1144.h: Likewise.
23065 * iconvdata/ibm1145.h: Likewise.
23066 * iconvdata/ibm1146.h: Likewise.
23067 * iconvdata/ibm1147.h: Likewise.
23068 * iconvdata/ibm1148.h: Likewise.
23069 * iconvdata/ibm1149.h: Likewise.
23070 * iconvdata/ibm1153.h: Likewise.
23071 * iconvdata/ibm1154.h: Likewise.
23072 * iconvdata/ibm1155.h: Likewise.
23073 * iconvdata/ibm1156.h: Likewise.
23074 * iconvdata/ibm1157.h: Likewise.
23075 * iconvdata/ibm1158.h: Likewise.
23076 * iconvdata/ibm1160.h: Likewise.
23077 * iconvdata/ibm1161.h: Likewise.
23078 * iconvdata/ibm1162.h: Likewise.
23079 * iconvdata/ibm1163.h: Likewise.
23080 * iconvdata/ibm1164.h: Likewise.
23081 * iconvdata/ibm1166.h: Likewise.
23082 * iconvdata/ibm1167.h: Likewise.
23083 * iconvdata/ibm12712.h: Likewise.
23084 * iconvdata/ibm1390.h: Likewise.
23085 * iconvdata/ibm1399.h: Likewise.
23086 * iconvdata/ibm16804.h: Likewise.
23087 * iconvdata/ibm4517.h: Likewise.
23088 * iconvdata/ibm4899.h: Likewise.
23089 * iconvdata/ibm4909.h: Likewise.
23090 * iconvdata/ibm4971.h: Likewise.
23091 * iconvdata/ibm5347.h: Likewise.
23092 * iconvdata/ibm803.h: Likewise.
23093 * iconvdata/ibm856.h: Likewise.
23094 * iconvdata/ibm901.h: Likewise.
23095 * iconvdata/ibm902.h: Likewise.
23096 * iconvdata/ibm9030.h: Likewise.
23097 * iconvdata/ibm9066.h: Likewise.
23098 * iconvdata/ibm921.h: Likewise.
23099 * iconvdata/ibm922.h: Likewise.
23100 * iconvdata/ibm9448.h: Likewise.
23101 * iconvdata/isiri-3342.h: Likewise.
23102 * iconvdata/jis0201.h: Likewise.
23103 * include/link.h: Likewise.
23104 * include/netdb.h: Likewise.
23105 * inet/check_native.c: Likewise.
23106 * inet/check_pf.c: Likewise.
23107 * inet/getipv4sourcefilter.c: Likewise.
23108 * inet/getnameinfo.c: Likewise.
23109 * inet/getsourcefilter.c: Likewise.
23110 * inet/htonl.c: Likewise.
23111 * inet/setipv4sourcefilter.c: Likewise.
23112 * inet/setsourcefilter.c: Likewise.
23113 * inet/test-inet6_opt.c: Likewise.
23114 * inet/tst-network.c: Likewise.
23115 * locale/C-collate.c: Likewise.
23116 * locale/C-ctype.c: Likewise.
23117 * locale/C-time.c: Likewise.
23118 * locale/C-translit.h: Likewise.
23119 * locale/loadarchive.c: Likewise.
23120 * locale/programs/3level.h: Likewise.
23121 * locale/programs/charmap.c: Likewise.
23122 * locale/programs/charmap.h: Likewise.
23123 * locale/programs/ld-address.c: Likewise.
23124 * locale/programs/ld-collate.c: Likewise.
23125 * locale/programs/ld-ctype.c: Likewise.
23126 * locale/programs/ld-identification.c: Likewise.
23127 * locale/programs/ld-measurement.c: Likewise.
23128 * locale/programs/ld-messages.c: Likewise.
23129 * locale/programs/ld-monetary.c: Likewise.
23130 * locale/programs/ld-name.c: Likewise.
23131 * locale/programs/ld-numeric.c: Likewise.
23132 * locale/programs/ld-paper.c: Likewise.
23133 * locale/programs/ld-telephone.c: Likewise.
23134 * locale/programs/ld-time.c: Likewise.
23135 * locale/programs/linereader.c: Likewise.
23136 * locale/programs/locale.c: Likewise.
23137 * locale/programs/locarchive.c: Likewise.
23138 * locale/programs/locfile.h: Likewise.
23139 * locale/programs/repertoire.c: Likewise.
23140 * locale/programs/simple-hash.c: Likewise.
23141 * locale/programs/simple-hash.h: Likewise.
23142 * malloc/memusage.c: Likewise.
23143 * malloc/memusagestat.c: Likewise.
23144 * nis/nis_defaults.c: Likewise.
23145 * nis/nis_hash.c: Likewise.
23146 * nis/nis_print.c: Likewise.
23147 * nis/nis_xdr.c: Likewise.
23148 * nscd/connections.c: Likewise.
23149 * nscd/hstcache.c: Likewise.
23150 * nscd/nscd_gethst_r.c: Likewise.
23151 * nscd/nscd_getserv_r.c: Likewise.
23152 * nscd/nscd_helper.c: Likewise.
23153 * nscd/servicescache.c: Likewise.
23154 * nss/makedb.c: Likewise.
23155 * nss/nss_db/db-XXX.c: Likewise.
23156 * nss/nss_db/db-initgroups.c: Likewise.
23157 * nss/nss_db/db-netgrp.c: Likewise.
23158 * nss/nss_files/files-network.c: Likewise.
23159 * nss/nss_files/files-parse.c: Likewise.
23160 * posix/bug-regex5.c: Likewise.
23161 * posix/fnmatch_loop.c: Likewise.
23162 * posix/regcomp.c: Likewise.
23163 * posix/regexec.c: Likewise.
23164 * posix/tst-rfc3484-2.c: Likewise.
23165 * posix/tst-rfc3484-3.c: Likewise.
23166 * posix/tst-rfc3484.c: Likewise.
23167 * resolv/nss_dns/dns-canon.c: Likewise.
23168 * resolv/nss_dns/dns-network.c: Likewise.
23169 * resolv/res_init.c: Likewise.
23170 * resolv/res_mkquery.c: Likewise.
23171 * resolv/tst-aton.c: Likewise.
23172 * stdlib/cxa_atexit.c: Likewise.
23173 * stdlib/cxa_finalize.c: Likewise.
23174 * stdlib/gen-fpioconst.c: Likewise.
23175 * stdlib/strtol_l.c: Likewise.
23176 * string/tst-endian.c: Likewise.
23177 * sunrpc/auth_des.c: Likewise.
23178 * sunrpc/clnt_udp.c: Likewise.
23179 * sunrpc/rtime.c: Likewise.
23180 * sunrpc/svcauth_des.c: Likewise.
23181 * sunrpc/xdr.c: Likewise.
23182 * sunrpc/xdr_intXX_t.c: Likewise.
23183 * sunrpc/xdr_rec.c: Likewise.
23184 * sysdeps/generic/ldconfig.h: Likewise.
23185 * sysdeps/generic/ldsodefs.h: Likewise.
23186 * sysdeps/generic/memusage.h: Likewise.
23187 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23188 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23189 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23190 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23191 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23192 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23193 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23194 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23195 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23196 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23197 * sysdeps/posix/getaddrinfo.c: Likewise.
23198 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23199 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23200 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23201 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23202 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23203 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23204 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23205 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23206 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23207 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23208 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23209 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23210 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23211 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23212 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23213 * sysdeps/x86_64/dl-tls.h: Likewise.
23214 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23215 * time/alt_digit.c: Likewise.
23216 * time/era.c: Likewise.
23217 * wcsmbs/tst-c16c32-1.c: Likewise.
23218
8c75f674
JM
232192013-05-16 Joseph Myers <joseph@codesourcery.com>
23220
23221 * math/libm-test.inc (struct test_sincos_data): New type.
23222 (RUN_TEST_LOOP_sincos): New macro.
23223 (sincos_test_data): New variable.
23224 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23225
e6e49e59
RH
232262013-05-16 Richard Henderson <rth@redhat.com>
23227
23228 * math/atest-exp2.c (LIMB64): New macro.
23229 (CONSTSZ): New macro.
23230 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23231 (hexdig): Move ...
23232 (print_mpn_fp): ... to function scope.
23233 (read_mpn_hex): Remove.
23234 (get_log2): Remove.
23235 (exp2_mpn): Use mp_log2.
23236 (main): Use mp_exp1.
23237
15c7c18d
JM
232382013-05-16 Joseph Myers <joseph@codesourcery.com>
23239
105a07df
JM
23240 * math/libm-test.inc: Remove comment about not testing "inexact"
23241 exceptions.
23242 (INEXACT_EXCEPTION): New macro.
23243 (NO_INEXACT_EXCEPTION): Likewise.
23244 (INVALID_EXCEPTION_OK): Update value.
23245 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23246 (OVERFLOW_EXCEPTION_OK): Likewise.
23247 (UNDERFLOW_EXCEPTION_OK): Likewise.
23248 (IGNORE_ZERO_INF_SIGN): Likewise.
23249 (ERRNO_UNCHANGED): Likewise.
23250 (ERRNO_EDOM): Likewise.
23251 (ERRNO_ERANGE): Likewise.
23252 (test_exceptions): Handle testing "inexact" exceptions.
23253 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23254 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23255 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23256 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23257 INEXACT_EXCEPTION.
23258 (rint_towardzero_test_data): Likewise.
23259 (rint_downward_test_data): Likewise.
23260 (rint_upward_test_data): Likewise.
23261
e9eee333
JM
23262 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23263 with OVERFLOW_EXCEPTION.
23264 (exp10_test_data): Likewise.
23265 (exp2_test_data): Likewise.
23266 (expm1_test_data): Likewise.
23267 (lgamma_test_data): Likewise.
23268 (pow_test_data): Likewise.
23269 (tgamma_test_data): Likewise.
23270 (yn_test_data): Remove duplicate test of overflow.
23271
1c38ff73
JM
23272 * math/libm-test.inc (struct test_cc_c_data): New type.
23273 (RUN_TEST_LOOP_cc_c): New macro.
23274 (cpow_test_data): New variable.
23275 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23276
15c7c18d
JM
23277 * math/libm-test.inc (struct test_f_L_data): New type.
23278 (RUN_TEST_LOOP_f_L): New macro.
23279 (llrint_test_data): New variable.
23280 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23281 (llrint_tonearest_test_data): New variable.
23282 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23283 (llrint_towardzero_test_data): New variable.
23284 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23285 (llrint_downward_test_data): New variable.
23286 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23287 (llrint_upward_test_data): New variable.
23288 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23289 (llround_test_data): New variable.
23290 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23291
f137ff13
PC
232922013-05-13 Peter Collingbourne <pcc@google.com>
23293
23294 * math/atest-exp2.c (get_log2): Remove const attribute.
23295
3608cb24
JM
232962013-05-15 Joseph Myers <joseph@codesourcery.com>
23297
23298 * math/libm-test.inc (struct test_f_l_data): New type.
23299 (RUN_TEST_LOOP_f_l): New macro.
23300 (lrint_test_data): New variable.
23301 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23302 (lrint_tonearest_test_data): New variable.
23303 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23304 (lrint_towardzero_test_data): New variable.
23305 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23306 (lrint_downward_test_data): New variable.
23307 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23308 (lrint_upward_test_data): New variable.
23309 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23310 (lround_test_data): New variable.
23311 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23312
39b1f617
PC
233132013-05-15 Peter Collingbourne <pcc@google.com>
23314
1deff3dc
PC
23315 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23316 (EXTRACT_WORDS64) Use where appropriate.
23317 (INSERT_WORDS64) Likewise.
23318
791f3ba0
PC
23319 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23320 constraints with x constraints.
23321 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23322
39b1f617
PC
23323 * malloc/obstack.c (_obstack_compat): Add initializer.
23324
12fba011
EM
233252013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23326
23327 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23328 si_trapno and add si_addr_lsb to _sifields.sigfault.
23329 (si_trapno): Remove macro.
23330 (si_addr_lsb): Define new macro.
23331 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23332
d369f531
JM
233332013-05-15 Joseph Myers <joseph@codesourcery.com>
23334
b861c6c4
JM
23335 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23336 instead of TEST_f_l.
23337 (llrint_test_tonearest): Likewise.
23338 (llrint_test_towardzero): Likewise.
23339 (llrint_test_downward): Likewise.
23340 (llrint_test_upward): Likewise.
23341 (llround_test): Likewise.
23342
7abeee12
JM
23343 * math/libm-test.inc (struct test_f_i_data): Add comment.
23344 (RUN_TEST_LOOP_f_b): New macro.
23345 (RUN_TEST_LOOP_f_b_tg): Likewise.
23346 (finite_test_data): New variable.
23347 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23348 (isfinite_test_data): New variable.
23349 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23350 (isinf_test_data): New variable.
23351 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23352 (isnan_test_data): New variable.
23353 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23354 (isnormal_test_data): New variable.
23355 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23356 (issignaling_test_data): New variable.
23357 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23358 (signbit_test_data): New variable.
23359 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23360
cbe8c4d3
JM
23361 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23362 with INVALID_EXCEPTION.
23363 (acosh_test_data): Likewise.
23364 (asin_test_data): Likewise.
23365 (atanh_test_data): Likewise.
23366 (fmod_test_data): Likewise.
23367 (log_test_data): Likewise.
23368 (log10_test_data): Likewise.
23369 (log2_test_data): Likewise.
23370 (pow_test_data): Likewise.
23371 (sqrt_test_data): Likewise.
23372 (y0_test_data): Likewise.
23373 (y1_test_data): Likewise.
23374 (yn_test_data): Likewise.
23375
5575c0e5
JM
23376 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23377 function contents.
23378
d369f531
JM
23379 * math/libm-test.inc (struct test_ff_i_data): New type.
23380 (RUN_TEST_LOOP_ff_i_tg): New macro.
23381 (isgreater_test_data): New variable.
23382 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23383 (isgreaterequal_test_data): New variable.
23384 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23385 (isless_test_data): New variable.
23386 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23387 (islessequal_test_data): New variable.
23388 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23389 (islessgreater_test_data): New variable.
23390 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23391 (isunordered_test_data): New variable.
23392 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23393
781fd748
DM
233942013-05-14 David S. Miller <davem@davemloft.net>
23395
23396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23397
87aa21df
JM
233982013-05-14 Joseph Myers <joseph@codesourcery.com>
23399
5e908270
JM
23400 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23401
f71172e5
JM
23402 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23403 extra_test to int.
23404 (struct test_f_i_data): Change type of max_ulp to int.
23405
8cfa635a
JM
23406 * math/libm-test.inc (test_ffI_f1_data): New type.
23407 (RUN_TEST_LOOP_ffI_f1): New macro.
23408 (remquo_test_data): New variable.
23409 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23410
2bcb36b2
JM
23411 * setjmp/tst-setjmp-fp.c: New file.
23412 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23413 (link-libm): New variable.
23414 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23415
acbd839a
JM
23416 * math/libm-test.inc (struct test_f_i_data): New type.
23417 (RUN_TEST_LOOP_f_i): New macro.
23418 (RUN_TEST_LOOP_f_i_tg): Likewise.
23419 (fpclassify_test_data): New variable.
23420 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23421 (ilogb_test_data): New variable.
23422 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23423
e414d745
JM
23424 * math/libm-test.inc (scalbln_test): Correct function name in END
23425 call.
23426
d9c2a0fd
JM
23427 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23428 (RUN_TEST_LOOP_fI_f1): New macro.
23429 (frexp_test_data): New variable.
23430 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23431
9dc9095d
JM
23432 * math/libm-test.inc (struct test_fF_f1_data): New type.
23433 (RUN_TEST_LOOP_fF_f1): New macro.
23434 (modf_test_data): New variable.
23435 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23436
87aa21df
JM
23437 * math/libm-test.inc (struct test_f_f1_data): New type.
23438 (RUN_TEST_LOOP_f_f1): New macro.
23439 (gamma_test_data): New variable.
23440 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23441 (lgamma_test_data): New variable.
23442 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23443
141af660
CD
234442013-05-13 Carlos O'Donell <carlos@redhat.com>
23445
23446 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23447 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23448 (main): Comment "tls" pseudo-hwcap.
23449
6d33265c
JM
234502013-05-13 Joseph Myers <joseph@codesourcery.com>
23451
68fc074c
JM
23452 * math/libm-test.inc (struct test_fl_f_data): New type.
23453 (RUN_TEST_LOOP_fl_f): New variable.
23454 (scalbln_test_data): New variable.
23455 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23456
243216e1
JM
23457 * math/libm-test.inc (struct test_fi_f_data): New type.
23458 (RUN_TEST_LOOP_fi_f): New macro.
23459 (ldexp_test_data): New variable.
23460 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23461 (scalbn_test_data): New variable.
23462 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23463
6a1992e2
JM
23464 * math/libm-test.inc (struct test_c_f_data): New type.
23465 (RUN_TEST_LOOP_c_f): New macro.
23466 (cabs_test_data): New variable.
23467 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23468 (carg_test_data): New variable.
23469 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23470 (cimag_test_data): New variable.
23471 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23472 (creal_test_data): New variable.
23473 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23474
0e400df5
JM
23475 * math/libm-test.inc (struct test_if_f_data): New type.
23476 (RUN_TEST_LOOP_if_f): New macro.
23477 (jn_test_data): New variable.
23478 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23479 (yn_test_data): New variable.
23480 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23481
6d33265c
JM
23482 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23483
f98ece5f
AZ
234842013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23485
23486 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23487 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23488
0f7d347b
SP
234892013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23490
43fe811b
SP
23491 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23492 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23493 (bench-deps): Add bench-timing.h.
23494 * benchtests-bench-skeleton.c: Include bench-timing.h.
23495 (main): Use TIMING_* macros instead of clock_gettime.
23496 * benchtests/bench-timing.h: New file.
23497
0f7d347b
SP
23498 [BZ #14582]
23499 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23500 Renamed from _LIB_VERSION.
23501 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23502
601a3a5f
JM
235032013-05-12 Joseph Myers <joseph@codesourcery.com>
23504
4f184d30
JM
23505 * math/libm-test.inc (struct test_fff_f_data): New type.
23506 (RUN_TEST_LOOP_fff_f): New macro.
23507 (fma_test_data): New variable.
23508 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23509 (fma_towardzero_test_data): New variable.
23510 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23511 (fma_downward_test_data): New variable.
23512 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23513 (fma_upward_test_data): New variable.
23514 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23515
08198877
JM
23516 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23517 (struct test_c_c_data): New type.
23518 (RUN_TEST_LOOP_c_c): New macro.
23519 (cacos_test_data): New variable.
23520 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23521 (cacosh_test_data): New variable.
23522 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23523 (casin_test_data): New variable.
23524 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23525 (casinh_test_data): New variable.
23526 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23527 (catan_test_data): New variable.
23528 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23529 (catanh_test_data): New variable.
23530 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23531 (ccos_test_data): New variable.
23532 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23533 (ccosh_test_data): New variable.
23534 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23535 (cexp_test_data): New variable.
23536 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23537 (clog_test_data): New variable.
23538 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23539 (clog10_test_data): New variable.
23540 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23541 (conj_test_data): New variable.
23542 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23543 (cproj_test_data): New variable.
23544 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23545 (csin_test_data): New variable.
23546 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23547 (csinh_test_data): New variable.
23548 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23549 (csqrt_test_data): New variable.
23550 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23551 (ctan_test_data): New variable.
23552 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23553 (ctan_tonearest_test_data): New variable.
23554 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23555 (ctan_towardzero_test_data): New variable.
23556 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23557 (ctan_downward_test_data): New variable.
23558 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23559 (ctan_upward_test_data): New variable.
23560 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23561 (ctanh_test_data): New variable.
23562 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23563 (ctanh_tonearest_test_data): New variable.
23564 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23565 (ctanh_towardzero_test_data): New variable.
23566 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23567 (ctanh_downward_test_data): New variable.
23568 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23569 (ctanh_upward_test_data): New variable.
23570 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23571 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23572 of BUILD_COMPLEX.
23573
601a3a5f
JM
23574 * math/libm-test.inc (struct test_ff_f_data): New type.
23575 (struct test_ff_f_data_nexttoward): Likewise.
23576 (RUN_TEST_LOOP_2_f): New macro.
23577 (RUN_TEST_LOOP_ff_f): Likewise.
23578 (atan2_test_data): New variable.
23579 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23580 (copysign_test_data): New variable.
23581 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23582 (fdim_test_data): New variable.
23583 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23584 (fmax_test_data): New variable.
23585 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23586 (fmin_test_data): New variable.
23587 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23588 (fmod_test_data): New variable.
23589 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23590 (hypot_test_data): New variable.
23591 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23592 (nextafter_test_data): New variable.
23593 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23594 (nexttoward_test_data): New variable.
23595 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23596 (pow_test_data): New variable.
23597 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23598 (pow_tonearest_test_data): New variable.
23599 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23600 (pow_towardzero_test_data): New variable.
23601 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23602 (pow_downward_test_data): New variable.
23603 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23604 (pow_upward_test_data): New variable.
23605 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23606 (remainder_test_data): New variable.
23607 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23608 (scalb_test_data): New variable.
23609 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23610 * sysdeps/i386/fpu/libm-test-ulps: Update.
23611
74c57478
JM
236122013-05-11 Joseph Myers <joseph@codesourcery.com>
23613
8329e4da
JM
23614 * math/libm-test.inc (fma_test): Use max_value instead of local
23615 variable fltmax.
23616 (nextafter_test): Likewise.
23617
74c57478
JM
23618 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23619 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23620 (acos_downward_test_data): New variable.
23621 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23622 (acos_upward_test_data): New variable.
23623 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23624 (acosh_test_data): New variable.
23625 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23626 (asin_test_data): New variable.
23627 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23628 (asin_tonearest_test_data): New variable.
23629 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23630 (asin_towardzero_test_data): New variable.
23631 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23632 (asin_downward_test_data): New variable.
23633 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23634 (asin_upward_test_data): New variable.
23635 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23636 (asinh_test_data): New variable.
23637 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23638 (atan_test_data): New variable.
23639 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23640 (atanh_test_data): New variable.
23641 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23642 (cbrt_test_data): New variable.
23643 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23644 (ceil_test_data): New variable.
23645 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23646 (cos_test_data): New variable.
23647 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23648 (cos_tonearest_test_data): New variable.
23649 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23650 (cos_towardzero_test_data): New variable.
23651 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23652 (cos_downward_test_data): New variable.
23653 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23654 (cos_upward_test_data): New variable.
23655 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23656 (cosh_test_data): New variable.
23657 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23658 (cosh_tonearest_test_data): New variable.
23659 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23660 (cosh_towardzero_test_data): New variable.
23661 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23662 (cosh_downward_test_data): New variable.
23663 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23664 (cosh_upward_test_data): New variable.
23665 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23666 (erf_test_data): New variable.
23667 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23668 (erfc_test_data): New variable.
23669 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23670 (exp_test_data): New variable.
23671 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23672 (exp_tonearest_test_data): New variable.
23673 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23674 (exp_towardzero_test_data): New variable.
23675 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23676 (exp_downward_test_data): New variable.
23677 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23678 (exp_upward_test_data): New variable.
23679 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23680 (exp10_test_data): New variable.
23681 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23682 (exp2_test_data): New variable.
23683 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23684 (expm1_test_data): New variable.
23685 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23686 (fabs_test_data): New variable.
23687 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23688 (floor_test_data): New variable.
23689 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23690 (j0_test_data): New variable.
23691 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23692 (j1_test_data): New variable.
23693 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23694 (log_test_data): New variable.
23695 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23696 (log10_test_data): New variable.
23697 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23698 (log1p_test_data): New variable.
23699 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23700 (log2_test_data): New variable.
23701 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23702 (logb_test_data): New variable.
23703 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23704 (logb_downward_test_data): New variable.
23705 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23706 (nearbyint_test_data): New variable.
23707 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23708 (rint_test_data): New variable.
23709 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23710 (rint_tonearest_test_data): New variable.
23711 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23712 (rint_towardzero_test_data): New variable.
23713 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23714 (rint_downward_test_data): New variable.
23715 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23716 (rint_upward_test_data): New variable.
23717 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23718 (round_test_data): New variable.
23719 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23720 (sin_test_data): New variable.
23721 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23722 (sin_tonearest_test_data): New variable.
23723 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23724 (sin_towardzero_test_data): New variable.
23725 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23726 (sin_downward_test_data): New variable.
23727 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23728 (sin_upward_test_data): New variable.
23729 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23730 (sinh_test_data): New variable.
23731 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23732 (sinh_tonearest_test_data): New variable.
23733 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23734 (sinh_towardzero_test_data): New variable.
23735 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23736 (sinh_downward_test_data): New variable.
23737 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23738 (sinh_upward_test_data): New variable.
23739 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23740 (sqrt_test_data): New variable.
23741 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23742 (tan_test_data): New variable.
23743 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23744 (tan_tonearest_test_data): New variable.
23745 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23746 (tan_towardzero_test_data): New variable.
23747 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23748 (tan_downward_test_data): New variable.
23749 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23750 (tan_upward_test_data): New variable.
23751 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23752 (tanh_test_data): New variable.
23753 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23754 (tgamma_test_data): New variable.
23755 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23756 (trunc_test_data): New variable.
23757 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23758 (y0_test_data): New variable.
23759 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23760 (y1_test_data): New variable.
23761 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23762 (significand_test_data): New variable.
23763 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23764
7187d844
CG
237652013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23766
23767 [BZ #12387]
23768 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23769
f63fae73
PT
237702013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23771
23772 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23773
8a67a4b3
AJ
237742013-05-10 Andreas Jaeger <aj@suse.de>
23775
23776 [BZ #15448]
23777 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23778 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23779
51df539d
JM
237802013-05-10 Joseph Myers <joseph@codesourcery.com>
23781
23782 * math/gen-libm-test.pl (adjust_arg): New function.
23783 (special_functions): Handle generating output in both functions
23784 and arrays.
23785 (parse_args): Likewise.
23786 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23787 $in_func argument to parse_args.
23788 * math/libm-test.inc (struct test_f_f_data): New type.
23789 (IF_ROUND_INIT_): New macro.
23790 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23791 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23792 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23793 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23794 (ROUND_RESTORE_): Likewise.
23795 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23796 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23797 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23798 (ROUND_RESTORE_FE_UPWARD): Likewise.
23799 (RUN_TEST_LOOP_f_f): New macro.
23800 (acos_test_data): New variable.
23801 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23802 (acos_tonearest_test_data): New variable.
23803 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23804
5c637fe5
SP
238052013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23806
23807 * benchtests/bench-skeleton.c (startup): Fix coding style.
23808
ab2b9461
JM
238092013-05-10 Joseph Myers <joseph@codesourcery.com>
23810
23811 [BZ #6809]
23812 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23813 negative infinity argument.
23814 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23815 negative infinity argument.
23816 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23817 negative infinity argument.
23818 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23819 domain errors.
23820
4c0fe6fe
FW
238212013-05-10 Florian Weimer <fweimer@redhat.com>
23822
23823 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23824 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23825 * iconv/iconv_prog.c (main): Likewise.
23826 * locale/programs/charmap-dir.c (charmap_readdir)
23827 (fopen_uncompressed): Likewise.
23828 * locale/programs/locfile.c (siblings_uncached)
23829 (write_locale_data): Use lstat64 instead of lstat.
23830 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23831 stat.
23832
a3375d29
AJ
238332013-05-10 Andreas Jaeger <aj@suse.de>
23834
23835 [BZ #15395]
23836 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23837 localization.
23838 Include <locale.h>.
23839
36129722
CD
238402013-05-09 Carlos O'Donell <carlos@redhat.com>
23841
23842 * elf/dl-close.c (_dl_close_worker): Add comments.
23843
faa7f811
JM
238442013-05-09 Joseph Myers <joseph@codesourcery.com>
23845
ed41ffef
JM
23846 [BZ #15359]
23847 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23848 high part of pi/2.
23849 (__ieee754_rem_pio2l): Update comments.
23850
d0213cd0
JM
23851 [BZ #15429]
23852 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23853 high part of pi/2.
23854 (__ieee754_rem_pio2l): Update comments.
23855
0d3e777a
JM
23856 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23857 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23858
24f56066
JM
23859 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23860 M_PI_4l.
23861
faa7f811
JM
23862 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23863 (M_PI_34_LOG10El): Likewise.
23864 (M_PI2_LOG10El): Likewise.
23865 (M_PI4_LOG10El): Likewise.
23866 (M_PI_LOG10El): Likewise.
23867
e9a5e0fd
AZ
238682013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23869
23870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23871
d8cd06db
JM
238722013-05-08 Joseph Myers <joseph@codesourcery.com>
23873
a0d9f9d7
JM
23874 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23875 (MINUS_ZERO_INIT): Likewise.
23876 (PLUS_INFTY_INIT): Likewise.
23877 (MINUS_INFTY_INIT): Likewise.
23878 (QNAN_VALUE_INIT): Likewise.
23879 (MAX_VALUE_INIT): Likewise.
23880 (MIN_VALUE_INIT): Likewise.
23881 (MIN_SUBNORM_VALUE_INIT): Likewise.
23882 (plus_zero): Initialize with PLUS_ZERO_INIT.
23883 (minus_zero): Initialize with MINUS_ZERO_INIT.
23884 (plus_infty): Initialize with PLUS_INFTY_INIT.
23885 (minus_infty): Initialize with MINUS_INFTY_INIT.
23886 (qnan_value): Initialize with QNAN_VALUE_INIT.
23887 (max_value): Initialize with MAX_VALUE_INIT.
23888 (min_value): Initialize with MIN_VALUE_INIT.
23889 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23890
ae08db3b
JM
23891 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23892 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23893 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23894 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23895
f44bf14a
JM
23896 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23897 (RUN_TEST_2_f): Likewise.
23898 (RUN_TEST_ff_f): Likewise.
23899 (RUN_TEST_fi_f): Likewise.
23900 (RUN_TEST_fl_f): Likewise.
23901 (RUN_TEST_fff_f): Likewise.
23902 (RUN_TEST_c_f): Likewise.
23903 (RUN_TEST_f_f1): Likewise.
23904 (RUN_TEST_fF_f1): Likewise.
23905 (RUN_TEST_fI_f1): Likewise.
23906 (RUN_TEST_ffI_f1): Likewise.
23907 (RUN_TEST_c_c): Likewise.
23908 (RUN_TEST_cc_c): Likewise.
23909 (RUN_TEST_f_i): Likewise.
23910 (RUN_TEST_f_i_tg): Likewise.
23911 (RUN_TEST_ff_i_tg): Likewise.
23912 (RUN_TEST_f_b): Likewise.
23913 (RUN_TEST_f_b_tg): Likewise.
23914 (RUN_TEST_f_l): Likewise.
23915 (RUN_TEST_f_L): Likewise.
23916 (RUN_TEST_sincos): Likewise.
23917 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23918 whether to show exceptions. Do not include ");\n" in return
23919 value.
23920 (special_functions): Output call to RUN_TEST_sincos instead of
23921 check_float calls. Update calls to new_test.
23922 (parse_args): Output call to single RUN_TEST_* macro instead of
23923 check_* calls and other assignments. Update calls to new_test.
23924
d8cd06db
JM
23925 [BZ #2546]
23926 [BZ #2560]
23927 [BZ #5159]
23928 [BZ #15426]
23929 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23930 input to result for tgamma overflow.
23931 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23932 (gamma_coeff): New variable.
23933 (NCOEFF): New macro.
23934 (gamma_positive): New function.
23935 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23936 underflow here. Use gamma_positive instead of exp (lgamma) for
23937 other arguments.
23938 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23939 (gamma_coeff): New variable.
23940 (NCOEFF): New macro.
23941 (gammaf_positive): New function.
23942 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23943 underflow here. Use gamma_positive instead of exp (lgamma) for
23944 other arguments.
23945 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23946 (gamma_coeff): New variable.
23947 (NCOEFF): New macro.
23948 (gammal_positive): New function.
23949 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23950 underflow here. Use gamma_positive instead of exp (lgamma) for
23951 other arguments.
23952 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23953 (gamma_coeff): New variable.
23954 (NCOEFF): New macro.
23955 (gammal_positive): New function.
23956 (__ieee754_gammal_r): Handle positive infinity, overflow and
23957 underflow here. Handle NaN the same as positive infinity. Remove
23958 check x < 0xffffffff for negative integers. Use gamma_positive
23959 instead of exp (lgamma) for other arguments.
23960 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23961 (gamma_coeff): New variable.
23962 (NCOEFF): New macro.
23963 (gammal_positive): New function.
23964 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23965 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23966 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23967 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23968 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23969 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23970 * sysdeps/generic/math_private.h (__gamma_productf): New
23971 prototype.
23972 (__gamma_product): Likewise.
23973 (__gamma_productl): Likewise.
23974 * math/Makefile (libm-calls): Add gamma_product.
23975 * math/libm-test.inc (tgamma_test): Add more tests.
23976 * sysdeps/i386/fpu/libm-test-ulps: Update.
23977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23978
bb7cf681
OB
239792013-05-08 Ondřej Bílka <neleai@seznam.cz>
23980
23981 * benchtests/bench-skeleton.c (main): Preheat CPU.
23982
ba853947
AJ
239832013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23984
23985 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23986
8347c74c
RM
239872013-05-07 Roland McGrath <roland@hack.frob.com>
23988
23989 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23990 and _dl_skip_args_internal.
23991
e8dd4791
CD
239922013-05-07 Carlos O'Donell <carlos@redhat.com>
23993
23994 * manual/message.texi (Message Translation): Talk about users.
23995 Message to key mapping impacts design.
23996
c7405830
RM
239972013-05-06 Roland McGrath <roland@hack.frob.com>
23998
a9173057
RM
23999 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24000
976e2f03
RM
24001 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24002
9723ffc5
RM
24003 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24004 * sysdeps/wordsize-64/glob64.c: ... here.
24005
962e6658
RM
24006 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24007 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24008 New macros.
24009
ee586a6d
RM
24010 * debug/getlogin_r_chk.c: Moved to ...
24011 * login/getlogin_r_chk.c: ... here.
24012 * debug/Makefile (routines): Move getlogin_r_chk to ...
24013 * login/Makefile (routines): ... here.
24014 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24015 * login/Versions (libc: GLIBC_2.4): ... here.
24016
355f9165
RM
24017 * io/poll.c (__poll): Renamed from poll.
24018 Add libc_hidden_def.
24019 (poll): Define as weak alias.
24020
bd9ffde6
RM
24021 * debug/ptsname_r_chk.c: Moved to ...
24022 * login/ptsname_r_chk.c: ... here.
24023 * debug/Makefile (routines): Move ptsname_r_chk to ...
24024 * login/Makefile (routines): ... here.
24025 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24026 * login/Versions (libc: GLIBC_2.4): ... here.
24027
8fb16a04
RM
24028 * posix/getlogin.c: Moved to ...
24029 * login/getlogin.c: ... here.
24030 * posix/getlogin_r.c: Moved to ...
24031 * login/getlogin_r.c: ... here.
24032 * posix/getlogin_r.c: Moved to ...
24033 * login/getlogin_r.c: ... here.
24034 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24035 * login/Makefile (routines): ... here.
24036 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24037 * login/Versions (libc: GLIBC_2.0): ... here.
24038
b99b892f
RM
24039 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24040 (setrlimit): Define as weak alias.
24041
c7405830
RM
24042 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24043 Call __ names for open, ftruncate, and close.
24044 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24045 (truncate): Define as weak alias.
24046
5bf96de5
JM
240472013-05-06 Joseph Myers <joseph@codesourcery.com>
24048
9ea3513c
JM
24049 * math/gen-libm-test.pl (parse_args): Initialize x before each
24050 test of frexp, modf and remquo.
24051
5bf96de5
JM
24052 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24053 test signgam value.
24054
16e616a7
AZ
240552013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24056
24057 [BZ #15418]
24058 [BZ #15419]
24059 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24060 internal tests.
24061 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24062
d5e82754
RM
240632013-05-06 Roland McGrath <roland@hack.frob.com>
24064
24065 * elf/dl-writev.h: New file.
24066 * elf/dl-misc.c: Include it.
24067 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24068 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24069
a7548d41
JM
240702013-05-04 Joseph Myers <joseph@codesourcery.com>
24071
b7dab1e4
JM
24072 * math/libm-test.inc (noXFails): Remove variable.
24073 (noXPasses): Likewise.
24074 (BUILD_COMPLEX_INT): Remove macro.
24075 (print_screen): Remove xfail argument.
24076 (print_screen_max_error): Likewise.
24077 (update_stats): Likewise.
24078 (print_max_error): Likewise. Update calls to other affected
24079 functions.
24080 (print_complex_max_error): Likewise.
24081 (test_single_exception): Update calls to print_screen.
24082 (test_single_errno): Likewise.
24083 (check_float_internal): Remove xfail argument. Update calls to
24084 other affected functions.
24085 (check_float): Likewise.
24086 (check_complex): Likewise.
24087 (check_int): Likewise.
24088 (check_long): Likewise.
24089 (check_bool): Likewise.
24090 (check_longlong): Likewise.
24091 (main): Don't print noXFails and noXPasses.
24092 * math/gen-libm-test.pl (top level): Don't mention expected
24093 failure handling in comment.
24094 (new_test): Don't handle expected failures.
24095 (parse_args): Don't mention expected failure handling in comment.
24096 (generate_testfile): Don't handle expected failures.
24097 (parse_ulps): Likewise.
24098 (print_ulps_file): Likewise.
24099 (get_failure): Remove function.
24100 (output_test): Don't handle expected failures.
24101 * make/README.libm-test: Don't mention expected failure handling.
24102
a7548d41
JM
24103 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24104 (minus_zero): Likewise.
24105 (plus_infty): Likewise.
24106 (minus_infty): Likewise.
24107 (qnan_value): Likewise.
24108 (max_value): Likewise.
24109 (min_value): Likewise.
24110 (min_subnorm_value): Likewise.
24111 (initialize): Do not initialize those variables dynamically.
24112
60bfd54c
RM
241132013-05-03 Roland McGrath <roland@hack.frob.com>
24114
cc0e6ed8
RM
24115 * io/open.c (__open_2): Moved to ...
24116 * io/open_2.c: ... this new file.
24117 * io/open64.c (__open64_2): Moved to ...
24118 * io/open64_2.c: ... this new file.
24119 * io/openat.c (__openat_2): Moved to ...
24120 * io/openat_2.c: ... this new file.
24121 * io/openat64.c (__openat64_2): Moved to ...
24122 * io/openat64_2.c: ... this new file.
24123 * io/Makefile (routines): Add them.
24124 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24125 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24126 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24127 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24128 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24129 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24130 (__openat64): Add hidden_ver.
24131 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24132 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24133
60bfd54c
RM
24134 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24135 Separately conditionalize setting of GLRO(dl_sysinfo) so
24136 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24137 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24138
83e7640f
AZ
241392013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24140
24141 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24142 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24143 definition.
24144 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24145 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24146 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24147 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24148 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24149
d5dc2af3
JM
241502013-05-03 Joseph Myers <joseph@codesourcery.com>
24151
c31a5b1e
JM
24152 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24153 test signgam value.
24154
d5dc2af3
JM
24155 * math/libm-test.inc (hypot_test): Do not use
24156 IGNORE_ZERO_INF_SIGN.
24157
164fd39d
AJ
241582013-05-03 Andreas Jaeger <aj@suse.de>
24159
24160 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24161 Linux 3.9.
24162 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24163 (PF_MAX): Adjust for VSOCK change.
24164
8237f48c
AZ
241652013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24166
24167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24168
9df02941
CD
241692013-05-02 Carlos O'Donell <carlos@redhat.com>
24170
24171 [BZ #15264]
24172 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24173 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24174 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24175
d422395e
DM
241762013-05-02 David S. Miller <davem@davemloft.net>
24177
24178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24179
a07c5731
OB
241802013-05-01 Ondřej Bílka <neleai@seznam.cz>
24181
24182 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24183
1324e37f
RM
241842013-05-01 Roland McGrath <roland@hack.frob.com>
24185
24186 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24187
0695940b
RS
241882013-05-01 Richard Smith <richard@metafoo.co.uk>
24189
bb5f27ad 24190 [BZ #14952]
0695940b
RS
24191 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24192 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24193 Use __attribute__ ((__gnu_inline__)).
24194 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24195 Don't use __attribute__ ((__gnu_inline__)).
24196
10de07f5
JM
241972013-05-01 Joseph Myers <joseph@codesourcery.com>
24198
24199 [BZ #15423]
24200 * math/s_catan.c (__catan): Handle small real or imaginary part of
24201 input specially to avoid spurious underflow.
24202 * math/s_catanf.c (__catanf): Likewise.
24203 * math/s_catanh.c (__catanh): Likewise.
24204 * math/s_catanhf.c (__catanhf): Likewise.
24205 * math/s_catanhl.c (__catanhl): Likewise.
24206 * math/s_catanl.c (__catanl): Likewise.
24207 * math/libm-test.inc (catan_test): Add more tests.
24208 (catanh_test): Likewise.
24209 * sysdeps/i386/fpu/libm-test-ulps: Update.
24210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24211
cb4d5414
AZ
242122013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24213
24214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24215
caf84319
JM
242162013-04-30 Joseph Myers <joseph@codesourcery.com>
24217
24218 [BZ #15416]
24219 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24220 accurately for denominator in atan2.
24221 * math/s_catanf.c (__catanf): Likewise.
24222 * math/s_catanh.c (__catanh): Likewise.
24223 * math/s_catanhf.c (__catanhf): Likewise.
24224 * math/s_catanhl.c (__catanhl): Likewise.
24225 * math/s_catanl.c (__catanl): Likewise.
24226 * math/libm-test.inc (catan_test): Add more tests.
24227 (catanh_test): Likewise.
24228 * sysdeps/i386/fpu/libm-test-ulps: Update.
24229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24230
d569c6ee
SP
242312013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24232
6dbe713d
SP
24233 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24234
f0ee064b
SP
24235 * benchtests/Makefile (bench): Remove slow benchmarks.
24236 * benchtests/atan-inputs: Add slow benchmark inputs.
24237 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24238 (BENCH_FUNC): Accept variant offset.
24239 (VARIANT): Define.
24240 * benchtests/bench-skeleton.c (main): Run benchmark for each
24241 variant.
24242 * benchtests/cos-inputs: Add slow benchmark inputs.
24243 * benchtests/exp-inputs: Likewise.
24244 * benchtests/pow-inputs: Likewise.
24245 * benchtests/sin-inputs: Likewise.
24246 * benchtests/slowatan-inputs: Remove.
24247 * benchtests/slowatan.c: Remove.
24248 * benchtests/slowcos-inputs: Remove.
24249 * benchtests/slowcos.c: Remove.
24250 * benchtests/slowexp-inputs: Remove.
24251 * benchtests/slowexp.c: Remove.
24252 * benchtests/slowpow-inputs: Remove.
24253 * benchtests/slowpow.c: Remove.
24254 * benchtests/slowsin-inputs: Remove.
24255 * benchtests/slowsin.c: Remove.
24256 * benchtests/slowtan-inputs: Remove.
24257 * benchtests/slowtan.c: Remove.
24258 * benchtests/tan-inputs: Add slow benchmark inputs.
24259 * scripts/bench.pl: Parse comments and directives.
24260
d569c6ee
SP
24261 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24262 in CPPFLAGS.
24263 ($(objpfx)bench-%.c): Remove *-ITER.
24264 * benchtests/bench-modf.c: Remove definition of ITER.
24265 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24266 (main): Loop for DURATION seconds instead of fixed number of
24267 iterations.
24268 * scripts/bench.pl: Don't expect iterations in parameters.
24269
a6a242fe
RM
242702013-04-29 Roland McGrath <roland@hack.frob.com>
24271
24272 * io/fchdir.c (__fchdir): Renamed from fchdir.
24273 (fchdir): Define as weak alias.
24274
f2da7793
JM
242752013-04-29 Joseph Myers <joseph@codesourcery.com>
24276
24277 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24278 (ERRNO_EDOM): Likewise.
24279 (ERRNO_ERANGE): Likewise.
24280 (noErrnoTests): New variable.
24281 (init_max_error): Set errno to 0.
24282 (test_single_errno): New function.
24283 (test_errno): Likewise.
24284 (check_float_internal): Call test_errno. Set errno to 0.
24285 (check_complex): Refer to errno tests in comment.
24286 (check_int): Call test_errno. Set errno to 0.
24287 (check_long): Likewise.
24288 (check_bool): Likewise.
24289 (check_longlong): Likewise.
24290 (cos_test): Use ERRNO_* flags for errno tests instead of
24291 check_int.
24292 (expm1_test): Likewise.
24293 (fmod_test): Likewise.
24294 (ilogb_test): Likewise.
24295 (lgamma_test): Likewise.
24296 (pow_test): Likewise.
24297 (remainder_test): Likewise.
24298 (sin_test): Likewise.
24299 (tan_test): Likewise.
24300 (yn_test): Likewise.
24301 (initialize): Set errno to 0.
24302 (main): Print number of errno tests.
24303 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24304
b1a36ceb
AJ
243052013-04-29 Andreas Jaeger <aj@suse.de>
24306
c3ed8088
AJ
24307 [BZ #15084]
24308 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24309 and RES_USEVC.
24310
f1a24198
AJ
24311 [BZ #15085]
24312 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24313 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24314 unimplemented.
24315
9ce3b2cb
AJ
24316 [BZ #15380]
24317 * stdlib/random.c (__initstate): Return NULL if
24318 __initstate fails.
24319
f1a24198 24320 [BZ #15086]
b1a36ceb
AJ
24321 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24322 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24323 RES_SNGLKUPREOP.
24324
7e7b6f36
AZ
243252013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24326
24327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24328
4d14f449
JM
243292013-04-29 Joseph Myers <joseph@codesourcery.com>
24330
24331 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24332 of individual tests.
24333 (casin_test): Likewise.
24334 (casinh_test): Likewise.
24335
5b4217d7
JM
243362013-04-27 Joseph Myers <joseph@codesourcery.com>
24337
24338 [BZ #15409]
24339 * math/s_catan.c (__catan): Handle arguments with large real or
24340 imaginary part separately without squaring.
24341 * math/s_catanf.c (__catanf): Likewise.
24342 * math/s_catanh.c (__catanh): Likewise.
24343 * math/s_catanhf.c (__catanhf): Likewise.
24344 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24345 and redefine.
24346 (__catanhl): Handle arguments with large real or imaginary part
24347 separately without squaring.
24348 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24349 and redefine.
24350 (__catanl): Handle arguments with large real or imaginary part
24351 separately without squaring.
24352 * math/libm-test.inc (catan_test): Add more tests.
24353 (catanh_test): Likewise.
24354 * sysdeps/i386/fpu/libm-test-ulps: Update.
24355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24356
4220c3ef
AJ
243572013-04-27 Andreas Jaeger <aj@suse.de>
24358
24359 [BZ #15007]
24360 * stdlib/stdlib.h: Update guards for qecvt.
24361 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24362 <stdlib.h>.
24363
4721b2d1
AM
243642013-04-27 Allan McRae <allan@archlinux.org>
24365
24366 * sysdeps/i386/fpu/libm-test-ulps: Update.
24367
f0302940
JM
243682013-04-26 Joseph Myers <joseph@codesourcery.com>
24369
9457fd95
JM
24370 [BZ #15406]
24371 * math/s_catan.c: Include <float.h>.
24372 (__catan): Ensure underflow exception occurs for underflowed
24373 result.
24374 * math/s_catanf.c: Include <float.h>.
24375 (__catanf): Ensure underflow exception occurs for underflowed
24376 result.
24377 * math/s_catanh.c: Include <float.h>.
24378 (__catanh): Ensure underflow exception occurs for underflowed
24379 result.
24380 * math/s_catanhf.c: Include <float.h>.
24381 (__catanhf): Ensure underflow exception occurs for underflowed
24382 result.
24383 * math/s_catanhl.c: Include <float.h>.
24384 (__catanhl): Ensure underflow exception occurs for underflowed
24385 result.
24386 * math/s_catanl.c: Include <float.h>.
24387 (__catanl): Ensure underflow exception occurs for underflowed
24388 result.
24389 * math/libm-test.inc (catan_test): Add more tests.
24390 (catanh_test): Likewise.
24391
f0302940
JM
24392 [BZ #15405]
24393 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24394 underflowed result.
24395 * math/s_ccoshf.c (__ccoshf): Likewise.
24396 * math/s_ccoshl.c (__ccoshl): Likewise.
24397 * math/s_csin.c (__csin): Likewise.
24398 * math/s_csinf.c (__csinf): Likewise.
24399 * math/s_csinh.c (__csinh): Likewise.
24400 * math/s_csinhf.c (__csinhf): Likewise.
24401 * math/s_csinhl.c (__csinhl): Likewise.
24402 * math/s_csinl.c (__csinl): Likewise.
24403 * math/libm-test.inc (ccos_test): Add more tests.
24404 (ccosh_test): Likewise.
24405 (csin_test): Likewise.
24406 (csinh_test): Likewise.
24407
aa630f59
AZ
244082013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24409
24410 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24411 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24412 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24413 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24414 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24415 powerpc/power5+/fpu folders.
24416 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24417
24418
1b835983
MT
244192013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24420
24421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24422
73709b26
JM
244232013-04-25 Joseph Myers <joseph@codesourcery.com>
24424
24425 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24426 additions to variable.
24427 [$(config-machine) = x86_64] (modules-names): Likewise.
24428 ($(objpfx)tst-audit3): Remove dependency.
24429 ($(objpfx)tst-audit3.out): Likewise.
24430 ($(objpfx)tst-audit4): Likewise.
24431 ($(objpfx)tst-audit4.out): Likewise.
24432 ($(objpfx)tst-audit5): Likewise.
24433 ($(objpfx)tst-audit5.out): Likewise.
24434 ($(objpfx)tst-audit6): Likewise.
24435 ($(objpfx)tst-audit6.out): Likewise.
24436 ($(objpfx)tst-audit7): Likewise.
24437 ($(objpfx)tst-audit7.out): Likewise.
24438 (tst-audit3-ENV): Remove variable.
24439 (tst-audit4-ENV): Likewise.
24440 (tst-audit5-ENV): Likewise.
24441 (tst-audit6-ENV): Likewise.
24442 (tst-audit7-ENV): Likewise.
24443 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24444 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24445 addition to variable.
24446 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24447 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24448 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24449 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24450 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24451 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24452 tst-audit3, tst-audit4 and tst-audit5.
24453 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24454 tst-audit6 and tst-audit7.
24455 [$(subdir) = elf] (modules-names): Add audit modules for those
24456 tests.
24457 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24458 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24459 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24460 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24461 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24462 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24463 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24464 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24465 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24466 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24467 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24468 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24469 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24470 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24471 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24472 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24473 Likewise.
24474 [$(subdir) = elf && $(config-cflags-avx) = yes]
24475 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24476 [$(subdir) = elf && $(config-cflags-avx) = yes]
24477 (CFLAGS-tst-auditmod4a.c): Likewise.
24478 [$(subdir) = elf && $(config-cflags-avx) = yes]
24479 (CFLAGS-tst-auditmod4b.c): Likewise.
24480 [$(subdir) = elf && $(config-cflags-avx) = yes]
24481 (CFLAGS-tst-auditmod6b.c): Likewise.
24482 [$(subdir) = elf && $(config-cflags-avx) = yes]
24483 (CFLAGS-tst-auditmod6c.c): Likewise.
24484 [$(subdir) = elf && $(config-cflags-avx) = yes]
24485 (CFLAGS-tst-auditmod7b.c): Likewise.
24486 * elf/tst-audit3.c: Move to ...
24487 * sysdeps/x86_64/tst-audit3.c: ... here.
24488 * elf/tst-audit4.c: Move to ...
24489 * sysdeps/x86_64/tst-audit4.c: ... here.
24490 * elf/tst-audit5.c: Move to ...
24491 * sysdeps/x86_64/tst-audit5.c: ... here.
24492 * elf/tst-audit6.c: Move to ...
24493 * sysdeps/x86_64/tst-audit6.c: ... here.
24494 * elf/tst-audit7.c: Move to ...
24495 * sysdeps/x86_64/tst-audit7.c: ... here.
24496 * elf/tst-auditmod3a.c: Move to ...
24497 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24498 * elf/tst-auditmod3b.c: Move to ...
24499 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24500 * elf/tst-auditmod4a.c: Move to ...
24501 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24502 * elf/tst-auditmod4b.c: Move to ...
24503 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24504 * elf/tst-auditmod5a.c: Move to ...
24505 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24506 * elf/tst-auditmod5b.c: Move to ...
24507 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24508 * elf/tst-auditmod6a.c: Move to ...
24509 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24510 * elf/tst-auditmod6b.c: Move to ...
24511 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24512 * elf/tst-auditmod6c.c: Move to ...
24513 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24514 * elf/tst-auditmod7a.c: Move to ...
24515 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24516 * elf/tst-auditmod7b.c: Move to ...
24517 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24518
1ef74943
PP
245192013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24520
24521 [BZ #15366]
24522 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24523 define unconditionally.
24524 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24525 define unconditionally.
24526 (INT8_C, INT16_C, etc.): Likewise.
24527
93fd48c5
MR
245282013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24529
ae9552cf
MR
24530 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24531 __ehdr_start with hidden visibility.
24532
93fd48c5
MR
24533 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24534
418601aa
CD
245352013-04-24 Carlos O'Donell <carlos@redhat.com>
24536
24537 * math/libm-test.inc (cos_test): Use accurate hex constants.
24538 (sincost_test): Likewise.
24539
2f38fbfe
JM
245402013-04-24 Joseph Myers <joseph@codesourcery.com>
24541
5e221800
JM
24542 * math/libm-test.inc (catan_test): Add more tests.
24543 (catanh_test): Likewise.
24544
77f143fd
JM
24545 * math/s_catanf.c (__catanf): Use suffixed floating-point
24546 constants.
24547 * math/s_catanhf.c (__catanhf): Likewise.
24548 * math/s_catanhl.c (__catanhl): Likewise.
24549 * math/s_catanl.c (__catanl): Likewise.
24550
2f38fbfe
JM
24551 [BZ #15394]
24552 * math/s_catan.c (__catan): Calculate imaginary part of result
24553 with log1p not log unless computing log of number close to 0.
24554 * math/s_catanf.c (__catanf): Likewise.
24555 * math/s_catanl.c (__catanl): Likewise.
24556 * math/s_catanh.c (__catanh): Calculate real part of result with
24557 log1p not log unless computing log of number close to 0.
24558 * math/s_catanhf.c (__catanhf): Likewise.
24559 * math/s_catanhl.c (__catanhl): Likewise.
24560 * math/libm-test.inc (catan_test): Add more tests.
24561 (catanh_test): Likewise.
24562 * sysdeps/i386/fpu/libm-test-ulps: Update.
24563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24564
45d69176
SP
245652013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24566
24567 * benchtests/Makefile: Mention files in which fast and slow
24568 paths of math functions are implemented.
24569
87f51853
RM
245702013-04-23 Roland McGrath <roland@hack.frob.com>
24571
24572 * sysdeps/posix/timespec_get.c: New file.
24573
3c026539
AZ
245742013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24575
24576 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24577 POWER.
24578 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24579 for POWER.
24580 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24581 powerpc/power5/fpu folders.
24582 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24583 * benchtests/Makefile: Add modf testcase.
24584 * benchtests/bench-modf.c: New file: Benchmark test for mo
24585
ff491d14
SP
245862013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24587
24588 [BZ #14888]
24589 * time/Makefile (tests): Add tst-strptime-whitespace.
24590 * time/strptime_l.c (get_number): Use ISSPACE.
24591 (__strptime_internal): Likewise.
24592 * time/tst-strptime-whitespace.c: New test case.
24593
7ed3f4e8
AS
245942013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24595
24596 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24597 member.
24598 (_nss_files_init): Set it here.
24599
5c95f7b6
HC
246002013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24601
24602 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24603 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24604 unsigned.
24605
d34c9158
JBG
246062013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24607
24608 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24609
2169712d
SP
246102013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24611
24612 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24613 size just once.
24614
29c5de99
DM
246152013-04-21 David S. Miller <davem@davemloft.net>
24616
24617 * po/ru.po: Update Russion translation from translation project.
24618
ccdad15d
AC
246192013-04-17 Adam Conrad <adconrad@0c3.net>
24620
24621 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24622 and setfsgid.
24623
0f122b8d
CD
246242013-04-17 Carlos O'Donell <carlos@redhat.com>
24625
5c5b07da 24626 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24627 * configure: Regenerate.
5c5b07da 24628 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24629 Add example to error message.
24630 * sysdeps/i386/configure: Regenerate.
24631
037714dd
SP
246322013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24633
24634 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24635 slowtan.
24636 * benchtests/cos-inputs: New file.
24637 * benchtests/slowcos-inputs: New file.
24638 * benchtests/slowcos.c: New file.
24639 * benchtests/slowtan-inputs: New file.
24640 * benchtests/slowtan.c: New file.
24641 * benchtests/tan-inputs: New file.
24642
e913141d
RM
246432013-04-16 Roland McGrath <roland@hack.frob.com>
24644
24645 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24646 considered kosher.
24647
a2964074
SP
246482013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24649
4856bcd2
SP
24650 * benchtests/Makefile: Include cppflags-iterator.mk to add
24651 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24652
a2964074
SP
24653 * Makefile.in (bench-clean): New target.
24654 * benchtests/Makefile (bench-clean): Likewise.
24655
9fbf9aca
DH
246562013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24657
24658 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24659
207d1e2a
TS
246602013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24661
24662 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24663
306dfba9
AS
246642013-04-15 Andreas Schwab <schwab@suse.de>
24665
24666 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24667 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24668 * nscd/pwdcache.c (cache_addpw): Likewise.
24669 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24670 more than recsize.
24671
206a6699
SP
246722013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24673
24674 * benchtests/Makefile (bench): Write all output to
24675 bench-out.tmp together.
24676
0582f6b3
AS
246772013-04-15 Andreas Schwab <schwab@suse.de>
24678
24679 * nscd/nscd.c (main): Don't fork again after closing files.
24680
acb4325f
SP
246812013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24682
5cb26d0a
SP
24683 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24684
acb4325f
SP
24685 * benchtests/Rules (bench-deps): Collect dependencies into a
24686 single variable. Add Makefile to dependencies.
24687 ($(objpfx)bench-%.c): Depend on bench-deps.
24688
47792506
RM
246892013-04-12 Roland McGrath <roland@hack.frob.com>
24690 Xavier Roche <roche+kml2@exalead.com>
24691
24692 [BZ #15361]
24693 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24694 just that it's a file descriptor.
24695 * manual/llio.texi (Synchronizing AIO Operations): Update description
24696 for EBADF error from aio_fsync.
24697
8fc1bee5
SP
246982013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24699
24700 * Rules (bench): Move target definition...
24701 * benchtests/Makefile: ... here.
24702
aba5e333
CD
247032013-04-11 Carlos O'Donell <carlos@redhat.com>
24704
24705 * math/libm-test.inc (cos_test): Fix PI/2 test.
24706 (sincos_test): Likewise.
24707 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24708 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24709
273cdee8
AS
247102013-04-11 Andreas Schwab <schwab@suse.de>
24711
6ecec3b6
AS
24712 [BZ #13988]
24713 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24714 accept exponent character only when digits were seen.
24715 * stdio-common/Makefile (tests): Add bug26.
24716 * stdio-common/bug26.c: New file.
24717
273cdee8
AS
24718 [BZ #14293]
24719 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24720 non-freeable.
24721
8da491f5
SP
247222013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24723
01dc6df9
SP
24724 * Makeconfig (rtld-prefix): Define built linker prefix.
24725 * Rules (run-bench): Use it.
24726 * math/Makefile (run-regen-ulps): Likewise.
24727
8da491f5
SP
24728 * Rules (bench): Remove eval.
24729
abe7f530
SP
247302013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24731 Roland McGrath <roland@hack.frob.com>
24732 Ondrej Bilka <neleai@seznam.cz>
24733
24734 [BZ #15346]
24735 * time/getdate.c: Include ctype.h and alloca.h.
24736 (__getdate_r): Trim leading and trailing spaces of input.
24737 * time/tst-getdate.c (tests): Add tests with leading and
24738 trailing spaces.
24739
61c23e62
RM
247402013-04-08 Roland McGrath <roland@hack.frob.com>
24741
24742 [BZ #14280]
24743 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24744 when computing value.
24745
7208a313
CD
247462013-04-06 Carlos O'Donell <carlos@redhat.com>
24747
085b2d41
CD
24748 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24749 Use testrun.sh to run libm tests.
24750
7208a313
CD
24751 [BZ #15309]
24752 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24753
872c0acd
MM
247542013-04-06 Marko Myllynen <myllynen@redhat.com>
24755
24756 [BZ #15264]
24757 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24758
26510bdd
CD
247592013-04-06 Carlos O'Donell <carlos@redhat.com>
24760
24761 * Makefile.in (regen-ulps): New target.
24762 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24763 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24764 [ifneq (no,$(PERL)] (regen-ulps): New target.
24765 [ifeq (no,$(PERL)] (regen-ulps): New target.
24766 * math/libm-test.inc (ulps_file_name): Define.
24767 (output_dir): New variable.
24768 (options): Add "output-dir" option.
24769 (parse_opt): Handle 'o' case.
24770 (main): If output_dir is non-NULL use it as a prefix
24771 otherwise use "".
24772 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24773
a01f19c8
CD
247742013-04-06 Carlos O'Donell <carlos@redhat.com>
24775
24776 [BZ #10060, #10062]
24777 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24778 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24779 fail configure if __sync_val_compare_and_swap is not inlined.
24780 * sysdeps/i386/configure: Regenerate.
24781 * configure.in: Build for i686 when configured for i386.
24782 * configure: Regenerate.
24783 * README: Remove i386 reference.
24784
b7a329a5
CD
247852013-04-06 Carlos O'Donell <carlos@redhat.com>
24786
24787 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24788 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24789
bf0f50df
TS
247902013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24791
ee091edf
TS
24792 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24793 (lmsnanval): New variables.
24794 (F): Add conversion tests.
24795 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24796 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24797
a8b792d6
TS
24798 * stdio-common/tstdiomisc.c (F): Properly collect individual
24799 tests' results.
24800
a1cbf437
TS
24801 [BZ #14686, #15336]
24802 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24803 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24804 Instead, use input NaN values or generate a qNaN by arithmetic
24805 operation. Also fix bugs to comply with the standard.
24806 * math/libm-test.inc (remainder_test): Add more tests.
24807
8b43a0c9
TS
24808 [BZ #15335, #15342]
24809 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24810 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24811 input NaN values or generate a qNaN by arithmetic operation.
24812
d91da4ce
TS
24813 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24814 unreachable code.
24815
bf0f50df
TS
24816 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24817 definitions.
24818
05e166c8
JM
248192013-04-03 Joseph Myers <joseph@codesourcery.com>
24820
24821 [BZ #14478]
24822 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24823 underflowed result.
24824 * math/s_cexpf.c (__cexpf): Likewise.
24825 * math/s_cexpl.c (__cexpl): Likewise.
24826 * math/libm-test.inc (cexp_test): Add more tests.
24827
1cef1b19
AS
248282013-04-03 Andreas Schwab <schwab@suse.de>
24829
24830 [BZ #15330]
24831 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24832 order arrays from heap if bigger than alloca cutoff.
24833
74d87055
TS
248342013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24835
24836 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24837 (SNAN_TESTS_double): Refer to GCC PR56831.
24838 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24839 GCC PR56828.
24840
d755bba4
SP
248412013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24842
90d5d5bb
SP
24843 * Rules (bench): Move bench.out after the run is complete.
24844
73e0cd5d
SP
24845 * Rules (bench): Echo currently running benchmark.
24846
64aabd4b
SP
24847 * benchtests/Makefile (bench): Add atan and slowatan.
24848 * benchtests/atan-inputs: New file.
24849 * benchtests/slowatan-inputs: New file.
24850 * benchtests/slowatan.c: New file.
24851
c871eccd
SP
24852 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24853 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24854 its value.
24855
d755bba4
SP
24856 [BZ #15305]
24857 * sysdeps/unix/sysv/linux/kernel-features.h
24858 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24859 __ASSUME_XFS_RESTRICTED_CHOWN.
24860 * sysdeps/unix/sysv/linux/pathconf.c
24861 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24862 Save and restore errno.
24863
52ce4860
JM
248642013-04-02 Joseph Myers <joseph@codesourcery.com>
24865
24866 [BZ #15327]
24867 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24868 arguments using __kernel_casinh.
24869 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24870 arguments using __kernel_casinhf.
24871 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24872 arguments using __kernel_casinhl.
24873 * math/libm-test.inc (cacosh_test): Add more tests.
24874 * sysdeps/i386/fpu/libm-test-ulps: Update.
24875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24876
81f311c2
SP
248772013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24878
e7906a47
SP
24879 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24881
92e3664b
SP
24882 * bench/Makefile (bench): Add sin and slowsin.
24883 * benchtests/sin-inputs: New file.
24884 * benchtests/slowsin-inputs: New file.
24885 * benchtests/slowsin.c: New file.
24886
81f311c2
SP
24887 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24888 (bench): Add slowexp and slowpow.
24889 (exp-ITER): Increase iterations.
24890 (pow-ITER): Likewise.
24891 * benchtests/exp-inputs: Change input.
24892 * benchtests/pow-inputs: Likewise.
24893 * benchtests/slowexp-inputs: New file.
24894 * benchtests/slowexp.c: New file.
24895 * benchtests/slowpow-inputs: New file.
24896 * benchtests/slowpow.c: New file.
24897
ab0f1aa9
AZ
248982013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24899
24900 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24901 instructions.
24902 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24903 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24904 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24905 * benchtests/Makefile: Add rint benchtest.
24906 * benchtests/rint-inputs: Input for rint benchtest.
24907
57267616
TS
249082013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24909
24910 * Versions.def (libm): Add GLIBC_2.18.
24911 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24912 hidden libm prototypes.
24913 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24914 * math/Makefile (libm-calls): Add s_issignaling.
24915 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24916 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24917 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24918 declaration.
24919 * math/math.h [__USE_GNU] (issignaling): New macro.
24920 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24921 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24922 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24923 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24924 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24925 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24926 * manual/arith.texi (issignaling): New section.
24927 * manual/libm-err-tab.pl (@all_functions): Update comment.
24928 * math/gen-libm-test.pl (parse_args): Apply special handling for
24929 issignaling.
24930 * math/libm-test.inc (print_float, issignaling_test): New
24931 functions.
24932 (check_float_internal): Add issignaling checks.
24933 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24934 default definition.
24935 * sysdeps/powerpc/math-tests.h: New file.
24936 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24937 tests.
24938 * math/test-snan.c (TEST_FUNC): Likewise.
24939
6142896d
DM
249402013-03-30 David S. Miller <davem@davemloft.net>
24941
24942 * po/de.po: Update from translation team.
24943
ccc8cadf
JM
249442013-03-30 Joseph Myers <joseph@codesourcery.com>
24945
24946 [BZ #10357]
24947 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24948 imaginary part less than 1.0 and real part less than 0.5
24949 specially.
24950 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24951 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24952 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24953 (cacos_test): Add more tests.
24954 (casin_test): Likewise.
24955 (casinh_test): Likewise.
24956 * sysdeps/i386/fpu/libm-test-ulps: Update.
24957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24958
0f6a8d4b
SP
249592013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24960
0d1029de
SP
24961 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24962 ONE with its value.
24963
c2d94018
SP
24964 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24965 (__pow_mp): Replace ONE and MONE with their values.
24966 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24967 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24968 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24969 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24970 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24971 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24972
27ec37f1
SP
24973 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24974
a64d7e0e
SP
24975 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24976 (__pow_mp): Replace ZERO and MZERO with their values.
24977 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24978 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24979 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24980 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24981 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24982 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24983 (__sqr): Likewise.
24984
d26dd3eb
SP
24985 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24986
0f6a8d4b
SP
24987 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24988
e57b0c61
RM
249892013-03-28 Roland McGrath <roland@hack.frob.com>
24990
24991 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24992 Declare with __attribute__ ((weak)).
24993 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24994 Call __call_tls_dtors only if it's not NULL.
24995
356b3480
RM
249962013-03-28 Roland McGrath <roland@hack.frob.com>
24997
288f7d79
RM
24998 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24999 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25000 magic __ehdr_start linker symbol if it's defined.
25001 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25002 them up here if it was already done.
25003
dc0a0263
RM
25004 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25005 (_dl_aux_init): Use const in cast when setting it.
25006 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25007 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25008 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25009
3d3436ae
RM
25010 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25011 Declare them here.
25012 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25013 * csu/libc-tls.c: Nor here.
25014 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25015
356b3480
RM
25016 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25017 (__libc_message): Never call vsyslog.
25018
b0f1246a
AM
250192013-03-28 Alan Modra <amodra@gmail.com>
25020
25021 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25022 Define as empty.
25023 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25024 Likewise.
25025
fbbe2b9a
AZ
250262013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25027
25028 [BZ #15214]
25029 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25030 underflow.
25031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25032
1728ab37
SP
250332013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25034
7a86be6e
SP
25035 [BZ #15304]
25036 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25037 Don't add gid passed as argument.
25038
1728ab37
SP
25039 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25040
3a7182a1
JM
250412013-03-27 Joseph Myers <joseph@codesourcery.com>
25042
25043 [BZ #15307]
25044 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25045 imaginary part between 1.0 and 1.5 and real part less than 0.5
25046 specially.
25047 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25048 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25049 * math/libm-test.inc (cacos_test): Add more tests.
25050 (casin_test): Likewise.
25051 (casinh_test): Likewise.
25052 * sysdeps/i386/fpu/libm-test-ulps: Update.
25053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25054
6f2e90e7
SP
250552013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25056
5739f705
SP
25057 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25058 constants.
25059 (norm): Likewise.
25060 (denorm): Likewise.
25061 (__dbl_mp): Likewise.
25062 (add_magnitudes): Likewise.
25063 (sub_magnitudes): Likewise.
25064 (__add): Likewise.
25065 (__sub): Likewise.
25066 (__mul): Likewise.
25067 (__sqr): Likewise.
25068 (__inv): Likewise.
25069 (__dvd): Likewise.
25070
e375e83d
SP
25071 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25072 commented code.
25073 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25074 (__dubcos): Likewise.
25075 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25076 (__ieee754_acos): Likewise.
25077 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25078 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25079 (__exp1): Likewise.
25080 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25081 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25082 (log1): Likewise.
25083 (my_log2): Likewise.
25084 (checkint): Likewise.
25085 * sysdeps/ieee754/dbl-64/e_remainder.c
25086 (__ieee754_remainder): Likewise.
25087 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25088 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25089 (bsloww): Likewise.
25090 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25091
6f2e90e7
SP
25092 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25093 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25094 MANTISSA_STORE_T to store computations on mantissa. Use
25095 macros for rounding and division.
25096 (denorm): Likewise.
25097 (__dbl_mp): Likewise.
25098 (add_magnitudes): Likewise.
25099 (sub_magnitudes): Likewise.
25100 (__mul): Likewise.
25101 (__sqr): Likewise.
25102 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25103 powers of two in terms of TWOPOW macro.
25104 (mp_no): Make type of mantissa as MANTISSA_T.
25105 [!RADIXI]: Define RADIXI.
25106 [!TWO52]: Define TWO52.
25107 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25108
fce14d4e
AZ
251092013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25110
25111 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25112 llroundl symbol when building for PPC32.
25113
9ad027fb
MW
251142013-03-24 Mark H Weaver <mhw@netris.org>
25115
25116 * manual/arith.texi (Normalization Functions): Fix prototypes for
25117 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25118
e42a38dd
AZ
251192013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25120
25121 [BZ #13889]
25122 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25123 high value to check if expl overflow.
25124 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25125 to check for underflow and overflow.
25126 * math/libm-test.inc: Add exp test.
25127
2e0fb521
DL
251282013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25129
25130 [BZ #11120]
25131 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25132 with NOT_IN_libc.
25133
b5784d95
AZ
251342013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25135
25136 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25137 symbol.
25138
5aa4a1a1
TS
251392013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25140
bdef0be7
TS
25141 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25142 wrap blocks consisting of several statements.
25143
5aa4a1a1
TS
25144 * sysdeps/generic/math-tests.h: New file.
25145 * sysdeps/i386/fpu/math-tests.h: Likewise.
25146 * math/test-snan.c: Include it.
25147 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25148
98c48fe5
JM
251492013-03-21 Joseph Myers <joseph@codesourcery.com>
25150
25151 [BZ #15285]
25152 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25153 (__ieee754_j0l): Do not improve calculations using cos of twice
25154 input for inputs above LDBL_MAX / 2.0L.
25155 (__ieee754_y0l): Likewise.
25156 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25157 (__ieee754_j1l): Do not improve calculations using cos of twice
25158 input for inputs above LDBL_MAX / 2.0L.
25159 (__ieee754_y1l): Likewise.
25160 * math/libm-test.inc (j0_test): Add another test.
25161 (j1_test): Likewise.
25162 (y0_test): Likewise.
25163 (y1_test): Likewise.
25164 * sysdeps/i386/fpu/libm-test-ulps: Update.
25165
3775a8bc
SP
251662013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25167
25168 * Rules ($(objpfx)bench-%.c): Include code from a C source
25169 file.
25170
0a1b2ae6
JM
251712013-03-21 Joseph Myers <joseph@codesourcery.com>
25172
25173 [BZ #15287]
25174 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25175 imaginary part 1.0 and real part less than 0.5 specially.
25176 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25177 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25178 * math/libm-test.inc (cacos_test): Add more tests.
25179 (casin_test): Likewise.
25180 (casinh_test): Likewise.
25181 * sysdeps/i386/fpu/libm-test-ulps: Update.
25182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25183
b33d4ce4
SP
251842013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25185
25186 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25187 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25188
bef0b507
JM
251892013-03-20 Joseph Myers <joseph@codesourcery.com>
25190
25191 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25192 * config.make.in (config-cflags-sse4): Remove variable.
25193 (config-cflags-avx): Likewise.
25194 (config-cflags-sse2avx): Likewise.
25195 (config-cflags-novzeroupper): Likewise.
25196 (config-asflags-i686): Likewise.
25197 (have-mfma4): Likewise.
25198 (have-as-vis3): Likewise.
25199 (MIG): Likewise.
25200 * configure.in (MIG): Do not AC_SUBST.
25201 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25202 (libc_cv_cc_sse4): Do not AC_SUBST.
25203 (libc_cv_cc_avx): Likewise.
25204 (libc_cv_cc_sse2avx): Likewise.
25205 (libc_cv_cc_novzeroupper): Likewise.
25206 (libc_cv_cc_fma4): Likewise.
25207 (libc_cv_as_i686): Likewise.
25208 (libc_cv_sparc_as_vis3): Likewise.
25209 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25210 LIBC_CONFIG_VAR.
25211 (config-asflags-i686): Likewise.
25212 (config-cflags-avx): Likewise.
25213 (config-cflags-sse2avx): Likewise.
25214 (have-mfma4): Likewise.
25215 (config-cflags-novzeroupper): Likewise.
25216 * sysdeps/mach/configure.in (MIG): Likewise.
25217 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25218 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25219 LIBC_CONFIG_VAR.
25220 (config-cflags-avx): Likewise.
25221 (config-cflags-sse2avx): Likewise.
25222 (have-mfma4): Likewise.
25223 (config-cflags-novzeroupper): Likewise.
25224 * configure: Regenerated.
25225 * sysdeps/i386/configure: Likewise.
25226 * sysdeps/mach/configure: Likewise.
25227 * sysdeps/sparc/configure: Likewise.
25228 * sysdeps/x86_64/configure: Likewise.
25229
912cc4b3
RM
252302013-03-20 Roland McGrath <roland@hack.frob.com>
25231
25232 [BZ #14812]
25233 * locale/programs/localedef.c (options): Put N_ translation marker
25234 on argument names, not just descriptions.
25235
04eed2b0
MS
252362013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25237
25238 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25239
a065ceff
OB
252402013-03-20 Ondřej Bílka <neleai@seznam.cz>
25241
9bb2a810 25242 [BZ #14176]
a065ceff
OB
25243 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25244
a600e5ce
RM
252452013-03-19 Roland McGrath <roland@hack.frob.com>
25246
25247 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25248 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25249 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25250 [!BEFORE_ABORT] (before_abort): New function.
25251 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25252 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25253 (writev_for_fatal): New function.
25254 (WRITEV_FOR_FATAL): New macro; call that.
25255 (backtrace_and_maps): New function.
25256 (BEFORE_ABORT): New macro; call that.
25257 (struct str_list): Type removed.
25258 (__libc_message, __libc_fatal): Functions removed.
25259 Include <sysdeps/posix/libc_fatal.c> instead.
25260
6b18bea6
JM
252612013-03-19 Joseph Myers <joseph@codesourcery.com>
25262
25263 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25264 constants.
25265 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25266 double constants.
25267
aaa8cb4b
AS
252682013-03-19 Andreas Schwab <schwab@suse.de>
25269
44673770
AS
25270 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25271 * sysdeps/gnu/configure: Regenerate.
25272
aaa8cb4b
AS
25273 * configure.in: Substitute libc_cv_rtlddir.
25274 * configure: Regenerate.
25275 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25276 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25277 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25278 * elf/Makefile (install-others, CFLAGS-interp.c)
25279 (ldso_install, common-ldd-rewrite): Likewise.
25280 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25281 $(inst_slibdir)/$(rtld-installed-name).
25282 * scripts/rellns-sh: Add -p option.
25283 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25284 for source.
25285
d3cfc668
SP
252862013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25287
25288 * manual/nptl.texi: Renamed to ...
25289 * manual/threads.texi: ... this.
25290 * manual/Makefile (chapters): Update.
25291
0e2b9cdd
RM
252922013-03-18 Roland McGrath <roland@hack.frob.com>
25293
25294 [BZ #14812]
25295 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25296 on argument names, not just descriptions.
0e2b9cdd
RM
25297 * malloc/memusagestat.c (options): Likewise.
25298 * nss/getent.c (options): Likewise.
63270c24
RM
25299
253002013-03-18 Benno Schulenberg <bensberg@justemail.net>
25301
25302 [BZ #14812]
25303 * iconv/iconv_prog.c (options): Put N_ translation marker
25304 on argument names, not just descriptions.
25305 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 25306
b2e1393c
OB
253072013-03-18 Ondrej Bilka <neleai@seznam.cz>
25308
25309 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25310 implementation which is faster on all x86_64 architectures.
25311 Tested on AMD, Intel Nehalem, SNB, IVB.
25312 * sysdeps/x86_64/strnlen.S: Likewise.
25313
25314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25315 Remove all multiarch strlen and strnlen versions.
25316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25317 Remove strlen and strnlen related parts.
25318
25319 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25320 Inline strlen part.
25321 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25322
25323 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25324 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25325 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25326 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25327 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25328 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25329
ec4ff04d
CD
253302013-03-17 Carlos O'Donell <carlos@redhat.com>
25331
25332 * manual/memory.texi (Malloc Tunable Parameters):
25333 Sort parameters alphabetically. Add comments for missing entries.
25334
cd18e90a
DM
253352013-03-17 David S. Miller <davem@davemloft.net>
25336
25337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25338
2a185d32
JM
253392013-03-16 Joseph Myers <joseph@codesourcery.com>
25340
d2f9799e
JM
25341 [BZ #15283]
25342 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25343 for arguments at most half maximum finite value.
25344 * math/libm-test.inc (j0_test): Add more tests.
25345 (j1_test): Likewise.
25346 (y0_test): Likewise.
25347 (y1_test): Likewise.
25348 * sysdeps/i386/fpu/libm-test-ulps: Update.
25349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25350
2a185d32
JM
25351 [BZ #14155]
25352 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25353 1 / x and functions P and Q for arguments above 0x1p256L.
25354 (__ieee754_y0l): Likewise.
25355 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25356 (__ieee754_y1l): Likewise.
25357 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25358 (j1_test): Likewise.
25359 (y0_test): Likewise.
25360 (y1_test): Likewise.
25361
6cbec759
TS
253622013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25363
25364 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25365 variable.
25366
bc16e260
RM
253672013-03-15 Roland McGrath <roland@hack.frob.com>
25368
aefc9b8c
RM
25369 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25370 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25371 zero since it's initialized to EXEC_PAGESIZE.
25372
bc16e260
RM
25373 * sysdeps/unix/sysv/linux/ldsodefs.h
25374 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25375 * sysdeps/generic/ldsodefs.h: ... here.
25376
a57da955
TS
253772013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25378
af00a34d
TS
25379 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25380
495ded2c
TS
25381 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25382 math/test-snan.c.
25383 * math/test-snan.c: Renamed from
25384 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25385 * math/Makefile (tests): Add test-snan.
25386 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25387 test-powerpc-snan.
25388
777b0332
TS
25389 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25390 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25391 functions.
25392 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25393 __builtin_nan family of functions.
25394 * math/libm-test.inc (initialize): Initialize qnan_value with
25395 __builtin_nan family of functions.
25396 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25397 Remove variables.
25398 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25399 Remove functions.
25400 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25401 storage class. Initialize qNaN_var and sNaN_var with
25402 __builtin_nan and __builtin_nans families of functions,
25403 respectively.
25404
64d063b8
TS
25405 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25406 (sqrt_test): Remove duplicate test with qNaN input.
25407 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25408 (round_test, signbit_test, significand_test): Note missing +/-Inf
25409 as well as qNaN tests.
25410
67e971f1
TS
25411 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25412 qNaN_var. Fix a few strings, too.
25413 * math/libm-test.inc (nan_value): Rename to qnan_value.
25414 * math/gen-libm-test.pl (%beautify): Adjust to that.
25415 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25416 * math/test-misc.c (main): Likewise.
25417 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25418 to __qnan_bytes, and __qnan_union, respectively.
25419 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25420 Likewise.
25421 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25422 and lqnanval, respectively.
25423 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25424 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25425 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25426 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25427
64487e12
TS
25428 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25429 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25430 doubles.
25431
e015e27b
TS
25432 * math/test-misc.c (main): Fix copy'n'pastos.
25433 * misc/tst-efgcvt.c (special): Likewise.
25434
a57da955
TS
25435 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25436 Remove declarations.
25437
1e380345
SP
254382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25439
25440 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25441 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25442 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25443 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25444
ef26eece
AZ
254452013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25446
25447 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25448 macro to return vdso values correctly in IFUNC implementations.
25449 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25450 Optimization by using IFUNC.
25451
8cfdb7e0
SP
254522013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25453 Richard Henderson <rth@redhat.com>
25454 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25455
25456 * Makefile.in (bench): New target.
25457 * NEWS: Mention the benchmark framework.
25458 * Rules (bench): Likewise.
25459 (binaries-bench): Generate binaries for functions to
25460 benchmark.
25461 * benchtests/Makefile: New makefile for benchmark tests.
25462 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25463 programs.
25464 * benchtests/exp-inputs: New input file for EXP function.
25465 * benchtests/pow-inputs: New input file for POW function.
25466 * scripts/bench.pl: New script to generate source files for
25467 benchmark programs.
25468
bcda9880
SP
254692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25470
d22ca8cd
SP
25471 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25472 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25473 computations on mantissa. Use macros for rounding and
25474 division.
25475 (denorm): Likewise.
25476 (__dbl_mp): Likewise.
25477 (add_magnitudes): Likewise.
25478 (sub_magnitudes): Likewise.
25479 (__mul): Likewise.
25480 (__sqr): Likewise.
25481 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25482 powers of two in terms of TWOPOW macro.
25483 (mp_no): Make type of mantissa as MANTISSA_T.
25484 [!RADIXI]: Define RADIXI.
25485 [!TWO52]: Define TWO52.
25486 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25487
bcda9880
SP
25488 * manual/nptl.texi (cindex): Modify threads to pthreads.
25489
06d5adfb
JM
254902013-03-15 Joseph Myers <joseph@codesourcery.com>
25491
25492 * sysdeps/x86_64/preconfigure: Regenerated.
25493
41c7328e
JM
254942013-03-14 Joseph Myers <joseph@codesourcery.com>
25495
25496 [BZ #14155]
25497 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25498 0x1p28 and above.
25499 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25500 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25501 0x1p28 and above.
25502 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25503 * math/libm-test.inc (j0_test): Do not allow one spurious
25504 underflow exception.
25505 (y1_test): Likewise.
25506
e25cfa60
SP
255072013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25508
0409959c
SP
25509 * manual/Makefile (chapters): Add nptl.
25510 * manual/debug.texi (Debugging Support): Add link to Threads
25511 chapter.
25512 * manual/nptl.texi: New file.
25513
e25cfa60
SP
25514 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25515
58a1335e
PB
255162013-03-14 Petr Baudis <pasky@ucw.cz>
25517
25518 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25519 for non-NULL pointer before the memory validity test. Pointed
25520 out by Holger Brunck <holger.brunck@keymile.com>.
25521
9dc7c64f
AS
255222013-03-13 Andreas Schwab <schwab@suse.de>
25523
25524 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25525 instead of .os.
25526
54206aa6
JM
255272013-03-13 Joseph Myers <joseph@codesourcery.com>
25528
25529 * timezone/zic.c: Update from tzcode 2013b.
25530
e98cdb38
CD
255312013-03-12 Carlos O'Donell <carlos@redhat.com>
25532
25533 * manual/install.texi (Configuring and compiling):
25534 Mention i686 and i586.
25535 * INSTALL: Regenerate.
25536
9967e003
RM
255372013-03-12 Roland McGrath <roland@hack.frob.com>
25538
25539 * sysdeps/init_array/elf-init.c: New file.
25540 * csu/elf-init.c
25541 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25542 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25543
25544 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25545 __gmon_start__ as global, but as static with a .preinit_array pointer.
25546 * sysdeps/init_array/gmon-start.c: New file. Use that.
25547 * sysdeps/init_array/crti.S: New file, empty except for comments.
25548 * sysdeps/init_array/crtn.S: Likewise.
25549
e6b5a293 255502013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25551
25552 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25553 definining bcopy.
80f844c9
OB
25554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25555 Remove Prefer_SSE_for_memop.
25556 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25557 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25558 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25560 memset-x86-64.
80f844c9 25561 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25562 Remove bzero, memset ifunc support.
80f844c9
OB
25563 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25564 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25565 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25566 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25567
fb6b0fcb
AS
255682013-03-11 Andreas Schwab <schwab@suse.de>
25569
25570 [BZ #15234]
25571 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25572 by SHLIB_COMPAT.
25573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25574 (GLIBC_2.16): Remove pthread_atfork.
25575
3e6bd4b1
PP
255762013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25577
25578 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25579 (ptestcases.h): Likewise.
25580
222d7f00
RM
255812013-03-08 Roland McGrath <roland@hack.frob.com>
25582
25583 * Makeconfig ($(common-objpfx)config.status): Depend on
25584 sysdeps/*/preconfigure{,.in} too.
25585
1ba4f030
JM
255862013-03-08 Joseph Myers <joseph@codesourcery.com>
25587
a222d91a
JM
25588 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25589 (__free_hook): Use void * instead of __malloc_ptr_t.
25590 (__malloc_hook): Likewise.
25591 (__realloc_hook): Likewise.
25592 (__memalign_hook): Likewise.
25593 (__after_morecore_hook): Likewise.
25594 * malloc/arena.c (save_malloc_hook): Likewise.
25595 (save_free_hook): Likewise.
25596 * malloc/hooks.c (malloc_hook_ini): Likewise.
25597 (realloc_hook_ini): Likewise.
25598 (memalign_hook_ini): Likewise.
25599 * malloc/malloc.c (malloc_hook_ini): Likewise.
25600 (realloc_hook_ini): Likewise.
25601 (memalign_hook_ini): Likewise.
25602 (__free_hook): Likewise.
25603 (__malloc_hook): Likewise.
25604 (__realloc_hook): Likewise.
25605 (__memalign_hook): Likewise.
25606 (__libc_malloc): Likewise.
25607 (__libc_free): Likewise.
25608 (__libc_realloc): Likewise.
25609 (__libc_memalign): Likewise.
25610 (__libc_valloc): Likewise.
25611 (__libc_pvalloc): Likewise.
25612 (__libc_calloc): Likewise.
25613 (__posix_memalign): Likewise.
25614 * malloc/morecore.c (__sbrk): Likewise.
25615 (__default_morecore): Likewise.
25616
5cc45e10
JM
25617 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25618
dd54b864
JM
25619 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25620 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25621 __malloc_ptrdiff_t.
25622
1ba4f030
JM
25623 * malloc/malloc.h (__malloc_size_t): Remove macro.
25624 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25625 __malloc_size_t.
25626 (old_memalign_hook): Likewise.
25627 (old_realloc_hook): Likewise.
25628 (struct hdr): Likewise.
25629 (flood): Likewise.
25630 (mallochook): Likewise.
25631 (memalignhook): Likewise.
25632 (reallochook): Likewise.
25633 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25634 (tr_old_realloc_hook): Likewise.
25635 (tr_old_memalign_hook): Likewise.
25636 (tr_mallochook): Likewise.
25637 (tr_reallochook): Likewise.
25638 (tr_memalignhook): Likewise.
25639
edf66e57
AZ
256402013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25641
25642 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25643 default_ldbl_pack and using as default implementation.
25644 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25645 implementation.
25646 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25647 redundant definition.
25648 (ldbl_insert_mantissa): Likewise.
25649 (ldbl_canonicalize): Likewise.
25650 (ldbl_nearbyint): Likewise.
25651 (ldbl_pack): Rename to ldbl_pack_ppc.
25652 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25653 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25654 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25655
6d9145d8
SP
256562013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25657
25658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25659 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25660 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25661 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25663 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25664 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25665 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25666
4dd4e157
AJ
256672013-03-07 Andreas Jaeger <aj@suse.de>
25668
25669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25670 bits/mman-linux.h.
25671
adbb8027
SP
256722013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25673
ce544b5b
SP
25674 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25675 Include mpa.h and declare __MPEXP.
25676 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25677 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25678 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25679 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25680 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25681 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25682 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25683
4cc149fd
SP
25684 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25685 (__slowpow): Use long double EXPL and LOGL functions to
25686 compute POW.
25687 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25688 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25689 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25690 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25691 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25692 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25693
e6ebd4a7
SP
25694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25695 intermediate variable to calculate exponent.
25696 (__sqr): Likewise.
25697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25698 Likewise.
25699 (__sqr): Likewise.
25700
82a9811d
SP
25701 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25702 [!NO__SQR]: Define __sqr.
25703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25704 and NO__SQR. Remove all code except __mul and __sqr. Include
25705 sysdeps/ieee754/dbl-64/mpa.c.
25706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25707
adbb8027
SP
25708 [BZ #12723]
25709 * posix/Makefile (tests): Add tst-pathconf.
25710 * posix/tst-pathconf.c: New test case.
25711 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25712 _PC_PIPE_BUF.
25713 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25714
39120df9
PF
257152013-03-06 Patsy Franklin <pfrankli@redhat.com>
25716
25717 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25718
67525cb8
AJ
257192013-03-06 Andreas Jaeger <aj@suse.de>
25720
664a9ce4
AJ
25721 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25722 definition via __MAP_ANONYMOUS.
25723
8e39047d
AJ
25724 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25725 it's not part of Linux headers.
25726
67525cb8
AJ
25727 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25728 (MAP_HUGE_MASK): Define.
25729
25730 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25731 Define.
25732 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25733 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25734 Define.
25735 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25736 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25737 Define.
25738 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25739 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25740 Define.
25741 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25742
25743 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25744 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25745 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25746 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25747 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25748 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25749
25750 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25751 Handle f2fs.
25752
25753 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25754 Handle f2fs and efivarfs.
25755
25756 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25757 f2fs.
25758
25759 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25760 (EFIVARFS_MAGIC): Add.
25761 (F2FS_LINK_MAX): Add.
25762
e1b42695
PP
257632013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25764
25765 * stdio-common/vfprintf.c: Replace __builtin_expect with
25766 __glibc_unlikely.
25767
2d67d91a
JM
257682013-03-06 Joseph Myers <joseph@codesourcery.com>
25769
25770 [BZ #13550]
25771 * sysdeps/generic/bp-sym.h: Remove file.
25772 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25773 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25774 <bp-sym.h> and <bp-asm.h>.
25775 (__longjmp): Don't use BP_SYM.
25776 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25777 and <bp-asm.h>.
25778 (memcpy): Don't use BP_SYM.
25779 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25780 <bp-sym.h> and <bp-asm.h>.
25781 (memcpy): Don't use BP_SYM.
25782 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25783 <bp-asm.h>.
25784 (memcpy): Don't use BP_SYM.
25785 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25786 <bp-asm.h>.
25787 (memset): Don't use BP_SYM.
25788 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25789 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25790 (__bzero): Don't use BP_SYM.
25791 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25792 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25793 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25794 <bp-sym.h> and <bp-asm.h>.
25795 (memcmp): Don't use BP_SYM. Remove comment about bounded
25796 pointers.
25797 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25798 <bp-sym.h> and <bp-asm.h>.
25799 (memcpy): Don't use BP_SYM.
25800 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25801 <bp-sym.h> and <bp-asm.h>.
25802 (memset): Don't use BP_SYM.
25803 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25804 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25805 (__bzero): Don't use BP_SYM.
25806 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25807 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25808 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25809 <bp-sym.h> and <bp-asm.h>.
25810 (strncmp): Don't use BP_SYM. Remove comment about bounded
25811 pointers.
25812 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25813 <bp-sym.h> and <bp-asm.h>.
25814 (memcpy): Don't use BP_SYM.
25815 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25816 <bp-sym.h> and <bp-asm.h>.
25817 (memset): Don't use BP_SYM.
25818 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25819 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25820 (__bzero): Don't use BP_SYM.
25821 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25822 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25823 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25824 <bp-sym.h> and <bp-asm.h>.
25825 (__memchr): Don't use BP_SYM.
25826 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25827 <bp-sym.h> and <bp-asm.h>.
25828 (memcmp): Don't use BP_SYM. Remove comment about bounded
25829 pointers.
25830 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25831 <bp-sym.h> and <bp-asm.h>.
25832 (memcpy): Don't use BP_SYM.
25833 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25834 <bp-sym.h> and <bp-asm.h>.
25835 (__mempcpy): Don't use BP_SYM.
25836 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25837 <bp-sym.h> and <bp-asm.h>.
25838 (__memrchr): Don't use BP_SYM.
25839 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25840 <bp-sym.h> and <bp-asm.h>.
25841 (memset): Don't use BP_SYM.
25842 (__bzero): Likewise.
25843 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25844 <bp-sym.h> and <bp-asm.h>.
25845 (__rawmemchr): Don't use BP_SYM.
25846 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25847 <bp-sym.h> and <bp-asm.h>.
25848 (__STRCMP): Don't use BP_SYM.
25849 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25850 <bp-sym.h> and <bp-asm.h>.
25851 (strchr): Don't use BP_SYM.
25852 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25853 <bp-sym.h> and <bp-asm.h>.
25854 (__strchrnul): Don't use BP_SYM.
25855 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25856 <bp-sym.h> and <bp-asm.h>.
25857 (strlen): Don't use BP_SYM.
25858 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25859 <bp-sym.h> and <bp-asm.h>.
25860 (strncmp): Don't use BP_SYM. Remove comment about bounded
25861 pointers.
25862 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25863 <bp-sym.h> and <bp-asm.h>.
25864 (__strnlen): Don't use BP_SYM.
25865 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25866 <bp-sym.h> and <bp-asm.h>.
25867 (__GI__setjmp): Don't use BP_SYM.
25868 (_setjmp): Likewise.
25869 (__sigsetjmp): Likewise.
25870 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25871 (L(start_addresses)): Don't use BP_SYM.
25872 (_start): Likewise.
25873 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25874 <bp-asm.h>.
25875 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25876 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25877 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25878 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25879 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25880 <bp-asm.h>.
25881 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25882 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25883 about bounded pointers.
25884 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25885 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25886 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25887 <bp-asm.h>.
25888 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25889 about bounded pointers. Remove GKM FIXME comments.
25890 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25891 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25892 <bp-asm.h>.
25893 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25894 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25895 Remove GKM FIXME comments.
25896 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25897 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25898 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25899 <bp-asm.h>.
25900 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25901 about bounded pointers. Remove GKM FIXME comment.
25902 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25903 and <bp-asm.h>.
25904 (strncmp): Don't use BP_SYM. Remove comment about bounded
25905 pointers.
25906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25907 <bp-sym.h> and <bp-asm.h>.
25908 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25910 <bp-sym.h> and <bp-asm.h>.
25911 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25912 comment.
25913
cdcf361f
PP
259142013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25915
25916 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25917 call free(NULL).
25918
3c4a2b15
DM
259192013-03-05 David S. Miller <davem@davemloft.net>
25920
25921 * po/es.po: Update from translation team.
25922
cdcf361f 259232013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
25924
25925 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25926 <bits/mman-linux.h>.
25927 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25928 is fine.
25929 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25930 <bits/mman-linux.h> to end of file.
25931 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25932 is fine.
25933 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25934 <bits/mman-linux.h> to end of file.
25935 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25936 is fine.
25937 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25938 <bits/mman-linux.h> to end of file.
25939
25940 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25941 (MCL_CURRENT, MCL_FUTURE): Define here.
25942
5f67c04f
AK
259432013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25944
8a4473cc 25945 [BZ #15232]
5f67c04f
AK
25946 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25947 attribute_hidden.
25948 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25949
c3e94a95
AK
259502013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25951
25952 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25953 fourth parameter needed for rt_sigprocmask syscall.
25954 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25955 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25956 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25957 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25958 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25959 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25960
cfb6382a
JM
259612013-03-04 Joseph Myers <joseph@codesourcery.com>
25962
25963 [BZ #13550]
25964 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25965 comment about bounded pointers.
25966 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25967 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25968
539d8e01
AJ
259692013-03-04 Andreas Jaeger <aj@suse.de>
25970
25971 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25972 common definitions.
25973
25974 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25975 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25976 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25978 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
25979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25980
2e167a70 259812013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
25982
25983 [BZ #15055]
25984 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25985 __ieee754_sqrl instead of __sqrl.
25986
68508633
JM
259872013-03-01 Joseph Myers <joseph@codesourcery.com>
25988
25989 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25990 * sysdeps/powerpc/fpu_control.h: ... here.
25991 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25992 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25993 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25994 * sysdeps/powerpc/bits/mathinline.h: ... here.
25995
7775448e
RM
259962013-03-01 Roland McGrath <roland@hack.frob.com>
25997
25998 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25999 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26000 to just [NEED_DL_SYSINFO_DSO].
26001 * elf/dl-support.c: Likewise.
26002 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26003 * elf/rtld.c (dl_main): Likewise.
26004 * elf/setup-vdso.h (setup_vdso): Likewise.
26005 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26006 * sysdeps/unix/sysv/linux/dl-sysdep.c
26007 (_dl_discover_osversion): Likewise.
26008
4e9b5995
CD
260092013-03-01 Carlos O'Donell <carlos@redhat.com>
26010
26011 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26012 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26013
e23872c8
SP
260142013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26015
e5c74c63
SP
26016 * NEWS: Mention libm performance improvements and non-x86 PI
26017 futex support.
26018
e23872c8
SP
26019 * csu/libc-start.c (__pthread_initialize_minimal): Change
26020 function arguments.
26021 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26022
b5510883
JM
260232013-02-28 Joseph Myers <joseph@codesourcery.com>
26024
26025 [BZ #13550]
26026 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26027 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26028 <bp-sym.h> and <bp-asm.h>.
26029 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26030 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26031 and <bp-asm.h>.
26032 (memcpy): Don't use BP_SYM.
26033 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26034 <bp-asm.h>.
26035 (__mpn_add_n): Don't use BP_SYM.
26036 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26037 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26038 and <bp-asm.h>.
26039 (__mpn_addmul_1): Don't use BP_SYM.
26040 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26041 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26042 <bp-sym.h>.
26043 (_setjmp): Don't use BP_SYM.
26044 (__novmx_setjmp): Likewise.
26045 (__GI__setjmp): Likewise.
26046 (__vmx_setjmp): Likewise.
26047 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26048 <bp-sym.h>.
26049 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26050 (__bzero): Don't use BP_SYM.
26051 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26052 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26053 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26054 <bp-sym.h> and <bp-asm.h>.
26055 (memcpy): Don't use BP_SYM.
26056 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26057 <bp-sym.h> and <bp-asm.h>.
26058 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26059 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26060 <bp-sym.h> and <bp-asm.h>.
26061 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26062 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26063 <bp-asm.h>.
26064 (__mpn_lshift): Don't use BP_SYM.
26065 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26066 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26067 <bp-asm.h>.
26068 (memset): Don't use BP_SYM.
26069 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26070 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26071 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26072 <bp-asm.h>.
26073 (__mpn_mul_1): Don't use BP_SYM.
26074 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26075 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26076 <bp-sym.h> and <bp-asm.h>.
26077 (memcmp): Don't use BP_SYM.
26078 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26079 <bp-sym.h> and <bp-asm.h>.
26080 (memcpy): Don't use BP_SYM.
26081 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26082 <bp-sym.h> and <bp-asm.h>.
26083 (memset): Don't use BP_SYM.
26084 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26085 <bp-sym.h> and <bp-asm.h>.
26086 (strncmp): Don't use BP_SYM.
26087 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26088 <bp-sym.h> and <bp-asm.h>.
26089 (memcpy): Don't use BP_SYM.
26090 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26091 <bp-sym.h> and <bp-asm.h>.
26092 (memset): Don't use BP_SYM.
26093 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26094 <bp-sym.h> and <bp-asm.h>.
26095 (__memchr): Don't use BP_SYM.
26096 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26097 <bp-sym.h> and <bp-asm.h>.
26098 (memcmp): Don't use BP_SYM.
26099 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26100 <bp-sym.h> and <bp-asm.h>.
26101 (memcpy): Don't use BP_SYM.
26102 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26103 <bp-sym.h> and <bp-asm.h>.
26104 (__mempcpy): Don't use BP_SYM.
26105 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26106 <bp-sym.h> and <bp-asm.h>.
26107 (__memrchr): Don't use BP_SYM.
26108 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26109 <bp-sym.h> and <bp-asm.h>.
26110 (memset): Don't use BP_SYM.
26111 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26112 <bp-sym.h> and <bp-asm.h>.
26113 (__rawmemchr): Don't use BP_SYM.
26114 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26115 <bp-sym.h> and <bp-asm.h>.
26116 (__STRCMP): Don't use BP_SYM.
26117 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26118 <bp-sym.h> and <bp-asm.h>.
26119 (strchr): Don't use BP_SYM.
26120 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26121 <bp-sym.h> and <bp-asm.h>.
26122 (__strchrnul): Don't use BP_SYM.
26123 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26124 <bp-sym.h> and <bp-asm.h>.
26125 (strlen): Don't use BP_SYM.
26126 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26127 <bp-sym.h> and <bp-asm.h>.
26128 (strncmp): Don't use BP_SYM.
26129 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26130 <bp-sym.h> and <bp-asm.h>.
26131 (__strnlen): Don't use BP_SYM.
26132 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26133 <bp-asm.h>.
26134 (__mpn_rshift): Don't use BP_SYM.
26135 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26136 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26137 <bp-sym.h> and <bp-asm.h>.
26138 (__sigsetjmp): Don't use BP_SYM.
26139 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26140 (L(start_addresses)): Don't use BP_SYM.
26141 (_start): Likewise.
26142 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26143 <bp-asm.h>.
26144 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26145 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26146 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26147 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26148 <bp-asm.h>.
26149 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26150 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26151 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26152 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26153 <bp-asm.h>.
26154 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26155 comments.
26156 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26157 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26158 <bp-asm.h>.
26159 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26160 FIXME comments.
26161 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26162 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26163 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26164 <bp-asm.h>.
26165 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26166 comment.
26167 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26168 and <bp-asm.h>.
26169 (strncmp): Don't use BP_SYM,
26170 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26171 <bp-asm.h>.
26172 (__mpn_sub_n): Don't use BP_SYM.
26173 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26174 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26175 and <bp-asm.h>.
26176 (__mpn_submul_1): Don't use BP_SYM.
26177 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26179 <bp-sym.h> and <bp-asm.h>.
26180 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26182 <bp-sym.h> and <bp-asm.h>.
26183 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26184 comment.
26185
8d19fe64
SP
261862013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26187
26188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26189 Use ZK to minimize writes to Z.
26190 (sub_magnitudes): Simplify code a bit.
26191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26192 Use ZK to minimize writes to Z.
26193 (sub_magnitudes): Simplify code a bit.
26194
85bd816a
RM
261952013-02-27 Roland McGrath <roland@hack.frob.com>
26196
26197 * csu/gmon-start.c: Add special exception to license text.
26198
b5977bf2
RH
261992013-02-27 Richard Henderson <rth@redhat.com>
26200
26201 * scripts/config.guess: Update from config.git.
26202 * scripts/config.sub: Likewise.
26203
11d6e2f2
SP
262042013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26205
09c14ed2
SP
26206 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26207
a688864e
SP
26208 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26209
6295157a
SP
26210 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26211
b8de2202
SP
26212 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26213
11d6e2f2
SP
26214 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26215
7e80ddb8
RM
262162013-02-26 Roland McGrath <roland@hack.frob.com>
26217
26218 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26219 [$(build-shared = yes].
7e80ddb8 26220
7da6d9ed
SP
262212013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26222
45f05884
SP
26223 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26224 (__mul): Reduce iterations for calculating mantissa.
26225
2236d359
SP
26226 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26227 MPTWO.
26228 (__mpranred): Likewise.
26229
7da6d9ed
SP
26230 [BZ #15160]
26231 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26232 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26233
b7688c42
PE
262342013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26235
26236 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26237 Define __attribute__.
26238
53a5c423
SP
262392013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26240
26241 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26242 unused.
26243 * posix/regex_internal.h (__attribute): Remove.
26244 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26245 (re_string_context_at): Likewise.
26246 (bitset_not): Use __attribute__ and mark function as possibly
26247 unused.
26248 (bitset_merge): Likewise.
26249 (bitset_mask): Likewise.
26250 (re_string_char_size_at): Likewise.
26251 (re_string_wchar_at): Likewise.
26252 (re_string_elem_size_at): Likewise.
26253
60f5a8b5
SP
262542013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26255
2a983a2e
SP
26256 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26257 code.
26258 (cc32): Likewise.
26259
e69804d1
SP
26260 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26261 (__acr): Likewise.
26262 (__cpy): Likewise.
26263 (norm): Likewise.
26264 (denorm): Likewise.
26265 (__dbl_mp): Likewise.
26266 (add_magnitudes): Likewise.
26267 (sub_magnitudes): Likewise.
26268 (__mul): Likewise.
26269 (__inv): Likewise.
26270
2f22a1e8
SP
26271 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26272 style.
26273
8930ddc7
SP
26274 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26275 style.
26276
dc60cb11
SP
26277 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26278 code.
26279
60f5a8b5
SP
26280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26281 up changes with default code.
26282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26283 Likewise.
26284
b4d1fd33
AM
262852013-02-24 Allan McRae <allan@archlinux.org>
26286
faf6f8bc
AM
26287 * manual/socket.texi (The Internet Namespace): Order menu items
26288 to match that in the file.
26289
b4d1fd33
AM
26290 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26291 node listing of the info page menu.
26292
2366713d
JM
262932013-02-21 Joseph Myers <joseph@codesourcery.com>
26294
26295 [BZ #13550]
26296 * sysdeps/i386/bp-asm.h: Remove file.
26297 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26298 (PARMS): Do not use macros from bp-asm.h.
26299 (S1): Likewise.
26300 (S2): Likewise.
26301 (SIZE): Likewise.
26302 (__mpn_add_n): Do not use BP_SYM
26303 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26304 "bp-asm.h".
26305 (PARMS): Do not use macros from bp-asm.h.
26306 (S1): Likewise.
26307 (SIZE): Likewise.
26308 (__mpn_addmul_1): Do not use BP_SYM
26309 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26310 "bp-asm.h".
26311 (PARMS): Do not use macros from bp-asm.h.
26312 (SIGMSK): Likewise.
26313 (_setjmp): Likewise. Do not use BP_SYM.
26314 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26315 "bp-asm.h".
26316 (PARMS): Do not use macros from bp-asm.h.
26317 (SIGMSK): Likewise.
26318 (setjmp): Likewise. Do not use BP_SYM.
26319 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26320 "bp-asm.h".
26321 (PARMS): Do not use macros from bp-asm.h.
26322 (__frexp): Do not use BP_SYM.
26323 (frexp): Likewise.
26324 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26325 "bp-asm.h".
26326 (PARMS): Do not use macros from bp-asm.h.
26327 (__frexpf): Do not use BP_SYM.
26328 (frexpf): Likewise.
26329 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26330 "bp-asm.h".
26331 (PARMS): Do not use macros from bp-asm.h.
26332 (__frexpl): Do not use BP_SYM.
26333 (frexpl): Likewise.
26334 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26335 "bp-asm.h".
26336 (PARMS): Do not use macros from bp-asm.h.
26337 (__remquo): Do not use BP_SYM.
26338 (remquo): Likewise.
26339 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26340 "bp-asm.h".
26341 (PARMS): Do not use macros from bp-asm.h.
26342 (__remquof): Do not use BP_SYM.
26343 (remquof): Likewise.
26344 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26345 "bp-asm.h".
26346 (PARMS): Do not use macros from bp-asm.h.
26347 (__remquol): Do not use BP_SYM.
26348 (remquol): Likewise.
26349 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26350 "bp-asm.h".
26351 (PARMS): Do not use macros from bp-asm.h.
26352 (DEST): Likewise.
26353 (SRC): Likewise.
26354 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26355 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26356 "bp-asm.h".
26357 (PARMS): Do not use macros from bp-asm.h.
26358 (strlen): Do not use BP_SYM.
26359 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26360 "bp-asm.h".
26361 (PARMS): Do not use macros from bp-asm.h.
26362 (S1): Likewise.
26363 (S2): Likewise.
26364 (SIZE): Likewise.
26365 (__mpn_add_n): Do not use BP_SYM.
26366 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26367 "bp-asm.h".
26368 (PARMS): Do not use macros from bp-asm.h.
26369 (S1): Likewise.
26370 (SIZE): Likewise.
26371 (__mpn_addmul_1): Do not use BP_SYM.
26372 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26373 weak_alias.
26374 (bzero): Likewise.
26375 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26376 "bp-asm.h".
26377 (PARMS): Do not use macros from bp-asm.h.
26378 (S): Likewise.
26379 (SIZE): Likewise.
26380 (__mpn_lshift): Do not use BP_SYM.
26381 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26382 "bp-asm.h".
26383 (PARMS): Do not use macros from bp-asm.h.
26384 (DEST): Likewise.
26385 (SRC): Likewise.
26386 (LEN): Likewise.
26387 (memcpy): Likewise. Do not use BP_SYM.
26388 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26389 libc_hidden_def and weak_alias.
26390 (mempcpy): Do not use BP_SYM in weak_alias.
26391 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26392 "bp-asm.h".
26393 (PARMS): Do not use macros from bp-asm.h.
26394 (DEST): Likewise.
26395 (LEN): Likewise.
26396 [!BZERO_P] (CHR): Likewise.
26397 (memset): Likewise. Do not use BP_SYM.
26398 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26399 "bp-asm.h".
26400 (PARMS): Do not use macros from bp-asm.h.
26401 (S1): Likewise.
26402 (SIZE): Likewise.
26403 (__mpn_mul_1): Do not use BP_SYM.
26404 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26405 "bp-asm.h".
26406 (PARMS): Do not use macros from bp-asm.h.
26407 (S): Likewise.
26408 (SIZE): Likewise.
26409 (__mpn_rshift): Do not use BP_SYM.
26410 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26411 "bp-asm.h".
26412 (PARMS): Do not use macros from bp-asm.h.
26413 (STR): Likewise.
26414 (CHR): Likewise.
26415 (strchr): Likewise. Do not use BP_SYM.
26416 (index): Do not use BP_SYM in weak_alias.
26417 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26418 "bp-asm.h".
26419 (PARMS): Do not use macros from bp-asm.h.
26420 (DEST): Likewise.
26421 (SRC): Likewise.
26422 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26423 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26424 "bp-asm.h".
26425 (PARMS): Do not use macros from bp-asm.h.
26426 (strlen): Do not use BP_SYM.
26427 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26428 "bp-asm.h".
26429 (PARMS): Do not use macros from bp-asm.h.
26430 (S1): Likewise.
26431 (S2): Likewise.
26432 (SIZE): Likewise.
26433 (__mpn_sub_n): Do not use BP_SYM.
26434 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26435 "bp-asm.h".
26436 (PARMS): Do not use macros from bp-asm.h.
26437 (S1): Likewise.
26438 (SIZE): Likewise.
26439 (__mpn_submul_1): Do not use BP_SYM.
26440 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26441 "bp-asm.h".
26442 (PARMS): Do not use macros from bp-asm.h.
26443 (S1): Likewise.
26444 (S2): Likewise.
26445 (SIZE): Likewise.
26446 (__mpn_add_n): Do not use BP_SYM.
26447 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26448 weak_alias.
26449 (bzero): Likewise.
26450 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26451 "bp-asm.h".
26452 (PARMS): Do not use macros from bp-asm.h.
26453 (BLK2): Likewise.
26454 (LEN): Likewise.
26455 (memcmp): Do not use BP_SYM.
26456 (bcmp): Do not use BP_SYM in weak_alias.
26457 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26458 "bp-asm.h".
26459 (PARMS): Do not use macros from bp-asm.h.
26460 (DEST): Likewise.
26461 (SRC): Likewise.
26462 (LEN): Likewise.
26463 (memcpy): Likewise. Do not use BP_SYM.
26464 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26465 "bp-asm.h".
26466 (PARMS): Do not use macros from bp-asm.h.
26467 (DEST): Likewise.
26468 (SRC): Likewise.
26469 (LEN): Likewise.
26470 (memmove): Likewise. Do not use BP_SYM.
26471 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26472 "bp-asm.h".
26473 (PARMS): Do not use macros from bp-asm.h.
26474 (DEST): Likewise.
26475 (SRC): Likewise.
26476 (LEN): Likewise.
26477 (__mempcpy): Likewise. Do not use BP_SYM.
26478 (mempcpy): Do not use BP_SYM in weak_alias.
26479 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26480 "bp-asm.h".
26481 (PARMS): Do not use macros from bp-asm.h.
26482 (DEST): Likewise.
26483 (LEN): Likewise.
26484 [!BZERO_P] (CHR): Likewise.
26485 (memset): Likewise. Do not use BP_SYM.
26486 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26487 "bp-asm.h".
26488 (PARMS): Do not use macros from bp-asm.h.
26489 (STR2): Likewise.
26490 (strcmp): Do not use BP_SYM.
26491 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26492 "bp-asm.h".
26493 (PARMS): Do not use macros from bp-asm.h.
26494 (STR): Likewise.
26495 (DELIM): Likewise.
26496 [USE_AS_STRTOK_R] (SAVE): Likewise.
26497 (FUNCTION): Likewise. Do not use BP_SYM.
26498 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26499 aliases.
26500 (strtok_r): Likewise.
26501 (__GI___strtok_r): Likewise.
26502 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26503 (PARMS): Do not use macros from bp-asm.h.
26504 (S): Likewise.
26505 (SIZE): Likewise.
26506 (__mpn_lshift): Do not use BP_SYM.
26507 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26508 (PARMS): Do not use macros from bp-asm.h.
26509 (STR): Likewise.
26510 (CHR): Likewise.
26511 (__memchr): Do not use BP_SYM.
26512 (memchr): Do not use BP_SYM in weak_alias.
26513 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26514 (PARMS): Do not use macros from bp-asm.h.
26515 (BLK2): Likewise.
26516 (LEN): Likewise.
26517 (memcmp): Do not use BP_SYM.
26518 (bcmp): Do not use BP_SYM in weak_alias.
26519 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26520 (PARMS): Do not use macros from bp-asm.h.
26521 (S1): Likewise.
26522 (SIZE): Likewise.
26523 (__mpn_mul_1): Do not use BP_SYM.
26524 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26525 "bp-asm.h".
26526 (PARMS): Do not use macros from bp-asm.h.
26527 (STR): Likewise.
26528 (CHR): Likewise.
26529 (__rawmemchr): Do not use BP_SYM.
26530 (rawmemchr): Do not use BP_SYM in weak_alias.
26531 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26532 (PARMS): Do not use macros from bp-asm.h.
26533 (S): Likewise.
26534 (SIZE): Likewise.
26535 (__mpn_rshift): Do not use BP_SYM.
26536 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26537 (PARMS): Do not use macros from bp-asm.h.
26538 (SIGMSK): Likewise.
26539 (__sigsetjmp): Likewise. Do not use BP_SYM.
26540 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26541 (_start): Do not use BP_SYM.
26542 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26543 (PARMS): Do not use macros from bp-asm.h.
26544 (DEST): Likewise.
26545 (SRC): Likewise.
26546 (__stpcpy): Likewise. Do not use BP_SYM.
26547 (stpcpy): Do not use BP_SYM in weak_alias.
26548 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26549 "bp-asm.h".
26550 (PARMS): Do not use macros from bp-asm.h.
26551 (DEST): Likewise.
26552 (SRC): Likewise.
26553 (LEN): Likewise.
26554 (__stpncpy): Likewise. Do not use BP_SYM.
26555 (stpncpy): Do not use BP_SYM in weak_alias.
26556 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26557 (PARMS): Do not use macros from bp-asm.h.
26558 (STR): Likewise.
26559 (CHR): Likewise.
26560 (strchr): Likewise. Do not use BP_SYM.
26561 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26562 "bp-asm.h".
26563 (PARMS): Do not use macros from bp-asm.h.
26564 (STR): Likewise.
26565 (CHR): Likewise.
26566 (__strchrnul): Likewise. Do not use BP_SYM.
26567 (strchrnul): Do not use BP_SYM in weak_alias.
26568 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26569 "bp-asm.h".
26570 (PARMS): Do not use macros from bp-asm.h.
26571 (STOP): Likewise.
26572 (strcspn): Do not use BP_SYM.
26573 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26574 "bp-asm.h".
26575 (PARMS): Do not use macros from bp-asm.h.
26576 (STR): Likewise.
26577 (STOP): Likewise.
26578 (strpbrk): Likewise. Do not use BP_SYM.
26579 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26580 "bp-asm.h".
26581 (PARMS): Do not use macros from bp-asm.h.
26582 (STR): Likewise.
26583 (CHR): Likewise.
26584 (strrchr): Likewise. Do not use BP_SYM.
26585 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26586 (PARMS): Do not use macros from bp-asm.h.
26587 (SKIP): Likewise.
26588 (strspn): Do not use BP_SYM.
26589 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26590 (PARMS): Do not use macros from bp-asm.h.
26591 (STR): Likewise.
26592 (DELIM): Likewise.
26593 (SAVE): Likewise.
26594 (FUNCTION): Likewise. Do not use BP_SYM.
26595 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26596 aliases.
26597 (strtok_r): Likewise.
26598 (__GI___strtok_r): Likewise.
26599 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26600 (PARMS): Do not use macros from bp-asm.h.
26601 (S1): Likewise.
26602 (S2): Likewise.
26603 (SIZE): Likewise.
26604 (__mpn_sub_n): Do not use BP_SYM.
26605 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26606 "bp-asm.h".
26607 (PARMS): Do not use macros from bp-asm.h.
26608 (S1): Likewise.
26609 (SIZE): Likewise.
26610 (__mpn_submul_1): Do not use BP_SYM.
26611 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26612 <bp-sym.h>.
26613 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26614 and <bp-asm.h>.
26615 (PARMS): Do not use macros from bp-asm.h.
26616 (FLAGS): Likewise.
26617 (PTID): Likewise.
26618 (TLS): Likewise.
26619 (CTID): Likewise.
26620 (__clone): Do not use BP_SYM.
26621 (clone): Do not use BP_SYM in weak_alias.
26622 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26623 and <bp-asm.h>.
26624 (PARMS): Do not use macros from bp-asm.h.
26625 (LEN): Likewise.
26626 (__mmap64): Do not use BP_SYM.
26627 (mmap64): Do not use BP_SYM in weak_alias.
26628 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26629 <bp-sym.h> and <bp-asm.h>.
26630 (PARMS): Do not use macros from bp-asm.h.
26631 (__posix_fadvise64_l64): Do not use BP_SYM.
26632 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26633 (PARMS): Do not use macros from bp-asm.h.
26634 (NSOPS): Likewise.
26635 (semtimedop): Do not use BP_SYM.
26636 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26637 and <bp-asm.h>.
26638
582a3cff
AM
266392013-02-21 Allan McRae <allan@archlinux.org>
26640
26641 * manual/message.texi (Charset conversion in gettext):
26642 Move @end statement to beginning of line.
26643
bab8a695
SP
266442013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26645
80945231
SP
26646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26647 static.
26648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26649 Likewise.
26650
bab8a695
SP
26651 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26652 (denorm): Likewise.
26653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26655
e21d7aa7
AK
266562013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26657
26658 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26659 tail-call to the resolved function if pltexit isn't needed.
26660
4c7a4263
SP
266612013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26662
26663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26664 or Y being zero as being unlikely.
26665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26666 Likewise.
26667
41f49342
CD
266682013-02-20 Carlos O'Donell <carlos@redhat.com>
26669
26670 * manual/nss.texi (System Databases and Name Service Switch):
26671 Remove frobnicate @pxref.
26672
50022a93
TS
266732013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26674
26675 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26676 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26677
08cbd996
PM
266782013-02-20 Petr Machata <pmachata@redhat.com>
26679
26680 * elf/elf.h (R_ARM_TARGET1): New macro.
26681 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26682 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26683 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26684 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26685 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26686 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26687 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26688 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26689 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26690 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26691 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26692 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26693 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26694 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26695 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26696 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26697 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26698 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26699 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26700 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26701 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26702 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26703 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26704 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26705 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26706 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26707 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26708 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26709 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26710 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26711 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26712 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26713 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26714 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26715 (R_ARM_THM_GOT_BREL12): Likewise.
26716 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26717 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26718 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26719 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26720 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26721 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26722 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26723 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26724 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26725
c7b275d6
TS
267262013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26727
26728 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26729 __attribute_used__ to __attribute__ ((unused)).
26730
20cd7fb3
SP
267312013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26732
26733 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26734 powerpc mpa.c.
26735 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26736 comment formatting.
26737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26738
92945b52
JM
267392013-02-19 Joseph Myers <joseph@codesourcery.com>
26740
26741 [BZ #13550]
26742 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26743 Remove macro.
26744 (ENTER): Remove both macro definitions.
26745 (LEAVE): Likewise.
26746 (CHECK_BOUNDS_LOW): Likewise.
26747 (CHECK_BOUNDS_HIGH): Likewise.
26748 (CHECK_BOUNDS_BOTH): Likewise.
26749 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26750 (RETURN_BOUNDED_POINTER): Likewise.
26751 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26752 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26753 (POP_ERRNO_LOCATION_RETURN): Likewise.
26754 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26755 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26756 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26757 macros.
26758 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26759 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26760 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26761 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26762 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26763 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26764 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26765 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26766 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26767 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26768 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26769 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26770 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26771 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26772 removed macros.
26773 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26774 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26775 macros.
26776 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26777 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26778 * sysdeps/i386/i586/memset.S (memset): Likewise.
26779 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26780 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26781 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26782 macros.
26783 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26784 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26785 Change uses of L(2) to L(out).
26786 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26787 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26788 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26789 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26790 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26791 removed macros.
26792 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26793 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26794 macros.
26795 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26796 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26797 (RETURN): Do not use macro LEAVE.
26798 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26799 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26800 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26801 * sysdeps/i386/i686/memset.S (memset): Likewise.
26802 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26803 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26804 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26805 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26806 Likewise.
26807 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26808 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26809 L(1_2) and L(1_3) into L(1).
26810 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26811 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26812 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26813 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26814 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26815 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26816 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26817 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26818 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26819 macros.
26820 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26821 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26822 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26823 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26824 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26825 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26826 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26827 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26828 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26829 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26830 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26831 * sysdeps/i386/strspn.S (strspn): Likewise.
26832 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26833 conditional code.
26834 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26835 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26836 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26837 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26838 L(1_3) into L(1_1).
26839 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26840 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26841 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26842 macros.
26843 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26844
2389741a
JJ
268452013-02-19 Jakub Jelinek <jakub@redhat.com>
26846
26847 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26848 macro.
26849
2016b3cd
SP
268502013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26851
e4f22324
SP
26852 * math/atest-exp.c (exp_mpn): Remove ROUND.
26853 * math/atest-exp2.c (exp_mpn): Likewise.
26854 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26855
2016b3cd
SP
26856 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26857 * stdlib/tst-tls-atexit-lib.c: Likewise.
26858 * stdlib/tst-tls-atexit.c: Likewise.
26859
4be9b544
MF
268602013-02-18 Mike Frysinger <vapier@gentoo.org>
26861
26862 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26863 and __attribute_alloc_size__.
26864
2f62b9ee
MF
268652013-02-18 Mike Frysinger <vapier@gentoo.org>
26866
26867 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26868 __attribute_alloc_size__.
26869 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26870 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26871
6ff444c4
MF
268722013-02-18 Mike Frysinger <vapier@gentoo.org>
26873
26874 * include/programs/xmalloc.h: New file.
26875 * catgets/gencat.c: Include it.
26876 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26877 * elf/pldd.c: Likewise.
26878 * iconv/iconv_charmap.c: Likewise.
26879 * iconv/iconvconfig.c: Likewise.
26880 * iconv/strtab.c: Likewise.
26881 * locale/programs/locale.c: Likewise.
26882 * locale/programs/localedef.h: Likewise.
26883 * locale/programs/simple-hash.c: Likewise.
26884 * nscd/nscd.h: Likewise.
26885 * nss/makedb.c: Likewise.
26886 * sysdeps/generic/ldconfig.h: Likewise.
26887
be179c8a
SP
268882013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26889
ba384f6e
SP
26890 * Versions.def: Add GLIBC_2.18.
26891 * include/link.h (struct link_map): New member l_tls_dtor_count.
26892 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26893 (__call_tls_dtors): Likewise.
26894 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26895 __cxa_thread_atexit_impl.
26896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26897 Likewise.
26898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26899 Likewise.
26900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26901 Likewise.
26902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26903 Likewise.
26904 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26906 Likewise.
26907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26908 Likewise.
26909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26911 Likewise.
26912 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26913 (tests): Add test case tst-tls-atexit.
26914 (modules-names): Add shared library for tst-tls-atexit.
85891aca 26915 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
26916 (GLIBC_PRIVATE): Add __call_tls_dtors.
26917 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26918 for libstdc++.
26919 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26920 * stdlib/tst-tls-atexit.c: New test case.
26921 * stdlib/tst-tls-atexit-lib.c: New test case.
26922
ffaa74cf 26923 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 26924
be179c8a
SP
26925 * elf/Versions (ld): Add _dl_find_dso_for_object.
26926 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26927 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26928 (dl_open_worker): Use _dl_find_dso_for_object.
26929 * elf/dl-sym.c (do_sym): Likewise.
26930 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26931
f78b5caa
AK
269322013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26933
26934 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26935 Syntactic changes only.
26936 (_dl_runtime_profile): Do a tail-call to the resolved function.
26937
29691210
JM
269382013-02-17 Joseph Myers <joseph@codesourcery.com>
26939
26940 [BZ #13550]
26941 * sysdeps/x86_64/bp-asm.h: Remove file.
26942 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26943 <bp-sym.h> and <bp-asm.h>.
26944 (__clone): Do not use BP_SYM.
26945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26946 <bp-sym.h> and <bp-asm.h>.
26947 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26948 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26949 "bp-asm.h".
26950 (_setjmp): Do not use BP_SYM.
26951 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26952 "bp-asm.h".
26953 (setjmp): Do not use BP_SYM.
26954 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26955 libc_hidden_def.
26956 (mempcpy): Do not use BP_SYM in weak_alias.
26957 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26958 "bp-asm.h".
26959 (strchr): Do not use BP_SYM.
26960 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26961 "bp-asm.h".
26962 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26963 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26964 (_start): Do not use BP_SYM.
26965 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26966 "bp-asm.h".
26967 (strcat): Do not use BP_SYM.
26968 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26969 "bp-asm.h".
26970 (STRCMP): Do not use BP_SYM.
26971 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26972 "bp-asm.h".
26973 (STRCPY): Do not use BP_SYM.
26974 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26975 "bp-asm.h".
26976 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26977 "bp-asm.h".
26978 (FUNCTION): Do not use BP_SYM.
26979 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26980 weak_alias.
26981 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26982
f238fd19
AJ
269832013-02-17 Andreas Jaeger <aj@suse.de>
26984
26985 * time/Versions: Sort entries.
26986 * string/Versions: Likewise.
26987 * resolv/Versions: Likewise.
26988 * posix/Versions: Likewise.
26989 * iconv/Versions: Likewise.
26990 * elf/Versions: Likewise.
26991 * wcsmbs/Versions: Likewise.
26992
bd07f23c 269932013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 26994
22af19f9
SP
26995 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26996 loop termination condition.
26997
4709fe76
SP
26998 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26999 variable to calculate EZ.
27000 (__sqr): Likewise.
2d0e0f29
SP
27001
27002 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27003 the lower precision input.
27004
daaa7713
JM
270052013-02-15 Joseph Myers <joseph@codesourcery.com>
27006
27007 [BZ #13550]
27008 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27009 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27010 (run-via-rtld-prefix): Do not handle %-bp tests.
27011 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27012 (all-object-suffixes): Remove .ob.
27013 (bppfx): Remove variable.
27014 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27015 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27016 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27017 [$(build-bounded) = yes] (libtype.ob): Likewise.
27018 * Makerules (elide-routines.ob): Remove variable.
27019 (do-tests-clean): Do not handle *-bp.out.
27020 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27021 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27022 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27023 (tests): Do not include $(tests-bp.out).
27024 (xtests): Do not include $(xtests-bp.out).
27025 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27026 [$(build-bounded) = yes] ($(addprefix
27027 $(objpfx),$(binaries-bounded))): Remove rule.
27028 ($(objpfx)%-bp.out): Remove rule.
27029 * config.make.in (build-bounded): Remove variable.
27030 * crypt/Makefile [$(build-bounded) = yes]
27031 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27032 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27033 append to variable.
27034 [$(build-bounded) = yes] (install-lib): Likewise.
27035 [$(build-bounded) = yes] (generated): Likewise.
27036 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27037 Remove rule.
27038 * intl/Makefile [$(build-bounded) = yes]
27039 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27040 * math/Makefile [$(build-bounded) = yes]
27041 ($(tests:%=$(objpfx)%-bp): Likewise.
27042 * misc/Makefile [$(build-bounded) = yes]
27043 ($(objpfx)tst-tsearch-bp): Likewise.
27044 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27045 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27046 Remove dependency.
27047 * string/Makefile (o-objects.ob): Remove variable.
27048 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27049 (CFLAGS-.ob): Remove variable.
27050 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27051 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27052 both definitions of variable.
27053 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27054 (ASFLAGS-.ob): Remove variable.
27055
e97ed6dd
JM
270562013-02-14 Joseph Myers <joseph@codesourcery.com>
27057
2bdd4ca6
JM
27058 [BZ #13550]
27059 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27060 Remove __BOUNDED_POINTERS__ from condition.
27061 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27062 * string/bits/string2.h [!__NO_STRING_INLINES &&
27063 !__BOUNDED_POINTERS__]: Likewise.
27064 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27065 Likewise.
27066 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27067 Remove conditional code.
27068 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27069 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27070 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27071 condition.
27072
e97ed6dd
JM
27073 [BZ #13550]
27074 * csu/libc-start.c: Do not include <bp-sym.h>.
27075 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27076 * elf/dl-open.c: Do not include <bp-sym.h>.
27077 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27078 * math/fegetenv.c: Do not include <bp-sym.h>.
27079 (fegetenv): Do not use BP_SYM in versioned symbols.
27080 * nptl/sysdeps/pthread/bits/libc-lockP.h
27081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27082 <bp-sym.h>.
27083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27084 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27086 (__pthread_mutex_destroy): Likewise.
27087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27088 (__pthread_mutex_lock): Likewise.
27089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27090 (__pthread_mutex_trylock): Likewise.
27091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27092 (__pthread_mutex_unlock): Likewise.
27093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27094 (__pthread_mutexattr_init): Likewise.
27095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27096 (__pthread_mutexattr_destroy): Likewise.
27097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27098 (__pthread_mutexattr_settype): Likewise.
27099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27100 (__pthread_rwlock_init): Likewise.
27101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27102 (__pthread_rwlock_destroy): Likewise.
27103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27104 (__pthread_rwlock_rdlock): Likewise.
27105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27106 (__pthread_rwlock_tryrdlock): Likewise.
27107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27108 (__pthread_rwlock_wrlock): Likewise.
27109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27110 (__pthread_rwlock_trywrlock): Likewise.
27111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27112 (__pthread_rwlock_unlock): Likewise.
27113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27114 (__pthread_key_create): Likewise.
27115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27116 (__pthread_setspecific): Likewise.
27117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27118 (__pthread_getspecific): Likewise.
27119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27120 Likewise.
27121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27122 (_pthread_cleanup_push_defer): Likewise.
27123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27124 (_pthread_cleanup_pop_restore): Likewise.
27125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27126 (pthread_setcancelstate): Likewise.
27127 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27128 <bp-sym.h>.
27129 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27130 (memchr): Do not use BP_SYM in weak_alias.
27131 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27132 (fegetenv): Do not use BP_SYM in versioned symbols.
27133 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27134 (fesetenv): Do not use BP_SYM in versioned symbols.
27135 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27136 (feupdateenv): Do not use BP_SYM in versioned symbols.
27137 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27138 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27139 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27140 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27141 (open64): Do not use BP_SYM in weak_alias.
27142 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27143 (fegetenv): Do not use BP_SYM in versioned symbols.
27144 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27145 (fesetenv): Do not use BP_SYM in versioned symbols.
27146 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27147 (feupdateenv): Do not use BP_SYM in versioned symbols.
27148 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27149 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27150 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27151 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27152 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27153 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27154 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27155 <bp-sym.h>.
27156 (__libc_start_main): Do not use BP_SYM.
27157
d6752ccd
SP
271582013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27159
cb57ce60
SP
27160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27161 redundant return line.
27162 (norm): Likewise.
27163 (denorm): Likewise.
27164 (dbl_mp): Likewise.
27165 (sub_magnitudes): Likewise.
27166 (__add): Likewise.
27167 (__sub): Likewise.
27168 (__mul): Likewise.
27169 (__inv): Likewise.
27170 (__dvd): Likewise.
27171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27172 (norm): Likewise.
27173 (denorm): Likewise.
27174 (dbl_mp): Likewise.
27175 (sub_magnitudes): Likewise.
27176 (__add): Likewise.
27177 (__sub): Likewise.
27178 (__mul): Likewise.
27179 (__inv): Likewise.
27180 (__dvd): Likewise.
27181
f414520d
SP
27182 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27183 instead of __mul.
27184 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27185 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27186 (cc32): Likewise.
27187
d6752ccd
SP
27188 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27189 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27190 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27191 of __mul for squares.
27192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27193 function
27194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27195 Likewise.
27196 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27197 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27198
70d9946a
JM
271992013-02-13 Joseph Myers <joseph@codesourcery.com>
27200
27201 [BZ #13550]
27202 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27203 code.
27204 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27205 prototype or function definition. Rename ubp_* variables and
27206 parameters. Remove argv definitions conditional on
27207 [__BOUNDED_POINTERS__].
27208 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27209 * elf/dl-runtime.c (_dl_fixup): Likewise.
27210 * include/set-hooks.h (RUN_HOOK): Likewise.
27211 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27212 definition.
27213 * string/strcpy.c (strcpy): Do not use __unbounded.
27214 * sysdeps/generic/frame.h (struct layout): Likewise.
27215 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27216 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27217 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27218 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27219 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27220 (__backtrace): Likewise.
27221 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27222 use __ptrvalue.
27223 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27224 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27225 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27226 Likewise.
27227 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27228 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27229 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27230 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27231 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27232 Do not use __unbounded.
27233 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27234 Rename __unboundedrlimits parameter to rlimits in prototype.
27235 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27236 Do not use __unbounded.
27237 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27238 not use __ptrvalue.
27239 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27240 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27241 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27242 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27243 __ptrvalue or __unbounded.
27244 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27245 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27246 use __unbounded.
27247 (__new_msgctl): Do not use __ptrvalue.
27248 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27249 __unbounded.
27250 (__libc_msgrcv): Do not use __ptrvalue.
27251 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27252 startup_info): Do not use __unbounded.
27253 (__libc_start_main): Likewise. Rename ubp_* variables and
27254 parameters. Remove argv definitions conditional on
27255 [__BOUNDED_POINTERS__].
27256 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27257 __ptrvalue.
27258 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27259 use __unbounded.
27260 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27261 or __ptrvalue.
27262 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27263 use __unbounded.
27264 (__new_shmctl): Do not use __ptrvalue.
27265 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27266 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27267 Likewise.
27268 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27269 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27270 (__libc_sigaction): Likewise.
27271 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27272 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27273 Likewise.
27274 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27275
cc7834d6
OB
272762013-02-13 Ondřej Bílka <neleai@seznam.cz>
27277
ffb1ec7b 27278 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
27279
27280 * string/mempcpy.c: Implement by calling memcpy.
27281
bdf02814
SP
272822013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27283
c2af38aa
SP
27284 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27285
4e92d59e
SP
27286 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27287 evaluation.
27288
909279a5
SP
27289 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27290 values in the mantissa.
27291
bdf02814
SP
27292 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27293 minimize writes to Z.
27294 (sub_magnitudes): Simplify code a bit.
27295
cd525923
RM
272962013-02-12 Roland McGrath <roland@hack.frob.com>
27297
27298 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27299 from the message. The linker prefixes all warnings with that already.
27300
7e2f0d2d
AS
273012013-02-12 Andreas Schwab <schwab@suse.de>
27302
a445af0b
AS
27303 [BZ #15078]
27304 * posix/regexec.c (extend_buffers): Add parameter min_len.
27305 (check_matching): Pass minimum needed length.
27306 (clean_state_log_if_needed): Likewise.
27307 (get_subexp): Likewise.
27308 * posix/Makefile (tests): Add bug-regex34.
27309 (bug-regex34-ENV): Define.
27310 * posix/bug-regex34.c: New file.
27311
7e2f0d2d
AS
27312 [BZ #11561]
27313 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27314 elements compare against the byte sequence of it, not its name.
27315 * posix/Makefile (tests): Add bug-regex35.
27316 (bug-regex35-ENV): Define.
27317 * posix/bug-regex35.c: New file.
27318
a175b684
TV
273192013-02-11 Tom de Vries <tom@codesourcery.com>
27320
27321 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27322 comment.
27323 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27324 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27325 (CHECK_EOL): Add undef.
27326
310998fe 273272013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
27328
27329 * bits/stdlib-bsearch.h: New file.
27330 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 27331 * stdlib/stdlib.h: Likewise.
41eda41d 27332
8ded91fb
RM
273332013-02-11 Roland McGrath <roland@hack.frob.com>
27334
27335 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27336 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27337 declaration.
27338 * manual/search.texi (Array Search Function): Add missing const in
27339 lfind prototype.
27340 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27341 declaration to use rlim_t.
27342 (Basic Scheduling Functions): Remove erroneous const from
27343 sched_getparam prototype. Remove erroneous * from
27344 sched_get_priority_max and sched_get_priority_min prototypes.
27345 (Resource Usage): Fix summary @comment on vtimes to refer to
27346 sys/vtimes.h rather than vtimes.h.
27347 Add missing *s in vtimes prototype.
27348 (Limits on Resources): Fix ulimit prototype to return long int.
27349 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27350 prototypes to use long int rather than double.
27351 (BSD Random): Fix initstate and setstate to use char *, not void *.
27352 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27353 prototype to make second argument 'struct aiocb64 *const[]'.
27354 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27355 (Status of AIO Operations): Remove erroneous const in aio_return and
27356 aio_return64 prototypes.
27357 (Synchronizing I/O): Fix sync prototype to return void.
27358 * manual/startup.texi (Suboptions): Remove an erroneous const in
27359 getsubopt prototype.
27360 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27361 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27362 use size_t rather than int.
27363 (Scanning All Users): Likewise for getpwent_r.
27364 (Setting Groups): Add missing const to setgroups prototype.
27365 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27366 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27367 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27368 'const void *' rather than 'const char *'.
27369 (Host Address Functions): Likewise for inet_ntop.
27370 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27371 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27372 ssize_t for return value.
27373 (Sending Data): Likewise for send, sendto, sendmsg.
27374 (Socket Option Functions): Add a missing const in setsockopt prototype.
27375 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27376 use wchar_t for the argument.
27377 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27378 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27379 take no arguments.
27380 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27381 double/float/long double for second argument.
27382 Fix return types of significand, significandf, significandl.
27383 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27384 argument in fchmod prototype.
27385 (File Owner): Use uid_t and gid_t in fchown prototype.
27386 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27387 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27388 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27389 use 'const struct dirent **' as argument types to CMP function pointer
27390 argument.
27391 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27392 (File Times): Fix summary magic @comment for struct utimbuf and utime
27393 to refer to utime.h, not time.h.
27394 * manual/string.texi (Argz Functions): Add missing const in
27395 argz_extract and argz_next prototypes.
27396 (Finding Tokens in a String): Likewise for basename.
27397 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27398 (Copying and Concatenation): Fix typo in wmemmove prototype.
27399 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27400 (Signal Stack): Remove erroneous const in sigstack prototype.
27401 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27402 prototype.
27403 (Simple Calendar Time): Likewise for stime.
27404 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27405 prototype.
27406 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27407 say sys/sysctl.h instead.
27408 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27409 and vsyslog prototypes.
27410
fe77fe6d
TV
274112013-02-11 Tom de Vries <tom@codesourcery.com>
27412
27413 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27414 Remove.
27415
3a09b620
RM
274162013-02-11 Roland McGrath <roland@hack.frob.com>
27417
27418 * misc/sys/mman.h: Fix typo in mremap comment.
27419
550a0b89
RM
274202013-02-08 Roland McGrath <roland@hack.frob.com>
27421
27422 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27423 the '\0' terminator.
27424
a2da1673
JM
274252013-02-08 Joseph Myers <joseph@codesourcery.com>
27426
27427 [BZ #13550]
27428 * debug/segfault.c: Don't include <bp-checks.h>.
27429 * sysdeps/generic/bp-checks.h: Remove file.
27430 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27431 (__GETDENTS): Don't use CHECK_N.
27432 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27433 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27434 (__getgroups): Don't use CHECK_N.
27435 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27436 (setgroups): Don't use CHECK_N.
27437 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27438 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27439 (__libc_msgrcv): Don't use CHECK_N.
27440 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27441 (__libc_msgsnd): Don't use CHECK_N.
27442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27443 <bp-checks.h>.
27444 (__libc_pread): Don't use CHECK_N.
27445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27446 include <bp-checks.h>.
27447 (__libc_pread64): Don't use CHECK_N.
27448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27449 include <bp-checks.h>.
27450 (__libc_pwrite): Don't use CHECK_N.
27451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27452 include <bp-checks.h>.
27453 (__libc_pwrite64): Don't use CHECK_N.
27454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27455 <bp-checks.h>.
27456 (__libc_pread): Don't use CHECK_N.
27457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27458 include <bp-checks.h>.
27459 (__libc_pread64): Don't use CHECK_N.
27460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27461 include <bp-checks.h>.
27462 (__libc_pwrite): Don't use CHECK_N.
27463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27464 include <bp-checks.h>.
27465 (__libc_pwrite64): Don't use CHECK_N.
27466 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27467 (do_pread): Don't use CHECK_N.
27468 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27469 (do_pread64): Don't use CHECK_N.
27470 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27471 (do_pwrite): Don't use CHECK_N.
27472 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27473 (do_pwrite64): Don't use CHECK_N.
27474 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27475 (__libc_readv): Don't use CHECK_N.
27476 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27477 (semop): Don't use CHECK_N.
27478 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27479 <bp-checks.h>.
27480 (semtimedop): Don't use CHECK_N.
27481 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27482 (__libc_pread): Don't use CHECK_N.
27483 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27484 <bp-checks.h>.
27485 (__libc_pread64): Don't use CHECK_N.
27486 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27487 <bp-checks.h>.
27488 (__libc_pwrite): Don't use CHECK_N.
27489 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27490 <bp-checks.h>.
27491 (__libc_pwrite64): Don't use CHECK_N.
27492 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27493 <bp-checks.h>.
27494 (__libc_msgrcv): Don't use CHECK_N.
27495 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27496 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27497 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27498 (__libc_writev): Don't use CHECK_N.
27499
b84660a8
RM
275002013-02-08 Roland McGrath <roland@hack.frob.com>
27501
7f3e75f8
RM
27502 * string/strcpy.c: Removed unused variable.
27503
b84660a8
RM
27504 * Makeconfig (+sysdep-includes): Define with := rather than =.
27505 Use an existing include/ subdir of each sysdeps dir before it.
27506
471514d3
CD
275072013-02-08 Carlos O'Donell <carlos@redhat.com>
27508
27509 * nscd/connection.c (register_traced_file): Comment function.
27510 [HAVE_INOTIFY] (union __inev): Define.
27511 [HAVE_INOTIFY] (inotify_check_files): New function.
27512 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27513 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27514 clear_db_cache.
27515 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27516
b2d3c3be
CD
275172013-02-08 Carlos O'Donell <carlos@redhat.com>
27518
27519 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27520 loaded if not already and that a failure is permanent.
27521
b39949d2
CD
275222013-02-08 Carlos O'Donell <carlos@redhat.com>
27523
ddacd1db 27524 [BZ #15006]
b39949d2
CD
27525 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27526 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27527
b2c9eff4
JM
275282013-02-08 Joseph Myers <joseph@codesourcery.com>
27529
f3aae3f3
JM
27530 [BZ #13550]
27531 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27532 (CHECK_1_NULL_OK): Likewise.
27533 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27534 (__fxstat): Do not use CHECK_1.
27535 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27536 <bp-checks.h>.
27537 (___fxstat64): Do not use CHECK_1.
27538 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27539 <bp-checks.h>.
27540 (__fxstatat): Do not use CHECK_1.
27541 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27542 <bp-checks.h>.
27543 (__fxstatat64): Do not use CHECK_1.
27544 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27545 <bp-checks.h>.
27546 (__fxstat): Do not use CHECK_1.
27547 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27548 <bp-checks.h>.
27549 (__fxstatat): Do not use CHECK_1.
27550 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27551 <bp-checks.h>.
27552 (__getresgid): Do not use CHECK_1.
27553 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27554 <bp-checks.h>.
27555 (__getresuid): Do not use CHECK_1.
27556 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27557 <bp-checks.h>.
27558 (__lxstat): Do not use CHECK_1.
27559 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27560 <bp-checks.h>.
27561 (__old_msgctl): Do not use CHECK_1.
27562 (__new_msgctl): Likewise.
27563 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27564 <bp-checks.h>.
27565 (__new_setrlimit): Do not use CHECK_1.
27566 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27567 <bp-checks.h>.
27568 (__old_shmctl): Do not use CHECK_1.
27569 (__new_shmctl): Likewise.
27570 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27571 <bp-checks.h>.
27572 (__xstat): Do not use CHECK_1.
27573 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27574 (__lxstat): Do not use CHECK_1.
27575 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27576 <bp-checks.h>.
27577 (___lxstat64): Do not use CHECK_1.
27578 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27579 (__old_msgctl): Do not use CHECK_1.
27580 (__new_msgctl): Likewise.
27581 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27582 <bp-checks.h>.
27583 (__gettimeofday): Do not use CHECK_1.
27584 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27585 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27586 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27587 <bp-checks.h>.
27588 (__gettimeofday): Do not use CHECK_1.
27589 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27590 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27591 (__new_shmctl): Do not use CHECK_1.
27592 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27593 <bp-checks.h>.
27594 (do_sigtimedwait): Do not use CHECK_1.
27595 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27596 <bp-checks.h>.
27597 (do_sigwaitinfo): Do not use CHECK_1.
27598 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27599 <bp-checks.h>.
27600 (msgctl): Do not use CHECK_1.
27601 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27602 <bp-checks.h>.
27603 (shmctl): Do not use CHECK_1.
27604 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27605 (ustat): Do not use CHECK_1.
27606 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27607 <bp-checks.h>.
27608 (__fxstat): Do not use CHECK_1.
27609 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27610 <bp-checks.h>.
27611 (__fxstatat): Do not use CHECK_1.
27612 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27613 <bp-checks.h>.
27614 (__lxstat): Do not use CHECK_1.
27615 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27616 <bp-checks.h>.
27617 (__xstat): Do not use CHECK_1.
27618 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27619 (__xstat): Do not use CHECK_1.
27620 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27621 (___xstat64): Do not use CHECK_1.
27622
b2c9eff4
JM
27623 [BZ #13550]
27624 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27625 definitions.
27626 (CHECK_BOUNDS_HIGH): Likewise.
27627 * string/strcpy.c: Do not include <bp-checks.h>.
27628 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27629
f1d70dad
RM
276302013-02-07 Roland McGrath <roland@hack.frob.com>
27631
27632 * nscd/nscd-client.h (__nscd_drop_map_ref):
27633 Add __attribute__ ((unused)).
27634 * nis/nss-nisplus.h (niserr2nss): Likewise.
27635
27636 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27637 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27638
27639 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27640 Remove inline keyword.
27641 * include/rounding-mode.h (round_away): Likewise.
27642 * libio/wfileops.c (adjust_wide_data): Likewise.
27643 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27644 (__m128i_strloadu_tolower): Likewise.
27645 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27646 (__m128i_strloadu_tolower): Likewise.
27647 * time/mktime.c (ydhms_diff): Likewise.
27648 * locale/elem-hash.h (elem_hash): Likewise.
27649 * locale/setlocale.c (setdata): Likewise.
27650 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27651 (re_string_wchar_at): Likewise.
27652 (bitset_not, bitset_merge, bitset_mask): Likewise.
27653 [!(__GNUC__ > 3)] (inline): Remove macro.
27654 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27655 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27656 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27657 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27658 * string/memcmp.c (memcmp_bytes): Likewise.
27659 * locale/programs/locarchive.c (compute_hashval): Likewise.
27660 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27661 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27662 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27663 * nss/getent.c (print_rpc, print_protocols): Likewise.
27664 (print_passwd, print_group, print_aliases): Likewise.
27665 * nis/nss-nisplus.h (niserr2nss): Likewise.
27666 * nscd/connections.c (restart_p): Likewise.
27667 Change return type to bool.
27668
eab55bfb
RM
276692013-02-05 Roland McGrath <roland@hack.frob.com>
27670
7bd642f5
RM
27671 * Makeconfig (all-Depend-files): Add existing
27672 $(sorted-subdirs:=/Depend) files.
27673 (all-subdirs): Remove nss.
27674 * sysdeps/unix/inet/Subdirs: Add it here instead.
27675 * hesiod/Depend: New file.
27676
573c29b2
RM
27677 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27678 instead of calling alloca.
27679
b2e25af0
RM
27680 * io/lseek.c (__lseek): Rename to __libc_lseek.
27681 Define __lseek as an alias.
27682
eab55bfb
RM
27683 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27684
9a0d1941
CD
276852013-02-04 Carlos O'Donell <carlos@redhat.com>
27686
27687 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27688 else clause and remove check for non-standard endianness.
27689
b83bbec4
DM
276902013-02-04 David S. Miller <davem@davemloft.net>
27691
27692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27693
6277fdab
JM
276942013-02-04 Joseph Myers <joseph@codesourcery.com>
27695
27696 [BZ #13550]
27697 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27698 (__ubp_memchr): Remove prototype.
27699 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27700 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27701 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27702 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27703 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27704 Remove alias.
27705 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27706 (__ubp_memchr): Likewise.
27707 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27708 (__ubp_memchr): Likewise.
27709 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27710 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27711 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27712 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27713 CHECK_STRING.
27714 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27715 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27716 (__getcwd): Do not use CHECK_STRING.
27717 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27718 <bp-checks.h>.
27719 (__real_chown): Do not use CHECK_STRING.
27720 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27721 <bp-checks.h>.
27722 (fchownat): Do not use CHECK_STRING.
27723 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27724 CHECK_STRING.
27725 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27726 <bp-checks.h>.
27727 (__lchown): Do not use CHECK_STRING.
27728 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27729 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27730 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27731 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27733 include <bp-checks.h>.
27734 (truncate64): Do not use CHECK_STRING.
27735 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27736 <bp-checks.h>.
27737 (__real_chown): Do not use CHECK_STRING.
27738 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27739 <bp-checks.h>.
27740 (__lchown): Do not use CHECK_STRING.
27741 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27742 <bp-checks.h>.
27743 (__chown): Do not use CHECK_STRING.
27744 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27745 <bp-checks.h>.
27746 (truncate64): Do not use CHECK_STRING.
27747 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27748 Likewise.
27749 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27750 (__xmknod): Do not use CHECK_STRING.
27751 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27752 <bp-checks.h>.
27753 (__xmknodat): Do not use CHECK_STRING.
27754 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27755 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27756
903ae060
AS
277572013-02-04 Andreas Schwab <schwab@suse.de>
27758
27759 [BZ #14142]
27760 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27761 * include/netdb.h: Likewise for h_errno.
27762 * elf/tst-stackguard1.c: Include <tls.h>.
27763
542f9466
JK
277642013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27765
27766 * elf/link.h (struct link_map): Extend the l_addr comment.
27767 * include/link.h (struct link_map): Likewise.
27768
e782a927
JM
277692013-02-01 Joseph Myers <joseph@codesourcery.com>
27770
27771 [BZ #13550]
27772 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27773 (BOUNDED_1): Remove macro.
27774 * debug/backtrace.c: Don't include <bp-checks.h>.
27775 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27776 (__backtrace): Likewise.
27777 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27778 <bp-checks.h>.
27779 (__backtrace): Don't use BOUNDED_1.
27780 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27781 <bp-checks.h>.
27782 (__backtrace): Don't use BOUNDED_1.
27783 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27784 (__backtrace): Don't use BOUNDED_1.
27785 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27786 (shmat): Don't use BOUNDED_N.
27787
8cf28c5e
JM
277882013-01-31 Joseph Myers <joseph@codesourcery.com>
27789
3a7ac8a0
JM
27790 [BZ #13550]
27791 * sysdeps/generic/bp-start.h: Remove file.
27792 * csu/libc-start.c: Don't include <bp-start.h>.
27793 (LIBC_START_MAIN): Set up __environ directly instead of using
27794 INIT_ARGV_and_ENVIRON.
27795 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27796 <bp-start.h>.
27797
f3499f95
JM
27798 [BZ #13550]
27799 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27800 definitions.
27801 (CHECK_FCNTL): Likewise.
27802 (CHECK_N_PAGES): Likewise.
27803
32a45bea
JM
27804 [BZ #13550]
27805 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27806 definitions.
27807 (CHECK_SIGSET_NULL_OK): Likewise.
27808 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27809 <bp-checks.h>.
27810 (sigpending): Don't use CHECK_SIGSET.
27811 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27812 <bp-checks.h>.
27813 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27814 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27815 <bp-checks.h>.
27816 (do_sigsuspend): Don't use CHECK_SIGSET.
27817 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27818 use CHECK_SIGSET.
27819 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27820 (do_sigwait): Don't use CHECK_SIGSET.
27821 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27822 use CHECK_SIGSET.
27823 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27824 include <bp-checks.h>.
27825 (sigpending): Don't use CHECK_SIGSET.
27826 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27827 include <bp-checks.h>.
27828 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27829 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27830 <bp-checks.h>.
27831 (sigpending): Don't use CHECK_SIGSET.
27832 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27833 <bp-checks.h>.
27834 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27835
2e8a5c8c
JM
27836 [BZ #13550]
27837 * sysdeps/generic/bp-semctl.h: Remove file.
27838 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27839 <bp-checks.h> and <bp-semctl.h>.
27840 (__old_semctl): Don't use CHECK_SEMCTL.
27841 (__new_semctl): Likewise.
27842 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27843 and <bp-semctl.h>.
27844 (__old_semctl): Don't use CHECK_SEMCTL.
27845 (__new_semctl): Likewise.
27846 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27847 <bp-checks.h> and <bp-semctl.h>.
27848 (__old_semctl): Don't use CHECK_SEMCTL.
27849 (__new_semctl): Likewise.
27850 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27851 <bp-checks.h> and <bp-semctl.h>.
27852 (semctl): Don't use CHECK_SEMCTL.
27853
c2d54929
JM
27854 [BZ #13550]
27855 * Makerules (elide-bp-thunks): Remove variable.
27856 (elide-routines.oS): Don't use $(elide-bp-thunks).
27857 (elide-routines.os): Likewise.
27858 (elide-routines.o): Likewise.
27859 (elide-routines.op): Likewise.
27860 (elide-routines.og): Likewise.
27861 (objects): Don't use $(bp-thunks).
27862 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27863 include.
27864 (common-generated): Do not add s-proto-bp.d.
27865 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27866 (int): Likewise.
27867 (typ): Likewise.
27868 Do not generate makefile rules for bounded-pointer thunks.
27869 * sysdeps/generic/bp-thunks.h: Remove file.
27870 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27871 * sysdeps/unix/s-proto-bp.S: Likewise.
27872
8cf28c5e
JM
27873 [BZ #15062]
27874 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27875 parts of result separately when argument is not close to line from
27876 -i to i and one part of argument is small.
27877 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27878 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27879 * math/libm-test.inc (cacos_test): Add more tests.
27880 (casin_test): Likewise.
27881 (casinh_test): Likewise.
27882 * sysdeps/i386/fpu/libm-test-ulps: Update.
27883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27884
c4e33b8d
DM
278852013-01-31 David S. Miller <davem@davemloft.net>
27886
27887 * po/de.po: Update from translation team.
27888
3b60b421
MK
278892013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27890
27891 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27892
bb931195
TS
278932013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27894
b5a5da23
TS
27895 * configure.in (_AC_PROG_CC_C89): New definition.
27896 * configure: Regenerate.
27897
bb931195
TS
27898 * configure.in (AC_PROG_CPP): New definition.
27899 * configure: Regenerate.
27900
8c53a12c
JM
279012013-01-23 Joseph Myers <joseph@codesourcery.com>
27902
27903 * debug/tst-backtrace.h: New file.
27904 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27905 (ret): Remove variable.
27906 (x): Likewise.
27907 (FAIL): Remove macro.
27908 (NO_INLINE): Likewise.
27909 (fn1): Use match function instead of strstr.
27910 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27911 (ret): Remove variable.
27912 (x): Likewise.
27913 (FAIL): Remove macro.
27914 (NO_INLINE): Likewise.
27915 (fn): Use match function instead of strstr.
27916 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27917 (ret): Remove variable.
27918 (x): Likewise.
27919 (FAIL): Remove macro.
27920 (NO_INLINE): Likewise.
27921 (handle_signal): Use match function instead of strstr.
27922 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27923 (ret): Remove variable.
27924 (x): Likewise.
27925 (FAIL): Remove macro.
27926 (NO_INLINE): Likewise.
27927 (handle_signal): Use match function instead of strstr.
27928
4858fa2a
RM
279292013-01-23 Roland McGrath <roland@hack.frob.com>
27930
27931 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27932
bae8e7f5
DM
279332013-01-23 David S. Miller <davem@davemloft.net>
27934
27935 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27936 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27937 argument of CAS if possible.
27938 * sysdeps/sparc/sparc64/bits/atomic.h
27939 (__arch_compare_and_exchange_val_32_acq): Likewise.
27940 (__arch_compare_and_exchange_val_64_acq): Likewise.
27941
9cbbc4ae
PT
279422013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27943
27944 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27945 * sysdeps/posix/ulimit.c: ... this.
92a601b8 27946 Include <limits.h>.
67b3f58c 27947 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 27948
5655a0b5
AC
279492013-01-23 Adam Conrad <adconrad@0c3.net>
27950
27951 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27952 (LDFLAGS-tst-array5): Likewise.
27953
052aff95
JM
279542013-01-23 Joseph Myers <joseph@codesourcery.com>
27955
27956 [BZ #15036]
27957 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27958 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27959 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27960 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27961
7c1e01aa
DM
279622013-01-21 David S. Miller <davem@davemloft.net>
27963
27964 * sysdeps/sparc/backtrace.c: New file.
27965 * sysdeps/sparc/sparc32/backtrace.h: New file.
27966 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27967 * sysdeps/sparc/sparc64/backtrace.h: New file.
27968 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27969 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27970 -funwind-tables.
27971
ab087e0a
AS
279722013-01-21 Andreas Schwab <schwab@suse.de>
27973
27974 [BZ #15020]
27975 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27976 closed its stdout.
27977
ed689c2f
AS
279782013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27979
27980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27981 "mpa2.h".
27982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27983
31d470ac
JM
279842013-01-18 Joseph Myers <joseph@codesourcery.com>
27985 Mark Mitchell <mark@codesourcery.com>
27986 Tom de Vries <tom@codesourcery.com>
27987 Paul Pluzhnikov <ppluzhnikov@google.com>
27988
27989 * debug/tst-backtrace2.c: New file.
27990 * debug/tst-backtrace3.c: Likewise.
27991 * debug/tst-backtrace4.c: Likewise.
27992 * debug/tst-backtrace5.c: Likewise.
27993 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27994 (CFLAGS-tst-backtrace3.c): Likewise.
27995 (CFLAGS-tst-backtrace4.c): Likewise.
27996 (CFLAGS-tst-backtrace5.c): Likewise.
27997 (LDFLAGS-tst-backtrace2): Likewise.
27998 (LDFLAGS-tst-backtrace3): Likewise.
27999 (LDFLAGS-tst-backtrace4): Likewise.
28000 (LDFLAGS-tst-backtrace5): Likewise.
28001 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28002 tst-backtrace4 and tst-backtrace5.
28003
90567f30 280042013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
28005 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28006
28007 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28008 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28009 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28010 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28012 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28013 "+r" and remove output regs list as redundant. Add explicit inline
28014 asm to specify register of return val to work around compiler codegen
28015 bug. Remove (int) cast on return value. Add return type parameter to
28016 use in macro so that this macro does not truncate return value for
28017 64-bit values.
28018 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28019 pass to INTERNAL_VSYSCALL_NCS.
28020 (INLINE_VSYSCALL): Add 'long int' as return type to
28021 INTERNAL_VSYSCALL_NCS macro invocation.
28022 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28023 INTERNAL_VSYSCALL_NCS macro invocation.
28024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28025
d3b9ea61
SP
280262013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28027
0b57daeb
SP
28028 [BZ #14496]
28029 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28030 Fix application of SIMD FP exception mask.
28031
caa99d06
SP
28032 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28033 mp_no from a power of two.
28034 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28035 __mpexp_twomm1. Use __pow_mp.
28036
d3b9ea61
SP
28037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28038 multiplication.
28039
1dbaee3c
DM
280402013-01-17 David S. Miller <davem@davemloft.net>
28041
28042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28043
728d7b43
JM
280442013-01-17 Joseph Myers <joseph@codesourcery.com>
28045
28046 [BZ #15023]
28047 * include/complex.h: Condition contents on [!_COMPLEX_H].
28048 (__kernel_casinhf): New prototype.
28049 (__kernel_casinh): Likewise.
28050 (__kernel_casinhl): Likewise.
28051 * math/Makefile (libm_calls): Add k_casinh.
28052 * math/k_casinh.c: New file.
28053 * math/k_casinhf.c: Likewise.
28054 * math/k_casinhl.c: Likewise.
28055 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28056 finite nonzero arguments.
28057 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28058 finite nonzero arguments.
28059 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28060 finite nonzero arguments.
28061 * math/s_casinh.c: Do not include <float.h>.
28062 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28063 * math/s_casinhf.c: Do not include <float.h>.
28064 (__casinhf): Move code for finite nonzero arguments to
28065 k_casinhf.c.
28066 * math/s_casinhl.c: Do not include <float.h>.
28067 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28068 redefine.
28069 (__casinhl): Move code for finite nonzero arguments to
28070 k_casinhl.c.
28071 * math/libm-test.inc (cacos_test): Add more tests.
28072 * sysdeps/i386/fpu/libm-test-ulps: Update.
28073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28074
2a26ef3a
PT
280752013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28076
28077 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28078 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28079 [!HAVE_MREMAP]: Remove [defined linux] case.
28080 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28081
a897655d
SP
280822013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28083
28084 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28085
881ebe89 280862013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
28087
28088 * elf/elf.h (R_386_SIZE32): New relocation.
28089 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28090 R_386_SIZE32.
28091 (elf_machine_rela): Likewise.
28092 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28093 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28094
59981e9b
JM
280952013-01-17 Joseph Myers <joseph@codesourcery.com>
28096
28097 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28098 (FP_FAST_FMA): Do not define.
28099 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28100 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28101 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28102 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28103 !_SOFT_FLOAT]: Likewise.
28104 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28105 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28106 value.
28107 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28108 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28109 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28110 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28111 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28112 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28113 file.
28114
cfa8054f
AS
281152013-01-16 Andreas Schwab <schwab@suse.de>
28116
28117 [BZ #14327]
28118 * include/stdlib.h (__mktemp): Add declaration.
28119 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28120 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28121
dd930cc5
SP
281222013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28123
881ebe89
SP
28124 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28125 definitions.
28126 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28127 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28128 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28129 definitions here.
28130 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28131 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28132 definitions.
28133 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28134 and ONE.
28135 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28136 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28137 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28138 definitions.
28139 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28140 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28141 definitions.
28142 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 28143
dd930cc5
SP
28144 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28145
c19a9f89
DM
281462013-01-15 David S. Miller <davem@davemloft.net>
28147
1aa61767
DM
28148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28149 trunc{,f} to libm-sysdep_routes.
28150 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28152 file.
28153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28155 file.
28156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28157 file.
28158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28160 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28161 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28162 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28163 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28164 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28165 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28166
c42d5e98
DM
28167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28168 nearbyint{,f} to libm-sysdep_routes.
28169 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28171 New file.
28172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28173 file.
28174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28175 New file.
28176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28177 file.
28178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28180 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28181 file.
28182 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28183 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28184 file.
28185 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28186 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28187 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28188
c19a9f89
DM
28189 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28190 libc_feholdexcept and libc_fesetenv.
28191
357679d2
MF
281922013-01-15 Mike Frysinger <vapier@gentoo.org>
28193
28194 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28195
65a82e3d
DM
281962013-01-14 David S. Miller <davem@davemloft.net>
28197
8b954ab9
DM
28198 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28199 (SPARC_ASM_VIS2_IFUNC): Likewise.
28200 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28202 use of 'siam' instruction.
28203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28204 Likewise.
28205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28206 Likewise.
28207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28208 Likewise.
28209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28210 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28214 file.
28215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28216 file.
28217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28218 file.
28219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28220 file.
28221 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28226 new VIS2 routines.
28227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28230 Likewise.
28231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28236 routines to libm-sysdep_routines.
28237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28238
65a82e3d
DM
28239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28240 fdim/fdimf to libm-sysdep_routines.
28241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28242 file.
28243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28245 file.
28246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28249 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28250 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28251 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28252 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28253
e34ab705
SP
282542013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28255
2a91b573
SP
28256 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28257 to optimize copies.
28258
1066a534
SP
28259 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28262
e34ab705
SP
28263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28264 local variable MPTWO.
28265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28266 Likewise.
28267
aba5e596
MF
282682013-01-13 Mike Frysinger <vapier@gentoo.org>
28269
28270 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28271 GLOB_NOESCAPE.
28272
e557e9e5
MF
282732013-01-13 Mike Frysinger <vapier@gentoo.org>
28274
28275 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28276
0428cec9
MF
282772013-01-13 Mike Frysinger <vapier@gentoo.org>
28278
28279 * manual/pattern.texi (glob_t): Document gl_flags.
28280 (glob64_t): Likewise.
28281
8794a964
DM
282822013-01-11 David S. Miller <davem@davemloft.net>
28283
66438c3f
RM
28284 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28285 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28286 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
28287 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28288 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28289 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28290 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28291 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28292 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28293 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28294 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28295 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28296 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28297
4ae4244d
DM
28298 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28299 sparc V9 rather than using V8 code.
28300 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28301 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28302
8794a964
DM
28303 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28304 Move to...
28305 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28306 Here.
28307
6270516e
RM
283082013-01-11 Roland McGrath <roland@hack.frob.com>
28309
28310 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28311 not in the main loop.
28312 * configure: Regenerated.
28313
6a57d931
JM
283142013-01-11 Joseph Myers <joseph@codesourcery.com>
28315
28316 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28317 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28318 to just #else.
28319 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28320 [!__GLIBC_HAVE_LONG_LONG] case.
28321 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28322 condition to just #else.
28323 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28324 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28325 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28326 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28327 unconditional.
28328 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28329 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28330 #elif condition to just #else.
28331 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28332 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28333 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28334 #elif condition to just #else.
28335
0e8529e9
SE
283362013-01-11 Steve Ellcey <sellcey@mips.com>
28337
28338 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28339 (EF_MIPS_ARCH_64): Fix value.
28340 (EF_MIPS_ARCH_32R2): New.
28341 (EF_MIPS_ARCH_64R2): New.
28342
740b3dbe
L
283432013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28344
28345 * Makeconfig (+link-pie-before-libc): New.
28346 (+link-pie-after-libc): Likewise.
28347 (+link-pie-tests): Likewise.
28348 (+link-pie): Rewritten.
28349 (link-before-libc): Remove $(config-LDFLAGS).
28350 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28351 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28352 (config-LDFLAGS): Renamed to ...
28353 (rtld-LDFLAGS): This.
28354 (rtld-tests-LDFLAGS): New macro.
28355 (link-libc-rpath-link): Likewise.
28356 (link-libc-tests-rpath-link): Likewise.
28357 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28358 (link-libc): Prepand $(link-libc-rpath-link).
28359 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28360 (test-program-prefix): New macro.
28361 (test-via-rtld-prefix): Likewise.
28362 (test-program-cmd): Likewise.
28363 (host-test-program-cmd): Likewise.
28364 * Makefile ($(common-objpfx)testrun.sh): Replace
28365 $(run-program-prefix) with $(test-program-prefix).
28366 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28367 $(rtld-LDFLAGS).
28368 ($(common-objpfx)shlib.lds): Likewise.
28369 (build-module-helper): Likewise.
28370 ($(common-objpfx)format.lds): Likewise.
28371 * Rules (binaries-pie-tests): New.
28372 (binaries-pie-notests): Likewise.
28373 (binaries-pie): Rewritten.
28374 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28375 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28376 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28377 (make-test-out): Replace $(host-built-program-cmd) with
28378 $(host-test-program-cmd).
28379 * config.make.in (build-hardcoded-path-in-tests): New variable.
28380 * configure.in (--enable-hardcoded-path-in-tests): New configure
28381 option.
28382 (hardcoded_path_in_tests): New AC_SUBST.
28383 * configure: Regenerated.
28384 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28385 $(built-program-cmd) with $(test-program-cmd).
28386 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28387 (test_program_cmd): This.
28388 * elf/Makefile ($(objpfx)order.out): Run test with
28389 $(test-program-prefix).
28390 ($(objpfx)order2.out): Likewise.
28391 ($(objpfx)tst-initorder.out): Likewise.
28392 ($(objpfx)tst-initorder2.out): Likewise.
28393 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28394 $(test-program-cmd).
28395 ($(objpfx)tst-array1-static.out): Likewise.
28396 ($(objpfx)tst-array2.out): Likewise.
28397 ($(objpfx)tst-array3.out): Likewise.
28398 ($(objpfx)tst-array4.out): Likewise.
28399 ($(objpfx)tst-array5.out): Likewise.
28400 ($(objpfx)tst-array5-static.out): Likewise.
28401 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28402 $(test-program-cmd).
28403 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28404 $(run-program-prefix) with $(test-program-prefix).
28405 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28406 (test_program_prefix): This.
28407 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28408 $(run-program-prefix) with $(test-program-prefix).
28409 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28410 (test_program_prefix): This.
28411 * iconvdata/tst-tables.sh: Likewise.
28412 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28413 $(run-program-prefix) with $(test-program-prefix).
28414 ($(objpfx)tst-translit.out): Likewise.
28415 ($(objpfx)tst-gettext2.out): Likewise.
28416 ($(objpfx)tst-gettext4.out): Likewise.
28417 ($(objpfx)tst-gettext6.out): Likewise.
28418 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28419 (test_program_prefix): This.
28420 * intl/tst-gettext2.sh: Likewise.
28421 * intl/tst-gettext4.sh Likewise.
28422 * intl/tst-gettext6.sh: Likewise.
28423 * intl/tst-translit.sh: Likewise.
28424 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28425 with $(test-program-cmd).
28426 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28427 $(run-program-prefix) with $(test-program-prefix).
28428 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28429 (test_program_prefix): This.
28430 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28431 $(run-program-prefix) with $(test-program-prefix).
28432 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28433 (test_program_prefix): This.
28434 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28435 * posix/Makefile ($(objpfx)globtest.out): Replace
28436 $(run-via-rtld-prefix) and $(test-wrapper) with
28437 $(test-program-prefix) and $(test-via-rtld-prefix).
28438 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28439 $(test-program-prefix).
28440 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28441 $(host-test-program-cmd).
28442 (tst-spawn-ARGS): Likewise.
28443 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28444 $(test-program-prefix).
28445 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28446 (test_via_rtld_prefix): This.
28447 (test_wrapper): Renamed to ...
28448 (test_program_prefix): This.
28449 (run_program_prefix): Replaced by test_program_prefix.
28450 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28451 (test_program_prefix): This.
28452 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28453 with $(host-test-program-cmd).
28454 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28455 $(run-program-prefix) with $(test-program-prefix).
28456 ($(objpfx)tst-printf.out): Likewise.
28457 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28458 $(test-program-cmd).
28459 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28460 (test_program_prefix): This.
28461 * stdio-common/tst-unbputc.sh: Likewise.
28462 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28463 $(run-program-prefix) with $(test-program-prefix).
28464 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28465 (test_program_prefix): This.
28466 * string/Makefile ($(objpfx)tst-svc.out): Replace
28467 $(built-program-cmd) with $(test-program-cmd).
28468
c6fe55cf
AJ
284692013-01-11 Andreas Jaeger <aj@suse.de>
28470
28471 [BZ #15003]
28472 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28473 value. Sync with Linux 3.7.
28474
9e6919c8
DM
284752013-01-10 David S. Miller <davem@davemloft.net>
28476
28477 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28478 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28479 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28480
1c9f1a02
RM
284812013-01-10 Roland McGrath <roland@hack.frob.com>
28482
28483 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28484 never set.
28485 * configure: Regenerated.
28486
b9de2dde
DM
284872013-01-10 David S. Miller <davem@davemloft.net>
28488
28489 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28490 sparc V9 rather than using V8 code.
28491 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28492 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28493
e7f68ef4
RM
284942013-01-10 Roland McGrath <roland@hack.frob.com>
28495
28496 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28497 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28498 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28499 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28500 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28501 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28502 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28503 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28504 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28505 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28506 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28507 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28508 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28509 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28510 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28511 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28512 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28513 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28514 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28515 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28516 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28517 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28518 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28519 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28520 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28521 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28522 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28523
5a47cc9c
DM
285242013-01-10 David S. Miller <davem@davemloft.net>
28525
28526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28527
4cf8f209
L
285282013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28529
28530 * posix/Makefile (tests-static): New variable.
28531 (tests): Add $(tests-static).
28532 (tst-exec-static-ARGS): New variable.
28533 (tst-spawn-static-ARGS): Likewise.
28534 * posix/tst-exec-static.c: New file.
28535 * posix/tst-spawn-static.c: Likewise.
28536 * posix/tst-exec.c: Support run directly.
28537 * posix/tst-spawn.c: Likewise.
28538
fed0faa1
JM
285392013-01-10 Joseph Myers <joseph@codesourcery.com>
28540
828beb13
JM
28541 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28542 long.
28543 * math/bits/mathcalls.h (llrint): Likewise.
28544 (llround): Likewise.
28545 * stdlib/stdlib.h (struct drand48_data): Likewise.
28546 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28547 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28548 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28549 Likewise.
28550 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28551 Likewise.
28552 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28553 (elf_greg_t): Likewise.
28554 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28555 (__jmp_buf): Likewise.
28556 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28557 definitions.
28558 (llrint): Likewise, for all definitions.
28559 (llrintl): Likewise.
28560
fed0faa1
JM
28561 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28562 Remove [__GNUC__] condition.
28563 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28564 condition to just [__USE_ISOC99].
28565 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28566
1a20cb20
L
285672013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28568
28569 [BZ #14200]
28570 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28571 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28572 defined.
28573 (_POSIX_V6_ILP32_OFF32): Likewise.
28574 (_XBS5_ILP32_OFF32): Likewise.
28575 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28576 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28577
751b85f7
SP
285782013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28579
7490eb81
SP
28580 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28581
751b85f7
SP
28582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28583 doubles __mpexp_twomm1. Adjust usage.
28584 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28585 Remove.
28586
988197f0
AS
285872013-01-10 Andreas Schwab <schwab@suse.de>
28588
28589 [BZ #14964]
28590 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28591 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28592
e83d7298
DM
285932013-01-09 David S. Miller <davem@davemloft.net>
28594
034ed64b 28595 [BZ #15003]
57f41c40
AS
28596 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28597 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28598 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28599 (TCP_FASTOPEN): Define.
e83d7298
DM
28600 (tcp_repair_opt): New structure.
28601 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28602 enum values.
57f41c40
AS
28603 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28604 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28605 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28606 (tcp_cookie_transactions): New structure.
28607
d5e0b9bd
AB
286082013-01-09 Anton Blanchard <anton@samba.org>
28609
28610 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28611 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28612 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28613 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28614
0c07e3ea
JM
286152013-01-09 Joseph Myers <joseph@codesourcery.com>
28616
28617 * include/features.h (__USE_ANSI): Remove.
28618
232f7002
RM
286192013-01-09 Roland McGrath <roland@hack.frob.com>
28620
ad98e30c
RM
28621 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28622
232f7002
RM
28623 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28624
950c99ca
SP
286252013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28626
b5792741
SP
28627 * sysdeps/s390/fpu/libm-test-ulps: Update.
28628
47cf2278
SP
28629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28630
950c99ca
SP
28631 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28632 (__acr): Likewise.
28633 (__cpy): Likewise.
28634 (norm): Likewise.
28635 (denorm): Likewise.
28636 (__mp_dbl): Likewise.
28637 (__dbl_mp): Likewise.
28638 (add_magnitudes): Likewise.
28639 (sub_magnitudes): Likewise.
28640 (__add): Likewise.
28641 (__sub): Likewise.
28642 (__mul): Likewise.
28643 (__inv): Likewise.
28644 (__dvd): Likewise.
28645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28646 (__acr): Likewise.
28647 (__cpy): Likewise.
28648 (norm): Likewise.
28649 (denorm): Likewise.
28650 (__mp_dbl): Likewise.
28651 (__dbl_mp): Likewise.
28652 (add_magnitudes): Likewise.
28653 (sub_magnitudes): Likewise.
28654 (__add): Likewise.
28655 (__sub): Likewise.
28656 (__mul): Likewise.
28657 (__inv): Likewise.
28658 (__dvd): Likewise.
28659 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28660 (__acr): Likewise.
28661 (__cpy): Likewise.
28662 (norm): Likewise.
28663 (denorm): Likewise.
28664 (__mp_dbl): Likewise.
28665 (__dbl_mp): Likewise.
28666 (add_magnitudes): Likewise.
28667 (sub_magnitudes): Likewise.
28668 (__add): Likewise.
28669 (__sub): Likewise.
28670 (__mul): Likewise.
28671 (__inv): Likewise.
28672 (__dvd): Likewise.
28673
eede9df9
JM
286742013-01-08 Joseph Myers <joseph@codesourcery.com>
28675
28676 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28677 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28678 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28679 2 && __USE_EXTERN_INLINES]: Likewise.
28680
c40ea3d9
AJ
286812013-01-08 Andreas Jaeger <aj@suse.de>
28682
28683 [BZ# 14985]
28684 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28685 Remove.
28686 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28687 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28688
2ccdea26
AB
286892013-01-07 Anton Blanchard <anton@samba.org>
28690
28691 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28692 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28693 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28694 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28695 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28696 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28697 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28698 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28700 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28701 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28702 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28703 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28704 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28705 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28706 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28707 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28708 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28709 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28710 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28711 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28712 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28713 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28714 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28715 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28716 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28717 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28718 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28719 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28720 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28721 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28723 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28724 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28725 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28726 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28727 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28728 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28729 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28730 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28731 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28732 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28733 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28734
a9708fed
JM
287352013-01-07 Joseph Myers <joseph@codesourcery.com>
28736
375607b9
JM
28737 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28738 (__MALLOC_PMT): Likewise.
28739 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28740 [__GNUC__], only on [_LIBC].
28741 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28742 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28743 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28744 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28745 forward declaration.
28746 (realloc_hook_ini): Likewise.
28747 (memalign_hook_ini): Likewise.
28748 (__libc_memalign): Do not use __MALLOC_PMT in variable
28749 declaration.
28750 (__libc_valloc): Likewise.
28751 (__libc_pvalloc): Likewise.
28752 (__libc_calloc): Likewise.
28753 (__posix_memalign): Likewise.
28754
a9708fed
JM
28755 [BZ #14996]
28756 * math/s_casinh.c: Include <float.h>.
28757 (__casinh): Do not do computation with squaring and square root
28758 for large arguments.
28759 * math/s_casinhf.c: Include <float.h>.
28760 (__casinhf): Do not do computation with squaring and square root
28761 for large arguments.
28762 * math/s_casinhl.c: Include <float.h>.
28763 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28764 (__casinhl): Do not do computation with squaring and square root
28765 for large arguments.
28766 * math/libm-test.inc (casin_test): Add more tests.
28767 (casinh_test): Likewise.
28768 * sysdeps/i386/fpu/libm-test-ulps: Update.
28769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28770
afec409a
L
287712013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28772
28773 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28774 (__x86_64_raw_data_cache_size): Likewise.
28775 (__x86_64_data_cache_size_half): Likewise.
28776 (__x86_64_raw_data_cache_size_half): Likewise.
28777 (__x86_64_shared_cache_size): Likewise.
28778 (__x86_64_raw_shared_cache_size): Likewise.
28779 (__x86_64_shared_cache_size_half): Likewise.
28780 (__x86_64_raw_shared_cache_size_half): Likewise.
28781 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28782 to ...
28783 (__x86_data_cache_size): This.
28784 (__x86_64_raw_data_cache_size): Renamed to ...
28785 (__x86_raw_data_cache_size): This.
28786 (__x86_64_data_cache_size_half): Renamed to ...
28787 (__x86_data_cache_size_half): This.
28788 (__x86_64_raw_data_cache_size_half): Renamed to ...
28789 (__x86_raw_data_cache_size_half): This.
28790 (__x86_64_shared_cache_size): Renamed to ...
28791 (__x86_shared_cache_size): This.
28792 (__x86_64_raw_shared_cache_size): Renamed to ...
28793 (__x86_raw_shared_cache_size): This.
28794 (__x86_64_shared_cache_size_half): Renamed to ...
28795 (__x86_shared_cache_size_half): This.
28796 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28797 (__x86_raw_shared_cache_size_half): This.
28798 * sysdeps/x86_64/memcpy.S: Updated.
28799 * sysdeps/x86_64/memset.S: Likewise.
28800 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28801 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28802 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28803
0b3986d0
DM
288042013-01-04 David S. Miller <davem@davemloft.net>
28805
28806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28807
e47686e9
AS
288082013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28809
d643bac1
AS
28810 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28811 1 to avoid redefinition warning.
28812 (__USE_GNU): Don't define.
28813 (init_signaling_nan): Protoize.
28814
e47686e9
AS
28815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28816
b18decba
SP
288172013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28818
fffb407f
SP
28819 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28821 (__cpymn): Likewise.
28822 (norm): Remove commented code.
28823 (denorm): Likewise.
28824 (__mp_dbl): Likewise.
28825 (__inv): Likewise.
28826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28827 (__cpymn): Likewise.
28828 (norm): Remove commented code.
28829 (denorm): Likewise.
28830 (__mp_dbl): Likewise.
28831 (__inv): Likewise.
28832
b18decba
SP
28833 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28834 mp_no value for 1.0 and 2.0.
28835 (norm): Use RADIXI instead of radixi.d.
28836 (denorm): Likewise.
28837 (__mul): Use 0.0 instead of zero.d.
28838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28839 mp_no value for 1.0 and 2.0.
28840 (norm): Use RADIXI instead of radixi.d.
28841 (denorm): Likewise.
28842 (__mul): Use 0.0 instead of zero.d.
28843
cdc1c96f
JM
288442013-01-04 Joseph Myers <joseph@codesourcery.com>
28845
28846 [BZ #14994]
28847 * math/s_casinh.c (__casinh): Reduce finite argument to first
28848 quadrant then set signs of results at the end.
28849 * math/s_casinhf.c (__casinhf): Likewise.
28850 * math/s_casinhl.c (__casinhl): Likewise.
28851 * math/libm-test.inc (casin_test): Add more tests.
28852 (casinh_test): Likewise.
28853 * sysdeps/i386/fpu/libm-test-ulps: Update.
28854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28855
302913e1
SP
288562013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28857
6420d207
SP
28858 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28859
a9e48ab4
SP
28860 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28861
b7837264
SP
28862 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28863 declarations.
28864 (denorm): Likewise.
28865 (__mp_dbl): Likewise.
28866 (__inv): Likewise.
28867
f8af25d2
SP
28868 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28869 and adjust the header comment.
28870
302913e1
SP
28871 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28872 variable name from declaration.
28873
5d7dd1ca
L
288742013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28875
28876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28877 Initialize COMMON_CPUID_INDEX_7 element.
28878 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28879 (CPUID_RTM): Likewise.
28880 (HAS_RTM): Likewise.
28881 (COMMON_CPUID_INDEX_7): New enum.
28882
2f5f40f4
AS
288832013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28884
28885 [BZ #14981]
28886 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28887 size is zero, record memory as freed.
28888
4056f4a0
AJ
288892013-01-03 Andreas Jaeger <aj@suse.de>
28890
28891 * po/ia.po: Add new Interlingua translation.
28892
ab15736f 288932012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
28894
28895 * locale/programs/localedef.c: Fix description of '--posix' flag.
28896
568035b7
JM
288972013-01-02 Joseph Myers <joseph@codesourcery.com>
28898
e6898b8d
JM
28899 * NEWS: Update dates in second copyright notice.
28900 * README: Update copyright dates in example.
28901 * manual/libc.texinfo: Update copyright dates.
28902 * scripts/test-installation.pl: Update copyright date in --version
28903 output.
28904
0e2f9562
JM
28905 * hurd/ctty-input.c: Fix copyright notice formatting.
28906 * hurd/ctty-output.c: Likewise.
28907 * hurd/dtable.c: Likewise.
28908 * hurd/hurd-raise.c: Likewise.
28909 * hurd/hurdprio.c: Likewise.
28910 * hurd/msgportdemux.c: Likewise.
28911 * misc/sys/file.h: Likewise.
28912 * misc/sys/ioctl.h: Likewise.
28913 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28914 * sysdeps/mach/hurd/chdir.c: Likewise.
28915 * sysdeps/mach/hurd/fchdir.c: Likewise.
28916 * sysdeps/mach/hurd/rename.c: Likewise.
28917 * sysdeps/mach/hurd/rmdir.c: Likewise.
28918 * sysdeps/mach/hurd/seekdir.c: Likewise.
28919 * sysdeps/mach/hurd/setsid.c: Likewise.
28920 * sysdeps/posix/wait3.c: Likewise.
28921
568035b7
JM
28922 * All files with FSF copyright notices: Update copyright dates
28923 using scripts/update-copyrights.
28924 * intl/plural.c: Regenerated.
28925 * locale/programs/charmap-kw.h: Likewise.
28926 * locale/programs/locfile-kw.h: Likewise.
28927
da08f647
SP
289282013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28929
0f5477af
SP
28930 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28931 four values.
28932
44e0d4c2
SP
28933 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28934 calculation loop and add branch prediction.
28935
4d55b4e5
SP
28936 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28937 check access beyond bounds of m1np.
28938
da08f647
SP
28939 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28940 MPTWO.
28941 (__inv): Remove local variable MPTWO to use the global
28942 constant.
28943 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28944 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28945 variable MPTWO.
28946 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28947 MP3HALFS static const.
28948
8e051029
DM
289492013-01-01 David S. Miller <davem@davemloft.net>
28950
28951 * po/ca.po: Update from translation team.
28952
f4cf5f2d
JM
289532013-01-01 Joseph Myers <joseph@codesourcery.com>
28954
28955 * scripts/update-copyrights: New file.
28956 * Makeconfig: Reformat copyright notice.
28957 * ctype/ctype.h: Likewise.
28958 * debug/swprintf_chk.c: Likewise.
28959 * elf/dl-cache.c: Likewise.
28960 * elf/dl-debug.c: Likewise.
28961 * elf/dl-object.c: Likewise.
28962 * grp/initgroups.c: Likewise.
28963 * hurd/Makefile: Likewise.
28964 * hurd/hurd/signal.h: Likewise.
28965 * hurd/hurdfault.c: Likewise.
28966 * hurd/hurdioctl.c: Likewise.
28967 * hurd/hurdlookup.c: Likewise.
28968 * hurd/intr-msg.c: Likewise.
28969 * iconv/gconv_open.c: Likewise.
28970 * libio/swprintf.c: Likewise.
28971 * locale/lc-ctype.c: Likewise.
28972 * locale/nl_langinfo.c: Likewise.
28973 * mach/Machrules: Likewise.
28974 * mach/Makefile: Likewise.
28975 * malloc/obstack.h: Likewise.
28976 * manual/Makefile: Likewise.
28977 * manual/tsort.awk: Likewise.
28978 * misc/bits/stab.def: Likewise.
28979 * nis/nis_print_group_entry.c: Likewise.
28980 * nis/nis_table.c: Likewise.
28981 * nis/nss_compat/compat-pwd.c: Likewise.
28982 * nis/nss_compat/compat-spwd.c: Likewise.
28983 * po/Makefile: Likewise.
28984 * posix/fnmatch.c: Likewise.
28985 * posix/regex.h: Likewise.
28986 * resolv/Makefile: Likewise.
28987 * resolv/nss_dns/dns-network.c: Likewise.
28988 * resolv/res_hconf.c: Likewise.
28989 * scripts/gen-sorted.awk: Likewise.
28990 * soft-fp/soft-fp.h: Likewise.
28991 * stdio-common/printf.h: Likewise.
28992 * stdlib/monetary.h: Likewise.
28993 * stdlib/random.c: Likewise.
28994 * stdlib/random_r.c: Likewise.
28995 * sysdeps/generic/Makefile: Likewise.
28996 * sysdeps/gnu/Makefile: Likewise.
28997 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28998 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28999 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29001 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29002 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29003 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29004 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29005 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29006 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29007 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29008 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29009 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29010 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29011 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29012 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29013 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29014 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29015 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29016 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29017 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29018 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29019 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29020 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29021 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29022 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29023 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29024 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29025 * sysdeps/mach/hurd/errnos.awk: Likewise.
29026 * sysdeps/mach/hurd/fork.c: Likewise.
29027 * sysdeps/mach/hurd/getcwd.c: Likewise.
29028 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29029 * sysdeps/mach/hurd/mmap.c: Likewise.
29030 * sysdeps/mach/hurd/utimes.c: Likewise.
29031 * sysdeps/mach/hurd/xmknod.c: Likewise.
29032 * sysdeps/posix/profil.c: Likewise.
29033 * sysdeps/posix/readdir_r.c: Likewise.
29034 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29035 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29036 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29037 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29039 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29040 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29041 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29043 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29044 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29045 * sysdeps/pthread/lio_listio.c: Likewise.
29046 * sysdeps/sparc/dl-procinfo.h: Likewise.
29047 * sysdeps/unix/i386/sysdep.S: Likewise.
29048 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29049 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29050 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29051 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29053 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29054 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29055 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29056 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29057 * sysdeps/wordsize-32/divdi3.c: Likewise.
29058 * time/sys/time.h: Likewise.
29059 * wcsmbs/Makefile: Likewise.
29060
0549fbba
DM
290612013-01-01 David S. Miller <davem@davemloft.net>
29062
a141f1a7
DM
29063 * po/fr.po: Update from translation team.
29064
0549fbba
DM
29065 * catgets/gencat.c: Update copyright year.
29066 * csu/version.c: Likewise.
29067 * debug/catchsegv.sh: Likewise.
29068 * debug/pcprofiledump.c: Likewise.
29069 * debug/xtrace.sh: Likewise.
29070 * elf/ldconfig.c: Likewise.
29071 * elf/ldd.bash.in: Likewise.
29072 * elf/pldd.c: Likewise.
29073 * elf/sotruss.ksh: Likewise.
29074 * elf/sprof.c: Likewise.
29075 * iconv/iconv_prog.c: Likewise.
29076 * iconv/iconvconfig.c: Likewise.
29077 * locale/programs/locale.c: Likewise.
29078 * locale/programs/localedef.c: Likewise.
29079 * login/programs/pt_chown.c: Likewise.
29080 * malloc/memusage.sh: Likewise.
29081 * malloc/memusagestat.c: Likewise.
29082 * malloc/mtrace.pl: Likewise.
29083 * nscd/nscd.c: Likewise.
29084 * nss/getent.c: Likewise.
29085 * nss/makedb.c: Likewise.
29086 * posix/getconf.c: Likewise.
29087
18ea052c
SP
290882012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29089
29090 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29091 numbers.
29092
9c89fca6
MF
290932012-12-30 Mike Frysinger <vapier@gentoo.org>
29094
29095 * math/bits/mathcalls.h (modf): Use __nonnull.
29096
085ec079
SP
290972012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29098
29099 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29100 (split): Use macro CN instead of the bare value.
29101 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29102 could be used.
29103 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29104 instead of the bare value.
29105 (power1): Likewise.
29106
6d9f97e1
SP
291072012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29108
d63f73be
SP
29109 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29110 __ATAN_TWOM.
29111 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29112
6d9f97e1
SP
29113 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29114 their values.
29115 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29116 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29117 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29118 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29119
4c4febf5
AJ
291202012-12-28 Andreas Jaeger <aj@suse.de>
29121
af5843ef
AJ
29122 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29123 values are from Linux 3.7.
29124
4c4febf5
AJ
29125 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29126 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29127
99136f82
SP
291282012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29129
2f216c3c 29130 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
29131 TRUE case.
29132
99136f82
SP
29133 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29134 (norm): Likewise.
29135 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29136 variables with preprocessor constants.
29137 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29138 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29139 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29140
7fffbdff
BH
291412012-12-27 Bruno Haible <bruno@clisp.org>
29142
29143 [BZ #14317]
29144 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29145 only if needed.
29146
b76eb5f0
SP
291472012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29148
31a7fe5c
SP
29149 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29150 and use variable directly.
29151 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29152
b76eb5f0
SP
29153 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29154 MPONE.
29155 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29156 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29157 variable MPONE.
29158 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29159 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29160 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29161 include directive. Remove local variable MPONE.
29162 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29163 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29164 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29165
2c8bfe7d
DM
291662012-12-25 David S. Miller <davem@davemloft.net>
29167
29168 * version.h (RELEASE): Set to "development".
29169 (VERSION): Set to "2.17.90".
29170 * NEWS: Add 2.18 section.
29171
147d03b0
DM
291722012-12-21 David S. Miller <davem@davemloft.net>
29173
29174 * po/hr.po: Update from translation team.
29175
a8ebb2b9
AK
291762012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29177
29178 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29179
95b4f1b6
SE
291802012-12-19 Steve Ellcey <sellcey@mips.com>
29181
b2d94007 29182 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 29183
cedb2a90
MS
291842012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29185
29186 * manual/contrib.texi (Contributors): Spelling correction.
29187
bbf527d6
DM
291882012-12-15 David S. Miller <davem@davemloft.net>
29189
29190 * po/ru.po: Update from translation team.
29191
bc38c906
DM
291922012-12-13 David S. Miller <davem@davemloft.net>
29193
85429b1a
DM
29194 * NEWS: Mention IFUNC testsuite enhancements.
29195
d283e353
DM
29196 * po/pl.po: Update from translation team.
29197 * po/bg.po: Likewise.
29198
bc38c906
DM
29199 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29200 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29201
a181b0d7
DM
292022012-12-11 David S. Miller <davem@davemloft.net>
29203
4641d57e
DM
29204 * po/sv.po: Update from translation team.
29205
f7bc6495
DM
29206 * po/vi.po: Update from translation team.
29207
6fc9048f
DM
29208 * po/cs.po: Update from translation team.
29209
a181b0d7
DM
29210 * po/de.po: Update from translation team.
29211 * po/eo.po: Likewise.
29212 * po/nl.po: Likewise.
29213
f70bfe80
SP
292142012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29215
3c8b4190
SP
29216 [BZ #14246]
29217 * manual/argp.texi (Argp Helper Functions): Move node to follow
29218 Argp Parsing State.
29219
f70bfe80
SP
29220 [BZ #14872]
29221 * manual/conf.texi (Limits on File System Capacity): Mention if
29222 terminating null is included in the max size.
29223
188f0adf
AJ
292242012-12-10 Andreas Jaeger <aj@suse.de>
29225
29226 * po/cs.po: Update from translation team.
29227
56e7d3ad
SP
292282012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29229
29230 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29231 void pointer and cast to uintptr_t.
29232 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29233 path.
29234 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29235 * sysdeps/s390/s390-64/memset.S: Likewise.
29236
76f2d2ea 292372012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
29238
29239 [BZ #14833]
29240 * menual/message.texi (Message Translation): Fix typos.
29241 (Helper programs for gettext): Likewise.
29242
67cbf9a2
AS
292432012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29244
29245 [BZ #14898]
29246 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29247 Change to -1.
29248
682d0e9a
DM
292492012-12-07 David S. Miller <davem@davemloft.net>
29250
29251 * po/libc.pot: Update.
29252
573cd484
RH
292532012-12-07 Richard Henderson <rth@redhat.com>
29254
7e9da188 29255 [BZ #10114]
573cd484
RH
29256 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29257 normal/normal case to before the switch.
29258 (_FP_DIV): Likewise.
29259
e933a943
MF
292602012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29261 Mike Frysinger <vapier@gentoo.org>
29262
29263 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29264 check for __NR_fadvise64_64.
29265
82123268
CM
292662012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29267
29268 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29269 0, not just to plain "0" as a statement.
29270 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29271 with cw.
29272
d9814526
JM
292732012-12-06 Joseph Myers <joseph@codesourcery.com>
29274
29275 * NEWS: Use sourceware.org in Bugzilla URL.
29276
7728c574
SP
292772012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29278
f16946dd
SP
29279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29280 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29281
5704bbcb
SP
29282 * stdio-common/tst-put-error.c (do_test): Add newline to the
29283 padded test to ensure flush.
29284
17aa0516
JL
292852012-12-05 Jeff Law <law@redhat.com>
29286
29287 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29288
363313b5
JM
292892012-12-05 Joseph Myers <joseph@codesourcery.com>
29290
effbd42a
JM
29291 * README: Don't refer to ports add-on as distributed separately.
29292 Mention AArch64 in list of systems supported in the ports add-on.
29293
87600365
JM
29294 * LICENSES: Add more non-FSF copyright and license notices.
29295
a0d7066a
JM
29296 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29297 ((unused)).
29298
66ca5a5b
JM
29299 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29300
363313b5
JM
29301 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29302 10000 as width of padded output.
29303
b37984ad
JM
293042012-12-04 Joseph Myers <joseph@codesourcery.com>
29305
9003570a
JM
29306 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29307
b37984ad
JM
29308 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29309 variable LX with __attribute__ ((unused)).
29310 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29311 Likewise.
29312 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29313 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29314 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29315 with __attribute__ ((unused)).
29316
c8df52ec
DM
293172012-12-04 David S. Miller <davem@abraco.davemloft.net>
29318
29319 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29320
b3b099af
JM
293212012-12-04 Joseph Myers <joseph@codesourcery.com>
29322
c33aa6e3
JM
29323 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29324 (CFLAGS-nldbl-acos.c): New variable.
29325 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29326 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29327 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29328 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29329 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29330 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29331 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29332 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29333 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29334 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29335 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29336 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29337 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29338 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29339 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29340 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29341 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29342 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29343 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29344 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29345 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29346 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29347 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29348 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29349 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29350 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29351 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29352 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29353 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29354 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29355 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29356 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29357 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29358 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29359 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29360 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29361 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29362 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29363 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29364 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29365 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29366 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29367 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29368 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29369 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29370 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29371 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29372 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29373 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29374 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29375 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29376 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29377 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29378 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29379 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29380 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29381 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29382 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29383 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29384 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29385 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29386 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29387 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29388 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29389 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29390 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29391 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29392 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29393 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29394 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29395 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29396 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29397 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29398 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29399 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29400 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29401 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29402 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29403 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29404 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29405 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29406 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29407 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29408 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29409 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29410 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29411 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29412 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29413 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29414 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29415 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29416 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29417 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29418 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29419 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29420 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29421 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29422
20f0018d
JM
29423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29424 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29425
b3b099af
JM
29426 [BZ #14914]
29427 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29428 whole low double instead of just low 47 bits when splitting values
29429 into two parts.
29430
029264d1
AM
294312012-12-03 Allan McRae <allan@archlinux.org>
29432
29433 * manual/stdio.texi (Predefined Printf Handlers): Remove
29434 @hsep and @vsep usage.
29435
c9d6789e
MF
294362012-12-03 Mike Frysinger <vapier@gentoo.org>
29437
29438 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29439 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29440
4b7634a5
JL
294412012-12-03 Jeff Law <law@redhat.com>
29442
29443 * time/sys/time.h (settimeofday): Do not mark TV argument
29444 as __nonnull.
29445
eb6cbd24
MF
294462012-12-01 Mike Frysinger <vapier@gentoo.org>
29447
29448 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29449 when currently writing and seek to current position when not.
29450 * libio/Makefile (tests): Remove bug-fclose1.
29451 * libio/bug-fclose1.c: Delete.
29452
f638872a
JM
294532012-12-01 Joseph Myers <joseph@codesourcery.com>
29454
29455 * manual/arith.texi (feenableexcept): Fix typo.
29456 (fedisableexcept): Likewise.
29457
48085d14
RM
294582012-11-30 Roland McGrath <roland@hack.frob.com>
29459
29460 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29461 second, differently-typed declaration, rather than a cast.
29462
1a538b9f
SP
294632012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29464
29465 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29466 * include/rpc/svc.h: ... here.
29467
d07f2ff1 294682012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29469
29470 [BZ #13013]
29471 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29472 depending n and resplen2 to catch cases where answer
29473 equals answerp2.
29474
c93ec1f0
CD
294752012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29476
29477 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29478 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29479
37db69de
MF
294802012-11-29 Mike Frysinger <vapier@gentoo.org>
29481
29482 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29483
e10c4e4f
RM
294842012-11-29 Roland McGrath <roland@hack.frob.com>
29485
29486 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29487
2af1b328
JL
294882012-11-28 Jeff Law <law@redhat.com>
29489
29490 [BZ #13761]
29491 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29492 dataset_temporary. Track alloca usage into alloca_used.
29493 If dataset is large allocate and release it via malloc/free.
29494
111db5b1
FW
294952012-06-04 Florian Weimer <fweimer@redhat.com>
29496
f06cc227 29497 [BZ #14197]
111db5b1
FW
29498 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29499
dd694abd
DM
295002012-11-28 David S. Miller <davem@davemloft.net>
29501
29502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29503
9984dd01
JM
295042012-11-28 Joseph Myers <joseph@codesourcery.com>
29505
29506 [BZ #14803]
29507 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29508 of pi/2 rounded to nearest to 64 bits.
29509 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29510 nearest to 64 bits.
29511 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29512 bits.
29513
14bc93a9
JL
295142012-11-28 Jeff Law <law@redhat.com>
29515 Martin Osvald <mosvald@redhat.com>
29516
29517 [BZ #14889]
29518 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29519 * sunrpc/svc.c: Include time.h.
29520 (__svc_accept_failed): New function.
29521 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29522 any reason other than EINTR, call __svc_accept_failed.
29523 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29524 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29525
e3c6aa3a
AS
295262012-11-28 Andreas Schwab <schwab@suse.de>
29527
29528 * scripts/abilist.awk: Also handle indirect functions in .opd
29529 section.
29530
1bead169
JM
295312012-11-28 Joseph Myers <joseph@codesourcery.com>
29532
29533 [BZ #13881]
29534 * sysdeps/x86/fpu/powl_helper.c: New file.
29535 * sysdeps/x86/fpu/Makefile: Likewise.
29536 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29537 (p3): New object.
29538 (__ieee754_powl): Use __powl_helper for finite arguments except
29539 integer exponents below 8.
29540 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29541 (p3): New object.
29542 (__ieee754_powl): Use __powl_helper for finite arguments except
29543 integer exponents below 8.
29544 * math/libm-test.inc (pow_test): Add more tests and enable some
29545 previously disabled tests.
29546 * sysdeps/i386/fpu/libm-test-ulps: Update.
29547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29548
0817d63d
SP
295492012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29550 Carlos O'Donell <carlos_odonell@mentor.com>
29551
29552 * nss/makedb.c (is_prime): Assert that input is odd and greater
29553 than 4. Note that fact in a comment too.
29554 (next_prime): Add 4 to input.
29555
de2fd463
SP
295562012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29557
29558 [BZ #11741]
29559 * libio/Makefile (tests): Add test case tst-fwrite-error.
29560 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29561 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29562 * libio/tst-fwrite-error.c: New test case.
29563
c515fb51
L
295642012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29565
29566 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29567 before casting to void *.
29568 * include/libc-internal.h (__pointer_type): New macro.
29569 (__integer_if_pointer_type_sub): Likewise.
29570 (__integer_if_pointer_type): Likewise.
29571 (cast_to_integer): Likewise.
29572 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29573 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29574 before casting to atomic64_t.
29575 (atomic_exchange_acq): Likewise.
29576 (__arch_exchange_and_add_body): Likewise.
29577 (__arch_add_body): Likewise.
29578 (atomic_add_negative): Likewise.
29579 (atomic_add_zero): Likewise.
29580
4cf77aa9
JM
295812012-11-26 Joseph Myers <joseph@codesourcery.com>
29582
29583 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29584 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29585 (add_fdes): Likewise.
29586 (linear_search_fdes): Likewise.
29587 (binary_search_unencoded_fdes): Likewise.
29588
d260b3b4
AS
295892012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29590
29591 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29592
67060746
AC
295932012-11-24 Adam Conrad <adconrad@0c3.net>
29594
29595 * configure.in: Autodetect C++ header directories.
29596 * configure: Regenerated.
29597
800938a1
MF
295982012-11-23 Mike Frysinger <vapier@gentoo.org>
29599
29600 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29601
4e6e34e6
AS
296022012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29603
29604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29605
7c7feb47
JM
296062012-11-22 Joseph Myers <joseph@codesourcery.com>
29607
7184dcdf
JM
29608 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29609 LDBL_MANT_DIG == 106]: Disable some tests.
29610 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29611 Likewise.
29612 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29613 Likewise.
29614
0a42601f
JM
29615 [BZ #14871]
29616 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29617 input for small inputs. Return +/- pi/2 for large inputs.
29618 * math/libm-test.inc (atan_test): Add more tests.
29619
79c9b9fe
JM
29620 * sysdeps/generic/unwind-dw2-fde-glibc.c
29621 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29622 __attribute__ ((unused)).
29623
c60d3bf2
JM
29624 [BZ #14645]
29625 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29626 x * y if x and y are nonzero and z is zero.
29627
ef1e0867
JM
29628 [BZ #14811]
29629 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29630 nonzero exponents with absolute value below 0x1p-117 to +/-
29631 0x1p-117.
29632
1468ded3
JM
29633 [BZ #14869]
29634 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29635 up arguments below 2**-450, not just those below 2**-500.
29636 * math/libm-test.inc (hypot_test): Add another test.
29637
8e27e3cc
JM
29638 [BZ #14868]
29639 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29640 Return a+b for ratio over 2**120, not 2**60.
29641 * math/libm-test.inc (hypot_test): Add another test.
29642
c9c0279b
JM
29643 * math/libm-test.inc (clog_test): Use
29644 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29645 (clog10_test): Likewise.
29646
7c7feb47
JM
29647 [BZ #6778]
29648 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29649
fff1530e
AS
296502012-11-22 Andreas Schwab <schwab@suse.de>
29651
29652 * sysdeps/i386/fpu/libm-test-ulps: Update.
29653
94558d30
PT
296542012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29655
29656 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29657 printf output with newline.
29658
7e1be741
L
296592012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29660
6bfea974
L
29661 [BZ #14865]
29662 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29663 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29664 -z nodlopen, -z initfirst and -z execstack support.
29665 * configure: Regenerated.
29666
7e1be741
L
29667 * elf/elf.h (DF_1_NODIRECT): New macro.
29668 (DF_1_IGNMULDEF): Likewise.
29669 (DF_1_NOKSYMS): Likewise.
29670 (DF_1_NOHDR): Likewise.
29671 (DF_1_EDITED): Likewise.
29672 (DF_1_NORELOC): Likewise.
29673 (DF_1_SYMINTPOSE): Likewise.
29674 (DF_1_GLOBAUDIT): Likewise.
29675 (DF_1_SINGLETON): Likewise.
29676 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29677 DT_1_SUPPORTED_MASK bits.
29678 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29679
105ce2ce
CD
296802012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29681
29682 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29683
123be9de
TS
296842012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29685
d072f3f7
TS
29686 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29687 macro.
29688
123be9de
TS
29689 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29690 (sendmmsg): Move declarations...
29691 * socket/sys/socket.h: ... here.
29692 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29693 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29694 include it from...
29695 * socket/recvmmsg.c: ... this new file.
29696 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29697 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29698 definition of __sendmmsg hidden.
29699 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29700 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29701 Move ENOSYS stub into and include it from...
29702 * socket/sendmmsg.c: ... this new file.
29703 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29704 (sysdep_routines): Move recvmmsg and sendmmsg...
29705 * socket/Makefile (routines): ... here.
29706 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29707 (GLIBC_PRIVATE): Add __sendmmsg.
29708 * include/sys/socket.h (__sendmmsg): Add declarations.
29709 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29710 sendmmsg.
29711
cf9a5d18
JM
297122012-11-20 Joseph Myers <joseph@codesourcery.com>
29713
29714 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29715 variable I1 with __attribute__ ((unused)).
29716 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29717
ecd4caf9
JM
297182012-11-19 Joseph Myers <joseph@codesourcery.com>
29719
be14d48f
JM
29720 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29721 DUMMY variables with __attribute__ ((unused)).
29722
ecd4caf9
JM
29723 * bits/byteswap.h: Include <bits/types.h>.
29724 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29725
986cab95
PT
297262012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29727
29728 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29729 string_t. Do not manually set errno.
29730 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29731 length with __strnlen. Make sure to both set errno and return it on
29732 failure.
29733
6d33cc9d
DM
297342012-11-19 David S. Miller <davem@davemloft.net>
29735
29736 With help from Joseph Myers.
29737 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29738 very large arguments properly.
29739 * math/libm-test.inc (atan_test): New tests.
29740 (atan2_test): New tests.
29741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29743
ee663277
JM
297442012-11-19 Joseph Myers <joseph@codesourcery.com>
29745
877f2d8e
JM
29746 [BZ #14856]
29747 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29748 Define to 3.
29749
116fc08a
JM
29750 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29751 [POSIX] (EADDRNOTAVAIL): Likewise.
29752 [POSIX] (EAFNOSUPPORT): Likewise.
29753 [POSIX] (EALREADY): Likewise.
29754 [POSIX] (ECONNABORTED): Likewise.
29755 [POSIX] (ECONNREFUSED): Likewise.
29756 [POSIX] (ECONNRESET): Likewise.
29757 [POSIX] (EDESTADDRREQ): Likewise.
29758 [POSIX] (EDQUOT): Likewise.
29759 [POSIX] (EHOSTUNREACH): Likewise.
29760 [POSIX] (EIDRM): Likewise.
29761 [POSIX] (EISCONN): Likewise.
29762 [POSIX] (ELOOP): Likewise.
29763 [POSIX] (EMULTIHOP): Likewise.
29764 [POSIX] (ENETDOWN): Likewise.
29765 [POSIX] (ENETUNREACH): Likewise.
29766 [POSIX] (ENOBUFS): Likewise.
29767 [POSIX] (ENODATA): Likewise.
29768 [POSIX] (ENOLINK): Likewise.
29769 [POSIX] (ENOMSG): Likewise.
29770 [POSIX] (ENOPROTOOPT): Likewise.
29771 [POSIX] (ENOSR): Likewise.
29772 [POSIX] (ENOSTR): Likewise.
29773 [POSIX] (ENOTCONN): Likewise.
29774 [POSIX] (ENOTSOCK): Likewise.
29775 [POSIX] (EOPNOTSUPP): Likewise.
29776 [POSIX] (EOVERFLOW): Likewise.
29777 [POSIX] (EPROTO): Likewise.
29778 [POSIX] (EPROTONOSUPPORT): Likewise.
29779 [POSIX] (EPROTOTYPE): Likewise.
29780 [POSIX] (ESTALE): Likewise.
29781 [POSIX] (ETIME): Likewise.
29782 [POSIX] (ETXTBSY): Likewise.
29783 [POSIX] (EWOULDBLOCK): Likewise.
29784 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29785 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29786 [POSIX] (SEEK_CUR): Likewise.
29787 [POSIX] (SEEK_END): Likewise.
29788 [POSIX || UNIX98] (mode_t): Do not require.
29789 [POSIX] (off_t): Likewise.
29790 [POSIX] (pid_t): Likewise.
29791 [POSIX] (sys/stat.h): Do not allow header.
29792 [POSIX] (unistd.h): Likewise.
29793 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29794 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29795 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29796 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29797 require.
29798 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29799 sigevent): Specify elements.
29800 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29801 entry.
29802 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29803 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29804
a483863f
JM
29805 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29806 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29807 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29808 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29809 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29810 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29811 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29812 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29813 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29814 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29815 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29816 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29817 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29818 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29819 Likewise.
29820 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29821 Likewise.
29822 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29823 Likewise.
29824 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29825 Likewise.
29826 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29827 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29828 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29829 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29830 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29831 Specify lower bound on value.
29832 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29833 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29834 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29835 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29836 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29837 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29838 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29839 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29840 value.
29841 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29842 as optional.
29843 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29844 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29845 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29846 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29847 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29848 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29849 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29850 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29851 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29852 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29853 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29854 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29855 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29856 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29857 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29858 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29859 entry.
29860 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29861 optional.
29862 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29863 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29864 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29865 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29866 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29867 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29868 Likewise.
29869 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29870 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29871 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29872 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29873 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29874 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29875 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29876 as optional.
29877 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29878 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29879 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29880 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29881 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29882 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29883 specify as optional.
29884 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29885 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29886 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29887 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29888 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29889 [XPG3] (NL_LANGMAX): Likewise.
29890 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29891 [POSIX || XPG3] (NL_NMAX): Likewise.
29892 [POSIX || XPG3] (NL_SETMAX): Likewise.
29893 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29894 [XPG3] (NZERO): Likewise.
29895 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29896 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29897 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29898 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29899 (REG_ERANGE): Expect.
29900 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29901 optional-constant.
29902 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29903 Use (void) in prototype.
29904 [POSIX] (*_t): Allow.
29905 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29906 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29907 (WRDE_BADVAL): Expect.
29908
5ba924e3
JM
29909 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29910 expect.
29911 [XPG3 || XPG4] (O_RSYNC): Likewise.
29912 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29913 Likewise.
29914 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29915 [XPG3 || XPG4] (sigqueue): Likewise.
29916 [XPG3 || XPG4] (sigtimedwait): Likewise.
29917 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29918 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29919 [XPG3 || XPG4] (vsnprintf): Likewise.
29920 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29921 Likewise.
29922 [XPG3 || XPG4] (blksize_t): Likewise.
29923 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29924 Likewise.
29925 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29926 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29927 [XPG3 || XPG4] (struct itimerspec): Likewise.
29928 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29929 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29930 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29931 [XPG3 || XPG4] (clockid_t): Likewise.
29932 [XPG3 || XPG4] (timer_t): Likewise.
29933 [XPG3 || XPG4] (clock_getres): Likewise.
29934 [XPG3 || XPG4] (clock_gettime): Likewise.
29935 [XPG3 || XPG4] (clock_settime): Likewise.
29936 [XPG3 || XPG4] (nanosleep): Likewise.
29937 [XPG3 || XPG4] (timer_create): Likewise.
29938 [XPG3 || XPG4] (timer_delete): Likewise.
29939 [XPG3 || XPG4] (timer_gettime): Likewise.
29940 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29941 [XPG3 || XPG4] (timer_settime): Likewise.
29942 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29943 [XPG3 || XPG4] (getlogin_r): Likewise.
29944 [XPG3 || XPG4] (pread): Likewise.
29945 [XPG3 || XPG4] (pthread_atfork): Likewise.
29946 [XPG3 || XPG4] (pwrite): Likewise.
29947
ee663277
JM
29948 [BZ #14835]
29949 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29950 <bits/siginfo.h>.
29951
942caa16
PT
299522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29953
e19af380
PT
29954 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29955 finalizing MALLSTREAM.
29956
942caa16
PT
29957 * sysdeps/mach/hurd/syncfs.c: New file.
29958
cfde9b46
SP
299592012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29960
29961 [BZ #14719]
29962 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29963 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29964 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29965 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29966 (_nss_dns_gethostbyname4_r): Likewise.
29967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29968 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29969
f6da27e5
PH
299702012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29971
29972 [BZ #13763]
29973 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29974
6665d4a2
SM
299752012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29976
1f51ee92
SM
29977 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29978 * elf/cache.c (print_entry): Print ",AArch64" for
29979 FLAG_AARCH64_LIB64
29980
6665d4a2
SM
29981 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29982 * elf/cache.c (print_entry): Print ",hard-float" for
29983 FLAG_ARM_LIBHF.
29984
05b227bd
DM
299852012-11-18 David S. Miller <davem@davemloft.net>
29986
29987 With help from Joseph Myers.
29988 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29989 cutoff to 2**-13.
29990 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29991 cutoff to 2**-25.
29992 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29993 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29994 small.
29995 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29996 * math/libm-test.inc (y0_test): New tests.
29997 (y1_test): New tests.
29998 * sysdeps/i386/fpu/libm-test-ulps: Update.
29999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30001
786b0b67
AS
300022012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30003
30004 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30005 64-bit targets.
30006 * configure: Regenerated.
30007
8e18b86d
DM
300082012-11-17 David S. Miller <davem@davemloft.net>
30009
30010 [BZ #14811]
30011 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30012 nonzero exponents with absolute value below 0x1p-128 to +/-
30013 0x1p-128.
30014
531f1ae0
JM
300152012-11-17 Joseph Myers <joseph@codesourcery.com>
30016
12df29e2
JM
30017 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30018
150dc1a0
JM
30019 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30020
531f1ae0
JM
30021 * posix/getconf-speclist.c: New file.
30022 * posix/posix-envs.def: Likewise.
30023 * posix/confstr.c (START_ENV_GROUP): New macro.
30024 (END_ENV_GROUP): Likewise.
30025 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30026 (KNOWN_PRESENT_ENV_STRING): Likewise.
30027 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30028 (UNKNOWN_ENVIRONMENT): Likewise.
30029 (confstr): Include posix-envs.def instead of handling
30030 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30031 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30032 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30033 (END_ENV_GROUP): Likewise.
30034 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30035 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30036 (UNKNOWN_ENVIRONMENT): Likewise.
30037 (__sysconf): Include posix-envs.def instead of handling associated
30038 cases directly here.
30039 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30040 preprocessing getconf-speclist.c rather than running getconf or
30041 generating empty file.
30042
a93f9cbc
PT
300432012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30044
30045 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30046
d64d9f87
AL
300472012-11-16 Andrej Lajovic <natrij@gmail.com>
30048
30049 [BZ #14672]
30050 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30051
447885eb
DM
300522012-11-16 David S. Miller <davem@davemloft.net>
30053
30054 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30055 smaller than LDBL_EPSILON/2.0L, just return xm1.
30056
bcbf9830
L
300572012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30058
30059 * elf/tst-array1.c (init): Set constructor priority to 1000.
30060 (fini): Set destructor priority to 1000.
30061 * elf/tst-array2dep.c: Likewise.
30062
2b766585
SP
300632012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30064
30065 [BZ #11741]
30066 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30067 (_IO_new_file_xsputn): Also return EOF if none of the input
30068 data was written when overflow failed.
30069 * libio/iopadn.c (_IO_padn): Likewise.
30070 * libio/iowpadn.c (_IO_wpadn): Likewise.
30071 * stdio-common/tst-put-error.c: Add copyright notice.
30072 (do_test): Add case for printing padded string.
30073 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30074 _IO_padn returned error.
30075 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30076 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30077 return EOF.
30078
b1848fde
SP
300792012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30080
30081 * libio/libioP.h: Add comment note that the references to C++
30082 bits are now obsolete.
30083
2fd89785
MS
300842012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30085
30086 * math/libm-test.inc (check_complex): Use asprintf.
30087
e3ea5409
JM
300882012-11-14 Joseph Myers <joseph@codesourcery.com>
30089
30090 * debug/pcprofiledump.c (print_version): Update copyright year.
30091 * malloc/memusagestat.c (print_version): Likewise.
30092
2e64d265
L
300932012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30094
30095 [BZ #14831]
30096 * elf/Makefile (tests): Add tst-audit8.
30097 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30098 ($(objpfx)tst-audit8.out): New target.
30099 (tst-audit8-ENV): New variable.
30100 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30101 audit if l_reloc_result is NULL.
30102 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30103 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30104 * elf/tst-audit8.c: New file.
30105
c485e4d2
MS
301062012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30107
30108 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30109 * misc/Makefile (CFLAGS-select.c): Define.
30110 * posix/Makefile (CFLAGS-pause.c): Define.
30111
3a0d900a
DM
301122012-11-13 David S. Miller <davem@davemloft.net>
30113
30114 * crypt/Makefile: Move test targets after toplevel Rules
30115 inclusion. Grab any necessary sysdep routines when linking.
30116 * crypt/md5.c (md5_process_block): Remove define, we will always
30117 name it __md5_process_block.
30118 (md5_finish_ctx): Update md5_process_block call.
30119 (md5_stream): Likewise.
30120 (md5_process_bytes): Likewise.
30121 (md5_process_block): Rename to __md5_process_block and move to ...
30122 * crypt/md5-block.c: ... here.
30123 * crypt/sha256.c (sha256_process_block): Move to ...
30124 * crypt/sha256-block.c: ... here.
30125 * crypt/sha512.c (sha512_process_block): Move to ...
30126 * crypt/sha512-block.c: ... here.
30127 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30128 path.
30129 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30130 * sysdeps/sparc/sparc64/multiarch/Makefile
30131 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30132 crypt subdir.
30133 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30134 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30135 multiarch changes.
30136 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30137 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30138 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30139 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30140 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30141 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30142 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30143 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30144 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30145 file.
30146 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30147 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30148 file.
30149 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30150
8ca89318
JM
301512012-11-13 Joseph Myers <joseph@codesourcery.com>
30152
e27d476a
JM
30153 * timezone/tzselect.ksh: Update from tzcode git revision
30154 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30155 * timezone/zdump.c: Likewise.
30156 * timezone/zic.c: Likewise.
30157 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30158 in TZVERSION setting, not $(PKGVERSION).
30159 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30160 REPORT_BUGS_TO settings.
30161
8ca89318
JM
30162 [BZ #14838]
30163 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30164 macro.
30165
47594329
MS
301662012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30167
30168 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30169 detection to immediately after _FP_ROUND().
30170 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30171 bits are 0.
30172
640ac3f1
DM
301732012-11-11 David S. Miller <davem@davemloft.net>
30174
30175 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30176 inttypes.h
30177 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30178 __close rather than their public counterparts.
30179
3d2577bb
JM
301802012-11-10 Joseph Myers <joseph@codesourcery.com>
30181
30182 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30183 file.
30184 [UNIX98] (sem_timedwait): Do not expect.
30185 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30186 [XPG4 || UNIX98] (sockatmark): Do not expect.
30187 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30188 (clock_getcpuclockid): Do not expect.
30189 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30190 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30191 Do not expect.
30192 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30193 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30194 [UNIX98] (vwscanf): Likewise.
30195 [UNIX98] (vswscanf): Likewise.
30196
fb1ae1ee
JM
301972012-11-09 Joseph Myers <joseph@codesourcery.com>
30198
9ec6f8bd
JM
30199 * timezone/version.h: Remove file.
30200 * timezone/README: Do not refer to version.h.
30201 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30202 $(objpfx)version.h.
30203 ($(objpfx)zdump.o): Likewise.
c3f81911 30204 ($(objpfx)version.h): New target.
9ec6f8bd 30205
0aa8f8a1
JM
30206 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30207 2012i.
30208 * timezone/README: Don't mention modification to tzselect.ksh.
30209 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30210 work on unmodified tzselect.ksh. Substitute version numbers in
30211 tzselect.ksh.
30212
4e87147f
JM
30213 * Makefile (format-me): Remove.
30214 (INSTALL): Adjust indentation. Use commands directly instead of
30215 using $(format-me).
30216
8b748aed
JM
30217 * aclocal.m4 (ACX_PKGVERSION): New macro.
30218 (ACX_BUGURL): Likewise.
30219 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30220 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30221 (REPORT_BUGS_TO): Likewise.
30222 * configure: Regenerated.
30223 * config.h.in (PKGVERSION): New macro.
30224 (REPORT_BUGS_TO): Likewise.
30225 * config.make.in (PKGVERSION): New variable.
30226 (PKGVERSION_TEXI): Likewise.
30227 (REPORT_BUGS_TO): Likewise.
30228 (REPORT_BUGS_TEXI): Likewise.
30229 * Makefile (format-me): Use -I$(common-objpfx)manual.
30230 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30231 ($(common-objpfx)manual/%): New target.
30232 (manual/%): Remove target.
30233 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30234 (print_version): Use PKGVERSION.
30235 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30236 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30237 and REPORT_BUGS_TO.
30238 ($(objpfx)xtrace): Likewise.
30239 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30240 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30241 (print_version): Use PKGVERSION.
30242 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30243 (do_version): Use PKGVERSION.
30244 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30245 REPORT_BUGS_TO.
30246 (common-ldd-rewrite): Likewise.
30247 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30248 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30249 (print_version): Use PKGVERSION.
30250 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30251 * elf/pldd.c (argp_program_bug_address): Remove variable.
30252 (more_help): New function.
30253 (argp): Use more_help.
30254 (print_version): Use PKGVERSION.
30255 * elf/sln.c (main): Use PKGVERSION.
30256 (usage): Use REPORT_BUGS_TO.
30257 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30258 (top level): Use PKGVERSION.
30259 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30260 (print_version): Use PKGVERSION.
30261 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30262 (print_version): Use PKGVERSION.
30263 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30264 (print_version): Use PKGVERSION.
30265 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30266 (print_version): Use PKGVERSION.
30267 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30268 (print_version): Use PKGVERSION.
30269 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30270 (print_version): Use PKGVERSION.
30271 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30272 and BUGURL.
30273 ($(objpfx)memusage): Likewise.
30274 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30275 (do_version): Use PKGVERSION.
30276 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30277 (print_version): Use PKGVERSION.
30278 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30279 ($PKGVERSION): New variable.
30280 ($REPORT_BUGS_TO): Likewise.
30281 (usage): Use $REPORT_BUGS_TO.
30282 (top level): Use $PKGVERSION.
30283 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30284 ($(objpfx)pkgvers.texi): New rule.
30285 ($(objpfx)stamp-pkgvers): Likewise.
30286 * manual/install.texi: Include pkgvers.texi.
30287 (--with-pkgversion): Document new configure option.
30288 (--with-bugurl): Likewise.
30289 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30290 than necessarily for this particular distribution. Use
30291 REPORT_BUGS_TO for where to report bugs.
30292 * INSTALL: Regenerated.
30293 * manual/libc.texinfo: Include pkgvers.texi.
30294 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30295 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30296 (print_version): Use PKGVERSION.
30297 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30298 (print_version): Use PKGVERSION.
30299 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30300 (print_version): Use PKGVERSION.
30301 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30302 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30303 macro.
30304 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30305 (print_version): Use PKGVERSION.
30306 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30307 (print_version): Use PKGVERSION.
30308 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30309 and PKGVERSION.
30310
92e4b6a9
JM
30311 * timezone/checktab.awk: Update from tzcode 2012i.
30312 * timezone/ialloc.c: Likewise.
30313 * timezone/private.h: Likewise.
30314 * timezone/scheck.c: Likewise.
30315 * timezone/tzfile.h: Likewise.
30316 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30317 (TZVERSION): Hardcode tzcode version number.
30318 * timezone/zdump.c: Update from tzcode 2012i.
30319 * timezone/zic.c: Likewise.
30320 * timezone/version.h: New file.
30321 * timezone/README: Describe version.h. Update upstream location.
30322
9bde902c
JM
30323 [BZ #14824]
30324 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30325 (mktemp): Enable declaration.
30326 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30327 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30328 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30329 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30330 Likewise.
30331 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30332 Likewise.
30333 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30334 Likewise.
30335 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30336 Likewise.
30337 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30338 Likewise.
30339 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30340 Likewise.
30341
fb1ae1ee
JM
30342 [BZ #14821]
30343 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30344 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30345 for copies of such integer values.
30346 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30347 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30348
2c1adbcb
AJ
303492012-11-09 Andreas Jaeger <aj@suse.de>
30350
30351 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30352 definitions and declarations that are provided by
30353 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30354
d0f8457e
AK
303552012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30356
3a235abb 30357 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
30358 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30359 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30360 definition.
30361
57241e26
MS
303622012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30363
30364 * elf/elf.h: Update comment before AArch64 relocations.
30365
60e8270d
DM
303662012-11-07 David S. Miller <davem@davemloft.net>
30367
30368 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30369 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30370 (__start_context): Declare.
30371 (__makecontext_ret): Delete.
30372 (__makecontext): Hook up __start_context instead of
30373 __makecontext_ret.
30374 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30375 (sysdep_routines): Add __start_context when in stdlib.
30376
0fbb0fbc
JM
303772012-11-07 Joseph Myers <joseph@codesourcery.com>
30378
30379 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30380 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30381 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30382 hardcoded "nm".
30383 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30384 (READELF): New variable. Use it instead of hardcoded "readelf".
30385
eb48db7e
L
303862012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30387
30388 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30389 * sysdeps/x86/Makefile: Here.
30390 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30391 * sysdeps/x86/tst-xmmymm.sh: This.
30392
05bcf62a
JM
303932012-11-07 Joseph Myers <joseph@codesourcery.com>
30394
c4b6cf53
JM
30395 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30396 expectations.
30397 [UNIX98] (pthread_barrier_t): Do not expect.
30398 [UNIX98] (pthread_barrierattr_t): Likewise.
30399 [UNIX98] (pthread_spinlock_t): Likewise.
30400 [UNIX98] (pthread_barrier_destroy): Likewise.
30401 [UNIX98] (pthread_barrier_init): Likewise.
30402 [UNIX98] (pthread_barrier_wait): Likewise.
30403 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30404 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30405 [UNIX98] (pthread_barrierattr_init): Likewise.
30406 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30407 [UNIX98] (pthread_getcpuclockid): Likewise.
30408 [UNIX98] (pthread_mutex_timedlock): Likewise.
30409 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30410 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30411 [UNIX98] (pthread_sigmask): Likewise.
30412 [UNIX98] (pthread_spin_destroy): Likewise.
30413 [UNIX98] (pthread_spin_init): Likewise.
30414 [UNIX98] (pthread_spin_lock): Likewise.
30415 [UNIX98] (pthread_spin_trylock): Likewise.
30416 [UNIX98] (pthread_spin_unlock): Likewise.
30417 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30418 Do not expect.
30419 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30420 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30421 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30422 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30423 [XPG3 || XPG4] (pthread_key_t): Likewise.
30424 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30425 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30426 [XPG3 || XPG4] (pthread_once_t): Likewise.
30427 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30428 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30429 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30430 [XPG3 || XPG4] (pthread_t): Likewise.
30431
cbe6e120
JM
30432 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30433 not expect.
30434 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30435
1b126443
JM
30436 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30437 Change function return type to int.
30438
b961a573
JM
30439 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30440 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30441 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30442 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30443 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30444 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30445 [!POSIX] (posix_madvise): Likewise.
30446 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30447 && !UNIX98].
30448 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30449 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30450 (mode_t): Likewise.
30451 (posix_mem_offset): Likewise.
30452 (posix_typed_mem_get_info): Likewise.
30453 (posix_typed_mem_open): Likewise.
30454
9e188909
JM
30455 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30456 Change condition to [XOPEN2K8].
30457
05bcf62a
JM
30458 * conform/conformtest.pl: Preprocess allow-header data with -x c
30459 instead of from stdin.
30460 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30461 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30462 [C99-based standards] (cerfc): Likewise.
30463 [C99-based standards] (cexp2): Likewise.
30464 [C99-based standards] (cexpm1): Likewise.
30465 [C99-based standards] (clog10): Likewise.
30466 [C99-based standards] (clog1p): Likewise.
30467 [C99-based standards] (clog2): Likewise.
30468 [C99-based standards] (clgamma): Likewise.
30469 [C99-based standards] (ctgamma): Likewise.
30470 [C99-based standards] (cerff): Likewise.
30471 [C99-based standards] (cerfcf): Likewise.
30472 [C99-based standards] (cexp2f): Likewise.
30473 [C99-based standards] (cexpm1f): Likewise.
30474 [C99-based standards] (clog10f): Likewise.
30475 [C99-based standards] (clog1pf): Likewise.
30476 [C99-based standards] (clog2f): Likewise.
30477 [C99-based standards] (clgammaf): Likewise.
30478 [C99-based standards] (ctgammaf): Likewise.
30479 [C99-based standards] (cerfl): Likewise.
30480 [C99-based standards] (cerfcl): Likewise.
30481 [C99-based standards] (cexp2l): Likewise.
30482 [C99-based standards] (cexpm1l): Likewise.
30483 [C99-based standards] (clog10l): Likewise.
30484 [C99-based standards] (clog1pl): Likewise.
30485 [C99-based standards] (clog2l): Likewise.
30486 [C99-based standards] (clgammal): Likewise.
30487 [C99-based standards] (ctgammal): Likewise.
30488 * conform/data/inttypes.h-data [C99-based standards]: Include
30489 stdint.h-data. Remove all expectations for stdint.h contents.
30490 [C99-based standards] (PRI*): Do not allow.
30491 [C99-based standards] (SCN*): Likewise.
30492 [C99-based standards] (*_t): Likewise.
30493 [C99-based-standards] (PRId8): Expect macro.
30494 [C99-based-standards] (PRIi8): Likewise.
30495 [C99-based-standards] (PRIo8): Likewise.
30496 [C99-based-standards] (PRIu8): Likewise.
30497 [C99-based-standards] (PRIx8): Likewise.
30498 [C99-based-standards] (PRIX8): Likewise.
30499 [C99-based-standards] (SCNd8): Likewise.
30500 [C99-based-standards] (SCNi8): Likewise.
30501 [C99-based-standards] (SCNo8): Likewise.
30502 [C99-based-standards] (SCNu8): Likewise.
30503 [C99-based-standards] (SCNx8): Likewise.
30504 [C99-based-standards] (PRIdLEAST8): Likewise.
30505 [C99-based-standards] (PRIiLEAST8): Likewise.
30506 [C99-based-standards] (PRIoLEAST8): Likewise.
30507 [C99-based-standards] (PRIuLEAST8): Likewise.
30508 [C99-based-standards] (PRIxLEAST8): Likewise.
30509 [C99-based-standards] (PRIXLEAST8): Likewise.
30510 [C99-based-standards] (SCNdLEAST8): Likewise.
30511 [C99-based-standards] (SCNiLEAST8): Likewise.
30512 [C99-based-standards] (SCNoLEAST8): Likewise.
30513 [C99-based-standards] (SCNuLEAST8): Likewise.
30514 [C99-based-standards] (SCNxLEAST8): Likewise.
30515 [C99-based-standards] (PRIdFAST8): Likewise.
30516 [C99-based-standards] (PRIiFAST8): Likewise.
30517 [C99-based-standards] (PRIoFAST8): Likewise.
30518 [C99-based-standards] (PRIuFAST8): Likewise.
30519 [C99-based-standards] (PRIxFAST8): Likewise.
30520 [C99-based-standards] (PRIXFAST8): Likewise.
30521 [C99-based-standards] (SCNdFAST8): Likewise.
30522 [C99-based-standards] (SCNiFAST8): Likewise.
30523 [C99-based-standards] (SCNoFAST8): Likewise.
30524 [C99-based-standards] (SCNuFAST8): Likewise.
30525 [C99-based-standards] (SCNxFAST8): Likewise.
30526 [C99-based-standards] (PRId16): Likewise.
30527 [C99-based-standards] (PRIi16): Likewise.
30528 [C99-based-standards] (PRIo16): Likewise.
30529 [C99-based-standards] (PRIu16): Likewise.
30530 [C99-based-standards] (PRIx16): Likewise.
30531 [C99-based-standards] (PRIX16): Likewise.
30532 [C99-based-standards] (SCNd16): Likewise.
30533 [C99-based-standards] (SCNi16): Likewise.
30534 [C99-based-standards] (SCNo16): Likewise.
30535 [C99-based-standards] (SCNu16): Likewise.
30536 [C99-based-standards] (SCNx16): Likewise.
30537 [C99-based-standards] (PRIdLEAST16): Likewise.
30538 [C99-based-standards] (PRIiLEAST16): Likewise.
30539 [C99-based-standards] (PRIoLEAST16): Likewise.
30540 [C99-based-standards] (PRIuLEAST16): Likewise.
30541 [C99-based-standards] (PRIxLEAST16): Likewise.
30542 [C99-based-standards] (PRIXLEAST16): Likewise.
30543 [C99-based-standards] (SCNdLEAST16): Likewise.
30544 [C99-based-standards] (SCNiLEAST16): Likewise.
30545 [C99-based-standards] (SCNoLEAST16): Likewise.
30546 [C99-based-standards] (SCNuLEAST16): Likewise.
30547 [C99-based-standards] (SCNxLEAST16): Likewise.
30548 [C99-based-standards] (PRIdFAST16): Likewise.
30549 [C99-based-standards] (PRIiFAST16): Likewise.
30550 [C99-based-standards] (PRIoFAST16): Likewise.
30551 [C99-based-standards] (PRIuFAST16): Likewise.
30552 [C99-based-standards] (PRIxFAST16): Likewise.
30553 [C99-based-standards] (PRIXFAST16): Likewise.
30554 [C99-based-standards] (SCNdFAST16): Likewise.
30555 [C99-based-standards] (SCNiFAST16): Likewise.
30556 [C99-based-standards] (SCNoFAST16): Likewise.
30557 [C99-based-standards] (SCNuFAST16): Likewise.
30558 [C99-based-standards] (SCNxFAST16): Likewise.
30559 [C99-based-standards] (PRId32): Likewise.
30560 [C99-based-standards] (PRIi32): Likewise.
30561 [C99-based-standards] (PRIo32): Likewise.
30562 [C99-based-standards] (PRIu32): Likewise.
30563 [C99-based-standards] (PRIx32): Likewise.
30564 [C99-based-standards] (PRIX32): Likewise.
30565 [C99-based-standards] (SCNd32): Likewise.
30566 [C99-based-standards] (SCNi32): Likewise.
30567 [C99-based-standards] (SCNo32): Likewise.
30568 [C99-based-standards] (SCNu32): Likewise.
30569 [C99-based-standards] (SCNx32): Likewise.
30570 [C99-based-standards] (PRIdLEAST32): Likewise.
30571 [C99-based-standards] (PRIiLEAST32): Likewise.
30572 [C99-based-standards] (PRIoLEAST32): Likewise.
30573 [C99-based-standards] (PRIuLEAST32): Likewise.
30574 [C99-based-standards] (PRIxLEAST32): Likewise.
30575 [C99-based-standards] (PRIXLEAST32): Likewise.
30576 [C99-based-standards] (SCNdLEAST32): Likewise.
30577 [C99-based-standards] (SCNiLEAST32): Likewise.
30578 [C99-based-standards] (SCNoLEAST32): Likewise.
30579 [C99-based-standards] (SCNuLEAST32): Likewise.
30580 [C99-based-standards] (SCNxLEAST32): Likewise.
30581 [C99-based-standards] (PRIdFAST32): Likewise.
30582 [C99-based-standards] (PRIiFAST32): Likewise.
30583 [C99-based-standards] (PRIoFAST32): Likewise.
30584 [C99-based-standards] (PRIuFAST32): Likewise.
30585 [C99-based-standards] (PRIxFAST32): Likewise.
30586 [C99-based-standards] (PRIXFAST32): Likewise.
30587 [C99-based-standards] (SCNdFAST32): Likewise.
30588 [C99-based-standards] (SCNiFAST32): Likewise.
30589 [C99-based-standards] (SCNoFAST32): Likewise.
30590 [C99-based-standards] (SCNuFAST32): Likewise.
30591 [C99-based-standards] (SCNxFAST32): Likewise.
30592 [C99-based-standards] (PRId64): Likewise.
30593 [C99-based-standards] (PRIi64): Likewise.
30594 [C99-based-standards] (PRIo64): Likewise.
30595 [C99-based-standards] (PRIu64): Likewise.
30596 [C99-based-standards] (PRIx64): Likewise.
30597 [C99-based-standards] (PRIX64): Likewise.
30598 [C99-based-standards] (SCNd64): Likewise.
30599 [C99-based-standards] (SCNi64): Likewise.
30600 [C99-based-standards] (SCNo64): Likewise.
30601 [C99-based-standards] (SCNu64): Likewise.
30602 [C99-based-standards] (SCNx64): Likewise.
30603 [C99-based-standards] (PRIdLEAST64): Likewise.
30604 [C99-based-standards] (PRIiLEAST64): Likewise.
30605 [C99-based-standards] (PRIoLEAST64): Likewise.
30606 [C99-based-standards] (PRIuLEAST64): Likewise.
30607 [C99-based-standards] (PRIxLEAST64): Likewise.
30608 [C99-based-standards] (PRIXLEAST64): Likewise.
30609 [C99-based-standards] (SCNdLEAST64): Likewise.
30610 [C99-based-standards] (SCNiLEAST64): Likewise.
30611 [C99-based-standards] (SCNoLEAST64): Likewise.
30612 [C99-based-standards] (SCNuLEAST64): Likewise.
30613 [C99-based-standards] (SCNxLEAST64): Likewise.
30614 [C99-based-standards] (PRIdFAST64): Likewise.
30615 [C99-based-standards] (PRIiFAST64): Likewise.
30616 [C99-based-standards] (PRIoFAST64): Likewise.
30617 [C99-based-standards] (PRIuFAST64): Likewise.
30618 [C99-based-standards] (PRIxFAST64): Likewise.
30619 [C99-based-standards] (PRIXFAST64): Likewise.
30620 [C99-based-standards] (SCNdFAST64): Likewise.
30621 [C99-based-standards] (SCNiFAST64): Likewise.
30622 [C99-based-standards] (SCNoFAST64): Likewise.
30623 [C99-based-standards] (SCNuFAST64): Likewise.
30624 [C99-based-standards] (SCNxFAST64): Likewise.
30625 [C99-based-standards] (PRIdMAX): Likewise.
30626 [C99-based-standards] (PRIiMAX): Likewise.
30627 [C99-based-standards] (PRIoMAX): Likewise.
30628 [C99-based-standards] (PRIuMAX): Likewise.
30629 [C99-based-standards] (PRIxMAX): Likewise.
30630 [C99-based-standards] (PRIXMAX): Likewise.
30631 [C99-based-standards] (SCNdMAX): Likewise.
30632 [C99-based-standards] (SCNiMAX): Likewise.
30633 [C99-based-standards] (SCNoMAX): Likewise.
30634 [C99-based-standards] (SCNuMAX): Likewise.
30635 [C99-based-standards] (SCNxMAX): Likewise.
30636 [C99-based-standards] (PRIdPTR): Likewise.
30637 [C99-based-standards] (PRIiPTR): Likewise.
30638 [C99-based-standards] (PRIoPTR): Likewise.
30639 [C99-based-standards] (PRIuPTR): Likewise.
30640 [C99-based-standards] (PRIxPTR): Likewise.
30641 [C99-based-standards] (PRIXPTR): Likewise.
30642 [C99-based-standards] (SCNdPTR): Likewise.
30643 [C99-based-standards] (SCNiPTR): Likewise.
30644 [C99-based-standards] (SCNoPTR): Likewise.
30645 [C99-based-standards] (SCNuPTR): Likewise.
30646 [C99-based-standards] (SCNxPTR): Likewise.
30647 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30648 allow.
30649 * conform/data/stdint.h-data: Update comments to clarify
30650 requirements.
30651 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30652 type.
30653 [C99-based standards] (INT8_MAX): Likewise.
30654 [C99-based standards] (INT16_MIN): Likewise.
30655 [C99-based standards] (INT16_MAX): Likewise.
30656 [C99-based standards] (INT32_MIN): Likewise.
30657 [C99-based standards] (INT32_MAX): Likewise.
30658 [C99-based standards] (INT64_MIN): Likewise.
30659 [C99-based standards] (INT64_MAX): Likewise.
30660 [C99-based standards] (UINT8_MAX): Likewise.
30661 [C99-based standards] (UINT16_MAX): Likewise.
30662 [C99-based standards] (UINT32_MAX): Likewise.
30663 [C99-based standards] (UINT64_MAX): Likewise.
30664 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30665 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30666 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30667 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30668 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30669 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30670 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30671 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30672 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30673 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30674 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30675 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30676 [C99-based standards] (INT_FAST8_MIN): Likewise.
30677 [C99-based standards] (INT_FAST8_MAX): Likewise.
30678 [C99-based standards] (INT_FAST16_MIN): Likewise.
30679 [C99-based standards] (INT_FAST16_MAX): Likewise.
30680 [C99-based standards] (INT_FAST32_MIN): Likewise.
30681 [C99-based standards] (INT_FAST32_MAX): Likewise.
30682 [C99-based standards] (INT_FAST64_MIN): Likewise.
30683 [C99-based standards] (INT_FAST64_MAX): Likewise.
30684 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30685 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30686 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30687 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30688 [C99-based standards] (INTPTR_MIN): Likewise.
30689 [C99-based standards] (INTPTR_MAX): Likewise.
30690 [C99-based standards] (UINTPTR_MAX): Likewise.
30691 [C99-based standards] (INTMAX_MIN): Likewise.
30692 [C99-based standards] (INTMAX_MAX): Likewise.
30693 [C99-based standards] (UINTMAX_MAX): Likewise.
30694 [C99-based standards] (PTRDIFF_MIN): Likewise.
30695 [C99-based standards] (PTRDIFF_MAX): Likewise.
30696 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30697 [C99-based standards] (SIZE_MAX): Likewise.
30698 [C99-based standards] (WCHAR_MAX): Likewise.
30699 [C99-based standards] (WINT_MAX): Likewise.
30700 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30701 constraint on value.
30702 [C99-based standards] (WCHAR_MIN): Likewise.
30703 [C99-based standards] (WINT_MIN): Likewise.
30704 [C99-based standards] (*_t): Allow.
30705 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30706 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30707 Include math.h-data and complex.h-data. Remove all expectations
30708 of math.h and complex.h contents.
30709 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30710 at end of line.
30711 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30712 (struct tm): Expect tag.
30713 [C99-based-standards] (wcstof): Expect function.
30714 [C99-based-standards] (wcstold): Likewise.
30715 [C99-based-standards] (wcstoll): Likewise.
30716 [C99-based-standards] (wcstoull): Likewise.
30717 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30718 macro-int-constant. Specify type.
30719 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30720 constraint on value.
30721 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30722 Specify type.
30723 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30724 Specify value.
30725 [ISO C standards]: Do not allow headers.
30726 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30727 wcs[abcdefghijklmnopqrstuvwxyz]*.
30728 [ISO C standards] (*_t): Do not allow.
30729 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30730 Expect function.
30731 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30732 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30733 Specify type.
30734 [ISO C standards]: Do not allow headers.
30735 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30736 is[abcdefghijklmnopqrstuvwxyz]*.
30737 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30738 to[abcdefghijklmnopqrstuvwxyz]*.
30739 [ISO C standards] (*_t): Do not allow.
30740 * conform/data/stdalign.h-data: New file.
30741 * conform/data/stdbool.h-data: Likewise.
30742 * conform/data/stdnoreturn.h-data: Likewise.
30743
7514feb8
RM
307442012-11-07 Roland McGrath <roland@hack.frob.com>
30745
30746 [BZ #14815]
30747 * manual/filesys.texi (Directory Entries): Typo fix.
30748 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30749
19b2ecfc
MS
307502012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30751
30752 * elf/elf.h (EM_AARCH64): New macro.
30753 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30754 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30755 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30756 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30757 (R_AARCH64_TLSDESC): Likewise.
30758 (NT_ARM_TLS): Likewise.
30759 (NT_ARM_HW_BREAK): Likewise.
30760 (NT_ARM_HW_WATCH): Likewise.
30761
60e235ee
JM
307622012-11-07 Joseph Myers <joseph@codesourcery.com>
30763
30764 [BZ #14811]
30765 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30766 (__ieee754_powl): Saturate nonzero exponents with absolute value
30767 below 0x1p-79 to +/- 0x1p-79.
30768 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30769 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30770 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30771 nonzero exponents with absolute value below 0x1p-32 to +/-
30772 0x1p-32.
30773 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30774 (__ieee754_powl): Saturate nonzero exponents with absolute value
30775 below 0x1p-79 to +/- 0x1p-79.
30776 * math/libm-test.inc (pow_test): Add more tests.
30777
0ab234b7
AK
307782012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30779
30780 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30781 _dl_s390_cap_flags with kernel. Increase string length.
30782 (_dl_s390_platforms): Add z196 and zEC12.
30783
45832f74
JM
307842012-11-07 Joseph Myers <joseph@codesourcery.com>
30785
30786 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30787 Change XOPEN21K to XOPEN2K.
30788
19218757
MK
307892012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30790
30791 * string/memmove.c: Use memcpy when possible.
30792
c5f45721
AJ
307932012-11-06 Andreas Jaeger <aj@suse.de>
30794
30795 * po/eo.po: Update from translation team.
30796
82477c28
JM
307972012-11-06 Joseph Myers <joseph@codesourcery.com>
30798
30799 [BZ #14793]
30800 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30801 exponent and small x and y exponents, scale x or y up. Increase
30802 by 2 the exponent used in scaling up.
30803 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30804 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30805 * math/libm-test.inc (fma_test): Add more tests.
30806 (fma_test_towardzero): Likewise.
30807 (fma_test_downward): Likewise.
30808 (fma_test_upward): Likewise.
30809
99252c8c
JM
308102012-11-05 Joseph Myers <joseph@codesourcery.com>
30811
acfa885f
JM
30812 [BZ #14805]
30813 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30814 fenv_t *.
30815
99252c8c
JM
30816 [BZ #14801]
30817 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30818 namespace for names of struct fields.
30819 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30820 fenv_t fields.
30821 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30822 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30823
d6d98dea
ST
308242012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30825
30826 [BZ #3665]
30827 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30828
e10bb107
TS
308292012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30830
30831 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30832 PTR_DEMANGLE.
30833
30834 [BZ #5246]
30835 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30836 PTR_DEMANGLE.
30837
a0c2940d
JM
308382012-11-04 Joseph Myers <joseph@codesourcery.com>
30839
30840 [BZ #14797]
30841 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30842 definitely overflow as x * y not x * y + z.
30843 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30844 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30845 * math/libm-test.inc (fma_test): Add more tests.
30846 (fma_test_towardzero): Likewise.
30847 (fma_test_downward): Likewise.
30848 (fma_test_upward): Likewise.
30849
b830319d
TS
308502012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30851
30852 [BZ #157]
30853
30854 * include/stub-tag.h: Remove file.
30855 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30856 '#include' of it.
30857 * manual/maint.texi (Porting): Don't reference it.
30858 * Makerules ($(objpfx)stubs): Likewise.
30859 * dirent/closedir.c: Don't include <stub-tag.h>.
30860 * dirent/dirfd.c: Likewise.
30861 * dirent/fdopendir.c: Likewise.
30862 * dirent/getdents.c: Likewise.
30863 * dirent/getdents64.c: Likewise.
30864 * dirent/opendir.c: Likewise.
30865 * dirent/readdir.c: Likewise.
30866 * dirent/readdir64.c: Likewise.
30867 * dirent/readdir64_r.c: Likewise.
30868 * dirent/readdir_r.c: Likewise.
30869 * dirent/rewinddir.c: Likewise.
30870 * dirent/seekdir.c: Likewise.
30871 * dirent/telldir.c: Likewise.
30872 * gmon/profil.c: Likewise.
30873 * grp/setgroups.c: Likewise.
30874 * inet/if_index.c: Likewise.
30875 * io/access.c: Likewise.
30876 * io/chdir.c: Likewise.
30877 * io/chmod.c: Likewise.
30878 * io/chown.c: Likewise.
30879 * io/close.c: Likewise.
30880 * io/dup.c: Likewise.
30881 * io/dup2.c: Likewise.
30882 * io/dup3.c: Likewise.
30883 * io/euidaccess.c: Likewise.
30884 * io/faccessat.c: Likewise.
30885 * io/fchdir.c: Likewise.
30886 * io/fchmod.c: Likewise.
30887 * io/fchmodat.c: Likewise.
30888 * io/fchown.c: Likewise.
30889 * io/fchownat.c: Likewise.
30890 * io/fcntl.c: Likewise.
30891 * io/flock.c: Likewise.
30892 * io/fstatfs.c: Likewise.
30893 * io/fstatfs64.c: Likewise.
30894 * io/fstatvfs.c: Likewise.
30895 * io/fstatvfs64.c: Likewise.
30896 * io/futimens.c: Likewise.
30897 * io/fxstat.c: Likewise.
30898 * io/fxstat64.c: Likewise.
30899 * io/fxstatat.c: Likewise.
30900 * io/fxstatat64.c: Likewise.
30901 * io/getcwd.c: Likewise.
30902 * io/isatty.c: Likewise.
30903 * io/lchmod.c: Likewise.
30904 * io/lchown.c: Likewise.
30905 * io/link.c: Likewise.
30906 * io/linkat.c: Likewise.
30907 * io/lseek.c: Likewise.
30908 * io/lseek64.c: Likewise.
30909 * io/lxstat64.c: Likewise.
30910 * io/mkdir.c: Likewise.
30911 * io/mkdirat.c: Likewise.
30912 * io/mkfifo.c: Likewise.
30913 * io/mkfifoat.c: Likewise.
30914 * io/open.c: Likewise.
30915 * io/open64.c: Likewise.
30916 * io/openat.c: Likewise.
30917 * io/openat64.c: Likewise.
30918 * io/pipe.c: Likewise.
30919 * io/pipe2.c: Likewise.
30920 * io/poll.c: Likewise.
30921 * io/posix_fadvise.c: Likewise.
30922 * io/posix_fadvise64.c: Likewise.
30923 * io/posix_fallocate.c: Likewise.
30924 * io/posix_fallocate64.c: Likewise.
30925 * io/read.c: Likewise.
30926 * io/readlink.c: Likewise.
30927 * io/readlinkat.c: Likewise.
30928 * io/rmdir.c: Likewise.
30929 * io/sendfile.c: Likewise.
30930 * io/sendfile64.c: Likewise.
30931 * io/statfs.c: Likewise.
30932 * io/statfs64.c: Likewise.
30933 * io/statvfs.c: Likewise.
30934 * io/statvfs64.c: Likewise.
30935 * io/symlink.c: Likewise.
30936 * io/symlinkat.c: Likewise.
30937 * io/ttyname.c: Likewise.
30938 * io/ttyname_r.c: Likewise.
30939 * io/umask.c: Likewise.
30940 * io/unlink.c: Likewise.
30941 * io/unlinkat.c: Likewise.
30942 * io/utime.c: Likewise.
30943 * io/utimensat.c: Likewise.
30944 * io/write.c: Likewise.
30945 * io/xmknod.c: Likewise.
30946 * io/xmknodat.c: Likewise.
30947 * io/xstat.c: Likewise.
30948 * io/xstat64.c: Likewise.
30949 * login/getpt.c: Likewise.
30950 * login/grantpt.c: Likewise.
30951 * login/unlockpt.c: Likewise.
30952 * math/e_acoshl.c: Likewise.
30953 * math/e_acosl.c: Likewise.
30954 * math/e_asinl.c: Likewise.
30955 * math/e_atan2l.c: Likewise.
30956 * math/e_atanhl.c: Likewise.
30957 * math/e_coshl.c: Likewise.
30958 * math/e_expl.c: Likewise.
30959 * math/e_fmodl.c: Likewise.
30960 * math/e_gammal_r.c: Likewise.
30961 * math/e_hypotl.c: Likewise.
30962 * math/e_j0l.c: Likewise.
30963 * math/e_j1l.c: Likewise.
30964 * math/e_jnl.c: Likewise.
30965 * math/e_lgammal_r.c: Likewise.
30966 * math/e_log10l.c: Likewise.
30967 * math/e_log2l.c: Likewise.
30968 * math/e_logl.c: Likewise.
30969 * math/e_powl.c: Likewise.
30970 * math/e_rem_pio2l.c: Likewise.
30971 * math/e_sinhl.c: Likewise.
30972 * math/e_sqrtl.c: Likewise.
30973 * math/fclrexcpt.c: Likewise.
30974 * math/fedisblxcpt.c: Likewise.
30975 * math/feenablxcpt.c: Likewise.
30976 * math/fegetenv.c: Likewise.
30977 * math/fegetexcept.c: Likewise.
30978 * math/fegetround.c: Likewise.
30979 * math/feholdexcpt.c: Likewise.
30980 * math/fesetenv.c: Likewise.
30981 * math/fesetround.c: Likewise.
30982 * math/feupdateenv.c: Likewise.
30983 * math/fgetexcptflg.c: Likewise.
30984 * math/fraiseexcpt.c: Likewise.
30985 * math/fsetexcptflg.c: Likewise.
30986 * math/ftestexcept.c: Likewise.
30987 * math/k_cosl.c: Likewise.
30988 * math/k_rem_pio2l.c: Likewise.
30989 * math/k_sinl.c: Likewise.
30990 * math/k_tanl.c: Likewise.
30991 * math/s_asinhl.c: Likewise.
30992 * math/s_atanl.c: Likewise.
30993 * math/s_cbrtl.c: Likewise.
30994 * math/s_erfl.c: Likewise.
30995 * math/s_expm1l.c: Likewise.
30996 * math/s_log1pl.c: Likewise.
30997 * math/s_tanhl.c: Likewise.
30998 * misc/acct.c: Likewise.
30999 * misc/brk.c: Likewise.
31000 * misc/chflags.c: Likewise.
31001 * misc/chroot.c: Likewise.
31002 * misc/fchflags.c: Likewise.
31003 * misc/fgetxattr.c: Likewise.
31004 * misc/flistxattr.c: Likewise.
31005 * misc/fremovexattr.c: Likewise.
31006 * misc/fsetxattr.c: Likewise.
31007 * misc/fsync.c: Likewise.
31008 * misc/ftruncate.c: Likewise.
31009 * misc/futimes.c: Likewise.
31010 * misc/futimesat.c: Likewise.
31011 * misc/getdomain.c: Likewise.
31012 * misc/getdtsz.c: Likewise.
31013 * misc/gethostid.c: Likewise.
31014 * misc/gethostname.c: Likewise.
31015 * misc/getloadavg.c: Likewise.
31016 * misc/getpagesize.c: Likewise.
31017 * misc/getsysstats.c: Likewise.
31018 * misc/getxattr.c: Likewise.
31019 * misc/gtty.c: Likewise.
31020 * misc/ioctl.c: Likewise.
31021 * misc/lgetxattr.c: Likewise.
31022 * misc/listxattr.c: Likewise.
31023 * misc/llistxattr.c: Likewise.
31024 * misc/lremovexattr.c: Likewise.
31025 * misc/lsetxattr.c: Likewise.
31026 * misc/lutimes.c: Likewise.
31027 * misc/madvise.c: Likewise.
31028 * misc/mincore.c: Likewise.
31029 * misc/mlock.c: Likewise.
31030 * misc/mlockall.c: Likewise.
31031 * misc/mmap.c: Likewise.
31032 * misc/mprotect.c: Likewise.
31033 * misc/msync.c: Likewise.
31034 * misc/munlock.c: Likewise.
31035 * misc/munlockall.c: Likewise.
31036 * misc/munmap.c: Likewise.
31037 * misc/preadv.c: Likewise.
31038 * misc/preadv64.c: Likewise.
31039 * misc/ptrace.c: Likewise.
31040 * misc/pwritev.c: Likewise.
31041 * misc/pwritev64.c: Likewise.
31042 * misc/readv.c: Likewise.
31043 * misc/reboot.c: Likewise.
31044 * misc/remap_file_pages.c: Likewise.
31045 * misc/removexattr.c: Likewise.
31046 * misc/revoke.c: Likewise.
31047 * misc/select.c: Likewise.
31048 * misc/setdomain.c: Likewise.
31049 * misc/setegid.c: Likewise.
31050 * misc/seteuid.c: Likewise.
31051 * misc/sethostid.c: Likewise.
31052 * misc/sethostname.c: Likewise.
31053 * misc/setregid.c: Likewise.
31054 * misc/setreuid.c: Likewise.
31055 * misc/setxattr.c: Likewise.
31056 * misc/sstk.c: Likewise.
31057 * misc/stty.c: Likewise.
31058 * misc/swapoff.c: Likewise.
31059 * misc/swapon.c: Likewise.
31060 * misc/sync.c: Likewise.
31061 * misc/syncfs.c: Likewise.
31062 * misc/syscall.c: Likewise.
31063 * misc/truncate.c: Likewise.
31064 * misc/ualarm.c: Likewise.
31065 * misc/usleep.c: Likewise.
31066 * misc/ustat.c: Likewise.
31067 * misc/utimes.c: Likewise.
31068 * misc/vhangup.c: Likewise.
31069 * misc/writev.c: Likewise.
31070 * posix/_exit.c: Likewise.
31071 * posix/alarm.c: Likewise.
31072 * posix/execve.c: Likewise.
31073 * posix/fexecve.c: Likewise.
31074 * posix/fork.c: Likewise.
31075 * posix/fpathconf.c: Likewise.
31076 * posix/getaddrinfo.c: Likewise.
31077 * posix/getegid.c: Likewise.
31078 * posix/geteuid.c: Likewise.
31079 * posix/getgid.c: Likewise.
31080 * posix/getgroups.c: Likewise.
31081 * posix/getlogin.c: Likewise.
31082 * posix/getlogin_r.c: Likewise.
31083 * posix/getpgid.c: Likewise.
31084 * posix/getpid.c: Likewise.
31085 * posix/getppid.c: Likewise.
31086 * posix/getresgid.c: Likewise.
31087 * posix/getresuid.c: Likewise.
31088 * posix/getsid.c: Likewise.
31089 * posix/getuid.c: Likewise.
31090 * posix/glob64.c: Likewise.
31091 * posix/nanosleep.c: Likewise.
31092 * posix/pathconf.c: Likewise.
31093 * posix/pause.c: Likewise.
31094 * posix/posix_madvise.c: Likewise.
31095 * posix/pread.c: Likewise.
31096 * posix/pread64.c: Likewise.
31097 * posix/pwrite.c: Likewise.
31098 * posix/pwrite64.c: Likewise.
31099 * posix/sched_getaffinity.c: Likewise.
31100 * posix/sched_getp.c: Likewise.
31101 * posix/sched_gets.c: Likewise.
31102 * posix/sched_primax.c: Likewise.
31103 * posix/sched_primin.c: Likewise.
31104 * posix/sched_rr_gi.c: Likewise.
31105 * posix/sched_setaffinity.c: Likewise.
31106 * posix/sched_setp.c: Likewise.
31107 * posix/sched_sets.c: Likewise.
31108 * posix/sched_yield.c: Likewise.
31109 * posix/setgid.c: Likewise.
31110 * posix/setlogin.c: Likewise.
31111 * posix/setpgid.c: Likewise.
31112 * posix/setresgid.c: Likewise.
31113 * posix/setresuid.c: Likewise.
31114 * posix/setsid.c: Likewise.
31115 * posix/setuid.c: Likewise.
31116 * posix/sleep.c: Likewise.
31117 * posix/spawni.c: Likewise.
31118 * posix/sysconf.c: Likewise.
31119 * posix/times.c: Likewise.
31120 * posix/wait.c: Likewise.
31121 * posix/wait3.c: Likewise.
31122 * posix/wait4.c: Likewise.
31123 * posix/waitpid.c: Likewise.
31124 * resolv/gai_sigqueue.c: Likewise.
31125 * resource/getpriority.c: Likewise.
31126 * resource/getrlimit.c: Likewise.
31127 * resource/getrusage.c: Likewise.
31128 * resource/nice.c: Likewise.
31129 * resource/setpriority.c: Likewise.
31130 * resource/setrlimit.c: Likewise.
31131 * resource/ulimit.c: Likewise.
31132 * rt/aio_cancel.c: Likewise.
31133 * rt/aio_fsync.c: Likewise.
31134 * rt/aio_read.c: Likewise.
31135 * rt/aio_sigqueue.c: Likewise.
31136 * rt/aio_suspend.c: Likewise.
31137 * rt/aio_write.c: Likewise.
31138 * rt/clock_getres.c: Likewise.
31139 * rt/clock_gettime.c: Likewise.
31140 * rt/clock_nanosleep.c: Likewise.
31141 * rt/clock_settime.c: Likewise.
31142 * rt/lio_listio.c: Likewise.
31143 * rt/mq_close.c: Likewise.
31144 * rt/mq_getattr.c: Likewise.
31145 * rt/mq_notify.c: Likewise.
31146 * rt/mq_open.c: Likewise.
31147 * rt/mq_receive.c: Likewise.
31148 * rt/mq_send.c: Likewise.
31149 * rt/mq_setattr.c: Likewise.
31150 * rt/mq_timedreceive.c: Likewise.
31151 * rt/mq_timedsend.c: Likewise.
31152 * rt/mq_unlink.c: Likewise.
31153 * rt/shm_open.c: Likewise.
31154 * rt/shm_unlink.c: Likewise.
31155 * rt/timer_create.c: Likewise.
31156 * rt/timer_delete.c: Likewise.
31157 * rt/timer_getoverr.c: Likewise.
31158 * rt/timer_gettime.c: Likewise.
31159 * rt/timer_settime.c: Likewise.
31160 * setjmp/__longjmp.c: Likewise.
31161 * setjmp/setjmp.c: Likewise.
31162 * signal/kill.c: Likewise.
31163 * signal/killpg.c: Likewise.
31164 * signal/raise.c: Likewise.
31165 * signal/sigaction.c: Likewise.
31166 * signal/sigaltstack.c: Likewise.
31167 * signal/sigblock.c: Likewise.
31168 * signal/sigignore.c: Likewise.
31169 * signal/sigintr.c: Likewise.
31170 * signal/signal.c: Likewise.
31171 * signal/sigpause.c: Likewise.
31172 * signal/sigpending.c: Likewise.
31173 * signal/sigqueue.c: Likewise.
31174 * signal/sigreturn.c: Likewise.
31175 * signal/sigset.c: Likewise.
31176 * signal/sigsetmask.c: Likewise.
31177 * signal/sigstack.c: Likewise.
31178 * signal/sigsuspend.c: Likewise.
31179 * signal/sigtimedwait.c: Likewise.
31180 * signal/sigvec.c: Likewise.
31181 * signal/sigwait.c: Likewise.
31182 * signal/sigwaitinfo.c: Likewise.
31183 * signal/sysv_signal.c: Likewise.
31184 * socket/accept.c: Likewise.
31185 * socket/accept4.c: Likewise.
31186 * socket/bind.c: Likewise.
31187 * socket/connect.c: Likewise.
31188 * socket/getpeername.c: Likewise.
31189 * socket/getsockname.c: Likewise.
31190 * socket/getsockopt.c: Likewise.
31191 * socket/isfdtype.c: Likewise.
31192 * socket/listen.c: Likewise.
31193 * socket/recv.c: Likewise.
31194 * socket/recvfrom.c: Likewise.
31195 * socket/recvmsg.c: Likewise.
31196 * socket/send.c: Likewise.
31197 * socket/sendmsg.c: Likewise.
31198 * socket/sendto.c: Likewise.
31199 * socket/setsockopt.c: Likewise.
31200 * socket/shutdown.c: Likewise.
31201 * socket/sockatmark.c: Likewise.
31202 * socket/socket.c: Likewise.
31203 * socket/socketpair.c: Likewise.
31204 * stdio-common/ctermid.c: Likewise.
31205 * stdio-common/cuserid.c: Likewise.
31206 * stdio-common/remove.c: Likewise.
31207 * stdio-common/rename.c: Likewise.
31208 * stdio-common/renameat.c: Likewise.
31209 * stdio-common/tempname.c: Likewise.
31210 * stdlib/getcontext.c: Likewise.
31211 * stdlib/makecontext.c: Likewise.
31212 * stdlib/setcontext.c: Likewise.
31213 * stdlib/swapcontext.c: Likewise.
31214 * stdlib/system.c: Likewise.
31215 * streams/fattach.c: Likewise.
31216 * streams/fdetach.c: Likewise.
31217 * streams/getmsg.c: Likewise.
31218 * streams/getpmsg.c: Likewise.
31219 * streams/putmsg.c: Likewise.
31220 * streams/putpmsg.c: Likewise.
31221 * sysdeps/unix/bsd/getpt.c: Likewise.
31222 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31223 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31224 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31226 Likewise.
31227 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31228 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31229 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31230 * sysvipc/msgctl.c: Likewise.
31231 * sysvipc/msgget.c: Likewise.
31232 * sysvipc/msgrcv.c: Likewise.
31233 * sysvipc/msgsnd.c: Likewise.
31234 * sysvipc/semctl.c: Likewise.
31235 * sysvipc/semget.c: Likewise.
31236 * sysvipc/semop.c: Likewise.
31237 * sysvipc/semtimedop.c: Likewise.
31238 * sysvipc/shmat.c: Likewise.
31239 * sysvipc/shmctl.c: Likewise.
31240 * sysvipc/shmdt.c: Likewise.
31241 * sysvipc/shmget.c: Likewise.
31242 * termios/tcdrain.c: Likewise.
31243 * termios/tcflow.c: Likewise.
31244 * termios/tcflush.c: Likewise.
31245 * termios/tcgetattr.c: Likewise.
31246 * termios/tcgetpgrp.c: Likewise.
31247 * termios/tcsendbrk.c: Likewise.
31248 * termios/tcsetattr.c: Likewise.
31249 * termios/tcsetpgrp.c: Likewise.
31250 * time/adjtime.c: Likewise.
31251 * time/clock.c: Likewise.
31252 * time/getitimer.c: Likewise.
31253 * time/gettimeofday.c: Likewise.
31254 * time/setitimer.c: Likewise.
31255 * time/settimeofday.c: Likewise.
31256 * time/stime.c: Likewise.
31257 * time/time.c: Likewise.
31258
312592012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 31260
a20492cf
PT
31261 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31262 /usr/old/bin.
31263
72e182e3
PT
31264 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31265 instead of spaces.
31266 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31267
fbeafede
JM
312682012-11-03 Joseph Myers <joseph@codesourcery.com>
31269
5b5b04d6
JM
31270 [BZ #14796]
31271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31272 FE_TONEAREST before applying Dekker multiplication and Knuth
31273 addition. Clear inexact exceptions and check for exact zero
31274 results afterwards.
31275 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31276 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31277 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31278 * math/libm-test.inc (fma_test): Add more tests.
31279 (fma_test_towardzero): Likewise.
31280 (fma_test_downward): Likewise.
31281 (fma_test_upward): Likewise.
31282 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31283 function.
31284 (libc_fesetround): New macro.
31285 (libc_fesetroundf): Likewise.
31286 (libc_fesetroundl): Likewise.
31287 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31288 function.
31289 (libc_fesetround_387): Likewise.
31290 (libc_fesetroundf): New macro.
31291 (libc_fesetround): Likewise.
31292 (libc_fesetroundl): Likewise.
31293 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31294 function.
31295 (libc_fesetroundf): New macro.
31296 (libc_fesetround): Likewise.
31297 (libc_fesetroundl): Likewise.
31298 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31299 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31300 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31301 libm_hidden_ver.
31302 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31303 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31304 libm_hidden_def.
31305 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31306 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31307 libm_hidden_ver.
31308 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31309 libm_hidden_def.
31310
fbeafede
JM
31311 [BZ #3439]
31312 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31313 integer constant usable in #if and use that to give value to enum
31314 constant.
31315 (FE_DIVBYZERO): Likewise.
31316 (FE_UNDERFLOW): Likewise.
31317 (FE_OVERFLOW): Likewise.
31318 (FE_INVALID): Likewise.
31319 (FE_INVALID_SNAN): Likewise.
31320 (FE_INVALID_ISI): Likewise.
31321 (FE_INVALID_IDI): Likewise.
31322 (FE_INVALID_ZDZ): Likewise.
31323 (FE_INVALID_IMZ): Likewise.
31324 (FE_INVALID_COMPARE): Likewise.
31325 (FE_INVALID_SOFTWARE): Likewise.
31326 (FE_INVALID_SQRT): Likewise.
31327 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31328 (FE_TONEAREST): Likewise.
31329 (FE_TOWARDZERO): Likewise.
31330 (FE_UPWARD): Likewise.
31331 (FE_DOWNWARD): Likewise.
31332 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31333 (FE_DIVBYZERO): Likewise.
31334 (FE_OVERFLOW): Likewise.
31335 (FE_UNDERFLOW): Likewise.
31336 (FE_INEXACT): Likewise.
31337 (FE_TONEAREST): Likewise.
31338 (FE_DOWNWARD): Likewise.
31339 (FE_UPWARD): Likewise.
31340 (FE_TOWARDZERO): Likewise.
31341 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31342 (FE_UNDERFLOW): Likewise.
31343 (FE_OVERFLOW): Likewise.
31344 (FE_DIVBYZERO): Likewise.
31345 (FE_INVALID): Likewise.
31346 (FE_TONEAREST): Likewise.
31347 (FE_TOWARDZERO): Likewise.
31348 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31349 (FE_OVERFLOW): Likewise.
31350 (FE_UNDERFLOW): Likewise.
31351 (FE_DIVBYZERO): Likewise.
31352 (FE_INEXACT): Likewise.
31353 (FE_TONEAREST): Likewise.
31354 (FE_TOWARDZERO): Likewise.
31355 (FE_UPWARD): Likewise.
31356 (FE_DOWNWARD): Likewise.
31357 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31358 (FE_DIVBYZERO): Likewise.
31359 (FE_OVERFLOW): Likewise.
31360 (FE_UNDERFLOW): Likewise.
31361 (FE_INEXACT): Likewise.
31362 (FE_TONEAREST): Likewise.
31363 (FE_DOWNWARD): Likewise.
31364 (FE_UPWARD): Likewise.
31365 (FE_TOWARDZERO): Likewise.
31366
105ca950
CM
313672012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31368
31369 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31370
a542b389
AS
313712012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31372
31373 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31374 commands. Quote $PWD.
31375 (blacklist_exports): Don't use remove_newlines. Replace "declare
31376 -x" by "export".
31377 (remove_newlines): Remove.
31378
f62c8abc
L
313792012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31380
31381 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31382 * stdlib/stdlib.h (atof): Moved to ...
31383 * include/bits/stdlib-float.h: Here. New file.
31384 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31385 * stdlib/bits/stdlib-float.h: New file.
31386 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31387 -mno-sse -mno-mmx.
31388 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31389 <xmmintrin.h>.
31390
0155d5b2
JM
313912012-11-02 Joseph Myers <joseph@codesourcery.com>
31392
a68d0680
JM
31393 * conform/conformtest.pl (@headers): Add fenv.h.
31394 * conform/data/fenv.h-data: New file.
31395 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31396 include of <math/fenv.h>.
31397
caf7f573
JM
31398 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31399 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31400 && !UNIX98]. Enables tests for XOPEN2K8.
31401 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31402 POSIX2008]: Likewise.
31403
6c073ad6
JM
31404 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31405 (struct rusage): Do not expect type or its members.
31406
0155d5b2
JM
31407 [BZ #3439]
31408 * math/math.h (FP_NAN): Define macro to integer constant usable in
31409 #if and use that to give value to enum constant.
31410 (FP_INFINITE): Likewise.
31411 (FP_ZERO): Likewise.
31412 (FP_SUBNORMAL): Likewise.
31413 (FP_NORMAL): Likewise.
31414
b5dcacb4
AS
314152012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31416
31417 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31418 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31419 arguments.
31420
f7934be8
RM
314212012-11-02 Roland McGrath <roland@hack.frob.com>
31422
31423 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31424 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31425 autoconf-time if not.
31426 * configure.in: Remove AC_PREREQ.
31427
d7d08bde
TMQMF
314282012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31429
31430 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31431 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31432 of the internal implementation.
31433
dcdae19a
JM
314342012-11-02 Joseph Myers <joseph@codesourcery.com>
31435
31436 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31437 except include of <misc/sys/syslog.h>.
31438
d6cffd3e
AS
314392012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31440
31441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31442 function returns with a NULL context exit with zero.
31443
b3563932
TMQMF
314442012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31445
31446 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31447
b288a93d
L
314482012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31449
31450 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31451 (run_program_cmd): This.
31452 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31453 (tst_langinfo): New variable. Use it.
31454
a2421a68
SAS
314552012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31456
31457 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31458 floating point opcodes.
31459
6f796e1b
TS
314602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31461
7402596b
TS
31462 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31463 variable.
31464
d0d4f868
TS
31465 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31466
6f796e1b
TS
31467 * sysdeps/mach/hurd/powerpc: Remove directory.
31468 * sysdeps/mach/powerpc: Likewise.
31469
4da224a2
AS
314702012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31471
31472 * scripts/check-local-headers.sh: Ignore c++ headers.
31473
341dd673
TS
314742012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31475
31476 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31477 __libc_cleanup_region_start argument.
31478
473611b2
JM
314792012-11-01 Joseph Myers <joseph@codesourcery.com>
31480
31481 [BZ #14784]
31482 [BZ #14785]
31483 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31484 x * y using scaling, not as x * y + z.
31485 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31486 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31487 * math/libm-test.inc (fma_test): Add more tests.
31488 (fma_test_towardzero): Likewise.
31489 (fma_test_downward): Likewise.
31490 (fma_test_upward): Likewise.
31491
4078da3d
TS
314922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31493
31494 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31495
903252aa
JM
314962012-10-31 Joseph Myers <joseph@codesourcery.com>
31497
31498 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31499 New variable.
31500
cbc818d0
TS
315012012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31502
31503 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31504
5a03cb1e
AS
315052012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31506
31507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31508 Fix sort order.
31509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31510 Likewise.
31511
90aff2ff
TMQMF
315122012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31513
31514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31515 Fix the order of the list for glibc 2.17.
31516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31517 Likewise.
31518
1818fcb7
AS
315192012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31520
31521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31522
ef82f4da
JM
315232012-10-31 Joseph Myers <joseph@codesourcery.com>
31524
16a0e2ec
JM
31525 [BZ #14610]
31526 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31527 for low part of x being zero before using __atanl (y).
31528 * math/libm-test.inc (atan2_test): Add another test.
31529
0eb69512
JM
31530 * manual/install.texi (Configuring and compiling): Document
31531 general use of test-wrapper and test-wrapper-env.
31532 * INSTALL: Regenerated.
31533
ef82f4da
JM
31534 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31535 (__fma): Do not extract and scale down low bits on after-rounding
31536 systems when result rounded to normal precision would have normal
31537 exponent.
31538 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31539 (__fmal): Do not extract and scale down low bits on after-rounding
31540 systems when result rounded to normal precision would have normal
31541 exponent.
31542 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31543 (__fmal): Do not extract and scale down low bits on after-rounding
31544 systems when result rounded to normal precision would have normal
31545 exponent.
31546 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31547 macro.
31548 (fma_test): Add more tests.
31549 (fma_test_towardzero): Likewise.
31550 (fma_test_downward): Likewise.
31551 (fma_test_upward): Likewise.
31552
954ef0d9
L
315532012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31554
31555 * sysdeps/i386/tininess.h: Renamed to ...
31556 * sysdeps/x86/tininess.h: This.
31557 * sysdeps/x86_64/tininess.h: Removed.
31558
df61ffb2
JM
315592012-10-30 Joseph Myers <joseph@codesourcery.com>
31560
31561 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31562 input. Use $(build-program-cmd).
31563 ($(objpfx)tst-array1-static.out): Likewise.
31564 ($(objpfx)tst-array2.out): Likewise.
31565 ($(objpfx)tst-array3.out): Likewise.
31566 ($(objpfx)tst-array4.out): Likewise.
31567 ($(objpfx)tst-array5.out): Likewise.
31568 ($(objpfx)tst-array5-static.out): Likewise.
31569
01767843
CM
315702012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31571
47cc1490
CM
31572 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31573 if defined.
31574
01767843
CM
31575 * nss/nsswitch.h (nss_interface_function): Provide new
31576 macro for use with NSS functions.
31577 * grp/initgroups.c: Use new macro.
31578 * nss/getXXbyYY.c: Likewise.
31579 * nss/getXXbyYY_r.c: Likewise.
31580 * nss/getXXent.c: Likewise.
31581 * nss/getXXent_r.c: Likewise.
31582 * sysdeps/posix/getaddrinfo.c: Likewise.
31583
8321aa97
AJ
315842012-10-30 Andreas Jaeger <aj@suse.de>
31585
31586 * po/ru.po: Update Russion translation from translation project.
31587
2a27fd6d
JM
315882012-10-30 Joseph Myers <joseph@codesourcery.com>
31589
8627a232
JM
31590 [BZ #14152]
31591 [BZ #14783]
31592 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31593 result and shift together with sticky bit instead of replicating
31594 round-to-nearest rounding.
31595 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31596 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31597 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31598 missing underflow exceptions.
31599 (fma_test_towardzero): Add more tests.
31600 (fma_test_downward): Likewise.
31601 (fma_test_upward): Likewise.
31602
2a27fd6d
JM
31603 [BZ #14047]
31604 * sysdeps/generic/tininess.h: New file.
31605 * sysdeps/i386/tininess.h: Likewise.
31606 * sysdeps/sh/tininess.h: Likewise.
31607 * sysdeps/x86_64/tininess.h: Likewise.
31608 * stdlib/tst-strtod-underflow.c: Likewise.
31609 * stdlib/tst-tininess.c: Likewise.
31610 * stdlib/strtod_l.c: Include <tininess.h>.
31611 (round_and_return): Do not set errno for exact underflow cases.
31612 Force an underflow exception when setting errno for underflow.
31613 Determine underflow based on rounding to normal precision if
31614 TININESS_AFTER_ROUNDING.
31615 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31616 ERANGE for exact underflow cases.
31617 * stdlib/Makefile (tests): Add tst-tininess and
31618 tst-strtod-underflow.
31619 ($(objpfx)tst-tininess): Use $(link-libm).
31620 ($(objpfx)tst-strtod-underflow): Likewise.
31621
e7170363
AJ
316222012-10-30 Andreas Jaeger <aj@suse.de>
31623
e5088dc6
AJ
31624 [BZ#14767]
31625 * elf/Makefile (tests): Remove conditional for have-initfini-array
31626 since this is now always required and the variable does not exist
31627 anymore.
31628 (tests-static): Likewise.
31629 (modules-names): Likewise.
31630
e7170363 31631 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31632
31633 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31634 merged with constructor/destructor.
31635 (init_array): Likewise.
31636 * elf/tst-array2dep.c (fini_array): Likewise.
31637 (init_array): Likewise.
31638
60457d8a
MF
316392012-10-29 Mike Frysinger <vapier@gentoo.org>
31640
31641 * manual/message.texi: Delete @cartouche tags.
31642
8bece752
PT
316432012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31644
94ce799f
PT
31645 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31646 EOPNOTSUPP.
31647 * sysdeps/mach/hurd/fsync.c: Likewise.
31648
8bece752
PT
31649 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31650 [_POSIX_REALTIME_SIGNALS]: Change condition to
31651 [_POSIX_REALTIME_SIGNALS > 0].
31652
86ebe6b1
AJ
316532012-10-27 Andreas Jaeger <aj@suse.de>
31654
31655 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31656 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31657 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31658 [__WORDSIZE != 64]: Likewise.
31659
54399c08
L
316602012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31661
31662 * iconvdata/tst-table.sh: Remove ${SHELL}.
31663 * iconvdata/tst-tables.sh: Likewise.
31664
e2211bed
DM
316652012-10-25 David S. Miller <davem@davemloft.net>
31666
31667 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31668 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31669 of strtoull.
31670
f303f97c
DM
31671 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31672 ifunc-impl-list.c
31673 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31674 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31675 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31676 file.
31677
1e9d84cd
RM
316782012-10-25 Roland McGrath <roland@hack.frob.com>
31679
31680 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31681 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31682 __getdirentries.
31683
df381762
JM
316842012-10-25 Joseph Myers <joseph@codesourcery.com>
31685 Jim Blandy <jimb@codesourcery.com>
31686
31687 * scripts/cross-test-ssh.sh: New file.
31688 * manual/install.texi (Configuring and compiling): Document use of
31689 cross-test-ssh.sh.
31690 * INSTALL: Regenerated.
31691
bff64913
PT
316922012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31693
31694 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31695 EOPNOTSUPP.
31696
25fe8932
JM
316972012-10-25 Joseph Myers <joseph@codesourcery.com>
31698
31699 * Makeconfig (run-program-prefix): Fix comment.
31700
cc1290d0
JM
317012012-10-24 Joseph Myers <joseph@codesourcery.com>
31702 Jim Blandy <jimb@codesourcery.com>
31703
31704 * Makeconfig (test-wrapper): New variable,
31705 (test-wrapper-env): Likewise.
31706 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31707 (run-built-tests): Define to yes.
31708 (run-program-prefix): Use $(test-wrapper).
31709 (built-program-cmd): Likewise.
31710 * Rules (make-test-out): Use $(test-wrapper-env) and
31711 $(host-built-program-cmd).
31712 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31713 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31714 tst-pathopt.sh.
31715 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31716 $(test-wrapper-env) to tst-rtld-load-self.sh.
31717 ($(objpfx)order2.out): Use $(test-wrapper).
31718 ($(objpfx)tst-initorder.out): Likewise.
31719 ($(objpfx)tst-initorder2.out): Likewise.
31720 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31721 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31722 (test_wrapper_env): New variable. Use it to run ld.so.
31723 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31724 Use it to run ld.so.
31725 (test_wrapper_env): Likewise.
31726 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31727 $(test-wrapper) to run-iconv-test.sh.
31728 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31729 (ICONV): Use $test_wrapper.
31730 * posix/Makefile ($(objpfx)globtest.out): Pass
31731 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31732 globtest.sh, not $(run-program-prefix).
31733 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31734 (test_wrapper): Likewise.
31735 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31736 set together with run_via_rtld_prefix.
31737 (run_program_prefix): Define in terms of test_wrapper and
31738 run_via_rtld_prefix.
31739
6e6249d0
RM
317402012-10-24 Roland McGrath <roland@hack.frob.com>
31741
31742 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31743 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31744 Targets removed.
31745
31746 [BZ #14743]
31747 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31748 Declare __clock_getres, __clock_gettime, __clock_settime,
31749 __clock_nanosleep, and __clock_getcpuclockid.
31750 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31751 Remove librt_hidden_def (clock_gettime).
31752 * sysdeps/unix/clock_gettime.c: Likewise.
31753 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31754 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31755 * rt/clock_getres.c: Define __clock_getres as an alias.
31756 * sysdeps/posix/clock_getres.c: Likewise.
31757 * rt/clock_settime.c: Define __clock_settime as an alias.
31758 * sysdeps/unix/clock_settime.c: Likewise.
31759 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31760 * sysdeps/unix/clock_nanosleep.c: Likewise.
31761 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31762 * rt/clock-compat.c: New file.
31763 * rt/Makefile (librt-routines): Add clock-compat and move
31764 $(clock-routines) to ...
31765 (routines): ... here, new variable.
31766 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31767 Don't add get_clockfreq here.
31768 * rt/Versions (libc: GLIBC_2.17): New version set.
31769 Add clock_* symbols here.
31770 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31771 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31772 (GLIBC_2.17): Add clock_* symbols.
31773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31775 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31777 Likewise.
31778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31779 Likewise.
31780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31784 * NEWS: Mention the move.
31785
31786 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31787 Use __open, __read, __close rather than their public counterparts.
31788 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31789 (__get_clockfreq_via_cpuinfo): Likewise.
31790 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31791 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31792
31793 * config.h.in (HAVE_IFUNC): New #undef.
31794 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31795 was successful.
31796 * configure: Regenerated.
31797
0cae3f4b
MF
317982012-10-24 Mike Frysinger <vapier@gentoo.org>
31799
31800 * configure.in: Move READELF check to start of file.
31801 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31802 libc_cv_asm_gnu_indirect_function in the process.
31803 * configure: Regenerated.
31804
8175a253
MF
318052012-10-24 Mike Frysinger <vapier@gentoo.org>
31806
31807 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31808 send the output to /dev/null.
31809 (libc_cv_cc_with_libunwind): Likewise.
31810 (libc_cv_as_noexecstack): Likewise.
31811 * configure: Regenerate.
31812
0708a7d1
JM
318132012-10-24 Joseph Myers <joseph@codesourcery.com>
31814
10b40d85
JM
31815 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31816
0708a7d1
JM
31817 * posix/globtest.sh (TMPDIR): Do not set.
31818 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31819 (testout): Likewise.
31820
9fddec1a
AJ
318212012-10-24 Andreas Jaeger <aj@suse.de>
31822
3a8db22f
AJ
31823 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31824 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31825 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31826 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31827 posix_fadvise64, posix_fallocate64.
31828
9fddec1a
AJ
31829 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31830 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31831 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31832 Likewise.
31833 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31834 Likewise.
31835 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31836
31837 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31838 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31839 <bits/fcntl-linux.h>.
31840 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31841
31842 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31843 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31844 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31845 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31846 [__WORDSIZE != 64]: Likewise.
31847
ebfd1bbd
JM
318482012-10-23 Joseph Myers <joseph@codesourcery.com>
31849
03ac099f
JM
31850 * Makeconfig (run-built-tests): New variable.
31851 * Rules [$(cross-compiling) = yes]: Change condition to
31852 [$(run-built-tests) = no].
31853 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31854 to [$(run-built-tests) = yes].
31855 * elf/Makefile [$(cross-compiling) = no]: Likewise
31856 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31857 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31858 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31859 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31860 * io/Makefile [$(cross-compiling) = no]: Likewise.
31861 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31862 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31863 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31864 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31865 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31866 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31867 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31868 * string/Makefile [$(cross-compiling) = no]: Likewise.
31869
ebfd1bbd
JM
31870 * posix/Makefile ($(objpfx)globtest.out): Pass
31871 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31872 $(rtld-installed-name).
31873 * posix/globtest.sh (elf_objpfx): Remove variable.
31874 (rtld_installed_name): Likewise.
31875 (library_path): Likewise.
31876 (run_program_prefix): New variable. Use for running globtest
31877 binary.
31878
166bca24
JB
318792012-10-23 Jim Blandy <jimb@codesourcery.com>
31880 Joseph Myers <joseph@codesourcery.com>
31881
31882 * Makeconfig (host-built-program-cmd): New variable.
31883 * elf/Makefile (tst-stackguard1-ARGS): Use
31884 $(host-built-program-cmd).
31885 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31886 (tst-spawn-ARGS): Likewise.
31887 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31888
88866099
JM
318892012-10-23 Joseph Myers <joseph@codesourcery.com>
31890 Jim Blandy <jimb@codesourcery.com>
31891
31892 * Makeconfig (run-via-rtld-prefix): New variable.
31893 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31894 (built-program-cmd): Likewise.
31895
b4b4c296
AJ
318962012-10-22 Andreas Jaeger <aj@suse.de>
31897
31898 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31899 __O_RSYNC if it exists, otherwise to O_SYNC.
31900
6fb54a22
JB
319012012-10-22 Jim Blandy <jimb@codesourcery.com>
31902 Joseph Myers <joseph@codesourcery.com>
31903
31904 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31905 /dev/null.
31906 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31907 from /dev/null
31908 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31909 /dev/null.
31910
481b90b9
AJ
319112012-10-22 Andreas Jaeger <aj@suse.de>
31912
2a0e2669
AJ
31913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31914 Define always.
31915 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31916
76e38f9a
AJ
31917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31918 bits/fcntl-linux.h.
31919
7cd37b43
AJ
31920 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31921 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31922
481b90b9
AJ
31923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31924 to __O_LARGEFILE.
31925 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31926 to __O_LARGEFILE.
31927
aba75984
JB
319282012-10-21 Jim Blandy <jimb@codesourcery.com>
31929 Joseph Myers <joseph@codesourcery.com>
31930
31931 * config.make.in (NM): New variable.
31932
88d4247f
AJ
319332012-10-21 Andreas Jaeger <aj@suse.de>
31934
31935 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31936 definitions and declarations that are provided by
31937 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31938
f2eed205
L
319392012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31940
31941 [BZ #14683]
31942 * elf/Makefile (tests-static): Add tst-leaks1-static.
31943 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31944 ($(objpfx)tst-leaks1-static): New rule.
31945 ($(objpfx)tst-leaks1-static-mem): Likewise.
31946 (tst-leaks1-static-ENV): New macro.
31947 * elf/dl-open.c (dl_open_worker): Check the main application
31948 only if SHARED is defined.
31949 * elf/tst-leaks1-static.c: New file.
31950
335e6931
AJ
319512012-10-20 Andreas Jaeger <aj@suse.de>
31952
31953 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31954 generic values for Linux.
31955 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31956 and declarations that are provided by <bits/fcntl-linux.h> and
31957 include <bits/fcntl-linux.h>.
31958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31959 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31960
ac5c94d3
RM
319612012-10-20 Roland McGrath <roland@hack.frob.com>
31962
31963 * io/fcntl.h: Move include of <bits/types.h> to the top and
31964 include it unconditionally.
31965
de54b33a
L
319662012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31967
228cfb01
L
31968 * wcsmbs/Makefile (tests-ifunc): New variable.
31969 (tests): Add $(tests-ifunc).
31970 * wcsmbs/test-wcschr-ifunc.c: New file.
31971 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31972 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31973 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31974 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31975 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31976
69f07e5f
L
31977 * string/Makefile (tests-ifunc): New variable.
31978 (tests): Add $(tests-ifunc).
31979 * string/test-memccpy.c (TEST_NAME): New macro.
31980 * string/test-memchr.c (TEST_NAME): Likewise.
31981 * string/test-memcmp.c (TEST_NAME): Likewise.
31982 * string/test-memcpy.c (TEST_NAME): Likewise.
31983 * string/test-memmem.c (TEST_NAME): Likewise.
31984 * string/test-memmove.c (TEST_NAME): Likewise.
31985 * string/test-memset.c (TEST_NAME): Likewise.
31986 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31987 * string/test-stpcpy.c (TEST_NAME): Likewise.
31988 * string/test-stpncpy.c (TEST_NAME): Likewise.
31989 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31990 * string/test-strcasestr.c (TEST_NAME): Likewise.
31991 * string/test-strcat.c (TEST_NAME): Likewise.
31992 * string/test-strchr.c (TEST_NAME): Likewise.
31993 * string/test-strcmp.c(TEST_NAME): Likewise.
31994 * string/test-strcpy.c (TEST_NAME): Likewise.
31995 * string/test-strcspn.c (TEST_NAME): Likewise.
31996 * string/test-strlen.c (TEST_NAME): Likewise.
31997 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31998 * string/test-strncmp.c (TEST_NAME): Likewise.
31999 * string/test-strncpy.c (TEST_NAME): Likewise.
32000 * string/test-strnlen.c (TEST_NAME): Likewise.
32001 * string/test-strpbrk.c (TEST_NAME): Likewise.
32002 * string/test-strrchr.c (TEST_NAME): Likewise.
32003 * string/test-strspn.c (TEST_NAME): Likewise.
32004 * string/test-strstr.c (TEST_NAME): Likewise.
32005 * string/test-bcopy-ifunc.c: New file.
32006 * string/test-bzero-ifunc.c: Likewise.
32007 * string/test-memccpy-ifunc.c: Likewise.
32008 * string/test-memchr-ifunc.c: Likewise.
32009 * string/test-memcmp-ifunc.c: Likewise.
32010 * string/test-memcpy-ifunc.c: Likewise.
32011 * string/test-memmem-ifunc.c: Likewise.
32012 * string/test-memmove-ifunc.c: Likewise.
32013 * string/test-mempcpy-ifunc.c: Likewise.
32014 * string/test-memset-ifunc.c: Likewise.
32015 * string/test-rawmemchr-ifunc.c: Likewise.
32016 * string/test-stpcpy-ifunc.c: Likewise.
32017 * string/test-stpncpy-ifunc.c: Likewise.
32018 * string/test-strcasecmp-ifunc.c: Likewise.
32019 * string/test-strcasestr-ifunc.c: Likewise.
32020 * string/test-strcat-ifunc.c: Likewise.
32021 * string/test-strchr-ifunc.c: Likewise.
32022 * string/test-strchrnul-ifunc.c: Likewise.
32023 * string/test-strcmp-ifunc.c: Likewise.
32024 * string/test-strcpy-ifunc.c: Likewise.
32025 * string/test-strcspn-ifunc.c: Likewise.
32026 * string/test-strlen-ifunc.c: Likewise.
32027 * string/test-strncasecmp-ifunc.c: Likewise.
32028 * string/test-strncat-ifunc.c: Likewise.
32029 * string/test-strncmp-ifunc.c: Likewise.
32030 * string/test-strncpy-ifunc.c: Likewise.
32031 * string/test-strnlen-ifunc.c: Likewise.
32032 * string/test-strpbrk-ifunc.c: Likewise.
32033 * string/test-strrchr-ifunc.c: Likewise.
32034 * string/test-strspn-ifunc.c: Likewise.
32035 * string/test-strstr-ifunc.c: Likewise.
32036
de54b33a
L
32037 * debug/Makefile (tests-ifunc): New variable.
32038 (tests): Add $(tests-ifunc).
32039 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32040 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32041 * debug/test-stpcpy_chk-ifunc.c: New file.
32042 * debug/test-strcpy_chk-ifunc.c: Likewise.
32043
88481c16
SP
320442012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32045
32046 [BZ #13601]
32047 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32048 header is not read in.
32049
135948bd
JM
320502012-10-19 Joseph Myers <joseph@codesourcery.com>
32051
89f1c388
JM
32052 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32053 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32054 directly. Pass built executable to script as
32055 $(built-program-cmd).
32056 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32057 $testprogram without using LD_LIBRARY_PATH and $ldso.
32058
e40a0d21
JM
32059 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32060 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32061 $(rtld-installed-name).
32062 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32063 (rtld_installed_name): Likewise.
32064 (library_path): Likewise.
32065 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32066 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32067 $(run-program-prefix) to tst-tables.sh.
32068 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32069 it to run tst-table-from and tst-table-to.
32070 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32071 Pass it to tst-table.sh.
32072 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32073 $(run-program-prefix) to tst-gettext.sh.
32074 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32075 tst-translit.sh.
32076 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32077 tst-gettext2.sh.
32078 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32079 to run tst-gettext.
32080 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32081 to run tst-gettext2.
32082 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32083 to run tst-translit.
32084 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32085 $(run-program-prefix) to tst-mtrace.sh.
32086 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32087 to run tst-mtrace.
32088 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32089 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32090 $(rtld-installed-name).
32091 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32092 (rtld_installed_name): Likewise.
32093 (run_program_prefix): New variable. Use it to run wordexp-test.
32094
728e272a
JM
32095 * Makeconfig (ARCH): Remove all definitions.
32096 (machine): Likewise.
32097 [ARCH]: Remove conditional code.
32098 [!objdir]: Give error.
32099 [!objdir] (objpfx): Remove.
32100 [!objdir] (common-objpfx): Likewise.
32101 [!objdir] (common-objdir): Likewise.
32102 * configure.in (config_makefile): Remove. Hardcode Makefile in
32103 AC_CONFIG_FILES call.
32104 * configure: Regenerated.
32105
d528cdcf
JM
32106 [BZ #13888]
32107 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32108 or TMPDIR.
32109 (testout): Likewise.
32110
135948bd
JM
32111 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32112 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32113 $(rtld-installed-name).
32114 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32115 (rtld_installed_name): Likwise.
32116 (runit): Remove function.
32117 (run_getconf): New variable, Use it for running getconf binary.
32118
38c78296
L
321192012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32120
32121 [BZ #14716]
32122 * string/test-memmem.c (check_result): New function.
32123 (do_one_test): Use it.
32124 (check1): New function.
32125 (test_main): Use it.
32126
d077f65f
MT
321272012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32128
32129 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32130
ced52c71
JM
321312012-10-18 Joseph Myers <joseph@codesourcery.com>
32132
32133 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32134 (_G_LSEEK64): Likewise.
32135 (_G_MMAP64): Likewise.
32136 (_G_FSTAT64): Likewise.
32137 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32138 (_G_LSEEK64): Likewise.
32139 (_G_MMAP64): Likewise.
32140 (_G_FSTAT64): Likewise.
32141 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32142 unconditional. Call __mmap64 directly.
32143 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32144 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32145 __lseek64 directly.
32146 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32147 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32148 __mmap64 directly.
32149 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32150 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32151 __lseek64 directly.
32152 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32153 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32154 __lseek64 directly.
32155 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32156 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32157 __lseek64 directly.
32158 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32159 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32160 __fxstat64 directly.
32161 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32162 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32163 unconditional.
32164 (freopen64) [!_G_OPEN64]: Remove conditional code.
32165 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32166 unconditional.
32167 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32168 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32169 unconditional.
32170 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32171 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32172 unconditional.
32173 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32174 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32175 unconditional.
32176 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32177 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32178 unconditional.
32179 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32180 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32181 unconditional.
32182 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32183 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32184 unconditional.
32185 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32186
b741de23
SP
321872012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32188
32189 [BZ #12140]
32190 * manual/memory.texi (Malloc Tunable Parameters): Add note
32191 about free list pointers overwriting some perturb bytes.
32192 Wording suggested by Roland McGrath.
32193
f9b9d9c9
JM
321942012-10-17 Joseph Myers <joseph@codesourcery.com>
32195
32196 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32197 (lgamma_test): Likewise.
32198 (tgamma_test): Likewise.
32199
172a631a
FW
322002012-10-16 Florian Weimer <fweimer@redhat.com>
32201
32202 [BZ #14700]
32203 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32204 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32205
e9f37252
MK
322062012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32207
32208 * NEWS: Mention BZ #14716.
32209 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32210 when removing AVAILABLE1_USES_J macro.
32211
d394eb74
L
322122012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32213
32214 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32215 (__bswap_64): __uint64_t for unsigned 64-bit int.
32216
ca38dc17
AS
322172012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32218
32219 * include/string.h (memmem): Declare libc hidden alias.
32220 * string/memmem.c (memmem): Define libc hidden alias.
32221 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32222 __read, __close instead of open, read, close.
32223
9a387d1f
L
322242012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32225
ac49ecaf
L
32226 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32227 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32228 global and hidden.
32229 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32230 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32231 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32232 Likewise.
32233 (__rawmemchr_sse2): Likewise.
32234 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32235 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32236 (__strchr_sse2): Likewise.
32237 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32238 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32239 (__strcasecmp_sse2): Likewise.
32240 (__strncasecmp_sse2): Likewise.
32241 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32242 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32243 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32244 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32245 (__strrchr_sse2): Likewise.
32246 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32247 ifunc-impl-list.c.
32248 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32249 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32250 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32251 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32252 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32253 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32254 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32255 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32256 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32257 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32258 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32259 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32260 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32261 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32262 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32263 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32264 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32265 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32266 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32267 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32268 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32269 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32270 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32271 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32272 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32273 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32274 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32275 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32276 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32277 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32278
b090e8ea
L
32279 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32280 global and hidden.
32281 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32282 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32283 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32284 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32285 Likewise.
32286 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32287 Likewise.
32288 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32289 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32290 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32291 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32292 ifunc-impl-list.c.
32293 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32294 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32295 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32296 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32297 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32298 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32299 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32300 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32301 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32302 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32303 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32304 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32305 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32306 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32307 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32308 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32309 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32310 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32311 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32312 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32313 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32314 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32315 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32316 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32317 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32318 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32319 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32320 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32321 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32322 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32323 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32324 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32325 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32326 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32327 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32328 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32329 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32330 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32331 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32332 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32333 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32334
11dd4af6
L
32335 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32336 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32337 * include/ifunc-impl-list.h: New file.
32338 * misc/ifunc-impl-list.c: Likewise.
32339 * misc/Makefile (routines): Add ifunc-impl-list.
32340 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32341 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
32342 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32343 TEST_NAME]: New variables.
11dd4af6
L
32344 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32345 are defined.
32346 (test_init): Call __libc_ifunc_impl_list to initialize
32347 func_list if TEST_IFUNC and TEST_NAME are defined.
32348
9a387d1f
L
32349 * string/Makefile (strop-tests): Add bcopy and bzero.
32350 * string/test-bcopy.c: New file.
32351 * string/test-bzero.c: Likewise.
32352 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32353 defined.
32354 * string/test-memset.c: Support bzero test if TEST_BZERO is
32355 defined.
32356 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32357 __libc_memmove.
32358 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32359 __libc_memset.
32360 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32361 of memset.
32362
472371b9
JM
323632012-10-10 Joseph Myers <joseph@codesourcery.com>
32364
1e4a9536
JM
32365 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32366 * configure: Regenerated.
32367
d173d12e
JM
32368 * Makeconfig (+link-static-before-libc): Don't include
32369 $(link-static-libc).
32370
472371b9
JM
32371 * libio/libio.h (_IO_pos_t): Remove.
32372
89a3ad0b
AO
323732012-10-10 Alexandre Oliva <aoliva@redhat.com>
32374
32375 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32376 McGrath.
32377
e7451425
AO
323782012-10-10 Alexandre Oliva <aoliva@redhat.com>
32379
32380 * crypt/crypt-entry.c: Include fips-private.h.
32381 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32382 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32383 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32384 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32385
4ba74a35
AO
323862012-10-10 Alexandre Oliva <aoliva@redhat.com>
32387
32388 * crypt/crypt-private.h: Include stdbool.h.
32389 (_ufc_setup_salt_r): Return bool.
32390 * crypt/crypt-entry.c: Include errno.h.
32391 (__crypt_r): Return NULL with EINVAL for bad salt.
32392 * crypt/crypt_util.c (bad_for_salt): New.
32393 (_ufc_setup_salt_r): Check that salt is long enough and within
32394 the specified alphabet.
32395 * crypt/badsalttest.c: New file.
32396 * crypt/Makefile (tests): Add it.
32397 ($(objpfx)badsalttest): New.
32398
f96f1242
MK
323992012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32400
32401 * NEWS: Add entry for BZ #14602.
32402
0e8e0c1c
JM
324032012-10-09 Joseph Myers <joseph@codesourcery.com>
32404
32405 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32406 type-generic.
32407 * math/libm-test.inc: Update comment listing what functions and
32408 macros are tested.
32409 (isgreater_test): New function.
32410 (isgreaterequal_test): Likewise.
32411 (isless_test): Likewise.
32412 (islessequal_test): Likewise.
32413 (islessgreater_test): Likewise.
32414 (isunordered_test): Likewise.
32415 (main): Call the new functions.
32416
273edc5e
RM
324172012-10-09 Roland McGrath <roland@hack.frob.com>
32418
b8493de0
RM
32419 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32420 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32421 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32422 * sysdeps/i386/configure: Regenerated.
32423 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32424 * sysdeps/mach/configure: Regenerated.
32425 * sysdeps/mach/hurd/configure: Regenerated.
32426 * sysdeps/powerpc/configure: Regenerated.
32427 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32428 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32429 * sysdeps/s390/s390-32/configure: Regenerated.
32430 * sysdeps/s390/s390-64/configure: Regenerated.
32431 * sysdeps/sh/configure: Regenerated.
32432 * sysdeps/sparc/configure: Regenerated.
32433 * sysdeps/unix/sysv/linux/configure: Regenerated.
32434 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32435 * sysdeps/x86_64/configure: Regenerated.
32436
273edc5e
RM
32437 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32438 defined. Don't check if MAP is NULL.
32439
c8450f70
JM
324402012-10-09 Joseph Myers <joseph@codesourcery.com>
32441
32442 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32443 (_G_stat64): Likewise.
32444 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32445 (_G_stat64): Likewise.
32446 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32447 instead of struct _G_stat64.
32448 * libio/fileops.c (mmap_remap_check): Likewise.
32449 (decide_maybe_mmap): Likewise.
32450 (_IO_new_file_seekoff): Likewise.
32451 (_IO_file_stat): Likewise.
32452 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32453 _G_off64_t.
32454 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32455 instead of struct _G_stat64.
32456 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32457
57e605ba
MK
324582012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32459
32460 [BZ #14602]
32461 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32462 Replace with ...
32463 (CHECK_EOL): New macro.
32464 (two_way_short_needle): Check beginning of haystack for EOL. Use
32465 CHECK_EOL.
32466 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32467 Replace with CHECK_EOL.
32468 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32469 Replace with CHECK_EOL.
32470
ef1bb361
JM
324712012-10-08 Joseph Myers <joseph@codesourcery.com>
32472
32473 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32474 type-generic.
32475 * math/libm-test.inc: Update comment listing what functions and
32476 macros are tested.
32477 (finite_test): New function.
32478 (isinf_test): Likewise.
32479 (isnan_test): Likewise.
32480 (fpclassify_test): Test subnormal input.
32481 (isfinite_test): Likewise.
32482 (isnormal_test): Likewise.
32483 (main): Call the new functions.
32484
55f11534
JN
324852012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32486
32487 [BZ #14660]
32488 * Makerules (%.dynsym): Force C locale when running
32489 $(OBJDUMP) --dynamic-syms.
32490
1ab29350
AS
324912012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32492
32493 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32494 <stdint.h>.
32495
f1ecb7ef
DM
324962012-10-06 David S. Miller <davem@davemloft.net>
32497
32498 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32499 upper 32-bits of the length value in %o2 since we use branch-on-register
32500 tests which consider the entire 64-bit register.
32501
5d41d91a
L
325022012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32503
32504 * string/test-strstr.c (check2): Add a test for page boundary.
32505
3baddb72
DM
325062012-10-05 David S. Miller <davem@davemloft.net>
32507
32508 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32509 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32510 file.
32511 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32512 sysdep_routines.
32513 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32514 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32515 and bzero when HWCAP_SPARC_CRYPTO is present.
32516
9cee5585
L
325172012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32518
d7e0dab9
L
32519 [BZ #14602]
32520 * string/test-strstr.c (check2): New function.
32521 (test_main): Call check2.
32522
03759f47
L
32523 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32524 and bug-strchr1.
32525 * string/bug-strcasestr1.c (do_test): Moved to ...
32526 * string/test-strcasestr.c (check1): Here. New function.
32527 (do_one_test): Break out result checking code into ...
32528 (check_result): This. New function.
32529 (do_one_test): Call check_result.
32530 (test_main): Call check1.
32531 * string/bug-strchr1.c (do_test): Moved to ...
32532 * string/test-strchr.c (check1): Here. New function.
32533 (do_one_test): Break out result checking code into ...
32534 (check_result): This. New function.
32535 (do_one_test): Call check_result.
32536 (test_main): Call check1.
32537 * string/bug-strstr1.c (main): Moved to ...
046f153e 32538 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32539 (do_one_test): Break out result checking code into ...
32540 (check_result): This. New function.
32541 (do_one_test): Call check_result.
32542 (test_main): Call check1.
32543 * string/bug-strcasestr1.c: Removed.
32544 * string/bug-strchr1.c: Likewise.
32545 * string/bug-strstr1.c: Likewise.
32546
53cea63e
L
32547 * elf/Makefile (dl-routines): Add hwcaps.
32548 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32549 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32550 (_dl_important_hwcaps): Moved to ...
32551 * elf/dl-hwcaps.c: Here. New file.
32552 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32553
9cee5585 32554 [BZ #14557]
bb859b06
L
32555 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32556 if IS_IN_rtld isn't defined.
32557
9cee5585
L
32558 * elf/dl-support.c (_dl_sysinfo_map): New.
32559 Include "get-dynamic-info.h" and "setup-vdso.h".
32560 (_dl_non_dynamic_init): Call setup_vdso.
32561 * elf/dynamic-link.h: Don't include <assert.h>.
32562 (elf_get_dynamic_info): Moved to ...
32563 * elf/get-dynamic-info.h: Here. New file.
32564 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32565 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32566 * elf/setup-vdso.h: Here. New file.
32567 * elf/rtld.c: Include "setup-vdso.h".
32568 (dl_main): Call setup_vdso.
32569
23c31b76
JM
325702012-10-05 Joseph Myers <joseph@codesourcery.com>
32571
28234b07
JM
32572 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32573 creal in comment listing functions tested. List finite, isinf,
32574 isnan, isless, islessequal, isgreater, isgreaterequal,
32575 islessgreater, isunordered, lgamma_r and pow10 as functions and
32576 macros not tested. Mention which functions not tested are aliases
32577 for other functions. Fix typo. Note that signs of NaNs are not
32578 tested.
32579
23c31b76
JM
32580 * scripts/config.guess: Update from config.git.
32581 * scripts/config.sub: Likewise.
32582
9043e228
RM
325832012-10-04 Roland McGrath <roland@hack.frob.com>
32584
32585 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32586 * misc/madvise.c (madvise): Renamed to __madvise.
32587 Make madvise a weak alias.
32588 * include/sys/mman.h: Declare __madvise.
32589 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32590 * sysdeps/unix/syscalls.list
32591 (madvise): Make __madvise the strong name, and madvise a weak alias.
32592 * sysdeps/unix/sysv/linux/syscalls.list
32593 (madvise, mmap): Remove redundant entries.
32594 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32595 * malloc/malloc.c (mtrim): Likewise.
32596 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32597
f57f8055
RM
325982012-10-03 Roland McGrath <roland@hack.frob.com>
32599
32600 * sysdeps/mach/hurd/dl-cache.c: File removed.
32601 * config.h.in (USE_LDCONFIG): New #undef.
32602 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32603 * configure: Regenerated.
32604 * elf/Makefile (dl-routines): Add dl-cache only under
32605 [$(use-ldconfig) = yes].
32606 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32607 cache on [USE_LDCONFIG].
32608 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32609 [USE_LDCONFIG].
32610 * elf/rtld.c (dl_main): Likewise.
32611
5bb0c10a
PT
326122012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32613
32614 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32615 _SC_LEVEL4_CACHE_LINESIZE.
32616
010188c6
RM
326172012-10-03 Roland McGrath <roland@hack.frob.com>
32618
32619 * sysdeps/unix/bsd/confstr.h: File removed.
32620
b6c5ec07
AO
326212012-10-02 Alexandre Oliva <aoliva@redhat.com>
32622
32623 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32624 sys/sdt-config.h.
32625
408223d4
RM
326262012-10-02 Roland McGrath <roland@hack.frob.com>
32627
32628 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32629 Make 'mapoff' field ElfW(Off) rather than off_t.
32630
bb9510dc
DL
326312012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32632
fc997c6e
DL
32633 * nscd/Makefile: Remove nscd-cflags and all its users.
32634 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32635 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32636
bb9510dc
DL
32637 [BZ #10631]
32638 * malloc.c (malloc_printerr): Clarify error message.
32639
05699367
L
326402012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32641
32642 [BZ #14648]
32643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32644 Set bit_FMA_Usable if FMA is supported.
32645 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32646 macro.
32647 (bit_FMA4_Usable): Updated.
32648 (index_FMA_Usable): New macro.
32649 (CPUID_FMA): Likewise
32650 (HAS_FMA): Defined with bit_FMA_Usable.
32651
51367701
RM
326522012-10-01 Roland McGrath <roland@hack.frob.com>
32653
32654 * bits/types.h (__swblk_t): Type removed.
32655 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32656 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32658 (__SWBLK_T_TYPE): Likewise.
32659 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32660 (__SWBLK_T_TYPE): Likewise.
32661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32662 (__SWBLK_T_TYPE): Likewise.
32663 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32664 (__SWBLK_T_TYPE): Likewise.
32665
4d57bf63 326662012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32667 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32668
32669 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32670 (xdr_mapname): Use YPMAXMAP as maxsize.
32671 (xdr_peername): Use YPMAXPEER as maxsize.
32672 (xdr_keydat): Use YPAXRECORD as maxsize.
32673 (xdr_valdat): Use YPMAXRECORD as maxsize.
32674
93c65d43
RM
326752012-10-01 Roland McGrath <roland@hack.frob.com>
32676
497a03d6
RM
32677 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32678
93c65d43
RM
32679 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32680 * csu/init-first.c: ... here.
32681 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32682 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32683 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32684 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32685 * sysdeps/i386/init-first.c: File removed.
32686 * sysdeps/sh/init-first.c: File removed.
32687
bec749fd
JM
326882012-10-01 Joseph Myers <joseph@codesourcery.com>
32689
32690 [BZ #14645]
32691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32692 if x * y might underflow to zero and z is zero.
32693 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32694 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32695 * math/libm-test.inc (min_subnorm_value): New variable.
32696 (fma_test): Add more tests.
32697 (fma_test_towardzero): Likewise.
32698 (fma_test_downward): Likewise
32699 (fma_test_upward): Likewise.
32700 (initialize): Set min_subnorm_value.
32701
8ec5b013
JM
327022012-09-29 Joseph Myers <joseph@codesourcery.com>
32703
32704 [BZ #14638]
32705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32706 0 + 0.
32707 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32708 mode for addition resulting in exact zero.
32709 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32711 exact 0 + 0.
32712 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32713 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32714 * math/libm-test.inc (fma_test): Add more tests.
32715 (fma_test_towardzero): New function.
32716 (fma_test_downward): Likewise.
32717 (fma_test_upward): Likewise.
32718 (main): Call the new functions.
32719
b1fa802e
DM
327202012-09-28 David S. Miller <davem@davemloft.net>
32721
32722 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32723
d3b9fd9e
RM
327242012-09-28 Roland McGrath <roland@hack.frob.com>
32725
ea4d37b3
RM
32726 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32727 instead of SIGALRM.
32728
ac51c949
RM
32729 * sysdeps/gnu/_G_config.h: Moved to ...
32730 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32731 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32732 * sysdeps/generic/_G_config.h: ... here.
32733
28c195f7
RM
32734 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32735
848917f9
RM
32736 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32737
6bacf05b
RM
32738 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32739 Conditionalize target on [libnss_test1.so-version].
32740
91363dbb
RM
32741 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32742
cc87f7d8
RM
32743 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32744 (elfobjdir): Move out of conditionals.
32745
b1c608fe
RM
32746 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32747 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32748 (__nss_lookup_function): Conditionalize label remove_from_tree on
32749 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32750
1d9a6d96
DM
327512012-09-28 David S. Miller <davem@davemloft.net>
32752
32753 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32754 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32755 file.
32756 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32757 sysdep_routines.
32758 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32759 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32760 when HWCAP_SPARC_CRYPTO is present.
32761
72581615
PT
327622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32763
32764 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32765
715a900c
JL
327662012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32767
32768 [BZ #6530]
32769 * stdio-common/vfprintf.c (process_string_arg): Revert
32770 2000-07-22 change.
32771
327722011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32773
32774 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32775 for testcase.
32776 * stdio-common/tst-sprintf.c: Include <locale.h>
32777 (main): Test sprintf's handling of incomplete multibyte
32778 characters.
32779
9bac1d86
L
327802012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32781
32782 * elf/dl-runtime.c (VERSYMIDX): Removed.
32783 * elf/dl-version.c (VERSYMIDX): Likewise.
32784 * elf/do-rel.h (VERSYMIDX): Likewise.
32785 (VALIDX): Likewise.
32786 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32787 * elf/rtld.c (VALIDX): Likewise.
32788 (ADDRIDX): Likewise.
9bac1d86
L
32789 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32790 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32791 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32792 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32793 (VALIDX): Likewise.
32794 (ADDRIDX): Likewise.
9bac1d86 32795
b31606c0
PT
327962012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32797
32798 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32799
11541177
JL
328002012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32801
32802 [BZ #11438]
32803 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32804 to global scope.
32805 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32806 addresses are in the same scope as 192.0.2/24.
32807 * posix/gai.conf: Document new scope table defaults.
32808
adb26fae
SP
328092012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32810
32811 [BZ #5298]
32812 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32813 for ftell. Compute offsets from write pointers instead.
32814 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32815
4573c6b0
SP
328162012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32817
32818 [BZ #14543]
32819 * libio/Makefile (tests): New test case tst-fseek.
32820 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32821 combination works in wide mode.
32822 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32823 state when the external buffer state changes.
32824
aa9bbfe6
DM
328252012-09-27 David S. Miller <davem@davemloft.net>
32826
32827 [BZ #14376]
32828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32829 pass reloc->r_addend in as the 'high' argument to
32830 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32831
784421e7
DM
32832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32833
c39bc8b8
PT
328342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32835
32836 * rt/tst-aio2.c: Include <pthread.h>.
32837 * rt/tst-aio3.c: Likewise.
32838
1ccc2399
SE
328392012-09-27 Steve Ellcey <sellcey@mips.com>
32840
32841 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32842
31ed4153
L
328432012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32844
25f5f885
L
32845 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32846 contents on [SHARED].
31ed4153 32847
b7bfe116
MP
328482012-09-26 Marek Polacek <polacek@redhat.com>
32849
32850 [BZ #14530]
32851 [BZ #13741]
32852 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32853 for C++ and GCC <4.3 as well as for non GCC compilers.
32854
43c4edba
MT
328552012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32856
32857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32858
6a1bf82f
RM
328592012-09-25 Roland McGrath <roland@hack.frob.com>
32860
32861 * Makefile.in (all, install): Declare with .PHONY.
32862 Reported by Michael Hope <michael.hope@linaro.org>.
32863
8ad11b9a
TMQMF
328642012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32865
32866 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32867 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32868 system header.
32869 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32870 Likewise.
32871 (sydep_routines): Add the new and the internal functions.
32872 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32873 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32875 (GLIBC_2.17): Add the new function.
32876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32877 (GLIBC_2.17): Likewise.
32878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32879 (GLIBC_2.17): Likewise.
32880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32881 (GLIBC_2.17): Likewise.
32882 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32883
7e2fca8d
AM
328842012-09-25 Alan Modra <amodra@gmail.com>
32885
32886 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32887 Add release barrier before setting once_control to say
32888 initialisation is done. Add hints on lwarx. Use macro in
32889 place of isync.
32890 (clear_once_control): Add release barrier.
32891
b87c4b24
JM
328922012-09-25 Joseph Myers <joseph@codesourcery.com>
32893
d032e0d2
JM
32894 [BZ #13629]
32895 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32896 specially.
32897 * math/s_clog10.c (__clog10): Likewise.
32898 * math/s_clog10f.c (__clog10f): Likewise.
32899 * math/s_clog10l.c (__clog10l): Likewise.
32900 * math/s_clogf.c (__clogf): Likewise.
32901 * math/s_clogl.c (__clogl): Likewise.
32902 * math/Makefile (libm-calls): Add x2y2m1.
32903 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32904 (__x2y2m1): Likewise.
32905 (__x2y2m1l): Likewise.
32906 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32907 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32908 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32909 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32910 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32911 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32912 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32913 * sysdeps/i386/fpu/libm-test-ulps: Update.
32914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32915
b87c4b24
JM
32916 [BZ #14621]
32917 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32918 int as type of variable DEPTH.
32919 (glob): Use size_t instead of int as type of variables NEWCOUNT
32920 and OLD_PATHC.
32921
6d3bf199
LD
329222012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32923
22bf5c17
LD
32924 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32925 Add s_sincosf-sse2.
32926 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32927 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32928 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32929 macros for using routine as __sincosf_ia32.
32930 Use macro for function declaration and weak_alias.
32931 * sysdeps/i386/fpu/libm-test-ulps: Update.
32932
32933 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32935
32936 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
32937 subnormal argument.
32938 * math/s_cexpf.c (__cexpf): Likewise.
32939 * math/s_csinf.c (__csinf): Likewise.
32940 * math/s_csinhf.c (__csinhf): Likewise.
32941 * math/s_ctanf.c (__ctanf): Likewise.
32942 * math/s_ctanhf.c (__ctanhf): Likewise.
32943 * math/s_ccosh.c (__ccoshf): Likewise.
32944 * math/s_cexp.c (__cexpl): Likewise.
32945 * math/s_csin.c (__csin): Likewise.
32946 * math/s_csinh.c (__csinh): Likewise.
32947 * math/s_ctan.c (__ctan): Likewise.
32948 * math/s_ctanh.c (ctanh): Likewise.
32949 * math/s_ccoshl.c (__ccoshl): Likewise.
32950 * math/s_cexpl.c (__cexpl): Likewise.
32951 * math/s_csinl.c (__csinl): Likewise.
32952 * math/s_csinhl.c (__csinhl): Likewise.
32953 * math/s_ctanl.c (__ctanl): Likewise.
32954 * math/s_ctanhl.c (__ctanhl): Likewise.
32955
203e5603
JM
329562012-09-25 Joseph Myers <joseph@codesourcery.com>
32957
32958 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32959 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32960 (_IO_off_t): Define to __off_t, not _G_off_t.
32961 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32962 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32963 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32964 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32965 type of __dummy and __dummy2 fields.
32966 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32967 (_G_ssize_t): Likewise.
32968 (_G_off_t): Likewise.
32969 (_G_pid_t): Likewise.
32970 (_G_uid_t): Likewise.
32971 (_G_wchar_t): Likewise.
32972 (_G_wint_t): Likewise.
32973 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32974 (_G_ssize_t): Likewise.
32975 (_G_off_t): Likewise.
32976 (_G_pid_t): Likewise.
32977 (_G_uid_t): Likewise.
32978 (_G_wchar_t): Likewise.
32979 (_G_wint_t): Likewise.
32980 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32981 (_G_ssize_t): Likewise.
32982 (_G_off_t): Likewise.
32983 (_G_pid_t): Likewise.
32984 (_G_uid_t): Likewise.
32985 (_G_wchar_t): Likewise.
32986 (_G_wint_t): Likewise.
32987
9fab36eb
SP
329882012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32989
32990 * malloc/arena.c: Include malloc-sysdep.h.
32991 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32992 is sufficient to shrink the heap or an unmap is needed.
32993 * sysdeps/generic/malloc-sysdep.h: New file. Define
32994 new function check_may_shrink_heap.
32995 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32996 new function check_may_shrink_heap.
32997
2b4f00d1
SP
329982012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32999
33000 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33001 comments.
33002
9a9028b1
DL
330032012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33004
57c69bef
DL
33005 * catgets/test-gencat.sh: Add "set -e".
33006 * elf/tst-pathopt.sh: Likewise.
33007 * grp/tst_fgetgrent.sh: Likewise.
33008 * iconvdata/run-iconv-test.sh: Likewise.
33009 * intl/tst-gettext.sh: Likewise.
33010 * intl/tst-gettext2.sh: Likewise.
33011 * intl/tst-gettext4.sh: Likewise.
33012 * intl/tst-gettext6.sh: Likewise.
33013 * intl/tst-translit.sh: Likewise.
33014 * io/ftwtest-sh: Likewise.
33015 * libio/test-freopen.sh: Likewise.
33016 * malloc/tst-mtrace.sh: Likewise.
33017 * posix/globtest.sh: Likewise.
33018 * posix/tst-getconf.sh: Likewise.
33019 * posix/wordexp-tst.sh: Likewise.
33020 * stdio-common/tst-printf.sh: Likewise.
33021 * stdio-common/tst-unbputc.sh: Likewise.
33022 * stdlib/tst-fmtmsg.sh: Likewise.
33023 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33024 * catgets/Makefile: Do not specify -e option when running
33025 testsuite shell scripts.
33026 * elf/Makefile: Likewise.
33027 * grp/Makefile: Likewise.
33028 * iconvdata/Makefile: Likewise.
33029 * intl/Makefile: Likewise.
33030 * io/Makefile: Likewise.
33031 * libio/Makefile: Likewise.
33032 * malloc/Makefile: Likewise.
33033 * posix/Makefile: Likewise.
33034 * stdio-common/Makefile: Likewise.
33035 * stdlib/Makefile: Likewise.
33036 * sysdeps/x86_64/Makefile: Likewise.
33037
9a9028b1
DL
33038 * io/ftwtest-sh: Add copyright header.
33039 * posix/globtest.sh: Likewise.
33040 * posix/tst-getconf.sh: Likewise.
33041 * posix/wordexp-tst.sh: Likewise.
33042 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33043
ced6f16e
L
330442012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33045
94b32c39
L
33046 [BZ #13679]
33047 * Makeconfig (+link): Defined as $(+link-static) if
33048 $(build-shared) isn't yes.
33049 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33050 isn't yes.
33051 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33052
189e935b
L
33053 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33054
ced6f16e
L
33055 [BZ #14562]
33056 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33057 new chunk size with MALLOC_ALIGN_MASK.
33058
a9f8e53a
JM
330592012-09-24 Joseph Myers <joseph@codesourcery.com>
33060
33061 [BZ #5044]
33062 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33063 <rounding-mode.h>.
33064 (__printf_fphex): Determine rounding using get_rounding_mode and
33065 round_away.
33066 * stdio-common/tst-printf-round.c (struct hex_test): New
33067 structure.
33068 (hex_tests): New variable.
33069 (test_hex_in_one_mode): New function.
33070 (do_test): Also run tests for hex float output.
33071
43153109
JM
330722012-09-21 Joseph Myers <joseph@codesourcery.com>
33073
33074 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33075 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33076 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33077 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33078 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33079 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33080 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33081 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33082
8a26625d
JM
330832012-09-20 Joseph Myers <joseph@codesourcery.com>
33084
33085 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33086 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33087 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33088 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33089
f3fd569c
DL
330902012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33091
33092 [BZ #14579]
33093 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33094 mode only.
33095 * elf/tst-rtld-load-self.sh: New test.
33096 * elf/Makefile: Run it.
33097
63bbedd4
JM
330982012-09-18 Joseph Myers <joseph@codesourcery.com>
33099
33100 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33101 (tst-writev-ENV): Remove.
33102 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33103
626f8b6a
CM
331042012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33105
33106 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33107
b7aaa4d6
JM
331082012-09-17 Joseph Myers <joseph@codesourcery.com>
33109
33110 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33111 unconditional.
33112 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33113 Likewise.
33114 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33115 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33116 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33117 Likewise.
33118
65513990
L
331192012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33120
33121 [BZ #14587]
33122 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33123 * config.make.in (have-cpp-asm-debuginfo): Removed.
33124 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33125 * configure: Regenerated.
33126
784761be
JM
331272012-09-14 Joseph Myers <joseph@codesourcery.com>
33128
33129 [BZ #5044]
33130 * stdio-common/printf_fp.c: Include <stdbool.h> and
33131 <rounding-mode.h>.
33132 (___printf_fp): Determine rounding using get_rounding_mode and
33133 round_away.
33134 * stdio-common/tst-printf-round.c: New file.
33135 * stdio-common/Makefile (tests): Add tst-printf-round.
33136 (link-libm): New variable.
33137 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33138
9503345f
L
331392012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33140
33141 [BZ #14576]
33142 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33143 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33144 Likewise.
33145 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33146 Likewise.
33147
ad35fc00
JM
331482012-09-13 Joseph Myers <joseph@codesourcery.com>
33149
33150 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33151 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33152 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33153 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33154
6c9b0f68
JM
331552012-09-12 Joseph Myers <joseph@codesourcery.com>
33156
33157 [BZ #14518]
33158 * include/rounding-mode.h: New file.
33159 * sysdeps/generic/get-rounding-mode.h: Likewise.
33160 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33161 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33162 (MAX_VALUE): New macro.
33163 (MIN_VALUE): Likewise.
33164 (overflow_value): New function.
33165 (underflow_value): Likewise.
33166 (round_and_return): Use overflow_value and underflow_value to
33167 determine return values in overflow and underflow cases. Use
33168 round_away to determine rounding depending on rounding mode.
33169 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33170 determine return values in overflow and underflow cases.
33171 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33172 (struct test_results): New structure.
33173 (struct test): Use struct test_results to store expected results
33174 for all rounding modes.
33175 (TEST): Include expected results for all rounding modes.
33176 (test_in_one_mode): New function.
33177 (do_test): Use test_in_one_mode to compute and check results.
33178 Check results for all rounding modes.
33179 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33180 $(link-libm).
33181
19fcedd5
AM
331822012-12-09 Allan McRae <allan@archlinux.org>
33183
1e9d84cd 33184 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 33185
8bbfd2f1
JM
331862012-09-11 Joseph Myers <joseph@codesourcery.com>
33187
33188 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33189 (_G_int32_t): Likewise.
33190 (_G_uint16_t): Likewise.
33191 (_G_uint32_t): Likewise.
33192 (_G_HAVE_BOOL): Likewise.
33193 (_G_HAVE_ATEXIT): Likewise.
33194 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33195 (_G_HAVE_IO_FILE_OPEN): Likewise.
33196 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33197 (_G_int32_t): Likewise.
33198 (_G_uint16_t): Likewise.
33199 (_G_uint32_t): Likewise.
33200 (_G_HAVE_BOOL): Likewise.
33201 (_G_HAVE_ATEXIT): Likewise.
33202 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33203 (_G_HAVE_IO_FILE_OPEN): Likewise.
33204 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33205 (_G_int32_t): Likewise.
33206 (_G_uint16_t): Likewise.
33207 (_G_uint32_t): Likewise.
33208 (_G_HAVE_BOOL): Likewise.
33209 (_G_HAVE_ATEXIT): Likewise.
33210 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33211 (_G_HAVE_IO_FILE_OPEN): Likewise.
33212
b1dc5912
L
332132012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33214
33215 * csu/libc-tls.c: Update copyright years.
33216
0e886ef9
JM
332172012-09-10 Joseph Myers <joseph@codesourcery.com>
33218
28361c5e
JM
33219 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33220 [!_G_USING_THUNKS]: Remove conditional code.
33221 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33222 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33223
0e886ef9
JM
33224 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33225 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33226 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33227 (_G_VTABLE_LABEL_PREFIX): Likewise.
33228 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33229 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33230 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33231 (_G_VTABLE_LABEL_PREFIX): Likewise.
33232 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33233 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33234 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33235 (_G_VTABLE_LABEL_PREFIX): Likewise.
33236 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33237
bcba7aa2
L
332382012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33239
33240 * libio/Makefile: Include ../Makeconfig before tests.
33241 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33242 only if $(build-shared) is yes.
33243
06585ee8
L
33244 * iconv/gconv_db.c: Update copyright years.
33245
80ccd52c
LD
332462012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33247
33248 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33249 unwind info if defined PIC. Fix special cases description.
33250 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33251
33252 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33253 DP_HI_MASK entry.
33254 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33255
691bc9c1
L
332562012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33257
3d9b46b3
L
33258 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33259
de2139a9
L
33260 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33261 is NULL.
33262
5ca78dd0
L
33263 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33264 (LDLIBS-tst-chk4): This.
33265 (LDFLAGS-tst-chk5): Renamed to ...
33266 (LDLIBS-tst-chk5): This.
33267 (LDFLAGS-tst-chk6): Renamed to ...
33268 (LDLIBS-tst-chk6): This.
33269 (LDFLAGS-tst-lfschk4): Renamed to ...
33270 (LDLIBS-tst-lfschk4): This.
33271 (LDFLAGS-tst-lfschk5): Renamed to ...
33272 (LDLIBS-tst-lfschk5): This.
33273 (LDFLAGS-tst-lfschk6): Renamed to ...
33274 (LDLIBS-tst-lfschk6): This.
33275
691bc9c1
L
33276 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33277 on $(common-objpfx)soversions.mk.
33278
65cafb1c
JM
332792012-09-07 Joseph Myers <joseph@codesourcery.com>
33280
33281 [BZ #10014]
33282 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33283 example host name.
33284
c78ab094
SP
332852012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33286
33287 * malloc/arena.c (arena_get_retry): New function that gets
33288 another arena for the caller to try its request on.
33289 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33290 current arena cannot fulfill the request.
33291 (__libc_memalign): Likewise.
33292 (__libc_memalign): Likewise.
33293 (__libc_pvalloc): Likewise.
33294 (__libc_calloc): Likewise.
33295
01f49f59
JT
332962012-09-05 John Tobey <john.tobey@gmail.com>
33297
33298 [BZ #13542]
33299 * manual/arith.texi (Operations on Complex): Fix description
33300 of carg branch cut.
33301
4c23fed5
JM
333022012-09-06 Joseph Myers <joseph@codesourcery.com>
33303
1d3c8572
JM
33304 [BZ #10014]
33305 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33306 host name.
33307
4c23fed5
JM
33308 [BZ #10038]
33309 * manual/memory.texi (Memory): Make order of menu items match
33310 order of sections.
33311
04570aaa
L
333122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33313
33314 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33315 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33316 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33317
b80af2f4
L
333182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33319
33320 * csu/libc-tls.c (static_dtv): Renamed to ...
33321 (_dl_static_dtv): This. Make it global.
33322 (_dl_initial_dtv): Removed.
33323 (__libc_setup_tls): Updated.
33324 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33325 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33326 DL_INITIAL_DTV.
33327
2abe9f15
PM
333282012-09-06 Petr Machata <pmachata@redhat.com>
33329
33330 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33331 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33332 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33333 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33334
0948c3af
L
333352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33336
33337 [BZ #14545]
33338 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33339 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33340 freeing dtv[-1].
33341
a5055ad1
L
333422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33343
33344 [BZ #14544]
33345 * Makeconfig (link-static-before-libc): Replace $(+prector)
33346 with $(+prectorT).
33347 (link-static-after-libc): Replace $(+postctor) with
33348 $(+postctorT).
33349 (link-bounded): Replace $(+prector)/$(+postctor) with
33350 $(+prectorT)/$(+postctorT).
33351 (+prectorT): New macro.
33352 (+postctorT): Likewise.
33353
ed8c2ecd
JM
333542012-09-06 Joseph Myers <joseph@codesourcery.com>
33355
33356 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33357 (round_str): Handle values above the maximum for IBM long double
33358 as inexact.
33359 * stdlib/tst-strtod-round.c (tests): Regenerated.
33360
14c996c8
AK
333612012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33362
33363 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33364 assembler flag.
33365 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33366 zarch_nohighgprs around the zarch optimized routines.
33367 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33368 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33369 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33370 for zarch.
33371
430d6ce6
DM
333722012-09-05 David S. Miller <davem@davemloft.net>
33373
33374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33375
57f41c40
AS
33376 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33377 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
33378 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33379 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33380 entries.
33381
24d4e01b
AO
333822012-09-05 Alexandre Oliva <aoliva@redhat.com>
33383
33384 * malloc/arena.c: Fold copyright years.
33385 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33386
61d58174
AO
333872012-09-05 Alexandre Oliva <aoliva@redhat.com>
33388
33389 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33390
20196a5e
AO
333912012-09-05 Alexandre Oliva <aoliva@redhat.com>
33392
33393 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33394
5c447383
AO
333952012-09-05 Alexandre Oliva <aoliva@redhat.com>
33396
33397 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33398 change internal state upon failure.
33399
fad64255
AO
334002012-09-05 Alexandre Oliva <aoliva@redhat.com>
33401
33402 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33403 * malloc/memusage.c (mmap): Likewise.
33404 (mmap64, mremap): Likewise. Adjust name in comment.
33405
1ffb8c90
SP
334062012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33407
33408 * libio/fileops.c: Fix typos in comments.
33409 * libio/oldfileops.c: Likewise.
33410 * libio/wfileops.c: Likewise.
33411
6ef9cc37
SP
334122012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33413
33414 [BZ #1349]
33415 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33416 (tst-malloc-usable-ENV): Set environment for test case.
33417 * malloc/hooks.c (malloc_check_get_size): New function to get
33418 requested size.
33419 * malloc/malloc.c (musable): Use malloc_check_get_size.
33420 * malloc/tst-malloc-usable.c: New test case.
33421
4d038ae3
AS
334222012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33423
33424 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33425
c4e85184
AM
334262012-09-05 Allan McRae <allan@archlinux.org>
33427
b9dafc56 33428 [BZ #13966]
c4e85184
AM
33429 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33430 determine header location.
33431 * configure: Regenerated.
33432
e1343020
AS
334332012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33434
33435 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33436 float format.
33437 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
33438 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33439 format.
e1343020
AS
33440 (test): Regenerate.
33441
0a9f1987
DM
334422012-09-04 David S. Miller <davem@davemloft.net>
33443
33444 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33445 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33446 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33447
29237804
FW
334482012-09-04 Florian Weimer <fweimer@redhat.com>
33449
33450 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33451 failures.
33452
edb3cb88
FW
33453 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33454
60160d83
JM
334552012-09-04 Joseph Myers <joseph@codesourcery.com>
33456
33457 [BZ #9914]
33458 * libio/iogetdelim.c: Include <limits.h>.
33459 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33460 + len + 1 would overflow.
33461
bcd6c8dc
AJ
334622012-09-03 Andreas Jaeger <aj@suse.de>
33463
33464 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33465 * sysdeps/i386/fpu/libm-test-ulps: Update.
33466
4ffffbd2
LD
334672012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33468
33469 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33470 Add s_sinf-sse2, s_conf-sse2.
33471
33472 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33473 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33474 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33475 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33476
33477 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33478 for using routine as __sinf_ia32.
33479 Use macro for function declaration and weak_alias.
33480 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33481 for using routine as __cosf_ia32.
33482 Use macro for function declaration and weak_alias.
33483
33484 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33485 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33486
33487 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33488 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33490
33491 * math/libm-test.inc (cos_test): Add more test cases.
33492 (sin_test): Likewise.
33493 (sincos_test): Likewise.
33494
511fa286
AK
334952012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33496
33497 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33498 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33499 hidden.
33500 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33501
5f30cfec
L
335022012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33503
33504 [BZ #14538]
33505 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33506 first element of the GOT.
33507 (elf_machine_load_address): Return the difference between
33508 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33509
0786794f
AM
335102012-09-01 Allan McRae <allan@archlinux.org>
33511
5f30cfec
L
33512 [BZ #13412]
33513 * configure.in (AWK): Require gawk version 3.0 or later.
33514 * configure: Regenerated.
0786794f 33515
26889eac
JM
335162012-09-01 Joseph Myers <joseph@codesourcery.com>
33517
33518 * sysdeps/unix/sysv/linux/kernel-features.h
33519 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33520 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33521 [__NR_clock_getres]: Make code unconditional.
33522 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33523 (clock_getcpuclockid): Remove code left unreachable by removal of
33524 conditionals.
33525 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33526 code unconditional.
33527 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33528 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33529 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33530 Make code unconditional.
33531 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33532 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33533 * sysdeps/unix/sysv/linux/clock_settime.c
33534 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33535 conditional code.
33536 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33537 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33538
d22e28b0
L
335392012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33540
33541 [BZ #14476]
33542 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33543 scripts/test-installation.pl.
33544
33545 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33546 and $ld_so_version if it is set.
33547
050af9c4
SP
335482012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33549
33550 [BZ #14516]
33551 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33552 failure if reading from procfs failed.
33553 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33554
ad845c0b
JM
335552012-08-27 Joseph Myers <joseph@codesourcery.com>
33556
33557 * sysdeps/unix/sysv/linux/kernel-features.h
33558 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33559 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33560 Remove conditional code.
33561 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33562 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33563 Remove conditional code.
33564 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33565 * sysdeps/unix/sysv/linux/i386/fxstat.c
33566 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33567 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33568 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33569 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33570 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33571 * sysdeps/unix/sysv/linux/i386/lxstat.c
33572 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33573 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33574 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33575 Remove conditional code.
33576 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33577 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33578 Remove conditional code.
33579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33580 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33581 <kernel-features.h>.
33582 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33583 Remove.
33584 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33585 Remove conditional code.
33586 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33587 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33588 Remove conditional.
33589
5dbf56af
MF
335902012-08-27 Mike Frysinger <vapier@gentoo.org>
33591
33592 [BZ #5400]
33593 * NEWS: Add fixed bug number.
33594
d6e70f43
JM
335952012-08-27 Joseph Myers <joseph@codesourcery.com>
33596
7efb4737
JM
33597 [BZ #14519]
33598 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33599 underflowing exponent in case of negative sign.
33600 * stdlib/tst-strtod-round-data: Add more tests.
33601 * stdlib/tst-strtod-round.c (tests): Regenerated.
33602
af92131a
JM
33603 [BZ #3479]
33604 * stdlib/strtod_l.c (NDIG): Remove.
33605 (HEXNDIG): Likewise.
33606 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33607 smallest representable value.
33608 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33609 lie within an exact representation of 1/2 ulp of the result.
33610 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33611 unconditionally.
33612 (TENS_P9_IDX): Define unconditionally.
33613 (TENS_P9_SIZE): Likewise.
33614 (TENS_P10_IDX): Likewise.
33615 (TENS_P10_SIZE): Likewise.
33616 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33617 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33618 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33619 entries for 10^2^13 and 10^2^14.
33620 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33621 (TENS_P13_IDX): Define.
33622 (TENS_P13_SIZE): Likewise.
33623 (TENS_P14_IDX): Likewise.
33624 (TENS_P14_SIZE): Likewise.
33625 (_fpioconst_pow10): Change array size to
33626 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33627 unconditional.
33628 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33629 1024]: Add entries for 10^2^13 and 10^2^14.
33630 [LAST_POW10 > _LAST_POW10]: Remove #error.
33631 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33632 (_fpioconst_pow10): Change array size to
33633 FPIOCONST_POW10_ARRAY_SIZE.
33634 * stdlib/gen-fpioconst.c: New file.
33635 * stdlib/gen-tst-strtod-round.c: Likewise.
33636 * stdlib/tst-strtod-round-data: Likewise.
33637 * stdlib/tst-strtod-round.c: Likewise.
33638 * stdlib/Makefile (tests): Add tst-strtod-round.
33639
d6e70f43
JM
33640 [BZ #14459]
33641 * stdlib/strtod_l.c: Include <stdint.h>.
33642 (NDEBUG): Do not define.
33643 (round_and_return): Change EXPONENT parameter to type intmax_t.
33644 Rearrange calculations to avoid internal overflow possibilities.
33645 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33646 Rearrange calculations to avoid internal overflow possibilities.
33647 Assert that number fits inside MPNSIZE limbs.
33648 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33649 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33650 calculations and add assertions to avoid internal overflow
33651 possibilities. Add casts to avoid signed/unsigned operations.
33652 * stdlib/tst-strtod-overflow.c: New file.
33653 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33654
1f529f7d
MP
336552012-08-25 Marek Polacek <polacek@redhat.com>
33656
33657 * time/time.h: Fix some typos in comments.
33658
59a629f1
RM
336592012-08-23 Roland McGrath <roland@hack.frob.com>
33660
33661 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33662 * posix/tst-rfc3484-2.c: Likewise.
33663 * posix/tst-rfc3484-3.c: Likewise.
33664
d3bafbc9
SM
336652012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33666
33667 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33668 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33669
4efcc022
JM
336702012-08-23 Joseph Myers <joseph@codesourcery.com>
33671
33672 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33673 #include of fxstatat64.c.
33674
3cc3ef96
RM
336752012-08-22 Roland McGrath <roland@hack.frob.com>
33676
f04e2132
RM
33677 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33678 * shadow/getspent_r.c: Likewise.
33679 * shadow/getspnam.c: Likewise.
33680 * shadow/getspnam_r.c: Likewise.
33681 * gshadow/getsgent.c: Likewise.
33682 * gshadow/getsgent_r.c: Likewise.
33683 * gshadow/getsgnam.c: Likewise.
33684 * gshadow/getsgnam_r.c: Likewise.
33685 * inet/getnetbyad.c: Likewise.
33686 * inet/getnetbyad_r.c: Likewise.
33687 * inet/getnetbynm.c: Likewise.
33688 * inet/getnetbynm_r.c: Likewise.
33689 * inet/getnetent.c: Likewise.
33690 * inet/getnetent_r.c: Likewise.
33691 * inet/getproto.c: Likewise.
33692 * inet/getproto_r.c: Likewise.
33693 * inet/getprtent.c: Likewise.
33694 * inet/getprtent_r.c: Likewise.
33695 * inet/getprtname.c: Likewise.
33696 * inet/getprtname_r.c: Likewise.
33697 * inet/getrpcbyname.c: Likewise.
33698 * inet/getrpcbyname_r.c: Likewise.
33699 * inet/getrpcbynumber.c: Likewise.
33700 * inet/getrpcbynumber_r.c: Likewise.
33701 * inet/getrpcent.c: Likewise.
33702 * inet/getrpcent_r.c: Likewise.
33703 * inet/getaliasent.c: Likewise.
33704 * inet/getaliasent_r.c: Likewise.
33705 * inet/getaliasname.c: Likewise.
33706 * inet/getaliasname_r.c: Likewise.
33707 * nscd/getgrgid_r.c: Likewise.
33708 * nscd/getgrnam_r.c: Likewise.
33709 * nscd/gethstbyad_r.c: Likewise.
33710 * nscd/gethstbynm3_r.c: Likewise.
33711 * nscd/getpwnam_r.c: Likewise.
33712 * nscd/getpwuid_r.c: Likewise.
33713 * nscd/getsrvbynm_r.c: Likewise.
33714 * nscd/getsrvbypt_r.c: Likewise.
33715 * nscd/gai.c: Likewise.
33716
c53d909c
RM
33717 * configure.in (build_nscd): New substituted variable, set
33718 by --disable-build-nscd and defaults to $use_nscd.
33719 * configure: Regenerated.
33720 * config.make.in (build-nscd): New substituted variable.
33721 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33722 Change conditional to require [$(build-nscd) = yes] as well.
33723 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33724
3cc3ef96
RM
33725 [BZ# 13696]
33726 * configure.in (use_nscd): New substituted variable, set by
33727 --disable-nscd. If enabled, define USE_NSCD.
33728 * configure: Regenerated.
33729 * config.h.in: Add USE_NSCD.
33730 * config.make.in (use-nscd): New substituted variable.
33731 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33732 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33733 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33734 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33735 (CFLAGS-getgrnam_r.c): Likewise.
33736 (CFLAGS-initgroups.c): Likewise.
33737 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33738 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33739 Variables removed.
33740 * inet/getnetgrent_r.c
33741 (nscd_setnetgrent): New function, broken out of ...
33742 (setnetgrent): ... here. Call it.
33743 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33744 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33745 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33746 * nscd/Makefile (routines, aux): Move definitions after include of
33747 Makeconfig. Conditionalize on [$(use-nscd) != no].
33748 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33749 Conditionalize on [USE_NSCD].
33750 (is_nscd, nscd_init_cb): Likewise.
33751 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33752 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33753 * nss/nss_db/db-init.c: Likewise.
33754 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33755 [USE_NSCD].
33756 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33757 (make_request): Use it.
33758 (cache_valid_p): New function.
33759 (__check_pf): Use it.
33760 * NEWS: Add item for --disable-nscd.
33761
07e51550
DL
337622012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33763
33764 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33765 to support sed >= 4.2.1-20-ga9bf076.
33766 * configure: Regenerated.
33767
35a5b08b
RM
337682012-08-22 Roland McGrath <roland@hack.frob.com>
33769
33770 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33771 Conditionalize whole body on [IREL].
33772
8479f23a
JL
337732012-08-22 Jeff Law <law@redhat.com>
33774
33775 [BZ #14505]
33776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33777 if the family is PF_UNSPEC.
33778
48da0b21
MF
337792012-08-22 Mike Frysinger <vapier@gentoo.org>
33780
33781 * Makerules (lib-version): Rename from V.
33782 (install-lib-nosubdir): Change V to lib-version.
33783
15d0da8c
WS
337842012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33785
33786 [BZ #14252]
33787 * powerpc32/power6/wcschr.c: New file.
33788 * powerpc32/power6/wcscpy.c: New file.
33789 * powerpc32/power6/wcsrchr.c: New file.
33790 * powerpc64/power6/wcschr.c: New file.
33791 * powerpc64/power6/wcscpy.c: New file.
33792 * powerpc64/power6/wcsrchr.c: New file.
33793
bcca0895
MK
337942012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33795
33796 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33797 (two_way_short_needle): Use it.
5a4aaa33
RM
33798 * string/strstr.c (AVAILABLE1_USES_J): Define.
33799 * string/strcasestr.c: Likewise.
99677e57
MK
33800
33801 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33802 array references.
33803 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33804
400726de
MK
33805 [BZ #11607]
33806 * NEWS: Add an entry.
33807 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33808 define their defaults.
33809 (two_way_short_needle): Detect end-of-string on-the-fly.
33810 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33811 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33812 * string/bug-strcasestr1.c: New test.
33813 * string/Makefile: Run it.
33814
20a71f2c
MK
338152012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33816
33817 [BZ #11607]
33818 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33819 the first character.
33820
21ad0558
RM
338212012-08-21 Roland McGrath <roland@hack.frob.com>
33822
33823 * csu/elf-init.c (__libc_csu_irel): Function removed.
33824 * csu/libc-start.c (apply_irel): New function.
33825 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33826
0e1d9911
JM
338272012-08-21 Joseph Myers <joseph@codesourcery.com>
33828
33829 * sysdeps/unix/sysv/linux/kernel-features.h
33830 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33831 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33832 <kernel-features.h>.
33833 [__NR_fadvise64_64]: Make code unconditional.
33834 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33835 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33836 !__NR_fadvise64_64)]: Likewise.
33837 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33838 !__NR_fadvise64_64))]: Likewise.
33839 [__NR_fadvise64]: Make code unconditional.
33840 [!__NR_fadvise64]: Remove conditional code.
33841 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33842 <kernel-features.h>.
33843 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33844 unconditional.
33845 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33846 conditional code.
33847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33848 not include <kernel-features.h>.
33849 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33850 unconditional.
33851 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33852 conditional code.
33853 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33854 include <kernel-features.h>.
33855 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33856 unconditional.
33857 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33858 conditional code.
33859
14a50c9d
WS
338602012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33861
33862 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33863 slight instruction rearrangements per scrollpipe analysis.
33864 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33865
c0f4faf0
RM
338662012-08-20 Roland McGrath <roland@hack.frob.com>
33867
696da859
RM
33868 * manual/syslog.texi (syslog; vsyslog, closelog):
33869 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33870 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33871
c0f4faf0
RM
33872 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33873 DSOCAPS to match condition on defining it.
33874
348363b2
JM
338752012-08-20 Joseph Myers <joseph@codesourcery.com>
33876
a35cbf28
JM
33877 * sysdeps/unix/sysv/linux/kernel-features.h
33878 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33880 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33881 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33883 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33884 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33886 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33887 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33888
445f7ecd
JM
33889 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33890 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33891
348363b2
JM
33892 * sysdeps/unix/sysv/linux/kernel-features.h
33893 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33894 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33895 unconditional.
33896 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33897 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33898 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33899 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33900 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33901 Make code unconditional.
33902 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33903 (__mmap64) [!__NR_mmap2]: Likewise.
33904 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33905 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33906 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33907 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33908 [__NR_mmap2]: Make code unconditional.
33909 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33910 (__mmap64) [!__NR_mmap2]: Likewise.
33911
bc5bc0e5
AK
339122012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33913
33914 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33915
88d506de
AJ
339162012-08-18 Andreas Jaeger <aj@suse.de>
33917
33918 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33919
493387d2
MF
339202012-08-18 Mike Frysinger <vapier@gentoo.org>
33921
33922 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33923 * include/unistd.h (__have_sock_cloexec): Likewise.
33924 (__have_pipe2): Likewise.
33925 (__have_dup3): Likewise.
33926
a277af22
MF
339272012-08-18 Mike Frysinger <vapier@gentoo.org>
33928
33929 [BZ #9685]
33930 * include/unistd.h (__have_pipe2): Change define into an extern int.
33931 (__have_dup3): Likewise.
33932 * socket/have_sock_cloexec.c: Include fcntl.h.
33933 (__have_pipe2): New variable.
33934 (__have_dup3): Likewise.
33935
fdab8fd3
MF
339362012-08-17 Mike Frysinger <vapier@gentoo.org>
33937
33938 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33939
31035e80
MP
339402012-08-17 Marek Polacek <polacek@redhat.com>
33941
33942 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33943 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33944
3bd9e993
RM
339452012-08-17 Roland McGrath <roland@hack.frob.com>
33946
c91c505f
RM
33947 * configure.in: Add AC_SUBST for sysheaders.
33948 * configure: Regenerated.
33949 * config.make.in (sysheaders): New substituted variable.
33950
7c6f9d53
RM
33951 * sysdeps/unix/mkfifo.c: Moved ...
33952 * sysdeps/posix/mkfifo.c: ... here.
33953 * sysdeps/unix/mkfifoat.c: Moved ...
33954 * sysdeps/posix/mkfifoat.c: ... here.
33955
33956 * sysdeps/unix/utime.c: Moved ...
33957 * sysdeps/posix/utime.c: ... here.
33958
33959 * sysdeps/unix/time.c: Moved ...
33960 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
33961 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33962 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
33963
33964 * sysdeps/unix/nice.c: Moved ...
33965 * sysdeps/posix/nice.c: ... here.
33966
33967 * sysdeps/unix/alarm.c: Moved ...
33968 * sysdeps/posix/alarm.c: ... here.
33969
3bd9e993
RM
33970 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33971
d1f09384
JL
339722012-08-17 Jeff Law <law@redhat.com>
33973
33974 * intl/Makefile (codeset_mo): New variable.
33975 ($(codeset_mo)): New target.
33976 (tst-codeset.out): Depend on that. Remove explicit rule.
33977 (tst-gettext3.out, tst-gettext5.out): Likewise.
33978 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33979 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33980 * intl/tst-codeset.sh: Remove.
33981 * intl/tst-gettext3.sh: Likewise.
33982 * intl/tst-gettext5.sh: Likewise.
33983
2ae1ae5c
RM
339842012-08-17 Roland McGrath <roland@hack.frob.com>
33985
c31fdb83
RM
33986 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33987 * sysdeps/unix/syscalls.list: ... here.
33988
a0844057
RM
33989 * sysdeps/posix/getaddrinfo.c
33990 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33991 (gaiconf_init, gaiconf_reload): Use them.
33992 [!_STATBUF_ST_NSEC]
33993 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33994 Define using time_t rather than struct timespec.
33995
750c1f2a
RM
33996 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33997 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33998 Macros removed.
33999 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34000 [!NO_THREADS].
34001 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34002 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34003 Likewise.
34004
2ae1ae5c
RM
34005 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34006 __libc_cleanup_push argument.
34007
e66a42f5
RM
34008 * bits/param.h: New file.
34009 * misc/sys/param.h: New file.
34010 * include/sys/param.h: New file.
34011 * misc/Makefile (headers): Add bits/param.h.
34012 * sysdeps/generic/sys/param.h: File removed.
34013 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34014 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34015 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 34016 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 34017
b7c08a66
RM
34018 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34019 last change.
34020
b2e1c562
RM
34021 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34022 [_IO_MTSAFE_IO].
34023 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34024 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34025 New macros.
34026
c75ccd4c
RM
34027 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34028 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34029 rather than -D_IO_MTSAFE_IO conditionally.
34030 * stdio-common/Makefile (CPPFLAGS): Likewise.
34031 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34032 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34033 Use $(libio-mtsafe).
34034 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34035 of -D_IO_MTSAFE_IO.
34036 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34037 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34038 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34039 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34040 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34041 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34042 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34043 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34044 (CFLAGS-fread_u_chk.c): Likewise.
34045 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34046 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34047 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34048 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34049 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34050 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34051 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34052 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34053 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34054
34055 * libio/Makefile: Test [$(libc-reentrant) = yes]
34056 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34057
34058 * Makeconfig
34059 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34060 * sysdeps/pthread/configure: File removed.
34061 * sysdeps/pthread/Makeconfig: New file.
34062 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34063 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34064
d9195db8
GB
340652012-08-16 Gary Benson <gbenson@redhat.com>
34066
34067 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34068 unmapping the first object in a namespace.
34069
86466cd9
RM
340702012-08-16 Roland McGrath <roland@hack.frob.com>
34071
34072 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34073 (__internal_setnetgrent): ... this. Add internal_function to
34074 definition. Add libc_hidden_def.
34075 (setnetgrent): Update caller.
34076 (internal_endnetgrent): Renamed to ...
34077 (__internal_endnetgrent): ... this. Add internal_function to
34078 definition. Add libc_hidden_def.
34079 (endnetgrent): Update caller.
34080 (internal_getnetgrent_r): Renamed to ...
34081 (__internal_getnetgrent_r): ... this. Add internal_function to
34082 definition. Add libc_hidden_def.
34083 (__getnetgrent_r): Update caller.
34084 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34085
c3c8283c
JM
340862012-08-16 Joseph Myers <joseph@codesourcery.com>
34087
34088 * stdlib/longlong.h: Update from GCC.
34089
db1ee0a8
RM
340902012-08-16 Roland McGrath <roland@hack.frob.com>
34091
34092 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34093 on _QL, which is set by umul_ppmm but never used.
34094 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34095 variables, which are set by GMP macros but never used.
34096 * stdio-common/_itowa.c (_itowa): Likewise.
34097 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34098 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34099
30f69637
CD
341002012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34101
34102 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34103 struct La_sh_regs is not constant.
34104 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34105 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34106 and struct La_sparc64_regs are not constant.
34107
93a78ac4
JM
341082012-08-16 Joseph Myers <joseph@codesourcery.com>
34109
34110 * sysdeps/unix/sysv/linux/kernel-features.h
34111 (__ASSUME_POSIX_TIMERS): Remove.
34112 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34113 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34114 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34115 Make code unconditional.
34116 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34117 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34118 Make code unconditional.
34119 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34120 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34121 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34122 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34123 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34124 Make code unconditional.
34125 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34126 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34127 (__libc_missing_posix_timers): Remove.
34128
dd924cd7
RM
341292012-08-15 Roland McGrath <roland@hack.frob.com>
34130
4b4f2771
RM
34131 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34132 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34133
601c888b
RM
34134 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34135
176790a7
RM
34136 * elf/dl-sym.c: Include <stdlib.h>.
34137
329bc018
RM
34138 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34139 constants, which avoids warnings in 32-bit builds.
34140
e04e272d
RM
34141 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34142 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34143
952bf94a
RM
34144 * misc/lseek.c: File moved to ...
34145 * io/lseek.c: ... here.
34146
7c99b50a
RM
34147 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34148
dd924cd7
RM
34149 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34150 shifting LEN more than 31 bits at once.
34151
b3f479a8
LD
341522012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34153
34154 [BZ #14195]
8c4ae0d4
RM
34155 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34156 segmentation fault for a case of two empty input strings.
b3f479a8
LD
34157 * string/test-strncasecmp.c (check1): Renamed to...
34158 (bz12205): ...this.
34159 (bz14195): Add new testcase for two empty input strings and N > 0.
34160 (test_main): Call new testcase, adapt for renamed function.
34161
9c55864e
AJ
341622012-08-15 Andreas Jaeger <aj@suse.de>
34163
34164 [BZ #14090]
34165 * crypt/md5test2.c: New test, based on test supplied by Serge
34166 Belyshev <belyshev@depni.sinp.msu.ru>.
34167 * crypt/Makefile (xtests): Add md5test-giant..
34168 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34169
02dcb6c5
PE
341702012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34171
34172 [BZ #14090]
34173 * crypt/md5.c (md5_process_block): Don't assume the buffer
34174 length is less than 2**32.
34175 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34176 length is less than 2**64.
34177
a3f95dcc
RM
341782012-08-15 Roland McGrath <roland@hack.frob.com>
34179
be75d758
RM
34180 * string/str-two-way.h: Include <sys/param.h>.
34181 (MAX): Macro removed.
34182
7312ca90
RM
34183 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34184 Move #define and #undef of memmove to just before and after
34185 including <string.h>.
34186
9a0a5486
RM
34187 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34188 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34189 and after including <string.h>. Move declarations of
34190 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34191 to before #include "string/memmove.c".
34192
67cc348d
RM
34193 * include/dirent.h: Declare __getdirentries.
34194
a3f95dcc
RM
34195 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34196 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34197
ca98e171
MF
341982012-08-14 Mike Frysinger <vapier@gentoo.org>
34199
34200 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34201 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34202 * sysdeps/i386/configure: Regenerated.
34203 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34204 STABS_CURRENT_FILE, and STABS_FUN.
34205 (END): Remove call to STABS_FUN_END.
34206 (STABS_CURRENT_FILE1): Delete.
34207 (STABS_CURRENT_FILE): Likewise.
34208 (STABS_FUN): Likewise.
34209 (STABS_FUN_END): Likewise.
34210 (STABS_FUN2): Likewise.
34211 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34212 * sysdeps/x86_64/configure: Regenerated.
34213
5908bf46
RM
342142012-08-14 Roland McGrath <roland@hack.frob.com>
34215
34216 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 34217 * elf/dl-lookup.c: Likewise.
5908bf46 34218
f2c05b9e
JM
342192012-08-14 Joseph Myers <joseph@codesourcery.com>
34220
34221 * sysdeps/unix/sysv/linux/kernel-features.h
34222 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34223 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34224 unconditionally.
34225 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34226 unconditionally.
34227 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34228 condition on __ASSUME_CLONE_THREAD_FLAGS.
34229
e11f5155
AJ
342302012-08-14 Andreas Jaeger <aj@suse.de>
34231
34232 * sysdeps/i386/fpu/libm-test-ulps: Update.
34233
51a9ba86
MK
342342012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34235
2fdd4f78
AJ
34236 * include/atomic.h (atomic_exchange_and_add): Split into ...
34237 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34238 New atomic macros.
51a9ba86 34239
ba6cba9e
MT
342402012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34241
34242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34243
42443a47
JL
342442012-08-13 Jeff Law <law@redhat.com>
34245
34246 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34247 null byte in the output string.
34248
121dce05
JM
342492012-08-10 Joseph Myers <joseph@codesourcery.com>
34250
34251 * sysdeps/unix/sysv/linux/kernel-features.h
34252 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34253 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34254 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34255 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34256 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34257 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34258 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34259
bf51f568
JL
342602012-08-09 Jeff Law <law@redhat.com>
34261
34262 [BZ #13939]
34263 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34264 When avoid_arena is set, don't retry in the that arena. Pick the
34265 next one, whatever it might be.
34266 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34267 (arena_lock): Pass in new parameter to arena_get2.
34268 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34269 arena_get2.
34270 (__libc_malloc): Unify retrying after main arena failure with
34271 __libc_memalign version.
34272 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34273
f85fa270
L
342742012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34275
34276 [BZ #14166]
34277 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34278 to __redirect_strstr.
34279 (__strstr_sse42): Use typeof __redirect_strstr.
34280 (__strstr_ia32): Likewise.
34281 (__libc_strstr): New prototype.
34282 (strstr): Renamed to ...
34283 (__libc_strstr): This.
34284 (strstr): New strong alias of __libc_strstr.
34285 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34286 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34287 __redirect_time.
34288 Include <time.h>.
34289 (__libc_time): New prototype.
34290 (time_ifunc): Replace time with __libc_time.
34291 (time): New strong alias and hidden definition of __libc_time.
34292 (__GI_time): Remove strong alias.
34293 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34294 Include <stddef.h>.
34295 (memmove): Redefined to __redirect_memmove.
34296 (__memmove_sse2): Use typeof __redirect_memmove.
34297 (__memmove_ssse3): Likewise.
34298 (__memmove_ssse3_back): Likewise.
34299 (__libc_memmove): New prototype.
34300 (memmove): Renamed to ...
34301 (__libc_memmove): This.
34302 (memmove): New strong alias of __libc_memmove.
34303
33b4a91e
MS
343042012-08-08 Mark Salter <msalter@redhat.com>
34305
34306 * elf/elf.h
34307 (R_MN10300_TLS_GD): Define.
34308 (R_MN10300_TLS_LD): Likewise.
34309 (R_MN10300_TLS_LDO): Likewise.
34310 (R_MN10300_TLS_GOTIE): Likewise.
34311 (R_MN10300_TLS_IE): Likewise.
34312 (R_MN10300_TLS_LE): Likewise.
34313 (R_MN10300_TLS_DTPMOD): Likewise.
34314 (R_MN10300_TLS_DTPOFF): Likewise.
34315 (R_MN10300_TLS_TPOFF): Likewise.
34316 (R_MN10300_SYM_DIFF): Likewise.
34317 (R_MN10300_ALIGN): Likewise.
34318 (R_MN10300_NUM): Update.
34319
b36137f1
JM
343202012-08-08 Joseph Myers <joseph@codesourcery.com>
34321
34322 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34323 Remove.
34324
cdd915fd
RM
343252012-08-08 Roland McGrath <roland@hack.frob.com>
34326
a2433aac
RM
34327 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34328
cdd915fd
RM
34329 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34330 sysdeps/unix -> sysdeps/posix move.
34331 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34332
bf9b740a
AM
343332012-08-07 Allan McRae <allan@archlinux.org>
34334
34335 [BZ #14303]
34336 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34337 (SUNOS_CPP): Likewise.
34338 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34339 not found.
34340 (open_input): Call CPP using execvp.
34341
93df14ee
JM
343422012-08-07 Joseph Myers <joseph@codesourcery.com>
34343
34344 * sysdeps/unix/sysv/linux/kernel-features.h
34345 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34346 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34347 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34348 (__ASSUME_WAITID_SYSCALL): Likewise.
34349 * sysdeps/unix/sysv/linux/dl-execstack.c
34350 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34351 code unconditional.
34352 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34353 conditional code.
34354 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34355 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34356 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34357 code.
34358 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34359 unconditional.
34360 [__ASSUME_WAITID_SYSCALL]: Likewise.
34361 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34362
d34689de
RM
343632012-08-07 Roland McGrath <roland@hack.frob.com>
34364
a281decc
RM
34365 * sysdeps/unix/closedir.c: Renamed to ...
34366 * sysdeps/posix/closedir.c: ... here.
34367 * sysdeps/unix/dirfd.c: Renamed to ...
34368 * sysdeps/posix/dirfd.c: ... here.
34369 * sysdeps/unix/dirstream.h: Renamed to ...
34370 * sysdeps/posix/dirstream.h: ... here.
34371 * sysdeps/unix/fdopendir.c: Renamed to ...
34372 * sysdeps/posix/fdopendir.c: ... here.
34373 * sysdeps/unix/opendir.c: Renamed to ...
34374 * sysdeps/posix/opendir.c: ... here.
34375 * sysdeps/unix/readdir.c: Renamed to ...
34376 * sysdeps/posix/readdir.c: ... here.
34377 * sysdeps/unix/readdir_r.c: Renamed to ...
34378 * sysdeps/posix/readdir_r.c: ... here.
34379 * sysdeps/unix/rewinddir.c: Renamed to ...
34380 * sysdeps/posix/rewinddir.c: ... here.
34381 * sysdeps/unix/seekdir.c: Renamed to ...
34382 * sysdeps/posix/seekdir.c: ... here.
34383 * sysdeps/unix/telldir.c: Renamed to ...
34384 * sysdeps/posix/telldir.c: ... here.
34385 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34386 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34387 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34388 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34389
22895b47
RM
34390 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34391 * bits/fcntl.h: ... here.
34392
707a53b6
RM
34393 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34394 not 0.
34395 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34396 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34397 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34398 (struct flock): Move l_start, l_len to the beginning.
34399 Use __pid_t for l_pid.
34400 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34401 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34402 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34403 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34404 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34405 [__USE_LARGEFILE64] (struct flock64): New type.
34406 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34407
f0bd3e25
RM
34408 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34409 * bits/dirent.h: ... here.
34410
d34689de
RM
34411 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34412 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34413
6dad2c06
JM
344142012-08-07 Joseph Myers <joseph@codesourcery.com>
34415
34416 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34417 Change from 2.6.0 to 2.6.16.
34418 * sysdeps/unix/sysv/linux/configure: Regenerated.
34419 * sysdeps/unix/sysv/linux/kernel-features.h
34420 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34421 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34422 version.
34423 (__ASSUME_UTIMES): Likewise.
34424 (__ASSUME_CLONE_STOPPED): Remove.
34425 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34426 architectures, not kernel version.
34427 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34428 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34429 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34430 (__ASSUME_WAITID_SYSCALL): Likewise.
34431 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34432 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34433 * README: State 2.6.16 as minimum Linux kernel version. Do not
34434 refer to older versions.
34435
03af9520
RM
344362012-08-06 Roland McGrath <roland@hack.frob.com>
34437
8e49df1d
RM
34438 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34439 Define alphasort64 as an alias.
34440 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34441 Define versionsort64 as an alias.
34442 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34443 Define scandir64 as an alias.
34444 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34445 Define scandirat64 as an alias.
34446 * dirent/alphasort64.c (alphasort64):
34447 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34448 * dirent/versionsort64.c: Likewise.
34449 * dirent/scandir64.c: Likewise.
34450 * dirent/scandirat64.c: Likewise.
34451 * sysdeps/wordsize-64/alphasort.c: File removed.
34452 * sysdeps/wordsize-64/alphasort64.c: File removed.
34453 * sysdeps/wordsize-64/scandir.c: File removed.
34454 * sysdeps/wordsize-64/scandir64.c: File removed.
34455 * sysdeps/wordsize-64/scandirat.c: File removed.
34456 * sysdeps/wordsize-64/scandirat64.c: File removed.
34457 * sysdeps/wordsize-64/versionsort.c: File removed.
34458 * sysdeps/wordsize-64/versionsort64.c: File removed.
34459 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34460 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34461 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34462 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34463 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34464 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34465 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34466 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34467
34468 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34469 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34470 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34471 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34472 [defined __arch64__ || defined __sparcv9]
34473 (__INO_T_MATCHES_INO64_T): New macro.
34474 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34475 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34476 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34477 * sysdeps/unix/sysv/linux/bits/dirent.h
34478 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34479 (_DIRENT_MATCHES_DIRENT64): New macro.
34480
03af9520
RM
34481 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34482 Define lockf64 as an alias.
34483 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34484 Define fseeko64 as an alias.
34485 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34486 Define ftello64 as an alias.
34487 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34488 Define _IO_fgetpos64 and fgetpos64 as aliases.
34489 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34490 Define _IO_fsetpos64 and fsetpos64 as aliases.
34491 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34492 Conditionalize body on this.
34493 * libio/fseeko64.c: Likewise.
34494 * libio/ftello64.c: Likewise.
34495 * libio/iofgetpos64.c: Likewise.
34496 * libio/iofsetpos64.c: Likewise.
34497 * sysdeps/wordsize-64/lockf.c: File removed.
34498 * sysdeps/wordsize-64/lockf64.c: File removed.
34499 * sysdeps/wordsize-64/fseeko.c: File removed.
34500 * sysdeps/wordsize-64/fseeko64.c: File removed.
34501 * sysdeps/wordsize-64/ftello.c: File removed.
34502 * sysdeps/wordsize-64/ftello64.c: File removed.
34503 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34504 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34505 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34506 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34507 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34508 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34509 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34510 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34511 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34512 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34513 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34514 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34515 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34516 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34517
34518 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34519 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34520 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34521 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34522 [defined __arch64__ || defined __sparcv9]
34523 (__OFF_T_MATCHES_OFF64_T): New macro.
34524 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34525 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34527 (__OFF_T_MATCHES_OFF64_T): New macro.
34528
c5757acd
L
345292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34530
34531 * stdlib/secure-getenv.c (__secure_getenv): Replace
34532 GLIBC_2_16 with GLIBC_2_17.
34533
3a31811e
L
345342012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34535
34536 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34537 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34538
faa2bccb
DM
345392012-08-03 David S. Miller <davem@davemloft.net>
34540
34541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34542
85fe1997
JM
345432012-08-03 Joseph Myers <joseph@codesourcery.com>
34544
34545 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34546 Remove.
34547 (__ASSUME_CORRECT_SI_PID): Likewise.
34548 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34549 (__ASSUME_TMPFS_NAME): Likewise.
34550 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34551 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34552 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34553 (HAVE_AUX_SECURE): Make definition unconditional.
34554 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34555 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34556
4f75b7a0
RM
345572012-08-03 Roland McGrath <roland@hack.frob.com>
34558
34559 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34560 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34561 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34562 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34563 __eloop_threshold instead of SYMLOOP_MAX.
34564
34565 * sysdeps/generic/eloop-threshold.h: New file.
34566 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34567 of MAXSYMLINKS.
34568 * elf/chroot_canon.c (chroot_canon): Likewise.
34569
7aab07e4
JM
345702012-08-03 Joseph Myers <joseph@codesourcery.com>
34571
34572 [BZ #13717]
34573 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34574 Change to 2.6.0 everywhere.
34575 * sysdeps/unix/sysv/linux/configure: Regenerated.
34576 * sysdeps/unix/sysv/linux/kernel-features.h
34577 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34578 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34579 kernel versions.
34580 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34581 (__ASSUME_FUTEX_REQUEUE): Remove.
34582 (__ASSUME_STATFS64): Define unconditionally.
34583 (__ASSUME_AT_SECURE): Likewise.
34584 (__ASSUME_CORRECT_SI_PID): Likewise.
34585 (__ASSUME_TGKILL): Define without depending on kernel version for
34586 i386.
34587 (__ASSUME_UTIMES): Likewise.
34588 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34589 kernel version.
34590 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34591 (__ASSUME_TMPFS_NAME): Likewise.
34592 * README: Update reference to Linux kernel versions.
34593
b67e9372
MP
345942012-08-02 Marek Polacek <polacek@redhat.com>
34595
1f529f7d 34596 [BZ# 14150]
b67e9372
MP
34597 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34598 libc_cv_asm_type_prefix with %.
34599 * configure: Regenerated.
d2441631
RM
34600 * include/libc-symbols.h: Remove comment about
34601 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34602 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34603 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34604 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34605 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34606 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34607 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34608 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34609 * elf/tst-unique2mod1.c: Likewise.
34610 * elf/tst-unique1mod2.c: Likewise.
34611 * elf/tst-unique1mod1.c: Likewise.
34612 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34613 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34614 Replace ASM_TYPE_DIRECTIVE with .type.
34615 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34616 * sysdeps/i386/sysdep.h: Likewise.
34617 * sysdeps/x86_64/sysdep.h: Likewise.
34618 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34620 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34621 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34622 * sysdeps/powerpc/powerpc32/sysdep.h:
34623 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34624 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34625 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34626 * sysdeps/i386/fpu/e_powf.S: Likewise.
34627 * sysdeps/i386/fpu/e_expl.S: Likewise.
34628 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34629 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34630 * sysdeps/i386/fpu/e_pow.S: Likewise.
34631 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34632 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34633 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34634 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34635 * sysdeps/i386/fpu/e_log2.S: Likewise.
34636 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34637 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34638 * sysdeps/i386/fpu/e_powl.S: Likewise.
34639 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34640 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34641 * sysdeps/i386/fpu/e_logl.S: Likewise.
34642 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34643 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34644 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34645 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34646 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34647 * sysdeps/i386/fpu/e_log.S: Likewise.
34648 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34649 * sysdeps/i386/fpu/e_logf.S: Likewise.
34650 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34651 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34652 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34653 * sysdeps/i386/fpu/e_log10.S: Likewise.
34654 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34655 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34656 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34657 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34658 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34659 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34660 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34661 * sysdeps/i386/i686/strtok.S: Likewise.
34662 * sysdeps/i386/i386-mcount.S: Likewise.
34663 * sysdeps/i386/strtok.S: Likewise.
34664 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34665 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34666 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34667 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34668 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34669 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34670 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34671 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34672 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34673 * sysdeps/x86_64/_mcount.S: Likewise.
34674 * sysdeps/x86_64/strtok.S: Likewise.
34675 * sysdeps/sh/_mcount.S: Likewise.
34676
2747bf9a
RM
346772012-08-01 Roland McGrath <roland@hack.frob.com>
34678
34679 * libio/iofopen.c: Include <fcntl.h>.
34680 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34681 (_IO_fopen64, fopen64): Define as aliases.
34682 * libio/iofopen64.c: Include <fcntl.h>.
34683 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34684 Conditionalize body on this.
34685 * sysdeps/wordsize-64/iofopen.c: File removed.
34686 * sysdeps/wordsize-64/iofopen64.c: File removed.
34687
3fb791b8
MP
346882012-08-01 Marek Polacek <polacek@redhat.com>
34689
34690 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34691 Use dlfcn directly instead of a variable.
34692 (binfmt-subdir): Do not define.
34693 (dlfcn): Likewise.
34694
a9f1039f
JM
346952012-08-01 Joseph Myers <joseph@codesourcery.com>
34696
23bddc06
JM
34697 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34698 Remove all definitions.
34699 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34700 <kernel-features.h>.
34701 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34702 (miss_F_GETOWN_EX): Remove all definitions.
34703 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34704 macro definition.
34705 [!__ASSUME_FCNTL64]: Remove conditional code.
34706 [__ASSUME_FCNTL64]: Make code unconditional.
34707 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34708 <kernel-features.h>.
34709 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34710 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34711 (lockf64) [__NR_fcntl64]: Make code unconditional.
34712 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34713
a9f1039f
JM
34714 * sysdeps/unix/sysv/linux/kernel-features.h
34715 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34716 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34717 Make code unconditional.
34718 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34719 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34721 [__NR_vfork]: Make code unconditional.
34722 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34723 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34725 [__NR_vfork]: Make code unconditional.
34726 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34727 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34728
09c0ee5f
RM
347292012-08-01 Roland McGrath <roland@hack.frob.com>
34730
48aec5b9
RM
34731 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34732 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34733
cd97c966
RM
34734 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34735 Define mkstemp64 as an alias.
3f55550c
RM
34736 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34737 Define mkstemps64 as an alias.
cd97c966
RM
34738 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34739 Define mkostemp64 as an alias.
b8625cfc
RM
34740 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34741 Define mkostemps64 as an alias.
cd97c966
RM
34742 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34743 Conditionalize body on this.
34744 * misc/mkostemp64.c: Likewise.
b8625cfc 34745 * misc/mkostemps64.c: Likewise.
3f55550c 34746 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34747 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34748 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34749 * sysdeps/wordsize-64/mkostemp.c: File removed.
34750 * sysdeps/wordsize-64/mkstemp.c: File removed.
34751 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34752 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34753 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34754 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34755
09c0ee5f
RM
34756 [BZ #14138]
34757 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34758 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34759 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34760 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34761
34762 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34763 compat_symbol macros from <shlib-compat.h> rather than the underlying
34764 default_symbol_version and symbol_version macros, so that DEFAULT
34765 lines in shlib-versions are respected.
34766 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34767
7e66ee51
FW
347682012-08-01 Florian Weimer <fweimer@redhat.com>
34769
34770 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34771 Declare with warn_unused_result.
34772 (setgid, setregid, setegid, setresgid): Likewise.
34773 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34774 Likewise.
34775 * WUR-REPORT: Remove set*id functions.
34776
d2a54255
PT
347772012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34778
34779 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34780
7ecdb005
RM
347812012-07-31 Roland McGrath <roland@hack.frob.com>
34782
b4180a5e 34783 [BZ #10191]
789bd351
RM
34784 * include/sys/socket.h (__libc_accept, __libc_accept4):
34785 Add attribute_hidden.
34786 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34787
40ce302d
RM
34788 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34789 use of PTR_MANGLE.
34790 * inet/getnetgrent_r.c (setup): Likewise.
34791
7ecdb005
RM
34792 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34793
e2eabb2c
DM
347942012-07-31 David S. Miller <davem@davemloft.net>
34795
34796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34797
d0419dbf
JM
347982012-07-31 Joseph Myers <joseph@codesourcery.com>
34799
34800 [BZ #13629]
34801 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34802 value between 1.0 and 2.0 and smaller part has absolute value less
34803 than 1.0.
34804 * math/s_clog10.c (__clog10): Likewise.
34805 * math/s_clog10f.c (__clog10f): Likewise.
34806 * math/s_clog10l.c (__clog10l): Likewise.
34807 * math/s_clogf.c (__clogf): Likewise.
34808 * math/s_clogl.c (__clogl): Likewise.
34809 * math/libm-test.inc (clog_test): Add more tests.
34810 (clog10_test): Likewise.
34811 * sysdeps/i386/fpu/libm-test-ulps: Update.
34812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34813
2bc13872
FW
348142012-07-31 Florian Weimer <fweimer@redhat.com>
34815
34816 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34817 Exit with zero in case no suitable GID is found, and write a
34818 message to standard error.
34819
bea9b193
RM
348202012-07-30 Roland McGrath <roland@hack.frob.com>
34821
34822 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34823 rather than to 1.
34824 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34825 (MAXPATHLEN): Removed.
34826 (NOGROUP, NODEV): New macros.
34827 (setbit, clrbit, isset, isclr): New macros.
34828 (howmany, roundup, powerof2): New macros.
34829 (DEV_BSIZE): New macro.
34830
34831 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34832 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34833
34834 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34835 definition on [!__NO_LONG_DOUBLE_MATH].
34836
34837 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34838 PTR_MANGLE and PTR_DEMANGLE.
34839
34840 * socket/accept4.c (accept4): Rename to __libc_accept4.
34841 Define accept4 as a weak alias.
34842
34843 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34844 on [_DIRENT_HAVE_D_TYPE].
34845 * io/ftw.c (ftw_dir): Likewise.
34846
34847 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34848
34849 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34850
34851 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34852 Use the BSD numbers rather than the arbitrary ones we had.
34853 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34854 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34855 (SIGXCPU, SIGXFSZ): New macros.
34856 (_NSIG): Now 32.
34857
34858 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34859 initializer on [_LIBC_REENTRANT].
34860
34861 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34862 definitions inside [_POSIX_MAPPED_FILES].
34863
34864 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34865
34866 * dirent/opendir.c: Include <fcntl.h>.
34867
34868 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34869 (__libc_getspecific): Likewise.
34870 (__libc_key_create): Likewise.
34871
34872 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34873 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34874 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34875 (tmpfile64): Define as alias.
34876 * sysdeps/wordsize-64/tmpfile.c: File removed.
34877 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34878 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34879 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34880
34881 * stdio-common/vfscanf.c: Include <stdbool.h>.
34882 * nss/makedb.c: Likewise.
34883 * stdio-common/_i18n_number.h: Likewise.
34884 * argp/argp-help.c: Likewise.
34885 * posix/wordexp.c: Likewise.
34886 * sysdeps/posix/spawni.c: Likewise.
34887 * nss/nss_files/files-initgroups.c: Likewise.
34888 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34889 * nss/nss_files/files-initgroups.c: Likewise.
34890 * nss/nss_db/db-netgrp.c: Likewise.
34891 * nss/nss_db/db-initgroups.c: Likewise.
34892 * io/fchmodat.c: Include <sys/stat.h>.
34893
34894 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34895 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34896
34897 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34898 [HAVE_MMAP].
34899
34900 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34901 Add multiple inclusion protection.
34902
e5abc686
DM
349032012-07-27 David S. Miller <davem@davemloft.net>
34904
34905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34906
815e6fa3
GB
349072012-07-27 Gary Benson <gbenson@redhat.com>
34908
34909 [BZ #14298]
34910 * elf/rtld.c: Include <stap-probe.h>.
34911 (dl_main): Added static probes "init_start" and "init_complete".
34912 * elf/dl-load.c: Include <stap-probe.h>.
34913 (lose): Take new parameter "nsid".
34914 Added static probe "map_failed".
34915 (_dl_map_object_from_fd): Pass namespace id to lose.
34916 Added static probe "map_start".
34917 (open_verify): Pass namespace id to lose.
34918 * elf/dl-open.c: Include <stap-probe.h>.
34919 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34920 and "reloc_complete".
34921 * elf/dl-close.c: Include <stap-probe.h>.
34922 (_dl_close_worker): Added static probes "unmap_start" and
34923 "unmap_complete".
34924 * elf/rtld-debugger-interface.txt: New file documenting the above.
34925
9f98c16c
RM
349262012-07-26 Roland McGrath <roland@hack.frob.com>
34927
34928 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34929 rather than a string variable.
34930 * sunrpc/rpc_main.c (h_output): Likewise.
34931 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34932
f3c22df3
PT
349332012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34934
34935 * inet/check_native.c: New file.
34936
3129cfc6
JM
349372012-07-26 Joseph Myers <joseph@codesourcery.com>
34938
da865e95
JM
34939 [BZ #13629]
34940 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34941 if larger part has absolute value 1.0.
34942 * math/s_clog10.c (__clog10): Likewise.
34943 * math/s_clog10f.c (__clog10f): Likewise.
34944 * math/s_clog10l.c (__clog10l): Likewise.
34945 * math/s_clogf.c (__clogf): Likewise.
34946 * math/s_clogl.c (__clogl): Likewise.
34947 * math/libm-test.inc (clog_test): Add more tests.
34948 (clog10_test): Likewise.
34949 * sysdeps/i386/fpu/libm-test-ulps: Update.
34950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34951
3129cfc6
JM
34952 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34953 (pltexit): Likewise.
34954 (La_regs): Likewise.
34955 (La_retval): Likewise.
34956 (int_retval): Likewise.
34957 Update #error for removed macros to refer only to definitions in
34958 tst-audit.h.
34959 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34960 macro.
34961 (pltexit): Likewise.
34962 (La_regs): Likewise.
34963 (La_retval): Likewise.
34964 (int_retval): Likewise.
34965 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34966 macro.
34967 (pltexit): Likewise.
34968 (La_regs): Likewise.
34969 (La_retval): Likewise.
34970 (int_retval): Likewise.
34971 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34972 macro.
34973 (pltexit): Likewise.
34974 (La_regs): Likewise.
34975 (La_retval): Likewise.
34976 (int_retval): Likewise.
34977 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34978 macro.
34979 (pltexit): Likewise.
34980 (La_regs): Likewise.
34981 (La_retval): Likewise.
34982 (int_retval): Likewise.
34983 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34984 macro.
34985 (pltexit): Likewise.
34986 (La_regs): Likewise.
34987 (La_retval): Likewise.
34988 (int_retval): Likewise.
34989 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34990 macro.
34991 (pltexit): Likewise.
34992 (La_regs): Likewise.
34993 (La_retval): Likewise.
34994 (int_retval): Likewise.
34995 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34996 macro definitions in tst-audit.h.
34997 * sysdeps/i386/tst-audit.h: New file.
34998 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34999 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35000 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35001 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35002 * sysdeps/sh/tst-audit.h: Likewise.
35003 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35004 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35005 * sysdeps/x86_64/tst-audit.h: Likewise.
35006
bfc07087
AJ
350072012-07-26 Andreas Jaeger <aj@suse.de>
35008
b1b2aaf8
AJ
35009 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35010 ptrace.
35011
35012 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35013 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35014 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35015 PTRACE_O_MASK.
35016 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35017 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35018 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35019
bfc07087
AJ
35020 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35021 value.
35022
35023 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35024 _sigsys.
35025 (si_call_addr, si_syscall, si_arch): Define new macro.
35026 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35027 _sigsys.
35028 (si_call_addr, si_syscall, si_arch): Define new marcro.
35029 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35030 _sigsys.
35031 (si_call_addr, si_syscall, si_arch): Define new macro.
35032 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35033 _sigsys.
35034 (si_call_addr, si_syscall, si_arch): Define new macro.
35035
89b4b02f
JM
350362012-07-25 Joseph Myers <joseph@codesourcery.com>
35037
35038 [BZ #13717]
35039 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35040 Change to 2.4.21 where previously 2.4.1.
35041 * sysdeps/unix/sysv/linux/configure: Regenerated.
35042 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35043 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35044 Linux kernel version.
35045 (__ASSUME_STD_AUXV): Remove.
35046 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35047 kernel version.
35048 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35049 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35050 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35051 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35052 (__ASSUME_NETLINK_SUPPORT): Likewise.
35053 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35054 (__no_netlink_support): Remove conditional definition.
35055 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35056 Remove.
35057 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35058 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35059 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35060 (if_nameindex_ioctl): Remove.
35061 (if_nameindex_netlink): Do not handle __no_netlink_support.
35062 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35063 code.
35064 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35065 Remove conditional code.
35066 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35067 code.
35068 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35069 unconditional.
35070 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35071 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35072 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35073 Remove.
35074 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35075 [!__ASSUME_STD_AUXV]: Remove conditional code.
35076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35077 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35078 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35080 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35081 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35082 code.
35083 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35085 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35086 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35087 conditional code.
35088 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35090 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35091 code.
35092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35093 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35094 conditional code.
35095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35096 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35097 code unconditional.
35098 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35099 conditional code.
35100 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35101 unconditional.
35102 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35103 conditional code.
35104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35105 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35106 unconditional.
35107 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35108 conditional code.
35109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35110 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35111 code unconditional.
35112 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35113 conditional code.
35114 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35115 unconditional.
35116 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35117 conditional code.
35118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35119 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35120 code unconditional.
35121 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35122 conditional code.
35123 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35124 unconditional.
35125 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35126 conditional code.
35127
842a39cd
AS
351282012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35129
35130 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35131 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35132 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35133 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35134 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35135 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35136 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35137 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35138 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35139 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35140 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35141 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35142 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35143 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35144 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35145 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35146 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35147 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35148 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35150 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35151 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35152 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35153
84b3fd84
FW
351542012-07-25 Florian Weimer <fweimer@redhat.com>
35155
35156 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
35157 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35158 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35159 Introduce __libc_secure_getenv.
0c7936d5
FW
35160 * stdlib/Versions (2.17): Add secure_getenv
35161 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35162 * stdlib/secure-getenv.c: Rename __secure_getenv to
35163 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35164 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
35165 * stdlib/tst-secure-getenv.c: New.
35166 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
35167 * manual/startup.texi (Environment Access): Document
35168 secure_getenv.
84b3fd84
FW
35169 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35170 __libc_secure_getenv.
35171 * inet/ruserpass.c (ruserpass): Likewise.
35172 * malloc/mtrace.c (mtrace): Likewise.
35173 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 35174 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
35175 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35176 * sysdeps/posix/tempname.c: Likewise. Evaluate
35177 HAVE_SECURE_GETENV.
35178 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 35179 __secure_getenv to __libc_secure_getenv.
84b3fd84 35180 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
35181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35182 Likewise.
35183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35184 Likewise.
35185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35187 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 35192
56e49b71
JM
351932012-07-25 Joseph Myers <joseph@codesourcery.com>
35194
35195 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35196 (struct La_i86_retval): Likewise.
35197 (struct La_x86_64_regs): Likewise.
35198 (struct La_x86_64_retval): Likewise.
35199 (struct La_x32_regs): Likewise.
35200 (struct La_x32_retval): Likewise.
35201 (struct La_ppc32_regs): Likewise.
35202 (struct La_ppc32_retval): Likewise.
35203 (struct La_ppc64_regs): Likewise.
35204 (struct La_ppc64_retval): Likewise.
35205 (struct La_sh_regs): Likewise.
35206 (struct La_sh_retval): Likewise.
35207 (struct La_s390_32_regs): Likewise.
35208 (struct La_s390_32_retval): Likewise.
35209 (struct La_s390_64_regs): Likewise.
35210 (struct La_s390_64_retval): Likewise.
35211 (struct La_sparc32_regs): Likewise.
35212 (struct La_sparc32_retval): Likewise.
35213 (struct La_sparc64_regs): Likewise.
35214 (struct La_sparc64_retval): Likewise.
35215 (struct audit_ifaces): Remove architecture-specific pltenter and
35216 pltexit members.
35217 * sysdeps/i386/ldsodefs.h: New file.
35218 * sysdeps/powerpc/ldsodefs.h: Likewise.
35219 * sysdeps/s390/ldsodefs.h: Likewise.
35220 * sysdeps/sh/ldsodefs.h: Likewise.
35221 * sysdeps/sparc/ldsodefs.h: Likewise.
35222 * sysdeps/x86_64/ldsodefs.h: Likewise.
35223
354691b7
MP
352242012-07-25 Marek Polacek <polacek@redhat.com>
35225
35226 [BZ #6808]
35227 * math/libm-test.inc (yn_test): Add another test.
35228 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35229 to ERANGE when the result is +-Inf.
35230 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35231 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35232 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35233 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35234
bf9e2071
JM
352352012-07-24 Joseph Myers <joseph@codesourcery.com>
35236
35237 * conform/data/time.h-data (NULL): Use macro-constant. Require
35238 equal to 0.
35239 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35240 clock_t.
35241 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35242
57633811
TS
352432012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35244
35245 * configure.in <sysdeps resolving>: Correct printing
35246 Implies_before.
35247 * configure: Regenerate.
35248
c23c33b0
TS
352492012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35250
35251 * math/w_ilogb.c: Include <limits.h>.
35252 * math/w_ilogbl.c: Likewise.
35253
b5982523
JM
352542012-07-20 Joseph Myers <joseph@codesourcery.com>
35255
35256 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35257 va_copy. Document allowing for unavailable va_copy only as
35258 pre-C99 compatibility.
35259 * manual/string.texi (Copying and Concatenation): Use va_copy
35260 instead of __va_copy in concat example.
35261
ac4ea442
PT
352622012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35263
35264 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35265 (__sendto): Use create_address_port. Initialize APORT and deallocate
35266 it if not null.
35267
f98eafbd
PT
35268 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35269 with O_NOLINK passed to __file_name_lookup.
35270
898c7aab
PT
35271 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35272 with O_NOLINK passed to __file_name_lookup.
35273
0ced335a
PT
35274 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35275 negative N or less than NGIDS.
35276
b3404dbd
PT
35277 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35278 type to string_t. Set ERANGE as errno and return it if NAME is not big
35279 enough. Use memcpy instead of strncpy.
35280
0f48659e
JM
352812012-07-20 Joseph Myers <joseph@codesourcery.com>
35282
35283 * elf/Makefile (check-data): Remove.
35284 (localplt.data): New vpath directive.
35285 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35286 instead of $(check-data).
35287 * scripts/data/localplt-generic.data: Move to ...
35288 * sysdeps/generic/localplt.data: ... here.
35289 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35290 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35291 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35293 ... here.
35294 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35296 ... here.
35297 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35299 ... here.
35300 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35302 ... here.
35303 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35305 ... here.
35306 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35308 ... here.
35309
d37cbdaa
AZ
353102012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35311
35312 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35313 PPC32 and PPC64 files.
35314 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35315 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35316
46f85fc2
AK
353172012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35318
35319 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35320 __makecontext_ret to ...
35321 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35322 ... here and call exit if uc_link is NULL. New file.
35323 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35324 __makecontext_ret.S.
35325 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35326 __makecontext_ret to ...
35327 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35328 ... here and call exit if uc_link is NULL. New file.
35329 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35330 __makecontext_ret.S.
35331
08f43f9b
AK
353322012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35333
35334 * elf/elf.h (R_390_IRELATIVE): New definition.
35335 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35336 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35337 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35338 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35339 (elf_machine_lazy_rel): Likewise.
35340 * sysdeps/s390/dl-irel.h: New file.
35341 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35342 * sysdeps/s390/s390-64/memset.S: New asm code.
35343 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35344 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35345 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35346 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35347 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35348 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35349 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35350 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35351 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35352 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35353 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35354 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35355 * sysdeps/s390/s390-32/memset.S: New asm code.
35356 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35357
3b05db33
MP
353582012-07-17 Marek Polacek <polacek@redhat.com>
35359
35360 [BZ #14349]
35361 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35362 * sysdeps/s390/s390-64/configure.in: Likewise.
35363 * sysdeps/sparc/configure.in: Likewise.
35364 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35365 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35366 * sysdeps/i386/configure.in: Likewise.
35367 * sysdeps/x86_64/configure.in: Likewise.
35368 * sysdeps/sh/configure.in: Likewise.
35369 * sysdeps/s390/s390-32/configure: Regenerated.
35370 * sysdeps/s390/s390-64/configure: Likewise.
35371 * sysdeps/x86_64/configure: Likewise.
35372 * sysdeps/sh/configure: Likewise.
35373 * sysdeps/powerpc/powerpc64/configure: Likewise.
35374 * sysdeps/powerpc/powerpc32/configure: Likewise.
35375 * sysdeps/sparc/configure: Likwise.
35376 * sysdeps/i386/configure: Likewise.
35377
a66877c6
MP
35378 * elf/dl-open.c: Comment fixes.
35379
cfc82fd8
JM
353802012-07-17 Joseph Myers <joseph@codesourcery.com>
35381
bd29910a
JM
35382 * Makefile [CXX] (check-data): Remove.
35383 [CXX] (c++-types.data): New vpath directive.
35384 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35385 vpath. Do not allow for C++ type data being missing.
35386 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35387 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35388 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35389 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35390 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35391 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35392 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35394 ... here.
35395 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35397 ... here.
35398 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35400 ... here.
35401 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35403 ... here.
35404 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35406 ... here.
35407 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35409 ... here.
35410 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35412 ... here.
35413 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35415
cfc82fd8
JM
35416 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35417 definitions to architecture-specific files.
35418 (TLS_IE): Likewise.
35419 (TLS_LD): Likewise.
35420 (TLS_GD): Likewise.
35421 * sysdeps/i386/tls-macros.h: New file.
35422 * sysdeps/powerpc/tls-macros.h: Likewise.
35423 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35424 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35425 * sysdeps/sh/tls-macros.h: Likewise.
35426 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35427 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35428 * sysdeps/x86_64/tls-macros.h: Likewise.
35429
f7db3170
TS
354302012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35431
07cbfc23
TS
35432 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35433 zero value for regular exit case.
35434
f7db3170
TS
35435 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35436 (__start_context): Preserve zero value for regular exit case.
35437
dc97c227
TS
354382012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35439 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35440
35441 * manual/setjmp.texi (setcontext): Clarify normal process
35442 termination when uc_link is the null pointer.
35443 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35444 exit call.
35445
d0cd7d02
AS
354462012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35447
35448 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35449 preprocessor. Test for each exception mask separately.
35450
dd318934
AJ
354512012-07-16 Andreas Jaeger <aj@suse.de>
35452
35453 * po/ru.po: Update from translation team.
35454
8048311a
JM
354552012-07-15 Joseph Myers <joseph@codesourcery.com>
35456
35457 * conform/data/string.h-data (NULL): Use macro-constant. Require
35458 equal to 0.
35459 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35460 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35461 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35462 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35463 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35464
b637d46e
AJ
354652012-07-13 Andreas Jaeger <aj@suse.de>
35466
35467 * po/fr.po: Update from translation team.
35468
541428fe
MP
354692012-07-12 Marek Polacek <polacek@redhat.com>
35470
35471 [BZ #14173]
35472 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35473 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35474 loop condition.
35475
ec332e94
JM
354762012-07-12 Joseph Myers <joseph@codesourcery.com>
35477
35478 [BZ #13717]
35479 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35480 Change to 2.4.1 where previously 2.4.0.
35481 * sysdeps/unix/sysv/linux/configure: Regenerated.
35482 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35483 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35484 version.
35485 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35486 (__ASSUME_AT_CLKTCK): Remove.
35487 (__ASSUME_AT_PAGESIZE): Likewise.
35488 (__ASSUME_AT_XID): Likewise.
35489 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35490 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35491 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35492 unconditionally.
35493 (HAVE_AUX_PAGESIZE): Likewise.
35494 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35495 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35496 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35497
7b6e99be
JB
354982012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35499
35500 [BZ #14307]
35501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35502 the temporary buffer used to invoke __gethostbyname2_r,
35503 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35504 host_data / struct gaih_addrtuple.
35505 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35506 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35507 header file nss/nsswitch.h.
35508 * nss/nsswitch.h (global scope): Add definition of implementation
35509 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35510 resolv/nss_dns/dns-host.c).
35511
608404eb
AJ
355122012-07-11 Andreas Jaeger <aj@suse.de>
35513
35514 * po/fr.po: Update from translation team.
35515
71220aca
AJ
35516 * po/sv.po: Update from translation team
35517 * po/fr.po: Another update from translation team.
35518
28cfe843
AZ
355192012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35520
35521 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35522 for subnormals or multiply small sinh result by itself.
35523 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35525
6b90f981
DM
355262012-07-11 David S. Miller <davem@davemloft.net>
35527
35528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35529
c6825772
AS
355302012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35531
35532 [BZ #14347]
35533 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35534 (INTERNAL_MARK): Shift it here.
35535
7b8e0d49
MP
355362012-07-10 Marek Polacek <polacek@redhat.com>
35537
35538 [BZ #14151]
35539 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35540 libc_cv_asm_global_directive with .globl.
35541 * configure: Regenerated.
35542 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35543 with .globl.
35544 * sysdeps/i386/configure: Regenerated.
35545 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35546 with .globl.
35547 * sysdeps/x86_64/configure: Regenerated.
35548 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35549 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35550 * elf/tst-unique2mod2.c: Likewise.
35551 * elf/tst-unique2mod1.c: Likewise.
35552 * elf/tst-unique1mod2.c: Likewise.
35553 * elf/tst-unique1mod1.c: Likewise.
35554 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35555 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35556 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35557 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35558 * sysdeps/mach/sysdep.h: Likewise.
35559 * sysdeps/i386/sysdep.h: Likewise.
35560 * sysdeps/i386/i386-mcount.S: Likewise.
35561 * sysdeps/x86_64/_mcount.S: Likewise.
35562 * sysdeps/x86_64/sysdep.h: Likewise.
35563 * sysdeps/sh/_mcount.S: Likewise.
35564 * sysdeps/sh/sysdep.h: Likewise.
35565 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35566 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35567 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35568 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35569 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35570 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35571 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35572 * locale/localeinfo.h: Likewise.
35573 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35574 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35575
6c55cda3
RM
355762012-07-09 Roland McGrath <roland@hack.frob.com>
35577
35578 [BZ #14336]
35579 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35580 system".
35581 * manual/message.texi (The Uniforum approach): Likewise.
35582 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35583 (glibc iconv Implementation): Likewise.
35584
638a572e
JM
355852012-07-09 Joseph Myers <joseph@codesourcery.com>
35586
35587 [BZ #14337]
35588 * math/s_clog.c (__clog): Avoid scaling a value down where that
35589 could result in underflow.
35590 * math/s_clog10.c (__clog10): Likewise.
35591 * math/s_clog10f.c (__clog10f): Likewise.
35592 * math/s_clog10l.c (__clog10l): Likewise.
35593 * math/s_clogf.c (__clogf): Likewise.
35594 * math/s_clogl.c (__clogl): Likewise.
35595 * math/libm-test.inc (clog_test): Add more tests.
35596 (clog10_test): Likewise.
35597 * sysdeps/i386/fpu/libm-test-ulps: Update.
35598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35599
261f4859
AS
356002012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35601
0abaf3e4
AS
35602 [BZ #14283]
35603 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35604 by 7 not 8 to examine high bit of fractional part.
35605
261f4859
AS
35606 [BZ #14042]
35607 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35608 for call to __mcount_internal.
35609 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35610 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35611 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35612
f17ac40d
JM
356132012-07-06 Joseph Myers <joseph@codesourcery.com>
35614
9ad63c23
JM
35615 [BZ #14154]
35616 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35617 approximation for values within 0x1p-13f of an odd multiple of
35618 pi/4.
35619 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35620 exception. Add more tests.
35621 * sysdeps/i386/fpu/libm-test-ulps: Update.
35622
f17ac40d
JM
35623 [BZ #6778]
35624 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35625 inputs and return -1 for them. Do not check for +Inf in case not
35626 reachable for +Inf.
35627 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35628 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35629 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35630 and return -1 for them. Do not check for +Inf in case not
35631 reachable for +Inf.
35632 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35633 define.
35634 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35635 and return -1 for them. Do not check for +Inf in case not
35636 reachable for +Inf.
35637 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35638 spurious underflow.
35639 * sysdeps/i386/fpu/libm-test-ulps: Update.
35640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35641
fb21f89b
MF
356422012-07-06 Mike Frysinger <vapier@gentoo.org>
35643
35644 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35645
cdfe2c5e
JM
356462012-07-05 Joseph Myers <joseph@codesourcery.com>
35647
35648 [BZ #14157]
35649 [BZ #14331]
35650 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35651 could result in spurious underflow. Scale down values above
35652 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35653 * math/s_csqrtf.c (__csqrtf): Likewise.
35654 * math/s_csqrtl.c (__csqrtl): Likewise.
35655 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35656 spurious underflow.
35657 * sysdeps/i386/fpu/libm-test-ulps: Update.
35658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35659
70d35b67
AS
356602012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35661
704bc459
AS
35662 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35663 xopen-msg.sed.
35664 * catgets/xopen-msg.awk: New file.
35665 * catgets/xopen-msg.sed: Removed.
35666
70d35b67
AS
35667 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35668 po2text.sed.
35669 * intl/po2test.awk: New file.
35670 * intl/po2test.sed: Removed.
35671
ca61cf32
JM
356722012-07-04 Joseph Myers <joseph@codesourcery.com>
35673
35674 [BZ #14328]
35675 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35676 or multiply small sinh result by itself.
35677 * math/s_ctanf.c (__ctanf): Likewise.
35678 * math/s_ctanh.c (__ctanh): Likewise.
35679 * math/s_ctanhf.c (__ctanhf): Likewise.
35680 * math/s_ctanhl.c (__ctanhl): Likewise.
35681 * math/s_ctanl.c (__ctanl): Likewise.
35682 * math/libm-test.inc (ctan_test_tonearest): New function.
35683 (ctan_test_towardzero): Likewise.
35684 (ctan_test_downward): Likewise.
35685 (ctan_test_upward): Likewise.
35686 (ctanh_test_tonearest): Likewise.
35687 (ctanh_test_towardzero): Likewise.
35688 (ctanh_test_downward): Likewise.
35689 (ctanh_test_upward): Likewise.
35690 (main): Call these new functions.
35691 * sysdeps/i386/fpu/libm-test-ulps: Update.
35692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35693
ca48a46a
MF
356942012-07-03 Mike Frysinger <vapier@gentoo.org>
35695
35696 * .gitignore: Delete /ports entry.
35697
9d63d37d
AJ
356982012-07-03 Andreas Jaeger <aj@suse.de>
35699
35700 * po/bg.po: Update from translation team.
35701 * po/cs.po: Likewise.
35702 * po/de.po: Likewise.
35703 * po/hr.po: Likewise.
35704 * po/nl.pl: Likewise.
35705 * po/pl.po: Likewise.
35706 * po/vi.po: Likewise.
35707
370ca3d2
JM
357082012-07-03 Joseph Myers <joseph@codesourcery.com>
35709
95f5a9a8
JM
35710 * Makeconfig [!+link] (+link-before-libc): New variable.
35711 [!+link] (+link-after-libc): Likewise.
35712 [!+link] (+link-tests): Likewise.
35713 [!+link] (+link): Define in terms of $(+link-before-libc) and
35714 $(+link-after-libc).
35715 [!+link-static] (+link-static-before-libc): New variable.
35716 [!+link-static] (+link-static-after-libc): Likewise.
35717 [!+link-static] (+link-static-tests): Likewise.
35718 [!+link-static] (+link-static): Define in terms of
35719 $(+link-static-before-libc) and $(+link-static-after-libc).
35720 [build-shared] (link-libc-before-gnulib): New variable.
35721 [build-shared] (link-libc-tests): Likewise.
35722 [build-shared] (link-libc): Define in terms of
35723 $(link-libc-before-gnulib).
35724 [!build-shared] (link-libc-tests): New variable.
35725 (link-libc-static-tests): New variable.
35726 [!gnulib] (gnulib-arch): New variable.
35727 [!gnulib] (gnulib-tests): Likewise.
35728 [!gnulib] (static-gnulib-arch): Likewise.
35729 [!gnulib] (static-gnulib-tests): Likewise.
35730 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35731 Define with "=" instead of ":=".
35732 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35733 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35734 * Rules (binaries-all-notests): New variable.
35735 (binaries-all-tests): Likewise.
35736 (binaries-static-notests): Likewise.
35737 (binaries-static-tests): Likewise.
35738 (binaries-all): Define using $(binaries-all-notests) and
35739 $(binaries-all-tests).
35740 (binaries-static): Define using $(binaries-static-notests) and
35741 $(binaries-static-tests).
35742 (binaries-shared-tests): New variable.
35743 (binaries-shared-notests): Likewise.
35744 (binaries-shared): Remove variable.
35745 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35746 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35747 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35748 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35749 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35750 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35751 * elf/Makefile (sln-modules): New variable.
35752 (extra-objs): Add $(sln-modules:=.o).
35753 (ldconfig-modules): Add static-stubs.
35754 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35755 * elf/static-stubs.c: New file.
35756
7a845b2c
JM
35757 [BZ #14283]
35758 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35759 by 7 not 8 to examine high bit of fractional part. Use volatile
35760 variables when splitting into final array of floats if
35761 __FLT_EVAL_METHOD__ != 0.
35762 * math/libm-test.inc (cos_test): Add another test.
35763 (sin_test): Likewise.
35764 * sysdeps/i386/fpu/libm-test-ulps: Update.
35765
e2283f38
JM
35766 [BZ #14273]
35767 * math/libm-test.inc (cosh_test): Add more tests.
35768
370ca3d2
JM
35769 * version.h (RELEASE): Set to "development".
35770 (VERSION): Set to "2.16.90".
35771
ee9247c3
CD
357722012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35773
35774 * NEWS: Update copyright. Remove last-updated date.
35775 Mention math library bug fixes and timezone data changes.
35776 * README: Mention GNU/Hurd, x32, and HPPA support status.
35777
4648c381
TS
357782012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35779
35780 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35781
aac78a43
AJ
357822012-06-27 Andreas Jaeger <aj@suse.de>
35783
35784 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35785
ed3dbfad
AJ
357862012-06-25 Andreas Jaeger <aj@suse.de>
35787
35788 * sysdeps/s390/fpu/libm-test-ulps: Update.
35789
4d0ee855
AS
357902012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35791 Thomas Schwinge <thomas@codesourcery.com>
35792
35793 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35794 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35795 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35796 fanotify_mark.
35797
af1bce34
TS
357982012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35799
a9fa33ba
TS
35800 * sysdeps/mach/start.c: Remove file.
35801 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35802 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35803 * sysdeps/sh/init-first.c: Likewise.
35804
58f902b8
TS
35805 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35806 registers for frame unwinding purposes, add CFI directives.
35807 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35808 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35809 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35810 Likewise.
35811
1518f58b
TS
35812 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35813 __fortify_fail returning.
35814 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35815
db9b5059
TS
35816 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35817 sysdeps/sh/____longjmp_chk.S.
35818 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35819 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35820 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35821 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35822
967705fe
TS
35823 * sysdeps/sh/abort-instr.h: New file.
35824 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35825 process in case exit returns.
35826
a9def8c4
TS
35827 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35828 initialize the GOT register before use.
35829
2a649725
TS
35830 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35831 calculation of ARGC > 4.
35832
af1bce34
TS
35833 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35834 meaningful names to some local labels.
35835
d230f50a
KK
358362012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35837 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35838
35839 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35840 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35841 (__arch_compare_and_exchange_val_16_acq): Likewise.
35842 (__arch_compare_and_exchange_val_32_acq): Likewise.
35843 (atomic_exchange_and_add): Fix gUSA sequence.
35844 (atomic_add): Likewise.
35845 (atomic_add_negative): Likewise.
35846 (atomic_add_zero): Likewise.
35847 (atomic_bit_test_set): Likewise.
35848
0479b305
AS
358492012-06-22 Andreas Schwab <schwab@redhat.com>
35850
35851 [BZ #13579]
35852 * include/link.h (struct link_map): Add l_free_initfini.
35853 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35854 l_initfini.
35855 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35856 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35857 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35858 set.
35859
0e3933b9
CD
358602012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35861
35862 * configure.in: Use AC_LANG_SOURCE.
35863 * configure: Regenerate.
35864
4248b1b1
RM
358652012-06-22 Roland McGrath <roland@hack.frob.com>
35866
35867 * configure.in (libc_cv_localstatedir): New substituted variable.
35868 * configure: Regenerated.
35869 * config.make.in (localstatedir): New variable, substituted from
35870 libc_cv_localstatedir.
35871 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35872 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35873 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35874 * sysdeps/gnu/configure: Regenerated.
35875
006dd861
JL
358762012-06-21 Jeff Law <law@redhat.com>
35877
35878 [BZ #14277]
35879 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35880 free. Simplify list management for _LIBC case.
35881
79662d42
JM
358822012-06-21 Joseph Myers <joseph@codesourcery.com>
35883
b7abb4bf
JM
35884 [BZ #14273]
35885 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35886 Clear sign bit of 64-bit integer value before comparing against
35887 overflow value.
35888
79662d42
JM
35889 * sysdeps/mach/configure: Regenerated.
35890
1f150908
L
358912012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35892
35893 [BZ #14278]
35894 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35895
28363bbf
JL
358962012-06-21 Jeff Law <law@redhat.com>
35897
35898 [BZ #13882]
35899 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35900 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 35901 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
35902 * elf/dl-open.c (dl_open_worker): Likewise.
35903
09615db4
CD
359042012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35905
35906 * scripts/list-sources.sh: Scan PORTS for translations.
35907 * po/libc.pot: Regenerated.
35908
2174c6dd
AJ
359092012-06-21 Andreas Jaeger <aj@suse.de>
35910
35911 [BZ #12194]
35912 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35913 warning.
35914 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35915 * bits/byteswap-16.h (__bswap_16): Likewise.
35916 * bits/byteswap.h (__bswap_constant_16): Likewise.
35917
3ee947b1
L
359182012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35919
35920 [BZ #14117]
a2f34833
L
35921 * sysdeps/i386/fpu_control.h: Removed.
35922 * sysdeps/x86_64/fpu_control.h: Moved to ...
35923 * sysdeps/x86/fpu_control.h: Here.
35924
3ee947b1
L
35925 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35926 (_FPU_SETCW): Likewise.
35927
ed1825f8
L
359282012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35929
25f1282a
L
35930 [BZ #14117]
35931 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35932 * sysdeps/x86/fpu/bits/mathinline.h: This.
35933 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35934
ed1825f8
L
35935 [BZ #14050]
35936 [BZ #14117]
35937 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35938 functions if __x86_64__ is defined.
35939
36d54b74
CLT
359402012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35941
35942 * string/endian.h: Add !__ASSEMBLER__ condition for including
35943 conversion interfaces.
35944
10285c21
JM
359452012-06-15 Joseph Myers <joseph@codesourcery.com>
35946
35947 [BZ #14241]
35948 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35949 of ABS(x) in calculating zero to negative powers other than odd
35950 integers.
35951 * math/libm-test.inc (pow_test): Add more tests.
35952
06c5abbd
AJ
359532012-06-15 Andreas Jaeger <aj@suse.de>
35954
35955 * manual/contrib.texi (Contributors): Update entry of Liubov
35956 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35957 Machado Filho.
35958
a3aeac40
CH
359592012-06-15 Cyril Hrubis <metan@ucw.cz>
35960
35961 * string/string.h: Add __wur to GNU version of strerror_r.
35962
49bdf4c1
L
359632012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35964
35965 [BZ #14229]
35966 * string/Makefile (tests): Add tst-strtok_r.
35967 * string/tst-strtok_r.c: New file.
35968 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35969 RAX_LP/RDX_LP on SAVE_PTR.
35970
834f9b8d
RM
359712012-06-14 Roland McGrath <roland@hack.frob.com>
35972
35973 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35974
75fa1921
JM
359752012-06-14 Joseph Myers <joseph@codesourcery.com>
35976
35977 * libm_test.inc (csqrt_test): Allow more spurious underflow
35978 exceptions.
35979 (j0_test): Likewise.
35980 (j1_test): Likewise.
35981 (y0_test): Likewise.
35982 (y1_test): Likewise.
35983
771766df
CD
359842012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35985
35986 * po/Makefile (libc.pot): Use UTF-8 charset.
35987
ceb9e56b
PP
359882012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35989
35990 [BZ #14210]
35991 Suppress sign-conversion warning from FD_SET.
35992 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35993 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35994 not unsigned long int.
35995 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35996
ddb28975
L
359972012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35998
35999 [BZ #14050]
36000 [BZ #14117]
36001 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36002 __extern_always_inline instead of __extern_inline.
36003 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36004 (__signbit): Likewise.
36005 (__signbitl): Support C++ namespace.
36006 (lrintf): New inline function.
36007 (lrint): Likewise.
36008 (llrintf): Likewise.
36009 (llrint): Likewise.
36010 (fmaxf): Likewise.
36011 (fmax): Likewise.
36012 (fminf): Likewise.
36013 (fmin): Likewise.
36014 (rint): Likewise.
36015 (rintf): Likewise.
36016 (ceil): Likewise.
36017 (ceilf): Likewise.
36018 (floor): Likewise.
36019 (floorf): Likewise.
36020 (nearbyint): Likewise.
36021 (nearbyintf): Likewise.
36022
d7b4fb26
TS
360232012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36024
36025 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36026 non-default versions.
36027
eb55f5c2
RM
360282012-06-11 Roland McGrath <roland@hack.frob.com>
36029
36030 [BZ #14218]
36031 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36032
366af02c
TS
360332012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36034
99ff6e5c
TS
36035 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36036 (FE_UPWARD, FE_DOWNWARD): Don't define.
36037 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36038 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36039
366af02c
TS
36040 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36041 reading it.
36042 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36043 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36044
793ea851
KK
360452012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36046
36047 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36048 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36049 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36050 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36051
a728a38f
L
360522012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36053
36054 [BZ #14117]
c08010c7
L
36055 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36056 * sysdeps/i386/fpu/Implies: New file.
36057 * sysdeps/x86_64/fpu/Implies: Likewise.
36058 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36059 * sysdeps/x86/fpu/bits/fenv.h: This.
36060
a728a38f
L
36061 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36062 __SSE_MATH__.
36063
6e230d11
SP
360642012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36065
36066 [BZ #14134]
36067 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36068 character 0xffff that matches the last element of the
36069 conversion table.
36070
1b671feb
AZ
360712012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36072
36073 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36074 fmodl commit.
36075
6043738b
AZ
360762012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36077
36078 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36079 values higher than 25.6283.
36080
34ae0b32
AZ
360812012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36082
36083 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36084 subnormal exponent extraction and add some __builtin_expect.
36085 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36086 Fix for subnormal mantissa calculation.
36087
1214ec8f
MF
360882012-06-04 Mike Frysinger <vapier@gentoo.org>
36089
36090 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36091 cpu2 is -1 and errno is not ENOSYS.
36092
f3d1f93c
L
360932012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36094
36095 [BZ #14117]
0e4a3cd7
L
36096 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36097 * sysdeps/x86/bits/string.h: This.
36098 * sysdeps/x86_64/bits/string.h: Removed.
36099
6704c645
L
36100 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36101 if not compiling for x86-64, but compiling for >= i486.
36102
48495318
L
36103 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36104 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36105
14adcbfc
L
36106 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36107 New macro from Linux kernel 3.4.0.
36108 (FP_XSTATE_MAGIC2): Likewise.
36109 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36110 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36111 (struct _fpx_sw_bytes): New struct.
36112 (struct _xsave_hdr): Likewise.
36113 (struct _ymmh_state): Likewise.
36114 (struct _xstate): Likewise.
36115
68e408ab
L
36116 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36117 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36118 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36119 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36120 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36121 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36122
f3d1f93c
L
36123 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36124 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36125 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36126 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36127 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36128 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36129
d9dc34cd
TMQMF
361302012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36131
36132 [BZ #13743]
36133 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36134 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36135 (sysdep_headers): Include sys/platform/ppc.h.
36136 * sysdeps/powerpc/test-gettimebase.c: Test for
36137 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36138 * manual/Makefile (appendices): Include platform.texi.
36139 * manual/contrib.texi (Contributors): Update @node pointers.
36140 * manual/maint.texi (Maintenance): Likewise.
36141 (Platform): New node.
36142 * manual/platform.texi: New file. Document the new features.
36143
4af3879c
SP
361442012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36145 Jakub Jelinek <jakub@redhat.com>
36146
36147 [BZ #14188]
36148 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36149 where __builtin_expect is unavailable.
36150
2fd6ff13
DM
361512012-06-03 David S. Miller <davem@davemloft.net>
36152
36153 * stdlib/longlong.h: Updated from GCC.
36154
173f7220
AS
361552012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36156
36157 [BZ #14042]
36158 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36159 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36160 __mcount_internal.
36161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36162 (GLIBC_2.16): Likewise.
36163
f34a1c6f
L
361642012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36165
36166 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36167
88a4576f
JM
361682012-06-01 Joseph Myers <joseph@codesourcery.com>
36169
ea32bcdd
JM
36170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36171 (default-abi): New variable.
36172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36173 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36174 variable.
36175 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36176 Likewise.
36177 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36178 Likewise.
36179 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36180 Likewise.
36181
88a4576f
JM
36182 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36183 definition. Document in comment.
36184
402fe938
DM
361852012-06-01 David S. Miller <davem@davemloft.net>
36186
36187 * stdlib/longlong.h: Updated from GCC.
36188
3553723f
L
361892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36190
36191 [BZ #14117]
3bd872c4
L
36192 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36193 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36194 sys/debugreg.h sys/io.h here.
36195 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36196 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36197 sys/io.h.
36198 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36199 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36200 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36201 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36202 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36203 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36204
3553723f
L
36205 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36206 Define only if __x86_64__ is defined.
36207
4842e4fe
JM
362082012-06-01 Joseph Myers <joseph@codesourcery.com>
36209
c5bfe3d5
JM
36210 [BZ #14048]
36211 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36212 Use int64_t for variable i.
36213 * math/libm-test.inc (fmod_test): Add more tests.
36214
4842e4fe
JM
36215 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36216 z computation is not scheduled after fetestexcept.
36217 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36218 Use math_force_eval instead of asm to ensure calculation scheduled
36219 before exception test.
36220 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36221 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36222
efb73488
AJ
362232012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36224
36225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36226 computation is not scheduled after fetestexcept.
36227
29bcce7c
L
362282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36229
36230 [BZ #14117]
36231 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36232 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36233
73a68f94
AZ
362342012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36235
36236 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36237 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36238
67b6df78
L
362392012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36240
edf2933a 36241 [BZ #14117]
ebc64a18
L
36242 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36243 <bits/wordsize.h>.
36244 (__WCHAR_MIN): Support __WORDSIZE == 64.
36245 (__WCHAR_MAX): Likewise.
36246
edf2933a
L
36247 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36248 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36249
57c6cf40
L
36250 [BZ #14183]
36251 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36252 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36253
67b6df78 36254 [BZ #14117]
8eb6281e
L
36255 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36256 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36257
aac639f4
L
36258 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36259 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36260
67b6df78
L
36261 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36262 Defined to 1 if __x86_64__ isn't defined.
36263 (_STAT_VER_LINUX_OLD): New.
36264 (st_atime): Remove duplicate.
36265 (st_mtime): Likewise.
36266 (st_ctime): Likewise.
36267
1c2cfe81
DM
362682012-05-31 David S. Miller <davem@davemloft.net>
36269
36270 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36271 entries.
36272
5be8418c
AS
362732012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36274
e7725326
AS
36275 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36276 gen-libm-test.pl.
36277
5be8418c
AS
36278 [BZ #14132]
36279 * elf/dl-reloc.c: Include <_itoa.h>.
36280 (_dl_reloc_bad_type): Remove use of INTUSE.
36281 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36282 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36283 * stdio-common/psiginfo.c (psiginfo): Likewise.
36284 * stdio-common/psignal.c (psignal): Likewise.
36285 * string/strsignal.c (strsignal): Likewise.
36286 * include/signal.h (_sys_siglist): Declare hidden proto.
36287 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36288 INTVARDEF with libc_hidden_data_def.
36289 * stdio-common/itoa-udigits.c: Likewise.
36290 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36291 (_itoa_lower_digits_internal): Remove declaration.
36292 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36293 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36294 (_sys_sigabbrev_internal): Remove aliases.
36295 (_sys_siglist): Define hidden alias.
36296
507352f1
MT
362972012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36298
36299 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36300 bits/sysctl.h.
36301
42bbb1c3
L
363022012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36303
36304 [BZ #14117]
6bd784b6
L
36305 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36306 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36307
8bca20f0
L
36308 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36309 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36310 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36311 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36312 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36313 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36314
f9e890a9
L
36315 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36316 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36317 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36318
471101a1
L
36319 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36320 with __addr.
36321 (insw): Likewise.
36322 (insl): Likewise.
36323 (outsb): Likewise.
36324 (outsw): Likewise.
36325 (outsl): Likewise.
36326
6451c862
L
36327 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36328 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36329 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36330
a254b8c9
L
36331 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36332 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36333 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36334 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36335 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36336 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36337
b8dfdd92
L
36338 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36339 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36340
578cd270
L
36341 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36342 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36343
de662f5f
L
36344 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36345 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36346 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36347
25653439
L
36348 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36349 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36350 to ...
36351 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36352
6bad24a0
L
36353 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36354 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36355 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36356
42bbb1c3
L
36357 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36358 for x86-64.
36359 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36360
2d10d547
JM
363612012-05-31 Joseph Myers <joseph@codesourcery.com>
36362
36363 * math/math.h (M_El): Use two more decimal places.
36364 (M_LOG2El): Likewise.
36365 (M_LOG10El): Likewise.
36366 (M_LN2l): Likewise.
36367 (M_LN10l): Likewise.
36368 (M_PIl): Likewise.
36369 (M_PI_2l): Likewise.
36370 (M_PI_4l): Likewise.
36371 (M_1_PIl): Likewise.
36372 (M_2_PIl): Likewise.
36373 (M_2_SQRTPIl): Likewise.
36374 (M_SQRT2l): Likewise.
36375 (M_SQRT1_2l): Likewise.
36376
f230c29b
DM
363772012-05-31 David S. Miller <davem@davemloft.net>
36378
36379 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36380 values between float registers.
36381 * sysdeps/sparc/sparc64/memset.S: Likewise.
36382 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36383
fed806c3
MF
363842012-05-31 Mike Frysinger <vapier@gentoo.org>
36385
36386 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36387 -D_FORTIFY_SOURCE=1.
36388 (CPPFLAGS-tst-longjmp_chk.c): Define.
36389 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36390 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36391 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36392 CFLAGS-tst-wchar-h.c.
36393
30917259
MP
363942012-05-31 Marek Polacek <polacek@redhat.com>
36395
36396 [BZ #14132]
36397 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36398 __endmntent_internal): Remove declaration.
36399 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36400 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36401 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36402
1c58d5dc
DM
364032012-05-30 David S. Miller <davem@davemloft.net>
36404
36405 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36406 (___Q_simulate_exceptions): Use real FP ops rather than writing
36407 into the %fsr.
36408 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36409 Likewise.
36410
7dc00e0d
L
364112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36412
36413 [BZ #14117]
0bd53985
L
36414 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36415 * sysdeps/x86/bits/xtitypes.h: This.
36416
3a257e66
L
36417 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36418 * sysdeps/x86/bits/wordsize.h: This.
36419
62f62904
L
36420 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36421 * sysdeps/x86/bits/huge_vall.h: This.
36422
404fe9d9
L
36423 * sysdeps/i386/bits/select.h: Removed.
36424 * sysdeps/x86_64/bits/select.h: Renamed to ...
36425 * sysdeps/x86/bits/select.h: This.
36426
d48d0446
L
36427 * sysdeps/i386/bits/setjmp.h: Removed.
36428 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36429 * sysdeps/x86/bits/setjmp.h: This.
36430
7dc00e0d
L
36431 * sysdeps/i386/bits/mathdef.h: Removed.
36432 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36433 * sysdeps/x86/bits/mathdef.h: This.
36434
03277f8f
AS
364352012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36436
36437 [BZ #14132]
36438 * include/sys/socket.h (__connect_internal)
36439 (__libc_sa_len_internal): Remove declaration.
36440 (__connect, __libc_sa_len): Declare hidden_proto.
36441 (SA_LEN): Remove use of INTUSE.
36442 * socket/connect.c: Add libc_hidden_def.
36443 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36444 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36445 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36446 alias.
36447 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36448 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36449 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36450 of adding _internal alias.
36451
13764867
L
364522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36453
36454 [BZ #14117]
6bd97696
L
36455 * sysdeps/i386/bits/link.h: Removed.
36456 * sysdeps/i386/bits/linkmap.h: Likewise.
36457 * sysdeps/x86_64/bits/link.h: Renamed to ...
36458 * sysdeps/x86/bits/link.h: This.
36459 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36460 * sysdeps/x86/bits/linkmap.h: This.
36461
f726f0bb
L
36462 * sysdeps/i386/bits/endian.h: Removed.
36463 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36464 * sysdeps/x86/bits/endian.h: This.
36465
13764867
L
36466 * sysdeps/i386/bits/byteswap.h: Removed.
36467 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36468 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36469 * sysdeps/x86/bits/byteswap.h: This.
36470 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36471 * sysdeps/x86/bits/byteswap-16.h: This.
36472 * sysdeps/i386/Implies: Add x86.
36473 * sysdeps/x86_64/Implies: Likewise.
36474
ae251b0b
DM
364752012-05-30 David S. Miller <davem@davemloft.net>
36476
36477 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36478 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36479 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36480 (FP_TRAPPING_EXCEPTIONS): Define.
36481 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36482 (FP_TRAPPING_EXCEPTIONS): Define.
36483 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36484 subnormals only when inexact has been signalled or underflow
36485 exceptions are enabled.
36486 (_FP_PACK_CANONICAL): Likewise.
36487
d5c90867
L
364882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36489
36490 [BZ #14183]
36491 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36492 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36493
63f1549e
RH
364942012-05-30 Richard Henderson <rth@twiddle.net>
36495
8d8f2279
RH
36496 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36497 with #ifndef NOT_IN_libc.
36498
63f1549e
RH
36499 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36500 marked to avoid plt entry.
36501
0ab0291b
L
365022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36503
36504 [BZ #14112]
36505 * Makeconfig (default-abi): New macro.
36506 (abi-includes): Likewise.
36507 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36508 $(abi-$(default-abi)-lib-soname) for soname if defined.
36509 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36510 abi-variants.
36511 * Makefile (installed-stubs): Likewise.
36512 * include/stubs-biarch.h: Removed.
36513 * scripts/lib-names.awk: Only handle one library at a time.
36514 * scripts/soversions.awk: Remove WORDSIZE support.
36515 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36516 entries.
36517 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36518 Removed.
36519 (syscall-list-default-condition): Likewise.
36520 (syscall-list-default-condition): Likewise.
36521 (syscall-list-includes): Likewise.
36522 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36523 syscall-list-* with abi-*. Handle undefined abi-variants.
36524 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36525 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36526 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36527 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36528 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36529 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36530 Removed.
36531 (syscall-list-32-options): Likewise.
36532 (syscall-list-32-condition): Likewise.
36533 (syscall-list-64-options): Likewise.
36534 (syscall-list-64-condition): Likewise.
36535 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36536 macro.
36537 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36538 Renamed to ...
36539 (abi-*): This.
36540 (abi-64-ld-soname): New macro.
36541 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36542 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36543 Renamed to ...
36544 (abi-*): This.
36545 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36546 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36547
4da0431d
JM
365482012-05-30 Joseph Myers <joseph@codesourcery.com>
36549
3a85279c
JM
36550 * sysdeps/unix/sysv/linux/kernel-features.h
36551 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36552 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36553 include <kernel-features.h>.
36554 [!__NR_ftruncate64]: Remove conditional code.
36555 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36556 [__NR_ftruncate64]: Make code unconditional.
36557 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36558 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36559 include <kernel-features.h>.
36560 [!__NR_ftruncate64]: Remove conditional code.
36561 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36562 [__NR_ftruncate64]: Make code unconditional.
36563 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36565 include <kernel-features.h>.
36566 [!__NR_ftruncate64]: Remove conditional code.
36567 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36568 [__NR_ftruncate64]: Make code unconditional.
36569 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36571 include <kernel-features.h>.
36572 [!__NR_ftruncate64]: Remove conditional code.
36573 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36574 [__NR_ftruncate64]: Make code unconditional.
36575 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36576
4da0431d
JM
36577 * configure.in (libc_cv_fpie): Weaken to a compile test using
36578 LIBC_TRY_CC_OPTION.
36579 * configure: Regenerated.
36580
11ef492c
AK
365812012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36582
36583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36587 Refreshed.
36588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36594 Refreshed.
36595
d66ef399
DM
365962012-05-27 David S. Miller <davem@davemloft.net>
36597
36598 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36599 (___Q_zero): New.
36600 (__Q_simulate_exceptions): Return void. Change to simulate
36601 exceptions by writing into the %fsr.
36602 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36603 (__Qp_handle_exceptions): Likewise.
36604 (numbers): Delete.
36605 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36606 __Qp_handle_exceptions.
36607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36608 __Qp_handle_exceptions.
36609 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36610 as unused and give dummy FP_RND_NEAREST initializer.
36611 (FP_INHIBIT_RESULTS): Define.
36612 (___Q_simulate_exceptions): Update declaration.
36613 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36614 formatting.
36615 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36616 as unused and give dummy FP_RND_NEAREST initializer.
36617 (__Qp_handle_exceptions): Update declaration.
36618 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36619 formatting.
36620
04fb54b5
TS
366212012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36622
36623 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36624 the temporary FPU control word.
36625 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36626 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36627 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36628 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36629 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36630 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36631 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36632 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36633 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36634 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36635 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36636
3f99608f
KK
366372012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36638
36639 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36640 fields.
36641
65a4de4e
CLT
366422012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36643
36644 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36645 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36646 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36647 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36648 Likewise.
36649 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36650 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36651 Likewise.
36652
15749d40
UD
366532012-05-27 Ulrich Drepper <drepper@gmail.com>
36654
36655 * po/h.po: Update from translation team.
36656
25dbcb27
AS
366572012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36658
3d3f8e55
AS
36659 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36660
25dbcb27
AS
36661 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36662 handling of denormals.
36663 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36664 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36665 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36666 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36667 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36669 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36670 Likewise.
36671
7ad47a80 366722012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36673
36674 [BZ #14152]
36675 * math/libm-test.inc (fma_test): Don't always expect underflow
36676 exception.
36677
9c6ea9fa
SP
366782012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36679
36680 [BZ #12416]
36681 * elf/tst-execstack.c: Include stackinfo.h.
36682 (do_test): Adjust test case to ensure that pthread_getattr_np
36683 behaviour remains the same after marking stack executable.
36684
a8239222
JM
366852012-05-25 Joseph Myers <joseph@codesourcery.com>
36686
36687 * sysdeps/unix/sysv/linux/kernel-features.h
36688 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36689 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36690 kernel-features.h.
36691 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36692 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36693 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36694 kernel-features.h.
36695 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36696 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36697
918b5606
L
366982012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36699
36700 * configure.in: Define the default includes to being none.
36701 * configure: Regenerated.
36702
3a097cc7
RM
367032012-05-25 Roland McGrath <roland@hack.frob.com>
36704
8422c9a5
RM
36705 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36706 * sysdeps/x86_64/setjmp.S: Likewise.
36707 * sysdeps/i386/bsd-setjmp.S: Likewise.
36708 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36709 * sysdeps/i386/setjmp.S: Likewise.
36710 * sysdeps/i386/__longjmp.S: Likewise.
36711 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36712 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36713
3a097cc7
RM
36714 * include/stap-probe.h: New file.
36715 * configure.in: Handle --enable-systemtap.
36716 * configure: Regenerated.
36717 * config.h.in (USE_STAP_PROBE): New #undef.
36718 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36719 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36720 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36721
21708942
JM
367222012-05-25 Joseph Myers <joseph@codesourcery.com>
36723
36724 [BZ #13717]
36725 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36726 to 2.4.0 where earlier.
36727 * sysdeps/unix/sysv/linux/configure: Regenerated.
36728 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36729 <kernel-features.h>.
36730 [__ASSUME_32BITUIDS]: Make code unconditional.
36731 [!__ASSUME_32BITUIDS]: Remove conditional code.
36732 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36733 <kernel-features.h>.
36734 [__ASSUME_32BITUIDS]: Make code unconditional.
36735 [!__ASSUME_32BITUIDS]: Remove conditional code.
36736 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36737 [__ASSUME_32BITUIDS]: Make code unconditional.
36738 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36739 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36740 <kernel-features.h>.
36741 [__ASSUME_32BITUIDS]: Make code unconditional.
36742 [!__ASSUME_32BITUIDS]: Remove conditional code.
36743 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36744 <kernel-features.h>.
36745 [__ASSUME_32BITUIDS]: Make code unconditional.
36746 [!__ASSUME_32BITUIDS]: Remove conditional code.
36747 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36748 <kernel-features.h>.
36749 [__ASSUME_32BITUIDS]: Make code unconditional.
36750 [!__ASSUME_32BITUIDS]: Remove conditional code.
36751 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36752 <kernel-features.h>.
36753 [__ASSUME_32BITUIDS]: Make code unconditional.
36754 [!__ASSUME_32BITUIDS]: Remove conditional code.
36755 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36756 <kernel-features.h>.
36757 [__ASSUME_32BITUIDS]: Make code unconditional.
36758 [!__ASSUME_32BITUIDS]: Remove conditional code.
36759 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36760 <kernel-features.h>.
36761 [__ASSUME_32BITUIDS]: Make code unconditional.
36762 [!__ASSUME_32BITUIDS]: Remove conditional code.
36763 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36764 <kernel-features.h>.
36765 [__ASSUME_32BITUIDS]: Make code unconditional.
36766 [!__ASSUME_32BITUIDS]: Remove conditional code.
36767 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36768 <kernel-features.h>.
36769 [__ASSUME_32BITUIDS]: Make code unconditional.
36770 [!__ASSUME_32BITUIDS]: Remove conditional code.
36771 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36772 <kernel-features.h>.
36773 [__ASSUME_32BITUIDS]: Make code unconditional.
36774 [!__ASSUME_32BITUIDS]: Remove conditional code.
36775 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36776 <kernel-features.h>.
36777 [__ASSUME_32BITUIDS]: Make code unconditional.
36778 [!__ASSUME_32BITUIDS]: Remove conditional code.
36779 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36780 <kernel-features.h>.
36781 [__NR_setresgid] (__setresgid): Do not declare.
36782 [__ASSUME_32BITUIDS]: Make code unconditional.
36783 [!__ASSUME_32BITUIDS]: Remove conditional code.
36784 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36785 <kernel-features.h>.
36786 [__NR_setresuid] (__setresuid): Do not declare.
36787 [__ASSUME_32BITUIDS]: Make code unconditional.
36788 [!__ASSUME_32BITUIDS]: Remove conditional code.
36789 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36790 <kernel-features.h>.
36791 [__ASSUME_32BITUIDS]: Make code unconditional.
36792 [!__ASSUME_32BITUIDS]: Remove conditional code.
36793 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36794 <kernel-features.h>.
36795 [__ASSUME_32BITUIDS]: Make code unconditional.
36796 [!__ASSUME_32BITUIDS]: Remove conditional code.
36797 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36798 <kernel-features.h>.
36799 [__ASSUME_32BITUIDS]: Make code unconditional.
36800 [!__ASSUME_32BITUIDS]: Remove conditional code.
36801 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36802 <kernel-features.h>.
36803 [__ASSUME_32BITUIDS]: Make code unconditional.
36804 [!__ASSUME_32BITUIDS]: Remove conditional code.
36805 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36806 <kernel-features.h>.
36807 [__ASSUME_32BITUIDS]: Make code unconditional.
36808 [!__ASSUME_32BITUIDS]: Remove conditional code.
36809 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36810 <kernel-features.h>.
36811 [__ASSUME_32BITUIDS]: Make code unconditional.
36812 [!__ASSUME_32BITUIDS]: Remove conditional code.
36813 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36814 <kernel-features.h>.
36815 [__ASSUME_32BITUIDS]: Make code unconditional.
36816 [!__ASSUME_32BITUIDS]: Remove conditional code.
36817 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36818 <kernel-features.h>.
36819 [__ASSUME_32BITUIDS]: Make code unconditional.
36820 [!__ASSUME_32BITUIDS]: Remove conditional code.
36821 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36822 <kernel-features.h>.
36823 [__ASSUME_32BITUIDS]: Make code unconditional.
36824 [!__ASSUME_32BITUIDS]: Remove conditional code.
36825 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36826 <kernel-features.h>.
36827 [__ASSUME_32BITUIDS]: Make code unconditional.
36828 [!__ASSUME_32BITUIDS]: Remove conditional code.
36829 * sysdeps/unix/sysv/linux/kernel-features.h
36830 (__ASSUME_SETRESUID_SYSCALL): Remove.
36831 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36832 (__ASSUME_32BITUIDS): Likewise.
36833 (__ASSUME_LDT_WORKS): Likewise.
36834 (__ASSUME_O_DIRECTORY): Likewise.
36835 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36836 architecture but not kernel version.
36837 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36838 (__ASSUME_MMAP2_SYSCALL): Likewise.
36839 (__ASSUME_STAT64_SYSCALL): Likewise.
36840 (__ASSUME_IPC64): Likewise.
36841 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36842 <kernel-features.h>.
36843 [__ASSUME_32BITUIDS]: Make code unconditional.
36844 [!__ASSUME_32BITUIDS]: Remove conditional code.
36845 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36846 <kernel-features.h>.
36847 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36848 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36849 132096]: Remove conditional code.
36850 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36851 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36852 <kernel-features.h>.
36853 [__ASSUME_32BITUIDS]: Make code unconditional.
36854 [!__ASSUME_32BITUIDS]: Remove conditional code.
36855 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36856 <kernel-features.h>.
36857 [__ASSUME_32BITUIDS]: Make code unconditional.
36858 [!__ASSUME_32BITUIDS]: Remove conditional code.
36859 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36860 <kernel-features.h>.
36861 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36862 unconditional.
36863 (__setresgid): Do not declare.
36864 [__ASSUME_32BITUIDS]: Make code unconditional.
36865 [!__ASSUME_32BITUIDS]: Remove conditional code.
36866 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36867 <kernel-features.h>.
36868 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36869 unconditional.
36870 (__setresuid): Do not declare.
36871 [__ASSUME_32BITUIDS]: Make code unconditional.
36872 [!__ASSUME_32BITUIDS]: Remove conditional code.
36873 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36874 <kernel-features.h>.
36875 [__ASSUME_32BITUIDS]: Make code unconditional.
36876 [!__ASSUME_32BITUIDS]: Remove conditional code.
36877 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36878 <kernel-features.h>.
36879 [__ASSUME_32BITUIDS]: Make code unconditional.
36880 [!__ASSUME_32BITUIDS]: Remove conditional code.
36881
a386f1cc
RH
368822012-05-25 Richard Henderson <rth@twiddle.net>
36883
36884 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36885 dl_hwcap to ifunc resolver.
36886 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36887 elf_ifunc_invoke.
36888 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36889 dl_hwcap to ifunc resolver.
36890 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36891
b6550497
JM
368922012-05-24 Joseph Myers <joseph@codesourcery.com>
36893
36894 [BZ #14153]
36895 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36896 for |x| <= 2**-26, not 2**-57.
36897 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36898 exception.
36899
b0bc23a1
JL
369002012-05-24 Jeff Law <law@redhat.com>
36901
36902 * stdio-common/Makefile (tests): Add bug25.
36903 * stdio-common/bug25.c: New test.
36904
347c92e9
L
369052012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36906
36907 [BZ #13576]
36908 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36909 multiple of MALLOC_ALIGNMENT in size.
36910 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36911
6bcc8b3f
JM
369122012-05-24 Joseph Myers <joseph@codesourcery.com>
36913
36914 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36915 Require >= 256.
36916 (FILENAME_MAX): Use macro-int-constant.
36917 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36918 (_IOFBF): Use macro-int-constant.
36919 (_IOLBF): Likewise.
36920 (_IONBF): Likewise.
36921 (SEEK_CUR): Likewise.
36922 (SEEK_END): Likewise.
36923 (SEEK_SET): Likewise.
36924 (TMP_MAX): Likewise.
36925 (EOF): Use macro-int-constant. Require < 0.
36926 (NULL): Use macro-constant. Require == 0.
36927 (stdin): Require type to be FILE *.
36928 (stdout): Likewise.
36929 (stderr): Likewise.
36930 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36931 macro-int-constant.
36932 (EXIT_SUCCESS): Likewise.
36933 (NULL): Use macro-constant. Require == 0.
36934 (RAND_MAX): Use macro-int-constant.
36935 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36936 [C99-based standards] (strtof): Require function.
36937 [C99-based standards] (strtold): Likewise.
36938 [C99-based standards] (strtoll): Likewise.
36939 [C99-based standards] (strtoull): Likewise.
36940 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36941 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36942 [ISO || ISO99 || ISO11] (math.h): Likewise.
36943 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36944 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36945 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36946
d18ea0c5
AS
369472012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36948
36949 [BZ #14132]
56d25bb8
AS
36950 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36951 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36952 * intl/dgettext.c (DCGETTEXT): Likewise.
36953 * intl/gettext.c (DCGETTEXT): Likewise.
36954 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36955 * posix/regex_internal.h (gettext): Likewise.
36956 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36957 Remove declaration.
36958 * include/argz.h (__argz_count_internal)
36959 (__argz_stringify_internal): Remove declaration.
36960 (__argz_count, __argz_stringify): Declare hidden proto.
36961 * intl/dcgettext.c: Remove use of INTDEF.
36962 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36963 * string/argz-stringify.c: Likewise.
36964 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36965 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36966 Declare hidden proto.
d18ea0c5
AS
36967 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36968 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36969 Declare hidden proto.
36970 * include/stdio.h (__asprintf_internal): Don't declare.
36971 (__asprintf): Don't define as macro. Declare hidden proto.
36972 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36973 (__fsetlocking): Declare hidden proto.
36974 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36975 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36976 hidden proto.
36977 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36978 (_IO_setlinebuf): Remove use of INTUSE.
36979 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36980 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36981 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36982 Remove declaration.
36983 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36984 (_IO_do_flush): Remove use of INTUSE.
36985 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36986 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36987 (_IO_adjust_column, _IO_least_wmarker)
36988 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36989 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36990 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36991 (_IO_default_doallocate, _IO_wdefault_doallocate)
36992 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36993 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36994 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36995 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36996 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36997 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36998 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36999 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37000 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37001 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37002 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37003 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37004 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37005 proto.
37006 (_IO_flush_all_internal, _IO_adjust_column_internal)
37007 (_IO_default_uflow_internal, _IO_default_finish_internal)
37008 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37009 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37010 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37011 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37012 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37013 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37014 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37015 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37016 (_IO_file_close_internal, _IO_file_close_it_internal)
37017 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37018 (_IO_file_init_internal, _IO_file_attach_internal)
37019 (_IO_file_fopen_internal, _IO_file_read_internal)
37020 (_IO_file_sync_internal, _IO_file_seek_internal)
37021 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37022 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37023 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37024 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37025 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37026 (_IO_list_all_internal, _IO_link_in_internal)
37027 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37028 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37029 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37030 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37031 (_IO_do_write_internal, _IO_padn_internal)
37032 (_IO_getline_info_internal, _IO_getline_internal)
37033 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37034 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37035 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37036 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37037 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37038 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37039 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37040 with libc_hidden_ver, remove use of INTUSE.
37041 * libio/genops.c: Likewise.
37042 * libio/freopen.c: Likewise.
37043 * libio/freopen64.c: Likewise.
37044 * libio/iofclose.c: Likewise.
37045 * libio/iofdopen.c: Likewise.
37046 * libio/iofflush.c: Likewise.
37047 * libio/iofflush_u.c: Likewise.
37048 * libio/iofgets.c: Likewise.
37049 * libio/iofgets_u.c: Likewise.
37050 * libio/iofopen.c: Likewise.
37051 * libio/iofopncook.c: Likewise.
37052 * libio/iofread.c: Likewise.
37053 * libio/iofread_u.c: Likewise.
37054 * libio/ioftell.c: Likewise.
37055 * libio/iofwrite.c: Likewise.
37056 * libio/iogetline.c: Likewise.
37057 * libio/iogets.c: Likewise.
37058 * libio/iogetwline.c: Likewise.
37059 * libio/iopadn.c: Likewise.
37060 * libio/iopopen.c: Likewise.
37061 * libio/ioseekoff.c: Likewise.
37062 * libio/ioseekpos.c: Likewise.
37063 * libio/iosetbuffer.c: Likewise.
37064 * libio/iosetvbuf.c: Likewise.
37065 * libio/ioungetc.c: Likewise.
37066 * libio/ioungetwc.c: Likewise.
37067 * libio/iovdprintf.c: Likewise.
37068 * libio/iovsprintf.c: Likewise.
37069 * libio/iovsscanf.c: Likewise.
37070 * libio/memstream.c: Likewise.
37071 * libio/obprintf.c: Likewise.
37072 * libio/oldfileops.c: Likewise.
37073 * libio/oldiofclose.c: Likewise.
37074 * libio/oldiofdopen.c: Likewise.
37075 * libio/oldiofopen.c: Likewise.
37076 * libio/oldiopopen.c: Likewise.
37077 * libio/oldstdfiles.c: Likewise.
37078 * libio/putc.c: Likewise.
37079 * libio/setbuf.c: Likewise.
37080 * libio/setlinebuf.c: Likewise.
37081 * libio/stdfiles.c: Likewise.
37082 * libio/strops.c: Likewise.
37083 * libio/vasprintf.c: Likewise.
37084 * libio/vscanf.c: Likewise.
37085 * libio/vsnprintf.c: Likewise.
37086 * libio/vswprintf.c: Likewise.
37087 * libio/wfiledoalloc.c: Likewise.
37088 * libio/wfileops.c: Likewise.
37089 * libio/wgenops.c: Likewise.
37090 * libio/wmemstream.c: Likewise.
37091 * libio/wstrops.c: Likewise.
37092 * libio/__fpurge.c: Likewise.
37093 * libio/__fsetlocking.c: Likewise.
37094 * assert/assert.c: Likewise.
37095 * debug/fgets_chk.c: Likewise.
37096 * debug/fgets_u_chk.c: Likewise.
37097 * debug/fread_chk.c: Likewise.
37098 * debug/fread_u_chk.c: Likewise.
37099 * debug/gets_chk.c: Likewise.
37100 * debug/obprintf_chk.c: Likewise.
37101 * debug/vasprintf_chk.c: Likewise.
37102 * debug/vdprintf_chk.c: Likewise.
37103 * debug/vsnprintf_chk.c: Likewise.
37104 * debug/vsprintf_chk.c: Likewise.
37105 * malloc/mtrace.c: Likewise.
37106 * misc/error.c: Likewise.
37107 * misc/syslog.c: Likewise.
37108 * stdio-common/asprintf.c: Likewise.
37109 * stdio-common/fxprintf.c: Likewise.
37110 * stdio-common/getw.c: Likewise.
37111 * stdio-common/isoc99_fscanf.c: Likewise.
37112 * stdio-common/isoc99_scanf.c: Likewise.
37113 * stdio-common/isoc99_vfscanf.c: Likewise.
37114 * stdio-common/isoc99_vscanf.c: Likewise.
37115 * stdio-common/isoc99_vsscanf.c: Likewise.
37116 * stdio-common/printf-prs.c: Likewise.
37117 * stdio-common/printf_fp.c: Likewise.
37118 * stdio-common/printf_fphex.c: Likewise.
37119 * stdio-common/printf_size.c: Likewise.
37120 * stdio-common/putw.c: Likewise.
37121 * stdio-common/scanf.c: Likewise.
37122 * stdio-common/sprintf.c: Likewise.
37123 * stdio-common/tmpfile.c: Likewise.
37124 * stdio-common/vfprintf.c: Likewise.
37125 * stdio-common/vfscanf.c: Likewise.
37126 * stdlib/strfmon_l.c: Likewise.
37127 * sunrpc/openchild.c: Likewise.
37128 * sunrpc/xdr_stdio.c: Likewise.
37129 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37130 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37131
d6c33fda
RM
371322012-05-24 Roland McGrath <roland@hack.frob.com>
37133
c1487492
RM
37134 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37135
37136 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37137 in the third column, to generate for the shared library an IFUNC
37138 that uses _dl_vdso_vsym.
37139 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37140 * Makeconfig (object-suffixes-noshared): New variable.
37141
37142 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37143 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37144 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37145 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37146
d6c33fda
RM
37147 [BZ #14132]
37148 * include/sys/time.h (__gettimeofday): Remove macro.
37149 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37150 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37151 Remove INTDEF.
37152 (__gettimeofday): Add libc_hidden_def.
37153 (gettimeofday): Add libc_hidden_weak.
37154 * sysdeps/mach/gettimeofday.c: Likewise.
37155 * sysdeps/posix/gettimeofday.c: Likewise.
37156 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37157 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37158 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37159 (__gettimeofday_internal): Remove strong_alias.
37160 (__gettimeofday): Add libc_hidden_def.
37161 (gettimeofday): Add libc_hidden_weak.
37162 * sysdeps/unix/syscalls.list (gettimeofday):
37163 Remove __gettimeofday_internal alias.
37164
b5a2bbe6
L
371652012-05-24 Daniel Jacobowitz <drow@false.org>
37166 H.J. Lu <hongjiu.lu@intel.com>
37167
37168 [BZ #12495]
37169 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37170 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37171 (largebin_index_32_big): New.
37172 (largebin_index): Use it for 16-byte alignment.
37173 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37174 correction with front_misalign.
37175
cfba4fda
L
371762012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37177
7f907421
L
37178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37180 Likewise.
37181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37182 Likewise.
37183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37184 Likewise.
37185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37186 Likewise.
37187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37188 Likewise.
37189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37190 Likewise.
37191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37192 Likewise.
37193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37194 Likewise.
37195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37196 Likewise.
37197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37198 Likewise.
37199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37200 Likewise.
37201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37202 Likewise.
37203
cfba4fda
L
37204 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37205 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37206
80bad0cc
JM
372072012-05-24 Joseph Myers <joseph@codesourcery.com>
37208
7a25eb06
JM
37209 [BZ #10846]
37210 [BZ #14036]
37211 * math/libm-test.inc (exp_test): Add test from bug 14036.
37212 (pow_test): Add test from bug 10846.
37213
795405f9
JM
37214 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37215 and other flags.
37216 (special_function): Do not include flags in test name.
37217 (parse_args): Likewise.
37218 * sysdeps/i386/fpu/libm-test-ulps: Update.
37219 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37220 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37221 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37223
80bad0cc
JM
37224 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37225 exceptions.
37226 * math/libm-test.inc ("Philosophy"): Update comment about
37227 exception testing.
37228 (UNDERFLOW_EXCEPTION): New macro.
37229 (UNDERFLOW_EXCEPTION_OK): Likewise.
37230 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37231 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37232 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37233 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37234 (INVALID_EXCEPTION_OK): Update value.
37235 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37236 (OVERFLOW_EXCEPTION_OK): Likewise.
37237 (IGNORE_ZERO_INF_SIGN): Likewise.
37238 (test_exceptions): Handle underflow exceptions.
37239 (acos_test): Update for underflow exception expectations.
37240 (cexp_test): Likewise.
37241 (clog_test): Likewise.
37242 (clog10_test): Likewise.
37243 (csqrt_test): Likewise.
37244 (ctan_test): Likewise.
37245 (ctanh_test): Likewise.
37246 (exp_test): Likewise.
37247 (exp10_test): Likewise.
37248 (exp2_test): Likewise.
37249 (expm1_test): Likewise.
37250 (fma_test): Likewise.
37251 (j0_test): Likewise.
37252 (jn_test): Likewise.
37253 (nexttoward_test): Likewise.
37254 (pow_test): Likewise.
37255 (scalbn_test): Likewise.
37256 (scalbln_test): Likewise.
37257 (tan_test): Likewise.
37258 (y1_test): Likewise.
37259 * sysdeps/i386/fpu/libm-test-ulps: Update.
37260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37261
9e0e3d0b
DM
372622012-05-23 David S. Miller <davem@davemloft.net>
37263
37264 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37265 (__libc_sigaction): Remove unused local variables.
37266
ccd0a08f
L
372672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37268
37269 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37270
62bdf9a6
PE
372712012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37272
f8591f80
PE
37273 mktime: avoid signed integer overflow
37274 * time/mktime.c (__mktime_internal): Do not mishandle the case
37275 where diff == INT_MIN.
37276
94c7d826
PE
37277 mktime: simplify computation of average
37278 * time/mktime.c (ranged_convert): Use new time_t_avg function
37279 instead of rolling our own (probably-slower) code.
37280
ce73d683
PE
37281 mktime: do not assume signed right shift propagates sign bit
37282 * time/mktime.c (isdst_differ): New static function.
37283 (__mktime_internal): No need to normalize tm_isdst now.
37284 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37285 tm_isdst values.
37286
72a22e59
PE
37287 mktime: merge another wrapv change from gnulib
37288 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37289 from some compilers.
37290
68605433
PE
37291 mktime: remove incorrect attempt at unusual arithmetics
37292 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37293 The code didn't really work on such machines anyway.
37294 (TYPE_MINIMUM): Assume two's complement.
37295 (twos_complement_arithmetic): Verify that long_int and time_t
37296 are two's complement (or unsigned, in the latter case).
37297
03cf7fe3
PE
37298 mktime: check signed shifts on long_int and time_t, too
37299 * time/mktime.c (SHR): Check that shifts work as desired
37300 on the types long_int and time_t too, as SHR is used on
37301 such types.
37302
f04dfbc2
PE
37303 mktime: do not assume 'long' is wide enough
37304 * time/mktime.c (verify): Move decl up.
37305 (long_int): New type.
37306 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37307 to remove assumption in the code that 'long' is wide enough to
37308 store year values. This assumption is not true on x32 and on
37309 some non-glibc platforms.
37310
62bdf9a6
PE
37311 mktime: merge wrapv change from gnulib
37312 * time/mktime.c (WRAPV): New macro.
37313 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37314 (guess_time_tm, __mktime_internal): Do not assume that signed
37315 integer overflow wraps around; modern compilers generate code
37316 where this assumption is no longer valid.
37317
5e292e4f
L
373182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37319
37320 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37321 Replace "jmp L(pseudo_end)" with "ret".
37322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37323 Likewise.
37324
8caf8c87
AJ
373252012-05-23 Andreas Jaeger <aj@suse.de>
37326
37327 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37328 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37329
1a09dc56
AJ
373302012-05-23 Andreas Jaeger <aj@suse.de>
37331 Maximilian Attems <max@stro.at>
37332
37333 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37334 New macros.
37335
1c87aba0
L
373362012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37337
37338 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37339 code so that pseudo_end is just ret and the stack pointer is
37340 correct also for static library in error case.
37341
40e45bd5
JM
373422012-05-23 Joseph Myers <joseph@codesourcery.com>
37343
c2670533
JM
37344 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37345 move to syscalls.list.
37346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37350
40e45bd5
JM
37351 * manual/install.texi (Running make install): Do not mention Linux
37352 kernel version for which pt_chown is not needed.
37353 (Linux): Do not mention problems with nscd with 2.0 kernels.
37354 * INSTALL: Regenerated.
37355
be08eda5
AJ
373562012-05-23 Andreas Jaeger <aj@suse.de>
37357
37358 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37359 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37360 macro.
37361 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37362 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37363 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37364 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37365 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37366 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37367 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37368 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37369 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37370 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37371 * sysdeps/unix/sysv/linux/bits/in.h
37372 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37373
a6a056bb
RM
373742012-05-22 Roland McGrath <roland@hack.frob.com>
37375
37376 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37377 (PREPARE_VERSION): Just use assert instead, it will be elided
37378 under [NDEBUG] anyway.
37379
c9009328
L
373802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37381
37382 * sysdeps/unix/sysv/linux/Makefile: Include
37383 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 37384 (sysdep_routines): Remove sysctl.
c9009328
L
37385 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37386 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37387 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37388 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37389 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37390
73338355
AJ
373912012-05-22 Andreas Jaeger <aj@suse.de>
37392
37393 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37394 that pseudo_end is just ret and the stack pointer is correct also
37395 for static library in error case.
37396
d44638b0
PP
373972012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37398
37399 [BZ #14122]
37400 * nss/nsswitch.c (defconfig_entries): New variable.
37401 (__nss_database_lookup): Don't leak defconfig entries.
37402 (nss_parse_service_list): Don't leak on error paths.
37403 (free_database_entries): New function.
37404 (free_defconfig): New function.
37405 (free_mem): Move common code to free_database_entries.
37406
31a39bd8
L
374072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37408
da0331a8
L
37409 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37410 Add arch_prctl.
37411 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37412
31a39bd8
L
37413 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37414 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37415 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37416 New macro.
37417 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37418 (INTERNAL_SYSCALL_TYPES): Likewise.
37419 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37420 (LOAD_REGS_TYPES_[1-6]): Likewise.
37421 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37422 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37423
45470df3
AZ
374242012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37425
37426 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37427 copysignl for GLIBC_2_0.
37428 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37429 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37430 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37431 logbl for GLIBC_2_0.
37432 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37433 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37434
98a61bcb
L
374352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37436
a4f6e481
L
37437 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37438 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37439
f63d5db6
L
37440 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37441 Use "neg %eax".
37442
98a61bcb
L
37443 * time/mktime.c: Update copyright years.
37444
95770f14
PE
374452012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37446
6226efbd
PE
37447 mktime: merge comment-quoting-style change from gnulib
37448 * time/mktime.c: Quote 'like this' in comments.
37449 The GNU coding standards suggest that we no longer quote `like this',
37450 as "`" and "'" are typically rendered asymmetrically nowadays.
37451 The typical gnulib style is to quote 'like this' when quoting
37452 code, and "like this" when quoting English.
37453
b99e4f78
PE
37454 * time/mktime.c (compile-command): Add "-I.".
37455
643e01e6
PE
37456 mktime: merge mktime-internal.h change from gnulib
37457 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37458
2554247d
PE
37459 mktime: merge time_r change from gnulib
37460 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37461
826dd0ab
PE
37462 mktime: merge DEBUG change from gnulib
37463 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37464 case system <time.h> has a #define.
37465
bd83aabe
PE
37466 mktime: merge <sys/types.h> change from gnulib
37467 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37468 since <time.t> is now guaranteed to define time_t.
37469
95770f14
PE
37470 mktime: merge HAVE_CONFIG_H change from gnulib
37471 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37472
5e1a27a9
L
374732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37474
0e44a77e
L
37475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37476 Use "neg %eax".
37477
5e1a27a9
L
37478 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37479 __rlim_t cast.
37480 (struct rusage): Use anonymous union to pad each field to
37481 __syscall_slong_t.
37482
46259bec
DM
374832012-05-21 David S. Miller <davem@davemloft.net>
37484
37485 * Makefules (o-iterator): Remove .s cases.
37486 (compile-command.s): Delete.
37487 (COMPILE.s): Delete.
37488 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37489
59f0c22e
JM
374902012-05-21 Joseph Myers <joseph@codesourcery.com>
37491
37492 * configure.in (libc_cv_predef_stack_protector): Only consider
37493 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37494 * configure: Regenerated.
37495
20c07380
L
374962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37497
bbb3154b
L
37498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37499 New macro. Use R*LP on int and pointer.
37500 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37501 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37502 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37503 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37504
20c07380
L
37505 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37506 [__WORDSIZE_TIME64_COMPAT32] instead of
37507 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37508 (struct utmp): Likewise.
37509 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37510 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37511 Renamed to ...
37512 (__WORDSIZE_TIME64_COMPAT32): This.
37513 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37514 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37515 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37516 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37517 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37518 (__WORDSIZE_TIME64_COMPAT32): New macro.
37519
d8d1017e
AJ
375202012-05-21 Andreas Jaeger <aj@suse.de>
37521
37522 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37523 only if [SHARED]. Add prototype for __wcschr_ia32.
37524
6c7fb145
RM
375252012-05-21 Roland McGrath <roland@hack.frob.com>
37526
37527 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37528 of %rbp unmolested in the jmp_buf while mangling the low bits.
37529 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37530 unmolested high bits of %rbp while demangling the low bits.
37531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37532
66274218
AJ
375332012-05-21 Andreas Jaeger <aj@suse.de>
37534
07c58f8f
AJ
37535 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37536 * sunrpc/svc_simple.c: Use it for registerrpc.
37537 * sunrpc/xcrypt.c: Use it for passwd2des.
37538
66274218
AJ
37539 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37540
61f65140
L
375412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37542
37543 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37544 Don't define if [__SYSCALL_WORDSIZE != 32].
37545 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37546 New macro.
37547
5fefb436
AJ
375482012-05-21 Bruno Haible <bruno@clisp.org>
37549 Andreas Jaeger <aj@suse.de>
37550
37551 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37552 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37553 inptr and inend for must_buffer_ch.
37554 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37555 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37556 * stdio-common/Makefile (tests): Remove bug15.
37557 (bug15-ENV): Remove macro.
37558 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37559 anymore.
37560
d8e272ab
AJ
375612012-05-19 Andreas Jaeger <aj@suse.de>
37562 Roland McGrath <roland@hack.frob.com>
37563
37564 * manual/contrib.texi: Completely rewritten. It contains now an
37565 alphabetical list of contributors and their contributions.
37566
4a56a162
RH
375672012-05-21 Richard Henderson <rth@twiddle.net>
37568
37569 * misc/getauxval.c (__getauxval): Use unsigned long int.
37570 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37571 (getauxval): Use unsigned long int.
37572
d024d23c
L
375732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37574
37575 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37576
cbc00a03
RM
375772012-05-21 Roland McGrath <roland@hack.frob.com>
37578
37579 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37580 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37581 __alignof__ (long double).
37582
478143fa
AZ
375832012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37584
37585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37586
c7683a6d
RH
375872012-05-20 Richard Henderson <rth@twiddle.net>
37588
37589 * misc/getauxval.c: New file.
37590 * misc/sys/auxv.h: New file.
37591 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37592 (routines): Add getauxval.
37593 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37594 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37595 * elf/dl-sysdep.c (_dl_auxv): Remove.
37596 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37597 * elf/dl-support.c (_dl_auxv): New variable.
37598 (_dl_aux_init): Initialize it.
37599 * manual/startup.texi (Auxiliary Vector): New node.
37600 * sysdeps/generic/bits/hwcap.h: New file.
37601 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37602 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37603 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37604 * sysdeps/sparc/sysdep.h: ... here. Include it.
37605 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37606 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37608 Update.
c7683a6d
RH
37609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37612 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37617
a6f1845d
AZ
376182012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37619
37620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37621
cbcbe830
DM
376222012-05-19 David S. Miller <davem@davemloft.net>
37623
37624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37625
e0b16cc2
JM
376262012-05-19 Joseph Myers <joseph@codesourcery.com>
37627
37628 [BZ #14123]
37629 * math/s_ccosh.c: Include <float.h>
37630 (__ccosh): Avoid internal overflow calculating sinh and cosh
37631 values before multiplying by sin and cos values.
37632 * math/s_ccoshf.c: Likewise.
37633 * math/s_ccoshl.c: Likewise.
37634 * math/s_csin.c: Likewise.
37635 * math/s_csinf.c: Likewise.
37636 * math/s_csinl.c: Likewise.
37637 * math/s_csinh.c: Likewise.
37638 * math/s_csinhf.c: Likewise.
37639 * math/s_csinhl.c: Likewise.
37640 * math/libm-test.inc (ccos_test): Add more tests.
37641 (ccosh_test): Likewise.
37642 (csin_test): Likewise.
37643 (csinh_test): Likewise.
37644 * sysdeps/i386/fpu/libm-test-ulps: Update.
37645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37646
6ad13e08
L
376472012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37648
f66f0ce8
L
37649 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37650 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37651
6ad13e08
L
37652 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37653
b1d072a7
JM
376542012-05-19 Joseph Myers <joseph@codesourcery.com>
37655
37656 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37657 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37658 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37659 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37660 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37661 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37662 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37663 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37664 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37665 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37666 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37667 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37668 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37669 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37670 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37671 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37672 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37673 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37674 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37675 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37676 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37677 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37678 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37679 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37680 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37681 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37682 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37683 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37684 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37685 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37686 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37687
9eae47cb
AJ
376882012-05-18 Andreas Jaeger <aj@suse.de>
37689
37690 * csu/.gitignore: Delete.
37691
bb07f69f
L
376922012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37693
37694 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37695 (timex): Use __syscall_slong_t.
37696
e6bdb741
AJ
376972012-05-18 Andreas Jaeger <aj@suse.de>
37698 Carlos O'Donell <carlos_odonell@mentor.com>
37699
37700 * manual/install.texi (Configuring and compiling): Update
37701 description about files modified in the source directory.
d6c33fda 37702 * INSTALL: Regenerated.
e6bdb741 37703
1b74487e
L
377042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37705
37706 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37707 value. Use "or" to set return value to -1.
37708 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37709 negate return value.
37710
a88b64b9
TMQMF
377112012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37712
57f41c40
AS
37713 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37714 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37715 failure if the compiler has Graphite support disabled.
37716 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37717 Likewise.
57f41c40
AS
37718 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37719 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37720 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37721 Likewise.
37722
3707636e
L
377232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37724
610b8622
L
37725 * sysdeps/x86_64/x32/_itoa.h: New file.
37726
7cd195df
L
37727 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37728 getdents system call only if kernel and user dirents have the
37729 same d_ino and d_off.
37730
94b07d20
L
37731 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37732 LLONG_MAX != LONG_MAX.
37733 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37734 (_fitoa_word): Likewise.
37735
18298070
L
37736 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37737 years.
37738 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37739 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37740 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37741
553c7ea4
L
37742 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37743 include <bits/wordsize.h>. Check __x86_64__ instead of
37744 __WORDSIZE.
37745 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37746 if __x86_64__ is defined. Use anonymous union on fpstate.
37747
3707636e
L
37748 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37749 anonymous union.
37750
b53ef01a
AS
377512012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37752
37fb1dc0
AS
37753 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37754 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37755 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37756 Refer to _rtld_local_ro instead of _rtld_global_ro.
37757 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37758 Likewise.
37759 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37760 Likewise.
37761 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37762 Likewise.
37763 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37764 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37765 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37766
b53ef01a
AS
37767 * sysdeps/powerpc/powerpc32/dl-machine.c
37768 (__elf_machine_runtime_setup) [PROF]: Don't reference
37769 _dl_prof_resolve.
37770
7a185db2
AJ
377712012-05-18 Andreas Jaeger <aj@suse.de>
37772
37773 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37774 function only available for GCCs before 3.4 since GCC 3.4
37775 introduced a builtin.
37776 (lrint): Likewise.
37777 (llrintf): Likewise.
37778 (llrint): Likewise.
37779 (fmaxf): Likewise.
37780 (fmax): Likewise.
37781 (fminf): Likewise.
37782 (fmin): Likewise.
37783 (rint): Likewise.
37784 (rintf): Likewise.
37785 (nearbyint): Likewise.
37786 (nearbyintf): Likewise.
37787 (ceil): Likewise.
37788 (ceilf): Likewise.
37789 (floor): Likewise.
37790 (floorf): Likewise.
37791
3e5aef87
L
377922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37793
428bd707
L
37794 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37795 on both fields and cast pointer to __syscall_ulong_t.
37796
3e5aef87
L
37797 * bits/types.h (__fsword_t): New type.
37798 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37799 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37800 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37801 (__FSWORD_T_TYPE): Likewise.
37802 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37803 (__FSWORD_T_TYPE): Likewise.
37804 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37805 (__FSWORD_T_TYPE): Likewise.
37806 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37807 (__FSWORD_T_TYPE): Likewise.
37808 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37809 __SWORD_TYPE with __fsword_t.
37810 (statfs64): Likewise.
37811
1ba7c3dc
DM
378122012-05-17 David S. Miller <davem@davemloft.net>
37813
37814 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37815
59910343
AJ
378162012-05-17 Andreas Jaeger <aj@suse.de>
37817
37818 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37819 warning.
37820
2e4c1e9e
L
378212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37822
37823 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37824
de7f5ce7
AJ
378252012-05-17 Andreas Jaeger <aj@suse.de>
37826
37827 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37828 when it is used.
37829
286abc3d
CM
378302012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37831
37832 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37833
477cc68e
L
378342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37835
37836 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37837 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37838
1a0994f5
CD
378392012-05-17 Andreas Jaeger <aj@suse.de>
37840 Carlos O'Donell <carlos_odonell@mentor.com>
37841
37842 [BZ #14059]
37843 * sysdeps/x86_64/multiarch/init-arch.h
37844 (bit_YMM_Usable): Rename to...
37845 (bit_AVX_Usable): ... this.
37846 (bit_FMA4_Usable): New macro.
37847 (bit_XMM_state): New macro.
37848 (bit_YMM_state): New macro.
37849 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37850 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37851 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37852 (CPUID_OSXSAVE): New macro.
37853 (CPUID_AVX): New macro.
37854 (CPUID_FMA4): New macro.
37855 (index_YMM_Usable): Rename to...
37856 (index_AVX_Usable): ... this.
37857 (HAS_AVX): Use HAS_ARCH_FEATURE.
37858 (HAS_FMA4): Likewise.
37859 (HAS_YMM_USABLE): Remove.
37860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37861 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37862 are present.
37863 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37864 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37865 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37866 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37867 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37868
0af797de
CM
378692012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37870
37871 * math/libm-test.c: Support platforms without multiple rounding modes.
37872 * math/bug-nextafter.c: Support platforms without FP exceptions.
37873 * math/bug-nexttoward.c: Likewise.
37874 * math/test-fenv.c: Likewise.
37875 * math/test-misc.c: Likewise.
37876 * stdlib/bug-getcontext.c: Likewise.
37877
e39745ff
AJ
378782012-05-17 Andreas Jaeger <aj@suse.de>
37879
37880 * manual/examples/search.c (critter_cmp): Change signature to
37881 avoid warnings.
37882 * manual/string.texi (Collation Functions): Likewise.
37883
48970aba
L
378842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37885
37886 * bits/types.h: Fold copyright years.
37887 * bits/typesizes.h: Likewise.
37888 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37889 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37892 * time/time.h: Likewise.
37893
bedee953
PP
378942012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37895
37896 [BZ #208]
37897 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37898 in instead of returning them. Return void.
37899 (__libc_mallinfo): Accumulate over all arenas.
37900 (__malloc_stats): Adjust for change in int_mallinfo interface.
37901
61653dfb
RM
379022012-05-16 Roland McGrath <roland@hack.frob.com>
37903
30b99d79
RM
37904 [BZ #10375]
37905 * configure.in (NM): Add AC_CHECK_TOOL for it.
37906 (libc_extra_cflags): New substituted variable.
37907 Check for -fstack-protector being used implicitly.
37908 * configure: Regenerated.
37909 * config.make.in (config-extra-cflags): New variable,
37910 gets @libc_extra_cflags@.
37911 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37912
61653dfb
RM
37913 [BZ #10375]
37914 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37915 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37916 * configure: Regenerated.
37917 * config.make.in (CPPUNDEFS): New substituted variable.
37918 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37919 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37920 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37921
661768bb
L
379222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37923
37924 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37925 (mq_attr): Use __syscall_slong_t.
37926
d4261567
L
379272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37928
37929 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37930 Check __x86_64__ instead of __WORDSIZE.
37931 (_STAT_VER_LINUX): Likewise.
37932 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37933 __syscall_ulong_t and __syscall_slong_t.
37934 (stat64): Likewise.
37935
cf3ff365
L
379362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37937
37938 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37939
76cf3e4d
L
379402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37941
37942 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37943
a637753a
L
379442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37945
37946 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37947 __syscall_ulong_t.
37948
d5e05119
L
37949 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37950 include <bits/wordsize.h>. Check __x86_64__ instead of
37951 __WORDSIZE.
37952 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37953 defined.
37954 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37955
f62ee380
L
37956 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37957 include <bits/wordsize.h>. Check __x86_64__ instead of
37958 __WORDSIZE.
37959 (user_regs_struct): Use "__extension__ unsigned long long"
37960 instead of "unsigned long" if __x86_64__ is defined.
37961 (user): Likewise. Pad after pointer field if __ILP32__ is
37962 defined.
37963
4e124ced
JM
379642012-05-16 Joseph Myers <joseph@codesourcery.com>
37965
6a3951a0
JM
37966 * configure.in (makeinfo): Require version 4.5 or later. Allow
37967 versions 5 to 9.
37968 * configure: Regenerated.
37969 * manual/install.texi (texinfo): Increase version requirement to
37970 4.5 or later.
37971 * INSTALL: Regenerated.
37972
4e124ced
JM
37973 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37974
953ca31a
L
379752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37976
37977 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37978
617aca05
L
37979 * sysdeps/x86_64/x32/ffs.c: New file.
37980
5762f7ae
L
37981 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37982 __syscall_ulong_t.
37983 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37984 defined. Use __syscall_ulong_t.
37985 (shminfo): Use __syscall_ulong_t.
37986 (shm_info): Likewise.
37987
a26b6856
L
37988 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37989 __syscall_ulong_t.
37990
cb2b9ef7
L
37991 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37992 <bits/wordsize.h>.
37993 (msgqnum_t): Use __syscall_ulong_t.
37994 (msglen_t): Likewise.
37995 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37996 __syscall_ulong_t.
37997
34683bb0
L
37998 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37999 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38000
84a68786
L
38001 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38002
48baa5f1
L
38003 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38004 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38005
180be88b
L
38006 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38007 __syscall_slong_t.
38008
5e90c8ad
L
38009 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38010 include <bits/wordsize.h>. Check __x86_64__ instead of
38011 __WORDSIZE.
38012
23dfb58b
L
38013 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38014 "unsigned long long int" if __x86_64__ is defined.
38015 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38016
ce5d54b0
L
38017 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38018 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38019 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38020
13dc9eac
L
38021 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38022 <stdint.h>.
38023 (GET_PC): Cast to uintptr_t first.
38024 (GET_FRAME): Likewise.
38025 (GET_STACK): Likewise.
38026
a7895d15
L
38027 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38028 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38029 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38030 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38031 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38032 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38033 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38034 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38035 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38036 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38037 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38038 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38039 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38040 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38041 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38042 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38043 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38044 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38045 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38046 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38047 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38048 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38049 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38050 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38051 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38052 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38053 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38054 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38055 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38056
656416c9
AS
380572012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38058
5bd66283
AS
38059 * Makerules (+depfiles): Also collect depfiles from .oS in
38060 $(extra-objs).
38061 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38062 .oS, $(libnldbl-routines)).
38063
656416c9
AS
38064 * Makerules (native-compile-mkdep-flags): Define.
38065 * sunrpc/Makefile (extra-objs): Add $(addprefix
38066 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38067 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38068 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38069 calling $(make-target-directory).
38070
a46f2169
L
380712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38072
38073 * bits/types.h (__snseconds_t): Removed.
38074 * time/time.h (struct timespec): Replace __snseconds_t with
38075 __syscall_slong_t.
38076 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38077 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38078 Likewise.
38079 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38080 (__SNSECONDS_T_TYPE): Likewise.
38081 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38082 (__SNSECONDS_T_TYPE): Likewise.
38083 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38084 (__SNSECONDS_T_TYPE): Likewise.
38085
6af6528b
L
380862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38087
38088 * sysdeps/mach/hurd/bits/typesizes.h
38089 (__SYSCALL_SLONG_TYPE): New macro.
38090 (__SYSCALL_ULONG_TYPE): Likewise.
38091
de986b56
L
380922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38093
38094 * bits/types.h (__syscall_slong_t): New type.
38095 (__syscall_ulong_t): Likewise.
38096
38097 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38098 (__SYSCALL_ULONG_TYPE): Likewise.
38099 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38100 (__SYSCALL_SLONG_TYPE): Likewise.
38101 (__SYSCALL_ULONG_TYPE): Likewise.
38102 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38103 (__SYSCALL_SLONG_TYPE): Likewise.
38104 (__SYSCALL_ULONG_TYPE): Likewise.
38105 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38106 (__SYSCALL_SLONG_TYPE): Likewise.
38107 (__SYSCALL_ULONG_TYPE): Likewise.
38108
85736dc7
L
381092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38110
38111 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38112 Add sigaltstack-offsets.sym.
38113 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38114 <sigaltstack-offsets.h>.
38115 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38116 longjmp_msg pointer.
38117 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38118 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38119 signal stack.
38120 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38121
cc03b296
JM
381222012-05-15 Joseph Myers <joseph@codesourcery.com>
38123
a9538892
JM
38124 * elf/stackguard-macros.h: Remove file.
38125 * sysdeps/generic/stackguard-macros.h: New file.
38126 * sysdeps/i386/stackguard-macros.h: Likewise.
38127 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38128 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38129 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38130 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38131 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38132 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38133 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38134 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38135 <elf/stackguard-macros.h>.
38136
cc03b296
JM
38137 [BZ #14109]
38138 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38139 __aligned__ in attribute.
38140 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38141 (gregset_t): Likewise.
38142
93171016
L
381432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38144
38145 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38146 * sysdeps/x86_64/64/Implies-after: Here. New file.
38147 * sysdeps/x86_64/x32/Implies-after: New file.
38148
d86813a0
L
381492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38150
38151 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38152 and access return value for _dl_profile_fixup. Use R10_LP to
38153 load frame size.
38154
2953ec75
L
381552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38156
38157 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38158
3b550e9e
L
381592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38160
38161 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38162 * sysdeps/x86_64/x32/sysdep.h: New file.
38163
eda41706
L
381642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38165
38166 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38167 * sysdeps/x86_64/setjmp.S: Likewise.
38168
9ea01d93
AZ
381692012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38170
38171 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38172 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38173 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38174 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38175 remove unused global constant.
38176
02a91938
CM
381772012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38178
38179 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38180 include of <not-cancel.h>.
38181
6540185f
RM
381822012-05-15 Roland McGrath <roland@hack.frob.com>
38183
38184 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38185
509072a0
AJ
381862012-05-15 Jeff Law <law@redhat.com>
38187 Andreas Jaeger <aj@suse.de>
38188
38189 [BZ #13594]
38190 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38191 out from...
38192 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38193 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38194 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38195 code changing __hst_map_handle.map.
38196
ba75122d
RM
381972012-05-15 Roland McGrath <roland@hack.frob.com>
38198
38199 * configure.in (sysnames): Look for Implies-before and Implies-after
38200 files.
38201 * configure: Regenerated.
38202
890d8bd8
L
382032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38204
38205 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38206 8-byte data alignment with LP_SIZE alignment.
38207
f6ee6623
L
382082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38209
38210 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38211 into R10_LP.
38212
ea2626f6
L
382132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38214
38215 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38216
085f715e
L
382172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38218
38219 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38220 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38221 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38222 Likewise.
38223 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38224
be8498fc
L
382252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38226
38227 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38228 (stackinfo_sub_sp): Likewise.
38229
70bc83b9
L
382302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38231
38232 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38233 RAX_LP.
38234
9bc0b730
L
382352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38236
38237 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38238 into R*_LP.
38239
6d2850e7
L
382402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38241
38242 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38243 sizes into R*_LP.
38244
3cb84561
L
382452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38246
38247 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38248
54e2ed81
L
382492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38250
38251 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38252 into R11_LP and load __x86_64_shared_cache_size_half into
38253 R8_LP.
38254
8a17f349
L
382552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38256
38257 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38258 R8_LP.
38259
777b1eea
AZ
382602012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38261
38262 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38263 logb for POWER7.
38264 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38265 logbf for POWER7.
38266 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38267 logbl for POWER7.
38268 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38269 powerpc32/power7/fpu/s_logb.c via #include.
38270 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38271 powerpc32/power7/fpu/s_logbf.c via #include.
38272 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38273 powerpc32/power7/fpu/s_logbl.c via #include.
38274
d20d4ac2
JM
382752012-05-15 Joseph Myers <joseph@codesourcery.com>
38276
38277 * README.libm: Remove file.
38278
6cdef1ab
L
382792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38280
38281 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38282 count for x32. Use R*_LP and omit operand-size suffix.
38283
0b254d8f
L
382842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38285
38286 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38287 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38288 * sysdeps/x86_64/x32/shlib-versions: New file.
38289
ceb809dc
RM
382902012-05-14 Roland McGrath <roland@hack.frob.com>
38291
38292 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38293 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38294 Use _dl_fatal_printf instead.
38295
37f1abd4
JM
382962012-05-14 Joseph Myers <joseph@codesourcery.com>
38297
38298 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38299 set if not set by the user. Do not allow for being unset.
38300 * sysdeps/unix/sysv/linux/configure: Regenerated.
38301
11de3a33
L
383022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38303
38304 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38305 the `q' suffix from lea and replace .quad with ASM_ADDR.
38306
e02f153a
L
383072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38308
38309 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38310 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38311 instead of $17.
38312 (PTR_DEMANGLE): Likewise.
38313
520ae0fd
L
383142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38315
38316 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38317 (LP_OP): Likewise.
38318 (ASM_ADDR): Likewise.
38319 (RAX_LP): Likewise.
38320 (RBP_LP): Likewise.
38321 (RBX_LP): Likewise.
38322 (RCX_LP): Likewise.
38323 (RDI_LP): Likewise.
38324 (RSI_LP): Likewise.
38325 (RSP_LP): Likewise.
38326 (R8_LP): Likewise.
38327 (R9_LP): Likewise.
38328 (R10_LP): Likewise.
38329 (R10_LP): Likewise.
38330 (R11_LP): Likewise.
38331 (R12_LP): Likewise.
38332 (R13_LP): Likewise.
38333 (R14_LP): Likewise.
38334 (R15_LP): Likewise.
38335
b985be81
L
383362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38337
38338 * sysdeps/x86_64/x32/dl-machine.h: New file.
38339
6a4888ff
AJ
383402012-05-14 Andreas Jaeger <aj@suse.de>
38341
38342 * manual/Makefile (subdir): Remove export of subdir.
38343 (all): Remove target.
38344 (.PHONY): Remove all from list.
38345 (mkinstalldirs): Remove.
38346 (.PHONY): Remove installdirs from list.
38347 ($(inst_infodir)/libc.info): Use make-target-directory.
38348 (installdirs): Remove.
38349 (subdir_%): Remove.
38350 (glibc-targets): Remove.
38351 (lib): Remove.
38352 (stubs): Remove.
38353 ($(objpfx)stubs ../po/manual.pot): Remove.
38354 ($(objpfx)stamp%): Remove.
38355 (make-target-directory): Remove.
38356 (subdir_install): Remove.
38357 (routines): Remove.
38358 (aux): Remove.
38359 (sources): Remove.
38360 (objects): Remove.
38361 (headers): Remove.
38362
38363 [BZ #13750]
38364 * manual/.gitignore: Remove, it's not needed anymore.
38365 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38366 all files in it.
38367 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38368 directory.
38369 (texis): Renamed to $(objpfx)texis.
38370 (texis-path): New, contains path to generated files.
38371 (chapters.%): Use texis-path for complete path, add extra argument
38372 libc-texinfo.sh.
38373 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38374 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38375 (summary,texi, stamp-summary): Use complete path of
38376 files. Generate files in build dir.
38377 (dir-add.texi): Build in build dir.
38378 (libm-err.texi,stamp-libm-err): Likewise.
38379 (version.texi, stamp-version): Likewise.
38380 (.%c.texi): Likewise.
38381 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38382 (mostlyclean): Remove target.
38383 (realclean): Remove target.
38384 (generated): Add new variable with contents from mostlyclean and
38385 realclean, remove entries duplicated in common-mostlyclean, add
38386 stamp-libm-err and stamp-version.
38387 (generated-dirs): Add libc directory.
38388 ($(inst_infodir)/libc.info): Install files from build dir.
38389
38390 * manual/install.texi (Configuring and compiling): Adjust since
38391 the info files are not part of the tar ball anymore.
38392
7ac77294
AJ
383932012-05-14 Andreas Jaeger <aj@suse.de>
38394
38395 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38396 variable.
38397
ffb7875d
JM
383982012-05-14 Joseph Myers <joseph@codesourcery.com>
38399
38400 [BZ #13717]
38401 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38402 to 2.2.0 where earlier.
38403 * sysdeps/unix/sysv/linux/configure: Regenerated.
38404 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38405 Remove conditional code.
38406 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38407 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38408 Remove conditional code.
38409 [!__NR_lchown]: Likewise.
38410 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38411 [__NR_lchown]: Likewise.
38412 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38413 comment referencing __ASSUME_LCHOWN_SYSCALL.
38414 * sysdeps/unix/sysv/linux/i386/sigaction.c
38415 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38416 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38417 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38418 Remove conditional code.
38419 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38420 (__protocol_available): Remove #if 0 code.
38421 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38422 conditional code.
38423 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38424 * sysdeps/unix/sysv/linux/kernel-features.h
38425 (__ASSUME_GETCWD_SYSCALL): Don't define.
38426 (__ASSUME_REALTIME_SIGNALS): Likewise.
38427 (__ASSUME_PREAD_SYSCALL): Likewise.
38428 (__ASSUME_PWRITE_SYSCALL): Likewise.
38429 (__ASSUME_POLL_SYSCALL): Likewise.
38430 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38431 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38432 non-SPARC.
38433 (__ASSUME_SIOCGIFNAME): Don't define.
38434 (__ASSUME_MSG_NOSIGNAL): Likewise.
38435 (__ASSUME_SENDFILE): Define unconditionally.
38436 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38437 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38438 conditional code.
38439 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38440 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38441 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38442 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38443 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38444 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38445 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38447 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38448 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38450 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38451 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38453 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38454 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38456 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38457 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38459 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38460 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38462 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38463 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38465 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38466 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38468 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38469 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38470 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38471 Remove conditional code.
38472 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38473 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38474 Remove conditional code.
38475 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38476 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38477 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38478 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38479 Remove conditional code.
38480 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38481 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38482 Remove conditional code.
38483 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38484 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38485 Remove conditional code.
38486 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38487 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38488 Remove conditional code.
38489 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38490 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38491 Remove conditional code.
38492 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38493 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38494 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38495 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38496 * sysdeps/unix/sysv/linux/sigaction.c
38497 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38498 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38499 * sysdeps/unix/sysv/linux/sigpending.c
38500 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38501 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38502 * sysdeps/unix/sysv/linux/sigprocmask.c
38503 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38504 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38505 * sysdeps/unix/sysv/linux/sigsuspend.c
38506 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38507 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38508 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38509 (__libc_missing_rt_sigs): Remove.
38510 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38511 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38512 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38513 Remove conditional code.
38514 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38515 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38516 return 1.
38517 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38518 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38519 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38520 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38521
1bfb7291
AJ
385222012-05-14 Andreas Jaeger <aj@suse.de>
38523
caae5a81
AJ
38524 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38525 it's not used in glibc.
38526 (__coshm1): Likewise.
38527 (__acosh1p): Likewise.
38528 (__sgn): Likewise.
38529
1bfb7291
AJ
38530 * manual/string.texi (Copying and Concatenation): Add missing
38531 variable in concat example.
38532 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38533
c044d724
L
385342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38535
144c5467 38536 [BZ #14103]
c044d724
L
38537 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38538 __builtin_clzl with __builtin_clzll.
38539
2523c62b
L
385402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38541
38542 [BZ #14104]
38543 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38544 libc_freeres_ptr.
38545
d7bb4c42
LD
385462012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38547
38548 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38549 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38550 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38551 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38552
9dc4e1fb
MF
385532012-05-14 Mike Frysinger <vapier@gentoo.org>
38554
38555 * NEWS: Update ia64 info.
38556
c7df0112
AS
385572012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38558
38559 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38560 used as bcopy.
38561
dc70356c
TS
385622012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38563
38564 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38565 * sysdeps/unix/syscalls.list (dup3): Likewise.
38566 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38567 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38568
9fb1a21f
L
385692012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38570
38571 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38572 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38573
4822a2a5
L
385742012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38575
38576 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38577 thread pointer.
38578 (TLS_IE): Use mov/add instead of movq/addq to load thread
38579 pointer.
38580 (TLS_GD_PREFIX): New.
38581 (TLS_GD): Use it.
38582
842b81d6
DM
385832012-05-11 David S. Miller <davem@davemloft.net>
38584
38585 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38586 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38587 (_FPU_SETCW): Likewise.
38588
1cf463cd
L
385892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38590
38591 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38592 is 32-byte aligned.
38593
60cc4a18
AS
385942012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38595
38596 [BZ #11837]
38597 * iconvdata/gb18030.c: Update tables.
38598 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38599 characters specially.
38600 (BODY for TO_LOOP): Add encoding of missing ranges.
38601
febb44a4
TS
386022012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38603
38604 [BZ #13673]
38605 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38606 * sysdeps/mach/hurd/dup3.c: Likewise.
38607 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38608 * sysdeps/powerpc/memmove.c:: Likewise.
38609
0a10fb9e
L
386102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38611
38612 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38613 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38614
df8a552f
L
386152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38616
38617 * elf/elf.h (R_X86_64_RELATIVE64): New.
38618 (R_X86_64_NUM): Updated.
38619 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38620 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38621 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38622 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38623 tst-quad1pie tst-quad2pie
38624 (modules-names): Add tst-quadmod1 tst-quadmod2.
38625 ($(objpfx)tst-quad1): New dependency.
38626 ($(objpfx)tst-quad2): Likewise.
38627 ($(objpfx)tst-quad1pie): Likewise.
38628 ($(objpfx)tst-quad2pie): Likewise.
38629 * sysdeps/x86_64/tst-quad1.c: New file.
38630 * sysdeps/x86_64/tst-quad1pie.c: New file.
38631 * sysdeps/x86_64/tst-quad2.c: Likewise.
38632 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38633 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38634 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38635 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38636 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38637
f34d6f84
ST
386382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38639
f42d41d1
ST
38640 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38641 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38642 * streams/stropts.h (t_scalar_t): Define type.
38643
3c3571fc
ST
38644 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38645 (_PATH_PRESERVE): Set to "/var/lib".
38646 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38647
61f06bd3
ST
38648 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38649 instead of int.
38650
918d4d71
ST
38651 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38652 if __dir_mkfile succeeded.
38653
f34d6f84
ST
38654 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38655 checking for _hurd_dtablesize. Unlock it right after having
38656 finished _hurd_dtable allocation.
38657
10589b4a
TS
386582012-05-10 Thomas Schwinge <thomas@schwinge.name>
38659
674cdbc7
TS
38660 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38661 * sysdeps/mach/hurd/configure: Regenerated.
38662 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38663 special-casing to...
38664 * sysdeps/gnu/configure.in: ... this new file.
38665 * sysdeps/unix/sysv/linux/configure: Regenerated.
38666 * sysdeps/gnu/configure: New generated file.
38667
8e41b99f
TS
38668 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38669 for Linux: use nsec instead of usec, as well as:
38670 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38671 members of type struct timespec.
38672 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38673 New macros.
38674 (struct stat64): Likewise.
38675 (_STATBUF_ST_NSEC): New macro.
38676 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38677
10589b4a
TS
38678 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38679 __strtoul_internal rather than strtoul.
38680
63643c85
PT
386812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38682
38683 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38684 and reject them.
38685
3faebe6a
ST
386862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38687
38688 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38689 which preserves existing values.
38690 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38691
c6474b07
PT
386922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38693
38694 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38695 TIMEOUT values. Return EINVAL for NFDS values either negative or
38696 greater than FD_SETSIZE.
38697
1043890b
ST
386982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38699
38700 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38701 allocated, call __vm_protect to finish enabling the existing space, and
38702 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38703 allocate the remainder.
38704
37ed8b9b
PT
387052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38706
38707 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38708 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38709
db653660
ST
387102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38711
37ed8b9b
PT
38712 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38713 sysdeps/mach/hurd/readlink.c.
b29d4053 38714
db653660
ST
38715 * posix/tst-sysconf.c (posix_options): Only use
38716 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38717 _POSIX_SYNCHRONIZED_IO when they are defined
38718 * sysdeps/mach/hurd/bits/posix_opt.h:
38719 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38720 (_XOPEN_REALTIME): Undefine macro.
38721 (_XOPEN_REALTIME_THREADS): Undefine macro.
38722 (_XOPEN_SHM): Undefine macro.
38723 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38724 macro to -1.
38725 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38726 macro to -1.
38727 (_POSIX_ASYNC_IO): Undefine macro.
38728 (_POSIX_PRIORITIZED_IO): Undefine macro.
38729 (_POSIX_SPIN_LOCKS): Define macro to -1.
38730
ee16e894
ST
38731 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38732 SA_NODEFER, SA_RESETHAND.
38733 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38734 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38735 F_DUPFD_CLOEXEC.
38736
6103ae3b
TS
387372012-05-10 Thomas Schwinge <thomas@schwinge.name>
38738
38739 * elf/Makefile (pldd-modules): Define unconditionally.
38740
80b4e5f3
TS
387412012-05-10 Thomas Schwinge <thomas@schwinge.name>
38742
38743 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38744
edadcbd6
ST
387452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38746
38747 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38748 Return ENOENT when name is empty.
38749 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38750
80694780
TS
387512012-05-10 Thomas Schwinge <thomas@schwinge.name>
38752
1792c087
TS
38753 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38754
80694780
TS
38755 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38756
6b645f0d
ST
387572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38758
80694780
TS
38759 Fix mlock in all cases except non-readable pages.
38760 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38761 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38762
6b645f0d
ST
38763 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38764 (__mkdir): When path is `/', just fail with EEXIST.
38765 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38766
e468f8a3
TS
387672012-05-10 Thomas Schwinge <thomas@schwinge.name>
38768
38769 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38770 <sys/uio.h> (for writev).
38771 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38772 and <sys/param.h> (for MIN).
38773
a4186cff
PT
387742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38775
38776 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38777 REQUESTED_TIME. Properly set the remaining time and return EINTR
38778 if interrupted.
38779
510bbf14
TS
387802012-05-10 Thomas Schwinge <thomas@schwinge.name>
38781
38782 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38783 Depend on against $(link-rpcuserlibs).
38784
5d5722e8
ST
387852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38786
a4186cff
PT
38787 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38788 (__libc_stack_end): Do not use attribute_relro.
38789 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38790 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38791 to libthread-provided value.
a4186cff
PT
38792 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38793 attribute_relro.
5d5722e8 38794
37233df9
TS
387952012-05-10 Thomas Schwinge <thomas@schwinge.name>
38796
be971a2b
TS
38797 [BZ #3748]
38798 * bits/libc-lock.h (__libc_once_get): New macro.
38799 * sysdeps/mach/bits/libc-lock.h: Likewise.
38800 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38801 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38802 instead of using implementation details.
38803
37233df9
TS
38804 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38805 * libio/freopen.c: Likewise.
38806 * libio/freopen64.c: Likewise.
38807 * misc/syslog.c: Likewise.
38808 * nscd/connections.c: Likewise.
38809 * nscd/netgroupcache.c: Likewise.
38810 * sysdeps/posix/getcwd.c: Likewise.
38811
38de94a5
RM
388122012-05-10 Roland McGrath <roland@hack.frob.com>
38813
38814 * math/w_ilogbf.c: Add #include <limits.h>.
38815
67530489
ST
388162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38817
a4186cff 38818 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
38819 path instead of returning without unlocking.
38820
67530489
ST
38821 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38822 immediate-write ioctls.
38823 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38824
5aa3a74a
TS
388252012-05-10 Thomas Schwinge <thomas@schwinge.name>
38826
18bad2ae
TS
38827 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38828 __builtin_frame_address instead of making assumptions about the
38829 location of the return address relative to DATA. Force early load of
38830 the return address.
38831 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38832 __builtin_frame_address.
38833
5aa3a74a
TS
38834 dup3 for GNU Hurd.
38835 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38836 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38837 implement dup3 and do some further code clean-ups.
38838 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38839 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38840
ecd0de9a
ST
388412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38842
cd9fa985
ST
38843 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38844
a4186cff
PT
38845 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38846 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38847 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38848 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38849 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38850 d->port.lock.
802ca5a5 38851
a4186cff
PT
38852 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38853 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38854 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 38855
bcf55240
TS
388562012-05-10 Thomas Schwinge <thomas@schwinge.name>
38857
6960eb42
TS
38858 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38859 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38860 definitions.
38861
eb43375f
TS
38862 accept4 for GNU Hurd.
38863 * include/sys/socket.h (__libc_accept4): New prototype.
38864 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38865 to implement __libc_accept4.
38866 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38867 __libc_accept4.
38868 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38869
bcf55240
TS
38870 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38871 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38872 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38873 signal-defines.sym.
38874
6178c55b
ST
388752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38876
a4186cff 38877 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 38878
6f080c2f
TS
388792012-05-10 Thomas Schwinge <thomas@schwinge.name>
38880
38881 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38882 assertion on O_CLOEXEC flag.
38883 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38884 * hurd/intern-fd.c: Likewise.
38885 * hurd/port2fd.c: Likewise.
38886
bcfe3a54
ST
388872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38888
38889 [BZ #3906]
38890 * bits/in.h (IPV6_PKTINFO): Define new macro.
38891 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38892
89c9aa49
AZ
388932012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38894
38895 [BZ #13954]
38896 [BZ #13955]
38897 [BZ #13956]
38898 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38899 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38900 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38901 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38902 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38903 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38904 * math/libm-test.inc (logb_test) : Additional logb tests.
38905
021db4be
AJ
389062012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38907 Andreas Jaeger <aj@suse.de>
38908
38909 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38910 * configure: Regenerated.
38911 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38912 * config.make.in (link-obsolete-rpc): New substituted variable.
38913 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38914 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38915 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38916 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38917 so that libc.a contains the symbols.
38918 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38919 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38920 * sunrpc/auth_none.c: Likewise.
38921 * sunrpc/auth_unix.c: Likewise.
38922 * sunrpc/authdes_prot.c: Likewise.
38923 * sunrpc/authuxprot.c: Likewise.
38924 * sunrpc/clnt_gen.c: Likewise.
38925 * sunrpc/clnt_perr.c: Likewise.
38926 * sunrpc/clnt_raw.c: Likewise.
38927 * sunrpc/clnt_simp.c: Likewise.
38928 * sunrpc/clnt_tcp.c: Likewise.
38929 * sunrpc/clnt_udp.c: Likewise.
38930 * sunrpc/clnt_unix.c: Likewise.
38931 * sunrpc/des_crypt.c: Likewise.
38932 * sunrpc/des_soft.c: Likewise.
38933 * sunrpc/get_myaddr.c: Likewise.
38934 * sunrpc/key_call.c: Likewise.
38935 * sunrpc/key_prot.c: Likewise.
38936 * sunrpc/netname.c: Likewise.
38937 * sunrpc/pm_getmaps.c: Likewise.
38938 * sunrpc/pm_getport.c: Likewise.
38939 * sunrpc/pmap_clnt.c: Likewise.
38940 * sunrpc/pmap_prot.c: Likewise.
38941 * sunrpc/pmap_prot2.c: Likewise.
38942 * sunrpc/pmap_rmt.c: Likewise.
38943 * sunrpc/publickey.c: Likewise.
38944 * sunrpc/rpc_cmsg.c: Likewise.
38945 * sunrpc/rpc_common.c: Likewise.
38946 * sunrpc/rpc_dtable.c: Likewise.
38947 * sunrpc/rpc_prot.c: Likewise.
38948 * sunrpc/rpc_thread.c: Likewise.
38949 * sunrpc/rtime.c: Likewise.
38950 * sunrpc/svc.c: Likewise.
38951 * sunrpc/svc_auth.c: Likewise.
38952 * sunrpc/svc_raw.c: Likewise.
38953 * sunrpc/svc_run.c: Likewise.
38954 * sunrpc/svc_tcp.c: Likewise.
38955 * sunrpc/svc_udp.c: Likewise.
38956 * sunrpc/svc_unix.c: Likewise.
38957 * sunrpc/svcauth_des.c: Likewise.
38958 * sunrpc/xcrypt.c: Likewise.
38959 * sunrpc/xdr.c: Likewise.
38960 * sunrpc/xdr_array.c: Likewise.
38961 * sunrpc/xdr_float.c: Likewise.
38962 * sunrpc/xdr_intXX_t.c: Likewise.
38963 * sunrpc/xdr_mem.c: Likewise.
38964 * sunrpc/xdr_rec.c: Likewise.
38965 * sunrpc/xdr_ref.c: Likewise.
38966 * sunrpc/xdr_sizeof.c: Likewise.
38967 * sunrpc/xdr_stdio.c: Likewise.
38968
b5c086a2
RM
389692012-05-10 Roland McGrath <roland@hack.frob.com>
38970
38971 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38972 change. Update copyright years.
38973
6d74dd09
JM
389742012-05-10 Joseph Myers <joseph@codesourcery.com>
38975
38976 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38977
28e72501
MK
389782012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38979 Joseph Myers <joseph@codesourcery.com>
38980 Paul Pluzhnikov <ppluzhnikov@google.com>
38981
38982 [BZ #14012]
38983 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38984 requiring rpcgen.
38985 [cross-compiling] (extra-libs): Likewise.
38986 [cross-compiling] (extra-libs-others): Likewise.
38987 [cross-compiling] (librpcsvc-routines): Likewise.
38988 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38989 [cross-compiling] (omit-deps): Likewise.
38990 (sunrpc-CPPFLAGS): New variable.
38991 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38992 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38993 (cross-rpcgen-objs): New variable.
38994 (extra-objs): Append $(cross-rpcgen-objs).
38995 ($(cross-rpcgen-objs)): New rule.
38996 ($(objpfx)cross-rpcgen): Likewise.
38997 (rpcgen-cmd): Define to use $(built-program-file). Expand
38998 comment.
38999 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39000 ($(objpfx)x%.stmp): Likewise.
39001 * sunrpc/proto.h [IS_IN_build] (_): Define.
39002 [IS_IN_build] (_libc_intl_domainname): Likewise.
39003
c8c59454
L
390042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39005
39006 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39007 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39008 and R_X86_64_TPOFF64.
39009
6f27cd16
JM
390102012-05-10 Joseph Myers <joseph@codesourcery.com>
39011
39012 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39013 sysdeps/unix/sysv/syscalls.list.
39014 (stime): Likewise.
39015 (utime): Likewise.
39016 * sysdeps/unix/sysv/syscalls.list: Remove file.
39017
02467e1c
PE
390182012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39019
39020 [BZ #3440]
39021 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39022 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39023 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39024 (__LC_IDENTIFICATION): Make these macros useful in #if
39025 expressions, as required by C99.
39026
da392631
AS
390272012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39028
39029 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39030 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39031 after this.
39032
8115f29b
L
390332012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39034
39035 * stdlib/longlong.h: Updated from GCC.
39036
bdd74070
AJ
390372012-05-09 Andreas Jaeger <aj@suse.de>
39038
edfe0dbe
AJ
39039 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39040 default is first entry.
39041 (run_mode): Set type.
39042 (main): Remove informal message about syslog.
39043 (options): Fix typo.
39044
bcfe3a54
ST
39045 [BZ #14053]
39046 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 39047 to asm.
bcfe3a54
ST
39048 (lrint): Likewise.
39049 (llrintf): Likewise.
39050 (llrint): Likewise.
39051 (rint): Likewise.
39052 (rintf): Likewise.
39053 (nearbyint): Likewise.
39054 (nearbyintf): Likewise.
bdd74070 39055
91d8d69e
AJ
390562012-05-09 Andreas Jaeger <aj@suse.de>
39057 Pedro Alves <palves@redhat.com>
39058
39059 * nscd/nscd.c (run_mode): Use enum.
39060 (main): Cleanup coding style issue.
39061
bb90b80b
AJ
390622012-05-09 Alexandre Oliva <aoliva@redhat.com>
39063 Andreas Jaeger <aj@suse.de>
39064
bcfe3a54
ST
39065 * nscd/nscd.c (go_background): Replaced with...
39066 (run_mode): ... this.
bb90b80b 39067 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
39068 (options): Add -F --foreground.
39069 (main): Implement it.
39070 (parse_opt): Parse it.
bb90b80b 39071
1a4b75a1
AJ
390722012-05-09 Andreas Jaeger <aj@suse.de>
39073
39074 [BZ #14083]
39075 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39076 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39077 -Wconversion warning.
39078 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39079 Likewise.
39080
b1cc2472
JM
390812012-05-09 Joseph Myers <joseph@codesourcery.com>
39082
39083 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39084 == 0.
39085 (LC_ALL): Use macro-int-constant.
39086 (LC_COLLATE): Likewise.
39087 (LC_CTYPE): Likewise.
39088 (LC_MESSAGES): Likewise.
39089 (LC_MONETARY): Likewise.
39090 (LC_NUMERIC): Likewise.
39091 (LC_TIME): Likewise.
39092 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39093 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39094 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39095 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39096 Specify type.
39097 [C99-based standards] (float_t): Expect type.
39098 [C99-based standards] (double_t): Expect type.
39099 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39100 type.
39101 [C99-based standards] (HUGE_VALL): Likewise.
39102 [C99-based standards] (INFINITY): Likewise.
39103 [C99-based standards] (NAN): Likewise.
39104 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39105 [C99-based standards] (FP_NAN): Likewise.
39106 [C99-based standards] (FP_NORMAL): Likewise.
39107 [C99-based standards] (FP_SUBNORMAL): Likewise.
39108 [C99-based standards] (FP_ZERO): Likewise.
39109 [C99-based standards] (FP_FAST_FMA): Use
39110 optional-macro-int-constant. Specify type. Require == 1.
39111 [C99-based standards] (FP_FAST_FMAF): Likewise.
39112 [C99-based standards] (FP_FAST_FMAL): Likewise.
39113 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39114 [C99-based standards] (FP_ILOGBNAN): Likewise.
39115 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39116 Specify type.
39117 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39118 [C99-based standards] (math_errhandling): Specify type.
39119 [ISO99 || ISO11] (signgam): Do not allow.
39120 [non-C99-based standards] (copysignf): Do not allow.
39121 [non-C99-based standards] (exp2f): Likewise.
39122 [non-C99-based standards] (log2f): Likewise.
39123 [non-C99-based standards] (modff): Allow.
39124 [non-C99-based standards] (erff): Do not allow.
39125 [non-C99-based standards] (erfcf): Likewise.
39126 [non-C99-based standards] (gammaf): Likewise.
39127 [non-C99-based standards] (hypotf): Likewise.
39128 [non-C99-based standards] (j0f): Likewise.
39129 [non-C99-based standards] (j1f): Likewise.
39130 [non-C99-based standards] (jnf): Likewise.
39131 [non-C99-based standards] (lgammaf): Likewise.
39132 [non-C99-based standards] (tgammaf): Likewise.
39133 [non-C99-based standards] (y0f): Likewise.
39134 [non-C99-based standards] (y1f): Likewise.
39135 [non-C99-based standards] (ynf): Likewise.
39136 [non-C99-based standards] (isnanf): Likewise.
39137 [non-C99-based standards] (acoshf): Likewise.
39138 [non-C99-based standards] (asinhf): Likewise.
39139 [non-C99-based standards] (atanhf): Likewise.
39140 [non-C99-based standards] (cbrtf): Likewise.
39141 [non-C99-based standards] (expm1f): Likewise.
39142 [non-C99-based standards] (ilogbf): Likewise.
39143 [non-C99-based standards] (log1pf): Likewise.
39144 [non-C99-based standards] (logbf): Likewise.
39145 [non-C99-based standards] (nextafterf): Likewise.
39146 [non-C99-based standards] (remainderf): Likewise.
39147 [non-C99-based standards] (rintf): Likewise.
39148 [non-C99-based standards] (scalbf): Likewise.
39149 [non-C99-based standards] (copysignl): Likewise.
39150 [non-C99-based standards] (exp2l): Likewise.
39151 [non-C99-based standards] (log2l): Likewise.
39152 [non-C99-based standards] (modfl): Allow.
39153 [non-C99-based standards] (erfl): Do not allow.
39154 [non-C99-based standards] (erfcl): Likewise.
39155 [non-C99-based standards] (gammal): Likewise.
39156 [non-C99-based standards] (hypotl): Likewise.
39157 [non-C99-based standards] (j0l): Likewise.
39158 [non-C99-based standards] (j1l): Likewise.
39159 [non-C99-based standards] (jnl): Likewise.
39160 [non-C99-based standards] (lgammal): Likewise.
39161 [non-C99-based standards] (tgammal): Likewise.
39162 [non-C99-based standards] (y0l): Likewise.
39163 [non-C99-based standards] (y1l): Likewise.
39164 [non-C99-based standards] (ynl): Likewise.
39165 [non-C99-based standards] (isnanl): Likewise.
39166 [non-C99-based standards] (acoshl): Likewise.
39167 [non-C99-based standards] (asinhl): Likewise.
39168 [non-C99-based standards] (atanhl): Likewise.
39169 [non-C99-based standards] (cbrtl): Likewise.
39170 [non-C99-based standards] (expm1l): Likewise.
39171 [non-C99-based standards] (ilogbl): Likewise.
39172 [non-C99-based standards] (log1pl): Likewise.
39173 [non-C99-based standards] (logbl): Likewise.
39174 [non-C99-based standards] (nextafterl): Likewise.
39175 [non-C99-based standards] (remainderl): Likewise.
39176 [non-C99-based standards] (rintl): Likewise.
39177 [non-C99-based standards] (scalbl): Likewise.
39178 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39179 [non-C99-based standards] (FP_*): Do not allow.
39180 [C99-based standards] (FP_*): Change to
39181 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39182 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39183 allow.
39184 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39185 (SIG_ERR): Likewise.
39186 [X/Open-based standards] (SIG_HOLD): Likewise.
39187 (SIG_IGN): Likewise.
39188 (SIGABRT): Use macro-int-constant. Specify type. Require
39189 positive value.
39190 (SIGFPE): Likewise.
39191 (SIGILL): Likewise.
39192 (SIGINT): Likewise.
39193 (SIGSEGV): Likewise.
39194 (SIGTER): Likewise.
39195 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39196 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39197 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39198 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39199 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39200 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39201 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39202 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39203 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39204 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39205 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39206 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39207 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39208 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39209 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39210 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39211 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39212 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39213 [X/Open-based standards] (SIGTRAP): Likewise.
39214 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39215 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39216 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39217 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39218 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39219 allow.
39220
b9f1922d
IW
392212012-05-08 Ian Wienand <ianw@vmware.com>
39222
39223 [BZ #14080]
39224 * time/tzset.c (__tzset_parse_tz): Update default rules for
39225 daylight time changes in the Energy Policy Act of 2005.
39226
1db86e88
AJ
392272012-05-09 Andreas Jaeger <aj@suse.de>
39228
39229 [BZ #13983]
39230 * elf/ldconfig.c (parse_conf): Change string to make clear that
39231 ldconfig only issued a warning if ld.so.conf does not exist.
39232
dee4a4e3
DM
392332012-05-08 David S. Miller <davem@davemloft.net>
39234
ee0db190
DM
39235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39236 movxtod instead of popping the value on the stack.
39237
dee4a4e3
DM
39238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39239
6a43ec98
CD
392402012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39241
39242 * config.h.in: Add HAVE_ARM_PCS_VFP.
39243
05c2c961
RMG
392442012-05-08 Roland Mc Grath <roland@hack.frob.com>
39245
bcfe3a54
ST
39246 [BZ #13979]
39247 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39248 checking but the checks are disabled for any reason.
05c2c961 39249
4b30f61a
L
392502012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39251
39252 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39253 and ELF64_R_TYPE with ELFW(R_TYPE).
39254
eee2bc67
JM
392552012-05-08 Joseph Myers <joseph@codesourcery.com>
39256
7ea5391a
JM
39257 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39258 (ulimit): Likewise.
39259
eee2bc67
JM
39260 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39261 (settimeofday): Likewise.
39262
abb66a67
MF
392632012-05-08 Mike Frysinger <vapier@gentoo.org>
39264
39265 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39266 a struct th_u2 inside the union, and move tu_block/tu_code into
39267 a new th_u3 union of tu_block/tu_code inside of that. Move
39268 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39269 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39270 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39271 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39272 (th_stuff): Change to th_u1.tu_stuff.
39273 (th_data): Define.
39274 (th_msg): Change to th_u1.th_u2.tu_data.
39275
7f18b530
DM
392762012-05-07 David S. Miller <davem@davemloft.net>
39277
05760585
DM
39278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39279
7f18b530
DM
39280 [BZ #14074]
39281 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39282 (SETUP_PIC_REG): Use it.
39283 (SETUP_PIC_REG_LEAF): Use it.
39284
495fd99f
JM
392852012-05-07 Joseph Myers <joseph@codesourcery.com>
39286
39287 [BZ #13885]
39288 [BZ #13923]
39289 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39290 USE_AS_EXPM1L.
39291 (EXPL_FINITE): Likewise.
39292 (FLDLOG): Likewise.
39293 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39294 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39295 e_expl.S.
39296 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39297 USE_AS_EXPM1L.
39298 (EXPL_FINITE): Likewise.
39299 (FLDLOG): Likewise.
39300 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39301 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39302 e_expl.S.
39303 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39304 test of -max_value argument for long double.
39305 * sysdeps/i386/fpu/libm-test-ulps: Update.
39306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39307
6693d694
DM
393082012-05-06 David S. Miller <davem@davemloft.net>
39309
39310 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39311 quad soft-float symbols whose references which are compiler
39312 generated.
39313 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39314
6c23e11c
JM
393152012-05-06 Joseph Myers <joseph@codesourcery.com>
39316
d8b82cad
JM
39317 [BZ #13884]
39318 [BZ #13914]
39319 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39320 USE_AS_EXP10L.
39321 (EXPL_FINITE): Likewise.
39322 (FLDLOG): Likewise.
39323 (c0): Likewise.
39324 (c1): Likewise.
39325 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39326 Adjust comments for base varying.
39327 (__expl_finite): Change alias to EXPL_FINITE.
39328 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39329 e_expl.S.
39330 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39331 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39332 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39333 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39334 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39335 USE_AS_EXP10L.
39336 (EXPL_FINITE): Likewise.
39337 (FLDLOG): Likewise.
39338 (c0): Likewise.
39339 (c1): Likewise.
39340 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39341 Adjust comments for base varying.
39342 (__expl_finite): Change alias to EXPL_FINITE.
39343 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39344 tests for bugs.
39345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39346
6c23e11c
JM
39347 [BZ #14064]
39348 * math/libm-test.inc (check_float_internal): Correct ulp
39349 calculation for subnormal expected results.
39350
29ba805c
AJ
393512012-05-06 Andreas Jaeger <aj@suse.de>
39352
39353 * Makeconfig (+math-flags): New, set to -frounding-math.
39354 (+cflags): Add +math-flags so that all of glibc gets compiled with
39355 it.
39356
39357 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39358
7b17aeda
JM
393592012-05-05 Joseph Myers <joseph@codesourcery.com>
39360
5779f134
JM
39361 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39362 Disable one test.
39363
41498f4d
JM
39364 [BZ #13787]
39365 [BZ #13922]
39366 [BZ #14036]
39367 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39368 (__ieee754_expl): Allow for and saturate large arguments.
39369 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39370 (u_threshold): Likewise.
39371 (__exp): Call __ieee754_exp before checking for overflow and
39372 underflow.
39373 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39374 (u_threshold): Likewise.
39375 (__expf): Call __ieee754_expf before checking for overflow and
39376 underflow.
39377 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39378 (u_threshold): Likewise.
39379 (__expl): Call __ieee754_expl before checking for overflow and
39380 underflow.
39381 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39382 (__ieee754_expl): Allow for and saturate large arguments.
39383 * math/libm-test.inc (exp_test): Add another test. Do not allow
39384 missing overflow exception on overflow.
39385 (expm1_test): Do not allow missing overflow exception on overflow.
39386
6698b8bf
JM
39387 * sysdeps/i386/fpu/e_expl.c: Move to ...
39388 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39389 rather than using inline asm.
39390 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39391 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39392 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39393
7b17aeda
JM
39394 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39395 (nice): Likewise.
39396 (poll): Likewise.
39397 (signal): Likewise.
39398 (time): Likewise.
39399 (times): Likewise.
39400
f7c85819
JM
394012012-05-04 Joseph Myers <joseph@codesourcery.com>
39402
39403 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39404 sysdeps/unix/common/syscalls.list.
39405 (fchmod): Likewise.
39406 (fchown): Likewise.
39407 (ftruncate): Likewise.
39408 (getrusage): Likewise.
39409 (gettimeofday): Likewise.
39410 (setpgid): Likewise.
39411 (setregid): Likewise.
39412 (setreuid): Likewise.
39413 (sigaction): Likewise.
39414 (truncate): Likewise.
39415 (vhangup): Likewise.
39416 * sysdeps/unix/common/syscalls.list: Remove file.
39417 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39418 * sysdeps/unix/sysv/linux/Implies: Likewise.
39419
336270d0
L
394202012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39421
39422 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39424 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39425 Moved to ...
39426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39427 Here.
39428 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39429 to ...
39430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39431 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39432 to ...
39433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39434 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39435 to ...
39436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39437 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39438 to ...
39439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39440 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39441 to ...
39442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39443 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39444 to ...
39445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39446 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39447 to ...
39448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39449 Here.
39450 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39451 to ...
39452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39453 Here.
39454 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39455 to ...
39456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39457 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39458 Moved to ...
39459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39460 Here.
39461 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39462 to ...
39463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39464
d128e450
JM
394652012-05-04 Joseph Myers <joseph@codesourcery.com>
39466
fa8ee516
JM
39467 * sysdeps/unix/common/bits/dirent.h: Remove file.
39468 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39469
d128e450
JM
39470 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39471 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39472 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39473 * sysdeps/unix/bsd/isatty.c: Likewise.
39474 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39475 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39476 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39477
ff8faaf0 394782012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39479
62881be4 39480 [BZ #13563]
31dc8730
AZ
39481 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39482 long double comparison inaccuracies.
39483 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39485
6fef930c
AS
394862012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39487
39488 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39489 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39490
8f203e6c
JM
394912012-05-04 Joseph Myers <joseph@codesourcery.com>
39492
39493 [BZ #14049]
39494 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39495 nonzero digits before rounding a hex value.
39496 * stdlib/tst-strtod.c (tests): Add another test.
39497
5197d9c2
AK
394982012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39499
39500 * sysdeps/s390/fpu/libm-test-ulps: Update.
39501
f0c1dedf
AJ
395022012-05-03 Andreas Jaeger <aj@suse.de>
39503
39504 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39505 does not get optimized out.
39506 (malloc_opt_barrier): New.
39507
a65ef2ae 395082012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39509 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39510
2b942cb7 39511 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39512 intermediate file deletion.
2b942cb7 39513 (generated): Add .symlist files.
a65ef2ae 39514
54b71e02
JM
395152012-05-03 Joseph Myers <joseph@codesourcery.com>
39516
39517 [BZ #13775]
39518 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39519 Redirect under this condition.
39520 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39521 [__USE_GNU] (__dprintf_chk): Not under this condition.
39522 [__USE_GNU] (__vdprintf_chk): Likewise.
39523 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39524 under this condition.
39525 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39526 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39527 [__USE_XOPEN2K8] (vdprintf): Likewise.
39528 [__USE_GNU] (__dprintf_chk): Not under this condition.
39529 [__USE_GNU] (__vdprintf_chk): Likewise.
39530 [__USE_GNU] (dprintf): Likewise.
39531 [__USE_GNU] (vdprintf): Likewise.
39532
d3dfcc41
RM
395332012-05-03 Roland McGrath <roland@hack.frob.com>
39534
39535 * elf/Makefile (common-generated): Set this instead of generated for
39536 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39537 $(all-built-dso)-derived lists.
39538
7ac30cc5
AJ
395392012-05-03 Andreas Jaeger <aj@suse.de>
39540
0c51e550
AJ
39541 * sysdeps/i386/fpu/libm-test-ulps: Update.
39542
7ac30cc5
AJ
39543 * FAQ: Removed.
39544 * FAQ.in: Likewise.
39545 * scripts/gen-FAQ.pl: Likewise.
39546 * manual/install.texi (Installation): Point to online location of
39547 FAQ.
39548 * Makefile (files-for-dist): Remove FAQ.
39549 (FAQ): Remove.
39550
d4c2917f
AM
395512012-05-02 Allan McRae <allan@archlinux.org>
39552
39553 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39554 (LDFLAGS-reldepmod5.so): Likewise.
39555 (LDFLAGS-reldep6mod1.so): Likewise.
39556 (LDFLAGS-reldep6mod4.so): Likewise.
39557 (LDFLAGS-reldep8mod3.so): Likewise.
39558 (LDFLAGS-unload4mod1.so): Likewise.
39559 (LDFLAGS-unload4mod2.so): Likewise.
39560 (LDFLAGS-tst-initorder): Likewise.
39561 (LDFLAGS-tst-initordera2.so): Likewise.
39562 (LDFLAGS-tst-initordera3.so): Likewise.
39563 (LDFLAGS-tst-initordera4.so): Likewise.
39564 (LDFLAGS-tst-initorderb2.so): Likewise.
39565 (LDFLAGS-noload): Likewise.
39566 (LDFLAGS-next): Likewise.
39567 (LDFLAGS-order2mod1.so): Likewise.
39568 (LDFLAGS-order2mod2.so): Likewise.
39569 (LDFLAGS-tst-initorder2): Likewise.
39570 (LDFLAGS-tst-initorder2a.so): Likewise.
39571 (LDFLAGS-tst-initorder2b.so): Likewise.
39572 (LDFLAGS-tst-initorder2c.so): Likewise.
39573 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39574
d77f993f
DM
395752012-05-02 David S. Miller <davem@davemloft.net>
39576
39577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39578
171a70b4
PP
395792012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39580
39581 [BZ #14055]
39582 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39583
0be196ad
AJ
395842012-05-02 Andreas Jaeger <aj@suse.de>
39585
39586 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39587 since we manipulate rounding mode.
39588 (CPPFLAGS-test-idouble.c): Likewise.
39589 (CPPFLAGS-test-ifloat.c): Likewise.
39590 (CFLAGS-test-ldouble.c): Likewise.
39591 (CFLAGS-test-double.c): Likewise.
39592 (CFLAGS-test-float.c): Likewise.
39593 (CFLAGS-test-misc.c): Likewise.
39594 (CFLAGS-test-test-fenv.c): Likewise.
39595
4f9d04aa
AZ
395962012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39597
2b942cb7
RM
39598 [BZ #2550]
39599 [BZ #2570]
39600 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39601 comparisons to determine direction to adjust input.
4f9d04aa 39602
82a79e7d
RM
396032012-05-01 Roland McGrath <roland@hack.frob.com>
39604
f5a01ca9
RM
39605 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39606 output to the target.
39607
90fe4186
RM
39608 * scripts/localplt.awk: New file.
39609 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39610 (check-localplt-CFLAGS): Variable removed.
39611 ($(all-built-dso:=.jmprel)): New static pattern rule.
39612 (generated): Add those targets.
39613 (localplt-built-dso): New variable.
39614 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39615
39616 * elf/check-localplt.c: File removed.
39617
82397ed6
RM
39618 * scripts/check-execstack.awk: New file.
39619 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39620 (check-execstack-CFLAGS): Variable removed.
39621 ($(objpfx)check-execstack.h): Target removed.
39622 ($(objpfx)execstack-default): New target.
39623 (generated): Add that instead of check-execstack.h.
39624 ($(all-built-dso:=.phdr)): New static pattern rule.
39625 (generated): Add those targets.
39626 * elf/check-execstack.c: File removed.
39627
82a79e7d
RM
39628 * scripts/check-textrel.awk: New file.
39629 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39630 (check-textrel-CFLAGS): Variable removed.
39631 (all-built-dso): Use := to define.o
39632 ($(all-built-dso:=.dyn)): New static pattern rule.
39633 (generated): Add those targets.
39634 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39635 * config.make.in (READELF): New substituted variable.
39636 * elf/check-textrel.c: File removed.
39637
62fde54f 396382012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39639
615605c9
JM
39640 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39641 allow.
39642 * conform/data/ctype.h-data [C99-based standards] (isblank):
39643 Expect function.
39644 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39645 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39646 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39647 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39648 Specify type. Require positive value.
39649 (EILSEQ): Likewise.
39650 (ERANGE): Likewise.
39651 [ISO || POSIX] (EILSEQ): Do not expect.
39652 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39653 Specify type. Require positive value.
39654 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39655 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39656 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39657 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39658 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39659 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39660 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39661 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39662 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39663 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39664 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39665 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39666 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39667 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39668 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39669 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39670 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39671 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39672 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39673 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39674 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39675 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39676 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39677 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39678 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39679 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39680 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39681 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39682 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39683 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39684 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39685 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39686 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39687 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39688 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39689 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39690 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39691 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39692 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39693 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39694 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39695 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39696 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39697 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39698 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39699 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39700 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39701 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39702 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39703 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39704 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39705 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39706 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39707 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39708 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39709 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39710 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39711 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39712 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39713 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39714 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39715 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39716 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39717 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39718 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39719 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39720 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39721 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39722 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39723 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39724 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39725 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39726 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39727 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39728 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39729 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39730 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39731 Require >= 2.
39732 (FLT_ROUNDS): Expect as macro, not constant.
39733 (FLT_MANT_DIG): Use macro-int-constant.
39734 (DBL_MANT_DIG): Likewise.
39735 (LDBL_MANT_DIG): Likewise.
39736 (FLT_DIG): Likewise.
39737 (DBL_DIG): Likewise.
39738 (LDBL_DIG): Likewise.
39739 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39740 (DBL_MIN_EXP): Likewise.
39741 (LDBL_MIN_EXP): Likewise.
39742 (FLT_MAX_EXP): Use macro-int-constant.
39743 (DBL_MAX_EXP): Likewise.
39744 (LDBL_MAX_EXP): Likewise.
39745 (FLT_MAX_10_EXP): Likewise.
39746 (DBL_MAX_10_EXP): Likewise.
39747 (LDBL_MAX_10_EXP): Likewise.
39748 (FLT_MAX): Use macro-constant.
39749 (DBL_MAX): Likewise.
39750 (LDBL_MAX): Likewise.
39751 (FLT_EPSILON): Use macro-constant. Give upper bound.
39752 (DBL_EPSILON): Likewise.
39753 (LDBL_EPSILON): Likewise.
39754 (FLT_MIN): Likewise.
39755 (DBL_MIN): Likewise.
39756 (LDBL_MIN): Likewise.
39757 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39758 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39759 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39760 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39761 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39762 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39763 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39764 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39765 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39766 [ISO11] (FLT_TRUE_MIN): Likewise.
39767 [ISO11] (LDBL_TRUE_MIN): Likewise.
39768 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39769 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39770 (SCHAR_MIN): Use macro-int-constant. Specify type.
39771 (SCHAR_MAX): Likewise.
39772 (UCHAR_MAX): Likewise.
39773 (CHAR_MIN): Likewise.
39774 (CHAR_MAX): Likewise.
39775 (MB_LEN_MAX): Use macro-int-constant.
39776 (SHRT_MIN): Use macro-int-constant. Specify type.
39777 (SHRT_MAX): Likewise.
39778 (USHRT_MAX): Likewise.
39779 (INT_MAX): Likewise.
39780 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39781 bound negative.
39782 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39783 bound with "U".
39784 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39785 bound with "L".
39786 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39787 bound negative. Suffix upper bound with "L".
39788 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39789 bound with "UL".
39790 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39791 Specify type.
39792 [C99-based standards] (LLONG_MAX): Likewise.
39793 [C99-based standards] (ULLONG_MAX): Likewise.
39794 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39795 == 0.
39796 [ISO11] (max_align_t): Require type.
39797 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39798
c9140a62
JM
39799 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39800 from $CFLAGS, without defining away __attribute__ calls.
39801 (checknamespace): Use $CFLAGS_namespace.
39802
9af0bf29
JM
39803 * conform/conformtest.pl (@keywords): Only include C99 keywords
39804 for standards based on C99 or C11.
39805
343222a2
JM
39806 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39807 Disable tests.
39808 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39809 UNIX98]: Likewise.
39810
661f8cf0
JM
39811 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39812 usability of symbols in #if.
39813
ee74b9cb
JM
39814 * conform/conformtest.pl: If macro or constant types start
39815 "promoted:", expect the symbol to be of the following type
39816 promoted by the integer promotions.
62fde54f 39817
aafc49b3
JM
39818 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39819 in one place. Also handle "macro-constant".
39820
fefdf574
JM
39821 * conform/conformtest.pl: Only accept expected macro values with
39822 "==". Parse all "macro" lines in one place.
39823 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39824
f2d922fe
JM
39825 * conform/conformtest.pl: Handle braced types on "constant" lines
39826 instead of handling "typed-constant".
39827 * conform/data/signal.h-data: Use "constant" instead of
39828 "typed-constant".
39829
d22956c9
JM
39830 * conform/conformtest.pl: Handle "optional-" at start of lines in
39831 one place rather than duplicating several cases. Handle each
39832 format of "macro" line with initial "optional-".
39833
028e2e38
JM
39834 * conform/conformtest.pl: Only accept expected constant or
39835 optional-constant values with "==". Parse all "constant" lines in
39836 one place. Parse all "optional-constant" lines in one place.
39837 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39838 * conform/data/fmtmsg.h-data: Likewise.
39839 * conform/data/netinet/in.h-data: Likewise.
39840 * conform/data/tar.h-data: Likewise.
39841 * conform/data/limits.h-data: Use "==" form on "constant" and
39842 "optional-constant" lines.
39843
1b8f2850
JM
39844 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39845 Use -std=c99 for XOPEN2K.
39846 (@knownproblems): Remove.
39847 (newtoken): Don't check %isknown.
39848
a05a144b
JM
39849 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39850 Do not expect macro.
39851 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39852 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39853 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39854 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39855 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39856 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39857 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39858 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39859 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39860 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39861 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39862 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39863 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39864 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39865 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39866 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39867 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39868 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39869 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39870 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39871 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39872 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39873 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39874 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39875 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39876 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39877 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39878 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39879 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39880 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39881 [XPG3] (acosh): Likewise.
39882 [XPG3] (asinh): Likewise.
39883 [XPG3] (atanh): Likewise.
39884 [XPG3] (cbrt): Likewise.
39885 [XPG3] (expm1): Likewise.
39886 [XPG3] (ilogb): Likewise.
39887 [XPG3] (log1p): Likewise.
39888 [XPG3] (logb): Likewise.
39889 [XPG3] (nextafter): Likewise.
39890 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39891 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39892 [XPG3] (remainder): Likewise.
39893 [XPG3] (rint): Likewise.
39894 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39895 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39896 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39897 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39898 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39899 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39900 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39901 [UNIX98 || XOPEN2K] (scalb): Expect.
39902 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39903 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39904 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39905 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39906 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39907 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39908 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39909 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39910 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39911 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39912 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39913 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39914 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39915 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39916 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39917 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39918 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39919 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39920 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39921 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39922 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39923 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39924 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39925 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39926 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39927 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39928 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39929 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39930 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39931 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39932 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39933 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39934 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39935 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39936 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39937 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39938 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39939 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39940 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39941 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39942 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39943 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39944 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39945 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39946 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39947 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39948 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39949 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39950 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39951 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39952 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39953 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39954 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39955 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39956 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39957 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39958 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39959 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39960 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39961 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39962 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39963 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39964 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39965 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39966 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39967 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39968 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39969 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39970 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39971 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39972 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39973 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39974 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39975 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39976 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39977 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39978 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39979 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39980 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39981 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39982 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39983 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39984 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39985 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39986 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39987 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39988 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39989 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39990 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39991 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39992 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39993 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39994 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39995 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39996 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39997 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39998 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39999 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40000 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40001 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40002 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40003 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40004 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40005 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40006 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40007 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40008 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40009 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40010 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40011 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40012 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40013 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40014 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40015 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40016 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40017 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40018 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40019 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40020 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40021 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40022 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40023 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40024 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40025 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40026 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40027 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40028 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40029 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40030 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40031 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40032 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40033 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40034 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40035 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40036 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40037 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40038 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40039
73c5ebe3
JM
40040 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40041 _XOPEN_SOURCE_EXTENDED for XPG4.
40042
39c33b6c
JM
40043 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40044
62fde54f
JM
40045 * Makeconfig (localtime): Remove variable.
40046 (inst_localtime-file): Likewise.
40047
0741d64c
AS
400482012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40049
40050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40051 Update.
40052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40053 Update.
40054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40055 Update.
40056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40057 Update.
40058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40059 Update.
40060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40061 Update.
40062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40063 Update.
40064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40065 Update.
40066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40067 Update.
40068
7cb029ee
JM
400692012-05-01 Joseph Myers <joseph@codesourcery.com>
40070
40071 [BZ #2550]
40072 [BZ #2570]
40073 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40074 comparisons to determine direction to adjust input.
40075 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40076 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40077 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40078 Likewise.
40079 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40080 Likewise.
40081 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40082 Likewise.
40083 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40084 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40085 Likewise.
40086 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40087 Likewise.
40088 * math/libm-test.inc (nexttoward_test): Add more tests.
40089
412bd966
AS
400902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40091
40092 [BZ #14040]
40093 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40094 in version GLIBC_2.1, not GLIBC_2.0.
40095 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40096 Likewise.
40097
9568c0c2
JM
400982012-04-30 Joseph Myers <joseph@codesourcery.com>
40099
adfbc8ac
JM
40100 [BZ #13942]
40101 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40102 (1 - x) * (1 + x).
40103 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40104 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40105 * math/libm-test.inc (acos_test): Add more tests.
40106 (asin_test): Likewise.
40107 * sysdeps/i386/fpu/libm-test-ulps: Update.
40108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40109
5ba3cc69
JM
40110 [BZ #14034]
40111 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40112 of square root.
40113 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40114 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40115 * math/libm-test.inc (acos_test_tonearest): New function.
40116 (acos_test_towardzero): Likewise.
40117 (acos_test_downward): Likewise.
40118 (acos_test_upward): Likewise.
40119 (asin_test_tonearest): Likewise.
40120 (asin_test_towardzero): Likewise.
40121 (asin_test_downward): Likewise.
40122 (asin_test_upward): Likewise.
40123 (main): Call the new functions.
40124 * sysdeps/i386/fpu/libm-test-ulps: Update.
40125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40126
9568c0c2
JM
40127 [BZ #13884]
40128 [BZ #13924]
40129 * math/e_exp10.c: Include <float.h>.
40130 (__ieee754_exp10): Handle underflow here rather than multiplying
40131 large negative argument by M_LN10.
40132 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40133 of __ieee754_expf.
40134 * math/e_exp10l.c: Include <float.h>.
40135 (__ieee754_exp10l): Handle underflow here rather than multiplying
40136 large negative argument by M_LN10l.
40137 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40138 spurious overflow exception on underflow.
40139
5ac3ea17
MP
401402012-04-29 Marek Polacek <polacek@redhat.com>
40141
40142 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40143 (__fortify_function): New macro.
40144 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40145 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40146 __extern_always_inline.
40147 * libio/bits/stdio2.h: Likewise.
40148 * libio/bits/stdio.h: Likewise.
40149 * string/string.h: Likewise.
40150 * string/bits/string3.h: Likewise.
40151 * include/stdio.h: Likewise.
40152 * stdlib/bits/stdlib.h: Likewise.
40153 * stdlib/stdlib.h: Likewise.
40154 * rt/bits/mqueue2.h: Likewise.
40155 * rt/mqueue.h: Likewise.
40156 * posix/bits/unistd.h: Likewise.
40157 * posix/unistd.h: Likewise.
40158 * io/bits/poll2.h: Likewise.
40159 * io/bits/fcntl2.h: Likewise.
40160 * io/fcntl.h: Likewise.
40161 * io/sys/poll.h: Likewise.
40162 * misc/bits/syslog.h: Likewise.
40163 * misc/bits/syslog-ldbl.h: Likewise.
40164 * misc/sys/syslog.h: Likewise.
40165 * socket/bits/socket2.h: Likewise.
40166 * socket/sys/socket.h: Likewise.
40167 * debug/tst-chk1.c: Likewise.
40168 * wcsmbs/bits/wchar2.h: Likewise.
40169 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40170 * wcsmbs/wchar.h: Likewise.
40171
ecf0ebfb
AJ
401722012-04-29 Andreas Jaeger <aj@suse.de>
40173
40174 * Makerules (tests): Remove enable-check-abi protection.
40175 (check-abi-warn): Remove.
40176 (check-abi-%): Remove check-abi-warn usage.
40177
40178 * configure.in: Remove check-abi configure option.
40179 * configure: Regenerated.
40180 * config.make.in (enable-check-abi): Remove.
40181
6d5c57fa
AS
401822012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40183
24c5d07e 40184 [BZ #14033]
ded5180a
AS
40185 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40186 double functions to double *_finite functions.
40187
7e0d315d
AS
40188 [BZ #13941]
40189 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40190 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40191 LDBL_MIN_EXP.
40192 * stdio-common/Makefile (tests): Add tst-sprintf3.
40193 * stdio-common/tst-sprintf3.c: New file.
40194
6d5c57fa
AS
40195 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40196 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40197
0749ff8b
JM
401982012-04-28 Joseph Myers <joseph@codesourcery.com>
40199
40200 * conform/conformtest.pl: Remove duplicate typed-constant
40201 handling.
40202
8dbd5d7b
DM
402032012-04-28 David S. Miller <davem@davemloft.net>
40204
40205 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40206 (check-abi-%): Remove AWK script prerequisite and explicit
40207 abilist directory.
40208 (check-abi): Rewrite to just diff the symlist with the abilist.
40209 (config-tls, config-abi-config): Delete, no longer used.
40210 (update-abi-%): Remove AWK script and explicit abilist directory.
40211 (update-abi): Rewrite to simply compare and conditionally copy the
40212 symlist and the sysdep abilist file. Remove update-abi-config
40213 checks.
40214 * abilist/ld.abilist: Remove.
40215 * abilist/libBrokenLocale.abilist: Remove.
40216 * abilist/libanl.abilist: Remove.
40217 * abilist/libcrypt.abilist: Remove.
40218 * abilist/libdl.abilist: Remove.
40219 * abilist/librt.abilist: Remove.
40220 * abilist/libthread_db.abilist: Remove.
40221 * abilist/libutil.abilist: Remove.
40222 * scripts/extract-abilist.awk: Remove.
40223 * scripts/merge-abilist.awk: Remove.
40224 * sysdeps/generic/libcidn.abilist: New file.
40225 * sysdeps/generic/libnss_compat.abilist: New file.
40226 * sysdeps/generic/libnss_db.abilist: New file.
40227 * sysdeps/generic/libnss_dns.abilist: New file.
40228 * sysdeps/generic/libnss_files.abilist: New file.
40229 * sysdeps/generic/libnss_hesiod.abilist: New file.
40230 * sysdeps/generic/libnss_nis.abilist: New file.
40231 * sysdeps/generic/libnss_nisplus.abilist: New file.
40232 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40233 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40234 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40235 file.
40236 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40237 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40238 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40239 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40240 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40241 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40242 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40243 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40244 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40245 file.
40246 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40247 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40248 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40249 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40250 file.
40251 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40252 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40253 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40254 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40255 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40256 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40257 file.
40258 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40259 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40260 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40261 file.
40262 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40263 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40264 New file.
40265 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40266 New file.
40267 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40268 New file.
40269 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40270 New file.
40271 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40272 New file.
40273 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40274 New file.
40275 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40276 New file.
40277 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40278 New file.
40279 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40280 New file.
40281 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40282 New file.
40283 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40284 New file.
40285 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40286 New file.
40287 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40288 New file.
40289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40290 file.
40291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40292 New file.
40293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40294 New file.
40295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40296 file.
40297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40298 New file.
40299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40300 New file.
40301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40302 file.
40303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40304 New file.
40305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40306 New file.
40307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40308 New file.
40309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40310 New file.
40311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40312 New file.
40313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40314 New file.
40315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40317 file.
40318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40319 New file.
40320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40321 file.
40322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40323 file.
40324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40325 file.
40326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40327 file.
40328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40329 file.
40330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40331 New file.
40332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40333 file.
40334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40335 file.
40336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40337 New file.
40338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40339 file.
40340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40342 file.
40343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40344 New file.
40345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40346 file.
40347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40348 file.
40349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40350 file.
40351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40352 file.
40353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40354 file.
40355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40356 New file.
40357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40358 file.
40359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40360 file.
40361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40362 New file.
40363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40364 file.
40365 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40366 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40367 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40368 file.
40369 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40370 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40371 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40372 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40373 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40374 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40375 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40376 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40377 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40378 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40381 file.
40382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40383 New file.
40384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40385 file.
40386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40387 file.
40388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40389 file.
40390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40391 file.
40392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40393 file.
40394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40395 New file.
40396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40397 New file.
40398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40399 file.
40400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40401 New file.
40402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40403 file.
40404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40406 file.
40407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40408 New file.
40409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40410 file.
40411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40412 file.
40413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40414 file.
40415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40416 file.
40417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40418 file.
40419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40420 New file.
40421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40422 New file.
40423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40424 file.
40425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40426 New file.
40427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40428 file.
40429
41d73a1b
JM
404302012-04-28 Joseph Myers <joseph@codesourcery.com>
40431
40432 * conform/conformtest.pl: Fix typo in handling typed-constant from
40433 allow-header.
40434
28aeeda4
JM
404352012-04-27 Joseph Myers <joseph@codesourcery.com>
40436
adae8f5e
JM
40437 * README: Cut down references to pre-2.6 Linux kernels and
40438 Linuxthreads. Update lists of configurations in libc and ports
40439 and sort alphabetically. Say "or newer" with Linux kernel version
40440 requirements.
40441
28aeeda4
JM
40442 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40443
a462cb63
RA
404442012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40445
40446 [BZ #887]
40447 * math/libm-test.inc (logb_test_downward): New test to expose
40448 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40449 rounding mode.
40450
6ad3493e
JM
404512012-04-27 Joseph Myers <joseph@codesourcery.com>
40452
40453 [BZ #14027]
40454 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40455 to be done.
40456 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40457 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40458
2ce4f015
JM
404592012-04-26 Joseph Myers <joseph@codesourcery.com>
40460
5aeb141a
JM
40461 * sysdeps/unix/i386/brk.S: Remove file.
40462 * sysdeps/unix/i386/dl-brk.S: Likewise.
40463 * sysdeps/unix/i386/pipe.S: Likewise.
40464 * sysdeps/unix/i386/sigreturn.S: Likewise.
40465 * sysdeps/unix/i386/syscall.S: Likewise.
40466 * sysdeps/unix/i386/vfork.S: Likewise.
40467 * sysdeps/unix/i386/wait.S: Likewise.
40468
7143acae
JM
40469 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40470 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40471
2ce4f015
JM
40472 * configure.in (arm*-none*): Do not allow without
40473 --enable-hacker-mode.
40474 (netbsd*): Remove case setting base_os.
40475 (386bsd*): Likewise.
40476 (freebsd*): Likewise.
40477 (bsdi*): Likewise.
40478 (osf*): Likewise.
40479 (sunos*): Likewise.
40480 (ultrix*): Likewise.
40481 (newsos*): Likewise.
40482 (dynix*): Likewise.
40483 (*bsd*): Likewise.
40484 (sysv*): Likewise.
40485 (isc*): Likewise.
40486 (esix*): Likewise.
40487 (sco*): Likewise.
40488 (minix*): Likewise.
40489 (irix4*): Likewise.
40490 (irix6*): Likewise.
40491 (solaris[2-9]*): Likewise.
40492 (none): Likewise.
40493 * configure: Regenerated.
40494
0ac229c8
AZ
404952012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40496
40497 [BZ #11521]
40498 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40499 overflow or cancellation in calculating denominator.
40500 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40501 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40502 down expression to avoid unexpected rounding in newer GCCs.
40503 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40504
33f244f4
DM
405052012-04-26 David S. Miller <davem@davemloft.net>
40506
40507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40508 long-double compat symbols.
40509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40522
cfa1f3e8
DM
405232012-04-25 David S. Miller <davem@davemloft.net>
40524
40525 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40526 HWCAP_* values only after the memory barriers have been defined.
40527 (atomic_full_barrier): Define.
40528 (atomic_read_barrier): Define.
40529 (atomic_write_barrier): Define.
40530
6e236b92
SP
405312012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40532
40533 * shlib-versions: Add libgcc_s version information.
40534 * sysdeps/generic/libgcc_s.h: Remove.
40535 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40536 libgcc_s.h.
40537 * sysdeps/gnu/unwind-resume.c: Likewise.
40538 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40539
aab39a09
DM
405402012-04-25 David S. Miller <davem@davemloft.net>
40541
40542 * sysdeps/unix/sparc/brk.S: Delete.
40543 * sysdeps/unix/sparc/dl-brk.S: Delete.
40544 * sysdeps/unix/sparc/pipe.S: Delete.
40545 * sysdeps/unix/sparc/sysdep.S: Delete.
40546 * sysdeps/unix/sparc/sysdep.h: Delete.
40547 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40548 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40549 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40550 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40551 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40552 (JUMPTARGET): Remove.
40553 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40554 sysdeps/unix/sparc/sysdep.h
40555 (ENTRY, END): Remove.
40556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40557
a3cc4f48
JM
405582012-04-25 Joseph Myers <joseph@codesourcery.com>
40559
2ed8cda2
JM
40560 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40561 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40562 -DIS_IN_build.
40563
35d76d59
JM
40564 * timezone/README: Update upstream location and email address for
40565 tzcode and tzdata.
40566 * timezone/zdump.c: Update from tzcode 2012b.
40567 * timezone/zic.c: Likewise.
40568
a3cc4f48
JM
40569 * configure.in (libc_cv_as_needed): Remove test.
40570 * configure: Regenerated.
40571 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40572 conditional definition.
40573 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40574 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40575 * config.make.in (have-as-needed): Remove variable.
40576
ceab42c3
SP
405772012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40578 Paul Pluzhnikov <ppluzhnikov@google.com>
40579
40580 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40581 strings correctly.
40582
3ce2865f
CLT
405832012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40584
40585 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40586 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40587 * sysdeps/sh/strlen.S: Likewise.
40588
f37e0d68
JM
405892012-04-24 Joseph Myers <joseph@codesourcery.com>
40590
ae186e9a
JM
40591 * sysdeps/unix/fork.S: Remove file.
40592 * sysdeps/unix/i386/fork.S: Likewise.
40593 * sysdeps/unix/sparc/fork.S: Likewise.
40594
b96914af
JM
40595 * sysdeps/unix/system.c: Remove file.
40596 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40597
f37e0d68
JM
40598 * sysdeps/unix/getegid.S: Remove file.
40599 * sysdeps/unix/geteuid.S: Likewise.
40600
87ef29ca
RM
406012012-04-24 Roland McGrath <roland@hack.frob.com>
40602
83bcd236
RM
40603 * scripts/check-localplt.awk: New file.
40604 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40605 of diff.
40606 * scripts/data/localplt-generic.data: Add a comment.
40607
87ef29ca
RM
40608 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40609 NODE when __dir_mkfile failed.
40610 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40611 Reported by Ludovic Courtès <ludo@gnu.org>.
40612
e5a6e567
AJ
406132012-04-24 Andreas Jaeger <aj@suse.de>
40614
40615 * Makerules (common-clean): Also remove gen-as-const-headers
40616 files.
40617
c1820385
JM
406182012-04-24 Joseph Myers <joseph@codesourcery.com>
40619
40620 * Makerules (native-compile): Do not change working directory for
40621 build. Use $(OUTPUT_OPTION) in command.
40622 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40623
94e02fc4
AZ
406242012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40625
40626 [BZ #13886]
40627 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40628 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40629 * math/libm-test.inc (floor_test): Add more tests.
40630 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40631
3a533ca3
JM
406322012-04-24 Joseph Myers <joseph@codesourcery.com>
40633
940ab4b3
JM
40634 * sysdeps/unix/getdents.c: Remove file.
40635 * sysdeps/unix/sysv/getdents.c: Likewise.
40636 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40637
90e037bd
JM
40638 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40639 sysdeps/unix/mman/syscalls.list.
40640 (mmap): Likewise.
40641 (mprotect): Likewise.
40642 (msync): Likewise.
40643 (munmap): Likewise.
40644 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40645 * sysdeps/unix/mman/syscalls.list: Remove.
40646 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40647
3a533ca3
JM
40648 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40649 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40650 * configure: Regenerated.
40651 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40652 $(libgcc_s_suffix).
40653 * config.make.in (libgcc_s_suffix): Remove variable.
40654
1ad743de
JM
406552012-04-23 Joseph Myers <joseph@codesourcery.com>
40656
4ad451e2
JM
40657 * sysdeps/unix/sysv/gethostname.c: Move to ...
40658 * sysdeps/posix/gethostname.c: ... here.
40659
5e37ce39
JM
40660 * sysdeps/unix/execve.S: Remove file.
40661
1ad743de
JM
40662 * sysdeps/unix/_exit.S: Remove file.
40663
4e681b5b
AJ
406642012-04-23 Andreas Jaeger <aj@suse.de>
40665
40666 [BZ #13739]
40667 * manual/Makefile: Remove make dist support, there's no
40668 need for a stand-alone documentation tar ball.
40669 (TEXI2DVI): Define always, it's not in Makeconfig.
40670 (dist): Removed.
40671 (tar-it): Removed.
40672 (edition): Removed.
40673 (glibc-doc-$(edition).tar): Removed
40674 (%.Z): Removed.
40675 (%.gz): Removed.
40676 (%.uu): Removed.
40677 (ETAGS): Remove, it's in Makeconfig.
40678 (move-if-change): Remove, it's in Makeconfig.
40679
38686a03 406802012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40681
40682 [BZ #13970]
40683 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40684 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40685 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40686 (strtod_l, strtof_l, strtold_l): Remove __wur.
40687 It is not necessarily an error to ignore strtol's return value.
40688 One can reliably look at the stored endptr to decide whether
40689 the number had valid syntax.
40690
7c0616fa
AJ
406912012-04-21 Andreas Jaeger <aj@suse.de>
40692
803cb6b7 40693 [BZ #13739]
7c0616fa
AJ
40694 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40695
b0fe253f
JM
406962012-04-21 Joseph Myers <joseph@codesourcery.com>
40697
40698 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40699 * sysdeps/unix/sysv/Versions: Remove file.
40700
8280f22d
MT
407012012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40702
40703 [BZ #13927]
40704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40705
75ce411f 407062012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40707
40708 [BZ #7064]
40709 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40710 version from __vm86.
40711
097d59fa
JM
407122012-04-20 Joseph Myers <joseph@codesourcery.com>
40713
a90f3bcb
JM
40714 * sysdeps/unix/common/lxstat.c: Remove file.
40715 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40716
edc7ea78
JM
40717 * sysdeps/unix/sysv/Makefile: Remove file.
40718
cb78c221
JM
40719 * sysdeps/unix/sysv/direct.h: Remove file.
40720
efa6a45f
JM
40721 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40722 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40723 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40724 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40725 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40726 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40727 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40728
9c9f2d0c
JM
40729 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40730
4541c83b
JM
40731 * sysdeps/unix/xmknod.c: Remove file.
40732 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40733
f5d153a0
JM
40734 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40735
aa746595
JM
40736 * sysdeps/unix/sysv/i386/time.S: Remove file.
40737
cce5905e
JM
40738 * sysdeps/unix/fxstat.c: Remove file.
40739 * sysdeps/unix/xstat.c: Likewise.
40740 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40741
37fa3841
JM
40742 * sysdeps/unix/sysv/sigaction.c: Remove file.
40743
ff1962a3
JM
40744 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40745 (sysdep_headers): Remove variable.
40746 [termio.h not in sysdep_headers] (generated): Likewise.
40747 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40748 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40749 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40750 * sysdeps/unix/sysv/tcflow.c: Likewise.
40751 * sysdeps/unix/sysv/tcflush.c: Likewise.
40752 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40753 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40754 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40755 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40756 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40757
e7740d31
JM
40758 * sysdeps/unix/siglist.c: Remove file.
40759
ee06f18b
JM
40760 * sysdeps/unix/getppid.S: Remove file.
40761
097d59fa
JM
40762 * sysdeps/unix/mkdir.c: Remove file.
40763 * sysdeps/unix/rmdir.c: Likewise.
40764
ff3d51ec
AS
407652012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40766
40767 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40768 ERR_MAX value.
40769 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40770 errlist-compat value.
40771
50f81fd7
DM
407722012-04-18 David S. Miller <davem@davemloft.net>
40773
40774 * sysdeps/generic/memcopy.h (reg_char): Delete.
40775 * debug/strcat_chk.c: Use char, not reg_char.
40776 * debug/strcpy_chk.c: Likewise.
40777 * debug/strncat_chk.c: Likewise.
40778 * debug/strncpy_chk.c: Likewise.
40779 * string/memchr.c: Likewise.
40780 * string/memrchr.c: Likewise.
40781 * string/rawmemchr.c: Likewise.
40782 * string/strcat.c: Likewise.
40783 * string/strchr.c: Likewise.
40784 * string/strchrnul.c: Likewise.
40785 * string/strcmp.c: Likewise.
40786 * string/strcpy.c: Likewise.
40787 * string/strncat.c: Likewise.
40788 * string/strncmp.c: Likewise.
40789 * string/strncpy.c: Likewise.
40790
8ff41c46
WS
407912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40792
40793 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40794 __builtin_memcopy is called when src and dest ranges are known to not
40795 overlap.
40796
6b652f46
WS
407972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40798
40799 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40800 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40801 fwd_align_merge macro call.
40802 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40803 bwd_align_merge macro call.
40804 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40805
b282631e
WS
408062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40807
40808 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40809 bwd_align_merge macros.
40810 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40811 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40812 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40813
95aa737c
DM
408142012-04-18 David S. Miller <davem@davemloft.net>
40815
40816 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40817
7a99a614
AJ
408182012-04-18 Andreas Jaeger <aj@suse.de>
40819
40820 [BZ# 6794]
40821 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40822 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40823 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40824
40825 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40826 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40827 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40828
40829 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40830 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40831 Adjust for changed ldbl-128 files.
40832
40833 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40834 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40835 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40836
e5270c23
DM
408372012-04-17 David S. Miller <davem@davemloft.net>
40838
40839 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40840
fb5e92c9
AS
408412012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40842
40843 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40844 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40845 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40846 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40847 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40848 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40849
76da7265
AZ
408502012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40851
40852 [BZ #6794]
40853 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40854 * math/libm-test.inc: Add ilogb errno and exception tests.
40855 * math/w_ilogb.c: New file: ilogb wrapper.
40856 * math/w_ilogbf.c: New file: ilogbf wrapper.
40857 * math/w_ilogbl.c: New file: ilogbl wrapper.
40858 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40859 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40860 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40861 exception being thrown with 0.0 as argument.
40862 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40863 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40864 exception being thrown with 0.0 as argument.
40865 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40866 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40867 exception being thrown with 0.0 as argument.
40868 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40869 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40870 exception being thrown with 0.0 as argument.
40871 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40872 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 40873 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
40874 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40875 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40876 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40877 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40878 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40879 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40880
0396e69d
PB
408812012-04-17 Petr Baudis <pasky@ucw.cz>
40882
40883 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40884 with altivec.
40885
750b5926
MP
408862012-04-16 Marek Polacek <polacek@redhat.com>
40887
40888 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40889
751728a1
MP
408902012-04-16 Marek Polacek <polacek@redhat.com>
40891
40892 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40893 operands of fdivp instruction.
40894
34a27407
L
408952012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40896
40897 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40898 * elf/tst-auditmod3b.c: Likewise.
40899 * elf/tst-auditmod4b.c: Likewise.
40900 * elf/tst-auditmod5b.c: Likewise.
40901 * elf/tst-auditmod6b.c: Likewise.
40902 * elf/tst-auditmod6c.c: Likewise.
40903 * elf/tst-auditmod7b.c: Likewise.
40904 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40905 * sysdeps/x86_64/preconfigure.in: Likewise.
40906 * sysdeps/x86_64/preconfigure: Regenerated.
40907
7e73e17d
L
409082012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40909
40910 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40911 __ILP32__.
40912
c7a6ab72
AB
409132012-04-13 Antoine Balestrat <merkil33@gmail.com>
40914
40915 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40916 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40917
a9e8e0e0
CL
409182012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40919
40920 [BZ #13973]
40921 * locale/iso-639.def: Fix gl language name. Spotted by
40922 Yaron Shahrabani.
40923
ec98af7d
RM
409242012-04-12 Roland McGrath <roland@hack.frob.com>
40925
40926 [BZ #2074]
40927 * libio/libio.h (__io_write_fn): Update comment.
40928
247c3ede
PB
409292012-04-12 Petr Baudis <pasky@ucw.cz>
40930
40931 [BZ #2074]
40932 * stdio.texi (Hook Functions): The user provided writer function
40933 is not allowed to return -1.
40934
55939d6d
DM
409352012-04-11 David S. Miller <davem@davemloft.net>
40936
40937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40938
90020f5a
MF
409392012-04-11 Mike Frysinger <vapier@gentoo.org>
40940
40941 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40942 Add a leading slash to rtkaio.
40943
288f9098
JM
409442012-04-11 Jim Meyering <meyering@redhat.com>
40945
90020f5a
MF
40946 [BZ #11959]
40947 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40948 It is not necessarily an error to ignore fwrite's return
40949 value. One can reliably use ferror to test for errors after
40950 the fact.
288f9098 40951
4be2b570
L
409522012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40953
40954 * bits/types.h (__snseconds_t): New type.
40955 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40956
40957 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40958 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40959 (__SNSECONDS_T_TYPE): Likewise.
40960 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40961 (__SNSECONDS_T_TYPE): Likewise.
40962 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40963 (__SNSECONDS_T_TYPE): Likewise.
40964
288f9098 409652012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
40966
40967 [BZ #2636]
40968 * manual/time.texi (Processor Time): Return type of times is
40969 elapsed real time since an arbitrary point in the past.
40970 (CPU Time): Move CLK_TCK from here...
40971 (Processor Time): ...to here. Correct description.
40972 * manual/conf.texi (Constants for Sysconf): Correct description of
40973 _SC_CLK_TCK.
40974
d7dd4413
DM
409752012-04-10 David S. Miller <davem@davemloft.net>
40976
40977 [BZ #13967]
40978 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40979 where the is a gap between DT_REL(A) and DT_JMPREL.
40980
b46068fc
L
409812012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40982
40983 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40984 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40985 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40986
73d65cc3
SP
409872012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40988
40989 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40990 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40991 (dl_main): Handle --inhibit-cache.
40992 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40993 _dl_inhibit_cache.
40994 * elf/dl-load.c (_dl_map_object): Use it.
40995 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40996
bcc8d661
JM
409972012-04-09 Joseph Myers <joseph@codesourcery.com>
40998
8f9a2fae
JM
40999 [BZ #13872]
41000 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41001 (__ieee754_powl): Saturate large exponents rather than testing for
41002 overflow of y*log2(x).
41003 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41004 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41005 exceptions.
41006
bcc8d661
JM
41007 [BZ #11521]
41008 * math/s_ctan.c: Include <float.h>.
41009 (__ctan): Avoid internal overflow or cancellation in calculating
41010 denominator.
41011 * math/s_ctanf.c: Likewise.
41012 * math/s_ctanl.c: Likewise.
41013 * math/s_ctanh.c: Likewise.
41014 * math/s_ctanhf.c: Likewise.
41015 * math/s_ctanhl.c: Likewise.
41016 * math/libm-test.inc (ctan_test): Add more tests.
41017 (ctanh_test): Likewise.
41018 * sysdeps/i386/fpu/libm-test-ulps: Update.
41019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41020
823fbbb4
AJ
410212012-04-09 Andreas Jaeger <aj@suse.de>
41022
03879793
AJ
41023 [BZ #6894]
41024 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41025 is an optional BSD extension.
41026
823fbbb4
AJ
41027 [BZ #10254]
41028 * manual/stdio.texi (Opening Streams): Document additional fopen
41029 parameters.
41030
8de131cb
RM
410312012-04-09 Roland McGrath <roland@hack.frob.com>
41032
41033 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41034 %eax without telling the compiler.
41035
c0ed9d7d
CD
410362012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41037
41038 [BZ # 13963]
41039 * manual/install.texi: Use sourceware.org.
41040
c483f6b4
JM
410412012-04-09 Joseph Myers <joseph@codesourcery.com>
41042
d7dd9453
JM
41043 [BZ #13873]
41044 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41045 (__ieee754_pow): Generate overflow and underflow using huge*huge
41046 and tiny*tiny rather than just returning constant infinity or zero
41047 for large exponents.
41048 * math/libm-test.inc (pow_test): Require overflow exceptions for
41049 applicable cases of large exponents.
41050
c483f6b4
JM
41051 [BZ #706]
41052 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41053 (__ieee754_pow): Use iterative multiplication algorithm only for
41054 integer exponents with absolute value below 1024. Check for odd
41055 integer exponents when using algorithm for real exponents.
41056 * math/libm-test.inc (pow_test): Add more tests.
41057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41058
d2de7579
JM
410592012-04-08 Joseph Myers <joseph@codesourcery.com>
41060
41061 [BZ #13705]
41062 * math/libm-test.inc (exp_test): Do not allow overflow exception
41063 on underflow test.
41064
f77f1232
AJ
410652012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41066
41067 [BZ #13705]
41068 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41069 instead of __kernel_standard_f.
41070
3884932b
MF
410712012-04-08 Mike Frysinger <vapier@gentoo.org>
41072
41073 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41074 * sysdeps/x86_64/memset_chk.S: Likewise.
41075
54472e9c
AJ
410762012-04-08 Andreas Jaeger <aj@suse.de>
41077
6ab0fbfc
AJ
41078 [BZ #10153]
41079 * manual/startup.texi (Environment Access): Describe return value
41080 for putenv and setenv.
41081
61efba8c
AJ
41082 [BZ #6895]
41083 * manual/filesys.texi (Directory Entries): Add description for
41084 DT_LNK.
41085
95c3f29a
AJ
41086 [BZ #6890]
41087 * manual/filesys.texi (Directory Entries): Clarify that it's file
41088 system not operating system in the description of DT_UNKNOWN.
41089
54472e9c
AJ
41090 [BZ #6578]
41091 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41092
624254b1
SC
410932012-04-08 Stephen Compall <s11@member.fsf.org>
41094
41095 [BZ #6649]
41096 * manual/llio.texi (Opening and Closing Files): Add cross
41097 reference to explain mode argument.
41098
1e4920e0
MF
410992012-04-07 Mike Frysinger <vapier@gentoo.org>
41100
41101 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41102 * sysdeps/x86_64/memset_chk.S: Likewise.
41103
5ed848f3
DM
411042012-04-07 David S. Miller <davem@davemloft.net>
41105
41106 * elf/elf.h (R_SPARC_WDISP10): Define.
41107 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41108 R_SPARC_SIZE32.
41109 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41110 R_SPARC_SIZE64 and R_SPARC_H34.
41111
96154cd8
CD
411122012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41113
41114 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41115 conditions and remove no longer applicable assertion.
41116
9904dc47
L
411172012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41118
41119 * bits/byteswap.h: Include <features.h>.
41120 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41121 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41122
f8887d0a
L
411232012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41124
41125 * bits/byteswap.h (__bswap_16): Removed.
41126 Include <bits/byteswap-16.h> to get __bswap_16.
41127 * sysdeps/i386/bits/byteswap.h: Likewise.
41128 * sysdeps/s390/bits/byteswap.h: Likewise.
41129 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41130 * bits/byteswap-16.h: New file.
41131 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41132 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41133 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41134 * string/Makefile (headers): Add bits/byteswap-16.h.
41135
62470f60
PP
411362012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41137
41138 [BZ #13895]
41139 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41140 extra indirection.
41141 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41142 * nss/tst-nss-static.c: New.
41143
4dad7bab
RM
411442012-04-06 Robert Millan <rmh@gnu.org>
41145
41146 [BZ #6486]
41147 * manual/llio.texi (File Position Primitive): lseek
41148 refers to WHENCE when it really means OFFSET.
41149
e9142a17
AJ
411502012-04-06 Andreas Jaeger <aj@suse.de>
41151
2c040eff
AJ
41152 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41153 strncmp declarations.
41154
e9142a17
AJ
41155 * abilist/libc.abilist: Add __poll and __ppoll.
41156
ff9f1c5f
DM
411572012-04-05 David S. Miller <davem@davemloft.net>
41158
dcd2ae90
DM
41159 * scripts/check-local-headers.sh: Accept a host triplet in the
41160 path matched by the exclude regexp.
41161
993eb054
DM
41162 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41163 definition.
41164 * sysdeps/powerpc/powerpc32/dl-machine.h
41165 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41166 * sysdeps/s390/s390-32/dl-machine.h
41167 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41168 * sysdeps/sparc/sparc32/dl-machine.h
41169 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41170 * sysdeps/sparc/sparc64/dl-machine.h
41171 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41172
ff9f1c5f
DM
41173 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41174 lazy binding.
48e2e132 41175 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
41176 undefined symbol errors.
41177
48e2e132 41178 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
41179 DT_NEEDED entries.
41180
e80d6f94
MM
411812012-04-05 Michael Matz <matz@suse.de>
41182
41183 [BZ #13592]
41184 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41185
349fa79f
AJ
411862012-04-05 Andreas Jaeger <aj@suse.de>
41187
41188 [BZ #13908]
41189 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41190 comment.
41191
f402708f
KK
411922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41193
41194 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41195 which ROUND is no valid rounding mode.
41196
2ecccfc9
KK
411972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41198
41199 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41200 read again.
41201 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41202
8a53f50f
KK
412032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41204
41205 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41206 an exception using FPU order intentionally.
41207
412082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41209
41210 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41211 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41212 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41213 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41214
d653abb7
SJ
412152012-04-05 Simon Josefsson <simon@josefsson.org>
41216
41217 [BZ #12340]
41218 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41219 EINVAL when BUFLEN is too smal.
41220
c3b1bf7d
TS
412212012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41222
41223 [BZ #13553]
41224 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41225 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41226
b1aa60f3
AJ
412272012-04-03 Andreas Jaeger <aj@suse.de>
41228
c3b1bf7d 41229 [BZ #13938]
67f60a26
AJ
41230 * manual/setjmp.texi (System V contexts): Fix sentence.
41231
b1aa60f3
AJ
41232 [BZ #13926]
41233 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41234 New macro for this case.
41235 [!__GNUC__] (__bswap_64): New inline function for this case.
41236 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41237 * bits/byteswap.h: Likewise.
41238 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41239 ull, guard with __GLIBC_HAVE_LONG_LONG.
41240
41241 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41242 __GLIBC_HAVE_LONG_LONG.
41243
41244 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41245 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41246
39c59c35
TMQMF
412472012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41248
41249 [BZ #13691]
41250 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41251 inptr and inend, rather than using last_ch.
41252
135ffda8
DM
412532012-04-02 David S. Miller <davem@davemloft.net>
41254
41255 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41256 * stdio-common/printf-parse.h (read_int): Change return type to
41257 'int', return -1 on INT_MAX overflow.
41258 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41259 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41260 overflows INT_MAX. Check for overflow of in-format-string precision
41261 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41262 SIZE_MAX not INT_MAX for integer overflow test.
41263 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41264 skip the construct in the format string but do not record anything.
41265 * stdio-common/bug22.c: Adjust to test both width/prevision
41266 INT_MAX overflow as well as total length INT_MAX overflow. Check
41267 explicitly for proper errno values.
41268
228c019e
TS
412692012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41270
302cadd3
TS
41271 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41272 CHAR_MAX.
41273 * string/test-strcmp.c [! WIDE]: Likewise.
41274 * time/tst-mktime2.c: Likewise for INT_MAX.
41275 * string/test-string.h: #include <sys/param.h> for MIN.
41276
228c019e
TS
41277 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41278 * sysdeps/i386/init-first.c (init): Likewise.
41279 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41280 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41281 * sysdeps/sh/init-first.c (init): Likewise.
41282
cfa633f5
UD
412832012-04-01 Ulrich Drepper <drepper@gmail.com>
41284
41285 * po/ru.po: Update from translation team.
d1635ef8 41286 * po/vi.po: Likewise.
cfa633f5 41287
6cd0a5ea
SP
412882012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41289
41290 * resolv/nss_dns/dns-host.c: Merge copyright years.
41291
4b43400f
LD
412922012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41293
41294 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41295 Optimize memcpy with prefetch if
41296 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41297 src, dst pointers have unequal 16 byte alignments.
41298
48c41d04
SP
412992012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41300
41301 [BZ #13928]
41302 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41303 from a CNAME entry and return the minimum ttl for the query.
41304 (gaih_getanswer_slice): Likewise.
41305
b8dc394d
JL
413062012-03-30 Jeff Law <law@redhat.com>
41307
41308 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41309 due to long keys.
41310 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41311 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41312
2f5a5ed0
JL
41313 * resolv/nss_dns/dns-host.c: Update copyright year.
41314
1d39e359
UD
413152012-03-30 Ulrich Drepper <drepper@gmail.com>
41316
c030f70c 41317 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 41318 requests to save a system call. Fix check that all bytes are sent.
c030f70c 41319
1d39e359
UD
41320 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41321 comments for sendmmsg.
41322
413232012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
41324
41325 [BZ #13691]
41326 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41327 with only 1 character between 0x0041 and 0x01b0.
41328 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41329 * wcsmbs/tst-mbsnrtowcs.c: New file.
41330
20fde227
DM
413312012-03-29 David S. Miller <davem@davemloft.net>
41332
41333 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41334 small copies by hand.
41335
984a4237
JL
413362012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41337
41338 [BZ #13761]
57f41c40
AS
41339 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41340 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41341 group memberships.
984a4237 41342
18c9d62b
DM
413432012-03-28 David S. Miller <davem@davemloft.net>
41344
88d85d4f
DM
41345 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41346 that branches into memcpy.
41347 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41348 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41349 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41350 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41351 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41352 bits.
41353 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41354 implementation too.
41355 * sysdeps/sparc/mempcpy.S: New file.
41356
e5aa83e1
DM
41357 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41358 the IFUNC routine in the libc case.
41359 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41360
88570753
DM
41361 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41362 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41363 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41364 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41365 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41366 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41367 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41368 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41369
249d7567
DM
41370 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41371 loop to 256 bytes instead of 64 bytes and fix test signedness.
41372
18c9d62b
DM
41373 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41374 * sysdeps/sparc/sparc32/Makefile: rather than here...
41375 * sysdeps/sparc/sparc64/Makefile: and here.
41376
05f3d1f6
UD
413772012-03-28 Ulrich Drepper <drepper@gmail.com>
41378
41379 * malloc/mallocbug.c: Avoid warnings about unused variables.
41380
86ae07a8
JL
413812012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41382
41383 [BZ #13760]
41384 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41385 in the right place. Discard and retry query if response is
41386 larger than input buffer size.
41387
41bf21a1
JM
413882012-03-28 Joseph Myers <joseph@codesourcery.com>
41389
d6270972
JM
41390 [BZ #369]
41391 [BZ #2678]
41392 [BZ #3866]
41393 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41394 x for large integer exponent.
41395 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41396 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41397 sign of result as needed afterwards.
41398 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41399 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41400 result for underflowing pow the same as for overflow.
41401 (__kernel_standard_l): Handle powl overflow and underflow here
41402 rather than calling __kernel_standard.
41403 * math/libm-test.inc (pow_test): Add more tests.
41404
414fca03 41405 [BZ #3868]
41bf21a1
JM
41406 [BZ #13879]
41407 [BZ #13910]
41408 [BZ #13911]
41409 [BZ #13912]
41410 [BZ #13913]
41411 [BZ #13915]
41412 [BZ #13916]
41413 [BZ #13917]
41414 [BZ #13918]
41415 [BZ #13919]
41416 [BZ #13920]
41417 [BZ #13921]
41418 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41419 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41420 (__kernel_standard_l): New function.
41421 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41422 __kernel_standard.
41423 * math/w_acosl.c (__acosl): Likewise.
41424 * math/w_asinl.c (__asinl): Likewise.
41425 * math/w_atan2l.c (__atan2l): Likewise.
41426 * math/w_atanhl.c (__atanhl): Likewise.
41427 * math/w_coshl.c (__coshl): Likewise.
41428 * math/w_exp10l.c (__exp10l): Likewise.
41429 * math/w_exp2l.c (__exp2l): Likewise.
41430 * math/w_fmodl.c (__fmodl): Likewise.
41431 * math/w_hypotl.c (__hypotl): Likewise.
41432 * math/w_j0l.c (__j0l, __y0l): Likewise.
41433 * math/w_j1l.c (__j1l, __y1l): Likewise.
41434 * math/w_jnl.c (__jnl, __ynl): Likewise.
41435 * math/w_lgammal.c (__lgammal): Likewise.
41436 * math/w_log10l.c (__log10l): Likewise.
41437 * math/w_log2l.c (__log2l): Likewise.
41438 * math/w_logl.c (__logl): Likewise.
41439 * math/w_powl.c (__powl): Likewise.
41440 * math/w_remainderl.c (__remainderl): Likewise.
41441 * math/w_scalbl.c (sysv_scalbl): Likewise.
41442 * math/w_sinhl.c (__sinhl): Likewise.
41443 * math/w_sqrtl.c (__sqrtl): Likewise.
41444 * math/w_tgammal.c (__tgammal): Likewise.
41445 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41446 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41447 * math/libm-test.inc (acos_test): Add more tests.
41448 (acosh_test): Likewise.
41449 (asin_test): Likewise.
41450 (atanh_test): Likewise.
41451 (exp_test): Likewise.
41452 (exp10_test): Likewise.
41453 (exp2_test): Likewise.
41454 (expm1_test): Likewise.
41455 (lgamma_test): Likewise.
41456 (log_test): Likewise.
41457 (log10_test): Likewise.
41458 (log1p_test): Likewise.
41459 (log2_test): Likewise.
41460 (pow_test): Do not allow some spurious overflow exceptions.
41461 (sqrt_test): Add more tests.
41462 (tgamma_test): Likewise.
41463 (y0_test): Likewise.
41464 (y1_test): Likewise.
41465 (yn_test): Likewise.
41466
dd62fda6
AB
414672012-03-27 Anton Blanchard <anton@samba.org>
41468
41469 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41470 MAP_HUGETLB.
41471 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41472 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41473 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41474
1e3cdfda
AJ
414752012-03-27 David S. Miller <davem@davemloft.net>
41476
b855ab85
DM
41477 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41478
1e3cdfda
AJ
41479 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41480 have-as-vis3 check.
41481
414822012-03-27 Andreas Jaeger <aj@suse.de>
41483
41484 * sysdeps/x86_64/elf/configure.in: Moved to ...
41485 * sysdeps/x86_64/configure.in: ... here.
41486 * sysdeps/x86_64/elf/start.S: Moved to ...
41487 * sysdeps/x86_64/start.S: ... here.
41488 * sysdeps/x86_64/elf/configure: Delete.
41489
41490 * sysdeps/x86_64/configure.in: Merge contents from
41491 sysdeps/i386/configure.in (without i686 check).
41492
41493 * sysdeps/i386/elf/Versions: Merge into ...
41494 * sysdeps/i386/Versions: ... this.
41495 * sysdeps/i386/elf/Versions: Delete file.
41496 * sysdeps/i386/elf/start.S: Moved to ...
41497 * sysdeps/i386/start.S: ...here.
41498 * sysdeps/i386/elf/configure.in: Merge into...
41499 * sysdeps/i386/configure.in: ...here.
41500 * sysdeps/i386/elf/configure.in: Delete file.
41501 * sysdeps/i386/elf/configure: Delete file.
41502
41503 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41504 * debug/backtracesyms.c: ... here.
41505 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41506 * debug/backtracesymsfd.c: ... here.
41507 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41508 * sysdeps/generic/ifunc-sel.h: ... here.
41509
41510 * sysdeps/unix/i386/start.c: Delete file.
41511 * sysdeps/unix/sparc/start.c: Delete file.
41512 * sysdeps/unix/start.c: Delete file.
41513
41514 * sysdeps/sh/elf/configure.in: Moved to ...
41515 * sysdeps/sh/configure.in: ... here.
41516 * sysdeps/sh/elf/start.S: Moved to ...
41517 * sysdeps/sh/start.S: ... here.
41518 * sysdeps/sh/elf/configure: Delete file.
41519
41520 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41521 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41522 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41523 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41524 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41525 * sysdeps/powerpc/powerpc64/start.S: here.
41526 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41527 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41528 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41529 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41530 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41531
41532 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41533 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41534 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41535 * sysdeps/powerpc/powerpc32/start.S: ... here.
41536 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41537 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41538 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41539
41540 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41541 * sysdeps/powerpc/ifunc-sel.h: ... here.
41542 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41543 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41544
41545 * sysdeps/sparc/elf/configure.in: Moved to ...
41546 * sysdeps/sparc/configure.in: ... here.
41547 * sysdeps/sparc/elf/configure: Delete file.
41548 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41549 * sysdeps/sparc/sparc32/start.S: ... here.
41550 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41551 * sysdeps/sparc/sparc64/start.S: ... here.
41552 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41553 * sysdeps/sparc/sparc32/Makefile: ... this.
41554 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41555 * sysdeps/sparc/sparc64/Makefile: ... this.
41556
41557 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41558 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41559 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41560 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41561 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41562 * sysdeps/s390/s390-32/setjmp.S: ... here.
41563 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41564 * sysdeps/s390/s390-32/configure.in: ... here.
41565 * sysdeps/s390/s390-32/elf/configure: Delete file.
41566 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41567 * sysdeps/s390/s390-32/start.S: ... here.
41568
41569 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41570 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41571 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41572 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41573 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41574 * sysdeps/s390/s390-64/setjmp.S: ... here.
41575 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41576 * sysdeps/s390/s390-64/configure.in: ... here
41577 * sysdeps/s390/s390-64/elf/configure: Delete file.
41578 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41579 * sysdeps/s390/s390-64/start.S: ... here.
41580 * sysdeps/s390/s390-64/elf/configure: Delete.
41581
41582 * configure.in: Remove support for elf directories in sysdeps.
41583
41584 * configure: Regenerated.
41585 * sysdeps/i386/configure: Regenerated.
41586 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41587 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41588 * sysdeps/s390/s390-32/configure: Regenerated.
41589 * sysdeps/s390/s390-64/configure: Regenerated.
41590 * sysdeps/sh/configure: Regenerated.
41591 * sysdeps/sparc/configure: Regenerated.
41592 * sysdeps/x86_64/configure: Regenerated.
41593
a3f61311
AS
415942012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41595
c876e002
AS
41596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41597
a3f61311
AS
41598 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41599 denormal result into account.
41600
ac4c54f0
RM
416012012-03-25 Roland McGrath <roland@hack.frob.com>
41602
41603 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41604 Reported by Allan McRae <allan@archlinux.org>.
41605
6a9b9c02
JL
416062012-03-23 Jeff Law <law@redhat.com>
41607
41608 * nss/getnssent.c (__nss_getent): Fix typo.
41609
4c42a0c1
DM
416102012-03-23 David S. Miller <davem@davemloft.net>
41611
41612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41613
1532c7ac
L
416142012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41615
41616 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41617 to pad to uint64_t for each field.
41618 (dl_tls_index): Replace unsigned long with uint64_t.
41619
3ff42526
PP
416202012-03-23 Daniel Jacobowitz <dmj@google.com>
41621 Paul Pluzhnikov <ppluzhnikov@google.com>
41622
41623 [BZ #6528]
41624 * grp/Makefile (otherlibs): Don't set it.
41625 * inet/Makefile (otherlibs): Likewise.
41626 * login/Makefile (otherlibs): Likewise.
41627 * nscd/Makefile (otherlibs): Likewise.
41628 * posix/Makefile (otherlibs): Likewise.
41629 * pwd/Makefile (otherlibs): Likewise.
41630 * rt/Makefile (otherlibs): Likewise.
41631 * sunrpc/Makefile (otherlibs): Likewise.
41632 * nss/Makefile (otherlibs): Likewise.
41633 Add libnss_files to routines and static-only-routines.
41634 ($(objpfx)getent): Remove rule.
41635 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41636 static-only-routines.
41637
7c69cd14
JM
416382012-03-22 Joseph Myers <joseph@codesourcery.com>
41639
41640 [BZ #13892]
41641 * math/s_cexp.c: Include <float.h>.
41642 (__cexp): Handle exp result overflowing not necessarily
41643 overflowing both real and imaginary parts of result.
41644 * math/s_cexpf.c: Likewise.
41645 * math/s_cexpl.c: Likewise.
41646 * math/libm-test.inc (cexp_test): Add more tests.
41647 * sysdeps/i386/fpu/libm-test-ulps: Update.
41648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41649
81b035fe
L
416502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41651
41652 * include/link.h (ELFW): New macro.
41653 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41654 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41655
1da7940c
L
416562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41657
41658 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41659 with uint64_t.
41660
b749dbb9
L
416612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41662
41663 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41664 declaration.
41665 (struct La_x32_retval): Likewise.
41666
2ff87f3f
L
416672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41668
41669 * sysdeps/x86_64/preconfigure.in: New file.
41670 * sysdeps/x86_64/preconfigure: New generated file.
41671
c0df8e69
JM
416722012-03-22 Joseph Myers <joseph@codesourcery.com>
41673
48e44791
JM
41674 [BZ #13824]
41675 * math/e_exp2l.c: Include <float.h>.
41676 (__ieee754_exp2l): Handle overflow and underflow cases
41677 separately. Only pass fractional part of argument to
41678 __ieee754_expl.
41679 * math/libm-test.inc (exp2_test): Add more tests.
41680
c0df8e69
JM
41681 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41682 negating x to take absolute value.
41683 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41684 Likewise.
41685 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41686 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41687 Likewise.
41688 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41689 computing low part if x was negated.
41690 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41691
c8e43ba7
L
416922012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41693
41694 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41695 la_x32_gnu_pltexit.
41696 (pltexit): Cast int_retval to ptrdiff_t.
41697 * elf/tst-auditmod3b.c: Likewise.
41698 * elf/tst-auditmod4b.c: Likewise.
41699 * elf/tst-auditmod5b.c: Likewise.
41700 * elf/tst-auditmod6b.c: Likewise.
41701 * elf/tst-auditmod6c.c: Likewise.
41702 * elf/tst-auditmod7b.c: Likewise.
41703
41704 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41705 and x32_gnu_pltexit.
41706
41707 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41708 __ELF_NATIVE_CLASS.
41709 (La_x32_regs): New macro.
41710 (La_x32_retval): Likewise.
41711 (la_x32_gnu_pltenter): New function prototype.
41712 (la_x32_gnu_pltexit): Likewise.
41713
7998fa78
AS
417142012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41715
dcb33988
AS
41716 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41717 exponent.
41718
233fc563
AS
41719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41720
7998fa78
AS
41721 * configure.in (libc_cv_cc_nofma): Check for option to disable
41722 generation of FMA instructions.
41723 * configure: Regenerate.
41724 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41725 * sysdeps/ieee754/dbl-64/Makefile: New file.
41726 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41727 Remove brandred-fma4.
41728 (CFLAGS-brandred-fma4.c): Remove.
41729 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41730 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41731 define.
41732 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41733 define.
41734
8e95c99a
L
417352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41736
41737 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41738 LLONG_MAX != LONG_MAX.
41739 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41740 (_fitoa_word): Likewise.
41741 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41742 LLONG_MAX != LONG_MAX.
41743 * stdio-common/_itowa.h: Include <_itoa.h>.
41744 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41745 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41746 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41747 only if not defined.
41748 (_ITOA_WORD_TYPE): Likewise.
41749 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41750 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41751
6f4db457
DM
417522012-03-21 David S. Miller <davem@davemloft.net>
41753
41754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41755
7785fe5a
L
417562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41757
41758 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41759 of x86_64 when setting libc_cv_slibdir, libdir and
41760 libc_cv_localedir.
41761 * sysdeps/unix/sysv/linux/configure: Regenerated.
41762
4535cd55
JM
417632012-03-21 Joseph Myers <joseph@codesourcery.com>
41764
41765 * manual/lang.texi (Old Varargs): Remove section.
41766 (How Variadic): Update menu.
41767 (va_start): Do not mention varargs.h.
41768
17228132
TS
417692012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41770 Joseph Myers <joseph@codesourcery.com>
41771
41772 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41773 link test.
41774 * configure: Regenerated.
41775
8149f976
TS
417762012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41777
05f3d1f6
UD
41778 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41779 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41780 conformtest.pl
8149f976 41781
1a4ac776
JM
417822012-03-21 Joseph Myers <joseph@codesourcery.com>
41783
be22ce65
JM
41784 * NOTES: Remove.
41785 * Makefile (files-for-dist): Remove NOTES.
41786 (NOTES): Remove rule.
41787 * README: Don't refer to NOTES.
41788 * manual/creature.texi: Don't include macros.texi.
41789 * manual/intro.texi (creature.texi): Remove comment referring to
41790 NOTES.
41791
40b601fb
JM
41792 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41793 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41794 * configure: Regenerated.
41795 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41796 LIBC_TRY_CC_OPTION.
41797 (libc_cv_as_i686): Likewise.
41798 (libc_cv_cc_avx): Likewise.
41799 (libc_cv_cc_sse2avx): Likewise.
41800 (libc_cv_cc_fma4): Likewise.
41801 (libc_cv_cc_novzeroupper): Likewise.
41802 * sysdeps/i386/configure: Regenerated.
41803
1a4ac776
JM
41804 [BZ #13883]
41805 * sysdeps/i386/fpu/s_cexp.S: Remove.
41806 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41807 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41808 * math/libm-test.inc (cexp_test): Add more tests.
41809 * sysdeps/i386/fpu/libm-test-ulps: Update.
41810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41811
a458e7fe
AM
418122012-03-21 Allan McRae <allan@archlinux.org>
41813
41814 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41815
0cb7efc5
JM
418162012-03-21 Joseph Myers <joseph@codesourcery.com>
41817
41818 [BZ #13871]
41819 * math/w_exp2.c: Do not include <float.h>.
41820 (o_threshold, u_threshold): Remove.
41821 (__exp2): Calculate result before checking finiteness and calling
41822 __kernel_standard.
41823 * math/w_exp2f.c: Likewise.
41824 * math/w_exp2l.c: Likewise.
41825 * math/libm-test.inc (exp2_test): Require overflow exception for
41826 1e6 input.
2460d3aa
JM
41827
41828 [BZ #3866]
41829 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41830 range of signed 64-bit integers before using fistpll. Remove
41831 checks for whether integers fit in mantissa bits.
41832 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41833 the range of signed 32-bit integers before using fistpl. Remove
41834 checks for whether integers fit in mantissa bits.
41835 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41836 (__ieee754_powl): Test for y outside the range of signed 64-bit
41837 integers before using fistpll. Reduce 64-bit values to 63-bit
41838 ones as needed.
41839 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41840 divide-by-zero is raised for zero to large negative powers.
41841 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41842 (__ieee754_powl): Test for y outside the range of signed 64-bit
41843 integers before using fistpll. Reduce 64-bit values to 63-bit
41844 ones as needed.
41845 * math/libm-test.inc (pow_test): Add more tests.
41846
eb96ffb0
L
418472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41848
41849 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41850 <stdio-common/_itoa.h>.
41851 * debug/segfault.c: Likewise.
41852 * elf/dl-cache.c: Likewise.
41853 * elf/dl-minimal.c: Likewise.
41854 * elf/dl-misc.c: Likewise.
41855 * elf/dl-sysdep.c: Likewise.
41856 * elf/dl-version.c: Likewise.
41857 * elf/rtld.c: Likewise.
41858 * hurd/hurdsock.c: Likewise.
41859 * hurd/lookup-retry.c: Likewise.
41860 * malloc/malloc.c: Likewise.
41861 * malloc/mtrace.c: Likewise.
41862 * nscd/nscd_getgr_r.c: Likewise.
41863 * nscd/nscd_getpw_r.c: Likewise.
41864 * nscd/nscd_getserv_r.c: Likewise.
41865 * posix/getopt_init.c: Likewise.
41866 * posix/wordexp.c: Likewise.
41867 * stdio-common/_itoa.c: Likewise.
41868 * stdio-common/printf_fphex.c: Likewise.
41869 * stdio-common/vfprintf.c: Likewise.
41870 * string/_strerror.c: Likewise.
41871 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41872 * sysdeps/i386/i686/hp-timing.h: Likewise.
41873 * sysdeps/mach/_strerror.c: Likewise.
41874 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41875 * sysdeps/mach/hurd/sethostid.c: Likewise.
41876 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41877 * sysdeps/mach/xpg-strerror.c: Likewise.
41878 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41879 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41880 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41881 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41882 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41883 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41884 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41885 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41886 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41887 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41888 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41889 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41890 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41891 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41892 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41893 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41894 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41895 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41896 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41897 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41898 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41899
41900 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41901
41902 * stdio-common/_itoa.h: Moved to ...
41903 * sysdeps/generic/_itoa.h: Here.
41904
41905 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41906
41907 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41908 instead of "_itoa.h" and "_itowa.h".
41909 * stdio-common/vfprintf.: Likewise.
41910
d1af992d
L
419112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41912
41913 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41914 <bits/wordsize.h>.
41915 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41916 (__signbit): Likwise.
41917 (llrintf): Likwise.
41918 (llrint): Likwise.
41919
114883e0
L
419202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41921
41922 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41923 __WORDSIZE != 64.
41924
c135cc1b
JM
419252012-03-20 Joseph Myers <joseph@codesourcery.com>
41926
41927 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41928 OVERFLOW_EXCEPTION_OK.
41929 * math/libm-test.inc ("Philosophy"): Update comment about
41930 exception testing.
41931 (OVERFLOW_EXCEPTION): Define.
41932 (OVERFLOW_EXCEPTION_OK): Likewise.
41933 (INVALID_EXCEPTION_OK): Renumber.
41934 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41935 (IGNORE_ZERO_INF_SIGN): Likewise.
41936 (test_exceptions): Handle FE_OVERFLOW.
41937 (exp10_test): Expect overflow exceptions.
41938 (exp2_test): Likewise.
41939 (expm1_test): Likewise.
41940 (nextafter_test): Likewise.
41941 (pow_test): Likewise.
41942 (scalbn_test): Likewise.
41943 (scalbln_test): Likewise.
41944
95443d88
L
419452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41946
41947 * sysdeps/x86_64/bits/atomic.h
41948 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41949 64bit integer.
41950 (atomic_exchange_acq): Likewise.
41951 (__arch_exchange_and_add_body): Likewise.
41952 (__arch_add_body): Likewise.
41953 (atomic_add_negative): Likewise.
41954 (atomic_add_zero): Likewise.
41955
490df6c4
L
419562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41957
c2722551 41958 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
41959 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41960
5e52b189
L
419612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41962
41963 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41964 Check __x86_64__ instead of __WORDSIZE.
41965
a9879d4c
L
419662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41967
41968 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41969
5df98260
DM
419702012-03-19 David S. Miller <davem@davemloft.net>
41971
e1497744
DM
41972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41973
5df98260
DM
41974 * sysdeps/sparc/fpu/fenv_private.h: New file.
41975 * sysdeps/sparc/fpu/math_private.h: Use it.
41976 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41977 Remove.
57f41c40 41978 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
41979 (libc_feholdexcept_setroundl): Remove.
41980 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41981 Remove.
41982 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41983 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41984
b4c35121
L
419852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41986
41987 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41988 int64_t instead of long int.
41989 (INSERT_WORDS64): Likwise.
41990
56965fd7
L
419912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41992
41993 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41994 _Unwind_GetCFA return to _Unwind_Ptr first.
41995
83d1aec8
JM
419962012-03-19 Joseph Myers <joseph@codesourcery.com>
41997
1897ad44
JM
41998 [BZ #13629]
41999 * math/s_clog.c: Include <float.h>.
42000 (__clog): Scale large or subnormal inputs.
42001 * math/s_clogf.c: Likewise.
42002 * math/s_clogl.c: Likewise.
42003 * math/s_clog10.c: Include <float.h>.
42004 (M_LOG10_2): Define.
42005 (__clog10): Scale large or subnormal inputs.
42006 * math/s_clog10f.c: Likewise.
42007 * math/s_clog10l.c: Likewise.
42008 * math/libm-test.inc (clog_test): Add more tests.
42009 (clog10_test): Likewise.
42010 * sysdeps/i386/fpu/libm-test-ulps: Update.
42011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42012
7726d6a9
JM
42013 [BZ #11451]
42014 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42015 x and y.
42016 * math/libm-test.inc (atan2_test): Add another test.
42017
83d1aec8
JM
42018 * Makerules (common-objdir-compile): Remove.
42019 * sysdeps/unix/Makefile (config-generated): Do not add
42020 $(unix-generated) to variable.
42021 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42022 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42023 Remove rule.
42024 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42025 Likewise.
42026 [generic bits/local_lim.h] (before-compile): Do not append to
42027 variable.
42028 [generic bits/local_lim.h] (common-generated): Likewise.
42029 [generic sys/param.h] (before-compile): Do not append to variable.
42030 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42031 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42032 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42033 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42034 include.
42035 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42036 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42037 [generic sys/param.h] ($(addprefix
42038 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42039 [generic sys/param.h] (common-generated): Do not append to
42040 variable.
42041 [generic sys/param.h] (sysdep_headers): Likewise.
42042 [generic bits/errno.h] (before-compile): Do not append to
42043 variable.
42044 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42045 rule.
42046 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42047 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42048 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42049 [generic bits/errno.h] (common-generated): Do not append to
42050 variable.
42051 [generic bits/ioctls.h] (before-compile): Do not append to
42052 variable.
42053 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42054 rule.
42055 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42056 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42057 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42058 rule.
42059 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42060 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42061 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42062 [generic bits/ioctls.h] (common-generated): Do not append to
42063 variable.
42064 [generic sys/syscall.h] (syscall.h): Remove variable.
42065 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42066 rule.
42067 [generic sys/syscall.h] (before-compile): Do not append to
42068 variable.
42069 [generic sys/syscall.h] (common-generated): Likewise.
42070 * sysdeps/unix/errnos-tmpl.c: Remove file.
42071 * sysdeps/unix/errnos.awk: Likewise.
42072 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42073 * sysdeps/unix/ioctls.awk: Likewise.
42074 * sysdeps/unix/mk-local_lim.c: Likewise.
42075 * sysdeps/unix/snarf-ioctls: Likewise.
42076
4851a949
RH
420772012-03-19 Richard Henderson <rth@twiddle.net>
42078
bd37f2ee
RH
42079 * sysdeps/i386/fpu/fenv_private.h: New file.
42080 * sysdeps/i386/fpu/math_private.h: Use it.
42081 (math_opt_barrier, math_force_eval): Remove.
42082 (libc_feholdexcept_setround_53bit): Remove.
42083 (libc_feupdateenv_53bit): Remove.
42084 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42085 (math_opt_barrier, math_force_eval): Remove.
42086 (libc_feholdexcept): Remove.
42087 (libc_feholdexcept_setround): Remove.
42088 (libc_fetestexcept, libc_fesetenv): Remove.
42089 (libc_feupdateenv_test): Remove.
42090 (libc_feupdateenv, libc_feholdsetround): Remove.
42091 (libc_feresetround): Remove.
42092
d0adc922
RH
42093 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42094 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42095
0fe0f1f8
RH
42096 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42097 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42098 (libc_feupdateenv_testl): New.
42099 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42100 (libc_feupdateenv_testf): New.
42101 (libc_feupdateenv): Use libc_feupdateenv_test.
42102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42103 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42104
eb92c487
RH
42105 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42106 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42107 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42108 (libc_feresetround_noex): New.
42109 (libc_feresetround_noexf): New.
42110 (libc_feresetround_noexl): New.
42111 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42112 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42113 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42114 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42115 SET_RESTORE_ROUND.
42116 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42117 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42118 (__cos): Likewise.
42119 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42120 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42121 SET_RESTORE_ROUND_NOEX.
42122 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42123 SET_RESTORE_ROUND_NOEXF.
42124 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42125 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42126 (libc_feholdsetroundf): New.
42127 (libc_feresetround, libc_feresetroundf): New.
42128
7d2e8012
RH
42129 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42130 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42131 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42132
b4dabbb4
RH
42133 * sysdeps/generic/math_private.h: Include <fenv.h>.
42134 (default_libc_feholdexcept): New.
42135 (default_libc_feholdexcept_setround): New.
42136 (default_libc_fesetenv, default_libc_feupdateenv): New.
42137 (libc_feholdexcept): Only define if undefined.
42138 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42139 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42140 (libc_feholdexcept_setroundl): Likewise.
42141 (libc_feholdexcept_setround_53bit): Likewise.
42142 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42143 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42144 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42145 (libc_feupdateenv_53bit): Likewise.
42146 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42147 (libc_feholdexcept): Convert from macro to inline function.
42148 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42149 (libc_fesetenv, libc_feupdateenv): Likewise.
42150
4851a949
RH
42151 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42152 not previously defined.
42153 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42154 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42155 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42156 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42157 * sysdeps/ieee754/flt-32/math_private.h: New file.
42158 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42159 math_private.h below SET_FLOAT_WORD.
42160 (__isnan, __isinf_ns, __finite): Remove.
42161 (__isnanf, __isinf_nsf, __finitef): Remove.
42162
e79d442e
AS
421632012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42164
42165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42166
90b80344
DM
421672012-03-17 David S. Miller <davem@davemloft.net>
42168
42169 [BZ #6471]
42170 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42171 for 2.16.
42172
edc21804
DM
421732012-03-16 David S. Miller <davem@davemloft.net>
42174
77e927af
DM
42175 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42176 warnings.
42177
374976dd
DM
42178 [BZ #6471]
42179 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42180 properly.
42181 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42182 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42183 sysdep_routines when subdir is sysvipc.
42184 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42185 __getshmlba helper.
42186
edc21804
DM
42187 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42188
473c3ef3
L
421892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42190
42191 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42192 [__LP64__].
42193
eb0f39b6
L
421942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42195
42196 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42197 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42198 (__lround): Renamed to ...
42199 (__llround): This. Replace long int with long long int.
42200 Define lround functions as aliases of llround functions.
42201 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42202
6b6cd74b
L
422032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42204
42205 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42206 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42207 adresses to uintptr_t. Replace "long int" and "unsigned long
42208 int" with "greg_t" on va_arg.
42209
f1a77b01
L
422102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42211
42212 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42213 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42214
42215 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42216 Move e_machine check before EI_CLASS check. Handle x32
42217 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42218 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42219 SKIP_EM_IA_64 and include
42220 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42221
42222 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42223 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42224 (add_system_dir): New macro.
42225
42226 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42227 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42228
11b90b9f
JM
422292012-03-16 Joseph Myers <joseph@codesourcery.com>
42230
c36e1d23
JM
42231 [BZ #2551]
42232 [BZ #2552]
42233 [BZ #2553]
42234 [BZ #2554]
42235 [BZ #2562]
42236 [BZ #2563]
42237 [BZ #2565]
42238 [BZ #2566]
42239 [BZ #2576]
42240 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42241 (y0): Likewise.
42242 * math/w_j0f.c (j0f): Likewise.
42243 (y0f): Likewise.
42244 * math/w_j0l.c (__j0l): Likewise.
42245 (__y0l): Likewise.
42246 * math/w_j1.c (j1): Likewise.
42247 (y1): Likewise.
42248 * math/w_j1f.c (j1f): Likewise.
42249 (y1f): Likewise.
42250 * math/w_j1l.c (__j1l): Likewise.
42251 (__y1l): Likewise.
42252 * math/w_jn.c (jn): Likewise.
42253 (yn): Likewise.
42254 * math/w_jnf.c (jnf): Likewise.
42255 (ynf): Likewise.
42256 * math/w_jnl.c (__jnl): Likewise.
42257 (__ynl): Likewise.
42258 * math/libm-test.inc (j0_test): Add more tests.
42259 (j1_test): Likewise.
42260 (jn_test): Likewise. Add trailing semicolon to existing test.
42261 (y0_test): Likewise.
42262 (y1_test): Likewise.
42263 * sysdeps/i386/fpu/libm-test-ulps: Update.
42264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42265
11b90b9f
JM
42266 [BZ #13851]
42267 [BZ #13854]
42268 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42269 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42270 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42271 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42272 (__tanl): Set errno for infinite argument.
42273 * sysdeps/i386/fpu/mptan.c: Remove.
42274 * sysdeps/i386/fpu/s_tan.S: Likewise.
42275 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42276 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42277 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42278 * math/libm-test.inc (tan_test): Add more tests and enable more
42279 tests for double and long double.
42280 * sysdeps/i386/fpu/libm-test-ulps: Update.
42281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42282
6a1bd2a1
JK
422832012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42284
42285 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42286 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42287
10a803e0
RM
422882012-03-16 Roland McGrath <roland@hack.frob.com>
42289
42290 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42291 * configure.in: Use it for both main tree and add-ons.
42292 * configure: Regenerated.
42293
f196c7f7
L
422942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42295
42296 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42297
8848d99d
JM
422982012-03-16 Joseph Myers <joseph@codesourcery.com>
42299
96cbe7f4
JM
42300 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42301 in comment.
42302
8848d99d
JM
42303 [BZ #13851]
42304 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42305 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42306 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42307 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42308 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42309 infinite argument.
42310 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42311 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42312 != 0 for prec == 2.
42313 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42314 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42315 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42316 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42317 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42318 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42319 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42320 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42321 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42322 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42323 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42324 * math/libm-test.inc (cos_test): Add more tests and enable more
42325 tests for long double.
42326 (sin_test): Likewise.
42327 (sincos_test): Likewise.
42328 * sysdeps/i386/fpu/libm-test-ulps: Update.
42329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42330
dd7f4703
DM
423312012-03-16 David S. Miller <davem@davemloft.net>
42332
42333 * sysdeps/sparc/fpu/math_private.h: New file.
42334
006f1daa
DM
423352012-03-15 David S. Miller <davem@davemloft.net>
42336
c0c83bc8
DM
42337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42338 file.
e6a62e18 42339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
42340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42341 file.
e6a62e18
DM
42342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42347 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42348 sysdep routines.
42349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42350
88cb87d9
DM
42351 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42352 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42353
006f1daa 42354 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
42355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42356 sparc-ifunc.h
006f1daa 42357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
42358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42359 Likewise.
42360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42361 Likewise.
006f1daa
DM
42362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
42365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42366 Likewise.
006f1daa
DM
42367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
42371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42372 Likewise.
42373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42374 Likewise.
006f1daa
DM
42375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42381 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42382 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42384 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42390 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42391 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42392 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42393 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42394 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42395 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42396 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42398 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42399
11e0098e
AS
424002012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42401
42402 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42403 scaling.
42404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42405
e85b09d0
AJ
424062012-03-15 Andreas Jaeger <aj@suse.de>
42407
42408 [BZ #13852]
42409 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42410 ieee754/flt-32 implementation for sin, cos and sincos.
42411 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42412 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42413 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42414 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42415 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42416 ieee754/flt-32 implementation for tan.
42417
42418 * math/libm-test.inc (cos_test): Enable some large input tests for
42419 float as well
42420 (sin_test): Likewise.
42421 (sincos_test): Likewise.
42422 (tan_test): Add tests for large input.
42423
42424 * sysdeps/i386/fpu/libm-test-ulps: Update.
42425
81c64153
AJ
424262012-03-15 Andreas Jaeger <aj@suse.de>
42427
42428 [BZ #13658]
42429 * math/libm-test.inc (cos_test): Add more test cases.
42430 (sin_test): Likewise.
42431 (sincos_test): Likewise.
42432
7bbfa5c6
AJ
424332012-03-15 Andreas Jaeger <aj@suse.de>
42434
42435 [BZ #13837]
42436 * math/libm-test.inc (cos_test): Add a test case for large input
42437 value.
42438 (sin_test): Likewise.
42439 (sincos_test): Likewise.
42440
57f41c40
AS
424412012-03-15 Andreas Jaeger <aj@suse.de>
42442 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
42443
42444 [BZ #13658]
0671f479 42445 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
42446 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42447 * sysdeps/i386/fpu/branred.c: Likewise.
42448 * sysdeps/i386/fpu/dosincos.c: Likewise.
42449 * sysdeps/i386/fpu/mpa.c: Likewise.
42450 * sysdeps/i386/fpu/s_cos.S: Likewise.
42451 * sysdeps/i386/fpu/s_sin.S: Likewise.
42452 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42453 * sysdeps/i386/fpu/sincos32.c: Likewise.
42454
42455 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42456 Define.
42457 (libc_feupdateenv_53bit): Define.
42458 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42459 Define.
42460 (libc_feupdateenv_53bit): Define.
42461
42462 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42463 53 bit (without extend i386 double precision).
42464
42465 * math/libm-test.inc (sincos_test): Add tests for large input.
42466 (sin): Likewise.
42467 (cos): Likewise.
42468
42469 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42470
9cad04ea
AS
424712012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42472
42473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42474
f7062b9a
DM
424752012-03-15 David S. Miller <davem@davemloft.net>
42476
42477 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42478 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42479 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42480 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42493 file.
f7062b9a 42494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42496 file.
f7062b9a 42497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42499 file.
f7062b9a 42500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42502 file.
f7062b9a
DM
42503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42504 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42505 fmin/fmax sysdep routines.
42506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42507
7bd951ff
DM
425082012-03-14 David S. Miller <davem@davemloft.net>
42509
559398ab
DM
42510 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42513 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42514 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42515 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42516 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42517 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42519 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42520 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42521 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42527 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42530 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42531 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42532 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42533 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42534 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42535 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42536 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42537 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42538 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42539 routines.
42540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42541 file.
559398ab 42542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42544 file.
559398ab 42545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42547 file.
559398ab 42548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42550 file.
559398ab 42551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42553 file.
559398ab 42554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42556 file.
42557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42558 file.
42559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42560 file.
42561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42562 file.
42563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42564 New file.
42565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42566 file.
42567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42568 file.
559398ab 42569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42571 file.
559398ab 42572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42574 file.
559398ab 42575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42577 file.
559398ab 42578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42580 VIS3 routines.
559398ab
DM
42581
42582 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42583 New file.
42584
5a1c1e32
DM
42585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42586
eae47a36
DM
42587 * sysdeps/sparc/configure.in: New file.
42588 * sysdeps/sparc/configure: Generate.
42589 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42590 * configure: Regenerate.
42591 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42592 * config.make.in (have-as-vis3): New.
42593 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42594 available use -Av9d instead of -Av9a.
42595 * sysdeps/sparc/sparc64/Makefile: Likewise.
42596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42598 New file.
42599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42600 file.
42601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42602 New file.
42603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42604 file.
eae47a36
DM
42605 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42606 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42607 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42608 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42609 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42610
c0c83bc8
DM
42611 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42612 fzeros/fnegs to load 0x80000000 into a float register instead of
42613 using the stack.
7bd951ff
DM
42614 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42615
bd951ccb
JM
426162012-03-14 Joseph Myers <joseph@codesourcery.com>
42617
42618 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42619 bits/syscall.h.
42620 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42621 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42622 ($(inst_includedir)/bits/syscall.h): Remove rule.
42623 ($(objpfx)bits/syscall.d): Include instead of
42624 $(objpfx)syscall-list.d.
42625 (generated): Change syscall-list.h and syscall-list.d to
42626 bits/syscall.h and bits/syscall.d.
42627
bb4e6db2
RM
426282012-03-14 Roland McGrath <roland@hack.frob.com>
42629
42630 [BZ #13846]
42631 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42632
aa4a2ae1
JM
426332012-03-14 Joseph Myers <joseph@codesourcery.com>
42634
e456826d
JM
42635 [BZ #13841]
42636 * math/s_csqrt.c: Include <float.h>.
42637 (__csqrt): Scale large or subnormal inputs.
42638 * math/s_csqrtf.c: Likewise.
42639 * math/s_csqrtl.c: Likewise.
42640 * math/libm-test.inc (csqrt_test): Add more tests.
42641 * sysdeps/i386/fpu/libm-test-ulps: Update.
42642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42643
aa4a2ae1
JM
42644 [BZ #13840]
42645 * math/libm-test.inc (hypot_test): Add more tests.
42646
7c10fd35
DM
426472012-03-13 David S. Miller <davem@davemloft.net>
42648
42649 [BZ #13840]
42650 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42651 double-precision for the calculation instead of scaling.
42652
f453b98b
JM
426532012-03-13 Joseph Myers <joseph@codesourcery.com>
42654
42655 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42656 manipulate bits before adding and subtracting TWO52[sx].
42657 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42658 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42659 Likewise.
42660 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42661
09a3453f
DM
426622012-03-13 David S. Miller <davem@davemloft.net>
42663
8e59da90
DM
42664 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42665 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42666 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42667 rtld-global-offsets.h
42668 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42669
2a8ab7f2
DM
42670 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42671 large parameters.
42672
10f62770
DM
42673 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42674
5f0bdb18
DM
42675 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42676 'err' in the ifdef scope in which it is actually used.
42677
09a3453f
DM
42678 * nss/nss_db/db-init.c: Include string.h
42679
b4b2eb5e
DM
426802012-03-12 David S. Miller <davem@davemloft.net>
42681
98bb2f1c
DM
42682 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42683 masking out of the most significant byte of random value used.
42684 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42685 Fix coding style in previous change.
42686
b4b2eb5e
DM
42687 * sysdeps/unix/sysv/linux/kernel-features.h
42688 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42689 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42690 expression.
42691 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42692 later.
42693
6e226b09
DM
426942012-03-11 David S. Miller <davem@davemloft.net>
42695
a1bcbd40
DM
42696 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42697 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42698 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42699 for 'resultvar' otherwise things get truncated on 64-bit.
42700
cb9d6174
DM
42701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42702 Fix masking out of the most significant byte of random value used.
42703
6e226b09
DM
42704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42705
058c132d
AS
427062012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42707
42708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42709
2d2cd515
DM
427102012-03-09 David S. Miller <davem@davemloft.net>
42711
42712 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42713 variables with appropriate CPP guards.
57f41c40
AS
42714 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42715 from the frame pointer, not the stack pointer. Correct layout
42716 comments. Fix test on resulting framesize and the management of
42717 the outregs buffer for pltexit. Preserve floating point return
42718 values across _dl_call_pltexit call.
2d2cd515
DM
42719 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42720 framesize and the management of the outregs buffer for pltexit.
42721 Preserve floating point return values across _dl_call_pltexit
42722 call.
57f41c40
AS
42723 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42724 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42725 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42726 (print_exit): Fix format string for return register value.
42727
9a07f9d0
JM
427282012-03-10 Joseph Myers <joseph@codesourcery.com>
42729
42730 * sunrpc/Makefile (others): Add rpcgen.
42731 ($(objpfx)rpcgen): Remove special build rule and dependency on
42732 libc.
42733 * sunrpc/rpcgen.c: New file.
42734
547b5e30
PE
427352012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42736
c524201a
PE
42737 [BZ #13673]
42738 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42739 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42740 * sysdeps/i386/crti.S: Likewise.
42741 * sysdeps/i386/crtn.S: Likewise.
42742 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42743 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42744 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42745 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42746 * sysdeps/sh/crti.S: Likewise.
42747 * sysdeps/sh/crtn.S: Likewise.
42748 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42749
7b6235f2
PE
42750 [BZ #13673]
42751 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42752 with URL.
42753 * locale/programs/locfile-kw.gperf: Likewise.
42754 * locale/programs/charmap-kw.h: Regenerated.
42755 * locale/programs/locfile-kw.h: Likewise.
42756
547b5e30
PE
42757 [BZ #13673]
42758 * intl/plural.y: Replace FSF snail mail address with URL.
42759 * intl/plural.c: Regenerated.
42760
5f0a5dae
RH
427612012-03-09 Richard Henderson <rth@twiddle.net>
42762
42763 * include/math_private.h: Remove file.
42764 * math/math_private.h: Move file ...
42765 * sysdeps/generic/math_private.h: ... here.
42766
b8c03620
RH
42767 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42768 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42769 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42770
4e234f5d 42771 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42772 and <math_private.h>.
42773 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42774 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42775 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42776 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42777 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42778 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42779 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42780 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42781 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42782 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42783 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42784 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42785 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42786 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42787 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42788 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42789 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42790 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42791 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42792 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42793 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42794 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42795 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42796 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42797 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42798 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42799 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42800 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42801 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42802 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42803 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42804 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42805 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42806 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42807 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42808 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42809 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42810 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42811 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42812 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42813 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42814 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42815 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42816 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42817 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42818 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42819 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42820 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42821 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42822 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42823 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42824 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42825 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42826 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42827 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42828 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42829 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42830 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42831 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42832 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42833 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42834 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42835 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42836 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42837 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42838 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42839 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42840 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42841 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42842 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42843 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42844 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42845 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42846 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42847 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42848 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42849 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42850 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42851 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42852 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42853 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42854 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42855 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42856 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42857 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42858 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42859 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42860 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42861 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42862 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42863 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42864 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42865 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42866 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42867 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42868 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42869 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42870 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42871 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42872 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42873 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42874 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42875 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42876 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42877 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42878 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42879 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42880 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42881 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42882 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42883 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42884 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42885 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42886 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42887 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42888 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42889 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42890 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42891 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42892 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42893 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42894 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42895 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42896 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42897 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42898 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42899 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42900 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42901 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42902 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42903 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42904 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42905 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42906 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42907 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42908 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42909 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42910 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42911 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42912 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42913 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42914 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42915 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42916 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42917 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42918 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42919 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42920 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42921 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42922 * sysdeps/ieee754/k_standard.c: Likewise.
42923 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42924 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42925 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42926 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42927 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42928 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42929 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42930 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42931 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42932 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42933 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42934 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42935 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42936 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42937 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42938 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42939 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42940 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42941 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42942 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42943 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42944 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42945 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42946 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42947 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42948 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42949 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42950 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42951 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42952 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42953 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42954 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42955 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42956 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42957 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42958 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42959 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42960 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42961 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42962 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42963 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42964 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42965 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42966 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42967 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42968 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42969 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42970 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42971 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42972 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42973 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42974 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42975 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42976 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42977 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42978 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42979 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42980 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42981 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42982 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42983 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42984 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42985 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42986 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42987 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42988 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42989 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42990 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42991 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42992 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42993 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42994 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42995 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42996 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42997 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42998 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42999 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43000 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43001 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43002 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43003 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43004 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43005 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43006 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43007 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43008 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43009 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43010 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43011 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43012 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43013 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43014 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43015 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43016 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43017 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43018 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43019 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43020 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43021 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43022 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43023 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43024 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43025 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43026 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43027 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43028 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43029 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43030 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43031 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43032 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43033 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43034 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43035 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43036 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43037 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43038 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43039 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43040 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43041 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43042 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43043 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43044 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43045 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43046 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43047 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43048 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43049 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43050 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43051 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43052 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43053 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43054 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43055 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43056 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43057 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43058 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43059 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43060 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43061 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43062 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43063 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43064 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43065 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43066 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43067 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43068 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43069 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43070 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43071 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43072 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43073 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43074 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43075 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43076 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43077 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43078 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43079 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43080 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43081 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43082 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43083 * sysdeps/ieee754/s_lib_version.c: Likewise.
43084 * sysdeps/ieee754/s_matherr.c: Likewise.
43085 * sysdeps/ieee754/s_signgam.c: Likewise.
43086 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43087 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43088 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43089 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43090 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43091 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43092 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43093 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43094 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43095 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43096 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43097 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43098 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43099 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43100 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43101 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43102 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43103 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43104 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43105 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43106 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 43107
1991fa03
JM
431082012-03-09 Joseph Myers <joseph@codesourcery.com>
43109
43110 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43111 * sunrpc/rpc_main.c: Likewise.
43112 * sunrpc/rpc_svcout.c: Likewise.
43113
60d6f5a6
DM
431142012-03-09 David S. Miller <davem@davemloft.net>
43115
43116 * include/math_private.h: New file.
43117
4962050e
JM
431182012-03-09 Joseph Myers <joseph@codesourcery.com>
43119
02a6f887
JM
43120 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43121 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43122 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43123 from <bits/socket_type.h>.
43124 (enum __socket_type): Don't define here.
43125 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43126 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43127 bits/socket_type.h.
43128
c6e013c1
JM
43129 [BZ #13566]
43130 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43131 checking __USE_GNU.
43132
4962050e
JM
43133 * Makerules ($(inst_includedir)/%.h): New rule.
43134 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43135 (install-others): Remove variable setting.
43136 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43137
38842f45
RH
431382012-03-08 Richard Henderson <rth@twiddle.net>
43139
67bb6da6
RH
43140 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43141 from macro to inline function; merge with the
43142 !__LIBC_INTERNAL_MATH_INLINES version.
43143 (__ieee754_sqrtf): Likewise.
43144
15194b4b
RH
43145 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43146 to inline function.
43147 (__rintf, __floor, __floorf): Likewise.
43148
64e21ede
RH
43149 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43150 macro to inline function.
43151 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43152
38842f45
RH
43153 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43154 not <math/math_private.h>.
43155
c64bf5fe
DM
431562012-03-08 David S. Miller <davem@davemloft.net>
43157
43158 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43159 copyright year.
43160 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43161
82d86f28
TS
431622012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43163
43164 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43165 normalization.
43166 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43167 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43168
aea5d727
UD
431692012-03-08 Ulrich Drepper <drepper@gmail.com>
43170
43171 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43172 be defined individually, they must be defined as a block. Define
43173 S for printing a string instead of hidint the different by using a
43174 macro for adding the 'l'.
43175 * stdio-common/tst-fphex-wide.c: Adjust.
43176
70bca0a3
MP
431772012-03-07 Marek Polacek <polacek@redhat.com>
43178
43179 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43180
65b81130
MP
431812012-03-08 Marek Polacek <polacek@redhat.com>
43182
43183 [BZ #13806]
43184 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43185 * stdio-common/tst-fphex.c: Define a few macros to make the
43186 test reusable. Use them.
43187 * stdio-common/tst-fphex-wide.c: New file.
43188
07037eeb
JM
431892012-03-08 Joseph Myers <joseph@codesourcery.com>
43190
a7a93d50
JM
43191 [BZ #6911]
43192 * manual/macros.texi (gnusystems): New macro.
43193 (nongnusystems): Likewise.
43194 (gnulinuxhurdsystems): Likewise.
43195 (gnuhurdsystems): Likewise..
43196 (gnulinuxsystems): Likewise.
43197 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43198 variants of the GNU system, not "GNU system".
43199 * manual/conf.texi: Likewise.
43200 * manual/errno.texi: Likewise. Update example of errno macro
43201 expansion.
43202 * manual/filesys.texi: Likewise.
43203 (getumask): Document as specific to GNU/Hurd.
43204 * manual/install.texi: Likewise. Reword some references to
43205 GNU/Linux.
43206 * manual/intro.texi: Likewise.
43207 * manual/io.texi: Likewise.
43208 (File Name Portability): Detail which constraints are inapplicable
43209 to all GNU systems and which are only inapplicable to GNU/Hurd.
43210 * manual/job.texi: Likewise.
43211 * manual/llio.texi: Likewise.
43212 (O_NOCTTY): Document as present on GNU/Linux.
43213 * manual/maint.texi: Likewise.
43214 * manual/memory.texi: Likewise.
43215 * manual/pattern.texi: Likewise.
43216 * manual/pipe.texi: Likewise.
43217 * manual/process.texi: Likewise.
43218 * manual/resource.texi: Likewise.
43219 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43220 child on GNU/Hurd.
43221 * manual/setjmp.texi: Likewise.
43222 * manual/signal.texi: Likewise.
43223 * manual/startup.texi: Likewise.
43224 * manual/stdio.texi: Likewise.
43225 * manual/terminal.texi: Likewise.
43226 (ONLCR): Document as POSIX.
43227 (OXTABS): Document availability on GNU/Linux as XTABS.
43228 (ONOEOT): Document availability separately from other bits.
43229 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43230 * manual/time.texi: Likewise.
43231 * manual/users.texi: Likewise.
43232 * INSTALL: Regenerated.
43233 * sysdeps/gnu/errlist.c: Regenerated.
43234
07037eeb
JM
43235 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43236 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43237 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43238 puts.
43239 * configure: Regenerated.
43240
d1d3431a
JM
432412012-03-07 Joseph Myers <joseph@codesourcery.com>
43242
af6a1e37
JM
43243 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43244 default includes instead of AC_HEADER_CHECK.
43245 * sysdeps/i386/configure: Regenerated.
43246
d1d3431a
JM
43247 [BZ #10716]
43248 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43249 * math/s_cacoshf.c (__cacoshf): Likewise.
43250 * math/s_cacoshl.c (__cacoshl): Likewise.
43251 * math/s_casinh.c (__casinh): Set signs of result from argument.
43252 * math/s_casinhf.c (__casinhf): Likewise.
43253 * math/s_casinhl.c (__casinhl): Likewise.
43254 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43255 (casinh_test): Add more tests.
43256 * sysdeps/i386/fpu/libm-test-ulps: Update.
43257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43258
482ff4da
UD
432592012-03-07 Ulrich Drepper <drepper@gmail.com>
43260
872fda05
UD
43261 * po/zh_TW.po: Update from translation team.
43262
a4300c7a
UD
43263 * login/Makefile (distribute): Remove variable.
43264 * catgets/Makefile: Likewise.
43265 * mach/Makefile: Likewise.
43266 * malloc/Makefile: Likewise.
43267 * misc/Makefile: Likewise.
43268 * iconv/Makefile: Likewise.
43269 * nscd/Makefile: Likewise.
43270 * hurd/Makefile: Likewise.
43271 * manual/Makefile: Likewise.
43272 * locale/Makefile: Likewise.
43273 * intl/Makefile: Likewise.
43274 * conform/Makefile: Likewise.
43275 * nss/Makefile: Likewise.
43276 * time/Makefile: Likewise.
43277 * soft-fp/Makefile: Likewise.
43278 * dirent/Makefile: Likewise.
43279 * gmon/Makefile: Likewise.
43280 * po/Makefile: Likewise.
43281 * rt/Makefile: Likewise.
43282 * socket/Makefile: Likewise.
43283 * math/Makefile: Likewise.
43284 * signal/Makefile: Likewise.
43285 * debug/Makefile: Likewise.
43286 * elf/Makefile: Likewise.
43287 * timezone/Makefile: Likewise.
43288 * stdlib/Makefile: Likewise.
43289 * iconvdata/Makefile: Likewise.
43290 * sunrpc/Makefile: Likewise.
43291 * io/Makefile: Likewise.
43292 * argp/Makefile: Likewise.
43293 * inet/Makefile: Likewise.
43294 * hesiod/Makefile: Likewise.
43295 * grp/Makefile: Likewise.
43296 * csu/Makefile: Likewise.
43297 * wctype/Makefile: Likewise.
43298 * crypt/Makefile: Likewise.
43299 * libio/Makefile: Likewise.
43300 * string/Makefile: Likewise.
43301 * nis/Makefile: Likewise.
43302 * resolv/Makefile: Likewise.
43303 * stdio-common/Makefile: Likewise.
43304 * wcsmbs/Makefile: Likewise.
43305 * dlfcn/Makefile: Likewise.
43306 * posix/Makefile: Likewise.
43307
3b7c4e74 43308 [BZ #6959]
482ff4da
UD
43309 * timezone/Makefile: Don't install timezone files, just the programs
43310 and scripts.
43311
f72ed77d
UD
433122012-03-06 Ulrich Drepper <drepper@gmail.com>
43313
a000466f
UD
43314 * nss/databases.def: Add missing gshadow entry.
43315
f72ed77d
UD
43316 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43317
a53b7a4e
MP
433182012-03-06 Marek Polacek <polacek@redhat.com>
43319
43320 [BZ #13726]
43321 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43322 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43323 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43324 * stdio-common/tst-long-dbl-fphex.c: New file.
43325
e9258400
DM
433262012-03-06 David S. Miller <davem@davemloft.net>
43327
43328 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43329 (set_obp_int): New function.
43330 (get_obp_int): New function.
43331 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
43332 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43333 Avoid unused variable warnings on 'val' and use builtin_expect.
43334 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43335 __builtin_expect.
e9258400
DM
43336 (INLINE_CLONE_SYSCALL): Likewise.
43337
3bd2c723
DM
433382012-03-05 David S. Miller <davem@davemloft.net>
43339
43340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43341
bbb78d03
AS
433422012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43343
884c5db4
AS
43344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43345
bbb78d03
AS
43346 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43347 only for |x| >= 40.
43348 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43349
1c9f702a 433502012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
43351
43352 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43353 Replace gettimeofday with __vdso_gettimeofday.
43354
7be16f82
RM
43355 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43356 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43357 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
43358
43359 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43360 time with __vdso_time.
43361
ed58a00f
JM
433622012-03-05 Joseph Myers <joseph@codesourcery.com>
43363
43364 * manual/lang.texi (size_t): Note types to which size_t may be
43365 equivalent with the GNU C Library, but do not describe when
43366 differences between them are significant.
43367
30ee4ced
AJ
433682012-03-05 Andreas Jaeger <aj@suse.de>
43369
43370 * sysdeps/i386/fpu/libm-test-ulps: Update.
43371
b7cd39e8
JM
433722012-03-05 Joseph Myers <joseph@codesourcery.com>
43373
43374 [BZ #3976]
43375 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43376 (__ieee754_pow): Save and restore rounding mode and use
43377 round-to-nearest for main computations.
43378 * math/libm-test.inc (pow_test_tonearest): New function.
43379 (pow_test_towardzero): Likewise.
43380 (pow_test_downward): Likewise.
43381 (pow_test_upward): Likewise.
43382 (main): Call the new functions.
43383 * sysdeps/i386/fpu/libm-test-ulps: Update.
43384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
43385
43386 [BZ #3976]
43387 * math/libm-test.inc (cosh_test_tonearest): New function.
43388 (cosh_test_towardzero): Likewise.
43389 (cosh_test_downward): Likewise.
43390 (cosh_test_upward): Likewise.
43391 (sinh_test_tonearest): Likewise.
43392 (sinh_test_towardzero): Likewise.
43393 (sinh_test_downward): Likewise.
43394 (sinh_test_upward): Likewise.
43395 (main): Call the new functions.
43396 * sysdeps/i386/fpu/libm-test-ulps: Update.
43397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43398
6c6a98c9
TV
433992012-03-05 Tom de Vries <tom@codesourcery.com>
43400
43401 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43402 default stack guard is set in last bytes.
43403 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43404
21bb2d2e 434052012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 43406
21bb2d2e 43407 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 43408
21bb2d2e
AJ
43409 [BZ #13656]
43410 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43411 possibly allocate from heap instead of stack.
43412 * stdio-common/bug-vfprintf-nargs.c: New file.
43413 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 43414
c6922934
AS
434152012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43416
43417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43418
bc957d53
MP
434192012-03-03 Marek Polacek <polacek@redhat.com>
43420
43421 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43422 * math/math_private.h: Likewise.
43423 * stdlib/tst-strtod.c: Likewise.
43424 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43425 * sysdeps/x86_64/bits/atomic.h: Likewise.
43426
6358490d
DM
434272012-03-02 David S. Miller <davem@davemloft.net>
43428
43429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43433 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43434 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43435 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43436 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43437
01ae168d
RM
434382012-03-02 Roland McGrath <roland@hack.frob.com>
43439
d9a17c07
RM
43440 [BZ #13792]
43441 * manual/examples/README: New file, says the example source files
43442 can be used under GPL>=2.
43443 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43444 line containing just "*/".
43445 * manual/examples/add.c: Add copyright header (GPL>=2).
43446 * manual/examples/argp-ex1.c: Likewise.
43447 * manual/examples/argp-ex2.c: Likewise.
43448 * manual/examples/argp-ex3.c: Likewise.
43449 * manual/examples/argp-ex4.c: Likewise.
43450 * manual/examples/atexit.c: Likewise.
43451 * manual/examples/db.c: Likewise.
43452 * manual/examples/dir.c: Likewise.
43453 * manual/examples/dir2.c: Likewise.
43454 * manual/examples/execinfo.c: Likewise.
43455 * manual/examples/filecli.c: Likewise.
43456 * manual/examples/filesrv.c: Likewise.
43457 * manual/examples/fmtmsgexpl.c: Likewise.
43458 * manual/examples/genpass.c: Likewise.
43459 * manual/examples/inetcli.c: Likewise.
43460 * manual/examples/inetsrv.c: Likewise.
43461 * manual/examples/isockad.c: Likewise.
43462 * manual/examples/longopt.c: Likewise.
43463 * manual/examples/memopen.c: Likewise.
43464 * manual/examples/memstrm.c: Likewise.
43465 * manual/examples/mkfsock.c: Likewise.
43466 * manual/examples/mkisock.c: Likewise.
43467 * manual/examples/mygetpass.c: Likewise.
43468 * manual/examples/pipe.c: Likewise.
43469 * manual/examples/popen.c: Likewise.
43470 * manual/examples/rprintf.c: Likewise.
43471 * manual/examples/search.c: Likewise.
43472 * manual/examples/select.c: Likewise.
43473 * manual/examples/setjmp.c: Likewise.
43474 * manual/examples/sigh1.c: Likewise.
43475 * manual/examples/sigusr.c: Likewise.
43476 * manual/examples/stpcpy.c: Likewise.
43477 * manual/examples/strdupa.c: Likewise.
43478 * manual/examples/strftim.c: Likewise.
43479 * manual/examples/strncat.c: Likewise.
43480 * manual/examples/subopt.c: Likewise.
43481 * manual/examples/swapcontext.c: Likewise.
43482 * manual/examples/termios.c: Likewise.
43483 * manual/examples/testopt.c: Likewise.
43484 * manual/examples/testpass.c: Likewise.
43485 * manual/examples/timeval_subtract.c: Likewise.
43486
01ae168d
RM
43487 [BZ #13792]
43488 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43489 function to ...
43490 * manual/timeval_subtract.c.texi: ... here, new file.
43491
49efa33d
DM
434922012-03-02 David S. Miller <davem@davemloft.net>
43493
43494 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43495
28afd92d
JM
434962012-03-02 Joseph Myers <joseph@codesourcery.com>
43497
804360ed
JM
43498 [BZ #3976]
43499 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43500 (__sin): Save and restore rounding mode and use round-to-nearest
43501 for all computations.
43502 (__cos): Save and restore rounding mode and use round-to-nearest
43503 for all computations.
43504 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43505 <fenv.h>.
43506 (tan): Save and restore rounding mode and use round-to-nearest for
43507 all computations.
43508 * math/libm-test.inc (cos_test_tonearest): New function.
43509 (cos_test_towardzero): Likewise.
43510 (cos_test_downward): Likewise.
43511 (cos_test_upward): Likewise.
43512 (sin_test_tonearest): Likewise.
43513 (sin_test_towardzero): Likewise.
43514 (sin_test_downward): Likewise.
43515 (sin_test_upward): Likewise.
43516 (tan_test_tonearest): Likewise.
43517 (tan_test_towardzero): Likewise.
43518 (tan_test_downward): Likewise.
43519 (tan_test_upward): Likewise.
43520 (main): Call the new functions.
43521 * sysdeps/i386/fpu/libm-test-ulps: Update.
43522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43523
a6d06d7b
JM
43524 [BZ #10135]
43525 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43526 small n, then large n, before computing and testing k+n.
43527 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43528 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43529 Likewise.
43530 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43531 Likewise.
43532 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43533 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43534 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43535 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43536 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43537 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43538 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43539 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43540 * math/libm-test.inc (scalbn_test): Add more tests.
43541 (scalbln_test): Likewise.
43542
07e12bb3
JM
43543 * manual/filesys.texi (mode_t): Describe constraints on size and
43544 signedness, not exact equivalence to a particular type.
43545 (ino_t): Likewise.
43546 (ino64_t): Likewise.
43547 (dev_t): Likewise.
43548 (nlink_t): Likewise.
43549 (blkcnt_t): Likewise.
43550 (blkcnt64_t): Likewise.
43551 * manual/llio.texi (off_t): Likewise.
43552
28afd92d
JM
43553 [BZ #3976]
43554 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43555 (__ieee754_exp): Save and restore rounding mode and use
43556 round-to-nearest for all computations.
43557 * math/libm-test.inc (exp_test_tonearest): New function.
43558 (exp_test_towardzero): Likewise.
43559 (exp_test_downward): Likewise.
43560 (exp_test_upward): Likewise.
43561 (main): Call the new functions.
43562 * sysdeps/i386/fpu/libm-test-ulps: Update.
43563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43564
b1eeb65d
CD
435652012-03-01 Chris Demetriou <cgd@google.com>
43566
43567 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43568 have predictable order.
43569
53362a4b
DM
435702012-03-01 David S. Miller <davem@davemloft.net>
43571
3c969083
DM
43572 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43573
759707de
DM
43574 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43575 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43576 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43577 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43578
dfdb8ff2
DM
43579 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43580 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43581 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43583 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43584 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43585 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43586 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43587 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43588
ead89f96
DM
43589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43590
7f66bd07
DM
43591 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43592 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43593 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43594
53362a4b
DM
43595 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43596 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43597 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43598 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43599 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43600 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43601 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43602 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43603 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43604 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43605 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43606 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43607 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43608 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43609 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43610 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43611 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43612 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43613 * sysdeps/sparc/elf/configure: Regenerated.
43614
7b1902cb
JM
436152012-03-01 Joseph Myers <joseph@codesourcery.com>
43616
bec039bc
JM
43617 * configure.in (AS, LD): Require binutils 2.20 or later.
43618 * configure: Regenerated.
43619 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43620 as required minimum version.
43621 * INSTALL: Regenerated.
43622
7b1902cb
JM
43623 [BZ #2541]
43624 [BZ #4108]
43625 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43626 before squaring exponent.
43627 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43628 bottom long double and 27 bits of top long double before squaring
43629 exponent.
43630 * math/libm-test.inc (erfc_test): Add more tests.
43631 * sysdeps/i386/fpu/libm-test-ulps: Update.
43632 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43634
f775c276
KT
436352012-03-01 Kai Tietz <ktietz@redhat.com>
43636
43637 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43638 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43639 containing bit-fields.
43640 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43641 * soft-fp/single.h (_FP_UNION_S): Likewise.
43642 * soft-fp/double.h (_FP_UNION_D): Likewise.
43643
5b8a4d4a
JM
436442012-02-29 Joseph Myers <joseph@codesourcery.com>
43645
0bab47b6
JM
43646 [BZ #13786]
43647 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43648 not include ../strcmp.S.
43649 [USE_AS_STRNCASECMP_L]: Likewise.
43650 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43651 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43652 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43653 (__strncasecmp_l_ia32): Define as alias to
43654 __strncasecmp_l_nonascii.
43655
0fcad3e2
JM
43656 [BZ #5794]
43657 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43658 * sysdeps/i386/fpu/libm-test-ulps: Update.
43659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43660
5b8a4d4a
JM
43661 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43663
8fdceb2e
JL
436642012-02-29 Jeff Law <law@redhat.com>
43665
43666 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43667 out of bounds read.
43668
1f393a11
MP
436692012-02-29 Marek Polacek <polacek@redhat.com>
43670
43671 [BZ #13706]
43672 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43673 * elf/Makefile: Add rules to run tst-unused-dep.out.
43674
8847f037
DM
436752012-02-28 David S. Miller <davem@davemloft.net>
43676
43677 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43678 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43679 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43680 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43681 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43682 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43683
169d7f11
JM
436842012-02-29 Joseph Myers <joseph@codesourcery.com>
43685
43686 * math/libm-test.inc (llround_test): Move one test from
43687 lround_test. Use TEST_f_L in moved test.
43688 (lround_test): Move misplaced test to llround_test. Add testcase
43689 from bug 2561.
43690
39adf059
UD
436912012-02-28 Ulrich Drepper <drepper@gmail.com>
43692
43693 * sysdeps/x86_64/fpu/e_expf.S: New file.
43694 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43695
71b5d1c5
SB
436962012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43697
43698 [BZ #13637]
43699 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43700 of remain_len that may cause incomplete multi-byte character and
43701 false match.
43702 * posix/bug-regex33.c: New file.
43703 * posix/Makefile (tests): Add bug-regex33.
43704
1f77f049
JM
437052012-02-28 Joseph Myers <joseph@codesourcery.com>
43706
43707 * manual/macros.texi: New file.
43708 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43709 * manual/libc.texinfo: Include macros.texi.
43710 * manual/creatute.texi: Likewise.
43711 * manual/install.texi: Likewise.
43712 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43713 @glibcadj{} in references to the GNU C Library.
43714 * manual/charset.texi: Likewise.
43715 * manual/conf.texi: Likewise.
43716 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43717 when not using those macros.
43718 * manual/creature.texi: Likewise.
43719 * manual/crypt.texi: Likewise.
43720 * manual/errno.texi: Likewise.
43721 * manual/filesys.texi: Likewise.
43722 * manual/header.texi: Likewise.
43723 * manual/install.texi: Likewise.
43724 * manual/intro.texi: Likewise.
43725 * manual/io.texi: Likewise.
43726 * manual/job.texi: Likewise.
43727 * manual/lang.texi: Likewise.
43728 * manual/libc.texiinfo: Likewise.
43729 * manual/llio.texi: Likewise.
43730 * manual/locale.texi: Likewise.
43731 * manual/maint.texi: Likewise.
43732 * manual/math.texi: Likewise.
43733 * manual/memory.texi: Likewise.
43734 * manual/message.texi: Likewise.
43735 * manual/nss.texi: Likewise.
43736 * manual/pattern.texi: Likewise.
43737 * manual/process.texi: Likewise.
43738 * manual/resource.texi: Likewise.
43739 * manual/search.texi: Likewise.
43740 * manual/setjmp.texi: Likewise.
43741 * manual/signal.texi: Likewise.
43742 * manual/socket.texi: Likewise.
43743 * manual/startup.texi: Likewise.
43744 * manual/stdio.texi: Likewise.
43745 * manual/string.texi: Likewise.
43746 * manual/sysinfo.texi: Likewise.
43747 * manual/syslog.texi: Likewise.
43748 * manual/terminal.texi: Likewise.
43749 * manual/time.texi: Likewise.
43750 * manual/users.texi: Likewise.
43751 * INSTALL: Regenerated.
43752 * NOTES: Regenerated.
d40c5d54 43753 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43754
450bf206
AS
437552012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43756
43757 * include/dirent.h: Include <dirstream.h> before
43758 <dirent/dirent.h>.
43759
741a235b
DM
437602012-02-28 David S. Miller <davem@davemloft.net>
43761
43762 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43763 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43764 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43765 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43766
d6b5aa58
DM
437672012-02-27 David S. Miller <davem@davemloft.net>
43768
1aff59a3
DM
43769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43771 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43772 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43773
d6b5aa58
DM
43774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43775 frame pointer instead of stack pointer relative arg slot.
43776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43777 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43778 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43779
433f48bf
CD
437802012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43781
43782 [BZ #3992]
43783 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43784
d674b76d
DM
437852012-02-27 David S. Miller <davem@davemloft.net>
43786
43787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43791 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43792 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43793 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43794 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43795
0e7727f7
JM
437962012-02-27 Joseph Myers <joseph@codesourcery.com>
43797
43798 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43799 later. Allow versions 5-9.
43be4ca2 43800 * configure: Regenerated.
0e7727f7
JM
43801 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43802 required minimum version and 4.6 as recommended version. Do not
43803 mention bugs in GCC 2.7 and 2.8.
43be4ca2 43804 * INSTALL: Regenerated.
0e7727f7 43805
a78bc654
DM
438062012-02-27 David S. Miller <davem@davemloft.net>
43807
428d5830
DM
43808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43812 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43813 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43814 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43815 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43816
a78bc654
DM
43817 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43818 manipulate bits before adding and subtracting TWO112[sx].
43819 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43820
4579f81c
RM
438212012-02-27 Roland McGrath <roland@hack.frob.com>
43822
36c8acb4
RM
43823 [BZ #13775]
43824 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43825 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43826 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43827 being in POSIX, because they are in 1003.1-2008.
43828
84ad622b
RM
43829 * rt/tst-aio.c: Include <fcntl.h>.
43830 * rt/tst-aio7.c: Likewise.
43831 * rt/tst-aio64.c: Likewise.
43832
4579f81c
RM
43833 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43834
abd923db
JM
438352012-02-27 Joseph Myers <joseph@codesourcery.com>
43836
43837 * manual/install.texi (--with-headers): Describe headers as
43838 interface headers, not private headers.
43839 (Specific advice for GNU/Linux systems): Describe use of headers
43840 from "make headers_install", not private headers from older
43841 kernels.
43be4ca2 43842 * INSTALL: Regenerated.
abd923db
JM
43843 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43844 Change to 2.6.19.
43845 * sysdeps/unix/sysv/linux/configure: Regenerated.
43846
6664049b
JM
43847 * manual/llio.texi (fclean): Remove documentation.
43848
bb8b6697
JM
43849 * manual/Makefile (libc-texi-generated): New variable. Include
43850 version.texi.
43851 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43852 $(libc-texi-generated), not duplicated list of files.
43853 (version.texi, stamp-version): New rules.
43854 (realclean): Remove $(libc-texi-generated), not individual files
43855 from that list. Do not remove dir-add.texinfo.
43856 * manual/libc.texinfo: Comment out uses of edition numbers and
43857 references to printed manual. Remove last-updated dates.
43858 (EDITION): Comment out.
43859 (ISBN): Likewise.
43860 (VERSION, UPDATED): Remove.
43861 (version.texi): Include.
43862
12e5c3b9
AS
438632012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43864
43865 * sysdeps/posix/spawni.c: Include <signal.h>.
43866 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43867 * sysdeps/pthread/aio_fsync.c: Likewise.
43868
4efeffc1 438692012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 43870
ba63ba08
UD
43871 * conform/Makefile (tests): Run only when not cross-compiling and
43872 when fast-check is not defined.
43873
d94a4670
UD
43874 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43875 * conform/data/limits.h-data: Fixes for POSIX2008.
43876 * conform/run-conformtest.sh: Run all tests.
43877 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43878 headers.
43879 * include/bits/dlfcn.h: Likewise.
43880 * include/langinfo.h: Likewise.
43881 * include/monetary.h: Likewise.
43882 * include/sys/poll.h: Likewise.
43883
43884 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43885 for __USE_GNU.
43886 * posix/spawn.h: Define __need_sigset_t.
43887 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43888 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43889 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43890 to get sigevent_t only.
43891 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43892 only for __USE_GNU.
43893 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43894 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43895 process_vm_writev only for __USE_GNU.
43896 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
43897
43898 * conform/Makefile: For now ignore errors from run-conformtest.
43899 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43900 POSIX to avoid namespace pollution. Don't prepend headers.
43901 * conform/data/aio.h-data: Fixes for POSIX testing.
43902 * conform/data/fcntl.h-data: Likewise.
43903 * conform/data/glob.h-data: Likewise.
43904 * conform/data/grp.h-data: Likewise.
43905 * conform/data/pthread.h-data: Likewise.
43906 * conform/data/pwd.h-data: Likewise.
43907 * conform/data/signal.h-data: Likewise.
43908 * conform/data/spawn.h-data: Likewise.
43909 * conform/data/stdio.h-data: Likewise.
43910 * conform/data/stdlib.h-data: Likewise.
43911 * conform/data/stropts.h-data: Likewise.
43912 * conform/data/sys/mman.h-data: Likewise.
43913 * conform/data/sys/stat.h-data: Likewise.
43914 * conform/data/sys/types.h-data: Likewise.
43915 * conform/data/sys/wait.h-data: Likewise.
43916 * conform/data/time.h-data: Likewise.
43917 * conform/data/unistd.h-data: Likewise.
43918 * conform/data/utime.h-data: Likewise.
43919
43920 * io/sys/stat.h: fchmod was always in POSIX.
43921 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43922 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43923 * rt/aio.h: Define __need_timespec before including <time.h>.
43924 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43925 struct. Add forward declaration of pthread_attr_t and use it in
43926 sigevent.
43927 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43928 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43929 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43930 always remove CLK_TCK definition.
43931
c20105c3
AS
439322012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43933
43934 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43935
7a270350
UD
439362012-02-25 Ulrich Drepper <drepper@gmail.com>
43937
31341567
UD
43938 * conform/run-conformtest.sh: New file.
43939 * conform/Makefile: Run run-conformtest for tests.
43940 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43941 support.
43942
43943 * conform/data/uchar.h-data: New file.
43944 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43945 * conform/data/arpa/inet.h-data: Likewise.
43946 * conform/data/assert.h-data: Likewise.
43947 * conform/data/complex.h-data: Likewise.
43948 * conform/data/cpio.h-data: Likewise.
43949 * conform/data/ctype.h-data: Likewise.
43950 * conform/data/dirent.h-data: Likewise.
43951 * conform/data/dlfcn.h-data: Likewise.
43952 * conform/data/errno.h-data: Likewise.
43953 * conform/data/fcntl.h-data: Likewise.
43954 * conform/data/float.h-data: Likewise.
43955 * conform/data/fmtmsg.h-data: Likewise.
43956 * conform/data/fnmatch.h-data: Likewise.
43957 * conform/data/ftw.h-data: Likewise.
43958 * conform/data/glob.h-data: Likewise.
43959 * conform/data/grp.h-data: Likewise.
43960 * conform/data/iconv.h-data: Likewise.
43961 * conform/data/inttypes.h-data: Likewise.
43962 * conform/data/langinfo.h-data: Likewise.
43963 * conform/data/libgen.h-data: Likewise.
43964 * conform/data/limits.h-data: Likewise.
43965 * conform/data/locale.h-data: Likewise.
43966 * conform/data/math.h-data: Likewise.
43967 * conform/data/monetary.h-data: Likewise.
43968 * conform/data/mqueue.h-data: Likewise.
43969 * conform/data/ndbm.h-data: Likewise.
43970 * conform/data/net/if.h-data: Likewise.
43971 * conform/data/netdb.h-data: Likewise.
43972 * conform/data/netinet/in.h-data: Likewise.
43973 * conform/data/nl_types.h-data: Likewise.
43974 * conform/data/poll.h-data: Likewise.
43975 * conform/data/pthread.h-data: Likewise.
43976 * conform/data/pwd.h-data: Likewise.
43977 * conform/data/regex.h-data: Likewise.
43978 * conform/data/sched.h-data: Likewise.
43979 * conform/data/search.h-data: Likewise.
43980 * conform/data/semaphore.h-data: Likewise.
43981 * conform/data/setjmp.h-data: Likewise.
43982 * conform/data/signal.h-data: Likewise.
43983 * conform/data/spawn.h-data: Likewise.
43984 * conform/data/stdarg.h-data: Likewise.
43985 * conform/data/stdio.h-data: Likewise.
43986 * conform/data/stdlib.h-data: Likewise.
43987 * conform/data/string.h-data: Likewise.
43988 * conform/data/strings.h-data: Likewise.
43989 * conform/data/stropts.h-data: Likewise.
43990 * conform/data/sys/ipc.h-data: Likewise.
43991 * conform/data/sys/mman.h-data: Likewise.
43992 * conform/data/sys/msg.h-data: Likewise.
43993 * conform/data/sys/resource.h-data: Likewise.
43994 * conform/data/sys/select.h-data: Likewise.
43995 * conform/data/sys/sem.h-data: Likewise.
43996 * conform/data/sys/shm.h-data: Likewise.
43997 * conform/data/sys/socket.h-data: Likewise.
43998 * conform/data/sys/stat.h-data: Likewise.
43999 * conform/data/sys/statvfs.h-data: Likewise.
44000 * conform/data/sys/time.h-data: Likewise.
44001 * conform/data/sys/timeb.h-data: Likewise.
44002 * conform/data/sys/times.h-data: Likewise.
44003 * conform/data/sys/types.h-data: Likewise.
44004 * conform/data/sys/uio.h-data: Likewise.
44005 * conform/data/sys/un.h-data: Likewise.
44006 * conform/data/sys/utsname.h-data: Likewise.
44007 * conform/data/sys/wait.h-data: Likewise.
44008 * conform/data/syslog.h-data: Likewise.
44009 * conform/data/tar.h-data: Likewise.
44010 * conform/data/termios.h-data: Likewise.
44011 * conform/data/utime.h-data: Likewise.
44012 * conform/data/utmpx.h-data: Likewise.
44013 * conform/data/varargs.h-data: Likewise.
44014 * conform/data/wchar.h-data: Likewise.
44015 * conform/data/wctype.h-data: Likewise.
44016 * conform/data/wordexp.h-data: Likewise.
44017
44018 * include/stropts.h: New file.
44019 * include/uchar.h: New file.
44020 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44021 * include/assert.h: Likewise.
44022 * include/ctype.h: Likewise.
44023 * include/dirent.h: Likewise.
44024 * include/dlfcn.h: Likewise.
44025 * include/fcntl.h: Likewise.
44026 * include/fnmatch.h: Likewise.
44027 * include/glob.h: Likewise.
44028 * include/grp.h: Likewise.
44029 * include/libio.h: Likewise.
44030 * include/locale.h: Likewise.
44031 * include/math.h: Likewise.
44032 * include/net/if.h: Likewise.
44033 * include/netdb.h: Likewise.
44034 * include/netinet/in.h: Likewise.
44035 * include/pthread.h: Likewise.
44036 * include/pwd.h: Likewise.
44037 * include/regex.h: Likewise.
44038 * include/sched.h: Likewise.
44039 * include/search.h: Likewise.
44040 * include/setjmp.h: Likewise.
44041 * include/signal.h: Likewise.
44042 * include/stdio.h: Likewise.
44043 * include/stdlib.h: Likewise.
44044 * include/string.h: Likewise.
44045 * include/sys/cdefs.h: Likewise.
44046 * include/sys/mman.h: Likewise.
44047 * include/sys/msg.h: Likewise.
44048 * include/sys/resource.h: Likewise.
44049 * include/sys/select.h: Likewise.
44050 * include/sys/socket.h: Likewise.
44051 * include/sys/stat.h: Likewise.
44052 * include/sys/statvfs.h: Likewise.
44053 * include/sys/time.h: Likewise.
44054 * include/sys/times.h: Likewise.
44055 * include/sys/uio.h: Likewise.
44056 * include/sys/utsname.h: Likewise.
44057 * include/sys/wait.h: Likewise.
44058 * include/termios.h: Likewise.
44059 * include/time.h: Likewise.
44060 * include/ulimit.h: Likewise.
44061 * include/unistd.h: Likewise.
44062 * include/utime.h: Likewise.
44063 * include/wchar.h: Likewise.
44064 * include/wctype.h: Likewise.
44065 * include/wordexp.h: Likewise.
44066
44067 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44068
7a270350
UD
44069 * time/time.h: TIME_UTC must be a macro.
44070 Make timespec_get available for ISO C11 only as well.
44071
7724defc
UD
440722012-02-24 Ulrich Drepper <drepper@gmail.com>
44073
44074 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44075 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44076
6b1d1d46
JM
440772012-02-24 Joseph Myers <joseph@codesourcery.com>
44078
44079 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 44080
0f8bbd69
JM
440812012-02-24 Joseph Myers <joseph@codesourcery.com>
44082
44083 * manual/texinfo.tex: Update to version 2012-01-19.16.
44084
66ab80bc
JM
440852012-02-24 Joseph Myers <joseph@codesourcery.com>
44086
44087 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44088
74981cc5
RM
440892012-02-24 Roland McGrath <roland@hack.frob.com>
44090
ee968201
RM
44091 [BZ #13738]
44092 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44093 * manual/fdl-1.3.texi: New file.
44094 * manual/fdl-1.1.texi: File removed.
44095
74981cc5
RM
44096 [BZ #13738]
44097 * manual/libc.texinfo (FDL_VERSION): New @set.
44098 Use it for mention of FDL in cover text.
44099 (Documentation License): Use it in @include file name.
44100
7bb764bc
JM
441012012-02-22 Joseph Myers <joseph@codesourcery.com>
44102 Roland McGrath <roland@hack.frob.com>
44103
44104 [BZ #5461]
57f41c40
AS
44105 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44106 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
44107 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44108 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44109 name.
44110 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44111
6cbeae47
JM
441122012-02-22 Joseph Myers <joseph@codesourcery.com>
44113
44114 [BZ #2547]
44115 [BZ #11365]
44116 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44117 manipulate bits before adding and subtracting TWO23[sx].
44118 * math/libm-test.inc (nearbyint_test): Add more tests.
44119
fe45ce09
JM
441202012-02-22 Joseph Myers <joseph@codesourcery.com>
44121
44122 [BZ #2548]
44123 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44124 bits before adding and subtracting TWO23[sx].
44125 * math/libm-test.inc (rint_test): Add more tests.
44126 (rint_test_tonearest): Likewise.
44127 (rint_test_towardzero): Likewise.
44128 (rint_test_downward): Likewise.
44129 (rint_test_upward: Likewise.
44130
ff3b3d82
JM
441312012-02-22 Joseph Myers <joseph@codesourcery.com>
44132
44133 [BZ #10110]
44134 * include/stdc-predef.h: New file. Extracted from features.h.
44135 * include/features.h: Include stdc-predef.h.
44136 * Makefile (headers): Add stdc-predef.h.
44137 * CONFORMANCE (Compiler limitations): Update.
44138
ef0aab35
JM
441392012-02-22 Joseph Myers <joseph@codesourcery.com>
44140
44141 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44142
58639409
DM
441432012-02-21 David S. Miller <davem@davemloft.net>
44144
44145 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44146 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44147
c0e70b25
DM
441482012-02-20 David S. Miller <davem@davemloft.net>
44149
44150 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44151 using a normal save/restore sequence, rather than allocating a
44152 dummy stack frame just to store a frame pointer and restore.
44153 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44154
fb06851d
JM
441552012-02-21 Joseph Myers <joseph@codesourcery.com>
44156
44157 * manual/install.texi: Fix stray word in line-wrapped comment.
44158
7a8b71c3
DM
441592012-02-20 David S. Miller <davem@davemloft.net>
44160
d510c123
DM
44161 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44162 both binutils and gcc support GOTDATA.
44163
0722d7c2
DM
44164 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44165 "rd %pc" in the PIC register setup sequences.
44166
3d2b3019
DM
44167 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44168 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44169 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44170 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44171 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44172 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44173 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44174 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44175 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44176 (SYSCALL_ERROR_HANDLER): Likewise.
44177 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44178 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44179 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44180 (SYSCALL_ERROR_HANDLER): Likewise.
44181
c80098a9
DM
44182 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44183 (HAVE_GCC_GOTDATA): New.
44184 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44185 relocation support in both binutils and gcc.
44186 * sysdeps/sparc/elf/configure: Regenerate.
44187
3a2545a0
DM
44188 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44189 * sysdeps/sparc/sparc32/elf/configure: Delete.
44190 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44191 * sysdeps/sparc/sparc64/elf/configure: Delete.
44192 * sysdeps/sparc/elf/configure.in: New file.
44193 * sysdeps/sparc/elf/configure: Generate.
44194
7a8b71c3
DM
44195 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44196 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44197 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44198 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44199 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44200
f1e86fca
JM
442012012-02-21 Joseph Myers <joseph@codesourcery.com>
44202
44203 * manual/install.texi: Do not mention specific glibc version
44204 numbers.
44205 * manual/libc.texinfo (VERSION, UPDATED): Update.
44206 (@copying): Use @copyright{} and range of years.
44207
0e7dfaef
JM
442082012-02-21 Joseph Myers <joseph@codesourcery.com>
44209
44210 [BZ #13695]
44211 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44212 [crti.S not in sysdirs] (generated): Do not append.
44213 [crti.S not in sysdirs] (omit-deps): Likewise.
44214 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44215 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44216 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44217 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44218 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44219 Likewise.
44220 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44221 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44222 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44223 * csu/defs.awk: Remove file.
44224 * sysdeps/generic/initfini.c: Likewise.
44225 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44226 variable.
44227 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44228 Likewise.
44229
599af3ca
JM
442302012-02-20 Joseph Myers <joseph@codesourcery.com>
44231
44232 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44233 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44234 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44235 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44236 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44237 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44238 <bits/epoll.h>.
44239 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44240 (__EPOLL_PACKED): Define to empty if not defined by
44241 <bits/epoll.h>.
44242 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44244 bits/epoll.h.
44245
0e499750
JM
442462012-02-20 Joseph Myers <joseph@codesourcery.com>
44247
44248 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44249 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44250 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44251 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44252 <bits/timerfd.h>.
44253 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44255 bits/timerfd.h.
44256
5ad91f6e
JM
442572012-02-20 Joseph Myers <joseph@codesourcery.com>
44258
44259 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44260 in C locale.
44261 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44262 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44263 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44265
06b99b02
AJ
442662012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44267
44268 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44269 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44270
7638c0fd
AS
442712012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44272
44273 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44274 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44275 defined.
44276 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44277 Likewise.
44278 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44279 entry for 2.16.
44280
92221550
AJ
442812012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44282
44283 * math/w_acos.c: Use non-signaling floating-point comparisons.
44284 * math/w_acosf.c: Likewise.
44285 * math/w_acosh.c: Likewise.
44286 * math/w_acoshf.c: Likewise.
44287 * math/w_acoshl.c: Likewise.
44288 * math/w_acosl.c: Likewise.
44289 * math/w_asin.c: Likewise.
44290 * math/w_asinf.c: Likewise.
44291 * math/w_asinl.c: Likewise.
44292 * math/w_atanh.c: Likewise.
44293 * math/w_atanhf.c: Likewise.
44294 * math/w_atanhl.c: Likewise.
44295 * math/w_exp2.c: Likewise.
44296 * math/w_exp2f.c: Likewise.
44297 * math/w_exp2l.c: Likewise.
44298 * math/w_j0.c: Likewise.
44299 * math/w_j0f.c: Likewise.
44300 * math/w_j0l.c: Likewise.
44301 * math/w_j1.c: Likewise.
44302 * math/w_j1f.c: Likewise.
44303 * math/w_j1l.c: Likewise.
44304 * math/w_jn.c: Likewise.
44305 * math/w_jnf.c: Likewise.
44306 * math/w_log.c: Likewise.
44307 * math/w_log10.c: Likewise.
44308 * math/w_log10f.c: Likewise.
44309 * math/w_log10l.c: Likewise.
44310 * math/w_log2.c: Likewise.
44311 * math/w_log2f.c: Likewise.
44312 * math/w_log2l.c: Likewise.
44313 * math/w_logf.c: Likewise.
44314 * math/w_logl.c: Likewise.
44315 * math/w_sqrt.c: Likewise.
44316 * math/w_sqrtf.c: Likewise.
44317 * math/w_sqrtl.c: Likewise.
44318 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44319 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44320 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44321 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44322 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44323
ebaf36eb
JM
443242012-02-19 Joseph Myers <joseph@codesourcery.com>
44325
44326 [BZ #9739]
44327 * manual/string.texi (strnlen): Use correct parameter name in
44328 equivalent expression.
44329
71c254a6
JM
443302012-02-19 Joseph Myers <joseph@codesourcery.com>
44331
44332 [BZ #11174]
44333 * manual/users.texi (seteuid): Consistently use neweuid for
44334 argument name.
44335
16d2c631
JM
443362012-02-19 Joseph Myers <joseph@codesourcery.com>
44337
44338 [BZ #13704]
44339 * manual/nss.texi (Services in the NSS configuration): Correct
44340 list of services in example configuration file.
44341
cd837b09
NB
443422012-02-19 Nick Bowler <nbowler@draconx.ca>
44343
44344 [BZ #11322]
44345 * manual/arith.texi: Remove statements about negative zero
44346 behaving identically to zero.
44347
02c4bbad
JM
443482012-02-18 Joseph Myers <joseph@codesourcery.com>
44349
44350 [BZ #5993]
44351 * manual/install.texi: Do not document upgrading from libc5.
44352
366842e7
JM
443532012-02-18 Joseph Myers <joseph@codesourcery.com>
44354
44355 [BZ #4596]
44356 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44357
dd54084d
DM
443582012-02-18 David S. Miller <davem@davemloft.net>
44359
44360 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44361 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44362 %o7 across the call.
44363 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44364 instead.
44365 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44366 SETUP_PIC_REG_LEAF.
44367 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44368 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44369 * sysdeps/sparc/crtn.S: Likewise.
44370
2bcc53a3
UD
443712012-02-17 Ulrich Drepper <drepper@gmail.com>
44372
44373 * aout/Makefile: Remove.
44374
09c093b5
RK
443752012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44376
44377 [BZ #13058]
44378 * manual/examples/argp-ex1.c (main): Format definition in GNU
44379 style.
44380 * manual/examples/argp-ex2.c (main): Likewise.
44381 * manual/examples/argp-ex3.c (main): Likewise.
44382 * manual/examples/argp-ex4.c (main): Likewise.
44383 * manual/examples/longopt.c (main): Use new-style prototype
44384 definition.
44385 * manual/examples/strncat.c (main): Specify return type and use
44386 (void) for arguments.
44387 * manual/examples/subopt.c (main): Use char **argv argument.
44388
2ee633a2
JM
443892012-02-17 Joseph Myers <joseph@codesourcery.com>
44390
44391 [BZ #5077]
44392 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44393 rounding modes.
44394
0520adde
FB
443952012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44396
44397 [BZ #6907]
44398 * manual/string.texi (strchr): Change when strchrnul is
44399 recommended.
44400
3f4081cd
DGM
444012012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44402
44403 [BZ #174]
44404 * manual/locale.texi (setlocale): Document LOCPATH.
44405
d1b10e78
JM
444062012-02-17 Joseph Myers <joseph@codesourcery.com>
44407
44408 [BZ #10210]
44409 * manual/process.texi (execle): Move @dots{} before last argument.
44410
79c6869c
PB
444112012-02-17 Paul Bolle <pebolle@tiscali.nl>
44412
44413 [BZ #12047]
44414 * manual/charset.texi (Generic Charset Conversion): Fix typo
44415 (LC_TYPE -> LC_CTYPE).
44416
cc6e48bc
NB
444172012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44418
44419 [BZ #5805]
44420 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44421 (scalbnf): Likewise.
44422 (scalbnl): Likewise.
44423 (scalbln): Likewise.
44424 (scalblnf): Likewise.
44425 (scalblnl): Likewise.
44426 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44427 (vwarnx): Likewise.
44428 (verr): Likewise.
44429 (verrx): Likewise.
44430 * manual/filesys.texi (telldir): Use braces around return type.
44431 * manual/llio.texi (mmap): Add space after comma.
44432 (mmap64): Likewise.
44433 * manual/math.texi (jn): Use @var{} on parameter names.
44434 (jnf): Likewise.
44435 (jnl): Likewise.
44436 (yn): Likewise.
44437 (ynf): Likewise.
44438 (ynl): Likewise.
44439 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44440 line.
44441 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44442 "...".
44443 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44444 (sched_get_priority_max): Likewise.
44445 * manual/signal.texi (sigvec): Add space after comma.
44446 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44447 names.
44448 (if_indextoname): Likewise.
44449 (if_freenameindex): Likewise.
44450 (sendto): Use ',' instead of '.' in prototype.
44451 * manual/startup.texi (syscall): Use @dots{} instead of literal
44452 "...".
44453 * manual/stdio.texi (__fpending): Separate initial words of
44454 paragraph from @deftypefun line.
44455 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44456 "...".
44457 (vsyslog): Use @var{} on parameter names.
44458 * manual/terminal.texi (stty): Use @var{} on parameter names.
44459 * manual/users.texi (getutmp): Use @var{} on parameter names.
44460 (getutmpx): Likewise.
44461
5b23062f
JM
444622012-02-17 Joseph Myers <joseph@codesourcery.com>
44463
44464 [BZ #6884]
44465 * manual/stdio.texi (fopen): Fix typos in description of
44466 ",ccs=STRING".
44467
8dee4833
AJ
444682012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44469
44470 [BZ #4026]
44471 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44472 get clock_id definition.
44473
9078ce93
TS
444742012-02-17 Thomas Schwinge <thomas@schwinge.name>
44475
44476 [BZ #4822]
44477 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44478 (madvise): Cast every argument to void on its own.
44479
3835c55f
JM
444802012-02-17 Joseph Myers <joseph@codesourcery.com>
44481
44482 [BZ #9902]
44483 * manual/startup.texi (Exit Status): Fix typo.
44484
35c47e37
JM
444852012-02-17 Joseph Myers <joseph@codesourcery.com>
44486
44487 [BZ #10140]
44488 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44489 * manual/examples/argp-ex2.c: Likewise.
44490 * manual/examples/argp-ex3.c: Likewise.
44491
e3b69ca7
RH
444922012-02-16 Richard Henderson <rth@redhat.com>
44493
44494 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44495 * sysdeps/s390/s390-32/initfini.c: Remove.
44496 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44497 * sysdeps/s390/s390-64/initfini.c: Remove.
44498
df83af67
KK
444992012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44500
44501 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44502 compiler output for sysdeps/generic/initfini.c.
44503 * sysdeps/sh/elf/initfini.c: Remove file.
44504
f63f3380
DM
445052012-02-16 David S. Miller <davem@davemloft.net>
44506
fb59b3a4
DM
44507 [BZ #11494]
44508 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44509
f63f3380
DM
44510 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44511 * sysdeps/sparc/crti.S: New file.
44512 * sysdeps/sparc/crtn.S: New file.
44513 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44514 * sysdeps/sparc/sparc64/Makefile: Likewise.
44515
df6a4a4a
MF
445162012-02-15 Mike Frysinger <vapier@gentoo.org>
44517
6dd8f3dc 44518 [BZ #3335]
df6a4a4a
MF
44519 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44520
1cac7236
RM
445212012-02-15 Roland McGrath <roland@hack.frob.com>
44522
d2c736f8
RM
44523 [BZ #4822]
44524 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44525
1cac7236
RM
44526 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44527 (write, read, close): Likewise.
44528 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44529
8e475601
JM
445302012-02-15 Joseph Myers <joseph@codesourcery.com>
44531
44532 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44533 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44534 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44535 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44536 <bits/signalfd.h>.
44537 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44539 bits/signalfd.h.
44540
ed656b40
MP
445412012-02-14 Marek Polacek <polacek@redhat.com>
44542
44543 * sysdeps/x86_64/crti.S: New file.
44544 * sysdeps/x86_64/crtn.S: New file.
44545 * sysdeps/x86_64/elf/initfini.c: Remove file.
44546
2a979d3a
JM
445472012-02-13 Joseph Myers <joseph@codesourcery.com>
44548
44549 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44550 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44551 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44552 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44553 <bits/inotify.h>.
44554 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44555 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44556 bits/inotify.h.
44557
2a418ac3
JM
445582012-02-13 Joseph Myers <joseph@codesourcery.com>
44559
44560 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44561 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44562 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44563 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44564 <bits/eventfd.h>.
44565 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44567 bits/eventfd.h.
44568
fb779be7
TS
445692012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44570
e19e83c5
RM
44571 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44572 __feraiseexcept instead of feraiseexcept.
7c35ffed 44573
fb779be7
TS
44574 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44575 nanosleep invocations.
44576 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44577 strings, and add error checking for a nanosleep invocations.
44578
59ba27a6
PE
445792012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44580
44581 Replace FSF snail mail address with URLs, as per GNU coding standards.
44582 Most of the snail mail addresses were wrong anyway, and omitting
44583 them makes the source code easier to maintain. Almost all of the
44584 changes are to license notices and to locale LC_IDENTIFICATION
44585 addresses, except for this one:
44586 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44587 not its snail mail address.
44588
57b957eb
RH
445892012-02-09 Richard Henderson <rth@twiddle.net>
44590
af850b1c
RH
44591 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44592 of kernel-features.h.
44593
57b957eb
RH
44594 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44595
6b73181a
MP
445962012-02-08 Marek Polacek <polacek@redhat.com>
44597
44598 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44599 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44600 * sysdeps/gnu/_G_config.h: Likewise.
44601 * sysdeps/generic/_G_config.h: Likewise.
44602
26ecc33a
AS
446032012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44604
6c6dbc63
AS
44605 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44606 tests.
44607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44608
e216c012
AS
44609 * sysdeps/powerpc/powerpc32/crti.S: New file.
44610 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44611 * sysdeps/powerpc/powerpc64/crti.S: New file.
44612 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44613
26ecc33a
AS
44614 * Makeconfig (have-initfini): Don't set.
44615 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44616 * configure.in (nopic_initfini): Don't substitute.
44617 * config.h.in (HAVE_INITFINI): Don't #undef.
44618 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44619 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44620
3add8e13
JM
446212012-02-08 Joseph Myers <joseph@codesourcery.com>
44622
44623 Support crti.S and crtn.S provided directly by architectures.
44624 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44625 [crti.S in sysdirs] (omit-deps): Likewise.
44626 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44627 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44628 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44629 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44630 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44631 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44632 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44633 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44634 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44635 compiler output for sysdeps/generic/initfini.c.
44636 * sysdeps/i386/elf/Makefile: Remove file.
44637 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44638
a22f12b4
MP
446392012-02-07 Marek Polacek <polacek@redhat.com>
44640
44641 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44642 * sysdeps/gnu/_G_config.h: Likewise.
44643 * sysdeps/mach/hurd/_G_config.h: Likewise.
44644
148cf100
MP
446452012-02-07 Marek Polacek <polacek@redhat.com>
44646
44647 * math/Makefile (tests): Add tst-CMPLX2.
44648 * math/tst-CMPLX2.c: New file.
44649
cfdc0dd7
AS
446502012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44651
84ba42c4
AS
44652 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44653
cfdc0dd7
AS
44654 * math/libm-test.inc (jn_test): Add missing L suffix.
44655
622c86f4
MP
446562012-02-06 Marek Polacek <polacek@redhat.com>
44657
44658 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44659 * sysdeps/i386/fpu/e_powf.S: Likewise.
44660 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44661 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44662 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44663 * sysdeps/i386/fpu/e_pow.S: Likewise.
44664 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44665 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44666 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44667 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44668 * sysdeps/i386/fpu/e_log2.S: Likewise.
44669 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44670 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44671 * sysdeps/i386/fpu/e_powl.S: Likewise.
44672 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44673 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44674 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44675 * sysdeps/i386/fpu/e_logl.S: Likewise.
44676 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44677 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44678 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44679 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44680 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44681 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44682 * sysdeps/i386/fpu/e_log.S: Likewise.
44683 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44684 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44685 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44686 * sysdeps/i386/fpu/e_logf.S: Likewise.
44687 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44688 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44689 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44690 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44691 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44692 * sysdeps/i386/fpu/e_log10.S: Likewise.
44693 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44694 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44695 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44696 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44697 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44698 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44699 * sysdeps/i386/asm-syntax.h: Likewise.
44700 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44701 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44702 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44703 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44704 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44705 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44706 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44707 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44708 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44709 * sysdeps/powerpc/sysdep.h: Likewise.
44710 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44711 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44712
d4a54ac6
JM
447132012-02-06 Joseph Myers <joseph@codesourcery.com>
44714
44715 [BZ #411]
44716 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44717
314054ea
JM
447182012-02-06 Joseph Myers <joseph@codesourcery.com>
44719
44720 * sysdeps/i386/sysdep.h: Include <features.h>.
44721 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44722 version.
44723
d8e0ca50
JM
447242012-02-05 Joseph Myers <joseph@codesourcery.com>
44725
44726 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44727 Define.
44728 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44729 LOAD_PIC_REG_STR.
44730
b1da7dd9
JM
447312012-02-03 Joseph Myers <joseph@codesourcery.com>
44732
44733 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44734 (SETUP_PIC_REG): Use GET_PC_THUNK.
44735 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44736 macro.
44737
9a1d9254
JM
447382012-02-03 Joseph Myers <joseph@codesourcery.com>
44739
44740 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44741 for non-PIC compilation.
44742 (SETUP_PIC_REG): Add .p2align directive.
44743 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44744 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44745 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44746 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44747 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44748 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44749 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44750 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44751 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44752 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44753 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44754 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44755 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44756 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44757 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44758 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44759 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44760 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44761 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44762 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44763 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44764 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44765 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44766 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44767 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44768 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44769 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44770 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44771 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44772 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44773 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44774 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44775 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44776 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44777 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44778 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44779 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44780 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44781 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44782 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44783 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44784
65dc3b75
JM
447852012-02-03 Joseph Myers <joseph@codesourcery.com>
44786
44787 * math/tst-CMPLX.c: Include <stdio.h>.
44788
d55bf177
JM
447892012-01-31 Joseph Myers <joseph@codesourcery.com>
44790
44791 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44792 float.
44793 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44794 * sysdeps/sparc/bits/mathdef.h: Likewise.
44795
69db4f8f
MP
447962012-01-31 Marek Polacek <polacek@redhat.com>
44797
44798 * libio/libio.h: Don't define _PARAMS.
44799 * locale/programs/config.h: Don't define PARAMS.
44800 * stdlib/strtol_l.c: Likewise.
44801 (__strtol_l): Remove PARAMS from the prototype.
44802
41b81892
UD
448032012-01-31 Ulrich Drepper <drepper@gmail.com>
44804
3b49edc0
UD
44805 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44806 names. Just use the correct names. Remove unnecessary wrapper
44807 functions.
44808 * malloc/arena.c: Likewise.
44809 * malloc/hooks.c: Likewise.
44810
41b81892
UD
44811 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44812 ARENA_TEST says not to. Simplify test for creation of a new arena.
44813 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44814
27a25b6e
UD
448152012-01-30 Ulrich Drepper <drepper@gmail.com>
44816
44817 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44818 into tail calls.
44819 (update_get_addr): New function.
44820 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44821 GET_ADDR_MODULE parameter.
44822
c8a89e7d
JM
448232012-01-30 Joseph Myers <joseph@codesourcery.com>
44824
44825 * crypt/cert.c: Remove __STDC__ conditionals.
44826 * crypt/crypt-entry.c: Likewise.
44827 * crypt/crypt_util.c: Likewise.
44828 * libio/filedoalloc.c: Likewise.
44829 * libio/fileops.c: Likewise.
44830 * libio/genops.c: Likewise.
44831 * libio/iofclose.c: Likewise.
44832 * libio/iofdopen.c: Likewise.
44833 * libio/iofopen.c: Likewise.
44834 * libio/iofopen64.c: Likewise.
44835 * libio/iogetdelim.c: Likewise.
44836 * libio/iopopen.c: Likewise.
44837 * libio/obprintf.c: Likewise.
44838 * libio/oldfileops.c: Likewise.
44839 * libio/oldiofclose.c: Likewise.
44840 * libio/oldiofdopen.c: Likewise.
44841 * libio/oldiofopen.c: Likewise.
44842 * libio/oldiopopen.c: Likewise.
44843 * libio/wfiledoalloc.c: Likewise.
44844 * libio/wgenops.c: Likewise.
44845 * locale/programs/xmalloc.c: Likewise.
44846 * misc/syslog.c: Likewise.
44847 * stdio-common/xbug.c: Likewise.
44848 * string/memchr.c: Likewise.
44849 * string/memcmp.c: Likewise.
44850 * string/memrchr.c: Likewise.
44851 * string/rawmemchr.c: Likewise.
44852 * sysdeps/posix/getcwd.c: Likewise.
44853 * time/strftime_l.c: Likewise.
44854
3b100462
JM
448552012-01-30 Joseph Myers <joseph@codesourcery.com>
44856
44857 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
44858 * config.make.in (config-cflags-sse2avx): Define.
44859 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44860 Fix typo.
44861
607998af
CM
448622012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44863
44864 * scripts/config.guess: Update from upstream config git repository.
44865 * scripts/config.sub: Likewise.
44866
3601428f
CM
448672012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44868
3ac8b282
CM
44869 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44870 (EM_NUM): Update.
44871 (R_TILEPRO_*, R_TILEGX_*): New macros.
44872
e034841e
CM
44873 * scripts/firstversions.awk: Fix bug in version range handling.
44874
540d7568
CM
44875 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44876
3601428f
CM
44877 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44878
463de862
CM
44879 * include/sys/epoll.h: New file.
44880 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44881 libc_hidden_def.
44882
73139a76
UD
448832012-01-28 Ulrich Drepper <drepper@gmail.com>
44884
96bc5b45
UD
44885 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44886 Avoid unnecessary __WORDSIZE == 64 test.
44887 (fmaxf): Use VEX format if possible.
44888 (fmax): Likewise.
44889 (fminf): Likewise.
44890 (fmin): Likewise.
44891
56f6f6a2
UD
44892 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44893 * math/math_private.h: Remove libc_fegetround* and
44894 libc_fesetround*.
44895 * sysdeps/i386/configure.in: Check for -msse2avx.
44896 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44897 also if SSE2AVX is defined.
44898 Remove libc_fegetround* and libc_fesetround*.
44899 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44900 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44901 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44902 of HAS_YMM_USABLE.
44903 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44904 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44905 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44906 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44907 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44908
73139a76
UD
44909 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44910
d73f93a4
AZ
449112012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44912
44913 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44914 size is not set.
44915 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44916
6ee65ed6
UD
449172012-01-27 Ulrich Drepper <drepper@gmail.com>
44918
44919 [BZ #13618]
44920 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44921 relocation.
44922 * Makeconfig (libm): Define.
44923 * elf/Makefile: Add rules to build and run tst-relsort1.
44924 * elf/tst-relsort1.c: New file.
44925 * elf/tst-relsort1mod1.c: New file.
44926 * elf/tst-relsort1mod2.c: New file.
44927
8db21882
JM
449282012-01-27 Joseph Myers <joseph@codesourcery.com>
44929
44930 * math/s_ldexp.c: Remove __STDC__ conditionals.
44931 * math/s_ldexpf.c: Likewise.
44932 * math/s_ldexpl.c: Likewise.
44933 * math/s_nextafter.c: Likewise.
44934 * math/s_nexttowardf.c: Likewise.
44935 * math/s_significand.c: Likewise.
44936 * math/s_significandf.c: Likewise.
44937 * math/s_significandl.c: Likewise.
44938 * math/w_jnl.c: Likewise.
44939 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44940 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44941 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44942 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44943 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44944 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44945 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44946 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44947 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44948 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44949 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44950 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44951 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44952 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44953 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44954 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44955 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44956 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44957 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44958 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44959 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44960 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44961 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44962 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44963 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44964 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44965 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44966 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44967 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44968 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44969 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44970 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44971 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44972 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44973 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44974 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44975 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44976 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44977 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44978 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44979 * sysdeps/ieee754/k_standard.c: Likewise.
44980 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44981 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44982 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44983 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44984 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44985 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44986 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44987 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44988 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44989 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44990 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44991 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44992 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44993 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44994 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44995 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44996 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44997 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44998 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44999 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45000 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45001 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45002 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45003 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45004 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45005 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45006 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45007 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45008 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45009 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45010 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45011 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45012 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45013 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45014 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45015 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45016 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45017 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45018 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45019 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45020 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45021 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45022 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45023 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45024 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45025 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45026 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45027 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45028 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45029 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45030 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45031 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45032 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45033 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45034 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45035 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45036 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45037 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45038 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45039 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45040 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45041 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45042 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45043 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45044 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45045 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45046 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45047 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45048 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45049 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45050 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45051 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45052 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45053 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45054 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45055 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45056 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45057 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45058 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45059 * sysdeps/ieee754/s_matherr.c: Likewise.
45060 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45061 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45062 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45063 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45064
965a54a4
JM
450652012-01-26 Joseph Myers <joseph@codesourcery.com>
45066
45067 * crypt/md5.h: Remove __STDC__ conditionals.
45068 * libio/libioP.h: Likewise.
45069 * locale/programs/config.h: Likewise.
45070 * sysdeps/generic/sysdep.h: Likewise.
45071 * sysdeps/i386/asm-syntax.h: Likewise.
45072 * sysdeps/s390/asm-syntax.h: Likewise.
45073 * sysdeps/unix/sysdep.h: Likewise.
45074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45076
7071ad79
JM
450772012-01-26 Joseph Myers <joseph@codesourcery.com>
45078
45079 * libio/libio.h: Remove __STDC__ conditionals.
45080 * malloc/obstack.h: Likewise.
45081 * math/complex.h: Likewise.
45082 * math/math.h: Likewise.
45083 * sysdeps/generic/_G_config.h: Likewise.
45084 * sysdeps/gnu/_G_config.h: Likewise.
45085 * sysdeps/mach/hurd/_G_config.h: Likewise.
45086 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45087 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45088 * sysdeps/sparc/bits/mathdef.h: Likewise.
45089
afc5ed09
UD
450902012-01-26 Ulrich Drepper <drepper@gmail.com>
45091
45092 [BZ #13583]
45093 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 45094 Clean up HAS_* macros.
afc5ed09 45095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
45096 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45097 possible.
45098 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45099 HAS_AVX.
45100 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45101 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45102 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45103 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45104 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 45105
bdb6de1d
JM
451062012-01-25 Joseph Myers <joseph@codesourcery.com>
45107
45108 * elf/tst-unique3.cc (gets): Remove declaration.
45109 * elf/tst-unique3lib.cc (gets): Likewise.
45110 * elf/tst-unique3lib2.cc (gets): Likewise.
45111 * elf/tst-unique4.cc (gets): Likewise.
45112
b15549e6
UD
451132012-01-24 Ulrich Drepper <drepper@gmail.com>
45114
45115 * include/stdio.h: Add C++ protection. Add gets declarations and
45116 definitions.
45117 * debug/tst-chk1.c: Don't declare gets here.
45118 * stdio-common/tst-gets.c: Likewise.
45119
a037381f
JM
451202012-01-24 Joseph Myers <joseph@codesourcery.com>
45121
45122 * posix/glob: Remove directory.
45123
f1d4aa75
JM
451242012-01-24 Joseph Myers <joseph@codesourcery.com>
45125
45126 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45127
81c0c964
PT
451282012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45129
45130 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45131 of the non-standard EPFNOSUPPORT.
45132
0ea698ae
ST
451332011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45134
45135 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45136 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45137 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45138
d220b117
UD
451392012-01-21 Ulrich Drepper <drepper@gmail.com>
45140
45141 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45142
3e1aa84e
UD
451432012-01-20 Ulrich Drepper <drepper@gmail.com>
45144
45145 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45146 transient errors.
45147 * nscd/grpcache.c (cache_addgr): Likewise.
45148 * nscd/hstcache.c (cache_addhst): Likewise.
45149 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45150 * nscd/pwdcache.c (cache_addpw): Likewise.
45151 * nscd/servicescache.c (cache_addserv): Likewise.
45152
400aa020
UD
451532012-01-16 Ulrich Drepper <drepper@gmail.com>
45154
d77e7869
UD
45155 * malloc/malloc.c: Various cleanups.
45156 * malloc/hooks.c: Likewise.
45157
400aa020
UD
45158 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45159 * stdlib/bug-fmtmsg1.c: New file.
45160
45161 * stdlib/fmtmsg.c (init): Add missing unlock.
45162 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45163
e0a309cf
MP
451642012-01-12 Marek Polacek <polacek@redhat.com>
45165
45166 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45167 and _GNU_SOURCE.
45168
929d11c7
WS
451692012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45170
45171 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45172 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45173 macro to ensure uniqueness of label name.
45174 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45175 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45176
41d0e869
UD
451772012-01-11 Ulrich Drepper <drepper@gmail.com>
45178
0cc5ed3b
UD
45179 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45180
41d0e869
UD
45181 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45182 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45183 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45184 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45185
a47a831a
UD
451862012-01-10 Ulrich Drepper <drepper@gmail.com>
45187
daa891c0
UD
45188 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45189
45190 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45191 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45192 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45193
e58ef0f2
UD
45194 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45195
a47a831a 45196 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
45197 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45198 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 45199 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
45200
45201 * math/bits/math-finite.h: Add ldexp support.
45202
a0bfc9c7
MP
452032012-01-10 Marek Polacek <polacek@redhat.com>
45204
45205 * locale/programs/localedef.h (show_archive_content): Add noreturn
45206 attribute.
45207
d6e97a1d
UD
452082012-01-09 Ulrich Drepper <drepper@gmail.com>
45209
45210 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45211
d5835c26
UD
452122012-01-08 Ulrich Drepper <drepper@gmail.com>
45213
e5f484c6
UD
45214 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45215
d5835c26
UD
45216 * io/Makefile (headers): Add bits/poll2.h.
45217
d1f741e9
WS
452182011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45219
45220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45221 typo #include statement.
45222
ec09c1c4
UD
452232012-01-08 Ulrich Drepper <drepper@gmail.com>
45224
45225 * include/sys/cdefs.h: Define __attribute_alloc_size.
45226 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45227 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45228 * elf/pldd.c: Likewise.
45229 * iconv/iconv_charmap.c: Likewise.
45230 * iconv/iconvconfig.c: Likewise.
45231 * iconv/strtab.c: Likewise.
45232 * locale/programs/locale.c: Likewise.
45233 * locale/programs/localedef.h: Likewise.
45234 * locale/programs/simple-hash.c: Likewise.
45235 * nscd/nscd.h: Likewise.
45236 * nss/makedb.c: Likewise.
45237 * sysdeps/generic/ldconfig.h: Likewise.
45238 * locale/programs/localedef.c: Remove xmalloc prototype.
45239 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45240
20b38e03
PP
452412012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45242
45243 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45244 appropriate.
45245
a0da5fe1
UD
452462012-01-08 Ulrich Drepper <drepper@gmail.com>
45247
1d5a644a 45248 * math/Makefile (tests): Add tst-CMPLX.
669704fd 45249 * math/tst-CMPLX.c: New file.
1d5a644a 45250
8784a6db
UD
45251 * math/complex.h (CMPLXL): Fix typo.
45252
d9a216c0
UD
45253 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45254 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45255 GLIBC_2.16.
45256 * debug/tst-chk1.c: Add poll and ppoll tests.
45257 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45258 * include/sys/poll.h: Add hidden proto for ppoll.
45259 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45260 * sysdeps/mach/hurd/ppoll.c: Likewise.
45261 * io/ppoll.c: Likewise.
45262 * debug/poll_chk.c: New file.
45263 * debug/ppoll_chk.c: New file.
45264 * include/bits/poll2.h: New file.
45265 * io/bits/poll2.h: New file.
45266
ac097f5c
UD
45267 [BZ #1350]
45268 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45269
2119dcfa
UD
45270 * configure.in: static is always set to yes. Remove.
45271 * config.make.in: Don't set build-static.
45272 * Makeconfig: Remove use of build-static.
45273 * dlfcn/Makefile: Likewise.
45274 * elf/Makefile: Likewise.
45275 * math/Makefile: Likewise.
45276 * misc/Makefile: Likewise.
45277 * nptl/Makefile: Likewise.
45278 * sysdeps/mach/hurd/Makefile: Likewise.
45279
121766a9
UD
45280 * configure.in: PWD_P is not used anymore.
45281 * config.make.in: Remove PWD_P entry.
45282
51a1d39c 45283 * configure.in: Remove last remnants of RANLIB.
8720d066 45284 No need to check for signed size_t anymore.
215f4bdc
UD
45285 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45286 and IA-64.
3857022a 45287 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
45288 * aclocal.m4: Likewise.
45289
d3ed7225
UD
45290 * wcsmbs/mbrtoc16.c: Implement using towc function.
45291 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45292 * wcsmbs/wcsmbsload.c: Likewise.
45293 * iconv/gconv_simple.c: Likewise.
45294 * iconv/gconv_int.h: Likewise.
45295 * iconv/gconv_builtin.h: Likewise.
45296 * iconv/iconv_prog.c: Remove CHAR16 handling.
45297
45298 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45299
45300 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45301
a0da5fe1
UD
45302 * configure.in: Remove --with-elf and --enable-bounded options.
45303 Dont set base_machine for ia64. More non-ELF conditions removed.
45304 Remove testing and setting of leading underscore information.
45305 * config.make.in (build-bounded): Set to no.
45306 * config.h.in: Remove NO_UNDERSCORES entry.
45307 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45308 them.
45309 * csu/start.c: Remove !NO_UNDERSCORE code.
45310 * locale/localeinfo.h: Likewise.
45311 * sysdeps/generic/machine-gmon.h: Likewise.
45312 * sysdeps/generic/sysdep.h: Likewise.
45313 * sysdeps/i386/sysdep.h: Likewise.
45314 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45315 * sysdeps/mach/sysdep.h: Likewise.
45316 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45317 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45318 * sysdeps/sh/sysdep.h: Likewise.
45319 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45320 * sysdeps/unix/i386/sysdep.S: Likewise.
45321 * sysdeps/unix/sparc/start.c: Likewise.
45322 * sysdeps/unix/sparc/sysdep.S: Likewise.
45323 * sysdeps/unix/sparc/sysdep.h: Likewise.
45324 * sysdeps/unix/start.c: Likewise.
45325 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45326 * sysdeps/x86_64/sysdep.h: Likewise.
45327
df78418a
UD
453282012-01-07 Ulrich Drepper <drepper@gmail.com>
45329
a784e502
UD
45330 [BZ #13553]
45331 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45332 for non-gcc.
45333 * argp/argp-fmtstream.h: Use const instead __const.
45334 * argp/argp.h: Likewise.
45335 * assert/assert.h: Likewise.
45336 * bits/fenv.h: Likewise.
45337 * bits/sched.h: Likewise.
45338 * bits/sigset.h: Likewise.
45339 * bits/sigthread.h: Likewise.
45340 * catgets/nl_types.h: Likewise.
45341 * conform/data/pthread.h-data: Likewise.
45342 * crypt/crypt-private.h: Likewise.
45343 * crypt/crypt.h: Likewise.
45344 * crypt/crypt_util.c: Likewise.
45345 * ctype/ctype.h: Likewise.
45346 * debug/execinfo.h: Likewise.
45347 * debug/mbsnrtowcs_chk.c: Likewise.
45348 * debug/mbsrtowcs_chk.c: Likewise.
45349 * debug/wcsnrtombs_chk.c: Likewise.
45350 * debug/wcsrtombs_chk.c: Likewise.
45351 * debug/wcstombs_chk.c: Likewise.
45352 * dirent/dirent.h: Likewise.
45353 * dlfcn/dlfcn.h: Likewise.
45354 * elf/neededtest4.c: Likewise.
45355 * grp/grp.h: Likewise.
45356 * gshadow/gshadow.h: Likewise.
45357 * iconv/gconv.h: Likewise.
45358 * iconv/gconv_int.h: Likewise.
45359 * iconv/gconv_simple.c: Likewise.
45360 * iconv/iconv.h: Likewise.
45361 * iconv/loop.c: Likewise.
45362 * iconv/skeleton.c: Likewise.
45363 * include/aio.h: Likewise.
45364 * include/aliases.h: Likewise.
45365 * include/argz.h: Likewise.
45366 * include/arpa/inet.h: Likewise.
45367 * include/assert.h: Likewise.
45368 * include/dirent.h: Likewise.
45369 * include/dlfcn.h: Likewise.
45370 * include/execinfo.h: Likewise.
45371 * include/fcntl.h: Likewise.
45372 * include/fenv.h: Likewise.
45373 * include/glob.h: Likewise.
45374 * include/grp.h: Likewise.
45375 * include/libintl.h: Likewise.
45376 * include/mntent.h: Likewise.
45377 * include/netdb.h: Likewise.
45378 * include/pwd.h: Likewise.
45379 * include/rpc/netdb.h: Likewise.
45380 * include/sched.h: Likewise.
45381 * include/search.h: Likewise.
45382 * include/shadow.h: Likewise.
45383 * include/signal.h: Likewise.
45384 * include/stdio.h: Likewise.
45385 * include/stdlib.h: Likewise.
45386 * include/string.h: Likewise.
45387 * include/sys/socket.h: Likewise.
45388 * include/sys/stat.h: Likewise.
45389 * include/sys/statfs.h: Likewise.
45390 * include/sys/statvfs.h: Likewise.
45391 * include/sys/syslog.h: Likewise.
45392 * include/sys/time.h: Likewise.
45393 * include/sys/uio.h: Likewise.
45394 * include/time.h: Likewise.
45395 * include/unistd.h: Likewise.
45396 * include/utmp.h: Likewise.
45397 * include/wchar.h: Likewise.
45398 * include/wctype.h: Likewise.
45399 * inet/aliases.h: Likewise.
45400 * inet/arpa/inet.h: Likewise.
45401 * inet/netinet/ether.h: Likewise.
45402 * inet/netinet/in.h: Likewise.
45403 * intl/libintl.h: Likewise.
45404 * io/bits/fcntl2.h: Likewise.
45405 * io/fcntl.h: Likewise.
45406 * io/ftw.h: Likewise.
45407 * io/sys/poll.h: Likewise.
45408 * io/sys/stat.h: Likewise.
45409 * io/sys/statfs.h: Likewise.
45410 * io/sys/statvfs.h: Likewise.
45411 * io/utime.h: Likewise.
45412 * libio/bits/stdio.h: Likewise.
45413 * libio/bits/stdio2.h: Likewise.
45414 * libio/libio.h: Likewise.
45415 * libio/libioP.h: Likewise.
45416 * libio/stdio.h: Likewise.
45417 * locale/lc-ctype.c: Likewise.
45418 * locale/locale.h: Likewise.
45419 * login/utmp.h: Likewise.
45420 * malloc/arena.c: Likewise.
45421 * malloc/malloc.c: Likewise.
45422 * malloc/malloc.h: Likewise.
45423 * malloc/mcheck.c: Likewise.
45424 * malloc/mtrace.c: Likewise.
45425 * math/bits/mathcalls.h: Likewise.
45426 * math/fenv.h: Likewise.
45427 * math/math_private.h: Likewise.
45428 * misc/bits/error.h: Likewise.
45429 * misc/bits/syslog.h: Likewise.
45430 * misc/err.h: Likewise.
45431 * misc/error.h: Likewise.
45432 * misc/fstab.h: Likewise.
45433 * misc/mntent.h: Likewise.
45434 * misc/regexp.h: Likewise.
45435 * misc/search.h: Likewise.
45436 * misc/sgtty.h: Likewise.
45437 * misc/sys/mman.h: Likewise.
45438 * misc/sys/syslog.h: Likewise.
45439 * misc/sys/uio.h: Likewise.
45440 * misc/sys/xattr.h: Likewise.
45441 * misc/ttyent.h: Likewise.
45442 * nis/rpcsvc/ypclnt.h: Likewise.
45443 * nss/nss.h: Likewise.
45444 * posix/bits/unistd.h: Likewise.
45445 * posix/fnmatch.h: Likewise.
45446 * posix/glob.h: Likewise.
45447 * posix/sched.h: Likewise.
45448 * posix/spawn.h: Likewise.
45449 * posix/sys/wait.h: Likewise.
45450 * posix/unistd.h: Likewise.
45451 * posix/wordexp.h: Likewise.
45452 * pwd/pwd.h: Likewise.
45453 * resolv/netdb.h: Likewise.
45454 * resource/sys/resource.h: Likewise.
45455 * rt/aio.h: Likewise.
45456 * rt/bits/mqueue2.h: Likewise.
45457 * rt/mqueue.h: Likewise.
45458 * shadow/shadow.h: Likewise.
45459 * signal/signal.h: Likewise.
45460 * socket/send.c: Likewise.
45461 * socket/sendto.c: Likewise.
45462 * socket/sys/socket.h: Likewise.
45463 * stdio-common/printf.h: Likewise.
45464 * stdlib/bits/stdlib.h: Likewise.
45465 * stdlib/fmtmsg.h: Likewise.
45466 * stdlib/monetary.h: Likewise.
45467 * stdlib/stdlib.h: Likewise.
45468 * stdlib/ucontext.h: Likewise.
45469 * streams/stropts.h: Likewise.
45470 * string/argz.h: Likewise.
45471 * string/bits/string2.h: Likewise.
45472 * string/string.h: Likewise.
45473 * string/strings.h: Likewise.
45474 * sunrpc/rpc/auth.h: Likewise.
45475 * sunrpc/rpc/auth_des.h: Likewise.
45476 * sunrpc/rpc/clnt.h: Likewise.
45477 * sunrpc/rpc/netdb.h: Likewise.
45478 * sunrpc/rpc/pmap_clnt.h: Likewise.
45479 * sunrpc/rpc/xdr.h: Likewise.
45480 * sysdeps/generic/inttypes.h: Likewise.
45481 * sysdeps/generic/net/if.h: Likewise.
45482 * sysdeps/generic/sys/swap.h: Likewise.
45483 * sysdeps/gnu/net/if.h: Likewise.
45484 * sysdeps/gnu/utmpx.h: Likewise.
45485 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45486 * sysdeps/i386/i486/bits/string.h: Likewise.
45487 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45488 * sysdeps/s390/bits/string.h: Likewise.
45489 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45490 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45491 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45492 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45493 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45494 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45495 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45496 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45497 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45498 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45499 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45500 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45501 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45502 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45503 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45504 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45505 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45506 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45507 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45508 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45509 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45510 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45511 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45512 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45513 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45514 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45515 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45516 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45517 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45518 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45519 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45520 * sysvipc/sys/ipc.h: Likewise.
45521 * sysvipc/sys/msg.h: Likewise.
45522 * sysvipc/sys/sem.h: Likewise.
45523 * sysvipc/sys/shm.h: Likewise.
45524 * termios/termios.h: Likewise.
45525 * time/sys/time.h: Likewise.
45526 * time/time.h: Likewise.
45527 * wcsmbs/bits/wchar2.h: Likewise.
45528 * wcsmbs/uchar.h: Likewise.
45529 * wcsmbs/wchar.h: Likewise.
45530 * wctype/wctype.h: Likewise.
45531
0269750c
UD
45532 [BZ #13551]
45533 * Makeconfig: Remove all but ELF support including AIX support.
45534 * Makerules: Likewise.
45535 * config.h.in: Likewise.
45536 * config.make.in: Likewise.
45537 * configure: Likewise.
45538 * configure.in: Likewise.
45539 * csu/Makefile: Likewise.
45540 * csu/version.c: Likewise.
45541 * debug/Makefile: Likewise.
45542 * dlfcn/Makefile: Likewise.
45543 * elf/Makefile: Likewise.
45544 * extra-lib.mk: Likewise.
45545 * iconv/Makefile: Likewise.
45546 * include/libc-symbols.h: Likewise.
45547 * include/shlib-compat.h: Likewise.
45548 * resolv/Makefile: Likewise.
45549 * resolv/res_libc.c: Likewise.
45550 * rt/Makefile: Likewise.
45551 * sysdeps/i386/asm-syntax.h: Likewise.
45552 * sysdeps/i386/sysdep.h: Likewise.
45553 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45554 * sysdeps/mach/sysdep.h: Likewise.
45555 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45556 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45557 * sysdeps/s390/asm-syntax.h: Likewise.
45558 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45559 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45560 * sysdeps/sh/sysdep.h: Likewise.
45561 * sysdeps/unix/sparc/sysdep.h: Likewise.
45562 * sysdeps/wordsize-32/divdi3.c: Likewise.
45563 * sysdeps/x86_64/sysdep.h: Likewise.
45564
00bbd29b
UD
45565 * argp/Versions: Remove _argp_unlock_xxx.
45566
45567 [BZ #13559]
45568 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45569 * abilist/libBrokenLocale.abilist: Likewise.
45570 * abilist/libanl.abilist: Likewise.
45571 * abilist/libc.abilist: Likewise.
45572 * abilist/libcrypt.abilist: Likewise.
45573 * abilist/libdl.abilist: Likewise.
45574 * abilist/libm.abilist: Likewise.
45575 * abilist/libnsl.abilist: Likewise.
45576 * abilist/libpthread.abilist: Likewise.
45577 * abilist/libresolv.abilist: Likewise.
45578 * abilist/librt.abilist: Likewise.
45579 * abilist/libthread_db.abilist: Likewise.
45580 * abilist/libutil.abilist: Likewise.
45581 * abilist/libnss_db.abilist: New file.
45582
45583 * scripts/abilist.awk: Add support for indirect functions.
45584
a2693a0e
UD
45585 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45586
3f05895f
UD
45587 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45588
ecb6fb48
UD
45589 * shlib-versions: Remove entries for ports architectures.
45590
664f8cb9
UD
45591 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45592 files in ports.
45593 * elf/stackguard-macros.h: Remove support for IA-64.
45594 * elf/tst-auditmod1.c: Likewise.
45595 * sysdeps/generic/ldsodefs.h: Likewise.
45596
7ae81d88
UD
45597 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45598 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45599 configure files.
45600
bdeba135
UD
45601 [BZ #13552]
45602 * configure.in: Remove --enable-omitfp support.
45603 * FAQ.in: Adjust.
45604 * config.make.in: Likewise.
45605 * Makeconfig: Likewise.
45606 * manual/install.texi: Likewise.
45607
d75a0a62
UD
45608 In case anyone cares, the IA-64 architecture could move to ports.
45609 * sysdeps/ia64/*: Removed.
45610 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45611 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45612
dcc9756b
UD
45613 [BZ #13555]
45614 * configure.in: Remove entries for unsupported architectures.
45615
d3761ebc 45616 [BZ #13533]
9954432e
UD
45617 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45618 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45619 routines.
45620 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45621 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45622 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45623 fall back to using wcrtomb.
45624 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45625 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45626 renaming.
45627 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45628 * wcsmbs/tst-c16c32-1.c: New file.
45629
45630 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45631 local variable.
45632
c3a87236
UD
45633 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45634
28926a1b
UD
45635 * elf/tst-unique3.cc: Add explicit declaration of gets.
45636 * elf/tst-unique3lib.cc: Likewise.
45637 * elf/tst-unique3lib2.cc: Likewise.
45638 * elf/tst-unique4.cc: Likewise.
45639
df78418a
UD
45640 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45641
8ecd6b2a
JM
456422012-01-06 Joseph Myers <joseph@codesourcery.com>
45643
45644 [BZ #13566]
45645 * assert/assert.h (static_assert): Don't define for C++.
45646 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45647 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45648
9f115170
UD
456492012-01-03 Ulrich Drepper <drepper@gmail.com>
45650
5e0d0300
UD
45651 * iconv/loop.c (single loop): Fix assertion in storing of
45652 remaining bytes.
45653
9f115170
UD
45654 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45655
81fb02b0
UD
456562012-01-01 Ulrich Drepper <drepper@gmail.com>
45657
45658 * posix/getconf.c: Update copyright year.
45659 * nss/getent.c: Likewise.
a316c1f6 45660 * nss/makedb.c: Likewise.
81fb02b0
UD
45661 * iconv/iconvconfig.c: Likewise.
45662 * iconv/iconv_prog.c: Likewise.
45663 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45664 * elf/pldd.c: Likewise.
45665 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45666 * catgets/gencat.c: Likewise.
45667 * csu/version.c: Likewise.
45668 * elf/ldd.bash.in: Likewise.
45669 * elf/sprof.c (print_version): Likewise.
45670 * locale/programs/locale.c: Likewise.
45671 * locale/programs/localedef.c: Likewise.
a316c1f6 45672 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45673 * nscd/nscd.c (print_version): Likewise.
45674 * debug/xtrace.sh: Likewise.
45675 * malloc/memusage.sh: Likewise.
45676 * malloc/mtrace.pl: Likewise.
45677 * debug/catchsegv.sh: Likewise.
45678
2ba92745
JJ
456792011-12-30 Jakub Jelinek <jakub@redhat.com>
45680
45681 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45682 pure attribute.
45683
dadebdae
UD
456842011-12-24 Ulrich Drepper <drepper@gmail.com>
45685
d3761ebc 45686 [BZ #13533]
db6af3eb
UD
45687 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45688 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45689 transformations.
45690 * iconv/gconv_int.h: Likewise.
45691 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45692 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45693 from libc for GLIBC_2.16.
45694 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45695 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45696 * wcsmbs/uchar.h: Really define mbstate_t.
45697 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45698 * wcsmbs/c16rtomb.c: New file.
45699 * wcsmbs/mbrtoc16.c: New file.
45700 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45701 for C/POSIX locale.
45702 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45703 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45704
dadebdae
UD
45705 * wcsmbs/wchar.h: Add missing __restrict.
45706
67371b56
UD
457072011-12-23 Ulrich Drepper <drepper@gmail.com>
45708
74033a25
UD
45709 [BZ #13532]
45710 * time/Makefile (routines): Add timespec_get.
45711 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45712 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45713 timespec for ISO C11.
45714 * time/timespec_get.c: New file.
45715 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45716 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45717
380d7e87
UD
45718 [BZ #13531]
45719 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45720 * stdlib/stdlib.h: Declare aligned_alloc.
45721 * Versions.def: Add GLIBC_2.16 for libc.
45722 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45723
4e9e7a35
UD
45724 [BZ 13527]
45725 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45726 ISO C11.
45727
380d7e87 45728 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45729 code.
45730
03a71829
UD
45731 [BZ #13528]
45732 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45733
839e283e
UD
45734 [BZ #13529]
45735 * assert/assert.h (static_assert): Define.
45736
ce5294e2 45737 * version.h: Update for 2.16 development version.
90fa7312 45738
8d44e150 45739 [BZ #13526]
d7809905
UD
45740 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45741 _ISOC11_SOURCE.
45742
c0da14cd
UD
45743 * version.h (RELEASE): Bump for 2.15 release.
45744 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45745
530a3249
MP
45746 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45747 Patch by Marek Polacek <mpolacek@redhat.com>.
45748
67371b56
UD
45749 * bits/byteswap.h: Protect long long constants with __extension__.
45750 * sysdeps/i386/bits/byteswap.h: Likewise.
45751 * sysdeps/ia64/bits/byteswap.h: Likewise.
45752 * sysdeps/s390/bits/byteswap.h: Likewise.
45753 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45754
15db4de1
LD
457552011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45756
45757 [BZ #13540]
bbe315ea
LD
45758 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45759 destination buffer.
15db4de1
LD
45760 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45761
2b2596b1
MP
457622011-12-23 Marek Polacek <polacek@redhat.com>
45763
45764 * elf/dl-addr.c (determine_info): Add inline keyword.
45765 * elf/tst-auditmod4b.c (check_avx): Likewise.
45766 * elf/tst-auditmod6b.c (check_avx): Likewise.
45767 * elf/tst-auditmod6c.c (check_avx): Likewise.
45768 * elf/tst-auditmod7b.c (check_avx): Likewise.
45769
70c6c246
UD
457702011-12-23 Ulrich Drepper <drepper@gmail.com>
45771
45772 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45773 !__SSE_MATH__.
45774
c044cf14
LD
457752011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45776
15db4de1 45777 [BZ #13540]
c044cf14
LD
45778 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45779 processing for last bytes.
45780
6b13d9d9
BH
457812011-08-06 Bruno Haible <bruno@clisp.org>
45782
d455f537
BH
45783 [BZ #13061]
45784 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45785 U+0385, not to U+1FEE.
45786
6b13d9d9
BH
45787 [BZ #13062]
45788 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45789 entry for U+00A5 U+0301.
45790
db910efd
UD
457912011-12-22 Ulrich Drepper <drepper@gmail.com>
45792
27deeafc
UD
45793 [BZ #13166]
45794 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45795 buffer for the output is too small.
45796
aed9d171
UD
45797 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45798 optimization.
45799
db910efd
UD
45800 [BZ #13185]
45801 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45802 SSE flags if possible.
45803
2bd779ae
LD
458042011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45805
e7f9dac3 45806 [BZ #13540]
2bd779ae
LD
45807 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45808 processing for last bytes.
45809
154bfc16
JM
458102011-12-22 Joseph Myers <joseph@codesourcery.com>
45811
45812 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45813 (syscall-list-default-options, syscall-list-default-condition)
45814 (syscall-list-includes): Define.
45815 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45816 list of ABIs and options and #if conditions for each ABI. Do not
45817 handle common syscalls between ABIs specially.
45818 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45819 Remove.
45820 (syscall-list-variants, syscall-list-32bit-options)
45821 (syscall-list-32bit-condition, syscall-list-64bit-options)
45822 (syscall-list-64bit-condition): Define.
45823 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45824 (syscall-list-variants, syscall-list-32bit-options)
45825 (syscall-list-32bit-condition, syscall-list-64bit-options)
45826 (syscall-list-64bit-condition): Define.
45827 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45828 Remove.
45829 (syscall-list-variants, syscall-list-32bit-options)
45830 (syscall-list-32bit-condition, syscall-list-64bit-options)
45831 (syscall-list-64bit-condition): Define.
45832 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45833 Remove.
45834 (syscall-list-variants, syscall-list-32bit-options)
45835 (syscall-list-32bit-condition, syscall-list-64bit-options)
45836 (syscall-list-64bit-condition): Define.
45837
21eaf3a5
UD
458382011-12-22 Ulrich Drepper <drepper@gmail.com>
45839
16c6f992
UD
45840 * locale/iso-639.def: Add brx entry.
45841
41043168
UD
45842 [BZ #13328]
45843 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45844 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45845
21eaf3a5
UD
45846 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45847 __feraiseexcept_renamed.
45848
e3a851a2
UD
458492011-12-21 Ulrich Drepper <drepper@gmail.com>
45850
4920765e
UD
45851 [BZ #13538]
45852 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45853 EPOLLET with unsigned values.
45854 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45855 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45856
e3a851a2
UD
45857 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45858 to large cancellation.
45859 * math/s_cacoshf.c: Likewise.
45860 * math/s_cacoshl.c: Likewise.
45861
b27e24b8
RK
458622011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45863
45864 [BZ #13305]
aebefeee 45865 [BZ #12786]
b27e24b8
RK
45866 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45867 * math/s_cacoshf.c: Likewise.
45868 * math/s_cacoshl.c: Likewise.
45869
ee190f67
UD
458702011-12-21 Ulrich Drepper <drepper@gmail.com>
45871
45872 [BZ #13439]
45873 * iconv/gconv.h: Define __GCONV_SWAP.
45874 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45875 * iconvdata/utf-16.c: Likewise.
45876 * iconvdata/utf-32.c: Likewise.
45877
707f25df
AS
458782011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45879
45880 [BZ #13524]
45881 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45882 numerator after shifting it by one limb.
45883
d2daaa1e
RÁE
458842011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45885
45886 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45887 under [__USE_EXTERN_INLINES].
45888
a4647e72
UD
458892011-12-17 Ulrich Drepper <drepper@gmail.com>
45890
45891 [BZ #13446]
45892 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45893
f0b264f1
AZ
458942011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45895
45896 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45897 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45898 optimized code.
45899 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45900 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45901 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45902 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45903 for strncasecmp/strncasecmp_l compilation.
45904 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45905 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45906
8ef4f244
MP
459072011-12-08 Marek Polacek <mpolacek@redhat.com>
45908
45909 [BZ #13484]
45910 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45911 of __asm__.
45912
97ac2654
UD
459132011-12-17 Ulrich Drepper <drepper@gmail.com>
45914
45915 [BZ #13506]
45916 * time/tzfile.c (__tzfile_read): Check values from file header.
45917
91d2a845
WS
459182011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45919
45920 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45921 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45922 * powerpc/powerpc32/dl-start.S: Likewise.
45923 * powerpc/powerpc32/elf/start.S: Likewise.
45924 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45925 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45926 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45927 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45928 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45929 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45930 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45931 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45932 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45933 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45934 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45935 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45936 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45937 * powerpc/powerpc32/memset.S: Likewise.
45938 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45939 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45940 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45941 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45942 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45943 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45944 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45945 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45946 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45947 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45948 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45949 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45950 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45951
a1267ba1
AZ
459522011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45953
45954 * math/libm-test.inc: Added more nearbyint tests.
45955 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45956 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45957 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45958 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45959
ad8ac1bd
RL
459602011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45961
45962 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45963 FD_CLOEXEC.
45964
1d3e4b61
UD
459652011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45966
45967 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45968 Add wcscpy-ssse3 wcscpy-c.
45969 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45970 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45971 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45972 * sysdeps/x86_64/wcschr.S: New file.
45973 * sysdeps/x86_64/wcsrchr.S: New file.
45974 * string/test-strcmp.c: Remove checking of wcscmp function for
45975 wrong alignments.
45976 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45977 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45978 wcsrchr-sse2 wcsrchr-c.
45979 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45980 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45981 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45982 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45983 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45984 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45985 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45986 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45987 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45988 * wcsmbc/wcschr.c (WCSCHR): New macro.
45989
5b330a2d
UD
459902011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45991
45992 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45993 * wcsmbs/test-wcsrchr.c: New file.
45994 * string/test-strrchr.c: Add wcsrchr support.
45995 (WIDE): New macro.
45996 * wcsmbs/test-wcscpy.c: New file.
45997 * string/test-strcpy.c: Add wcscpy support.
45998 (WIDE): New macro.
26428b7c 45999
f039c043
UD
460002011-12-10 Ulrich Drepper <drepper@gmail.com>
46001
46002 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46003 the inner loop.
46004
850fb039
AS
460052011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46006
46007 [BZ #13472]
46008 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46009
4efbd5cb
UD
460102011-12-04 Ulrich Drepper <drepper@gmail.com>
46011
52ff5dd0 46012 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 46013 Minor optimizations.
52ff5dd0 46014
4efbd5cb
UD
46015 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46016 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46017 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46018
8a426e12
UD
460192011-12-03 Ulrich Drepper <drepper@gmail.com>
46020
aff2453d
UD
46021 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46022 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46023 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46024 for gcc to avoid warnings.
46025 * inet/Makefile (tests): Add tst-checks.
46026 * inet/tst-checks.c: New file.
46027
46028 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46029 warning.
46030
46031 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46032 __wmemcmp_sse2.
46033
46034 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46035 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46036
8a426e12
UD
46037 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46038
9bea3473
UD
460392011-12-02 Ulrich Drepper <drepper@gmail.com>
46040
3a965496
UD
46041 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46042 problem.
46043
9bea3473
UD
46044 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46045
f101631b
UD
460462011-11-29 Joseph Myers <joseph@codesourcery.com>
46047
46048 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46049 conditional on GCC version.
46050 (__arch_compare_and_exchange_val_8_acq)
46051 (__arch_compare_and_exchange_val_16_acq)
46052 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46053 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46054 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46055
a98275aa
UD
460562011-12-02 Joseph Myers <joseph@codesourcery.com>
46057
46058 * sysdeps/sh/backtrace.c: New file.
46059
d4cc29a2
AS
460602011-12-02 Andreas Schwab <schwab@redhat.com>
46061
46062 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46063 parenthesis.
46064
6257af2d
AS
460652011-12-01 Andreas Schwab <schwab@redhat.com>
46066
46067 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46068 falling back to utime.
46069
b5f44c1a
AS
460702011-11-30 Andreas Schwab <schwab@redhat.com>
46071
46072 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46073 expectations for float.
46074
f3a6cc0a
AS
460752011-11-29 Andreas Schwab <schwab@redhat.com>
46076
46077 * locale/weight.h (findidx): Add parameter len.
46078 * locale/weightwc.h (findidx): Likewise.
46079 * posix/fnmatch_loop.c (FCT): Adjust caller.
46080 * posix/regcomp.c (build_equiv_class): Likewise.
46081 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46082 * posix/regexec.c (check_node_accept_bytes): Likewise.
46083 * string/strcoll_l.c (STRCOLL): Likewise.
46084 * string/strxfrm_l.c (STRXFRM): Likewise.
46085
9d65ea3a
UD
460862011-11-17 Ulrich Drepper <drepper@gmail.com>
46087
46088 * Makefile.in: Remove CVSOPT handling.
46089 * configure.in: Remove use of AC_REVISION.
46090 * iconvdata/Makefile (distribute): No need to filter out CVS.
46091 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46092 handling.
46093
5583a086
AS
460942011-11-16 Andreas Schwab <schwab@redhat.com>
46095
46096 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46097 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46098 [USE_AS_STRNCASECMP_L]: Likewise.
46099 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46100 NO_TLS_DIRECT_SEG_REFS.
46101 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46102 Fix argument offsets for non-PIC.
46103 [USE_AS_STRNCASECMP_L]: Likewise.
46104 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46105 NO_TLS_DIRECT_SEG_REFS.
46106
d62a8200
UD
461072011-11-15 Ulrich Drepper <drepper@gmail.com>
46108
9d65ea3a 46109 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
46110 O_CLOEXEC.
46111 * locale/loadlocale.c (_nl_load_locale): Likewise.
46112
09f93bd3
AS
461132011-11-15 Andreas Schwab <schwab@redhat.com>
46114
446514f9
AS
46115 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46116 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46117 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46118 (SYSCALL_GETTIME): Set errno on error.
46119
09f93bd3
AS
46120 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46121 count references to noai6ai_cached.
46122
312be3f9
UD
461232011-11-15 Ulrich Drepper <drepper@gmail.com>
46124
46125 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46126
46127 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46128 FD_CLOEXEC for /proc/self/maps.
46129
46130 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46131 FD_CLOEXEC for /proc/meminfo.
46132
46133 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46134 gai.conf.
46135
46136 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46137 FD_CLOEXEC for given file.
46138
46139 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46140
46141 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46142 FD_CLOEXEC for /etc/hosts.
46143 (_gethtent): Likewise.
46144
46145 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46146
46147 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46148 cancellation and set FD_CLOEXEC for /etc/netgroup.
46149
46150 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46151 reading /etc/publickey.
46152
46153 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46154 allow cancellation when reading /etc/group.
46155
46156 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46157 cancellation.
46158 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46159
46160 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46161 when using data file.
46162
46163 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46164
46165 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46166 (write_nis_obj): Use "c" and "e" in fopen.
46167
46168 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46169
46170 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46171
46172 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46173
46174 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46175
46176 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46177 locale.alias.
46178
46179 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46180
46181 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46182
46183 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46184
46185 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46186 file parsing and set FD_CLOEXEC.
46187
82af0fa8
UD
461882011-11-14 Ulrich Drepper <drepper@gmail.com>
46189
46190 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46191
a5fb313c
AS
461922011-11-14 Andreas Schwab <schwab@redhat.com>
46193
46194 * malloc/arena.c (arena_get2): Don't call reused_arena when
46195 _int_new_arena failed.
46196
6abf3465
UD
461972011-11-14 Ulrich Drepper <drepper@gmail.com>
46198
46199 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46200 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46201 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46202 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46203 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46204 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46205 to compile strcasecmp and strncasecmp.
46206 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46207 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46208
46209 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46210
76e3966e
UD
462112011-11-13 Ulrich Drepper <drepper@gmail.com>
46212
46213 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46214 locale-defines.sym to gen-as-const-headers.
46215 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46216 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46217 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46218 to compile strcasecmp and strncasecmp.
46219 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46220 strcasecmp_l and strncasecmp_l.
46221 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46222 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46223 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46224 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46225 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46226 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46227 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46228 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46229 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46230 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46231 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46232
ab26144e
UD
462332011-11-12 Ulrich Drepper <drepper@gmail.com>
46234
7edb22ef
UD
46235 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46236 result of SYSDEP_GETTIME_CPU to retval.
46237 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46238 parameter list to macro. Remove trailing semicolon. Adjust users.
46239
9694fc44
UD
46240 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46241 variable.
46242
8ad89ef8
UD
46243 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46244 mantissa words.
46245 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46246
0c822ef9
UD
46247 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46248 from unused variable.
46249
874e0564
UD
46250 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46251 DWARF definitions.
46252 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46253 for assembling.
46254
3a2edc79
UD
46255 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46256 over namespaces.
46257
f3c2577f
UD
46258 * sunrpc/rpc_prot.c (rejected): Fix case value.
46259
294ce126
UD
46260 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46261 unsigned long long int to avoid warnings in shift.
46262
5e2b63c6
UD
46263 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46264 of use of trans.
46265 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46266 variable tmp.
46267
e7f4b08e
UD
46268 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46269 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46270 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46271
ab26144e
UD
46272 * nis/nis_table.c (nis_list): Use variable of correct type for
46273 result of __follow_path call.
46274
8a6d5255
AZ
462752011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46276
46277 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46278 of math functions ceil, trunc, floor, round, and sqrt, when
46279 avaliable on the platform.
46280 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46281 name clash.
46282 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46283 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46284 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46285
aaddc98c
MP
462862011-10-30 Marek Polacek <mpolacek@redhat.com>
46287
46288 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46289 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46290
95b7042b
RM
462912011-11-11 Roland McGrath <roland@hack.frob.com>
46292
46293 * include/unistd.h: Fix __readlink return type.
46294 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46295
57769839
UD
462962011-11-11 Ulrich Drepper <drepper@gmail.com>
46297
46298 * stdlib/ucontext.h: Undo last change for makecontext.
46299
edc5984d
AS
463002011-11-11 Andreas Schwab <schwab@redhat.com>
46301
98591e58
AS
46302 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46303
edc5984d
AS
46304 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46305 * setjmp/setjmp.h: Mark functions as non-leaf.
46306 * setjmp/bits/setjmp2.h: Likewise.
46307 * stdlib/ucontext.h: Likewise.
46308
77cdc054
AS
463092011-11-10 Andreas Schwab <schwab@redhat.com>
46310
46311 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46312 (reused_arena): Don't check arena limit.
46313 (arena_get2): Atomically check arena limit.
46314
fe72eebd
UD
463152011-11-08 Ulrich Drepper <drepper@gmail.com>
46316
5f078c32
UD
46317 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46318 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46319
fe72eebd
UD
46320 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46321 instructions.
46322
ae1bc2fa
AS
463232011-11-07 Andreas Schwab <schwab@redhat.com>
46324
7583a88d
AS
46325 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46326 handler when locking.
46327
ae1bc2fa
AS
46328 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46329 Fix size of allocated buffer.
46330
10fb0bfa
AS
463312011-11-04 Andreas Schwab <schwab@redhat.com>
46332
998832a4
AS
46333 [BZ #10103]
46334 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46335 declarations for long double functions.
46336 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46337
10fb0bfa
AS
46338 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46339
3d7ba52b
AS
463402011-11-03 Andreas Schwab <schwab@redhat.com>
46341
a9ae54a1
AS
46342 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46343 installed.
46344
3d7ba52b
AS
46345 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46346 is disabled.
46347
bc8db248
ST
463482011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46349
46350 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46351
45b96dd6
AS
463522011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46353
647776f6
AS
46354 * include/alloca.h (stackinfo_alloca_round): Define.
46355 (extend_alloca): Use it.
46356 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46357 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46358 here.
46359
d91a8b93
AS
46360 * scripts/check-local-headers.sh: Ignore libaudit.h.
46361
45b96dd6
AS
46362 * nscd/Makefile (extra-objs): Make recursively expanded.
46363
432d41ce
UD
463642011-11-01 Ulrich Drepper <drepper@gmail.com>
46365
34372fc6
UD
46366 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46367 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46368
fadb59f8
UD
46369 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46370 * posix/tst-rfc3484-2.c: Likewise.
46371 * posix/tst-rfc3484-3.c: Likewise.
46372
78239589
UD
46373 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46374 process_vm_writev.
46375 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46376 process_vm_writev.
46377 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46378 process_vm_writev from libc using GLIBC_2.15 version.
46379
432d41ce
UD
46380 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46381
02f9c6cf
PP
463822011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46383
46384 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46385 stack usage.
46386
3a2c0242
UD
463872011-10-31 Ulrich Drepper <drepper@gmail.com>
46388
f4ec4833
UD
46389 [BZ #13367]
46390 * nss/getent.c (initgroups_keys): Show error message in case no group
46391 names are given.
46392
3a2c0242
UD
46393 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46394 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46395 __bump_nl_timestamp.
46396 * nscd/connections (nscd_init): When host database is served open
46397 netlink socket and request notification about configuration changes.
46398 (main_loop_poll): Track netlink file descriptor and bump timestamp
46399 in case data becomes available.
46400 (main_loop_epoll): Likewise.
46401 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46402 (database_pers_head): Add extra_data fileds.
46403 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46404 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46405 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46406 Adjust caller.
46407 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46408 in6ai data, call __free_in6ai.
46409 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46410 Add -DHAVE_NETLINK.
46411 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46412 interface information. Reuse previous data if netlink timestamp
46413 is not changed.
46414 (__bump_nl_timestamp): New function.
46415 (__free_in6ai): New function.
46416
636064eb
UD
464172011-10-30 Ulrich Drepper <drepper@gmail.com>
46418
46419 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46420 close_not_cancel_no_status here.
46421 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46422
9beb2334
UD
464232011-10-29 Ulrich Drepper <drepper@gmail.com>
46424
6ef76f3b
UD
46425 [BZ #13276]
46426 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46427 return value.
46428
0ffc4f3e 46429 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
46430 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46431 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46432
cb95113e
UD
464332011-07-03 Andreas Jaeger <aj@suse.de>
46434
46435 [BZ #10709]
46436 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46437 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46438 * math/libm-test.inc (sin_test): Add test case.
46439
a1b560ff
UD
464402011-10-29 Ulrich Drepper <drepper@gmail.com>
46441
c9aaface
UD
46442 [BZ #13337]
46443 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46444 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46445
d272e7f1
UD
46446 * elf/chroot_canon.c (chroot_canon): Cleanups.
46447
1bc33071
UD
46448 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46449
1760874d
TJ
46450 [BZ #13335]
46451 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46452 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46453
51d91b18
UD
46454 * string/test-strchr.c: Make usable for strchrnul testing.
46455 * string/test-strchrnul.c: New file.
46456 * string/Makefile (strop-tests): Add strchrnul.
46457
a1b560ff 46458 * po/it.po: Update from translation team.
b611fb81 46459 * po/es.po: Likewise.
a1b560ff 46460
a5b81e1f
UD
464612011-10-28 Ulrich Drepper <drepper@gmail.com>
46462
fd52bc6d
UD
46463 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46464 the three constants needed as parameters. Drop the others.
46465 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46466 __m128i_strloadu_tolower.
52e4b9eb
UD
46467 Create and initialize variable zero and use it in all the places
46468 where _mm_setzero_si128 was used.
fd52bc6d 46469
a5b81e1f
UD
46470 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46471 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46472 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46473 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46474 anymore.
46475 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46476 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46477 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46478 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46479 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46480 __mpranred, __mptan.
46481 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46482 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46483 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46484 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46485 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46486 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46487 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46488 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46489 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46490
b4343346
AS
464912011-10-28 Andreas Schwab <schwab@redhat.com>
46492
0c92d8a8
AS
46493 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46494 redefine if SHARED.
46495 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46496
b4343346
AS
46497 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46498 wide char related routines to wcsmbs subdir.
46499
3871f58f
AS
465002011-10-27 Andreas Schwab <schwab@redhat.com>
46501
46502 [BZ #13344]
46503 * misc/sys/cdefs.h (__THROWNL): Define.
46504 * posix/unistd.h: Use __THREADNL instead of __THREAD
46505 for memory synchronization functions.
46506
94d44d9f
RM
465072011-10-26 Roland McGrath <roland@hack.frob.com>
46508
21b64b15 46509 [BZ #13349]
94d44d9f
RM
46510 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46511 doesn't exist.
46512 * manual/stdio.texi (Obstack Streams): Node removed.
46513
f6ce9294
AS
465142011-10-26 Andreas Schwab <schwab@redhat.com>
46515
80479147
AS
46516 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46517 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46518 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46519
f6ce9294
AS
46520 * math/math_private.h (math_force_eval): Allow non-addressable
46521 arguments.
46522 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46523
618280a1
UD
465242011-10-25 Ulrich Drepper <drepper@gmail.com>
46525
e0016b11
UD
46526 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46527 file is not needed.
46528
46529 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46530 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46531 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46532 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46533 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46534 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46535 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46536 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46537 Add AVX variants.
46538 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46539 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46540 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46541 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46542 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46543 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46544 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46545 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46546 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46547 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46548 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46549 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46550 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46551 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46552 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46553 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46554 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46555 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46556 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46557
46558 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46559 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46560
618280a1
UD
46561 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46562 place. Use VEX encoding when compiling for AVX.
46563
37822576
AS
465642011-10-25 Andreas Schwab <schwab@redhat.com>
46565
1f1e1947
AS
46566 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46567 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46568
37822576
AS
46569 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46570
31ea014d
UD
465712011-10-25 Ulrich Drepper <drepper@gmail.com>
46572
d7826aa1 46573 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46574 useless if() expression.
d7826aa1
UD
46575 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46576 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46577 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46578 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46579 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46580 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46581 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46582 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46583 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46584 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46585 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46586 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46587 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46588 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46589 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46590 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46591 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46592 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46593 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46594
31ea014d
UD
46595 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46596
16437fec
AS
465972011-10-25 Andreas Schwab <schwab@redhat.com>
46598
46599 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46600 condition.
46601 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46602
31d3cc00
UD
466032011-10-25 Ulrich Drepper <drepper@gmail.com>
46604
46605 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46606 .text section. Avoid duplicate constants.
46607 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46608 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46609 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46610 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46611 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46612 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46613 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46614 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46615 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46616 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46617 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46618 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46619 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46620 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46621 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46622 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46623 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46624 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46625 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46626 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46627 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46628 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46629 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46630 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46631 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46632 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46633 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46634 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46635 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46636 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46637 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46638 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46639 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46640 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46641 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46642 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46643 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46644 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46645 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46646 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46647 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46648 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46649 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46650 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46651 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46652
58985aa9
UD
466532011-10-24 Ulrich Drepper <drepper@gmail.com>
46654
202c9deb
UD
46655 * sysdeps/x86_64/dla.h: Move to ...
46656 * sysdeps/x86_64/fpu/dla.h: ...here.
46657 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46658 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46659
af968f62
UD
46660 * config.make.in: Add have-mfma4 entry.
46661 * configure.in: Substitute libc_cv_cc_fma4.
46662 * math/Makefile (dbl-only-routines): Add sincostab.
46663 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46664 Use __sincostab not sincos.
46665 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46666 name is a macro.
46667 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46668 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46669 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46670 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46671 using __copysign.
46672 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46673 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46674 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46675 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46676 and __inv.
46677 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46678 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46679 __copysign.
46680 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46681 define aliases when function name is a macro.
46682 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46683 sysdeps/ieee754/dbl-64/sincos.tbl.
46684 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46685 fma4-enabled routines.
46686 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46687 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46688 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46689 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46690 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46691 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46692 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46693 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46694 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46695 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46696 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46697 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46698 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46699 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46700 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46701 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46702 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46703 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46704 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46705 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46706 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46707 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46708 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46709 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46710 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46711 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46712 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46713 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46714 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46715 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46716
58985aa9
UD
46717 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46718 rename.
46719 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46720 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46721 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46722 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46724 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46725 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46726 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46727
a201fbcf
AS
467282011-10-24 Andreas Schwab <schwab@redhat.com>
46729
46730 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46731
fc2ee42a
LD
467322011-10-23 Ulrich Drepper <drepper@gmail.com>
46733
bb3129bd
UD
46734 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46735
0275fff8
UD
46736 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46737 prediction.
46738 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46739
2fa2ae85
UD
46740 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46741 Remove unused variable magic_bits.
46742 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46743
fc2ee42a
LD
46744 * string/strnlen.c: Define and use STRNLEN macro.
46745 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46746 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46747 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46748 * wcsmbs/wcslen.c: Define and use WCSLEN.
46749 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46750 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46751 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46752 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46753 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46754 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46755 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46756
ce7dd29f
LD
467572011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46758
46759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46760 strnlen-sse2-no-bsf.
46761 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46762 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46763 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46764 Add strnlen support.
46765 (USE_AS_STRNLEN): New macro.
46766 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46767 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46768 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46769 * sysdeps/x86_64/wcslen.S: New file.
46770
979c70a3
MZ
467712011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46772
46773 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46774 XMM-moves are used for copying on small sizes.
46775
2d09f82f
LD
467762011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46777
46778 * wcsmbs/Makefile (strop-tests): Add wcschr.
46779 * wcsmbs/test-wcschr.c: New file.
46780 * string/test-strchr.c: Update.
46781 Add wcschr support.
46782 (WIDE): New macro.
46783
619fccca
LD
467842011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46785
2d09f82f 46786 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46787 * wcsmbs/test-wcslen.c: New file.
46788 * string/test-strlen.c: Update.
46789 Add wcslen support.
46790 (WIDE): New macro.
46791
09f699ea
UD
467922011-10-23 Ulrich Drepper <drepper@gmail.com>
46793
46794 * po/it.po: Update from translation team.
46795
95584d3b
LD
467962011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46797
46798 * sysdeps/x86_64/wcscmp.S: Update.
46799 Fix wrong comparison semantics.
46800 wcscmp shall use signed comparison not unsigned.
46801 Don't use substraction to avoid overflow bug.
46802 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46803 * wcsmbc/wcscmp.c: Likewise.
46804 * string/test-strcmp.c: Likewise.
46805 Add new tests to check cases with negative values.
46806
c8b3296b
UD
468072011-10-23 Ulrich Drepper <drepper@gmail.com>
46808
46809 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46810 * sysdeps/x86_64/dla.h: ...here. New file.
46811 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46812 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46813 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46814 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46815 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46816 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46817 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46818 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46819 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46820
246ad57a
AS
468212011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46822
46823 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46824 __ynl_finite aliases.
46825
a1a87169
UD
468262011-10-22 Ulrich Drepper <drepper@gmail.com>
46827
0d355eb7
UD
46828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46829
a1a87169
UD
46830 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46831 define DLA_FMA.
46832 [DLA_FMA] (EMULV): Use DLA_FMA.
46833 [DLA_FMA] (MUL12): Use EMULV.
46834 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46835 that are not needed.
46836 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46838 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46839 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46840 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46841 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46842 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46843
ee2aafe0
AS
468442011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46845
46846 * math/s_nan.c: Undef __nan.
46847 * math/s_nanf.c: Undef __nanf.
46848 * math/s_nanl.c: Undef __nanl.
46849 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46850 "math_private.h".
46851
bc62c2fb
UD
468522011-10-22 Ulrich Drepper <drepper@gmail.com>
46853
77425c63
UD
46854 * math/s_catan.c: Add branch predictions.
46855 * math/s_catanf.c: Likewise.
46856 * math/s_catanh.c: Likewise.
46857 * math/s_catanhf.c: Likewise.
46858 * math/s_catanhl.c: Likewise.
46859 * math/s_catanl.c: Likewise.
46860 * math/s_cexp.c: Likewise.
46861 * math/s_cexpf.c: Likewise.
46862 * math/s_cexpl.c: Likewise.
46863 * math/s_clog.c: Likewise.
46864 * math/s_clog10.c: Likewise.
46865 * math/s_clog10f.c: Likewise.
46866 * math/s_clog10l.c: Likewise.
46867 * math/s_clogf.c: Likewise.
46868 * math/s_clogl.c: Likewise.
46869 * math/s_csqrt.c: Likewise.
46870 * math/s_csqrtf.c: Likewise.
46871 * math/s_csqrtl.c: Likewise.
46872 * math/s_ctanf.c: Likewise.
46873 * math/s_ctanh.c: Likewise.
46874 * math/s_ctanhf.c: Likewise.
46875 * math/s_ctanhl.c: Likewise.
46876 * math/s_ctanl.c: Likewise.
46877
bc62c2fb
UD
46878 * math/math_private.h: Define __nan, __nanf, __nanl.
46879 * math/s_cacosh.c: Include <math_private.h>.
46880 * math/s_cacoshl.c: Likewise.
46881 * math/s_casinh.c: Likewise.
46882 * math/s_casinhf.c: Likewise.
46883 * math/s_casinhl.c: Likewise.
46884 * math/s_ccos.c: Rely entire on ccosh.
46885 * math/s_ccosf.c: Rely entire on ccoshf.
46886 * math/s_ccosl.c: Rely entirely on ccoshl.
46887 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46888 Remove tests for FE_INVALID.
46889 * math/s_ccoshf.c: Likewise.
46890 * math/s_ccoshl.c: Likewise.
46891 * math/s_csin.c: Likewise.
46892 * math/s_csinf.c: Likewise.
46893 * math/s_csinh.c Likewise.
46894 * math/s_csinhf.c: Likewise.
46895 * math/s_csinhl.c: Likewise.
46896 * math/s_csinl.c: Likewise.
46897 * math/s_ctan.c: Likewise.
46898 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46899 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46900 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46901
8ec250a4
UD
469022011-10-21 Ulrich Drepper <drepper@gmail.com>
46903
c196fed8
UD
46904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46905 compilation problems.
46906
8ec250a4
UD
46907 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46908 __builtin_expect.
46909
8d4f46c6
UD
469102011-10-20 Ulrich Drepper <drepper@gmail.com>
46911
ed72b654
UD
46912 * sysdeps/i386/configure.in: Test for -mfma4 option.
46913 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46914 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46915 COMMON_CPUID_INDEX_80000001.
46916 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46917 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46918 use it if FMA3 is not supported.
46919 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46920
8d4f46c6
UD
46921 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46922 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46923
d45c60c2
AS
469242011-10-20 Andreas Schwab <schwab@redhat.com>
46925
46926 [BZ #12892]
46927 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46928 it would create a cycle with a link time dependency.
46929
d9a4d2ab
UD
469302011-10-19 Ulrich Drepper <drepper@gmail.com>
46931
855d1560
UD
46932 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46933 instruction.
46934 * string/Makefile (strop-tests): Add rawmemchr.
46935 * string/test-rawmemchr.c: New file.
46936
d9a4d2ab
UD
46937 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46938 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46939 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46940 when compiling str{,n}casecmp and when AVX is available. Hook up
46941 new optimized code in initializers.
46942
8f3b1ffe
AS
469432011-10-19 Andreas Schwab <schwab@redhat.com>
46944
46945 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46946 __feraiseexcept instead of feraiseexcept.
46947
d38f1dba
UD
469482011-10-18 Ulrich Drepper <drepper@gmail.com>
46949
d9a8d0ab
UD
46950 * math/math_private.h: Define defaults for libc_fetestexcept and
46951 libc_feupdateenv.
46952 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46953 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46954 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46955 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46956 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46957 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46958 libc_fetestexcept and libc_feupdateenv.
46959
4855e3dd
UD
46960 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46961 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46962 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46963 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46964 libc_feholdexcept_setround.
46965
581d30e3
UD
46966 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46967 Add s_nearbyint-c and s_nearbyintf-c.
46968 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46969 nearbyintf inlines.
46970 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46971 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46972 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46973 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46974
d38f1dba
UD
46975 * math/math_private.h: Define defaults for libc_fegetround,
46976 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46977 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46978 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46979 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46980 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46981 standard functions.
46982 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46983 Remove comments and hacks for old compiler versions.
46984 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46985 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46986 libc_feholdexceptl.
46987
caa6c9d8
AS
469882011-10-18 Andreas Schwab <schwab@redhat.com>
46989
46990 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
46991 (__feraiseexcept_renamed): Add __NTH.
46992 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
46993 namespace violations.
46994
97c066e6
UD
469952011-10-17 Ulrich Drepper <drepper@gmail.com>
46996
99ce7b04
UD
46997 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46998
1004d182
UD
46999 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47000
228a984d
UD
47001 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47002 recently added interfaces.
47003 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47004
c8553a6a
UD
47005 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47006 about macro parameter expansion.
47007
ed22dcf6
UD
47008 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47009 __NO_MATH_INLINES is defined. Cleanups.
47010
47011 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47012 and __floorf is target has SSE4.1.
47013 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47014 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47015 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47016 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47017
b171c137
UD
47018 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47019 name.
47020 (floorf): Likewise.
47021
97c066e6
UD
47022 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47023
629f62ef
AS
470242011-10-17 Andreas Schwab <schwab@redhat.com>
47025
49a43d80
AS
47026 * misc/sys/cdefs.h: Fix last change.
47027
629f62ef
AS
47028 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47029 database lookup.
47030
e453f6cd
UD
470312011-10-16 Ulrich Drepper <drepper@gmail.com>
47032
aa78043a
UD
47033 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47034
ad0f5cad
UD
47035 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47036 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47037 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47038 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47039 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47040 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47041 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47042 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47043 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47044 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47045 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47046 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47047 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47048 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47049 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47050 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47051 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47052 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47053 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47054 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47055 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47056 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47057
47058 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47059 ceil, ceilf, floor, floorf.
47060
47061 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47062 Perform IRELATIVE relocations last.
47063
e453f6cd
UD
47064 * elf/do-rel.h: Add another parameter nrelative, replacing the
47065 local variable with the same name. Change name of the function
47066 to end in Rel or Rela (uppercase).
47067 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47068 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47069 elf_dynamic_do_##reloc function.
47070
fd5bdc09
UD
470712011-10-15 Ulrich Drepper <drepper@gmail.com>
47072
79b195b5
UD
47073 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47074 is sufficient, at least on modern CPUs.
47075
d4a28569
UD
47076 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47077
b61099b5
UD
47078 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47079 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47080
bcf01e6d
UD
47081 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47082 __expl_finite.
47083 * math/bits/math-finite.h: Add entries for exp.
47084 * math/e_expl.c: Add __*_finite alias.
47085 * sysdeps/i386/fpu/e_exp.S: Likewise.
47086 * sysdeps/i386/fpu/e_expf.S: Likewise.
47087 * sysdeps/i386/fpu/e_expl.c: Likewise.
47088 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47089 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47090 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47091 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47092 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47093 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47094 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47095
ba1a0d59
UD
47096 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47097 is sufficient, at least on modern CPUs.
47098
fd5bdc09
UD
47099 * ctype/ctype-info.c (__ctype_init): Define.
47100 * include/ctype.h (__ctype_init): Declare.
47101 (__ctype_b_loc): The variable is always initialized.
47102 (__ctype_toupper_loc): Likewise.
47103 (__ctype_tolower_loc): Likewise.
47104 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47105 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47106
7872cfb0
AS
471072011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47108
b468825a
AS
47109 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47110
7872cfb0
AS
47111 * configure.in: Also look in $cxxmachine/include for C++ system
47112 headers.
47113
be13f7bf
LD
471142011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47115
47116 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47117 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47118 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47119 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47120 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47121 (USE_AS_WMEMCMP): New macro.
47122 Fixing indents.
47123 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47124 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47125 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47126 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47127 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47128 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47129 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47130 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47131 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47132 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47133 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47134 (USE_AS_WMEMCMP): New macro.
47135 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47136 * sysdeps/string/test-memcmp.c: Update.
47137 Fix simple_wmemcmp.
47138 Add new tests.
47139 * wcsmbs/wmemcmp.c: Update.
47140 (WMEMCMP): New macro.
47141 Fix overflow bug.
47142
556a2007
AJ
471432011-10-12 Andreas Jaeger <aj@suse.de>
47144
47145 [BZ #13268]
47146 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47147
538faaa7
UD
471482011-10-15 Ulrich Drepper <drepper@gmail.com>
47149
ab6737ff
UD
47150 * libio/iofwide.c (do_length): Avoid warning.
47151
538faaa7
UD
47152 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47153
396a21b1
UD
471542011-10-14 Ulrich Drepper <drepper@gmail.com>
47155
cdf2901f
UD
47156 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47157
38ad40ce
UD
47158 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47159 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47160 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47161 * sysdeps/i386/i686/fpu/e_log.S: New file.
47162 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47163 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47164
396a21b1
UD
47165 * ctype/ctype.h: Add support for inlined isXXX functions when
47166 compiling C++ code.
47167
6b1f68c9
AS
471682011-10-14 Andreas Schwab <schwab@redhat.com>
47169
349290c0
AS
47170 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47171
6b1f68c9
AS
47172 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47173
f2282d42
RM
471742011-10-13 Roland McGrath <roland@hack.frob.com>
47175
47176 [BZ #13291]
47177 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47178
5298ffa8
AS
471792011-10-13 Andreas Schwab <schwab@redhat.com>
47180
714fad23
AS
47181 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47182 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47183 feraiseexcept.
47184
81dcc7fb
AS
47185 * sysdeps/x86_64/memrchr.S: Check for zero size.
47186
5298ffa8
AS
47187 * string/stratcliff.c: Add memrchr tests.
47188
951fbcec
LD
471892011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47190
47191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47192 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47193 rawmemchr-sse2 rawmemchr-sse2-bsf.
47194 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47195 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47196 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47197 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47198 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47199 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47200 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47201 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47202 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47203 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47204 * string/memrchr.c (MEMRCHR): New macro.
47205
0ac5ae23
UD
472062011-10-12 Ulrich Drepper <drepper@gmail.com>
47207
47208 Add integration with gcc's -ffinite-math-only and optimize wrapper
47209 functions in libm.
47210 * Versions.def: Define GLIBC_2.15 version for libm.
47211 * math/Makefile (headers): Add bits/math-finite.h.
47212 * math/bits/math-finite.h: New file.
47213 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47214 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47215 * math/e_acoshl.c: Add __*_finite alias.
47216 * math/e_acosl.c: Likewise.
47217 * math/e_asinl.c: Likewise.
47218 * math/e_atan2l.c: Likewise.
47219 * math/e_atanhl.c: Likewise.
47220 * math/e_coshl.c: Likewise.
47221 * math/e_exp10.c: Likewise.
47222 * math/e_exp10f.c: Likewise.
47223 * math/e_exp10l.c: Likewise.
47224 * math/e_exp2l.c: Likewise.
47225 * math/e_fmodl.c: Likewise.
47226 * math/e_gammal_r.c: Likewise.
47227 * math/e_hypotl.c: Likewise.
47228 * math/e_j0l.c: Likewise.
47229 * math/e_j1l.c: Likewise.
47230 * math/e_jnl.c: Likewise.
47231 * math/e_lgammal_r.c: Likewise.
47232 * math/e_log10l.c: Likewise.
47233 * math/e_log2l.c: Likewise.
47234 * math/e_logl.c: Likewise.
47235 * math/e_powl.c: Likewise.
47236 * math/e_sinhl.c: Likewise.
47237 * math/e_sqrtl.c: Likewise.
47238 * math/e_scalb.c: Completely rewritten and optimized.
47239 * math/e_scalbf.c: Likewise.
47240 * math/e_scalbl.c: Likewise.
47241 * math/w_acos.c: Likewise.
47242 * math/w_acosf.c: Likewise.
47243 * math/w_acosl.c: Likewise.
47244 * math/w_acosh.c: Likewise.
47245 * math/w_acoshf.c: Likewise.
47246 * math/w_acoshl.c: Likewise.
47247 * math/w_asin.c: Likewise.
47248 * math/w_asinf.c: Likewise.
47249 * math/w_asinl.c: Likewise.
47250 * math/w_atan2.c: Likewise.
47251 * math/w_atan2f.c: Likewise.
47252 * math/w_atan2l.c: Likewise.
47253 * math/w_atanh.c: Likewise.
47254 * math/w_atanhf.c: Likewise.
47255 * math/w_atanhl.c: Likewise.
47256 * math/w_exp10.c: Likewise.
47257 * math/w_exp10f.c: Likewise.
47258 * math/w_exp10l.c: Likewise.
47259 * math/w_fmod.c: Likewise.
47260 * math/w_fmodf.c: Likewise.
47261 * math/w_fmodl.c: Likewise.
47262 * math/w_j0.c: Likewise.
47263 * math/w_j0f.c: Likewise.
47264 * math/w_j0l.c: Likewise.
47265 * math/w_j1.c: Likewise.
47266 * math/w_j1f.c: Likewise.
47267 * math/w_j1l.c: Likewise.
47268 * math/w_jn.c: Likewise.
47269 * math/w_jnf.c: Likewise.
47270 * math/w_log.c: Likewise.
47271 * math/w_logf.c: Likewise.
47272 * math/w_logl.c: Likewise.
47273 * math/w_log10.c: Likewise.
47274 * math/w_log10f.c: Likewise.
47275 * math/w_log10l.c: Likewise.
47276 * math/w_log2.c: Likewise.
47277 * math/w_log2f.c: Likewise.
47278 * math/w_log2l.c: Likewise.
47279 * math/w_pow.c: Likewise.
47280 * math/w_powf.c: Likewise.
47281 * math/w_powl.c: Likewise.
47282 * math/w_remainder.c: Likewise.
47283 * math/w_remainderf.c: Likewise.
47284 * math/w_remainderl.c: Likewise.
47285 * math/w_scalb.c: Likewise.
47286 * math/w_scalbf.c: Likewise.
47287 * math/w_scalbl.c: Likewise.
47288 * math/w_sqrt.c: Likewise.
47289 * math/w_sqrtf.c: Likewise.
47290 * math/w_sqrtl.c: Likewise.
47291 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47292 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47293 used.
47294 * math/math_private.h: Declare __kernel_standard_f.
47295 * math/w_cosh.c: Remove cruft and optimize a bit.
47296 * math/w_coshf.c: Likewise.
47297 * math/w_coshl.c: Likewise.
47298 * math/w_exp2.c: Likewise.
47299 * math/w_exp2f.c: Likewise.
47300 * math/w_exp2l.c: Likewise.
47301 * math/w_hypot.c: Likewise.
47302 * math/w_hypotf.c: Likewise.
47303 * math/w_hypotl.c: Likewise.
47304 * math/w_lgamma.c: Likewise.
47305 * math/w_lgamma_r.c: Likewise.
47306 * math/w_lgammaf.c: Likewise.
47307 * math/w_lgammaf_r.c: Likewise.
47308 * math/w_lgammal.c: Likewise.
47309 * math/w_lgammal_r.c: Likewise.
47310 * math/w_sinh.c: Likewise.
47311 * math/w_sinhf.c: Likewise.
47312 * math/w_sinhl.c: Likewise.
47313 * math/w_tgamma.c: Likewise.
47314 * math/w_tgammaf.c: Likewise.
47315 * math/w_tgammal.c: Likewise.
47316 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47317 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47318 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47319 Minor optimizations. Pretty printing. Remove cruft.
47320 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47321 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47322 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47323 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47324 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47325 * sysdeps/i386/fpu/e_asin.S: Likewise.
47326 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47327 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47328 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47329 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47330 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47331 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47332 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47333 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47334 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47335 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47336 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47337 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47338 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47339 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47340 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47341 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47342 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47343 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47344 * sysdeps/i386/fpu/e_log.S: Likewise.
47345 * sysdeps/i386/fpu/e_log10.S: Likewise.
47346 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47347 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47348 * sysdeps/i386/fpu/e_log2.S: Likewise.
47349 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47350 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47351 * sysdeps/i386/fpu/e_logf.S: Likewise.
47352 * sysdeps/i386/fpu/e_logl.S: Likewise.
47353 * sysdeps/i386/fpu/e_pow.S: Likewise.
47354 * sysdeps/i386/fpu/e_powf.S: Likewise.
47355 * sysdeps/i386/fpu/e_powl.S: Likewise.
47356 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47357 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47358 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47359 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47360 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47361 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47362 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47363 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47364 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47365 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47366 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47367 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47368 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47369 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47370 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47371 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47372 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47373 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47374 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47375 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47376 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47378 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47379 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47380 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47381 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47382 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47383 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47384 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47385 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47386 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47387 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47388 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47389 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47390 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47391 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47392 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47393 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47394 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47395 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47396 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47397 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47398 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47399 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47400 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47401 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47402 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47403 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47404 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47405 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47406 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47407 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47408 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47409 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47410 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47411 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47412 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47413 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47414 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47415 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47416 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47417 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47418 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47419 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47420 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47421 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47422 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47423 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47424 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47425 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47426 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47427 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47428 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47429 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47430 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47431 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47432 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47433 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47434 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47435 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47436 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47437 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47438 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47439 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47440 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47441 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47442 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47443 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47444 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47445 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47446 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47447 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47448 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47449 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47450 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47451 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47452 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47453 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47454 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47455 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47456 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47457 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47458 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47459 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47460 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47461 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47462 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47463 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47464 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47465 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47466 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47467 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47468 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47469 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47470 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47471 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47472 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47473 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47474 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47475 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47476 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47477 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47478 (__isnanf): Likewise.
47479 (__isinf_ns): Likewise.
47480 (__isinf_nsf): Likewise.
47481 (__finite): Likewise.
47482 (__finitef): Likewise.
47483 (__ieee754_sqrt): Define as macro.
47484 (__ieee754_sqrtf): Define as macro.
47485 (__ieee754_sqrtl): Define as macro.
47486 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47487 inlined copy.
47488 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47489 __FINITE_MATH_ONLY__ consistent.
47490 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47491
12cc2fcd
AS
474922011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47493
a843a204
AS
47494 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47495 of rawmemchr.
47496
12cc2fcd
AS
47497 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47498
c853acd5
UD
474992011-10-09 Ulrich Drepper <drepper@gmail.com>
47500
47501 * po/ja.po: Update from translation team.
47502
c658d255
RM
475032011-10-08 Roland McGrath <roland@hack.frob.com>
47504
110946e4
RM
47505 * locale/programs/locarchive.c (prepare_address_space): New function.
47506 (create_archive, enlarge_archive, open_archive): Use it.
47507
50604220
RM
47508 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47509 inside [SHARED], where it is used.
47510
c658d255
RM
47511 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47512
47513 * nss/getent.c (netgroup_keys): Remove unused variable.
47514 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47515
6a621eb7
UD
475162011-10-08 Ulrich Drepper <drepper@gmail.com>
47517
7edb55ce
UD
47518 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47519 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47520 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47521 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47522 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47523 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47524 * math/Makefile (libm-calls): Add s_isinf_ns.
47525 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47526 * math/multc3.c: Likewise.
47527 * math/s_casin.c: Likewise.
47528 * math/s_casinf.c: Likewise.
47529 * math/s_casinl.c: Likewise.
47530 * math/s_ccos.c: Likewise.
47531 * math/s_ccosf.c: Likewise.
47532 * math/s_ccosl.c: Likewise.
47533 * math/s_ctan.c: Likewise.
47534 * math/s_ctanf.c: Likewise.
47535 * math/s_ctanh.c: Likewise.
47536 * math/s_ctanhf.c: Likewise.
47537 * math/s_ctanhl.c: Likewise.
47538 * math/s_ctanl.c: Likewise.
47539 * math/w_fmod.c: Likewise.
47540 * math/w_fmodf.c: Likewise.
47541 * math/w_fmodl.c: Likewise.
47542 * math/w_remainder.c: Likewise.
47543 * math/w_remainderf.c: Likewise.
47544 * math/w_remainderl.c: Likewise.
47545 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47546 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47547 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47548 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47549 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47550 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47551 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47552 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47553
187da0ae
UD
47554 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47555 of the number.
47556 * stdio-common/printf_fphex.c: Likewise.
47557 * stdio-common/printf_size.c: Likewise.
47558
9277c064
UD
47559 * math/e_exp10.c: Include math_private.h using <...> not "...".
47560 * math/e_exp10f.c: Likewise.
47561 * math/e_exp10l.c: Likewise.
47562 * math/e_exp2l.c: Likewise.
47563 * math/e_j0l.c: Likewise.
47564 * math/e_j1l.c: Likewise.
47565 * math/e_jnl.c: Likewise.
47566 * math/e_lgammal_r.c: Likewise.
47567 * math/e_rem_pio2l.c: Likewise.
47568 * math/e_scalb.c: Likewise.
47569 * math/e_scalbf.c: Likewise.
47570 * math/e_scalbl.c: Likewise.
47571 * math/k_cosl.c: Likewise.
47572 * math/k_sinl.c: Likewise.
47573 * math/k_tanl.c: Likewise.
47574 * math/s_cacoshf.c: Likewise.
47575 * math/s_catan.c: Likewise.
47576 * math/s_catanf.c: Likewise.
47577 * math/s_catanh.c: Likewise.
47578 * math/s_catanhf.c: Likewise.
47579 * math/s_catanhl.c: Likewise.
47580 * math/s_catanl.c: Likewise.
47581 * math/s_ccosh.c: Likewise.
47582 * math/s_ccoshf.c: Likewise.
47583 * math/s_ccoshl.c: Likewise.
47584 * math/s_cexp.c: Likewise.
47585 * math/s_cexpf.c: Likewise.
47586 * math/s_cexpl.c: Likewise.
47587 * math/s_clog.c: Likewise.
47588 * math/s_clog10.c: Likewise.
47589 * math/s_clog10f.c: Likewise.
47590 * math/s_clog10l.c: Likewise.
47591 * math/s_clogf.c: Likewise.
47592 * math/s_clogl.c: Likewise.
47593 * math/s_csin.c: Likewise.
47594 * math/s_csinf.c: Likewise.
47595 * math/s_csinh.c: Likewise.
47596 * math/s_csinhf.c: Likewise.
47597 * math/s_csinhl.c: Likewise.
47598 * math/s_csinl.c: Likewise.
47599 * math/s_csqrt.c: Likewise.
47600 * math/s_csqrtf.c: Likewise.
47601 * math/s_csqrtl.c: Likewise.
47602 * math/s_ctan.c: Likewise.
47603 * math/s_ctanf.c: Likewise.
47604 * math/s_ctanh.c: Likewise.
47605 * math/s_ctanhf.c: Likewise.
47606 * math/s_ctanhl.c: Likewise.
47607 * math/s_ctanl.c: Likewise.
47608 * math/s_ldexp.c: Likewise.
47609 * math/s_ldexpf.c: Likewise.
47610 * math/s_ldexpl.c: Likewise.
47611 * math/s_significand.c: Likewise.
47612 * math/s_significandf.c: Likewise.
47613 * math/s_significandl.c: Likewise.
47614 * math/w_acos.c: Likewise.
47615 * math/w_acosf.c: Likewise.
47616 * math/w_acosh.c: Likewise.
47617 * math/w_acoshf.c: Likewise.
47618 * math/w_acoshl.c: Likewise.
47619 * math/w_acosl.c: Likewise.
47620 * math/w_asin.c: Likewise.
47621 * math/w_asinf.c: Likewise.
47622 * math/w_asinl.c: Likewise.
47623 * math/w_atan2.c: Likewise.
47624 * math/w_atan2f.c: Likewise.
47625 * math/w_atan2l.c: Likewise.
47626 * math/w_atanh.c: Likewise.
47627 * math/w_atanhf.c: Likewise.
47628 * math/w_atanhl.c: Likewise.
47629 * math/w_cosh.c: Likewise.
47630 * math/w_coshf.c: Likewise.
47631 * math/w_coshl.c: Likewise.
47632 * math/w_dremf.c: Likewise.
47633 * math/w_exp10.c: Likewise.
47634 * math/w_exp10f.c: Likewise.
47635 * math/w_exp10l.c: Likewise.
47636 * math/w_exp2.c: Likewise.
47637 * math/w_exp2f.c: Likewise.
47638 * math/w_fmod.c: Likewise.
47639 * math/w_fmodf.c: Likewise.
47640 * math/w_fmodl.c: Likewise.
47641 * math/w_hypot.c: Likewise.
47642 * math/w_hypotf.c: Likewise.
47643 * math/w_hypotl.c: Likewise.
47644 * math/w_j0.c: Likewise.
47645 * math/w_j0f.c: Likewise.
47646 * math/w_j0l.c: Likewise.
47647 * math/w_j1.c: Likewise.
47648 * math/w_j1f.c: Likewise.
47649 * math/w_j1l.c: Likewise.
47650 * math/w_jn.c: Likewise.
47651 * math/w_jnf.c: Likewise.
47652 * math/w_jnl.c: Likewise.
47653 * math/w_lgamma.c: Likewise.
47654 * math/w_lgamma_r.c: Likewise.
47655 * math/w_lgammaf.c: Likewise.
47656 * math/w_lgammaf_r.c: Likewise.
47657 * math/w_lgammal.c: Likewise.
47658 * math/w_lgammal_r.c: Likewise.
47659 * math/w_log.c: Likewise.
47660 * math/w_log10.c: Likewise.
47661 * math/w_log10f.c: Likewise.
47662 * math/w_log10l.c: Likewise.
47663 * math/w_log2.c: Likewise.
47664 * math/w_log2f.c: Likewise.
47665 * math/w_log2l.c: Likewise.
47666 * math/w_logf.c: Likewise.
47667 * math/w_logl.c: Likewise.
47668 * math/w_pow.c: Likewise.
47669 * math/w_powf.c: Likewise.
47670 * math/w_powl.c: Likewise.
47671 * math/w_remainder.c: Likewise.
47672 * math/w_remainderf.c: Likewise.
47673 * math/w_remainderl.c: Likewise.
47674 * math/w_scalb.c: Likewise.
47675 * math/w_scalbf.c: Likewise.
47676 * math/w_scalbl.c: Likewise.
47677 * math/w_sinh.c: Likewise.
47678 * math/w_sinhf.c: Likewise.
47679 * math/w_sinhl.c: Likewise.
47680 * math/w_sqrt.c: Likewise.
47681 * math/w_sqrtf.c: Likewise.
47682 * math/w_sqrtl.c: Likewise.
47683 * math/w_tgamma.c: Likewise.
47684 * math/w_tgammaf.c: Likewise.
47685 * math/w_tgammal.c: Likewise.
47686
6a621eb7
UD
47687 * po/ja.po: Update from translation team.
47688
bf582445
AJ
476892011-09-29 Andreas Jaeger <aj@suse.de>
47690
f9efbf3a
AJ
47691 [BZ #13179]
47692 * sunrpc/netname.c (netname2host): Fix logic.
47693
bf582445
AJ
47694 [BZ #6779]
47695 [BZ #6783]
47696 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47697 correctly.
47698 * math/w_remainder.c (__remainder): Likewise.
47699 * math/w_remainderf.c (__remainderf): Likewise.
47700 * math/libm-test.inc (remainder_test): Add test cases.
47701
48693bea
AK
477022011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47703
47704 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47705 sdiv_qrnnd.
47706
42622229
LD
477072011-10-07 Ulrich Drepper <drepper@gmail.com>
47708
47709 * string/test-memcmp.c: Avoid unncessary #defines.
47710 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47711
093ecf92
LD
477122011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47713
47714 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47715 Use new sse2 version for core i3 - i7 as it's faster
47716 than sse42 version.
47717 (bit_Prefer_PMINUB_for_stringop): New.
47718 * sysdeps/x86_64/rawmemchr.S: Update.
47719 Replace with faster SSE2 version.
47720 * sysdeps/x86_64/memrchr.S: New file.
47721 * sysdeps/x86_64/memchr.S: Update.
47722 Replace with faster SSE2 version.
47723
fde56e5c
MP
477242011-09-12 Marek Polacek <mpolacek@redhat.com>
47725
47726 * elf/dl-load.c (lose): Add cast to avoid warning.
47727
21fd49a9
UD
477282011-10-07 Ulrich Drepper <drepper@gmail.com>
47729
5a06e643
UD
47730 * po/ca.po: Update from translation team.
47731
684ae515
UD
47732 * inet/getnetgrent_r.c: Hook up nscd.
47733 * nscd/Makefile (routines): Add nscd_netgroup.
47734 (nscd-modules): Add netgroupcache.
47735 (CFLAGS-netgroupcache.c): Define.
47736 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47737 (cache_search): Add const to second parameter.
47738 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47739 INNETGR.
47740 (dbs): Add netgrdb entry.
47741 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47742 (verify_persistent_db): Handle netgrdb.
47743 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47744 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47745 GETFDNETGR.
47746 (netgroup_response_header): Define.
47747 (innetgroup_response_header): Define.
47748 (datahead): Add netgroup_response_header and innetgroup_response_header
47749 elements.
47750 * nscd/nscd.conf: Add entries for netgroup cache.
47751 * nscd/nscd.h (dbtype): Add netgrdb.
47752 (_PATH_NSCD_NETGROUP_DB): Define.
47753 (netgroup_iov_disabled): Declare.
47754 (xmalloc, xcalloc, xrealloc): Move declarations here.
47755 (cache_search): Adjust prototype.
47756 Add netgroup-related prototypes.
47757 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47758 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47759 (__nscd_innetgr): Declare.
47760 * nscd/selinux.c (perms): Use access_vector_t as element type and
47761 add netgroup-related initializers.
47762 * nscd/netgroupcache.c: New file.
47763 * nscd/nscd_netgroup.c: New file.
47764 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47765 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47766 For four parameters use innetgr.
47767 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47768 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47769 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47770 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47771
21fd49a9
UD
47772 * nscd/connections.c (register_traced_file): Don't register file
47773 for disabled databases.
47774
054c0457
UD
477752011-10-06 Ulrich Drepper <drepper@gmail.com>
47776
32b63198
UD
47777 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47778
054c0457
UD
47779 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47780 from tree and freeing node.
47781
64031225
JO
477822011-09-25 Jiri Olsa <jolsa@redhat.com>
47783
47784 * nss/nsswitch.c (__nss_database_lookup): Handle
47785 nss_parse_service_list out of memory case.
47786
0490345c
JO
477872011-09-15 Jiri Olsa <jolsa@redhat.com>
47788
47789 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47790 out of memory case.
47791
3a62d00d
AS
477922011-10-04 Andreas Schwab <schwab@redhat.com>
47793
47794 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47795 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47796 pass it down.
47797 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47798 elf_machine_rela, elf_machine_lazy_rel.
47799 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47800 (ELF_DYNAMIC_DO_REL): Likewise.
47801 (ELF_DYNAMIC_DO_RELA): Likewise.
47802 (ELF_DYNAMIC_RELOCATE): Likewise.
47803 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47804 to ELF_DYNAMIC_DO_REL.
47805 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47806 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47807 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47808 elf_machine_rela.
47809 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47810 skip_ifunc, don't call ifunc function if non-zero.
47811 (elf_machine_rela): Likewise.
47812 (elf_machine_lazy_rel): Likewise.
47813 (elf_machine_lazy_rela): Likewise.
47814 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47815 (elf_machine_lazy_rel): Likewise.
47816 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47817 Likewise.
47818 (elf_machine_lazy_rel): Likewise.
47819 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47820 Likewise.
47821 (elf_machine_lazy_rel): Likewise.
47822 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47823 (elf_machine_lazy_rel): Likewise.
47824 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47825 (elf_machine_lazy_rel): Likewise.
47826 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47827 (elf_machine_lazy_rel): Likewise.
47828 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47829 (elf_machine_lazy_rel): Likewise.
47830 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47831 (elf_machine_lazy_rel): Likewise.
47832 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47833 (elf_machine_lazy_rel): Likewise.
47834
68577918
UD
478352011-09-28 Ulrich Drepper <drepper@gmail.com>
47836
47837 * nss/nss_files/files-init.c (_nss_files_init): Use static
47838 initialization for all the *_traced_file variables.
47839
68822d74
AS
478402011-09-28 Andreas Schwab <schwab@redhat.com>
47841
47842 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47843
2056100b
RM
478442011-09-27 Roland McGrath <roland@hack.frob.com>
47845
47846 [BZ #13226]
47847 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47848
32c76b63
AS
478492011-09-27 Andreas Schwab <schwab@redhat.com>
47850
47851 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47852 Reread the line before reparsing it.
47853
bf972c9d
AS
478542011-09-26 Andreas Schwab <schwab@redhat.com>
47855
47856 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47857
e057a1b5
JM
478582011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47859 Maxim Kuvyrkov <maxim@codesourcery.com>
47860 Joseph Myers <joseph@codesourcery.com>
47861
47862 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47863 if needed for __stack_chk_guard.
47864
bc7e1c36
RM
478652011-09-19 Roland McGrath <roland@hack.frob.com>
47866
ecb1482f
RM
47867 * sysdeps/posix/spawni.c (script_execute): Always define it.
47868 It will be optimized away if unused.
47869 (maybe_script_execute): New function.
47870 (__spawni): Call it.
47871
bc7e1c36
RM
47872 * Makerules: Don't include tls.make.
47873 (config-tls): Always set to thread.
47874 * tls.make.c: File removed.
47875
1c3b002b
MF
478762011-09-19 Mike Frysinger <vapier@gentoo.org>
47877
47878 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47879 * config.make.in (CPPFLAGS-config): New substituted variable.
47880
2840865d
UD
478812011-09-15 Ulrich Drepper <drepper@gmail.com>
47882
88738eb6
UD
47883 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47884
cbf645a6 47885 [BZ #13192]
2840865d
UD
47886 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47887 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47888
b402e91a
RM
478892011-09-15 Roland McGrath <roland@hack.frob.com>
47890
47891 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47892 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47893 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47894 (CALL_FAIL): Likewise.
47895 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47896 (CALL_FAIL): Macro removed.
47897 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47898
4c1a1f71
UD
478992011-09-15 Ulrich Drepper <drepper@gmail.com>
47900
47901 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47902 for __FINITE_MATH_ONLY__ == 1.
47903
edc121be
AS
479042011-09-15 Andreas Schwab <schwab@redhat.com>
47905
47906 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47907 __ieee754_sqrt instead of sqrt.
47908 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47909 __ieee754_sqrtf instead of sqrtf.
47910 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47911 __floorf instead of floorf.
47912 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47913 __floorf, __truncf instead of floorf, truncf.
47914
cd205654
UD
479152011-09-14 Ulrich Drepper <drepper@gmail.com>
47916
ee4d0315
UD
47917 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47918
cd205654
UD
47919 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47920 __extern_always_inline.
47921 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47922 32-bit.
47923
48b67d71
AS
479242011-09-14 Andreas Schwab <schwab@redhat.com>
47925
47926 * elf/rtld.c (dl_main): Also relocate in dependency order when
47927 doing symbol dependency testing.
47928
1ae12c75
AS
479292011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47930
47931 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47932 Always define `refsym'.
47933
995a80df
AS
479342011-09-13 Andreas Schwab <schwab@redhat.com>
47935
e529793b
AS
47936 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47937 (__FD_ELT): Renamed from __FDELT.
47938 * misc/bits/select2.h (__FD_ELT): Likewise.
47939 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47940 __FD_MASK instead of __FDELT, __FDMASK.
47941 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47942 Likewise.
47943 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47944 Likewise.
47945
52d4fef8
AS
47946 * elf/Makefile (gen-ldd): Fix pattern.
47947
995a80df
AS
47948 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47949 (init_tls): Likewise.
47950
8682f8b0
UD
479512011-09-12 Ulrich Drepper <drepper@gmail.com>
47952
47953 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47954
de82006d
AS
479552011-09-12 Andreas Schwab <schwab@redhat.com>
47956
a7c8e6a1
AS
47957 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47958 `struct cmsghdr *' instead of `void *'.
47959 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47960 Likewise.
47961
0f31fe77
AS
479622011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47963
47964 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47965 if non-absolute.
47966 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47967 ldd_rewrite_script.
0f31fe77 47968
32b4c839
UD
479692011-09-11 Ulrich Drepper <drepper@gmail.com>
47970
83cd1420
UD
47971 * configure.in: Remove --with-tls option.
47972 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47973 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47974 out in case it is missing.
47975 * sysdeps/ia64/elf/configure.in: Likewise.
47976 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47977 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47978 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47979 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47980 * sysdeps/sh/elf/configure.in: Likewise.
47981 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47982 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47983 * sysdeps/x86_64/elf/configure.in: Likewise.
47984 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47985 * sysdeps/mach/hurd/tls.h: Likewise.
47986
633f745d
UD
47987 [BZ #13067]
47988 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47989
f318beb8
UD
47990 [BZ #13090]
47991 * configure.in: Fix use of AC_INIT.
47992
32b4c839
UD
47993 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47994
3ce1f295
UD
479952011-09-10 Ulrich Drepper <drepper@gmail.com>
47996
bb016596
UD
47997 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47998 __set_errno.
8e58439c
UD
47999 * malloc/hooks.c: Likewise.
48000
aebae053 48001 [BZ #11929]
02d46fc4
UD
48002 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48003 variables statically.
48004 (narenas): Initialize.
48005 (list_lock): Initialize.
bb016596
UD
48006 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48007 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
48008 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48009 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48010 Add initializers to main_arena and mp_.
48011 (malloc_state): Remove pagesize member. Change all users to use
48012 GLRO(dl_pagesize).
48013
48014 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48015 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48016 is always initialized.
48017
22a89187
UD
48018 * malloc/malloc.c: Removed unused configurations and dead code.
48019 * malloc/arena.c: Likewise.
48020 * malloc/hooks.c: Likewise.
02d46fc4 48021 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 48022
d063d164
UD
48023 * include/tls.h: Removed. USE___THREAD must always be defined.
48024 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48025 * elf/dl-libc.c: Likewise.
48026 * elf/dl-tsd.c: Likewise.
48027 * include/errno.h: Likewise.
48028 * include/netdb.h: Likewise.
48029 * include/resolv.h: Likewise.
48030 * inet/herrno-loc.c: Likewise.
48031 * inet/herrno.c: Likewise.
48032 * malloc/arena.c: Likewise.
48033 * malloc/hooks.c: Likewise.
48034 * malloc/malloc.c: Likewise.
48035 * resolv/res-state.c: Likewise.
48036 * resolv/res_libc.c: Likewise.
48037 * sysdeps/i386/dl-machine.h: Likewise.
48038 * sysdeps/ia64/dl-machine.h: Likewise.
48039 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48040 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48041 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48042 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48043 * sysdeps/sh/dl-machine.h: Likewise.
48044 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48045 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48046 * sysdeps/unix/i386/sysdep.S: Likewise.
48047 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48048 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48049 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48050 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48051 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48052 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48053 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48054 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48055 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48057 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48058 * sysdeps/x86_64/dl-machine.h: Likewise.
48059 * tls.make.c: Likewise.
48060
3ce1f295
UD
48061 * configure.in: Remove --with-__thread option. Make tests for
48062 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48063 tls_model attribute fail if no support is available. Remove
48064 USE_IN_LIBIO.
48065 * Makeconfig: Adjust for dropped configure option. All features are
48066 now mandatory.
48067 * Makerules: Likewise.
48068 * Versions.def: Likewise.
48069 * argp/argp-fmtstream.c: Likewise.
48070 * argp/argp-fmtstream.h: Likewise.
48071 * argp/argp-help.c: Likewise.
48072 * assert/assert.c: Likewise.
48073 * config.h.in: Likewise.
48074 * config.make.in: Likewise.
48075 * configure: Likewise.
48076 * configure.in: Likewise.
48077 * csu/Versions: Likewise.
48078 * csu/init.c: Likewise.
48079 * elf/tst-audit2.c: Likewise.
48080 * elf/tst-tls10.c: Likewise.
48081 * elf/tst-tls10.h: Likewise.
48082 * elf/tst-tls11.c: Likewise.
48083 * elf/tst-tls12.c: Likewise.
48084 * elf/tst-tls14.c: Likewise.
48085 * elf/tst-tlsmod11.c: Likewise.
48086 * elf/tst-tlsmod12.c: Likewise.
48087 * elf/tst-tlsmod13.c: Likewise.
48088 * elf/tst-tlsmod13a.c: Likewise.
48089 * elf/tst-tlsmod14a.c: Likewise.
48090 * elf/tst-tlsmod15b.c: Likewise.
48091 * elf/tst-tlsmod16a.c: Likewise.
48092 * elf/tst-tlsmod16b.c: Likewise.
48093 * elf/tst-tlsmod7.c: Likewise.
48094 * elf/tst-tlsmod8.c: Likewise.
48095 * elf/tst-tlsmod9.c: Likewise.
48096 * gmon/gmon.c: Likewise.
48097 * grp/fgetgrent_r.c: Likewise.
48098 * grp/putgrent.c: Likewise.
48099 * hurd/fopenport.c: Likewise.
48100 * include/libc-symbols.h: Likewise.
48101 * include/tls.h: Likewise.
48102 * intl/gettextP.h: Likewise.
48103 * intl/loadinfo.h: Likewise.
48104 * locale/global-locale.c: Likewise.
48105 * locale/localeinfo.h: Likewise.
48106 * mach/devstream.c: Likewise.
48107 * malloc/arena.c: Likewise.
48108 * malloc/set-freeres.c: Likewise.
48109 * misc/err.c: Likewise.
48110 * misc/getttyent.c: Likewise.
48111 * misc/mntent_r.c: Likewise.
48112 * posix/getopt.c: Likewise.
48113 * posix/wordexp.c: Likewise.
48114 * pwd/fgetpwent_r.c: Likewise.
48115 * resolv/Versions: Likewise.
48116 * resolv/res_hconf.c: Likewise.
48117 * shadow/fgetspent_r.c: Likewise.
48118 * shadow/putspent.c: Likewise.
48119 * stdio-common/printf_fphex.c: Likewise.
48120 * stdio-common/tmpfile.c: Likewise.
48121 * stdlib/abort.c: Likewise.
48122 * stdlib/fmtmsg.c: Likewise.
48123 * sunrpc/auth_unix.c: Likewise.
48124 * sunrpc/clnt_perr.c: Likewise.
48125 * sunrpc/clnt_tcp.c: Likewise.
48126 * sunrpc/clnt_udp.c: Likewise.
48127 * sunrpc/clnt_unix.c: Likewise.
48128 * sunrpc/openchild.c: Likewise.
48129 * sunrpc/svc_simple.c: Likewise.
48130 * sunrpc/svc_tcp.c: Likewise.
48131 * sunrpc/svc_udp.c: Likewise.
48132 * sunrpc/svc_unix.c: Likewise.
48133 * sunrpc/xdr.c: Likewise.
48134 * sunrpc/xdr_array.c: Likewise.
48135 * sunrpc/xdr_rec.c: Likewise.
48136 * sunrpc/xdr_ref.c: Likewise.
48137 * sunrpc/xdr_stdio.c: Likewise.
48138
1248c1c4
PB
481392011-09-09 Ulrich Drepper <drepper@gmail.com>
48140
48141 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48142
481432011-07-03 Andreas Jaeger <aj@suse.de>
48144
48145 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48146 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48147 regenerate with gen-libm-tests.pl.
48148
481492010-05-12 Petr Baudis <pasky@suse.cz>
48150
48151 [BZ #11589]
48152 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48153 around j0() zero points by switching to j1().
48154 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48155 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48156 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48157 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48158
f22e1074
UD
481592011-09-09 Ulrich Drepper <drepper@gmail.com>
48160
f19009c1
UD
48161 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48162 instead of 0.
48163 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 48164 instead of 0.
f19009c1
UD
48165 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48166 Patch in part by Pavel Roskin <proski@gnu.org>.
48167
3f8cc204
UD
48168 [BZ #13138]
48169 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48170 realloc.
48171 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48172 Free memory block if necessary.
48173
f22e1074
UD
48174 [BZ #12847]
48175 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48176 be NULL. Don't lock in this case.
48177
0a2349f9
RM
481782011-09-09 Roland McGrath <roland@hack.frob.com>
48179
48180 * elf/elf.h (ELFOSABI_GNU): New macro.
48181 (ELFOSABI_LINUX): Define to that.
48182
f3cdd467
DZ
481832011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48184
48185 * string/strncat.c (strncat): Undef the symbol in case it has been
48186 defined in bits/string.h.
48187
74718d13
UD
481882011-09-09 Ulrich Drepper <drepper@gmail.com>
48189
633e9e0f
UD
48190 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48191
0a2349f9 48192 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
48193 link map.
48194
f9924780
AJ
481952011-08-17 Andreas Jaeger <aj@suse.de>
48196
48197 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48198
7f5517aa
PP
481992011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48200 Ian Lance Taylor <iant@google.com>
48201
48202 * math/libm-test.inc (lround_test): New testcase.
48203 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48204
762011fe
UD
482052011-09-08 Ulrich Drepper <drepper@gmail.com>
48206
92963737
UD
48207 * Makefile: Remove support for automatic cvs check-ins.
48208 * Makerules: Likewise.
48209 * config.make.in: Likewise.
48210 * configure.in: Likewise.
48211 * intl/Makefile: Likewise.
48212 * locale/Makefile: Likewise.
48213 * po/Makefile: Likewise.
48214 * posix/Makefile: Likewise.
48215 * sysdeps/gnu/Makefile: Likewise.
48216 * sysdeps/mach/hurd/Makefile: Likewise.
48217 * sysdeps/sparc/sparc32/Makefile: Likewise.
48218
b0727fd8
JS
48219 [BZ #13118]
48220 * posix/Makefile (bug-regex32-ENV): Define.
48221 Patch by John Stanley <jpsinthemix@verizon.net>.
48222
a0f33f99
UD
48223 * misc/Makefile (headers): Add bits/select2.h.
48224 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48225 * misc/bits/select2.h: New file.
48226 * include/bits/select2.h: New file.
48227 * debug/Makefile (routines): Add fdelt_chk.
48228 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48229 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48230 FD_ISSET.
48231 * debug/fdelt_chk.c: New file.
48232
762011fe
UD
48233 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48234 * wcsmbs/test-wmemcmp.c: Likewise.
48235 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 48236 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
48237
482382011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48239
48240 * string/Makefile (strop-tests): Add memcmp.
48241 * string/test-wmemcmp.c: New file.
48242 * string/test-memcmp.c: Add wmemcmp support.
48243
7f513ec8
RM
482442011-09-08 Roland McGrath <roland@hack.frob.com>
48245
0442afb4
RM
48246 [BZ #13153]
48247 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48248 2011-07-19 change.
48249
7f513ec8
RM
48250 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48251 garbage value in a __mach_port_mod_refs call in the cases of the
48252 task-self and thread-self ports.
48253
a12b2239
ST
482542011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48255
48256 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48257
610f9ab4
AS
482582011-09-08 Andreas Schwab <schwab@redhat.com>
48259
7f513ec8 48260 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 48261
48882a1a
LD
482622011-09-07 Ulrich Drepper <drepper@gmail.com>
48263
b49865be
UD
48264 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48265
fdc86bc9
UD
48266 * elf/dl-libc.c (dlerror_run): Pass back error code from
48267 dl_catch_error.
48268
c966526a
UD
48269 [BZ #13123]
48270 * elf/dl-load.c (lose): Free l_origin if it is valid.
48271
48882a1a
LD
48272 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48273 names.
48274 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48275 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48276 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48277 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48278 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48279 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48280
77a2a8b4
AZ
482812011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48282
48283 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48284 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48285 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48286 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48287 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48288 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48289 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48290 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48291 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48292 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48293
24f579d8
AM
482942011-08-15 Alan Modra <amodra@gmail.com>
48295
48296 [BZ #13092]
48297 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48298 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48299 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48300 ppc_mcount to static-only-routines.
48301 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48302 __mcount_internal.
48303 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48304 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48305
3d4837df
UD
483062011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48307
48308 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48309 for finite and infinity parameters.
48310
22700377
WS
483112011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48312
48313 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48314 and add nop instructions for throughput optimization.
48315 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48316
5025581e
WS
483172011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48318
48319 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48320 aligned copy for power7 with vector-scalar instructions.
48321 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48322
08a300c9
L
483232011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48324
48325 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48326 AVX check.
48327
59178ef9
AS
483282011-09-07 Andreas Schwab <schwab@redhat.com>
48329
48330 [BZ #13144]
48331 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48332 last change.
48333
e38ba7ab
UD
483342011-09-07 Ulrich Drepper <drepper@gmail.com>
48335
48336 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48337 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48338 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48339 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48340 clock_gettime.
48341
d53a73ac
UD
483422011-09-06 Ulrich Drepper <drepper@gmail.com>
48343
fc8bffcc
UD
48344 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48345 Forgot to demangle the pointer.
48346
ceaa0c5d
UD
48347 * sysdeps/i386/sysdep.h: Define atom_text_section.
48348 * sysdeps/x86_64/sysdep.h: Likewise.
48349 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48350 section with atom_text_section.
48351 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48352 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48353 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48354 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48355 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48356
a77d3c17
UD
48357 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48358 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48359 already be defined. Change to take two parameters and don't assign
48360 result to variable. Adjust all users.
48361 Define INTERNAL_GETTIME if not already defined.
48362 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48363 call.
48364 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48365 HAVE_CLOCK_GETTIME_VSYSCALL.
48366 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48367
d53a73ac
UD
48368 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48369 gettimeofday vsyscall, just use time.
48370
a8f84144
AS
483712011-09-06 Andreas Schwab <schwab@redhat.com>
48372
48373 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48374 <errno.h>.
48375
ef606249
UD
483762011-09-06 Ulrich Drepper <drepper@gmail.com>
48377
48378 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48379 syscall on x86-64.
48380 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48381 syscall.
48382 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48383 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48384 syscall if possible.
48385
6585cb60
UD
483862011-09-05 Ulrich Drepper <drepper@gmail.com>
48387
48388 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48389 e_ident. Don't pass to find_mapsXX.
48390 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48391
a5f524e4
LD
483922011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48393
48394 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48395 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48396 * sysdeps/x86_64/multiarch/strchr.S: Update.
48397 Check bit_slow_BSF bit.
48398 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48399 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48400 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48401
554881ef
UD
484022011-09-05 Ulrich Drepper <drepper@gmail.com>
48403
d96de963
UD
48404 [BZ #13134]
48405 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48406 before glibc 2.15.
48407 (tryshell): Define.
48408 (__spawni): Change last parameter to be flag. Test
48409 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48410 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48411 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48412 * posix/spawni.c: Likewise.
48413 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48414 * posix/spawnp.c: Likewise. Change normal version to use
48415 SPAWN_XFLAGS_USE_PATH.
48416 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48417 SPAWN_XFLAGS_TRY_SHELL.
48418
d48e5868
UD
48419 [BZ #13150]
48420 * posix/glob.h: Remove gcc 1.x support.
48421
554881ef
UD
48422 [BZ #13068]
48423 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48424
693fb948
LD
484252011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48426
48427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48428 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48429 strrchr-sse2-bsf
48430 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48431 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48432 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48433 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48434 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48435 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48436
1b48c537
UD
484372011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48438
49d42c37
UD
48439 * sysdeps/x86_64/wcscmp.S: New file.
48440
1b48c537
UD
48441 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48442 wcscmp-c wcscmp-sse2
48443 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48444 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48445 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48446 * wcsmbs/wcscmp.c: Allow renaming.
48447
15c95c5d
DM
484482011-09-05 David S. Miller <davem@davemloft.net>
48449
48450 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48451 stack slot, rather than the struct return pointer slot.
48452 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48453 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48455 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48456
2f0ad8f3
UD
484572011-09-05 Ulrich Drepper <drepper@gmail.com>
48458
d88ae418
UD
48459 * po/ja.po: Update from translation team.
48460
2f0ad8f3
UD
48461 [BZ #13144]
48462 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48463 kernel in 64-bit binaries.
48464
5f4318d1
DM
484652011-09-01 David S. Miller <davem@davemloft.net>
48466
48467 * elf/elf.h (HWCAP_SPARC_*): Move to..
48468 * sysdeps/sparc/sysdep.h: this new file and add new values.
48469 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48470 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48471 _DL_HWCAP_COUNT to 24.
48472 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48473 entries.
48474 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48475 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48476 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48477 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48478 instead of magic constants.
48479 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48480
3ba57516
DM
484812011-08-31 David S. Miller <davem@davemloft.net>
48482
48483 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48484 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48485 Reimplement to do errno handling inline.
48486 (SYSCALL_ERROR_HANDLER): New macro.
48487 (__SYSCALL_STRING): Do not do errno handling in asm.
48488 (__CLONE_SYSCALL_STRING): Delete.
48489 (__INTERNAL_SYSCALL_STRING): Delete.
48490 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48491 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48492 (PSEUDO): Reimplement to do errno handling inline.
48493 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48494 (SYSCALL_ERROR_HANDLER): New macro.
48495 (__SYSCALL_STRING): Do not do errno handling in asm.
48496 (__CLONE_SYSCALL_STRING): Delete.
48497 (__INTERNAL_SYSCALL_STRING): Delete.
48498 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48499 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48500 i386.
48501 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48502 (inline_syscall*): Add 'err' argument.
48503 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48504 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48505 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48506 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48507
48508 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48509 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48510
2bc17433
AS
485112011-08-30 Andreas Schwab <schwab@redhat.com>
48512
48513 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48514
fbeb5f4d
JO
485152011-08-29 Jiri Olsa <jolsa@redhat.com>
48516
48517 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48518 directive.
48519
ad69cc26
DM
485202011-08-24 David S. Miller <davem@davemloft.net>
48521
48522 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48523
39dd69df
AS
485242011-08-24 Andreas Schwab <schwab@redhat.com>
48525
48526 * elf/Makefile: Add rules to build and run unload8 test.
48527 * elf/unload8.c: New file.
48528 * elf/unload8mod1.c: New file.
48529 * elf/unload8mod1x.c: New file.
48530 * elf/unload8mod2.c: New file.
48531 * elf/unload8mod3.c: New file.
48532
48533 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48534 it wasn't used.
48535
2c0b250a
DM
485362011-08-23 David S. Miller <davem@davemloft.net>
48537
48538 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48539 subtract stack bias.
48540 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48541 %sp not %fp in calculations.
48542 (_JMPBUF_UNWINDS_ADJ): Likewise.
48543
22044b48
DM
48544 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48545 (aio_suspend): Call it to force an exception region around the
48546 AIO_MISC_WAIT() invocation.
48547
2cae4995
AS
485482011-08-23 Andreas Schwab <schwab@redhat.com>
48549
48550 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48551 backslash.
48552
873a772e
AJ
485532011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48554
48555 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48556 protection macro.
48557 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48558 and <dl-machine.h>.
48559 (Elf64_FuncDesc): Remove.
48560
25ad0df1
DM
485612011-08-22 David S. Miller <davem@davemloft.net>
48562
48563 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48564 sigaltstack check, add missing cfi directives.
48565 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48566 missing cfi directives, and sigaltstack handling.
48567
e888bcbe
AS
485682011-08-16 Andreas Schwab <schwab@redhat.com>
48569
48570 [BZ #11724]
48571 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48572 object is seen twice.
48573 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48574
48575 * elf/Makefile (distribute): Add tst-initorder2.c.
48576 (tests): Add tst-initorder2.
48577 (modules-names): Add tst-initorder2a tst-initorder2b
48578 tst-initorder2c tst-initorder2d. Add rules to build them.
48579 ($(objpfx)tst-initorder2.out): New rule.
48580 * elf/tst-initorder2.c: New file.
48581 * elf/tst-initorder2.exp: New file.
48582
87162f46
AS
485832011-08-22 Andreas Schwab <schwab@redhat.com>
48584
70538b7f
AS
48585 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48586
f55ffe58
AS
48587 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48588 dependencies back to end of function.
48589
87162f46
AS
48590 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48591 $(elfobjdir)/ld.so.
48592
91b392a4
UD
485932011-08-21 Ulrich Drepper <drepper@gmail.com>
48594
48595 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48596 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48597 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48598 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48599 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48600 of __vdso_gettimeofday.
48601 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48602 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48603 attribute_hidden.
48604 (_libc_vdso_platform_setup): Remove initialization of
48605 __vdso_gettimeofday and __vdso_time.
48606
5c43483f
UD
486072011-08-20 Ulrich Drepper <drepper@gmail.com>
48608
775a77e7
UD
48609 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48610 and fgetc_unlocked.
48611 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48612 getc_unlocked.
89f447ed 48613
49c74ba9
UD
48614 * elf/dl-open.c (add_to_global): Report additions to the global scope
48615 for LD_DEBUG=scopes.
48616 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48617 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48618
5c43483f
UD
48619 [BZ #13114]
48620 * stdio-common/Makefile (tests): Add bug24.
48621 * stdio-common/bug24.c: New file.
48622
a101b025
AJ
486232011-08-19 Andreas Jaeger <aj@suse.de>
48624
48625 [BZ #13114]
48626 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48627 non-existant file when using close-on-exec mode.
48628
c88f1766
UD
486292011-08-20 Ulrich Drepper <drepper@gmail.com>
48630
0276a718
UD
48631 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48632 the very first instruction.
48633
c88f1766
UD
48634 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48635 the CFI state in the end.
48636 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48637 inclusion of dl-trampoline.h.
48638 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48639
51ccffa0
AS
486402011-08-19 Andreas Schwab <schwab@redhat.com>
48641
94d7165f
AS
48642 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48643 expectations for long double.
48644
51ccffa0
AS
48645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48646 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48647
fd708658 486482011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48649
48650 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48651 artificual limit depends upon the system page size.
48652
44f0a71e
UD
486532011-08-17 Ulrich Drepper <drepper@gmail.com>
48654
48655 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48656 * resolv/Makefile: Define CFLAGS-libresolv.
48657
8de79a24
AS
486582011-08-17 Andreas Schwab <schwab@redhat.com>
48659
48660 * nss/makedb.c (compute_tables): Make variables used in nested
48661 function static.
48662
27724598
UD
486632011-08-17 Ulrich Drepper <drepper@gmail.com>
48664
c5305d88
UD
48665 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48666 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48667 if buffer was too small.
48668
27724598
UD
48669 * elf/pldd.c (main): Attach to all threads in the process.
48670 Rewrite /proc handling to use *at functions.
48671
076fe015
UD
486722011-08-16 Ulrich Drepper <drepper@gmail.com>
48673
174baab3
UD
48674 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48675 specifies first scope to show.
48676 (dl_open_worker): Update callers. Move printing scope of new
48677 object to before the relocation.
44f0a71e 48678 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48679 * sysdeps/generic/ldsodefs.h: Update declaration.
48680
076fe015
UD
48681 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48682 string for the scope number.
48683
a60df2c3
UD
486842011-08-14 Ulrich Drepper <drepper@gmail.com>
48685
48686 * nscd/servicescache.c (cache_addserv): Make sure written is always
48687 initialized.
48688
5e4287d1
RM
486892011-08-14 Roland McGrath <roland@hack.frob.com>
48690
85ae0589
RM
48691 * sysdeps/i386/i486/bits/atomic.h
48692 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48693 statement expression, so as to suppress "set but not used" warning.
48694 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48695
69f63097
RM
48696 * string/strncat.c (STRNCAT): Use prototype definition.
48697
675456ef
RM
48698 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48699 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48700 -Iprograms here.
48701 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48702 (localedef-modules): Add localedef.
48703 (locale-modules): Add locale.
48704
5e4287d1
RM
48705 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48706 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48707 to avoid a warning.
48708
9c96ff23
DM
487092011-08-14 David S. Miller <davem@davemloft.net>
48710
48711 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48712 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48713
f9ddf089
UD
487142011-08-13 Ulrich Drepper <drepper@gmail.com>
48715
44f0a71e 48716 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48717 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48718 * elf/rtld.c (dl_main): Set l_name of vDSO.
48719 Call _dl_show_scope when DL_DEBUG_SCOPES.
48720 (process_dl_debug): Recognize scopes flag and also set it for all.
48721 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48722 Declare _dl_show_scope.
48723
1dc27704
UD
48724 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48725 (do_dlopen): Pass caller_dlopen to dl_open.
48726 (__libc_dlopen_mode): Initialize caller_dlopen.
48727
f9ddf089
UD
48728 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48729 of libc. Make tolower call locale-independent. Optimize a bit by
48730 using isdigit instead of isalnum.
48731 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48732
9ac533d3
UD
487332011-08-12 Ulrich Drepper <drepper@gmail.com>
48734
48735 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48736 was a dependency or dynamically loaded.
48737
89edf2e9
UD
487382011-08-11 Ulrich Drepper <drepper@gmail.com>
48739
8e999d29
UD
48740 * intl/l10nflist.c: Allow architecture-specific pop function.
48741 * sysdeps/x86_64/l10nflist.c: New file.
48742
89edf2e9
UD
48743 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48744 classification.
48745
14d96785
AS
487462011-08-10 Andreas Schwab <schwab@redhat.com>
48747
48748 * include/dirent.h: Add libc_hidden_proto for scandirat and
48749 scandirat64. Don't declare __scandirat64.
48750 * dirent/scandirat.c: Add libc_hidden_def.
48751 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48752 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48753
6761ac04
DM
487542011-08-10 David S. Miller <davem@davemloft.net>
48755
48756 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48757 enum.
48758 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48759 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48760 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48761
c55fbd1e
UD
487622011-08-09 Ulrich Drepper <drepper@gmail.com>
48763
48764 * Versions.def [libc]: Add GLIBC_2.15.
48765 * dirent/Makefile (routines): Add scandirat and scandirat64.
48766 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48767 GLIBC_2.15.
48768 * dirent/dirent.h: Declare scandirat and scandirat64.
48769 * dirent/scandirat.c: New file.
48770 * dirent/scandirat64.c: New file.
48771 * sysdeps/wordsize-64/scandirat.c: New file.
48772 * sysdeps/wordsize-64/scandirat64.c: New file.
48773 * dirent/opendir.c: Define opendirat.
48774 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48775 using scandirat.
48776 * dirent/scandir64.c: Adjust for scandir.c change.
48777 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48778 __scandirat64, and __scandir_cancel_handler.
48779 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48780 additional parameter and use openat instead of open (outside of ld.so).
48781 Add new __opendir as wrapper around __opendirat.
48782 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48783 here without requiring old scandirat implementation.
48784
879165f2
UD
487852011-08-08 Ulrich Drepper <drepper@gmail.com>
48786
48787 * dirent/scandir.c (cancel_handler): Renamed to
48788 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48789 defined. Adjust users.
48790 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48791 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48792
cb7e923b
UD
487932011-08-04 Ulrich Drepper <drepper@gmail.com>
48794
16292edd
UD
48795 * string/test-string.h (IMPL): Use __STRING to expand name and then
48796 stringify it.
48797
cb7e923b
UD
48798 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48799 of cleanups.
48800
cff82933
LD
488012011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48802
48803 * string/Makefile: Update.
48804 (strop-tests): Append strncat.
48805 * string/test-wcscmp.c: New file.
48806 New comprehensive test for wcscmp.
48807 * string/test-strcmp.c: Update.
48808 (WIDE): New define.
48809
9be9bfcc
AS
488102011-07-22 Andreas Schwab <schwab@redhat.com>
48811
48812 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48813 line.
48814
2e96f1c7
AS
488152011-07-26 Andreas Schwab <schwab@redhat.com>
48816
48817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48818 encoding to ACE if AI_IDN.
48819
85188888
JJ
488202011-08-01 Jakub Jelinek <jakub@redhat.com>
48821
48822 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48823 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48824
5fa16e9b
LD
488252011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48826
48827 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48828 Fix overflow bug in strncat.
48829 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48830
48831 * string/test-strncat.c: Update.
48832 Add new tests for checking overflow bugs.
48833
488342011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48835
48836 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48837 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48838 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48839 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48840 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48841 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48842 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48843 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48844 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48845
48846 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48847 (USE_AS_STRCAT): Define.
48848 Add strcat and strncat support.
48849 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48850
8c1a459f
AS
488512011-07-25 Andreas Schwab <schwab@redhat.com>
48852
48853 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48854 __n bigger than INT_MAX+1.
48855 (__strncmp_g): Likewise.
48856
bba33c28
UD
488572011-07-23 Ulrich Drepper <drepper@gmail.com>
48858
798be72d
UD
48859 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48860 * libio/stido.h: Likewise.
48861
8accd4dc
UD
48862 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48863 (AF_NFC): Define.
48864 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48865 (AF_NFC): Define.
48866
cbff0d96
UD
48867 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48868 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48869 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48870 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48871 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48872
9191c04a
UD
48873 [BZ #13021]
48874 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48875 installed.
48876
bba33c28
UD
48877 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48878 typo.
48879 (_dl_x86_64_save_sse): Likewise.
48880
90f139dd
UD
488812011-07-22 Ulrich Drepper <drepper@gmail.com>
48882
1aae088a
UD
48883 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48884 OSXSAVE.
48885 (_dl_x86_64_save_sse): Likewise.
48886
8e2045f5
UD
48887 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48888
90f139dd
UD
48889 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48890
1d002f25
AS
488912011-07-21 Andreas Schwab <schwab@redhat.com>
48892
48893 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48894 change.
48895 (_dl_x86_64_save_sse): Use correct AVX check.
48896
21137f89
UD
488972011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48898
48899 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48900 bug in strncpy/strncat.
48901 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48902
a65c0b7a
UD
489032011-07-21 Ulrich Drepper <drepper@gmail.com>
48904
48905 * string/tester.c (test_strcat): Add tests for different alignments
48906 of source and destination.
48907 (test_strncat): Likewise.
48908
6986b98a
UD
489092011-07-20 Ulrich Drepper <drepper@gmail.com>
48910
90bb2039
UD
48911 [BZ #12852]
48912 * posix/glob.c (glob): Check passed in values before using them in
48913 expressions to avoid some overflows.
48914 (glob_in_dir): Likewise.
48915
5644ef54
UD
48916 [BZ #13007]
48917 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48918 check for AVX enablement so that we don't crash with old kernels and
48919 new hardware.
48920 * elf/tst-audit4.c: Add same checks here.
48921 * elf/tst-audit6.c: Likewise.
48922
48923 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 48924
bfc9dc9b
AS
489252011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48926
48927 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48928
702e64bb
UD
489292011-07-20 Ulrich Drepper <drepper@gmail.com>
48930
48931 * po/cs.po: Update from translation team.
48932 * po/bg.po: Likewise.
48933
295e904f
MP
489342011-07-12 Marek Polacek <mpolacek@redhat.com>
48935
48936 * misc/sys/cdefs.h: Add support for const attribute.
48937 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48938 to gnu_dev_{major,minor,makedev} functions.
48939
3ff94596
MP
489402011-07-20 Marek Polacek <mpolacek@redhat.com>
48941
48942 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48943
28b59fca
AS
489442011-07-20 Andreas Schwab <schwab@redhat.com>
48945
48946 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48947 strlen results.
48948
19df733e
AK
489492011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48950
48951 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48952 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48953 register in order to avoid conflicts with the soft frame pointer
48954 being held in r11 when necessary.
48955 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48956 (INTERNAL_VSYSCALL_NCS): Likewise.
48957
c8835729
MP
489582011-07-14 Marek Polacek <mpolacek@redhat.com>
48959
48960 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48961 * elf/dl-fini.c (_dl_fini): Adjust caller.
48962 * elf/dl-close.c (_dl_close_worker): Likewise.
48963 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48964
b902330c
MP
489652011-07-15 Marek Polacek <mpolacek@redhat.com>
48966
8991e135
MP
48967 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48968 "aux_cache->nlibs < 0".
48969
b902330c
MP
48970 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48971 in the reload-count case.
48972
99710781
LD
489732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48974
48975 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48976 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48977 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48978 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48979 * sysdeps/x86_64/multiarch/strcat.S: New file.
48980 * sysdeps/x86_64/multiarch/strncat.S: New file.
48981 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48982 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48983 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48984 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48985 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48986 (USE_AS_STRCAT): Define.
48987 Add strcat and strncat support.
48988 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48989 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48990 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48991 * string/strncat.c: Update.
48992 (USE_AS_STRNCAT): Define.
48993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48994 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48995 and i7.
48996 * sysdeps/x86_64/multiarch/init-arch.h
48997 (bit_Prefer_PMINUB_for_stringop): New.
48998 (index_Prefer_PMINUB_for_stringop): Likewise.
48999 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49000 bit_Prefer_PMINUB_for_stringop.
49001
7dc6bd90
UD
490022011-07-19 Ulrich Drepper <drepper@gmail.com>
49003
49004 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49005 buffer64.
49006 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49007 of casting of buffer.
49008 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49009 buffer32 and buffer64.
49010 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49011 writes instead of casting of buffer.
49012 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49013 buffer32.
49014 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49015 casting of buffer.
49016
e0e72284
AS
490172011-07-19 Andreas Schwab <schwab@redhat.com>
49018
49019 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49020
feb1eb0b
UD
490212011-07-19 Ulrich Drepper <drepper@gmail.com>
49022
49023 * nscd/nscd.c (termination_handler): Don't do anything for a database
49024 if it has not yet been initialized.
49025
298711ff
UD
490262011-07-18 Ulrich Drepper <drepper@gmail.com>
49027
49028 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49029
490302011-07-15 Marek Polacek <mpolacek@redhat.com>
49031
49032 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49033
f9d68389
UD
490342011-07-18 Ulrich Drepper <drepper@gmail.com>
49035
49036 * po/nl.po: Update from translation team.
49037 * po/sv.po: Likewise.
49038
db290cf5
RM
490392011-07-16 Roland McGrath <roland@hack.frob.com>
49040
49041 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49042 now disallowed by GCC.
5c550700 49043
fd5e21c7
RM
49044 * configure.in (use-default-link): Default to yes if a test -shared
49045 link meets our qualifications.
49046 * configure: Regenerated.
49047
5c550700
RM
49048 * config.make.in (output-format): New variable.
49049 * configure.in: Check for ld --print-output-format support.
49050 * configure: Regenerated.
49051 * Makerules ($(common-objpfx)format.lds)
49052 [$(output-format) != unknown]: Just use $(output-format),
49053 instead of the linker-script munging.
49054
9fa2c032
RM
490552011-07-14 Roland McGrath <roland@hack.frob.com>
49056
a6928d51
RM
49057 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49058 of $(common-objpfx)shlib.lds.
49059 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49060
661607b3
RM
49061 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49062 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49063
9fa2c032
RM
49064 * configure.in (-z relro check): Adjust test code to add a large
49065 writable data section after it.
49066 * configure: Regenerated.
49067
defe9061
RM
490682011-07-11 Roland McGrath <roland@hack.frob.com>
49069
49070 * configure.in (-z relro check): Fix test code to make the variable
49071 truly const.
49072 * configure: Regenerated.
49073
319b9ad4
UD
490742011-07-11 Ulrich Drepper <drepper@gmail.com>
49075
49076 * nscd/nscd.h (struct traced_file): Define.
49077 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49078 elements. Add traced_files.
49079 (inotify_fd): Declare.
49080 (register_traced_file): Declare.
49081 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49082 (inotify_fd): Export.
49083 (resolv_conf_descr): Remove.
49084 (nscd_init): Move inotify descriptor creation to main.
49085 Don't register files for notification here.
49086 (register_traced_file): New function.
49087 (invalidate_cache): Don't use reset_res to determine whether to call
49088 res_init, go through the list of registered files.
49089 (main_loop_poll): The inotify descriptors are now stored in the
49090 structures for the traced files.
49091 (main_loop_epoll): Likewise
49092 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49093 to __nss_disable_nscd.
49094 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49095 for a database anymore. Check the records for all the registered
49096 files instead.
49097 * nss/Makefile (libnss_files-routines): Add files-init.
49098 (libnss_db-routines): Add db-init.
49099 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49100 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49101 * nss/nss_db/db-init.c: New file.
49102 * nss/nss_files/files-init.c: New file.
49103 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49104 __nss_lookup_function.
49105 (__nss_lookup_function): Call nss_load_library.
49106 (nss_load_all_libraries): New function.
49107 (__nss_disable_nscd): Take parameter with callback function for files
49108 to register. Set is_nscd. Load all the DSOs for the NSS modules
49109 used for the cached services.
49110 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49111 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49112 options for features to all the files in nscd.
49113
49114 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49115
23bee3e8
RM
491162011-07-10 Roland McGrath <roland@hack.frob.com>
49117
49118 * csu/elf-init.c (__libc_csu_init): Comment typo.
49119
46a5b7f0
UD
491202011-07-09 Ulrich Drepper <drepper@gmail.com>
49121
49122 * po/pl.po: Update from translation team.
49123 * po/ja.po: Likewise.
49124 * po/ru.po: Likewise.
49125 * po/ko.po: Likewise.
49126 * po/fr.po: Likewise.
49127
d30cf5bb
RM
491282011-07-09 Roland McGrath <roland@hack.frob.com>
49129
113ddea4
RM
49130 * configure.in (.ctors/.dtors header and trailer check):
49131 Use an empirical test on a built program.
49132 * configure: Regenerated.
49133
574920b4
RM
49134 * configure.in (-z relro check): Use an empirical test on a built DSO.
49135 Detect, but do not require, on ia64.
49136 * configure: Regenerated.
49137
d30cf5bb
RM
49138 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49139 Update tests that use readelf to use $READELF instead.
49140 * configure: Regenerated.
49141
8538fdb3
UD
491422011-07-08 Ulrich Drepper <drepper@gmail.com>
49143
49144 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49145 if the result is not used.
49146
04d08991
AJ
491472011-07-05 Andreas Jaeger <aj@suse.de>
49148
49149 [BZ#9696]
49150 * stdlib/tst-strtod.c: Add testcase.
49151
de283087
AD
491522011-07-07 Ulrich Drepper <drepper@gmail.com>
49153
4e5f31c8 49154 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 49155 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
49156 The latter has a higher limit. Take additional parameter to pass to
49157 the new function.
49158 (__pathconf): Pass file to __statfs_link_max.
49159 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49160 __statfs_link_max.
49161 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49162 __statfs_link_max.
49163
de283087
AD
49164 [BZ #12868]
49165 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49166 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49167 Handle Lustre.
49168 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49169 (__statfs_filesize_max): Likewise.
49170 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49171
c75fa153
AJ
491722011-07-05 Andreas Jaeger <aj@suse.de>
49173
49174 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49175
1a544854
UD
491762011-07-06 Marek Polacek <mpolacek@redhat.com>
49177
49178 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49179 `status' variable.
49180 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49181 Likewise.
49182
6f0eec67
UD
491832011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49184
49185 * Makefile (strop-tests): Add strncat.
49186 * string/test-strncat.c: New file.
49187
aae30307
UD
491882011-06-30 Marek Polacek <mpolacek@redhat.com>
49189
49190 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49191
c0cfb5eb
UD
491922011-06-21 Andreas Jaeger <aj@suse.de>
49193
49194 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49195 Copy rule from iconvdata/Makefile.
49196
01636b21
UD
491972011-07-06 Ulrich Drepper <drepper@gmail.com>
49198
49199 [BZ #12922]
49200 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49201 but no long options are defined, just return 'W'.
49202
9895c8bc
UD
492032011-06-22 Marek Polacek <mpolacek@redhat.com>
49204
49205 [BZ #9696]
49206 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49207
5d4cf042
UD
492082011-07-06 Ulrich Drepper <drepper@gmail.com>
49209
49210 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49211 netgroups to read.
960e5535 49212 (innetgr): Likewise.
5d4cf042 49213
751eb97e
RM
492142011-07-05 Roland McGrath <roland@hack.frob.com>
49215
49216 * config.make.in (install_root): Default to $(DESTDIR).
49217
f15f1e45
UD
492182011-07-05 Ulrich Drepper <drepper@gmail.com>
49219
49220 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49221
4e34ac6a
RM
492222011-07-02 Roland McGrath <roland@hack.frob.com>
49223
5e9b6af4
RM
49224 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49225
84f9ea0f
RM
49226 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49227 containing directory rather than embedding absolute directory names.
49228
ea5ee9f7
RM
49229 * scripts/check-local-headers.sh: Rewritten using awk.
49230 Match by word, not by line. Print error messages for matches.
49231 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49232
1b74661a
RM
49233 * Makerules [shlib-lds-flags empty]:
49234 ($(common-objpfx)libc_pic.opts): New target.
49235 ($(common-objpfx)libc_pic.os.clean): New target.
49236 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49237
49238 * config.make.in (OBJCOPY): New variable.
49239 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49240 * configure: Regenerated.
49241
f781ef40
RM
49242 * config.make.in (use-default-link): New variable.
49243 * configure.in (use_default_link): Grok --with-default-link to set it.
49244 * configure: Regenerated.
49245 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49246 (shlib-lds, shlib-lds-flags): Define to empty.
49247
2d4fa81e
RM
49248 * Makerules (shlib-lds): New variable.
49249 (shlib-lds-flags): New variable.
49250 (build-shlib, build-moduile, build-module-asneeded): Use it.
49251 ($(common-objpfx)libc.so): Use $(shlib-lds).
49252 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49253 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49254
31fffa6b
RM
49255 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49256 DT_FLAGS/DT_FLAGS_1 with zero flags.
49257
4e34ac6a
RM
49258 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49259 linker script munging.
49260
fcfc776b
UD
492612011-07-02 Ulrich Drepper <drepper@gmail.com>
49262
49263 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49264 as 128-bit value.
49265 * crypt/sha512.c (sha512_process_block): Perform total addition using
49266 128-bit if possible.
49267 (__sha512_finish_ctx): Likewise.
49268 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49269 as 64-bit value.
49270 * crypt/sha256.c (SWAP64): Define.
49271 (sha256_process_block): Perform total addition using 64-bit if
49272 possible.
49273 (__sha256_finish_ctx): Likewise.
49274
99231d9a
UD
492752011-07-01 Ulrich Drepper <drepper@gmail.com>
49276
49277 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49278 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49279 * nscd/hstcache.c (cache_addhst): Likewise.
49280 * nscd/grpcache.c (cache_addgr): Likewise.
49281 * nscd/aicache.c (addhstaiX): Likewise
49282 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49283
445b4a53
TK
492842011-07-01 Thorsten Kukuk <kukuk@suse.de>
49285
49286 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49287 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49288 * nscd/hstcache.c (cache_addhst): Likewise.
49289 * nscd/grpcache.c (cache_addgr): Likewise.
49290 * nscd/aicache.c (addhstaiX): Likewise
49291
6d4d8e8e
AS
492922011-07-01 Andreas Schwab <schwab@redhat.com>
49293
49294 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49295 domain only when needed.
49296
89f654c5
AS
492972011-06-30 Andreas Schwab <schwab@redhat.com>
49298
49299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49300 is always restored.
49301
cf3b23ff
UD
493022011-06-29 Ulrich Drepper <drepper@gmail.com>
49303
49304 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49305 are re-adding the entry.
49306 * nscd/servicescache.c (cache_addserv): Likewise.
49307
751626f9
AJ
493082011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49309
49310 * sysdeps/generic/dl-irel.h: fix protection against multiple
49311 inclusions.
49312 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49313
9113ea1f
UD
493142011-06-28 Ulrich Drepper <drepper@gmail.com>
49315
5c0b8d90
UD
49316 [BZ #12935]
49317 * malloc/memusage.sh: Fix quoting in message.
49318 * debug/xtrace.sh: Likewise.
49319
9113ea1f
UD
49320 * configure.in: Remove support for --experimental-malloc option, make
49321 it the default.
49322 * config.make.in: Likewise.
49323 * malloc/Makefile: Likewise.
49324
a4172181
AS
493252011-06-27 Andreas Schwab <schwab@redhat.com>
49326
49327 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49328 two-byte characters.
49329
78a7eee7
RM
493302011-06-27 Roland McGrath <roland@hack.frob.com>
49331
62bede13
RM
49332 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49333 AC_CACHE_CHECK invocation.
49334 * configure: Regenerated.
49335
78a7eee7
RM
49336 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49337
5ce33a62
UD
493382011-06-27 Ulrich Drepper <drepper@gmail.com>
49339
034807a9
UD
49340 [BZ #12350]
49341 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49342 bit from old_res_options.
49343
4902da17
UD
49344 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49345
5ce33a62
UD
49346 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49347 value type for setfct.
49348
c2344f56
L
493492011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49350
49351 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49352 __gettimeofday instead of gettimeofday.
49353
68468076
UD
493542011-06-26 Ulrich Drepper <drepper@gmail.com>
49355
49356 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49357
acb0d739
L
493582011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49359
49360 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49361
49362 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49363 info.
49364
8912479f
L
493652011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49366
49367 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49368 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49369 strcpy-sse2-unaligned strncpy-sse2-unaligned
49370 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49371 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49372 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49373 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49374 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49375 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49376 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49377 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49378 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49379 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49380 (STRCPY): Support SSE2 and SSSE3 versions.
49381
d5495a11
UD
493822011-06-24 Ulrich Drepper <drepper@gmail.com>
49383
49384 [BZ #12874]
49385 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49386 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49387 kernels which artificially limit size of requests.
49388
0b1cbaae
L
493892011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49390
49391 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49392 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49393 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49394 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49395 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49396 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49397 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49398 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49399 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49400 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49401 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49402 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49403 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49404 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49405 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49407 Enable unaligned load optimization for Intel Core i3, i5 and i7
49408 processors.
49409 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49410 Define.
49411 (index_Fast_Unaligned_Load): Define.
49412 (HAS_FAST_UNALIGNED_LOAD): Define.
49413
07f494a0
MP
494142011-06-23 Marek Polacek <mpolacek@redhat.com>
49415
49416 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49417
fa3fc0fe
UD
494182011-06-22 Ulrich Drepper <drepper@gmail.com>
49419
49420 [BZ #12907]
49421 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49422 until it is clear that the information is realy needed.
49423 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49424
e12df166
AS
494252011-06-22 Andreas Schwab <schwab@redhat.com>
49426
49427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49428
852eb34d
UD
494292011-06-22 Ulrich Drepper <drepper@gmail.com>
49430
84e2a551
UD
49431 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49432 /sys/devices/system/cpu/online if it is usable.
49433
852eb34d
UD
49434 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49435 reading the information from the /proc filesystem to once a second.
49436
6e502e19
UD
494372011-06-21 Andreas Jaeger <aj@suse.de>
49438
49439 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49440 NULL after inclusion of kernel headers.
49441
75d39ff2
UD
494422011-06-21 Ulrich Drepper <drepper@gmail.com>
49443
51f9aa6a
UD
49444 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49445 calls to internal_setent.
49446
c0244a9d
UD
49447 [BZ #12885]
49448 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49449 addresses using gethostbyname4_r ignore IPv4 addresses.
49450
c5e3c2ae
UD
49451 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49452 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49453
75d39ff2
UD
49454 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49455
42675c6f
DM
494562011-06-20 David S. Miller <davem@davemloft.net>
49457
49458 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49459 inclusions.
49460 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49461
49462 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49463 (elf_irel): Use it.
49464 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49465 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49466 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49467 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49468 * sysdeps/x86_64/dl-irel.h: Likewise.
49469
49470 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49471 * elf/dl-sym.c: Likewise.
49472
57912a71
UD
494732011-06-15 Ulrich Drepper <drepper@gmail.com>
49474
49475 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49476 need to dereference resplen2.
49477
ee22793d
AS
494782011-06-14 Andreas Schwab <schwab@redhat.com>
49479
49480 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49481
a9e836b0
UD
494822011-06-15 Ulrich Drepper <drepper@gmail.com>
49483
77fb9117
UD
49484 * Makeconfig: Define vardbdir and inst_vardbdir.
49485 * nss/Makefile: Add rules to install db-Makefile.
49486
40c1b22c
UD
49487 * nss/nss_db/db-XXX.c: Cleanup.
49488
9f2da732
UD
49489 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49490 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49491 GLIBC_PRIVATE.
49492 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49493 * nss/makedb.c: Implement -g option to specify that value strings
49494 are generated and should not be added to table iterated over for
49495 get*ent calls.
49496 * nss/nss_db/db-initgroups.c: New file.
49497
82e9a1f7
UD
49498 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49499 interface.
49500
c41af17e
UD
49501 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49502 (internal_getgrouplist): Adjust to name change.
49503 Update use_initgroups_entry if this is not the first call.
49504 * nss/databases.def: Add initgroups entry.
49505
a9e836b0
UD
49506 * nss/makedb.c (compute_tables): Check result of multiple hash table
49507 sizes to minimize maximum chain length.
49508
2666d441
UD
495092011-06-14 Ulrich Drepper <drepper@gmail.com>
49510
49511 * Versions.def: Add entry for libnss_db.
49512 * shlib-versions: Likewise.
49513 * nss/Makefile: Add rules to build libnss_db.
49514 * nss/Versions: Add libnss_db information. Organize libnss_files
49515 entries better.
49516 * nss/db-Makefile: Add gshadow support. Change rules for the new
49517 makedb progra. Some minor improvements to generate smaller files.
49518 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49519 here from...
49520 * nss/makedb.c: ...here.
49521 Improve database format to be smaller and require less memory at
49522 runtime.
49523 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49524 db anymore.
49525 * nss/nss_db/db-netgrp.c: Likewise.
49526 * nss/nss_db/db-open.c: Likewise.
49527 * nss/nss_files/flies-XXX.x: Adjust comments.
49528 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49529 * nss/nss_files/files-grp.c: Likewise.
49530 * nss/nss_files/files-hosts.c: Likewise.
49531 * nss/nss_files/files-network.c: Likewise.
49532 * nss/nss_files/files-proto.c: Likewise.
49533 * nss/nss_files/files-pwd.c: Likewise.
49534 * nss/nss_files/files-rpc.c: Likewise.
49535 * nss/nss_files/files-service.c: Likewise.
49536 * nss/nss_files/files-sgrp.c: Likewise.
49537 * nss/nss_files/files-spwd.c: Likewise.
49538 * nss/nss_db/db-alias.c: Removed.
49539 * nss/nss_db/dummy-db.h: Removed.
49540
9ee76b5a
UD
495412011-06-02 Ulrich Drepper <drepper@gmail.com>
49542
49543 * nss/makedb.c: Rewritten to not use database library.
49544 * nss/Makefile: Update to build new makedb program.
49545
c71ca1f8
AJ
495462011-06-14 Andreas Jaeger <aj@suse.de>
49547
49548 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49549 memset declaration.
49550
3154bfb8
UD
495512011-06-10 Andreas Schwab <schwab@redhat.com>
49552
49553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49554 tmpbuf.
49555
b350afab
RM
495562011-06-10 Roland McGrath <roland@hack.frob.com>
49557
decd4e50
RM
49558 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49559 * elf/Makefile ($(objpfx)ld.so): Likewise.
49560
5615eaf2
RM
49561 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49562 Don't list ld.so twice in dependencies.
49563
49564 * posix/bug-regex31.c: Include <stdlib.h>.
49565
49566 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49567
49568 * nis/nss_compat/compat-spwd.c
49569 (getspent_next_nss_netgr): Remove unused variable.
49570 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49571
49572 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49573 nonmembers" output to use the right array.
49574
49575 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49576
49577 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49578
49579 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49580 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49581 * catgets/gencat.c (read_input_file): Likewise.
49582 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49583
49584 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49585 variable definition inside #if's controlling its use.
49586
49587 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49588
49589 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49590
49591 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49592
49593 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49594 unreachable code.
49595
49596 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49597
b68e08db
RM
49598 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49599 * configure: Regenerated.
49600
b350afab
RM
49601 * Makerules: Revert last change.
49602 * elf/Makefile: Likewise.
49603
28368601
RM
496042011-06-09 Roland McGrath <roland@hack.frob.com>
49605
49606 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49607 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49608 (reloc-link): Likewise.
49609
11988f8f
UD
496102011-06-09 Ulrich Drepper <drepper@gmail.com>
49611
49612 * elf/Makefile: Add rules to build pldd.
49613 * elf/pldd.c: New file.
49614 * elf/pldd-xx.c: New file.
49615
e80fab37
UD
496162011-06-07 Ulrich Drepper <drepper@gmail.com>
49617
49618 * version.h: Update for 2.15 development version.
49619
9b849836
DM
496202011-06-07 David S. Miller <davem@davemloft.net>
49621
49622 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49623 ifuncs.
49624 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49625 elf_machine_lazy_rel): Likewise.
49626 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49627 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49628 elf_machine_lazy_rel): Likewise.
49629 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49630 dl_hwcap via passed in argument.
49631 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49632 Likewise.
49633
5a31b283
AK
496342011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49635
49636 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49637
069e52f8
RM
496382011-06-06 Roland McGrath <roland@hack.frob.com>
49639
49640 [BZ #12849]
49641 * manual/fdl-1.1.texi: New file, verbatim from:
49642 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49643 * manual/lgpl-2.1.texi: New file, verbatim from:
49644 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49645 * manual/Makefile (licenses): New variable, list those new file names.
49646 (texis): Use it.
49647 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49648
49649 * manual/fdl.texi: File removed.
49650 * manual/lesser.texi: File removed.
49651 * manual/libc.texinfo (Copying, Documentation License):
49652 Use new @include file names, put @appendix directive before @include.
49653
f16846a5
JJ
496542011-06-04 Jakub Jelinek <jakub@redhat.com>
49655
49656 [BZ #12841]
49657 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49658 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49659 (mq_open): Add __NTH.
49660
3d29045b
L
496612011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49662
49663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49664 Assume Intel Core i3/i5/i7 processor if AVX is available.
49665
8c297311
UD
496662011-05-31 Ulrich Drepper <drepper@gmail.com>
49667
49668 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49669 typo.
49670
c8fc0c91
UD
496712011-05-31 Andreas Schwab <schwab@redhat.com>
49672
49673 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49674 memory. Use alloca_account. Fix memory leak when retrying.
49675
5b27a807
UD
496762011-05-31 Ulrich Drepper <drepper@gmail.com>
49677
356f8bc6
UD
49678 * version.h (RELEASE): Bump for 2.14 release.
49679 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49680
5b27a807
UD
49681 * config.make.in (RANLIB): Remove entry.
49682
01f16ab0
UD
496832011-05-30 Ulrich Drepper <drepper@gmail.com>
49684
41fce8bd
UD
49685 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49686 (libc.pot): Work around missing support for .ksh extension in xgettext.
49687
4769ae77
UD
49688 [BZ #12684]
49689 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49690 if both request failed.
49691 (send_dg): In case of server errors clear resplen or *resplen2.
49692
6b1e7d19
UD
49693 [BZ #12454]
49694 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49695 when there are multiple maps.
49696 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49697 (_dl_fini): Remove test here.
49698
01f16ab0
UD
49699 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49700
b1ebd700
UD
497012011-05-29 Ulrich Drepper <drepper@gmail.com>
49702
7ae22829
UD
49703 [BZ #12350]
49704 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49705 bit from old_res_options.
49706 (gaih_inet): Likewise.
49707
553149f6 49708 [BZ #11099]
18a84741 49709 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49710 as signed.
49711
652ffab1
UD
49712 * resolv/res_init.c (res_setoptions): Make the code more compact.
49713
16985fd0
UD
49714 [BZ #11558]
49715 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49716 set RES_USEVC.
49717
0464f746
UD
49718 [BZ #11634]
49719 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49720
7d17596c
UD
49721 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49722
cf6bbbd7
UD
49723 [BZ #11781]
49724 * malloc/malloc.h: Declare malloc hook variables as volatile.
49725
13f1ab36
UD
49726 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49727 in last patch.
49728
b1ebd700
UD
49729 [BZ #11799]
49730 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49731 raise in the comment.
80e2212d
UD
49732 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49733 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49734 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49735
ce67228d
UD
497362011-05-28 Ulrich Drepper <drepper@gmail.com>
49737
8887a920
UD
49738 [BZ #12811]
49739 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49740 grow the buffers more if it already has to be sufficient.
49741 (build_wcs_upper_buffer): Likewise.
49742 * posix/regexec.c (check_matching): Likewise.
49743 (clean_state_log_if_needed): Likewise.
49744 (extend_buffers): Don't enlarge buffers beyond size of the input
49745 buffer.
49746 Patches mostly by Emil Wojak <emil@wojak.eu>.
49747 * posix/bug-regex32.c: New file.
49748 * posix/Makefile (tests): Add bug-regex32.
49749
4f031072
UD
49750 * locale/findlocale.c (_nl_find_locale): Return right away if
49751 _nl_explode_name failed.
49752 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49753
d0478f0c
UD
49754 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49755
de81b246
UD
49756 * debug/xtrace.sh: Unify messages.
49757 * malloc/memusage.sh: Likewise.
49758
c738465a
UD
49759 [BZ #12813]
49760 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49761 time symbol from vDSO. Substitute with vsyscall if not available.
49762 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49763 __vdso_time.
49764
f1f929d7
UD
49765 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49766 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49767 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49768 Add sendmmsg and internal_sendmmsg.
49769 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49770 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49771 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49772
ce67228d
UD
49773 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49774 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49775 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49776
e57420c6
UD
497772011-05-27 Ulrich Drepper <drepper@gmail.com>
49778
a8509ca5
UD
49779 [BZ #12813]
49780 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49781 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49782 available.
49783 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49784 __vdso_getcpu.
49785
e57420c6
UD
49786 [BZ #12814]
49787 * iconvdata/Makefile (tests): Add bug-iconv9.
49788 * iconvdata/bug-iconv9.c: New file.
49789
4d07db15
AS
497902011-05-27 Andreas Schwab <schwab@redhat.com>
49791
49792 [BZ #12814]
49793 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49794
ea486f69
JJ
497952011-05-25 Jakub Jelinek <jakub@redhat.com>
49796
49797 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49798 (struct user_regs_struct): Change intcs field back to cs.
49799
6f038433
UD
498002011-05-25 Ulrich Drepper <drepper@gmail.com>
49801
49802 * po/ja.po: Update from translation team.
49803
67f86a25
UD
498042011-05-23 Ulrich Drepper <drepper@gmail.com>
49805
49806 [BZ #12795]
49807 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49808 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49809
def7fbd6
AS
498102011-05-20 Andreas Schwab <schwab@redhat.com>
49811
49812 * stdlib/longlong.h: Update from GCC.
49813
f50ef8f1
AS
498142011-05-23 Andreas Schwab <schwab@redhat.com>
49815
49816 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49817 parameter name.
49818 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49819 Add parameter name.
49820 (__sysconf): Pass it down.
49821
de7ce8f1
UD
498222011-05-22 Ulrich Drepper <drepper@gmail.com>
49823
f2962a71
UD
49824 [BZ #12671]
49825 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49826 some situations.
49827 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49828 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49829 add in in __libc_use_alloca calls. Adjust callers.
49830 (glob): Use malloc in some situations.
49831
de7ce8f1
UD
49832 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49833 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49834 pltexit.
49835
aec84f53
UD
498362011-05-21 Ulrich Drepper <drepper@gmail.com>
49837
05bb4a68
UD
49838 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49839 and CLOCK_BOOTTIME_ALARM.
49840
7ea72f99
UD
49841 [BZ #12782]
49842 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49843 is returned.
49844
7e4afad5
UD
49845 * string/_strerror.c (__strerror_r): Print negative errors as signed
49846 numbers.
49847
8e211fec
UD
49848 [BZ #12777]
49849 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49850 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49851 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49852
f7d82dc9
UD
49853 * configure.in: Fix typo in redirection and correct removal of test
49854 files in two cases.
49855
cc9e536d
UD
49856 [BZ #12788]
49857 * locale/setlocale.c (new_composite_name): Fix test to check for
49858 identical name of all categories.
49859
aec84f53
UD
49860 [BZ #12792]
49861 * libio/filedoalloc.c (local_isatty): New function.
49862 (_IO_file_doallocate): Use local_isatty.
49863 * stdio-common/perror.c (perror): In case a new stream is used
49864 forward the stream error.
49865 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49866 error flag.
49867
78e64fdc
RT
498682011-05-20 Ulrich Drepper <drepper@gmail.com>
49869
34a9094f
UD
49870 [BZ #11869]
49871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49872 alloca.
49873 * include/alloca.h (extend_alloca_account): Define.
49874
78e64fdc
RT
49875 [BZ #11857]
49876 * posix/regex.h: Fix comments with documentation of user-accessible
49877 fields after compilation and describe correct free'ing of pattern
49878 after re_compile_pattern.
49879 Patch by Reuben Thomas <rrt@sc3d.org>.
49880
457bddfc
RA
498812011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49882
49883 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49884 and -mno-altivec to prevent the compiler from using Altivec and/or
49885 VSX instructions when the corresponding registers are not available.
49886
a4527b51
AS
498872011-05-19 Andreas Schwab <schwab@redhat.com>
49888
49889 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49890
ed690b2f
UD
498912011-05-19 Ulrich Drepper <drepper@gmail.com>
49892
49893 * libio/freopen.c (freopen): Use __dup2, not dup2.
49894 * libio/freopen64.c (freopen64): Likewise.
49895
8db73634
L
498962011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49897
49898 [BZ #12775]
49899 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49900 * math/Makefile (tests): Add test-powl.
49901 (CFLAGS-test-powl.c): Define.
49902 * math/test-powl.c: New file.
49903
0a197a9d
L
499042011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49905
49906 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49907
ee30c380
UD
499082011-05-17 Ulrich Drepper <drepper@gmail.com>
49909
49910 [BZ #11837]
49911 * iconvdata/gb18030.c: Update to GB18020-2005.
49912
6ce75379
UD
499132011-05-16 Ulrich Drepper <drepper@gmail.com>
49914
a4b89fd8
AR
49915 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49916 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49917 Patch by Aharon Robbins <arnold@skeeve.com>.
49918
ea389b12
UD
49919 [BZ #11892]
49920 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49921 on the stack.
49922
68a3f91f
UD
49923 [BZ #11895]
49924 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49925 through underflows.
49926
15cc7dd1
UD
49927 [BZ #12766]
49928 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49929 point to strings before performing equality test for error_one_per_line
49930 mode.
49931
f3799213
UD
49932 [BZ #11697]
49933 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49934
d79a9c94
UD
49935 [BZ #11820]
49936 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49937 (struct user_fpregs_struct): Avoid __uint*_t types.
49938
56e5eb46
UD
49939 [BZ #6420]
49940 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49941 symbol info. Use it instead of calling _dl_addr locally.
49942 (lock_and_info): New function.
49943 (tr_freehook): Call lock_and_info and pass symbol info as additional
49944 parameter to tr_where.
49945 (tr_mallochook): Likewise.
49946 (tr_reallochook): Likewise.
49947 (tr_memalignhook): Likewise.
49948
6ce75379
UD
49949 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49950 used and couldn't be at all thread-safe.
49951
f8a3b5bf
UD
499522011-05-15 Ulrich Drepper <drepper@gmail.com>
49953
94b7cc37
UD
49954 * libio/freopen.c (freopen): Don't close old file descriptor
49955 before the new one is opened. Instead dup the new file descriptor
49956 to the old one after the new stream is created.
49957 * libio/freopen64.c (freopen64): Likewise.
49958 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49959 * libio/fileops.c (_IO_new_file_close_it): Handle new
49960 _IO_FLAGS2_NOCLOSE flag.
49961 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49962 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49963 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49964 _IO_FLAGS2_NOCLOSE flag.
49965 * include/unistd.h: Add hidden_proto for dup3.
49966 Define __have_dup3.
49967 * io/dup3.c: Define hidden symbol.
49968 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49969
bd25564e
UD
49970 [BZ #7101]
49971 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49972 when an incomplete long option is used.
49973 * posix/tst-getopt_long1.c: New file.
49974 * posix/Makefile (tests): Add tst-getopt_long1.
49975
c84cfef4
UD
49976 [BZ #10138]
49977 * scripts/config.guess: Update from autoconf-2.68.
49978 * scripts/config.sub: Likewise.
49979
3b85df27
UD
49980 [BZ #10157]
49981 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49982 tests into ...
49983 (has_cpuclock): ...this. New function.
49984 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49985 macro here based on has_cpuclock code.
49986
15a856b1
UD
49987 [BZ #10149]
49988 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49989 First byte (not low byte) is now always NUL.
49990 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49991
05f399e6
UD
49992 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49993 Use non-cancelable interfaces.
49994
10a52685 49995 [BZ #9809]
94ecc67d
UD
49996 * locale/iso-639.def: Add entry for Sorani.
49997
f8a3b5bf
UD
49998 [BZ #11901]
49999 * include/stdlib.h: Move include protection to the right place.
50000 Define abort_msg_s. Declare __abort_msg with it.
50001 * stdlib/abort.c (__abort_msg): Adjust type.
50002 * assert/assert.c (__assert_fail_base): New function. Majority
50003 of code from __assert_fail. Allocate memory for __abort_msg with
50004 mmap.
50005 (__assert_fail): Now call __assert_fail_base.
50006 * assert/assert-perr.c: Remove bulk of implementation. Use
50007 __assert_fail_base.
50008 * include/assert.hL Declare __assert_fail_base.
50009 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50010 mmap.
50011 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50012
1af4e298
UD
500132011-05-14 Ulrich Drepper <drepper@gmail.com>
50014
f8a3b5bf 50015 [BZ #11952]
d26dfc60
MG
50016 [BZ #12453]
50017 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50018 until all modules are registered in the DTV.
50019 * elf/Makefile: Add rules to build and run tst-tls19.
50020 * elf/tst-tls19.c: New file.
50021 * elf/tst-tls19mod1.c: New file.
50022 * elf/tst-tls19mod2.c: New file.
50023 * elf/tst-tls19mod3.c: New file.
50024 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50025
2fc54d6f
UD
50026 [BZ #12083]
50027 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50028 correctly.
50029
98d76b46
UD
50030 [BZ #12601]
50031 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50032 two-byte sequence errors.
50033 * iconvdata/Makefile (tests): Add bug-iconv8.
50034 * iconvdata/bug-iconv8.c: New file.
50035
da3c19ef
UD
50036 [BZ #12626]
50037 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50038 buf2 definition.
50039
ca408c15
UD
50040 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50041
d6f67f7d
UD
50042 [BZ #12432]
50043 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50044 (dummy_getcfa): New function.
50045 (init): Get _Unwind_GetCFA address, use dummy if not found.
50046 (backtrace_helper): In recursion check, also check whether CFA changes.
50047 (__backtrace): Completely initialize arg.
50048
1af4e298 50049 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
50050 storing incomplete byte sequence in state object. Avoid testing for
50051 guaranteed too small input if we know there is enough data available.
1af4e298 50052
da62f81b
AS
500532011-05-11 Andreas Schwab <schwab@redhat.com>
50054
50055 * Makeconfig (+link-pie): Indent.
50056 * Rules (binaries-pie): Define if $(have-fpie) and
50057 $(build-shared).
50058 (binaries-shared): Also filter out $(binaries-pie).
50059 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50060 * nscd/Makefile (others-pie): Add nscd.
50061 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50062 ($(objpfx)nscd): Remove command override.
50063 * login/Makefile (others-pie): Add pt_chown.
50064 ($(objpfx)pt_chown): Remove command override.
50065 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50066 remove command overrides.
50067
fcabc0f8
UD
500682011-05-13 Ulrich Drepper <drepper@gmail.com>
50069
20030ae6
UD
50070 * libio/tst_putwc.c: Fix error messages.
50071
fcabc0f8
UD
50072 [BZ #12724]
50073 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50074 currently writing and seek to current position when not.
50075 * libio/Makefile (tests): Add bug-fclose1.
50076 * libio/bug-fclose1.c: New file.
50077
320a5dc0
PB
500782011-05-12 Ulrich Drepper <drepper@gmail.com>
50079
50080 [BZ #12511]
50081 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50082 don't set DF_1_NODELETE here.
50083 (do_lookup_x): When entering new entry test for copy relocation
50084 and if necessary set DF_1_NODELETE flag.
50085 * elf/tst-unique4.cc: New file.
50086 * elf/tst-unique4.h: New file.
50087 * elf/tst-unique4lib.cc: New file.
50088 * elf/Makefile: Add rules to build and run tst-unique4.
50089 Patch by Piotr Bury <pbury@goahead.com>.
50090
22836f52
UD
500912011-05-11 Ulrich Drepper <drepper@gmail.com>
50092
f574184a
UD
50093 [BZ #12052]
50094 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50095
e1fb097f
UD
50096 [BZ #12625]
50097 * misc/mntent_r.c (addmntent): Flush the stream after the output
50098
22836f52
UD
50099 [BZ #12393]
50100 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50101 (is_trusted_path_normalize): Skip initial colon. Append slash
50102 to empty buffer. Duplicate is_trusted_path code but allow
50103 constructed patch to be prefix.
50104 (is_dst): Allow $ORIGIN followed by /.
50105 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50106 Correct testing of result of is_trusted_path_normalize
50107 (decompose_rpath): Fix warning.
50108
7b3b0b2a
UD
501092011-05-10 Ulrich Drepper <drepper@gmail.com>
50110
50111 [BZ #11257]
50112 * grp/initgroups.c (internal_getgrouplist): When we found the service
50113 list through the initgroups entry in nsswitch.conf do not always
50114 continue on a successful lookup. Don't always use the
eac80ce2 50115 __nss_group_database value if it is set.
7b3b0b2a
UD
50116 * nss/nsswitch.conf (initgroups): Change action for successful db
50117 lookup to continue for compatibility.
50118
2a81eaa5
UD
501192011-05-09 Ulrich Drepper <drepper@gmail.com>
50120
be97a69e
UD
50121 [BZ #11532]
50122 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50123 and CP774 modules.
50124 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50125 and CP774 modules.
50126 * iconvdata/tst-tables.sh: Likewise.
50127 * iconvdata/cp770.c: New file.
50128 * iconvdata/cp771.c: New file.
50129 * iconvdata/cp772.c: New file.
50130 * iconvdata/cp773.c: New file.
50131 * iconvdata/cp774.c: New file.
50132 * iconvdata/testdata/CP770: New file.
50133 * iconvdata/testdata/CP770..UTF8: New file.
50134 * iconvdata/testdata/CP771: New file.
50135 * iconvdata/testdata/CP771..UTF8: New file.
50136 * iconvdata/testdata/CP772: New file.
50137 * iconvdata/testdata/CP772..UTF8: New file.
50138 * iconvdata/testdata/CP773: New file.
50139 * iconvdata/testdata/CP773..UTF8: New file.
50140 * iconvdata/testdata/CP774: New file.
50141 * iconvdata/testdata/CP774..UTF8: New file.
50142
50143 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50144 END CHARMAP line.
50145 * iconvdata/gen-8bit-gap.sh: Likewise.
50146 * iconvdata/gen-8bit.sh: Likewise.
50147
c1e9e399
UD
50148 * locale/iso-639.def: Add ary entry.
50149
24c55fb3 50150 [BZ #11258]
96b4b1b0
UD
50151 * locale/C-translit.h.in: Add U20A1 transliteration.
50152
bdc2f971
KB
50153 [BZ #12178]
50154 * locale/iso-639.def: Add wae entry.
50155 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50156
2952b117
UD
50157 [BZ #12545]
50158 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50159 for n.
50160
2a81eaa5
UD
50161 [BZ #12711]
50162 * locale/C-translit.h.in: Add entry for U20B9.
50163 Patch by pravin.d.s@gmail.com.
50164
28377d1b
UD
501652011-05-08 Ulrich Drepper <drepper@gmail.com>
50166
7fb90fb8
UD
50167 [BZ #12713]
50168 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50169 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
50170 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50171 in rtld. Use *stat64.
7fb90fb8 50172 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 50173 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 50174 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
50175 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50176 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50177 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50178 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50179 __fstatat64 macros.
7fb90fb8
UD
50180 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50181 * dirent/rewinddir.c: Add libc_hidden_def.
50182 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 50183 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 50184
28377d1b
UD
50185 * include/dirent.h (__alloc_dir): Add flags parameter.
50186 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50187 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50188 __alloc_dir.
50189 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50190 from fdopendir if O_CLOEXEC is already set.
50191
66bdbaa4
AM
501922011-03-15 Alan Modra <amodra@gmail.com>
50193
50194 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50195 l_tls_firstbyte_offset non-zero. Save padding offset in
50196 l_tls_firstbyte_offset for later use.
50197 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50198 freeing static tls block.
50199
95721191
JN
502002011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50201
50202 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50203 where #ifdef was intended. The intent is to prevent ARG_MAX from
50204 being defined by the kernel headers.
50205
f87dfb1f
UD
502062011-05-07 Ulrich Drepper <drepper@gmail.com>
50207
50208 [BZ #12734]
50209 * resolv/resolv.h: Define RES_NOTLDQUERY.
50210 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50211 no-tld-query and set RES_NOTLDQUERY.
50212 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50213 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50214 modern BIND to search name as TLD unless forbidden.
50215
47c3cd7a
UD
502162011-05-07 Petr Baudis <pasky@suse.cz>
50217 Ulrich Drepper <drepper@gmail.com>
50218
50219 [BZ #12393]
50220 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50221 (is_trusted_path): ...to here.
c1e9ea35 50222 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 50223 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 50224 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 50225
8a35c912
PP
502262011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50227
50228 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50229 __BEGIN/__END_DECLS.
50230
acd41f47
UD
502312011-05-06 Ulrich Drepper <drepper@gmail.com>
50232
50233 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50234 NSS_STATUS_NOTFOUND if no record was found.
50235
597df647
AS
502362011-05-05 Andreas Schwab <schwab@redhat.com>
50237
50238 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50239 (headers-not-in-tirpc): Remove rpc/netdb.h
50240 * resolv/netdb.h: Revert last change.
50241
b9af1301
PP
502422011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50243
50244 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50245 circular dependency between libgcc.a and libc.a.
50246
4e34d5f5
AS
502472011-05-05 Andreas Schwab <schwab@redhat.com>
50248
50249 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50250 * nis/Makefile: Don't install rpcsvc/*.
50251 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50252 instead of <rpc/types.h>.
50253 (MAXHOSTNAMELEN): Define.
50254
00ee369c
AS
502552011-05-03 Andreas Schwab <schwab@redhat.com>
50256
50257 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50258
0b592a30
MB
502592011-04-28 Maciej Babinski <mbabinski@google.com>
50260
50261 [BZ #12714]
50262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50263 gethostbyname4_r when IPv6 results are possible.
50264
6e04cbbe
UD
502652011-05-02 Ulrich Drepper <drepper@gmail.com>
50266
50267 [BZ #12723]
50268 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50269 _PC_PIPE_BUF handling.
50270
e4ecafe0
BH
502712011-04-30 Bruno Haible <bruno@clisp.org>
50272
50273 [BZ #12717]
50274 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50275 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50276 to 'int'.
50277 * inet/getnameinfo.c (getnameinfo): Likewise.
50278
125ee683
UD
502792011-04-29 Ulrich Drepper <drepper@gmail.com>
50280
50281 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50282 to groups setting in database lookup.
50283 * nss/nsswitch.conf: Add initgroups entry.
50284
b722481a
EB
502852011-04-22 Ulrich Drepper <drepper@gmail.com>
50286
50287 [BZ #12685]
50288 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50289 mode string.
50290 Patch by Eric Blake <eblake@redhat.com>.
50291
4df46dbd
L
502922011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50293
50294 * sunrpc/Makefile (need-export-routines): Add svc_run.
50295 (routines): Remove svc_run.
50296 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50297 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50298 * sunrpc/svc_run.c (svc_run): Likewise.
50299 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50300
e84142d2
UD
503012011-04-21 Ulrich Drepper <drepper@gmail.com>
50302
50303 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50304 problem in reallocation in last patch.
50305
877175d8
UD
503062011-04-20 Ulrich Drepper <drepper@gmail.com>
50307
50308 * sunrpc/Makefile: Move inclusion of Rules.
50309
ab8eed78
UD
503102011-04-19 Ulrich Drepper <drepper@gmail.com>
50311
50312 * nss/nss_files/files-initgroups.c: New file.
50313 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50314 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50315 _nss_files_initgroups_dyn.
50316
e3d8f584
RS
503172011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50318
50319 * elf/elf.h (R_ARM_IRELATIVE): Define.
50320
af190f45
UD
503212011-04-19 Ulrich Drepper <drepper@gmail.com>
50322
50323 * po/ru.po: Update from translation team.
50324
53cf59ef
UD
503252011-04-17 Ulrich Drepper <drepper@gmail.com>
50326
50327 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50328 dependencies.
50329
4c559bcd
MF
503302011-02-06 Mike Frysinger <vapier@gentoo.org>
50331
50332 [BZ #12653]
50333 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50334 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50335 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50336 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50337 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50338
4420675c
AS
503392011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50340
50341 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50342 differing bytes.
50343 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50344 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50345 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50346
75ea32ab
UD
503472011-04-17 Ulrich Drepper <drepper@gmail.com>
50348
50349 [BZ #12420]
50350 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50351 storing it.
50352 * stdlib/bug-getcontext.c: New file.
50353 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50354
27390476
AK
503552011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50356
50357 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50358 instructions into .machine "z9-109".
50359 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50360 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50361
10442705
AK
503622011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50363
50364 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50365 between environment variables and auxiliary vector.
50366
7b57bfe5
UD
503672011-04-16 Ulrich Drepper <drepper@gmail.com>
50368
50369 * Makefile: Add rules to build linkobj/libc.so.
50370 * include/libc-symbols.h: Define libc_hidden_nolink.
50371 * include/rpc/auth.h: Mark functions which are to be hidden.
50372 * include/rpc/auth_des.h: Likewise.
50373 * include/rpc/auth_unix.h: Likewise.
50374 * include/rpc/clnt.h: Likewise.
50375 * include/rpc/des_crypt.h: Likewise.
50376 * include/rpc/key_prot.h: Likewise.
50377 * include/rpc/pmap_clnt.h: Likewise.
50378 * include/rpc/pmap_prot.h: Likewise.
50379 * include/rpc/pmap_rmt.h: Likewise.
50380 * include/rpc/rpc_msg.h: Likewise.
50381 * include/rpc/svc.h: Likewise.
50382 * include/rpc/svc_auth.h: Likewise.
50383 * include/rpc/xdr.h: Likewise.
50384 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50385 * nss/Makefile: Likewise.
50386 * sunrpc/Makefile: Don't install headers. Build library with normal
50387 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50388 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50389 for the compat linking library. Remove use of INTDEF/INTUSE.
50390 * sunrpc/auth_none.c: Likewise.
50391 * sunrpc/auth_unix.c: Likewise.
50392 * sunrpc/authdes_prot.c: Likewise.
50393 * sunrpc/authuxprot.c: Likewise.
50394 * sunrpc/clnt_gen.c: Likewise.
50395 * sunrpc/clnt_perr.c: Likewise.
50396 * sunrpc/clnt_raw.c: Likewise.
50397 * sunrpc/clnt_simp.c: Likewise.
50398 * sunrpc/clnt_tcp.c: Likewise.
50399 * sunrpc/clnt_udp.c: Likewise.
50400 * sunrpc/clnt_unix.c: Likewise.
50401 * sunrpc/des_crypt.c: Likewise.
50402 * sunrpc/des_soft.c: Likewise.
50403 * sunrpc/get_myaddr.c: Likewise.
50404 * sunrpc/key_call.c: Likewise.
50405 * sunrpc/key_prot.c: Likewise.
50406 * sunrpc/netname.c: Likewise.
50407 * sunrpc/pm_getmaps.c: Likewise.
50408 * sunrpc/pm_getport.c: Likewise.
50409 * sunrpc/pmap_clnt.c: Likewise.
50410 * sunrpc/pmap_prot.c: Likewise.
50411 * sunrpc/pmap_prot2.c: Likewise.
50412 * sunrpc/pmap_rmt.c: Likewise.
50413 * sunrpc/publickey.c: Likewise.
50414 * sunrpc/rpc_cmsg.c: Likewise.
50415 * sunrpc/rpc_common.c: Likewise.
50416 * sunrpc/rpc_dtable.c: Likewise.
50417 * sunrpc/rpc_prot.c: Likewise.
50418 * sunrpc/rpc_thread.c: Likewise.
50419 * sunrpc/rtime.c: Likewise.
50420 * sunrpc/svc.c: Likewise.
50421 * sunrpc/svc_auth.c: Likewise.
50422 * sunrpc/svc_authux.c: Likewise.
50423 * sunrpc/svc_raw.c: Likewise.
50424 * sunrpc/svc_run.c: Likewise.
50425 * sunrpc/svc_simple.c: Likewise.
50426 * sunrpc/svc_tcp.c: Likewise.
50427 * sunrpc/svc_udp.c: Likewise.
50428 * sunrpc/svc_unix.c: Likewise.
50429 * sunrpc/svcauth_des.c: Likewise.
50430 * sunrpc/xcrypt.c: Likewise.
50431 * sunrpc/xdr.c: Likewise.
50432 * sunrpc/xdr_array.c: Likewise.
50433 * sunrpc/xdr_float.c: Likewise.
50434 * sunrpc/xdr_intXX_t.c: Likewise.
50435 * sunrpc/xdr_mem.c: Likewise.
50436 * sunrpc/xdr_rec.c: Likewise.
50437 * sunrpc/xdr_ref.c: Likewise.
50438 * sunrpc/xdr_sizeof.c: Likewise.
50439 * sunrpc/xdr_stdio.c: Likewise.
50440
e6c61494
UD
504412011-04-10 Ulrich Drepper <drepper@gmail.com>
50442
50443 [BZ #12650]
50444 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50445 * sysdeps/ia64/dl-tls.h: Likewise.
50446 * sysdeps/powerpc/dl-tls.h: Likewise.
50447 * sysdeps/s390/dl-tls.h: Likewise.
50448 * sysdeps/sh/dl-tls.h: Likewise.
50449 * sysdeps/sparc/dl-tls.h: Likewise.
50450 * sysdeps/x86_64/dl-tls.h: Likewise.
50451 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50452
34fe483e
AS
504532011-03-14 Andreas Schwab <schwab@redhat.com>
50454
50455 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50456 rpath element also skip the following colon.
50457 (expand_dynamic_string_token): Add is_path parameter and pass
50458 down to DL_DST_REQUIRED and _dl_dst_substitute.
50459 (decompose_rpath): Call expand_dynamic_string_token with
50460 non-zero is_path. Ignore empty rpaths.
50461 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50462 with zero is_path.
50463
f12a32e6
AS
504642011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50465
50466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50467 Make cancelable.
50468
38a7d692
UD
504692011-04-09 Ulrich Drepper <drepper@gmail.com>
50470
50471 [BZ #12655]
50472 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50473 Patch by Filipe David Manana <fdmanana@apache.org>.
50474
e451d22b
AS
504752011-04-07 Andreas Schwab <schwab@redhat.com>
50476
50477 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50478 Maintain aligned stack.
50479 (CHECK_RSP): Remove unused macro.
50480
dedc7c7b
UD
504812011-04-03 Ulrich Drepper <drepper@gmail.com>
50482
50483 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50484 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50485
94521213
UD
504862011-04-02 Ulrich Drepper <drepper@gmail.com>
50487
50488 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50489
8cb700c0 50490 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50491
0354e355
L
504922011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50493
50494 [BZ #12518]
50495 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50496 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50497 * sysdeps/x86_64/memmove.c: New file.
50498 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50499 (memcpy): Renamed to ...
50500 (__new_memcpy): This.
50501 (memcpy): Provide GLIBC_2_14 memcpy.
50502 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50503 (memcpy): Provide GLIBC_2_2_5 memcpy.
50504
8593482f
UD
505052011-04-01 Ulrich Drepper <drepper@gmail.com>
50506
50507 [BZ #12631]
50508 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50509
81a5726b
AS
505102011-03-30 Andreas Schwab <schwab@redhat.com>
50511
50512 * misc/syncfs.c: New file.
50513 * misc/Makefile (routines): Add syncfs.
50514 * posix/unistd.h: Declare syncfs.
50515 * sysdeps/unix/syscalls.list: Add syncfs.
50516
00e5419f
AS
505172011-04-01 Andreas Schwab <schwab@redhat.com>
50518
50519 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50520 open_by_handle_at.
50521 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50522 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50523 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50524 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50525 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50526 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50527 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50528
748876bf
UD
505292011-04-01 Ulrich Drepper <drepper@gmail.com>
50530
658e451d
UD
50531 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50532 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50533 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50535 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50537 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50538
748876bf
UD
50539 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50540 sync_file_range.c with -fexceptions.
50541 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50542 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50543 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50544 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50545 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50546 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50547 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50548 sync_file_range as cancellation point
50549 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50550 now a wrapper around __call_sync_file_range with cancellation handling.
50551 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50552 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50553 function name to __call_sync_file_range.
50554 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50555 Add call_sync_file_range.
748876bf 50556
6e63d5e1
AS
505572011-04-01 Andreas Schwab <schwab@redhat.com>
50558
50559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50560 bits/timex.h.
6e63d5e1 50561
46998f74
UD
505622011-04-01 Ulrich Drepper <drepper@gmail.com>
50563
4c1423ed
UD
50564 * iconv/iconv.h: Fix typo in comment.
50565 * io/fcntl.h: Likewise.
50566 * libio/stdio.h: Likewise.
50567 * posix/spawn.h: Likewise.
50568 * posix/unistd.h: Likewise.
50569 * stdlib/stdlib.h: Likewise.
50570 * time/time.h: Likewise.
50571 * wcsmbs/wchar.h: Likewise.
50572
158648c0
UD
50573 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50574 open_by_handle): Add.
50575 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50576 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50577 Augment a few comments.
50578 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50579 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50580 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50581 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50582 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50583 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50584 open_by_handle.
50585
46998f74
UD
50586 * io/fcntl.h (AT_EMPTY_PATH): Define.
50587
83fe108b
UD
505882011-03-30 Ulrich Drepper <drepper@gmail.com>
50589
50590 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50591 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50592 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50593 to...
50594 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50595 * Versions.def: Add GLIBC_2.14.
50596 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50597 Export.
83fe108b 50598
bb242059
UD
505992011-03-22 Ulrich Drepper <drepper@gmail.com>
50600
50601 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50602 round counter.
50603 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50604
c97a1282
L
506052011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50606
50607 [BZ #12597]
50608 * string/test-strncmp.c (do_page_test): New function.
50609 (check2): Likewise.
50610 (test_main): Call check2.
50611 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50612
2a115601
UD
506132011-03-20 Ulrich Drepper <drepper@gmail.com>
50614
50615 [BZ #12587]
50616 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50617 Handle cache information in CPU leaf 4.
50618 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50619
8126d904
UD
506202011-03-18 Ulrich Drepper <drepper@gmail.com>
50621
042c49c6 50622 [BZ #12583]
8126d904
UD
50623 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50624 character representation.
50625 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50626
ccfe366e
RA
506272011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50628
50629 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50630 END(__isnan) to END(__isnanf) to match function entry point/label
50631 EALIGN(__isnanf,...).
50632
c6e13027
JJ
506332011-03-10 Jakub Jelinek <jakub@redhat.com>
50634
50635 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50636
33f85a3f
UD
506372011-03-10 Ulrich Drepper <drepper@gmail.com>
50638
028478fa
UD
50639 [BZ #12510]
50640 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50641 copy from the symbol referenced in the relocation to initialize the
50642 used variable.
50643 Patch by Piotr Bury <pbury@goahead.com>.
50644 * elf/Makefile: Add rules to build and tst-unique3.
50645 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50646 * elf/tst-unique3.cc: New file.
50647 * elf/tst-unique3.h: New file.
50648 * elf/tst-unique3lib.cc: New file.
50649 * elf/tst-unique3lib2.cc: New file.
50650
33f85a3f
UD
50651 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50652
03592fc7
MF
506532011-03-10 Mike Frysinger <vapier@gentoo.org>
50654
50655 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50656 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50657 to _start.
03592fc7 50658
6a5ee102
UD
506592011-03-06 Ulrich Drepper <drepper@gmail.com>
50660
50661 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50662 to-be-loaded object along a path to loader is ld.so.
50663
7e4ba49c
HJ
506642011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50665 Ulrich Drepper <drepper@gmail.com>
50666
50667 * sysdeps/x86_64/memset.S: After aligning destination, code
50668 branches to different locations depending on the value of
50669 misalignment, when multiarch is enabled. Fix this.
50670
506712011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50672
50673 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50674 Set _x86_64_preferred_memory_instruction for AMD processsors.
50675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50676 Set bit_Prefer_SSE_for_memop for AMD processors.
50677
13a804de
UD
506782011-03-04 Ulrich Drepper <drepper@gmail.com>
50679
50680 * libio/fmemopen.c (fmemopen): Optimize a bit.
50681
9d25c392
AS
506822011-03-03 Andreas Schwab <schwab@redhat.com>
50683
50684 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50685
a5543c6a
RM
506862011-03-03 Roland McGrath <roland@redhat.com>
50687
50688 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50689
012d35f7
DM
506902011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50691
7e4ba49c 50692 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50693 __bzero_ultra1 instead of __memset_ultra1.
50694
4bff6e01
AS
506952011-02-23 Andreas Schwab <schwab@redhat.com>
50696 Ulrich Drepper <drepper@gmail.com>
50697
50698 [BZ #12509]
50699 * include/link.h (struct link_map): Add l_orig_initfini.
50700 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50701 returning unsuccessfully.
50702 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50703 close of a file loaded at startup, restore the original l_initfini
50704 list.
50705 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50706 list, store the pointer.
50707 * elf/Makefile ($(objpfx)noload-mem): New rule.
50708 (noload-ENV): Define.
50709 (tests): Add $(objpfx)noload-mem.
50710 * elf/noload.c: Include <memcheck.h>.
50711 (main): Call mtrace. Close all opened handles.
50712
f2092faf
AS
507132011-02-17 Andreas Schwab <schwab@redhat.com>
50714
50715 [BZ #12454]
50716 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50717 dependencies are missing.
50718
6c8a2e88
ST
507192011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50720
f2092faf 50721 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50722 Hurd needs munmap.
50723 * sysdeps/mach/hurd/ifreq.h: New file.
50724
84a42118
PB
507252011-01-27 Petr Baudis <pasky@suse.cz>
50726 Ulrich Drepper <drepper@gmail.com>
50727
071f805e 50728 [BZ 12445]#
84a42118
PB
50729 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50730 to extend_alloca().
50731 * stdio-common/bug23.c: New file.
50732 * stdio-common/Makefile (tests): Add bug23.
50733
e23fe25b
AS
507342010-09-28 Andreas Schwab <schwab@redhat.com>
50735 Ulrich Drepper <drepper@gmail.com>
50736
50737 [BZ #12489]
50738 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50739 before performing relro protection. At old place add assertion
50740 to make sure nothing changed.
50741
d3f02e10
NS
507422011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50743 Glauber de Oliveira Costa <glommer@gmail.com>
50744
50745 * elf/elf.h: Add new ARM TLS relocs.
50746
d55fd7a5
RA
507472011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50748
50749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50750 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50751 cast from r3.
50752 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50753 'tests' variable.
50754 * sysdeps/wordsize-64/tst-writev.c: New file.
50755
2206397e
RA
507562011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50757
50758 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50759 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50760 insns in _dl_start to prevent a TOC reference before relocs are
50761 resolved.
50762
e9433893
UD
507632011-02-15 Ulrich Drepper <drepper@gmail.com>
50764
50765 [BZ #12469]
50766 * Makeconfig: Remove RANLIB definition.
50767 * Makerules: Don't use RANLIB.
50768 * aclocal.m4: Remove ranlib test.
50769 * configure.in: No need to check for ranlib.
50770 * elf/rtld-Rules: Don't use RANLIB.
50771
f75286c6
ST
507722011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50773
8e31c82d
ST
50774 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50775 protection macro.
50776 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50777 inclusion protection macro.
50778
f75286c6
ST
50779 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50780 SIGRTMIN and SIGRTMAX and print information in that case only when
50781 SIGRTMIN is defined.
50782
c1d0e639
JJ
507832011-02-11 Jakub Jelinek <jakub@redhat.com>
50784
50785 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50786 arginfo fn returning -1.
50787
50788 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50789 and thousands string is zero terminated.
50790
edf9294e
AS
507912011-02-03 Andreas Schwab <schwab@redhat.com>
50792
50793 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50794 sysdeps/unix/sysv/linux/bits/socket.h.
50795
2b7e92df
ST
507962011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50797
edf9294e
AS
50798 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50799 (__CPU_COUNT): Remove old macros.
50800 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50801 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50802 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
50803 (__sched_cpualloc, __sched_cpufree): Add declarations.
50804
a4c7ea7b
UD
508052011-02-05 Ulrich Drepper <drepper@gmail.com>
50806
50807 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50808 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50809 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50810 (readdhstai): Return value of addhstaiX call.
50811 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50812 (addgrbyX): Return value returned by cache_addgr.
50813 (readdgrbyname): Return value returned by addgrbyX.
50814 (readdgrbygid): Likewise.
50815 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50816 (addpwbyX): Return value returned by cache_addpw.
50817 (readdpwbyname): Return value returned by addhstbyX.
50818 (readdpwbyuid): Likewise.
50819 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50820 (addservbyX): Return value returned by cache_addserv.
50821 (readdservbyname): Return value returned by addservbyX:
50822 (readdservbyport): Likewise.
50823 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50824 (addhstbyX): Return value returned by cache_addhst.
50825 (readdhstbyname): Return value returned by addhstbyX.
50826 (readdhstbyaddr): Likewise.
50827 (readdhstbynamev6): Likewise.
50828 (readdhstbyaddrv6): Likewise.
50829 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50830 (readdinitgroups): Return value returned by addinitgroupsX.
50831 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50832 (prune_cache): Keep track of timeout value of re-added entries.
50833 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50834 * nscd/nscd.h: Adjust prototypes of readd* functions.
50835
a0bf67cc
RM
508362011-02-04 Roland McGrath <roland@redhat.com>
50837
50838 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50839 (nis_stats): Likewise.
50840 * nis/nis_modify.c (nis_modify): Likewise.
50841 * nis/nis_remove.c (nis_remove): Likewise.
50842 * nis/nis_add.c (nis_add): Likewise.
50843
50844 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50845
50846 * posix/fnmatch_loop.c: Add some consts.
50847
50848 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50849
435b95eb
L
508502011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50851
50852 [BZ #12460]
50853 * config.make.in (config-cflags-novzeroupper): Define.
50854 * configure.in: Substitute libc_cv_cc_novzeroupper.
50855 * elf/Makefile (AVX-CFLAGS): Define.
50856 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50857 (CFLAGS-tst-auditmod4a.c): Likewise.
50858 (CFLAGS-tst-auditmod4b.c): Likewise.
50859 (CFLAGS-tst-auditmod6b.c): Likewise.
50860 (CFLAGS-tst-auditmod6c.c): Likewise.
50861 (CFLAGS-tst-auditmod7b.c): Likewise.
50862 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50863
8517b15e
UD
508642011-02-02 Ulrich Drepper <drepper@gmail.com>
50865
50866 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50867 function to the callback.
50868 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50869
10a656fe
AS
508702011-02-02 Andreas Schwab <schwab@redhat.com>
50871
50872 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50873 of errno.
50874
968dad0a
UD
508752011-01-19 Ulrich Drepper <drepper@gmail.com>
50876
9f94d2ea 50877 [BZ #11724]
968dad0a
UD
50878 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50879 of constructors.
50880 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50881 of destructors.
50882 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50883
50884 [BZ #11724]
50885 * elf/Makefile: Add rules to build and run new test.
50886 * elf/tst-initorder.c: New file.
50887 * elf/tst-initorder.exp: New file.
50888 * elf/tst-initordera1.c: New file.
50889 * elf/tst-initordera2.c: New file.
50890 * elf/tst-initordera3.c: New file.
50891 * elf/tst-initordera4.c: New file.
50892 * elf/tst-initorderb1.c: New file.
50893 * elf/tst-initorderb2.c: New file.
50894 * elf/tst-order-a1.c: New file.
50895 * elf/tst-order-a2.c: New file.
50896 * elf/tst-order-a3.c: New file.
50897 * elf/tst-order-a4.c: New file.
50898 * elf/tst-order-b1.c: New file.
50899 * elf/tst-order-b2.c: New file.
50900 * elf/tst-order-main.c: New file.
50901 New test case by George Gensure <werkt0@gmail.com>.
50902
86e92359
UD
509032010-10-01 Andreas Schwab <schwab@redhat.com>
50904
50905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50906 decoding ACE if AI_CANONIDN.
50907
5d5732b0
UD
509082011-01-18 Ulrich Drepper <drepper@gmail.com>
50909
50910 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50911
a77e8cbc
UD
509122011-01-17 Ulrich Drepper <drepper@gmail.com>
50913
6392473f
UD
50914 * version.h (RELEASE): Bump for 2.13 release.
50915 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50916
620a0529
UD
50917 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50918
18ba70a5
UD
50919 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50920 MADV_NOHUGEPAGE.
32465c3e
UD
50921 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50922 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50923 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50924 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50925 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50926 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50927
c0dafcf1
UD
50928 * posix/getconf.c: Update copyright year.
50929 * catgets/gencat.c: Likewise.
50930 * csu/version.c: Likewise.
50931 * debug/catchsegv.sh: Likewise.
50932 * debug/xtrace.sh: Likewise.
50933 * elf/ldconfig.c: Likewise.
50934 * elf/ldd.bash.in: Likewise.
50935 * elf/sprof.c (print_version): Likewise.
50936 * iconv/iconv_prog.c: Likewise.
50937 * iconv/iconvconfig.c: Likewise.
50938 * locale/programs/locale.c: Likewise.
50939 * locale/programs/localedef.c: Likewise.
50940 * malloc/memusage.sh: Likewise.
50941 * malloc/mtrace.pl: Likewise.
50942 * nscd/nscd.c (print_version): Likewise.
50943 * nss/getent.c: Likewise.
50944
a77e8cbc
UD
50945 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50946 PF_CAIF, and PF_ALG.
50947 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50948
77e8bddf
AS
509492011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50950
1f20b93a
AS
50951 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50952 (modules-names): Use them.
50953 (ifunc-test-modules, ifunc-pie-tests): Define.
50954 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50955 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50956 (test-extras): Likewise.
50957 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50958 $(compile-command.c).
50959 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50960 (all-built-dso): Define.
50961 (check-textrel.out, check-execstack.out): Depend on it.
50962
77e8bddf
AS
50963 * configure.in: Don't override --enable-multi-arch.
50964
bc425b33
UD
509652011-01-15 Ulrich Drepper <drepper@gmail.com>
50966
50967 [BZ #6812]
50968 * nscd/hstcache.c (tryagain): Define.
50969 (cache_addhst): Return tryagain not notfound for temporary errors.
50970 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50971 failed.
50972
794c3ad3
UD
509732011-01-14 Ulrich Drepper <drepper@gmail.com>
50974
70181fdd
UD
50975 [BZ #10563]
50976 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50977 to make the syscall.
50978 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50979
794c3ad3
UD
50980 [BZ #12378]
50981 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50982 and fall back to matching as normal character if the string ends before
50983 the matching ']' is found. This is what POSIX requires.
50984 * posix/testfnm.c: Adjust test result.
50985 * posix/globtest.sh: Adjust test result. Add new test.
50986 * posix/tst-fnmatch.input: Likewise.
50987 * posix/tst-fnmatch2.c: Add new test.
50988
68dc9497
AS
509892010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50990
50991 * elf/Makefile (check-execstack): Revert last change. Depend on
50992 check-execstack.h.
50993 (check-execstack.h): New target.
50994 (generated): Add check-execstack.h.
50995 * elf/check-execstack.c: Include "check-execstack.h".
50996 (main): Revert last change.
50997 (handle_file): Return zero if GNU_STACK is absent and
50998 DEFAULT_STACK_PERMS doesn't include PF_X.
50999
451f001b
UD
510002011-01-13 Ulrich Drepper <drepper@gmail.com>
51001
cfa28e56
UD
51002 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51003 in child fails because the descriptor is already closed.
8cf8ce17
UD
51004 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51005 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51006 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 51007
1086d70d
UD
51008 [BZ #12397]
51009 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51010 syscall.
51011
451f001b
UD
51012 [BZ #10484]
51013 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51014 temporary buffer used to handle multi lookups locally.
a85b5cb4 51015 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 51016
08769175
UD
510172011-01-12 Ulrich Drepper <drepper@gmail.com>
51018
51019 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51020 loader is ld.so.
51021
5e49c52e
UD
510222011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51023
51024 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51025 alignment for SSE2.
51026
60522a5f
UD
510272011-01-12 Ulrich Drepper <drepper@gmail.com>
51028
51029 [BZ #12394]
51030 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51031 characters. When rounding increased number of integer digits recompute
51032 number of groups.
51033 * stdio-common/tst-grouping.c: New file.
51034 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51035
f257bbd7
UD
510362011-01-09 Ulrich Drepper <drepper@gmail.com>
51037
51038 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51039 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51040
51041 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51042 void.
51043 * bits/select.h: Likewise.
51044
fa9c15cb
UD
510452011-01-08 Ulrich Drepper <drepper@gmail.com>
51046
51047 * po/ja.po: Update from translation team.
51048
16c2895f
DM
510492011-01-04 David S. Miller <davem@sunset.davemloft.net>
51050
51051 [BZ #11155]
51052 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51053 implementation just like for lxstat, fxstatat, et al.
51054
2543fef2
JM
510552010-12-27 Jim Meyering <meyering@redhat.com>
51056
51057 [BZ #12348]
51058 * posix/regexec.c (build_trtable): Return failure indication upon
51059 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51060
98727dbe
UD
510612010-12-25 Ulrich Drepper <drepper@gmail.com>
51062
5bd6dc5c
UD
51063 [BZ #12201]
51064 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51065 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51066 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51067 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51068
97983464
UD
51069 [BZ #12207]
51070 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51071
98727dbe
UD
51072 [BZ #12204]
51073 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51074 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51075
4a531bb0
L
510762010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51077
51078 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51079 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51080 script has SORT_BY_INIT_PRIORITY.
51081 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51082 NO_CTORS_DTORS_SECTIONS is defined.
51083 * elf/soinit.c: Likewise.
51084 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51085 NO_CTORS_DTORS_SECTIONS is defined.
51086 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51087 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51088 * sysdeps/sh/init-first.c: Likewise.
51089 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51090
07eb4b71
UD
510912010-12-24 Ulrich Drepper <drepper@gmail.com>
51092
51093 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51094 always use the slow path.
51095
30950a5f
RA
510962010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51097
51098 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51099 similar rule which adds the sysdep directories to the header search in
51100 order to pick up the correct platform stackinfo.h.
51101 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51102 perform test if it is, otherwise return successfully without testing.
51103 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51104 DEFAULT_STACK_PERMS define in stackinfo.h.
51105 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51106 defined in stackinfo.h.
51107 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51108 DEFAULT_STACK_PERMS defined in stackinfo.h.
51109 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51110 * sysdeps/ia64/stackinfo.h: Likewise.
51111 * sysdeps/s390/stackinfo.h: Likewise.
51112 * sysdeps/sh/stackinfo.h: Likewise.
51113 * sysdeps/sparc/stackinfo.h: Likewise.
51114 * sysdeps/x86_64/stackinfo.h: Likewise.
51115 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51116 PF_X for powerpc64. Retain PF_X for powerpc32.
51117
db753e2c
UD
511182010-12-19 Ulrich Drepper <drepper@gmail.com>
51119
14b697f7
UD
51120 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51121 accurately.
db753e2c
UD
51122 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51123 GETDENTS_64BIT_ALIGNED.
51124
28300719
UD
511252010-12-14 Ulrich Drepper <dreper@gmail.com>
51126
14b697f7 51127 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 51128
4f197237
AS
511292010-12-10 Andreas Schwab <schwab@redhat.com>
51130
dbb0472f
AS
51131 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51132 _GNU_SOURCE.
51133
4f197237
AS
51134 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51135 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51136 Remove __restrict.
51137 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51138 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51139
fb88ac72
UD
511402010-12-09 Ulrich Drepper <drepper@gmail.com>
51141
51142 [BZ #11655]
51143 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51144 are initialized.
51145
42acbb92
JJ
511462010-12-09 Jakub Jelinek <jakub@redhat.com>
51147
51148 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51149
c038d98d
UD
511502010-12-03 Ulrich Drepper <drepper@gmail.com>
51151
51152 * po/it.po: Update from translation team.
51153
3a4a2499
L
511542010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51155
51156 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51157 unused codes.
51158
1e24cf6e
UD
511592010-11-30 Ulrich Drepper <drepper@gmail.com>
51160
51161 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51162
a7690819
AS
511632010-11-24 Andreas Schwab <schwab@redhat.com>
51164
51165 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51166 specially.
51167 (gaih_getanswer_slice): Likewise.
51168
3bf8d1b1
JJ
511692010-10-20 Jakub Jelinek <jakub@redhat.com>
51170
51171 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51172
6db52fbb
PB
511732010-05-31 Petr Baudis <pasky@suse.cz>
51174
51175 [BZ #11149]
51176 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51177 silently even in the chroot mode.
51178
eaca7569
UD
511792010-11-22 Ulrich Drepper <drepper@gmail.com>
51180
51181 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51182 last patch a bit. Pretty printing
51183
3056dcdb
UD
511842010-05-31 Petr Baudis <pasky@suse.cz>
51185
51186 [BZ #10085]
51187 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51188 initialization of skip_initgroups_dyn.
51189
cf7c9078
UD
511902010-11-19 Ulrich Drepper <drepper@gmail.com>
51191
51192 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51193 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51194
a1fb5e3e
UD
511952010-11-16 Ulrich Drepper <drepper@gmail.com>
51196
51197 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51198
3540d66b
AS
511992010-11-11 Andreas Schwab <schwab@redhat.com>
51200
51201 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51202 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51203 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51204 ($(objpfx)tst-fnmatch-mem): New rule.
51205 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51206 * posix/tst-fnmatch.c (main): Call mtrace.
51207
13b69574
L
512082010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51209
51210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51211 Support Intel processor model 6 and model 0x2c.
51212
da93d214
LM
512132010-11-10 Luis Machado <luisgpm@br.ibm.com>
51214
51215 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51216 signed comparison.
51217
8ca52c6e
L
512182010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51219
51220 [BZ #12205]
51221 * string/test-strncasecmp.c (check_result): New function.
51222 (do_one_test): Use it.
51223 (check1): New function.
51224 (test_main): Use it.
51225 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51226 Support strcasecmp and strncasecmp.
51227
69da074d
UD
512282010-11-08 Ulrich Drepper <drepper@gmail.com>
51229
51230 [BZ #12194]
51231 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51232 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51233
ff02d528
L
512342010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51235
51236 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51237 IFUNC support.
51238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51239 memset-x86-64.
51240 * sysdeps/x86_64/multiarch/bzero.S: New file.
51241 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51242 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51243 * sysdeps/x86_64/multiarch/memset.S: New file.
51244 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51246 Set bit_Prefer_SSE_for_memop for Intel processors.
51247 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51248 Define.
51249 (index_Prefer_SSE_for_memop): Define.
51250 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51251
344d0b54
LM
512522010-11-04 Luis Machado <luisgpm@br.ibm.com>
51253
51254 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51255 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51256
c0dde15b
UD
512572010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51258
51259 [BZ #12191]
51260 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51261 (__x86_64_raw_data_cache_size_half): Likewise.
51262 (__x86_64_raw_shared_cache_size): Likewise.
51263 (__x86_64_raw_shared_cache_size_half): Likewise.
51264
51265 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51266 (__x86_64_raw_data_cache_size_half): Likewise.
51267 (__x86_64_raw_shared_cache_size): Likewise.
51268 (__x86_64_raw_shared_cache_size_half): Likewise.
51269 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51270 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51271 and __x86_64_raw_shared_cache_size_half. Round
51272 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51273 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51274 to multiple of 256 bytes.
51275
0e516e0e
MS
512762010-11-03 Ulrich Drepper <drepper@gmail.com>
51277
51278 [BZ #12167]
51279 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51280 of inacessible symlinks. Verify result of symlink before returning it.
51281 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51282 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51283
0e012e87
ER
512842010-10-28 Erich Ritz <erichritz@gmail.com>
51285
51286 * math/math.h (isinf): Fix typo in comment.
51287
de0ff7bc
UD
512882010-11-01 Ulrich Drepper <drepper@gmail.com>
51289
51290 * po/da.po: Update from translation team.
51291
fa41c84d
UD
512922010-10-26 Ulrich Drepper <drepper@gmail.com>
51293
51294 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51295 is added to the list.
51296
f0967738
AK
512972010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51298 Ulrich Drepper <drepper@gmail.com>
51299
51300 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51301 the global list here. Move code to...
51302 (_dl_add_to_namespace_list): ...here. New function.
51303 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51304 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51305 * elf/dl-load.c (lose): Don't remove the element from the list.
51306 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51307 (_dl_map_object): Likewise.
51308
513092010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
51310
51311 [BZ #12159]
51312 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51313 into all bytes of SSE register.
51314 Patch by Richard Li <richardpku@gmail.com>.
51315
f0967738 513162010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
51317
51318 [BZ #12140]
51319 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51320 perturbing.
51321
d0b9e94f
MB
513222010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51323
51324 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51325 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51326 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51327 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51329 submachine.
51330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51331
8e9f92e9
AS
513322010-10-22 Andreas Schwab <schwab@redhat.com>
51333
51334 * include/dlfcn.h (__RTLD_SECURE): Define.
51335 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51336 mode & __RTLD_SECURE instead.
51337 (open_path): Rename preloaded parameter to secure.
51338 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51339 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51340 * elf/dl-deps.c (openaux): Likewise.
51341 * elf/rtld.c (struct map_args): Remove is_preloaded.
51342 (map_doit): Don't use it.
51343 (dl_main): Likewise.
51344 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51345 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51346
bc96fbda
AS
513472010-09-09 Andreas Schwab <schwab@redhat.com>
51348
51349 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51350 (sysd-rules-targets): Remove duplicates.
51351 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51352 rtld-%.$o dependency.
51353
22cd1c9b
AS
513542010-10-18 Andreas Schwab <schwab@redhat.com>
51355
51356 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51357 _dl_map_object do it.
51358
18edac48
UD
513592010-10-19 Ulrich Drepper <drepper@gmail.com>
51360
51361 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51362 fast fma builtins, define the macros in the C99 standard.
51363 (FP_FAST_FMAF): Likewise.
51364 (FP_FAST_FMAL): Likewise.
51365 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51366
51367 * bits/mathdef.h: Update copyright year.
51368 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51369
d2050124
MM
513702010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51371
51372 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51373 builtins, define the macros in the C99 standard.
51374 (FP_FAST_FMAF): Likewise.
51375 (FP_FAST_FMAL): Likewise.
51376 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51377 multiply/add.
51378 (FP_FAST_FMAF): Likewise.
51379
475facd1
JJ
513802010-10-15 Jakub Jelinek <jakub@redhat.com>
51381
51382 [BZ #3268]
51383 * math/libm-test.inc (fma_test): Some new testcases.
51384 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51385 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51386 y and infinite z. Do multiplication by C already in long double.
51387 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51388 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51389 y and infinite z. Do bitwise or of inexact bit into u.d.
51390 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51391 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51392 * sysdeps/i386/fpu/s_fma.S: Removed.
51393 * sysdeps/i386/fpu/s_fmal.S: Removed.
51394
7c08a05c
JJ
513952010-10-16 Jakub Jelinek <jakub@redhat.com>
51396
51397 [BZ #3268]
51398 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51399 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51400 computation is not scheduled after fetestexcept. Fix value
51401 of minimum denormal long double.
51402
f3f7372d
JJ
514032010-10-14 Jakub Jelinek <jakub@redhat.com>
51404
51405 [BZ #3268]
51406 * math/libm-test.inc (fma_test): Add some more tests.
51407 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51408 correctly.
51409
14d43591
AS
514102010-10-15 Andreas Schwab <schwab@redhat.com>
51411
51412 * scripts/data/localplt-s390-linux-gnu.data: New file.
51413 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51414
5e908464
JJ
514152010-10-13 Jakub Jelinek <jakub@redhat.com>
51416
51417 [BZ #3268]
51418 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51419 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51420 instead of dbl-64.
51421 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51422 inlines.
51423 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51425 if one of x and y is very large and the other is subnormal.
51426 * sysdeps/s390/fpu/s_fmaf.c: New file.
51427 * sysdeps/s390/fpu/s_fma.c: New file.
51428 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51429 * sysdeps/powerpc/fpu/s_fma.S: New file.
51430 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51431 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51432 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51433
514342010-10-12 Jakub Jelinek <jakub@redhat.com>
51435
51436 [BZ #3268]
51437 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51438 fma tests.
51439 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51440 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51441 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51442 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51443 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51444 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51445 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51446
b833d51f
UD
514472010-10-12 Ulrich Drepper <drepper@redhat.com>
51448
51449 [BZ #12078]
51450 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51451 * posix/bug-regex31.input: Add test case.
51452
1751705d
UD
514532010-10-11 Ulrich Drepper <drepper@gmail.com>
51454
e9b9cbf5
UD
51455 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51456 * posix/bug-regex31.input: New file.
51457
51458 [BZ #12078]
51459 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51460 (parse_sub_exp): Fix last change, use postorder.
51461
ef06edbe
UD
51462 * posix/bug-regex31.c: New file.
51463 * posix/Makefile: Add rules to build and run bug-regex31.
51464
a129c80d
UD
51465 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51466
51467 [BZ #12078]
51468 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51469
b76b818e
UD
51470 [BZ #12108]
51471 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51472 to have entries in sys_siglist.
51473
1751705d
UD
51474 [BZ #12093]
51475 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51476 be NULL.
51477
9ff8d36f
JJ
514782010-10-07 Jakub Jelinek <jakub@redhat.com>
51479
51480 [BZ #3268]
51481 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51482 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51483 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51484 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51485 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51486 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51487 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51488 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51489 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51490 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51491 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51492 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51493 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51494 * math/ftestexcept.c (fetestexcept): Likewise.
51495 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51496 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51497 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51498 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51499 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51500 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51501 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51502
af325969
UD
515032010-10-11 Ulrich Drepper <drepper@gmail.com>
51504
c579b202 51505 [BZ #12107]
af325969
UD
51506 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51507 newline.
51508
67a67b95
UD
515092010-10-06 Ulrich Drepper <drepper@gmail.com>
51510
51511 * string/bug-strstr1.c: New file.
51512 * string/Makefile: Add rules to build and run bug-strstr1.
51513
5fb308bc
EB
515142010-10-05 Eric Blake <eblake@redhat.com>
51515
51516 [BZ #12092]
51517 * string/str-two-way.h (two_way_long_needle): Always clear memory
51518 when skipping input due to the shift table.
51519
45db99c7
UD
515202010-10-03 Ulrich Drepper <drepper@gmail.com>
51521
3b111893
UD
51522 [BZ #12005]
51523 * malloc/mcheck.c: Handle large requests.
51524
45db99c7
UD
51525 [BZ #12077]
51526 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51527 for strncmp and strncasecmp.
51528 * string/stratcliff.c: Add tests for strcmp and strncmp.
51529 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51530
cf7a1eb8
NI
515312010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51532
51533 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51534 __set_fpscr.
51535
6484ba5e
AJ
515362010-09-30 Andreas Jaeger <aj@suse.de>
51537
51538 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51539 (CGROUP_SUPER_MAGIC): Define.
51540 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51541 Handle btrfs and cgroup file systems.
51542 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51543 Likewise.
51544
91c42559
LM
515452010-09-27 Luis Machado <luisgpm@br.ibm.com>
51546
51547 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51548 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51549
87a97932
AK
515502010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51551
51552 [BZ #12067]
51553 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51554 trying to locate the ELF header.
51555
c21cc9bc
AS
515562010-09-27 Andreas Schwab <schwab@redhat.com>
51557
51558 [BZ #11611]
51559 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51560 Mask out sign-bit copies when constructing f_fsid.
51561
315970f6
PB
515622010-09-24 Petr Baudis <pasky@suse.cz>
51563
51564 * debug/stack_chk_fail_local.c: Add missing licence exception.
51565 * debug/warning-nop.c: Likewise.
51566
1ac7a2c7
JM
515672010-09-15 Joseph Myers <joseph@codesourcery.com>
51568
51569 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51570 implementing getdents64 using getdents syscall, set d_type if
51571 __ASSUME_GETDENTS32_D_TYPE.
51572
56801c50
AS
515732010-09-16 Andreas Schwab <schwab@redhat.com>
51574
51575 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51576 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51577
dda51327
UD
515782010-09-21 Ulrich Drepper <drepper@redhat.com>
51579
51580 [BZ #12037]
51581 * posix/unistd.h: Undo change of feature selection for ftruncate from
51582 2010-01-11.
51583
8ffcee4a
UD
515842010-09-20 Ulrich Drepper <drepper@redhat.com>
51585
a545ecd9 51586 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51587 detection.
51588
e24f0a8b
AS
515892010-09-20 Andreas Schwab <schwab@redhat.com>
51590
51591 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51592 fanotify_mark.
51593 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51594
7291c56f
AS
515952010-09-14 Andreas Schwab <schwab@redhat.com>
51596
51597 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51598 variables after CHECK_SP call.
51599 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51600
bc5fb037
AS
516012010-09-13 Andreas Schwab <schwab@redhat.com>
51602 Ulrich Drepper <drepper@redhat.com>
51603
51604 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51605 re-relocationg ld.so.
51606 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51607 _dl_init_paths call.
51608 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51609 here anymore.
51610
e66e7419
UD
516112010-09-14 Ulrich Drepper <drepper@redhat.com>
51612
51613 * resolv/res_init.c (__res_vinit): Count the default server we added.
51614
c044aa75
CLT
516152010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51616 Ulrich Drepper <drepper@redhat.com>
51617
51618 [BZ #11968]
51619 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51620 (____longjmp_chk): Use %ebx for saving value across system call.
51621 Add unwind info.
51622
32cf4069
AS
516232010-09-06 Andreas Schwab <schwab@redhat.com>
51624
51625 * manual/Makefile: Don't mix pattern rules with normal rules.
51626
817328ee
AS
516272010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51628
51629 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51630 operation.
51631 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51632 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51633 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51634 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51635 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51636 Likewise.
51637
29fddf61
UD
516382010-09-04 Ulrich Drepper <drepper@redhat.com>
51639
51640 [BZ #11979]
51641 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51642 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51643
0959ffc9
UD
516442010-09-02 Ulrich Drepper <drepper@redhat.com>
51645
51646 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51647 * sysdeps/x86_64/addmul_1.S: Likewise.
51648 * sysdeps/x86_64/lshift.S: Likewise.
51649 * sysdeps/x86_64/mul_1.S: Likewise.
51650 * sysdeps/x86_64/rshift.S: Likewise.
51651 * sysdeps/x86_64/sub_n.S: Likewise.
51652 * sysdeps/x86_64/submul_1.S: Likewise.
51653
ece29840
ST
516542010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51655
0959ffc9
UD
51656 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51657 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51658 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51659 * bits/sched.h [__need_schedparam]
ece29840 51660 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51661 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51662 (__defined_schedparam): Define to 1.
ece29840
ST
51663 (__sched_param): New structure, identical to sched_param.
51664 (__need_schedparam): Undefine.
51665
e53a31fe
MF
516662010-08-31 Mike Frysinger <vapier@gentoo.org>
51667
fdc0c10d
MF
51668 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51669 (epoll_create1): Declare.
51670
e53a31fe
MF
51671 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51672
a726d796
AS
516732010-08-31 Andreas Schwab <schwab@redhat.com>
51674
51675 [BZ #7066]
51676 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51677 shifting retval into place.
51678
2f3e3dc7
UD
516792010-09-01 Ulrich Drepper <drepper@redhat.com>
51680
f2933da9
UD
51681 * nis/rpcsvc/nis.h: Update copyright notice.
51682 * nis/rpcsvc/nis.x: Likewise.
51683 * nis/rpcsvc/nis_callback.h: Likewise.
51684 * nis/rpcsvc/nis_callback.x: Likewise.
51685 * nis/rpcsvc/nis_object.x: Likewise.
51686 * nis/rpcsvc/nis_tags.h: Likewise.
51687 * nis/rpcsvc/yp.h: Likewise.
51688 * nis/rpcsvc/yp.x: Likewise.
51689 * nis/rpcsvc/ypupd.h: Likewise.
51690 * nis/yp_xdr.c: Likewise.
51691 * nis/ypupdate_xdr.c: Likewise.
51692
2f3e3dc7
UD
51693 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51694 mainly the body of pmap_getport. Add parameters to specify timeouts.
51695 (pmap_getport): Use __libc_rpc_getport.
51696 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51697 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51698 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51699
f3dcc2f9
AS
517002010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51701
51702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51703 fanotify_mark.
51704
6d34eb5b
RM
517052010-08-27 Roland McGrath <roland@redhat.com>
51706
51707 * sysdeps/i386/i686/multiarch/Makefile
51708 (CFLAGS-varshift.c): New variable.
51709
9ea3de11
UD
517102010-08-27 Ulrich Drepper <drepper@redhat.com>
51711
c96d23fc
UD
51712 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51713 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51714
9ea3de11
UD
51715 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51716
51717 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51718
623aac7f
L
517192010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51720
51721 * sysdeps/x86_64/strlen.S: Unroll the loop.
51722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51723 strlen-sse2 strlen-sse2-bsf.
51724 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51725 __strlen_no_bsf if bit_Slow_BSF is set.
51726 (__strlen_sse42): Removed.
51727 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51728 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51729
8b2b7715
RM
517302010-08-25 Roland McGrath <roland@redhat.com>
51731
51732 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51733 * sysdeps/x86_64/multiarch/varshift.c: New file.
51734 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51735 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51736 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51737 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51738
e73015f2
L
517392010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51740
51741 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51742 strlen-sse2 strlen-sse2-bsf.
51743 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51744 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51745 (__strlen_sse2): Removed.
51746 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51747 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51749 bit_Slow_BSF for Atom.
51750 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51751 (index_Slow_BSF): Define.
51752 (HAS_SLOW_BSF): Define.
51753
df24a73e
UD
517542010-08-25 Ulrich Drepper <drepper@redhat.com>
51755
51756 [BZ #10851]
51757 * resolv/res_init.c (__res_vinit): When no server address at all
51758 is given default to loopback.
51759
f2ac4868
RM
517602010-08-24 Roland McGrath <roland@redhat.com>
51761
09055553
RM
51762 * configure.in: Remove config-name.h generation.
51763 * configure: Regenerated.
51764 * config-name.in: File removed.
51765 * scripts/config-uname.sh: New file.
51766 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51767 ($(objdir)config-name.h): New target.
51768
f2ac4868
RM
51769 * sunrpc/rpc_parse.h: Avoid nested comment.
51770
73f27d5e
RH
517712010-08-24 Richard Henderson <rth@redhat.com>
51772 Ulrich Drepper <drepper@redhat.com>
51773 H.J. Lu <hongjiu.lu@intel.com>
51774
51775 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51777 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51778 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51779 _mm_alignr_epi8 with _mm_loadu_si128.
51780 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51781 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51782 (__m128i_shift_right): Removed.
51783 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51784 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51785 * sysdeps/x86_64/multiarch/varshift.h: New file.
51786 * sysdeps/x86_64/multiarch/varshift.S: New file.
51787
84b9230c
MF
517882010-08-21 Mike Frysinger <vapier@gentoo.org>
51789
51790 * configure.in: Move assembler checks to before sysdep dir checking.
51791
9bbd0ddc
PB
517922010-08-20 Petr Baudis <pasky@suse.cz>
51793
51794 * LICENSES: Sync the sunrpc license.
51795
9da4bb31
UD
517962010-08-19 Ulrich Drepper <drepper@redhat.com>
51797
a7ab6ec8
UD
51798 * sunrpc/auth_des.c: Update copyright notice once again.
51799 * sunrpc/auth_none.c: Likewise.
51800 * sunrpc/auth_unix.c: Likewise.
51801 * sunrpc/authdes_prot.c: Likewise.
51802 * sunrpc/authuxprot.c: Likewise.
51803 * sunrpc/bindrsvprt.c: Likewise.
51804 * sunrpc/clnt_gen.c: Likewise.
51805 * sunrpc/clnt_perr.c: Likewise.
51806 * sunrpc/clnt_raw.c: Likewise.
51807 * sunrpc/clnt_simp.c: Likewise.
51808 * sunrpc/clnt_tcp.c: Likewise.
51809 * sunrpc/clnt_udp.c: Likewise.
51810 * sunrpc/clnt_unix.c: Likewise.
51811 * sunrpc/des_crypt.c: Likewise.
51812 * sunrpc/des_soft.c: Likewise.
51813 * sunrpc/get_myaddr.c: Likewise.
51814 * sunrpc/getrpcport.c: Likewise.
51815 * sunrpc/key_call.c: Likewise.
51816 * sunrpc/key_prot.c: Likewise.
51817 * sunrpc/openchild.c: Likewise.
51818 * sunrpc/pm_getmaps.c: Likewise.
51819 * sunrpc/pm_getport.c: Likewise.
51820 * sunrpc/pmap_clnt.c: Likewise.
51821 * sunrpc/pmap_prot.c: Likewise.
51822 * sunrpc/pmap_prot2.c: Likewise.
51823 * sunrpc/pmap_rmt.c: Likewise.
51824 * sunrpc/rpc/auth.h: Likewise.
51825 * sunrpc/rpc/auth_unix.h: Likewise.
51826 * sunrpc/rpc/clnt.h: Likewise.
51827 * sunrpc/rpc/des_crypt.h: Likewise.
51828 * sunrpc/rpc/key_prot.h: Likewise.
51829 * sunrpc/rpc/netdb.h: Likewise.
51830 * sunrpc/rpc/pmap_clnt.h: Likewise.
51831 * sunrpc/rpc/pmap_prot.h: Likewise.
51832 * sunrpc/rpc/pmap_rmt.h: Likewise.
51833 * sunrpc/rpc/rpc.h: Likewise.
51834 * sunrpc/rpc/rpc_des.h: Likewise.
51835 * sunrpc/rpc/rpc_msg.h: Likewise.
51836 * sunrpc/rpc/svc.h: Likewise.
51837 * sunrpc/rpc/svc_auth.h: Likewise.
51838 * sunrpc/rpc/types.h: Likewise.
51839 * sunrpc/rpc/xdr.h: Likewise.
51840 * sunrpc/rpc_clntout.c: Likewise.
51841 * sunrpc/rpc_cmsg.c: Likewise.
51842 * sunrpc/rpc_common.c: Likewise.
51843 * sunrpc/rpc_cout.c: Likewise.
51844 * sunrpc/rpc_dtable.c: Likewise.
51845 * sunrpc/rpc_hout.c: Likewise.
51846 * sunrpc/rpc_main.c: Likewise.
51847 * sunrpc/rpc_parse.c: Likewise.
51848 * sunrpc/rpc_parse.h: Likewise.
51849 * sunrpc/rpc_prot.c: Likewise.
51850 * sunrpc/rpc_sample.c: Likewise.
51851 * sunrpc/rpc_scan.c: Likewise.
51852 * sunrpc/rpc_scan.h: Likewise.
51853 * sunrpc/rpc_svcout.c: Likewise.
51854 * sunrpc/rpc_tblout.c: Likewise.
51855 * sunrpc/rpc_util.c: Likewise.
51856 * sunrpc/rpc_util.h: Likewise.
51857 * sunrpc/rpcinfo.c: Likewise.
51858 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51859 * sunrpc/rpcsvc/key_prot.x: Likewise.
51860 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51861 * sunrpc/rpcsvc/mount.x: Likewise.
51862 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51863 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51864 * sunrpc/rpcsvc/rex.x: Likewise.
51865 * sunrpc/rpcsvc/rstat.x: Likewise.
51866 * sunrpc/rpcsvc/rusers.x: Likewise.
51867 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51868 * sunrpc/rpcsvc/spray.x: Likewise.
51869 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51870 * sunrpc/rtime.c: Likewise.
51871 * sunrpc/svc.c: Likewise.
51872 * sunrpc/svc_auth.c: Likewise.
51873 * sunrpc/svc_authux.c: Likewise.
51874 * sunrpc/svc_raw.c: Likewise.
51875 * sunrpc/svc_run.c: Likewise.
51876 * sunrpc/svc_simple.c: Likewise.
51877 * sunrpc/svc_tcp.c: Likewise.
51878 * sunrpc/svc_udp.c: Likewise.
51879 * sunrpc/svc_unix.c: Likewise.
51880 * sunrpc/svcauth_des.c: Likewise.
51881 * sunrpc/xcrypt.c: Likewise.
51882 * sunrpc/xdr.c: Likewise.
51883 * sunrpc/xdr_array.c: Likewise.
51884 * sunrpc/xdr_float.c: Likewise.
51885 * sunrpc/xdr_mem.c: Likewise.
51886 * sunrpc/xdr_rec.c: Likewise.
51887 * sunrpc/xdr_ref.c: Likewise.
51888 * sunrpc/xdr_sizeof.c: Likewise.
51889 * sunrpc/xdr_stdio.c: Likewise.
51890
9da4bb31
UD
51891 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51892 handling.
51893
bdaa77bc
AS
518942010-08-19 Andreas Schwab <schwab@redhat.com>
51895
51896 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51897
fe2f79db
LM
518982010-08-19 Luis Machado <luisgpm@br.ibm.com>
51899
51900 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51901 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51902 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51903 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51904 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51905 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51906 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51907 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51908 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51909 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51910 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51911 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51912 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51913 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51914
b9b42ee0
AB
519152010-07-26 Anton Blanchard <anton@samba.org>
51916
51917 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51918 * malloc/arena.c (heap_trim): Likewise.
51919
1c06ba31
UD
519202010-08-16 Ulrich Drepper <drepper@redhat.com>
51921
51922 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51923 here. Not...
51924 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51925 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51926
f8392f40
L
519272010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51928
51929 * sysdeps/i386/elf/Makefile: New file.
51930
3162f12e
AS
519312010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51932
51933 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51934 from fanotify_init.
51935 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51936 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51937
28c90b2c
UD
519382010-08-15 Ulrich Drepper <drepper@redhat.com>
51939
51940 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51941 of strncasecmp_l.
1feccb6c 51942 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 51943
ca6bb004
UD
519442010-08-14 Ulrich Drepper <drepper@redhat.com>
51945
e9f82e0d
UD
51946 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51947 strncase_l-nonascii.
51948 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51949 Add strncase_l-ssse3.
51950 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51951 * sysdeps/x86_64/strcmp.S: Likewise.
51952 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51953 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51954 * sysdeps/x86_64/strncase.S: New file.
51955 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51956 * sysdeps/x86_64/strncase_l.S: New file.
51957 * string/Makefile (strop-tests): Add strncasecmp.
51958 * string/test-strncasecmp.c: New file.
51959
51960 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51961 warning.
51962
ca6bb004
UD
51963 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51964 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51965
052fa7b3
AS
519662010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51967
51968 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51969
962dba78
UD
519702010-08-12 Ulrich Drepper <drepper@redhat.com>
51971
51972 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51973 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51974 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51975
bebff237
AM
519762010-05-01 Alan Modra <amodra@gmail.com>
51977
51978 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51979 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51980 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51981 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51982 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51983 tidying. Don't tail-call __sigjmp_save for static lib.
51984 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51985 save location.
51986 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51987 (CALL_MCOUNT): Add eh info, and nop after bl.
51988 (TAIL_CALL_SYSCALL_ERROR): New macro.
51989 (PSEUDO_RET): Use it.
51990 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51991 Correct save location of integer regs and cr.
51992 (_dl_profile_resolve): Correct cr save location. Delete nops
51993 after bl when SHARED. Reduce cfi size a little by better
51994 placement of cfi directives.
51995 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51996 make a stack frame. Instead use parm save area as a temp.
51997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51998 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52000 Don't make a stack frame for parent, use parm save area.
52001 Increase child stack frame to 112 bytes. Don't save unused reg,
52002 and adjust reg usage. Set up cfi on error recovery and
52003 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52005 (__makecontext): Add dummy nop after jump to exit.
52006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52007 Use correct parm save area and cr save, reduce stack frame.
52008 Correct cfi for possible PSEUDO_RET frame setup.
52009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52010 Branch to local label emitted by PSEUDO_RET rather than
52011 __syscall_error.
52012
02637374
AS
520132010-08-12 Andreas Schwab <schwab@redhat.com>
52014
52015 [BZ #11904]
52016 * locale/programs/locale.c (print_assignment): New function.
52017 (show_locale_vars): Use it.
52018
c3e2f19b
UD
520192010-08-11 Ulrich Drepper <drepper@redhat.com>
52020
3cdaa6ad
UD
52021 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52022 field.
52023 (struct statfs64): Likewise.
52024 (_STATFS_F_FLAGS): Define.
52025 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52026 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52027 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52028 (ST_VALID): Define locally.
52029 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52030 __statvfs_getflags, use the provided value.
52031 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52032 __ASSUME_STATFS_F_FLAGS.
52033
754f7da3
UD
52034 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52035
10b3bedc
UD
52036 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52037 Add sys/fanotify.h.
52038 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52039 fanotify_mask for GLIBC_2.13.
52040 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52041 fanotify_init and fanotify_mark.
52042 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52043 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52044
c08fb0d7
UD
52045 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52046 Add prlimit.
52047 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52048 prlimit64 for GLIBC_2.13.
52049 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52050 prlimit64.
52051 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52052 syscall.
52053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52054 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52055 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52056 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52057 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52058 add prlimit alias.
52059 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52060
15bac72b
UD
52061 [BZ #11903]
52062 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52063 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52064
c3e2f19b
UD
52065 * nss/Makefile: Add rules to build and run tst-nss-test1.
52066 * shlib-versions: Add entry for libnss_test1.
52067 * nss/nss_test1.c: New file.
52068 * nss/tst-nss-test1.c: New file.
52069
52070 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52071 (__nss_configure_lookup): Set appropriate entry in
52072 __nss_configure_lookup to true.
52073 * nss/nsswitch.h: Define enum with indeces of databases in
52074 databases and __nss_database_custom arrays. Declare
52075 __nss_database_custom.
52076 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52077 to avoid using nscd when custom rules are installed.
52078 * nss/getXXbyYY_r.c: Likewise.
52079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52080
52081 * nss/nss_files/files-parse.c: Whitespace fixes.
52082
f15ce4d8
UD
520832010-08-09 Ulrich Drepper <drepper@redhat.com>
52084
52085 [BZ #11883]
52086 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52087 * posix/fnmatch_loop.c: Likewise.
52088
d22e4cc9
AK
520892010-07-17 Andi Kleen <ak@linux.intel.com>
52090
52091 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52092 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52093 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52094 * Versions.def [GLIBC_2.13]: Add.
52095
805bc17d
UD
520962010-08-06 Ulrich Drepper <drepper@redhat.com>
52097
52098 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52099 Also fail if tpwd after pwuid call is NULL.
52100
5a42321d
ST
521012010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52102
52103 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52104 when converting to ms.
52105
fd3ebeda
ST
521062010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52107
52108 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52109 EOPNOTSUPP errors with ENOTTY.
52110 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52111 EOPNOTSUPP errors with ENOTTY.
52112
73507d3a
UD
521132010-07-31 Ulrich Drepper <drepper@redhat.com>
52114
52115 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52116 Add strcasecmp_l-ssse3.
52117 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52118 strcasecmp.
52119 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52120 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52121 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52122
fe36dd02
UD
521232010-07-30 Ulrich Drepper <drepper@redhat.com>
52124
66f6765a
UD
52125 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52126
42e08a54
UD
52127 * string/Makefile (strop-tests): Add strcasecmp.
52128 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52129 strcasecmp_l-nonascii.
52130 (gen-as-const-headers): Add locale-defines.sym.
52131 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52132 * sysdeps/x86_64/strcasecmp.S: New file.
52133 * sysdeps/x86_64/strcasecmp_l.S: New file.
52134 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52135 * sysdeps/x86_64/locale-defines.sym: New file.
52136 * string/test-strcasecmp.c: New file.
52137
fe36dd02
UD
52138 * string/test-strcasestr.c: Test both ends of the range of characters.
52139 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52140
48cbc0d6
RM
521412010-07-29 Roland McGrath <roland@redhat.com>
52142
76e6d6bc 52143 [BZ #11856]
48cbc0d6
RM
52144 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52145
880113d9
UD
521462010-07-27 Ulrich Drepper <drepper@redhat.com>
52147
52148 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52149 for ld.so.
52150
deb9cabb
AS
521512010-07-27 Andreas Schwab <schwab@redhat.com>
52152
52153 * manual/memory.texi (Malloc Tunable Parameters): Document
52154 M_PERTURB.
52155
1c7570ff
RM
521562010-07-26 Roland McGrath <roland@redhat.com>
52157
52158 [BZ #11840]
52159 * configure.in (-fgnu89-inline check): Set and substitute
52160 gnu89_inline, not libc_cv_gnu89_inline.
52161 * configure: Regenerated.
52162 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52163
24fb0f88
UD
521642010-07-26 Ulrich Drepper <drepper@redhat.com>
52165
52166 * string/test-strnlen.c: New file.
52167 * string/Makefile (strop-tests): Add strnlen.
52168 * string/tester.c (test_strnlen): Add a few more test cases.
52169 * string/tst-strlen.c: Better error reporting.
52170
52171 * sysdeps/x86_64/strnlen.S: New file.
52172
8e96b93a
UD
521732010-07-24 Ulrich Drepper <drepper@redhat.com>
52174
52175 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52176 lower-latency instructions.
52177
dbc676d4
UD
521782010-07-23 Ulrich Drepper <drepper@redhat.com>
52179
52180 * string/test-strcasestr.c: New file.
52181 * string/test-strstr.c: New file.
52182 * string/Makefile (strop-tests): Add strstr and strcasestr.
52183 * string/str-two-way.h: Don't undefine MAX.
52184 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52185
f6a31e0e
AS
521862010-07-21 Andreas Schwab <schwab@redhat.com>
52187
52188 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52189 strcasestr-nonascii.
52190 (CFLAGS-strcasestr-nonascii.c): Define.
52191 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52192 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52193 Remove unused attribute.
52194
5dbc3b6c
RM
521952010-07-20 Roland McGrath <roland@redhat.com>
52196
52197 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52198 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52199 ld.so.cache was broken. With it, there is no way to disable dsocaps
52200 like LD_HWCAP_MASK can disable hwcaps.
52201
23d101d8
EPM
522022010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52203
52204 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52205
cc9f2e47
UD
522062010-07-16 Ulrich Drepper <drepper@redhat.com>
52207
52208 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52209 call in strcasestr.
52210 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52211 __strcasestr_sse42_nonascii.
52212 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52213 strcasestr-nonascii.c.
52214 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52215
77c1b069
LM
522162010-06-15 Luis Machado <luisgpm@br.ibm.com>
52217
52218 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52219 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52220 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52221 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52222
440566c3
UD
522232010-07-09 Ulrich Drepper <drepper@redhat.com>
52224
52225 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52226 fcntl.
52227
5be9d05d
AS
522282010-07-06 Andreas Schwab <schwab@redhat.com>
52229
c30b7ee2 52230 [BZ #11577]
5be9d05d
AS
52231 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52232 dl_signal_cerror.
52233
8a492a67
UD
522342010-07-06 Ulrich Drepper <drepper@redhat.com>
52235
52236 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52237 _PC_PIPE_BUF using F_GETPIPE_SZ.
52238
713df3d5
RM
522392010-07-05 Roland McGrath <roland@redhat.com>
52240
52241 * manual/arith.texi (Rounding Functions): Fix rint description
52242 implicit in round description.
52243
702e8f14
UD
522442010-07-02 Ulrich Drepper <drepper@redhat.com>
52245
52246 * elf/Makefile: Fix linking for a few tests to make recent linker
52247 happy.
52248
52ed8be9
AS
522492010-06-30 Andreas Schwab <schwab@redhat.com>
52250
52251 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52252 $(common-objpfx)libc_nonshared.a.
52253
f47c9a11
LM
522542010-06-21 Luis Machado <luisgpm@br.ibm.com>
52255
52256 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52257 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52258 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52259 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52260 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52261 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52262 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52263 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52278 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52279 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52280 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52281 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52282 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52283 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52284 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52285 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52286 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52287 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52288 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52289 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52304
6fb8cbcb
L
523052010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52306
52307 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52308 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52309 * string/memmove.c (memmove): Renamed to ...
52310 (MEMMOVE): ...this. Default to memmove.
52311 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52312 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52313 (END_CHK): Define.
52314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52315 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52316 mempcpy-ssse3-back memmove-ssse3-back.
52317 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52318 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52319 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52320 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52321 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52322 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52323 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52324 * sysdeps/x86_64/multiarch/memmove.c: New file.
52325 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52326 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52327 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52328 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52329 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52330 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52331 Define.
52332 (index_Fast_Copy_Backward): Define.
52333 (HAS_ARCH_FEATURE): Define.
52334 (HAS_FAST_REP_STRING): Define.
52335 (HAS_FAST_COPY_BACKWARD): Define.
52336
4e733bac 523372010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
52338
52339 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52340 Restore proper fallback handling.
52341
63c4ed22
UD
523422010-06-19 Ulrich Drepper <drepper@redhat.com>
52343
ac2b484c
UD
52344 [BZ #11701]
52345 * posix/group_member.c (__group_member): Correct checking loop.
52346
63c4ed22
UD
52347 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52348 OOM in getpwuid_r correctly. Return error number when the caller
52349 should return, otherwise -1.
52350 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52351 call returning > 0 value.
52352 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52353
765ade4b
AS
523542010-06-07 Andreas Schwab <schwab@redhat.com>
52355
52356 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52357 libc_nonshared.a from targets in modules-names.
52358
80da2e09
KS
523592010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52360
52361 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52362 requires it.
52363
158db122
LM
523642010-06-10 Luis Machado <luisgpm@br.ibm.com>
52365
52366 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52367 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52368 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52369 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52370
caa78cf8
AS
523712010-06-02 Andreas Schwab <schwab@redhat.com>
52372
52373 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52374
b2ef2c01
UD
523752010-06-14 Ulrich Drepper <drepper@redhat.com>
52376
52377 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52378 and F_GETPIPE_SZ.
52379 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52380 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52382 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52383 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52384 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52385
fbd643b6
RM
523862010-06-14 Roland McGrath <roland@redhat.com>
52387
52388 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52389
f32f2869
JJ
523902010-06-07 Jakub Jelinek <jakub@redhat.com>
52391
52392 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52393 __REDIRECT followed by __THROW.
52394 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52395 * posix/getopt.h (getopt): Likewise.
52396
2a50c078
EPM
523972010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52398
52399 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52400 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52401 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52402 in AT_FLAGS.
52403 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52404 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52405
eb5ad2eb
LM
524062010-05-28 Luis Machado <luisgpm@br.ibm.com>
52407
52408 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52409
3c88fe1e
L
524102010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52411
52412 [BZ #11640]
52413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52414 Properly check family and model.
52415
d2f73151
TY
524162010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52417
52418 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52419
ebd2e13d
LM
524202010-05-24 Luis Machado <luisgpm@br.ibm.com>
52421
52422 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52423
b32b8b45
UD
524242010-05-21 Ulrich Drepper <drepper@redhat.com>
52425
52426 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52427 symbol reference.
52428
9acbe24d
AS
524292010-05-19 Andreas Schwab <schwab@redhat.com>
52430
52431 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52432 symbol reference.
52433
f0ccf6ea
AS
524342010-05-21 Andreas Schwab <schwab@redhat.com>
52435
3d04ff3a
AS
52436 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52437 and internal_recvmmsg.
52438 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52439 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52440 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52441 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52442
f0ccf6ea
AS
52443 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52444 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52445 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52446
5b08ac57
AS
524472010-05-20 Andreas Schwab <schwab@redhat.com>
52448
52449 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52450
4828935d
LM
524512010-05-17 Luis Machado <luisgpm@br.ibm.com>
52452
52453 POWER7 optimizations.
52454 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52455 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52456
373d545e
UD
524572010-05-19 Ulrich Drepper <drepper@redhat.com>
52458
52459 * version.h: Update for 2.13 development version.
52460
21a2b1ae
AS
524612010-05-12 Andrew Stubbs <ams@codesourcery.com>
52462
52463 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52464 exceptions. Return 0.
52465
3f7dcb2b
RM
524662010-05-07 Roland McGrath <roland@redhat.com>
52467
52468 * elf/ldconfig.c (main): Add a const.
52469
5f24d53a 524702010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52471
a160f8d8
UD
52472 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52473 (args_options): Add no-idn option.
52474 (ahosts_keys_int): Add idn_flags to ai_flags.
52475 (parse_option): Handle 'i' option to clear idn_flags.
52476
5f24d53a
UD
52477 * malloc/malloc.c (_int_free): Possible race in the most recently
52478 added check. Only act on the data if no current modification
52479 happened.
265bb1ce
UD
52480
52481See ChangeLog.17 for earlier changes.