]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Require check-safety.sh to pass; wish for check that all fns are documented
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a2b581cb
AO
12014-11-21 Alexandre Oliva <aoliva@redhat.com>
2
3 * manual/Makefile ($(objpfx)stamp-summary): Require
4 check-safety.sh to pass.
5 * manual/check-safety.sh: Wish for verification that every
6 @deftypefn and @deftypefun is followed by a @safety remark.
7
f214ff74
RM
82014-11-20 Roland McGrath <roland@hack.frob.com>
9
7f0dfae0
RM
10 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11
2f531bbb
RM
12 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
13 PTHREAD_CANCEL_ASYNCHRONOUS.
14 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
15 send SIGCANCEL.
16
f214ff74
RM
17 * nptl/default-sched.h: New file.
18 * sysdeps/unix/sysv/linux/default-sched.h: New file.
19 * nptl/pthread_create.c: Include it.
20 (__pthread_create_2_1): Use collect_default_sched instead of making
21 Linux syscalls here directly.
22
e37c91d4
TR
232014-11-20 Torvald Riegel <triegel@redhat.com>
24
25 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
26 __pthread_once): Use C11 atomics.
27
1eccfecd
TR
282014-11-20 Torvald Riegel <triegel@redhat.com>
29
30 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
31
ff871426
TR
322014-11-20 Torvald Riegel <triegel@redhat.com>
33
34 * include/atomic.h (__atomic_link_error, __atomic_check_size,
35 atomic_thread_fence_acquire, atomic_thread_fence_release,
36 atomic_thread_fence_seq_cst, atomic_load_relaxed,
37 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
38 atomic_compare_exchange_weak_relaxed,
39 atomic_compare_exchange_weak_acquire,
40 atomic_compare_exchange_weak_release,
41 atomic_exchange_acquire, atomic_exchange_release,
42 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
43 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
44 atomic_fetch_and_acquire,
45 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
46
1ea339b6
TR
472014-11-20 Torvald Riegel <triegel@redhat.com>
48
49 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
50 USE_ATOMIC_COMPILER_BUILTINS): Define.
51 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
52 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
53 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
54 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
55 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
56 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
57 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
58 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
59 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
60 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
61 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
62 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
63 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
64 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
65 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
66 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
67 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
68 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
69 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
70 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
71 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
72 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
73 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
74 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
75 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
76 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
77 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
78 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
79 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
80 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
81 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
82 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
83 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
84 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
85 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
86 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
87 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
88 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
89 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
90 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
91
cbd463e2
RM
922014-11-19 Roland McGrath <roland@hack.frob.com>
93
d960211f
RM
94 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
95 the sched_priority value here. It was already checked when the user
96 called pthread_attr_setschedparam.
97
cbd463e2
RM
98 * nptl/tst-bad-schedattr.c: New file.
99 * nptl/Makefile (tests): Add it.
100
a39208bd
CD
1012014-11-19 Carlos O'Donell <carlos@redhat.com>
102 Florian Weimer <fweimer@redhat.com>
103 Joseph Myers <joseph@codesourcery.com>
104 Adam Conrad <adconrad@0c3.net>
105 Andreas Schwab <schwab@suse.de>
106 Brooks <bmoses@google.com>
107
108 [BZ #17625]
109 * wordexp-test.c (__dso_handle): Add prototype.
110 (__register_atfork): Likewise.
111 (__app_register_atfork): New function.
112 (registered_forks): New global.
113 (register_fork): New function.
114 (test_case): Add 3 new tests for WRDE_CMDSUB.
115 (main): Call __app_register_atfork.
116 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
117 fork count is non-zero fail the test.
118 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
119 is set.
120 (parse_dollars): Remove check for WRDE_NOCMD.
121 (parse_dquote): Likewise.
122
9cd47470
SP
1232014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
124
130ac68c
SP
125 * Makeconfig (built-modules): List non-library modules to be
126 built.
127 (module-cppflags): Include libc-modules.h for
128 everything except shlib-versions.v.i.
129 (CPPFLAGS): Use it.
130 (before-compile): Add libc-modules.h.
131 ($(common-objpfx)libc-modules.h,
132 $(common-objpfx)libc-modules.stmp): New targets.
133 (common-generated): Add libc-modules.h and libc-modules.stmp.
134 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
135 * include/libc-symbols.h: Don't include libc-modules.h.
136 * include/libc-modules.h: Remove file.
137 * scripts/gen-libc-modules.awk: New script to generate
138 libc-modules.h.
139 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
140 Depend on libc-modules.stmp.
141
286663c3
SP
142 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
143
9cd47470
SP
144 * Makeconfig (in-module): Get value of libof set for the
145 translation unit.
146 (CPPFLAGS): Use $(in-module).
147 * Makerules: Don't suffix routine names for nonlib.
148 * include/libc-modules.h: New file.
149 * include/libc-symbols.h: Include libc-modules.h
150 (IS_IN): New macro to replace IS_IN_* macros.
151 * elf/Makefile: Set libof-* for each routine.
152 * elf/rtld-Rules: Likewise.
153 * extra-modules.mk: Likewise.
154 * iconv/Makefile: Likewise.
155 * iconvdata/Makefile: Likewise.
156 * locale/Makefile: Likewise.
157 * malloc/Makefile: Likewise.
158 * nss/Makefile: Likewise.
159 * sysdeps/gnu/Makefile: Likewise.
160 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
161 * sysdeps/unix/sysv/linux/Makefile: Likewise.
162 * sysdeps/s390/s390-64/Makefile: Likewise.
163 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
164 CPPFLAGS for nscd instead of nonlib.
165
32fed10f
RM
1662014-11-18 Roland McGrath <roland@hack.frob.com>
167
d71035bd
RM
168 * nptl/createthread.c: New file.
169
6540b991
RM
170 * nptl/createthread.c: Moved ...
171 * sysdeps/unix/sysv/linux/createthread.c: ... here.
172
32fed10f
RM
173 * nptl/createthread.c: Add proper top-line comment.
174 (do_clone): Folded into ...
175 (create_thread): ... here. Take new arguments STOPPED_START and
176 THREAD_RAN. Always set PD->stopped_start to something here. Don't
177 increment __nptl_threads, do event-reporting logic, do
178 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
179 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
180 resource cleanup if sched_setaffinity or sched_setscheduler fails,
181 just send SIGCANCEL.
182 * nptl/pthread_create.c: Forward-declare create_thread before
183 including createthread.c.
184 (start_thread): Use new macro START_THREAD_DEFN to replace defining
185 declaration, and new macro START_THREAD_SELF to replace argument.
186 Remove return statement.
187 (report_thread_creation): New function.
188 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
189 synchronization logic, and __nptl_nthreads increment here, around
190 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
191 PD->parent_cancelhandling here, before create_thread. When
192 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
193 __deallocate_stack, and ENOMEM translation here.
194
107a5bf0
JM
1952014-11-18 Joseph Myers <joseph@codesourcery.com>
196
197 [BZ #17616]
198 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
199 (mptwo): Rename to __mptwo.
200 (__inv): Use __mptwo instead of mptwo.
201 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
202 (mptwo): Rename to __mptwo.
203 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
204 of mpone and __mptwo instead of mptwo.
205 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
206 instead of mpone.
207 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
208 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
209 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
210 of mpone and __mptwo instead of mptwo.
211 (__mpranred): Use __mpone instead of mpone.
212 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
213 variable.
214 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
215 (test-xfail-ISO99/math.h/linknamespace): Likewise.
216 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
217 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
218 (test-xfail-ISO11/math.h/linknamespace): Likewise.
219 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
220 (test-xfail-XPG3/math.h/linknamespace): Likewise.
221 (test-xfail-XPG4/math.h/linknamespace): Likewise.
222 (test-xfail-POSIX/math.h/linknamespace): Likewise.
223 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
224 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
225 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
226 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
227 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
228 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
229 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
230 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
231 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
232 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
233
3b679ab3
TV
2342014-11-18 Tom de Vries <tom@codesoucery.com>
235
236 * manual/signal.texi (Primitives Interrupted by Signals): In section,
237 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
238
2392014-11-17 Richard Henderson <rth@redhat.com>
240
241 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
242 (_FP_PACK_RAW_2): Remove.
243 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
244 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
245 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
246 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
247 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
248 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
249 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
250 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
251 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
252 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
253 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
254 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
255 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
256 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
257 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
258 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
259
0781a777
RM
2602014-11-14 Roland McGrath <roland@hack.frob.com>
261
262 * signal/signal.h [__USE_MISC]
263 (struct sigvec): Remove type.
264 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
265 (sigvec): Remove declaration.
266 * sysdeps/posix/sigvec.c: Moved ...
267 * signal/sigvec.c: ... here, replacing old file.
268 (struct sigvec): New type, copied from old signal.h definition.
269 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
270 (__sigvec): Convert definition to prototype.
271 (sigvec): Replace weak_alias with compat_symbol.
272 * signal/Versions (libc: GLIBC_2.21): New version set.
273 * include/signal.h: Remove __sigvec declaration.
274 * sysdeps/unix/bsd/sigvec.c: Remove file.
275 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
276 * manual/signal.texi (BSD Handler): Remove subsection.
277 Move siginterrupt up to ...
278 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
279 (Blocking in BSD): Fold subsection into its parent.
280 * NEWS: Mention sigvec removal.
281
a4733812
JM
2822014-11-14 Joseph Myers <joseph@codesourcery.com>
283
5ae4fe60
JM
284 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
285 (DLA_FMS): Make definition conditional only on [__FMA4__].
286 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
287 definition.
288
6a0dd472
JM
289 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
290 Make definition conditional only on [PROF].
291 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
292 definition.
293 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
294 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
295
a4733812
JM
296 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
297 !__GNUC__].
298 * include/signal.h (__sigpause): Move declaration above call to
299 libc_hidden_proto.
300 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
301 variable.
302 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
303 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
304
cf7246dd
DM
3052014-11-14 David S. Miller <davem@davemloft.net>
306
307 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
308 Define before including <string/memcpy.c> and <string/mempcpy.c>.
309
c1b0aadc
JM
3102014-11-14 Joseph Myers <joseph@codesourcery.com>
311
4863355a
JM
312 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
313 * configure: Regenerated.
314 * manual/install.texi (Tools for Compilation): Document a
315 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
316 compiler verified to work.
317 * INSTALL: Regenerated.
318
c1b0aadc
JM
319 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
320 redeclare with asm name.
321 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
322 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
323 including <string.h>.
324 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
325 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
326 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
327 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
328 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
329 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
330 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
331
2a1cfd94
JM
3322014-11-13 Joseph Myers <joseph@codesourcery.com>
333
bf438382
JM
334 * stdlib/strtol.c (__strtol): Use prototype definition.
335
2a1cfd94
JM
336 [BZ #17594]
337 * stdlib/strtol.c (SYM__): New macro.
338 (SYM__1): Likewise.
339 (__strtol): Likewise.
340 (strtol): Rename to __strtol and define as weak alias of
341 __strtol. Use libc_hidden_weak.
342
20ed0d26
SL
3432014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
344
345 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
346 Use numbered labels in inline assembly.
347
53244a4e
SL
3482014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
349
350 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
351 Add setjmp LIBC_PROBE.
352 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
353 Likewise.
354 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
355 Add longjmp, longjmp_target LIBC_PROBE.
356 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
357 Likewise.
358
47df8251
SL
3592014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
360
361 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
362 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
363 to get rid of unused variable warning.
364
618cebef
SL
3652014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
366
367 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
368 Check for unwind_backtrace == NULL only in SHARED case.
369 (__backchain_backtrace): Compile only in SHARED case.
370 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
371 Likewise.
372 (__backchain_backtrace): Declare as static.
373
c6aab2cb
RM
3742014-11-12 Roland McGrath <roland@hack.frob.com>
375
376 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
377 (__libc_multiple_threads_ptr): Variable moved ...
378 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
379
5a6fa4d7
JM
3802014-11-12 Joseph Myers <joseph@codesourcery.com>
381
24f4f825
JM
382 * conform/GlibcConform.pm: New file.
383 * conform/conformtest.pl: Use GlibcConform module.
384 * conform/linknamespace.pl: New file.
385 * conform/list-header-symbols.pl: Likewise.
386 * conform/Makefile (linknamespace-symlists-base): New variable.
387 (linknamespace-symlists-tests): Likewise.
388 (linknamespace-header-base): Likewise.
389 (linknamespace-header-tests): Likewise.
390 (tests-special): Add new tests.
391 ($(linknamespace-symlists-tests)): New rule.
392 (linknamespace-libs): New variable.
393 ($(objpfx)symlist-stdlibs): New rule.
394 ($(linknamespace-header-tests)): Likewise.
395 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
396 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
397 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
398 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
399 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
400 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
401 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
402 (test-xfail-ISO/math.h/linknamespace): Likewise.
403 (test-xfail-ISO/signal.h/linknamespace): Likewise.
404 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
405 (test-xfail-ISO/time.h/linknamespace): Likewise.
406 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
407 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
408 (test-xfail-ISO99/math.h/linknamespace): Likewise.
409 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
410 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
411 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
412 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
413 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
414 (test-xfail-ISO11/math.h/linknamespace): Likewise.
415 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
416 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
417 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
418 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
419 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
420 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
421 (test-xfail-XPG3/math.h/linknamespace): Likewise.
422 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
423 (test-xfail-XPG3/search.h/linknamespace): Likewise.
424 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
425 (test-xfail-XPG3/time.h/linknamespace): Likewise.
426 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
427 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
428 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
429 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
430 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
431 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
432 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
433 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
434 (test-xfail-XPG4/math.h/linknamespace): Likewise.
435 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
436 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
437 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
438 (test-xfail-XPG4/search.h/linknamespace): Likewise.
439 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
440 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
441 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
442 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
443 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
444 (test-xfail-XPG4/time.h/linknamespace): Likewise.
445 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
446 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
447 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
448 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
449 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
450 (test-xfail-POSIX/math.h/linknamespace): Likewise.
451 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
452 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
453 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
454 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
455 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
456 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
457 (test-xfail-POSIX/time.h/linknamespace): Likewise.
458 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
459 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
460 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
461 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
462 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
463 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
464 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
465 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
466 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
467 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
468 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
469 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
470 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
471 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
472 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
473 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
474 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
475 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
476 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
477 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
478 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
479 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
480 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
481 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
482 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
483 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
484 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
485 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
486 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
487 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
488 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
489 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
490 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
491 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
492 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
493 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
494 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
495 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
496 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
497 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
498 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
499 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
500 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
501 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
502 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
503 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
504 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
505 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
506 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
507 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
508 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
509 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
510 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
511 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
512 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
513 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
514 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
515 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
516 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
517 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
518 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
519 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
520 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
521 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
522 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
523 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
524 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
525 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
526 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
527 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
528 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
529 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
530 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
531 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
532 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
533 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
534 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
535 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
536 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
537 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
538 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
539 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
540 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
541 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
542 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
543 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
544 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
545 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
546 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
547 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
548 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
549 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
550 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
551 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
552 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
553 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
554 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
555 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
556
cc67478e
JM
557 [BZ #17589]
558 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
559 of fgets_unlocked.
560
9975e3d3
JM
561 [BZ #17585]
562 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
563 (memmem): Rename to __memmem and define as weak alias of
564 __memmem. Use libc_hidden_weak.
565 (__memmem): Use libc_hidden_def.
566 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
567 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
568 memmem.
569
c4eae752
JM
570 [BZ #17582]
571 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
572 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
573 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
574 and define as weak alias of __fgets_unlocked. Use
575 libc_hidden_weak.
576 (__fgets_unlocked): Use libc_hidden_def.
577 * include/stdio.h (__fgets_unlocked): Declare. Use
578 libc_hidden_proto.
579 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
580 __fgets_unlocked instead of fgets_unlocked.
581 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
582 (GET_NPROCS_CONF_PARSER): Likewise.
583 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
584 (GET_NPROCS_CONF_PARSER): Likewise.
585
01cad84e
JM
586 [BZ #17574]
587 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
588 weak alias of __wmemset. Use libc_hidden_weak.
589 (__wmemset): Use libc_hidden_def.
590 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
591 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
592 of wmemset.
593
939da411
JM
594 [BZ #17573]
595 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
596 with asm name __mempcpy.
597 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
598
293d9a41
JM
599 [BZ #17572]
600 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
601 and define as weak alias of __rawmemchr.
602 (__rawmemchr): Do not define as strong alias of rawmemchr.
603
bef8fd60
JM
604 [BZ #17571]
605 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
606 alias of __qsort_r.
607 (qsort): Call __qsort_r instead of qsort_r.
608 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
609 (__qsort_r): Declare. Call libc_hidden_proto.
610 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
611 instead of qsort_r.
612 * nscd/gai.c (__qsort_r): Define to qsort_r.
613 * posix/tst-rfc3484.c (__qsort_r): Likewise.
614 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
615 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
616
c52ff39e
JM
617 [BZ #17570]
618 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
619 define as weak alias of __malloc_info.
620
2f5c1b00
JM
621 [BZ #17584]
622 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
623 as weak alias of __rewinddir. Don't use libc_hidden_def.
624 (__rewinddir): Use libc_hidden_def.
625 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
626 as weak alias of __rewinddir. Don't use libc_hidden_def.
627 (__rewinddir): Use libc_hidden_def.
628 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
629 weak alias of __rewinddir. Don't use libc_hidden_def.
630 (__rewinddir): Use libc_hidden_def.
631 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
632 (__rewinddir): Use libc_hidden_proto.
633 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
634 rewinddir.
635 (__getcwd): Use __rewinddir instead of rewinddir.
636
5a6fa4d7
JM
637 [BZ #17583]
638 * libio/fileno.c (fileno): Rename to __fileno and define as weak
639 alias of __fileno. Use libc_hidden_weak.
640 (__fileno): Use libc_hidden_def.
641 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
642 * libio/ftello.c (ftello): Rename to __ftello and define as weak
643 alias of __ftello.
644 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
645 __ftello.
646 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
647 (__fread_unlocked): Define as strong alias of _IO_fread. Use
648 libc_hidden_def.
649 (fread_unlocked): Don't use libc_hidden_ver.
650 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
651 and define as weak alias of __fread_unlocked. Don't use
652 libc_hidden_def.
653 (__fread_unlocked): Use libc_hidden_def.
654 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
655 (ftello): Don't use libc_hidden_proto.
656 (__ftello): Declare. Use libc_hidden_proto.
657 (fread_unlocked): Don't use libc_hidden_proto.
658 (__fread_unlocked): Declare. Use libc_hidden_proto.
659 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
660 and __ftello instead of fileno, fread_unlocked and ftello.
661
2581b98e
SP
6622012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
663
664 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
665 GOT12.
666 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
667 Likewise.
668 (_dl_start_user): Likewise.
669 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
670
533bb7c2
SP
6712014-11-12 Carlos O'Donell <carlos@redhat.com>
672 Siddhesh Poyarekar <siddhesh@redhat.com>
673
674 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
675 Move argv and envp down instead of moving argc up.
676 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
677
fffa1cf8
LH
6782014-11-12 Leonhard Holz <leonhard.holz@web.de>
679
680 [BZ #17506]
681 * test-skeleton.c (main): Return successful if one of
682 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
683 * string/tst-strcoll-overflow.c: Define expected status.
684
fb89b46d
TU
6852014-11-12 Tatiana Udalova <t.udalova@samsung.com>
686
687 [BZ #17475]
688 * locale/iso-639.def: Define Bhili and Tulu language codes.
689
5c40c3ba
AH
6902014-11-11 Alan Hayward <alan.hayward@arm.com>
691
692 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
693
b17fe01b 6942014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
695
696 [BZ #17555]
697 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
698
bd805071
AS
6992014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
700
701 * configure.ac: Updated check of minimal required version to
702 2.22.
703 * manual/install.texi (Tools for Compilation): Updated version
704 number.
705 * configure: Regenerated.
706 * INSTALL: Likewise.
707
1400983e
AS
7082014-11-07 Andreas Schwab <schwab@linux-m68k.org>
709
710 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
711 __tls_get_addr.
712
2c46a66a
JM
7132014-11-07 Joseph Myers <joseph@codesourcery.com>
714
715 * include/sys/wait.h (__libc_waitpid): Remove declaration.
716 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
717 (__waitpid): Don't define as alias. Use libc_hidden_def not
718 libc_hidden_weak.
719 (waitpid): Define as alias of __waitpid.
720 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
721 __waitpid.
722 (__waitpid): Don't define as alias. Use libc_hidden_def not
723 libc_hidden_weak.
724 (waitpid): Define as alias of __waitpid.
725 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
726 __libc_waitpid alias.
727 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
728 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
729 Likewise.
730 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
731 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
732 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
733 alias.
734 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
735 __waitpid.
736 (__waitpid): Don't define as alias. Use libc_hidden_def not
737 libc_hidden_weak.
738 (waitpid): Define as alias of __waitpid.
739
da53d6db
CD
7402014-11-06 Carlos O'Donell <carlos@redhat.com>
741
a2887bdb
CD
742 * manual/llio.texi: Add comment that write safety has been
743 fixed in Linux.
744
da53d6db
CD
745 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
746 (localplt-build-dso): Add elf/ld.so.
747 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
748 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
749 and free for ld.so.
750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
751 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
753 Likewise.
754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
755 Likewise.
756 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
757 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
758 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
759 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
760 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
761 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
762 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
763 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
764 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
765 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
766 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
767
9cf27b8d
JM
7682014-11-05 Joseph Myers <joseph@codesourcery.com>
769
770 [BZ #14132]
771 * include/libc-symbols.h (INTUSE): Remove macro.
772 (INTDEF): Likewise.
773 (INTVARDEF): Likewise.
774 (_INTVARDEF): Likewise.
775 (INTDEF2): Likewise.
776 (INTVARDEF2): Likewise.
777 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
778 rtld_hidden_def instead of INTVARDEF.
779 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
780 (_dl_starting_up_internal): Remove declaration.
781 (_dl_starting_up): Use rtld_hidden_proto.
782 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
783 declaration.
784 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
785 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
786 _dl_starting_up.
787 * elf/dl-writev.h (_dl_writev): Likewise.
788 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
789 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
790 _dl_starting_up_internal.
791
af83568d
AZ
7922014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
793
794 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
795 test-skeleton.c.
796
b01ee67c
WN
7972014-11-05 Will Newton <will.newton@linaro.org>
798
799 * benchtests/Makefile: (bench-malloc): Add malloc thread
800 scalability benchmark.
801 * benchtests/bench-malloc-threads.c: New file.
802
be9d4ccc
RE
8032014-11-05 Richard Earnshaw <rearnsha@arm.com>
804
805 * sysdeps/aarch64/strchrnul.S: New file.
806
7110166d
AZ
8072014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
808
809 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
810 definition.
811 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
812 Likwise.
813 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
814 Likewise.
815 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
816 Likewise.
817 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
818 Likewise.
819 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
820 Likewise.
821
8222014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
823
824 * catgets/test-gencat.c: Use test-skeleton.c.
825 * catgets/tst-catgets.c: Likewise.
826 * csu/tst-empty.c: Likewise.
827 * elf/tst-audit2.c: Likewise.
828 * elf/tst-global1.c: Likewise.
829 * elf/tst-pathopt.c: Likewise.
830 * elf/tst-piemod1.c: Likewise.
831 * elf/tst-tls10.c: Likewise.
832 * elf/tst-tls11.c: Likewise.
833 * elf/tst-tls12.c: Likewise.
834 * gnulib/tst-gcc.c: Likewise.
835 * iconvdata/tst-e2big.c: Likewise.
836 * iconvdata/tst-loading.c: Likewise.
837 * iconv/tst-iconv1.c: Likewise.
838 * iconv/tst-iconv2.c: Likewise.
839 * inet/test-inet6_opt.c: Likewise.
840 * inet/tst-gethnm.c: Likewise.
841 * inet/tst-network.c: Likewise.
842 * inet/tst-ntoa.c: Likewise.
843 * intl/tst-codeset.c: Likewise.
844 * intl/tst-gettext2.c: Likewise.
845 * intl/tst-gettext3.c: Likewise.
846 * intl/tst-ngettext.c: Likewise.
847 * intl/tst-translit.c: Likewise.
848 * io/test-stat.c: Likewise.
849 * libio/test-fmemopen.c: Likewise.
850 * libio/tst-freopen.c: Likewise.
851 * libio/tst-sscanf.c: Likewise.
852 * libio/tst-ungetwc1.c: Likewise.
853 * libio/tst-ungetwc2.c: Likewise.
854 * libio/tst-widetext.c: Likewise.
855 * localedata/tst-ctype.c: Likewise.
856 * localedata/tst-digits.c: Likewise.
857 * localedata/tst-leaks.c: Likewise.
858 * localedata/tst-mbswcs1.c: Likewise.
859 * localedata/tst-mbswcs2.c: Likewise.
860 * localedata/tst-mbswcs3.c: Likewise.
861 * localedata/tst-mbswcs4.c: Likewise.
862 * localedata/tst-mbswcs5.c: Likewise.
863 * localedata/tst-setlocale.c: Likewise.
864 * localedata/tst-trans.c: Likewise.
865 * localedata/tst-wctype.c: Likewise.
866 * localedata/tst-xlocale1.c: Likewise.
867 * login/tst-grantpt.c: Likewise.
868 * malloc/tst-calloc.c: Likewise.
869 * malloc/tst-malloc.c: Likewise.
870 * malloc/tst-mallocstate.c: Likewise.
871 * malloc/tst-mcheck.c: Likewise.
872 * malloc/tst-mtrace.c: Likewise.
873 * malloc/tst-obstack.c: Likewise.
874 * math/atest-exp2.c: Likewise.
875 * math/atest-exp.c: Likewise.
876 * math/atest-sincos.c: Likewise.
877 * math/test-matherr.c: Likewise.
878 * math/test-misc.c: Likewise.
879 * math/test-powl.c: Likewise.
880 * math/tst-definitions.c: Likewise.
881 * misc/tst-dirname.c: Likewise.
882 * misc/tst-efgcvt.c: Likewise.
883 * misc/tst-fdset.c: Likewise.
884 * misc/tst-hsearch.c: Likewise.
885 * misc/tst-mntent2.c: Likewise.
886 * nptl/tst-sem7.c: Likewise.
887 * nptl/tst-sem8.c: Likewise.
888 * nptl/tst-sem9.c: Likewise.
889 * nss/test-netdb.c: Likewise.
890 * posix/tst-fnmatch.c: Likewise.
891 * posix/tst-getlogin.c: Likewise.
892 * posix/tst-gnuglob.c: Likewise.
893 * posix/tst-mmap.c: Likewise.
894 * pwd/tst-getpw.c: Likewise.
895 * resolv/tst-inet_ntop.c: Likewise.
896 * rt/tst-timer.c: Likewise.
897 * stdio-common/test-fseek.c: Likewise.
898 * stdio-common/test-popen.c: Likewise.
899 * stdio-common/test-vfprintf.c: Likewise.
900 * stdio-common/tst-cookie.c: Likewise.
901 * stdio-common/tst-fileno.c: Likewise.
902 * stdio-common/tst-gets.c: Likewise.
903 * stdio-common/tst-obprintf.c: Likewise.
904 * stdio-common/tst-perror.c: Likewise.
905 * stdio-common/tst-sprintf2.c: Likewise.
906 * stdio-common/tst-sprintf3.c: Likewise.
907 * stdio-common/tst-sprintf.c: Likewise.
908 * stdio-common/tst-swprintf.c: Likewise.
909 * stdio-common/tst-tmpnam.c: Likewise.
910 * stdio-common/tst-unbputc.c: Likewise.
911 * stdio-common/tst-wc-printf.c: Likewise.
912 * stdlib/tst-environ.c: Likewise.
913 * stdlib/tst-fmtmsg.c: Likewise.
914 * stdlib/tst-limits.c: Likewise.
915 * stdlib/tst-rand48-2.c: Likewise.
916 * stdlib/tst-rand48.c: Likewise.
917 * stdlib/tst-random2.c: Likewise.
918 * stdlib/tst-random.c: Likewise.
919 * stdlib/tst-strtol.c: Likewise.
920 * stdlib/tst-strtoll.c: Likewise.
921 * stdlib/tst-tls-atexit.c: Likewise.
922 * stdlib/tst-xpg-basename.c: Likewise.
923 * string/test-ffs.c: Likewise.
924 * string/tst-bswap.c: Likewise.
925 * string/tst-inlcall.c: Likewise.
926 * string/tst-strtok.c: Likewise.
927 * string/tst-strxfrm.c: Likewise.
928 * sysdeps/x86_64/tst-audit10.c: Likewise.
929 * sysdeps/x86_64/tst-audit3.c: Likewise.
930 * sysdeps/x86_64/tst-audit4.c: Likewise.
931 * sysdeps/x86_64/tst-audit5.c: Likewise.
932 * time/tst-ftime_l.c: Likewise.
933 * time/tst-getdate.c: Likewise.
934 * time/tst-mktime3.c: Likewise.
935 * time/tst-mktime.c: Likewise.
936 * time/tst-posixtz.c: Likewise.
937 * time/tst-strptime2.c: Likewise.
938 * time/tst-strptime3.c: Likewise.
939 * wcsmbs/tst-btowc.c: Likewise.
940 * wcsmbs/tst-mbrtowc.c: Likewise.
941 * wcsmbs/tst-mbsrtowcs.c: Likewise.
942 * wcsmbs/tst-wchar-h.c: Likewise.
943 * wcsmbs/tst-wcpncpy.c: Likewise.
944 * wcsmbs/tst-wcrtomb.c: Likewise.
945 * wcsmbs/tst-wcsnlen.c: Likewise.
946 * wcsmbs/tst-wcstof.c: Likewise.
947
2004e7fb
JM
9482014-11-04 Joseph Myers <joseph@codesourcery.com>
949
ab97ee8f
JM
950 [BZ #14132]
951 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
952 INTDEF.
953 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
954 declaration.
955 (_dl_mcount): Use rtld_hidden_proto.
956 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
957 _dl_mcount.
958 * elf/rtld.c (_rtld_global_ro): Likewise.
959
c5684fdb
JM
960 [BZ #14132]
961 * elf/dl-init.c (_dl_init): Don't use INTDEF.
962 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
963 of _dl_init_internal.
964 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
965 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
966 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
967 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
968 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
969 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
970 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
971 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
972 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
973 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
974 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
975 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
976 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
977 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
978 * sysdeps/tile/dl-start.S (_start): Likewise.
979 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
980 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
981
4243cbea
JM
982 [BZ #14132]
983 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
984 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
985 (rtld_progname): Make macro definition unconditional.
986 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
987 INTDEF.
988 (dlmopen_doit): Do not use INTUSE with _dl_argv.
989 (dl_main): Likewise.
990 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
991 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
992 instead of _dl_argv_internal.
993 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
994 __GI__dl_argv instead of INTUSE(_dl_argv).
995 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
996 __GI__dl_argv instead of _dl_argv_internal.
997
2004e7fb
JM
998 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
999 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1000 macro.
1001 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1002 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1003 New macro.
1004 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1005 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1006 macro.
1007 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1008 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1009
97827bfc
AS
10102014-11-04 Andreas Schwab <schwab@suse.de>
1011
1012 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1013
5e4df284
AZ
10142014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1015
1016 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1017 mtvsrd instruction in binary form.
1018
04b76b5a
AS
10192014-11-03 Andreas Schwab <schwab@suse.de>
1020
1021 [BZ #17522]
1022 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1023 for less than MB_LEN_MAX use a local buffer of that size.
1024 * libio/tst-fputws.c: New file.
1025 * libio/Makefile (tests): Add tst-fputws.
1026
4c6da7da
JM
10272014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
1028
1029 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1030 the size of the fpu_fr.fpu_dregs[] array.
1031
1679ba8e
JM
10322014-11-01 Joseph Myers <joseph@codesourcery.com>
1033
1034 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1035 (__nanosleep): Do not define as alias.
1036 (nanosleep): Define as alias of __nanosleep.
1037 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1038 __libc_nanosleep name.
1039
2626c183
JM
10402014-10-31 Joseph Myers <joseph@codesourcery.com>
1041
1042 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1043 install.texi in comment.
1044
7f981fc2
TR
10452014-10-31 Torvald Riegel <triegel@redhat.com>
1046
1047 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1048 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1049 ... add here and use lwsync or sync ...
1050 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1051 ... and add here using lwsync.
1052
d6f373d2
MF
10532014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1054
1055 * elf/dl-machine-reject-phdr.h: New file.
1056 * elf/dl-load.c: #include that.
1057 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1058 if that returned true.
1059
67c37987
RM
10602014-10-31 Roland McGrath <roland@hack.frob.com>
1061
1062 [BZ #17496]
1063 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1064 gen-as-const-headers chunk. Add a big scare comment after the last
1065 safe place to touch before-compile.
1066
94a42455 10672014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 1068
f3f5d895
JM
1069 * manual/install.texi (Tools for Compilation): Update autoconf
1070 version requirements.
1071 * INSTALL: Regenerated.
1072
f62ff286
JM
1073 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1074 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1075 (__libc_pselect): Likewise.
94a42455
JM
1076
1077 [BZ #14138]
1078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1082
ff9dbdc0
TR
10832014-10-31 Torvald Riegel <triegel@redhat.com>
1084
1085 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1086 correct barrier instruction.
1087 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1088 Likewise.
1089 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1090 Likewise.
1091
b4f66884
RM
10922014-10-30 Roland McGrath <roland@hack.frob.com>
1093
1094 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1095 after defining inlines. Instead, just use parens to defeat macro
1096 expansion of __isctype in its declaration.
1097
e19c95fd
JM
10982014-10-30 Joseph Myers <joseph@codesourcery.com>
1099
1100 * include/sys/uio.h (__libc_readv): Remove declaration.
1101 (__libc_writev): Likewise.
1102 * misc/readv.c (__libc_readv): Rename to __readv.
1103 (__readv): Do not define as alias.
1104 (readv): Define as alias of __readv.
1105 * misc/writev.c (__libc_writev): Rename to __writev.
1106 (__writev): Do not define as alias.
1107 (writev): Define as alias of __writev.
1108 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1109 (__readv): Do not define as alias.
1110 (readv): Define unconditionally as alias of __readv.
1111 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1112 (__writev): Do not define as alias.
1113 (writev): Define unconditionally as alias of __writev.
1114 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1115 name.
1116 (writev): Do not define __libc_writev name.
1117
65b00b6c
RM
11182014-10-30 Roland McGrath <roland@hack.frob.com>
1119
1120 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1121 (convert_charseq): New function, broken out of ...
1122 (use_from_charmap): ... here. Call it.
1123 (use_to_charmap): Use convert_charseq and free instead of duplicating
1124 its code with a variable-length stack struct.
1125
d4e157aa
JM
11262014-10-30 Joseph Myers <joseph@codesourcery.com>
1127
1128 * include/fcntl.h (__libc_creat): Remove declaration.
1129 * io/creat.c (__libc_creat): Rename to creat.
1130 (creat): Do not define as alias.
1131 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1132 of creat instead of __libc_creat.
1133 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1134 to creat.
1135 (creat): Do not define as alias.
1136 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1137 __libc_creat.
1138 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1139 __libc_creat name.
1140 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1141 Likewise.
1142
0c6891a0
CD
11432014-10-29 Carlos O'Donell <carlos@redhat.com>
1144
1145 * manual/llio.texi: Add comments discussing why write() may be
1146 considered MT-unsafe on Linux.
1147
cc00cece
CD
11482014-10-28 Carlos O'Donell <carlos@redhat.com>
1149
1150 * dl-load.c (local_strdup): Remove.
1151 (expand_dynamic_string_token): Use __strdup.
1152 (decompose_rpath): Likewise.
1153 (_dl_map_object): Likewise.
1154
51e623f2
JM
11552014-10-28 Joseph Myers <joseph@codesourcery.com>
1156
1157 [BZ #14132]
1158 * sysdeps/generic/unwind-dw2-fde.c
1159 (__register_frame_info_bases_internal): Do not declare.
1160 (__register_frame_info_table_bases_internal): Likewise.
1161 (__deregister_frame_info_bases_internal): Likewise.
1162 (__register_frame_info_bases): Declare and use hidden_proto before
1163 definition. Use hidden_def instead of INTDEF.
1164 (__register_frame_info_table_bases): Likewise.
1165 (__deregister_frame_info_bases): Likewise.
1166 (__register_frame_info): Do not use INTUSE.
1167 (__register_frame): Likewise.
1168 (__register_frame_info_table): Likewise.
1169 (__register_frame_table): Likewise.
1170 (__deregister_frame_info): Likewise.
1171 (__deregister_frame): Likewise.
1172
03d41216
GC
11732014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1174
1175 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1176 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1177 not undefine.
1178 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1179 Likewise.
1180 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1181 Likewise.
1182
a4b3624d
JM
11832014-10-27 Joseph Myers <joseph@codesourcery.com>
1184
1185 [BZ #14138]
1186 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1187 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1188 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1189 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1190 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1191 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1192 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1193 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1194 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1195 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1196 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1197 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1198 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1199 syscall.
1200 (setfsuid): Likewise.
1201 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1202 (setfsuid): Likewise.
1203 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1204 (setfsuid): Likewise.
1205 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1206 Likewise.
1207 (setfsuid): Likewise.
1208 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1209 (setfsuid): Likewise.
1210 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1211 Likewise.
1212 (setfsuid): Likewise.
1213
3574f2fd
AS
12142014-10-27 Andreas Schwab <schwab@suse.de>
1215
1216 [BZ #17501]
1217 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1218 check for Slow_SSE4_2 feature bit.
1219 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1220 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1221 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1222 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1223
70996a37
RM
12242014-10-24 Roland McGrath <roland@hack.frob.com>
1225
461a7b1e
RM
1226 * configure.ac: Validate compiler version with a empirical test of
1227 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1228 $CC -v output.
1229 * configure: Regenerated.
1230
70996a37
RM
1231 * inet/htons.c (htons): Prototypify.
1232 * inet/htonl.c (htonl): Likewise.
1233
e80514b5
WD
12342014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1235
1236 * string/strncat.c (strncat): Improve performance by using strlen.
1237
6e46de42
WD
12382014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1239
1240 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1241
6a9ad2fa
WD
12422014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1243
1244 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1245 Call libc_fetestexcept_aarch64.
1246
1c8810ed
WD
12472014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1248
1249 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1250 Call libc_feholdexcept_aarch64.
1251
8b1af712
WD
12522014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1253
1254 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1255 Call get_rounding_mode.
1256
a7b00c11
WD
12572014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1258
1259 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1260 Simplify logic.
1261
3a84f1a6
WD
12622014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1263
1264 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1265 Simplify logic.
1266
48eb7a94
JM
12672014-10-24 Joseph Myers <joseph@codesourcery.com>
1268
c8bc4038
JM
1269 [BZ #14138]
1270 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1271 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1272 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1273 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1274 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1275 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1276 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1277 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1278 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1279 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1280 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1281 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1282 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1283 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1284 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1285 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1286 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1287 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1288 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1289 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1290 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1291 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1292 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1293 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1294 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1295 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1296 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1297 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1298 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1299 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1300 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1301 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1302 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1303 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1304 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1305 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1306 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1307 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1308 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1309 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1310 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1311 syscall.
1312 (geteuid): Likewise.
1313 (getgid): Likewise.
1314 (getuid): Likewise.
1315 (getresgid): Likewise.
1316 (getresuid): Likewise.
1317 (getgroups): Likewise.
1318 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1319 (geteuid): Likewise.
1320 (getgid): Likewise.
1321 (getuid): Likewise.
1322 (getresgid): Likewise.
1323 (getresuid): Likewise.
1324 (getgroups): Likewise.
1325 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1326 (geteuid): Likewise.
1327 (getgid): Likewise.
1328 (getuid): Likewise.
1329 (getresgid): Likewise.
1330 (getresuid): Likewise.
1331 (getgroups): Likewise.
1332 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1333 Likewise.
1334 (geteuid): Likewise.
1335 (getgid): Likewise.
1336 (getuid): Likewise.
1337 (getresgid): Likewise.
1338 (getresuid): Likewise.
1339 (getgroups): Likewise.
1340 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1341 (geteuid): Likewise.
1342 (getgid): Likewise.
1343 (getuid): Likewise.
1344 (getresgid): Likewise.
1345 (getresuid): Likewise.
1346 (getgroups): Likewise.
1347 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1348 Likewise.
1349 (geteuid): Likewise.
1350 (getgid): Likewise.
1351 (getuid): Likewise.
1352 (getgroups): Likewise.
1353
48eb7a94
JM
1354 [BZ #14138]
1355 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1356 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1357 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1358 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1359 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1360 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1361 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1362 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1363 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1364 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1365 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1366 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1367 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1368 __chown.
1369 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1370 (lchown): Likewise.
1371 (fchown): Likewise.
1372 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1373 Likewise.
1374 (lchown): Likewise.
1375 (fchown): Likewise.
1376 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1377 (lchown): Likewise.
1378 (fchown): Likewise.
1379 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1380 Likewise.
1381 (lchown): Likewise.
1382 (fchown): Likewise.
1383
ea9a7c8b
WD
13842014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1385
1386 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1387 Simplify logic.
1388
e226de33
WD
13892014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1390
1391 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1392 Cleanup logic.
1393
6e3d8ed3
WD
13942014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1395
1396 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1397 Remove unused include.
1398
eb04247d
WD
13992014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1400
1401 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1402 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1403 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1404 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1405
13d84554
CD
14062014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1407 Helge Deller <deller@gmx.de>
1408
1409 [BZ #17508]
1410 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1411 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1412 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1413
15f9c5df
JM
14142014-10-23 Joseph Myers <joseph@codesourcery.com>
1415
1416 [BZ #14132]
1417 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1418 Remove macro definition.
1419 (__ashrdi3_v_glibc20): Likewise.
1420 (__lshrdi3_v_glibc20): Likewise.
1421 (__cmpdi2_v_glibc20): Likewise.
1422 (__ucmpdi2_v_glibc20): Likewise.
1423 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1424 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1425 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1426 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1427 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1428 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1429
c6dfed24
RM
14302014-10-22 Roland McGrath <roland@hack.frob.com>
1431
1432 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1433 old GNU extension [0] syntax.
1434 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1435 alloca rather than an array member with variable length.
1436 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1437 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1438 (parse_opt): ... here. Likewise use alloca there.
1439 Validate the -i argument before checking for rootness.
1440 (send_shutdown): New function, broken out of ...
1441 (parse_opt): ... here.
1442
8c2b1ed8
RM
14432014-10-22 Roland McGrath <roland@hack.frob.com>
1444
1445 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1446 macro to get at the _rt_local_ro field.
1447 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1448 ([PIC] case) or _dl_hwcap ([!PIC] case).
1449 * sysdeps/arm/setjmp.S: Likewise.
1450
1451 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1452 * sysdeps/arm/configure.ac: New check to define it.
1453 * sysdeps/arm/configure: Regenerated.
1454 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1455 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1456 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1457 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1458 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1459 Use move/movt pair instead of a load.
1460 (LDST_GLOBAL): Macro removed.
1461 (LDR_GLOBAL): New macro replaces it.
1462 (LDR_HIDDEN): New macro.
1463 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1464 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1465
1466 * setjmp/tst-setjmp-static.c: New file.
1467 * setjmp/Makefile (tests): Add it.
1468 (tests-static): New variable.
1469
b5af9297
MR
14702014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1471
1472 [BZ #17485]
1473 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1474
a13d0d74
JM
14752014-10-21 Joseph Myers <joseph@codesourcery.com>
1476
1477 [BZ #14132]
1478 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1479
f05e73f6
RM
14802014-10-21 Roland McGrath <roland@hack.frob.com>
1481
1482 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1483
6ab1d1ea
RM
14842014-10-20 Roland McGrath <roland@hack.frob.com>
1485
1486 * io/fts.c (dirent_not_directory): New function.
1487 (fts_build): Call it.
1488
ab49e763
RM
14892014-10-20 Roland McGrath <roland@hack.frob.com>
1490
e436eb79
RM
1491 * nptl/version.c (__nptl_main): Use normal __write rather than
1492 INTERNAL_SYSCALL.
1493 (banner): Update copyright years.
1494
6af246cf
RM
1495 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1496 gettimeofday.
1497 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1498 * nptl/pthread_cond_timedwait.c: Likewise.
1499 * nptl/pthread_mutex_timedlock.c: Likewise.
1500 * nptl/sem_timedwait.c: Likewise.
1501
ab49e763
RM
1502 * sysdeps/nptl/bits/libc-lock.h
1503 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1504 (__libc_lock_init_recursive): Return void, not 0.
1505 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1506 (__libc_rwlock_init): Likewise.
1507 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1508
f50277c1
TR
15092014-10-20 Torvald Riegel <triegel@redhat.com>
1510
1511 [BZ #15215]
1512 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1513 (__pthread_once_slow): ... here.
1514 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1515 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1516
63668b70
TR
15172014-10-20 Torvald Riegel <triegel@redhat.com>
1518
1519 [BZ #15215]
1520 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1521 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1522 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1523 * nptl/pthread_once.c (__pthread_once): Likewise.
1524 Update comments.
1525
42b7f5d4
JM
15262014-10-20 Joseph Myers <joseph@codesourcery.com>
1527
1528 [BZ #14138]
1529 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1530 name.
1531 (writev): Use __libc_writev as strong name.
1532 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1533 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1534
b0643088
RM
15352014-10-17 Roland McGrath <roland@hack.frob.com>
1536
114c4e09
RM
1537 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1538
674b8978
RM
1539 * sysdeps/i386/nptl/tls.h
1540 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1541 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1542 New macros.
1543 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1544 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1545 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1546 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1547 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1548 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1549
184ee940
RM
1550 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1551 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1552 on [__NR_futex].
1553 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1554 broken out of ...
1555 (__pthread_mutex_init): ... here. Call it.
1556 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1557 Conditionalize PI cases on [__NR_futex].
1558 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1559 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1560 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1561
327ae257
RM
1562 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1563 conditional on [SIGSETXID].
1564 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1565 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1566 is defined. Likewise for SIGSETXID.
1567 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1568 Conditionalize definitions on [SIGSETXID].
1569 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1570 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1571 unblocking on [SIGCANCEL].
1572
b0643088
RM
1573 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1574 [__NR_set_robust_list].
1575
33cc770b
SP
15762014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1577
1578 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1579 (do_compare): Likewise.
1580
0742aef6
LH
15812014-10-17 Leonhard Holz <leonhard.holz@web.de>
1582
1583 [BZ #15884]
1584 * string/strcoll_l.c: Don't include stdio.h.
1585 (coll_seq): Remove members idxarr and rulearr.
1586 (get_next_seq_cached): Remove function.
1587 (get_next_seq): Likewise.
1588 (get_next_seq_nocache): Rename to get_next_seq.
1589 (do_compare): Remove function.
1590 (do_compare_nocache): Rename to do_compare.
1591 (STRCOLL): Remove weight and rules cache.
1592
ee54ce44
RM
15932014-10-16 Roland McGrath <roland@hack.frob.com>
1594
1595 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1596 * sysdeps/arm/sfp-machine.h: ... to here.
1597 * sysdeps/arm/Implies: Remove arm/soft-fp.
1598
a75d3b02
JM
15992014-10-14 Joseph Myers <joseph@codesourcery.com>
1600
1601 * conform/data/sys/utsname.h-data (*_t): Allow.
1602 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1603 [POSIX] (WEXITED): Do not expect constant.
1604 [POSIX] (WSTOPPED): Likewise.
1605 [POSIX] (WNOHANG): Likewise.
1606 [POSIX] (WNOWAIT): Likewise.
1607 [POSIX] (siginfo_t): Do not expect type or elements.
1608 [POSIX] (pid_t): Do not expect type.
1609 [POSIX] (signal.h): Do not allow header.
1610 [POSIX] (sys/resource.h): Likewise.
1611 [POSIX] (si_*): Do not allow pattern.
1612 [POSIX] (W*): Likewise.
1613 [POSIX] (P_*): Likewise.
1614 [POSIX] (BUS_*): Likewise.
1615 [POSIX] (CLD_*): Likewise.
1616 [POSIX] (FPE_*): Likewise.
1617 [POSIX] (ILL_*): Likewise.
1618 [POSIX] (POLL_*): Likewise.
1619 [POSIX] (SEGV_*): Likewise.
1620 [POSIX] (SI_*): Likewise.
1621 [POSIX] (TRAP_*): Likewise.
1622 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1623 variable.
1624
fda389c8
SP
16252014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1626
1627 [BZ #12926]
1628 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1629 infinite loop when __recvmsg returns 0.
1630
6bc6bd3b
JM
16312014-10-10 Joseph Myers <joseph@codesourcery.com>
1632
fcb32af1
JM
1633 * CANCEL-FCT-WAIVE: Remove file.
1634 * CANCEL-FILE-WAIVE: Likewise.
1635
6bc6bd3b
JM
1636 [BZ #14132]
1637 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1638 instead of INTVARDEF.
1639 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1640 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1641 rtld_hidden_data_def instead of INTVARDEF.
1642 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1643 * elf/dl-deps.c (expand_dst): Likewise.
1644 * elf/dl-load.c (_dl_dst_count): Likewise.
1645 (_dl_dst_substitute): Likewise.
1646 (decompose_rpath): Likewise.
1647 (_dl_init_paths): Likewise.
1648 (open_path): Likewise.
1649 (_dl_map_object): Likewise.
1650 * elf/rtld.c (dl_main): Likewise.
1651 (process_dl_audit): Likewise.
1652 (process_envvars): Likewise.
1653 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1654 Remove declaration.
1655 (__libc_enable_secure): Use rtld_hidden_proto.
1656
b8c80a7e
KS
16572014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1658
1659 * elf/dl-load.c
1660 (add_path): New function broken out of _dl_rtld_di_serinfo.
1661 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1662
ff12c11f
JM
16632014-10-09 Joseph Myers <joseph@codesourcery.com>
1664
5c0508a3
JM
1665 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1666 parentheses around macro arguments.
1667 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1668 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1669 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1670 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1671 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1672 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1673 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1674 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1675 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1676 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1677 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1678 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1679 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1680 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1681 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1682 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1683 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1684 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1685 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1686 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1687 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1688 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1689 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1690 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1691 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1692 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1693 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1694 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1695 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1696 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1697 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1698 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1699 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1700 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1701 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1702 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1703 Likewise.
1704 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1705 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1706 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1707 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1708 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1709 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1710 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1711 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1712 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1713 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1714 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1715 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1716 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1717 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1718 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1719 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1720 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1721 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1722 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1723 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1724 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1725 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1726 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1727 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1728 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1729 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1730 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1731 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1732 (_FP_FRAC_SRS_1): Likewise.
1733 (_FP_FRAC_CLZ_1): Likewise.
1734 (_FP_MUL_MEAT_1_imm): Likewise.
1735 (_FP_MUL_MEAT_1_wide): Likewise.
1736 (_FP_MUL_MEAT_1_hard): Likewise.
1737 (_FP_SQRT_MEAT_1): Likewise.
1738 (_FP_FRAC_ASSEMBLE_1): Likewise.
1739 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1740 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1741 (__FP_CLZ_2): Likewise.
1742 (_FP_MUL_MEAT_2_wide): Likewise.
1743 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1744 (_FP_MUL_MEAT_2_gmp): Likewise.
1745 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1746 (_FP_SQRT_MEAT_2): Likewise.
1747 (_FP_FRAC_ASSEMBLE_2): Likewise.
1748 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1749 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1750 (_FP_FRAC_CLZ_4): Likewise.
1751 (_FP_MUL_MEAT_4_wide): Likewise.
1752 (_FP_MUL_MEAT_4_gmp): Likewise.
1753 (_FP_SQRT_MEAT_4): Likewise.
1754 (_FP_FRAC_ASSEMBLE_4): Likewise.
1755 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1756 * soft-fp/op-common.h (_FP_CMP): Likewise.
1757 (_FP_CMP_EQ): Likewise.
1758 (_FP_CMP_UNORD): Likewise.
1759 (_FP_TO_INT): Likewise.
1760 (_FP_FROM_INT): Likewise.
1761 [!__FP_CLZ] (__FP_CLZ): Likewise.
1762 (_FP_DIV_HELP_imm): Likewise.
1763 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1764 Likewise.
1765 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1766 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1767 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1768 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1769 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1770 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1771 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1772 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1773 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1774 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1775 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1776 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1777 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1778 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1779 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1780 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1781 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1782 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1783 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1784 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1785 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1786 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1787 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1788 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1789 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1790 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1791 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1792 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1793 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1794 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1795 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1796 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1797 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1798 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1799 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1800 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1801 (FP_UNPACK_RAW_SP): Likewise.
1802 (FP_PACK_RAW_S): Likewise.
1803 (FP_PACK_RAW_SP): Likewise.
1804 (FP_UNPACK_S): Likewise.
1805 (FP_UNPACK_SP): Likewise.
1806 (FP_UNPACK_SEMIRAW_S): Likewise.
1807 (FP_UNPACK_SEMIRAW_SP): Likewise.
1808 (FP_PACK_S): Likewise.
1809 (FP_PACK_SP): Likewise.
1810 (FP_PACK_SEMIRAW_S): Likewise.
1811 (FP_PACK_SEMIRAW_SP): Likewise.
1812 (_FP_SQRT_MEAT_S): Likewise.
1813 (FP_CMP_S): Likewise.
1814 (FP_CMP_EQ_S): Likewise.
1815 (FP_CMP_UNORD_S): Likewise.
1816 (FP_TO_INT_S): Likewise.
1817 (FP_FROM_INT_S): Likewise.
1818
a736ec37
JM
1819 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1820
ff12c11f
JM
1821 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1822 (FP_EX_INVALID_IMZ): Likewise.
1823 (FP_EX_INVALID_IMZ_FMA): Likewise.
1824 (FP_EX_INVALID_ISI): Likewise.
1825 (FP_EX_INVALID_ZDZ): Likewise.
1826 (FP_EX_INVALID_IDI): Likewise.
1827 (FP_EX_INVALID_SQRT): Likewise.
1828 (FP_EX_INVALID_CVI): Likewise.
1829 (FP_EX_INVALID_VC): Likewise.
1830 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1831 "invalid" exceptions.
1832 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1833 (_FP_ADD_INTERNAL): Likewise.
1834 (_FP_MUL): Likewise.
1835 (_FP_FMA): Likewise.
1836 (_FP_DIV): Likewise.
1837 (_FP_CMP_CHECK_NAN): Likewise.
1838 (_FP_SQRT): Likewise.
1839 (_FP_TO_INT): Likewise.
1840 (FP_EXTEND): Likewise.
1841
b6dcfe8c
AM
18422014-10-09 Allan McRae <allan@archlinux.org>
1843
1844 * po/fr.po: Update French translation from translation project.
1845
2d6a47ba
JM
18462014-10-09 Joseph Myers <joseph@codesourcery.com>
1847
cb831245
JM
1848 [BZ #14132]
1849 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1850 of INTDEF.
1851 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1852 (__cxa_atexit): Use libc_hidden_proto.
1853 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1854
5deeb190
JM
1855 [BZ #14132]
1856 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1857 declaration.
1858 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1859 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1860 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1861 [!_ISOMAC] (__iswctype_internal): Likewise.
1862 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1863 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1864 alias.
1865 (fcntl): Remove __fcntl_internal alias.
1866 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1867 __connect_internal alias.
1868 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1869 Likewise.
1870
454ac701
JM
1871 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1872 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1873 FP_DENORM_ZERO.
1874 (_FP_CHECK_FLUSH_ZERO): New macro.
1875 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1876 (_FP_CMP): Likewise.
1877 (_FP_CMP_EQ): Likewise.
1878 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1879 FP_DENORM_ZERO.
1880 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1881 (FP_TRUNC): Likewise.
1882
0022e688
JM
1883 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1884 treated as invalid conversion, not as normal exponent.
1885
73e28d9c
JM
1886 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1887 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1888 (_FP_CMP_EQ): Likewise.
1889 (_FP_CMP_UNORD): Likewise.
1890 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1891 (FP_CMP_EQ_D): Likewise.
1892 (FP_CMP_UNORD_D): Likewise.
1893 * soft-fp/extended.h (FP_CMP_E): Likewise.
1894 (FP_CMP_EQ_E): Likewise.
1895 (FP_CMP_UNORD_E): Likewise.
1896 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1897 (FP_CMP_EQ_Q): Likewise.
1898 (FP_CMP_UNORD_Q): Likewise.
1899 * soft-fp/single.h (FP_CMP_S): Likewise.
1900 (FP_CMP_EQ_S): Likewise.
1901 (FP_CMP_UNORD_S): Likewise.
1902 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1903 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1904 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1905 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1906 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1907 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1908 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1909 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1910 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1911 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1912 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1913 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1914 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1915 to FP_CMP_Q.
1916 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1917 FP_CMP_Q.
1918 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1919 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1920 FP_CMP_EQ_Q.
1921 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1922 FP_CMP_Q.
1923 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1924 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1925 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1926 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1927 FP_CMP_EQ_Q.
1928 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1929 FP_CMP_Q.
1930 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1931 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1932 FP_CMP_EQ_Q.
1933 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1934 FP_CMP_Q.
1935 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1936 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1937 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1938 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1939 FP_CMP_EQ_Q.
1940
43059f42
JM
1941 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1942 a subnormal result, set the underflow exception if trapping on
1943 underflow is enabled.
1944 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1945 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1946 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1947 redefine to 0.
1948 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1949 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1950 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1951 * soft-fp/extendxftf2.c (__extendxftf2): Use
1952 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1953
2d6a47ba
JM
1954 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1955 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1956 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1957 FP_HANDLE_EXCEPTIONS.
1958 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1959 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1960 FP_HANDLE_EXCEPTIONS.
1961 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1962 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1963 FP_HANDLE_EXCEPTIONS.
1964 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1965 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1966 FP_HANDLE_EXCEPTIONS.
1967
620f462e
JM
19682014-10-08 Joseph Myers <joseph@codesourcery.com>
1969
1970 [BZ #14132]
1971 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1972 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1973 use INTUSE.
1974 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1975 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1976 Remove alias.
1977 (__adjtimex): Define using libc_hidden_ver.
1978 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1979 Remove declaration.
1980 (ntp_gettime): Call __adjtimex directly.
1981 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1982 Remove declaration.
1983 (ntp_gettimex): Call __adjtimex directly.
1984 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1985 __adjtimex_internal alias.
1986
c763c5d2
RM
19872014-10-08 Roland McGrath <roland@hack.frob.com>
1988
1989 [BZ #17460]
1990 * nscd/nscd.c (more_help): Rewrite list of tables collection
1991 using xstrdup and asprintf.
1992
1993 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1994
7b8fb2b8
RM
19952014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1996 Roland McGrath <roland@hack.frob.com>
1997
1998 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1999 (do_lookup_unique): ... local function 'enter' here; update callers.
2000
abb280f7
JM
20012014-10-06 Joseph Myers <joseph@codesourcery.com>
2002
f7b42517
JM
2003 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2004 compat_symbol calls on [SHARED].
2005 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2006 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2007 Remove.
2008 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2009 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2010 (oldsetrlimit): Remove.
2011 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2013 (lchown): New syscall entry.
2014 (oldsetrlimit): Remove.
2015 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2016 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2017 (oldsetrlimit): Remove.
2018 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2019
abb280f7
JM
2020 [BZ #14138]
2021 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2022 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2023 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2024 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2025 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2026 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2027 (fchown): Likewise.
2028 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2029 (fchown): Likewise.
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2031 Likewise.
2032
47d46237
AZ
20332014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2034
2035 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2036 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2037 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2038 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2039 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2040 Likewise.
2041 (__old_sem_post): Likewise.
2042
20432014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 2044
845a7343
CM
2045 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2046 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2047 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2048 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2049 Use INLINE_VSYSCALL macro.
2050 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2051 __vdso_clock_gettime.
2052 * sysdeps/unix/sysv/linux/tile/init-first.c
2053 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2054 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2055 __vdso_clock_gettime.
2056
83d641ef
CM
2057 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2058 to set up frame more cleanly.
2059
d9cd52e6
CM
2060 * sysdeps/tile/memcmp.c: New file.
2061
4b68ea11
CM
2062 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2063
c86f7b80
CM
2064 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2065 * sysdeps/tile/tilegx/strcasestr.c: New file.
2066 * sysdeps/tile/tilegx/strnlen.c: New file.
2067 * sysdeps/tile/tilegx/strstr.c: New file.
2068
1c4c1a6f
CM
2069 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2070
99d86ea3
AS
20712014-10-06 Arjun Shankar <arjun.is@lostca.se>
2072
2073 * nptl/tst-setuid3.c: Write errors to stdout.
2074
06210a44
KS
20752014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2076
2077 * elf/dl-deps.c
2078 (preload): New functions broken out of _dl_map_object_deps.
2079 (_dl_map_object_deps): Remove a nested function. Update call sites.
2080
6268f532
JM
20812014-10-01 Joseph Myers <joseph@codesourcery.com>
2082
2083 [BZ #14138]
2084 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2085 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2086
b925285f
SE
20872014-10-01 Steve Ellcey <sellcey@mips.com>
2088
2089 * sysdeps/mips/strcmp.S: New.
2090
754a15c6
JM
20912014-09-30 Joseph Myers <joseph@codesourcery.com>
2092
2093 [BZ #14138]
2094 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2095 (linkat): Likewise.
2096 (mkdirat): Likewise.
2097 (readlinkat): Likewise.
2098 (renameat): Likewise.
2099 (symlinkat): Likewise.
2100 (unlinkat): Likewise.
2101 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2102 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2103 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2104 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2105 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2106 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2107 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2108
85bb81c9
WN
21092014-09-30 Will Newton <will.newton@linaro.org>
2110
dc6fe23b
WN
2111 * math/math.h: Define long double math functions if
2112 _LIBC_TEST is defined.
2113 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2114
85bb81c9
WN
2115 * localedata/Makefile: Move assignment to tests-special
2116 into an ifdef testing run-built-tests.
2117 * timezone/Makefile: Likewise.
2118
b7e02da4
JM
21192014-09-29 Joseph Myers <joseph@codesourcery.com>
2120
2121 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2122 with $(BASH) not $(SHELL).
2123
62058ce6
CD
21242014-09-29 Carlos O'Donell <carlos@redhat.com>
2125 Matthew LeGendre <legendre1@llnl.gov>
2126
2127 [BZ #17411]
2128 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2129 l_reloc_result.
2130
8e257a29
KS
21312014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2132
2133 * stdio-common/printf_fp.c
2134 (hack_digit): New function, broken out of ...
2135 (__printf_fp): ... local function here. Update call sites.
2136 hack_digit now takes an additional parameter that is a pointer
2137 to a struct of the referenced locals. Those locals moved inside
2138 the struct and references updated.
2139
f4a58f0d
L
21402014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2141
2142 * aclocal.m4: Require autoconf 2.69.
2143 * configure: Regenerated.
2144 * sysdeps/aarch64/configure: Likewise.
2145 * sysdeps/alpha/configure: Likewise.
2146 * sysdeps/arm/armv7/configure: Likewise.
2147 * sysdeps/arm/configure: Likewise.
2148 * sysdeps/ia64/configure: Likewise.
2149 * sysdeps/mach/configure: Likewise.
2150 * sysdeps/mips/configure: Likewise.
2151 * sysdeps/s390/configure: Likewise.
2152 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2154
2155 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2156 file.
2157 * sysdeps/ia64/configure.ac: Likewise.
2158
93ae1eba
JM
21592014-09-26 Joseph Myers <joseph@codesourcery.com>
2160
1810d3ab
JM
2161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2162 specify symbol version for ld.so. Do not include entry for
2163 libpthread.
2164 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2165 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2166 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2167
93ae1eba
JM
2168 [BZ #14171]
2169 * Makeconfig [$(build-shared) = yes]
2170 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2171 makefiles.
2172 [$(build-shared) = yes && $(soversions.mk-done) = t]
2173 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2174 [$(build-shared) = yes && $(soversions.mk-done) = t]
2175 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2176 to Makerules.
2177 [$(build-shared) = yes && $(soversions.mk-done) = t]
2178 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2179 here.
2180 [$(build-shared) = yes && $(soversions.mk-done) = t]
2181 (common-generated): Don't append gnu/lib-names.h and
2182 gnu/lib-names.stmp here.
2183 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2184 (lib-names-h-abi): New variable.
2185 [$(build-shared) = yes && $(soversions.mk-done) = t]
2186 (lib-names-stmp-abi): Likewise.
2187 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2188 abi-variants] (before-compile): Append
2189 $(common-objpfx)$(lib-names-h-abi).
2190 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2191 abi-variants] (common-generated): Append gnu/lib-names.h.
2192 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2193 abi-variants] (install-others-nosubdir): Depend on
2194 $(inst_includedir)/$(lib-names-h-abi).
2195 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2196 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2197 [$(build-shared) = yes && $(soversions.mk-done) = t]
2198 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2199 [$(build-shared) = yes && $(soversions.mk-done) = t]
2200 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2201 [$(build-shared) = yes && $(soversions.mk-done) = t]
2202 (common-generated): Append $(lib-names-h-abi) and
2203 $(lib-names-stmp-abi).
2204 * scripts/lib-names.awk: Do not handle multi being set.
2205 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2206 Remove variable.
2207 (abi-lp64_be-ld-soname): Likewise.
2208 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2209 Likewise.
2210 (abi-hard-ld-soname): Likewise.
2211 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2212 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2213 Remove variable.
2214 (abi-o32_hard-ld-soname): Likewise.
2215 (abi-o32_soft_2008-ld-soname): Likewise.
2216 (abi-o32_hard_2008-ld-soname): Likewise.
2217 (abi-n32_soft-ld-soname): Likewise.
2218 (abi-n32_hard-ld-soname): Likewise.
2219 (abi-n32_soft_2008-ld-soname): Likewise.
2220 (abi-n32_hard_2008-ld-soname): Likewise.
2221 (abi-n64_soft-ld-soname): Likewise.
2222 (abi-n64_hard-ld-soname): Likewise.
2223 (abi-n64_soft_2008-ld-soname): Likewise.
2224 (abi-n64_hard_2008-ld-soname): Likewise.
2225 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2226 Likewise.
2227 (abi-64-v2-ld-soname): Likewise.
2228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2229 ld.so entries.
2230 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2231 variable.
2232 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2233 entry.
2234 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2235 variable.
2236 (abi-64-ld-soname): Likewise.
2237 (abi-x32-ld-soname): Likewise.
2238 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2239 entry.
2240 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2241
68870f12
JM
22422014-09-23 Joseph Myers <joseph@codesourcery.com>
2243
2244 [BZ #14138]
2245 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2246 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2247 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2248 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2249 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2250 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2251 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2252 syscall entry for GLIBC_2.2 symbol version.
2253 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2254 Likewise.
2255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2256 (setrlimit): Likewise.
2257 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2258 Likewise.
2259
ea58f202
WN
22602014-09-23 Will Newton <will.newton@linaro.org>
2261
2262 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2263 _LINUX_ARM_SYSDEP_H include guard too.
2264 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2265 define.
2266
69eb9a18
RV
22672014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2268
2269 * sysdeps/unix/sysv/linux/eventfd.c:
2270 Make first argument unsigned.
2271 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2272 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2273
20e5a5f7
OB
22742014-09-20 Ondřej Bílka <neleai@seznam.cz>
2275
2276 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2277 * socket/sys/socket.h: Likewise
2278 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2279
d3c827e7
AK
22802014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2281
2282 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2283
fe1cc35a
AS
22842014-09-17 Arjun Shankar <arjun.is@lostca.se>
2285
2286 * time/tst-ftime.c: New test.
2287 * time/Makefile (tests): Add tst-ftime.
2288
4e8afe69
JM
22892014-09-17 Joseph Myers <joseph@codesourcery.com>
2290
c4fe3ea7
JM
2291 * soft-fp/extended.h: Fix comment formatting.
2292 * soft-fp/op-1.h: Likewise.
2293 * soft-fp/op-2.h: Likewise.
2294 * soft-fp/op-4.h: Likewise.
2295 * soft-fp/op-8.h: Likewise.
2296 * soft-fp/op-common.h: Likewise.
2297 * soft-fp/soft-fp.h: Likewise.
2298
4e8afe69
JM
2299 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2300
af296fcd
JM
23012014-09-16 Joseph Myers <joseph@codesourcery.com>
2302
2303 [BZ #6652]
2304 * Makeconfig (soversions-default-setname): Remove variable.
2305 ($(common-objpfx)soversions.i): Don't pass default_setname to
2306 soversions.awk.
2307 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2308 oldest_abi to abi-versions.awk.
2309 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2310 * config.make.in (oldest-abi): Remove variable.
2311 * configure.ac (--enable-oldest-abi): Remove configure option.
2312 * configure: Regenerated.
2313 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2314 text.
2315 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2316 * scripts/soversions.awk: Do not handle default_setname variable.
2317 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2318 variable.
2319 * sysdeps/mach/hurd/configure: Regenerated.
2320 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2321 variable.
2322 * sysdeps/unix/sysv/linux/configure: Regenerated.
2323
545583d6
SP
23242014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2325
d330b980
SP
2326 * elf/Makefile (CFLAGS-interp.c): Remove.
2327 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2328 path string.
2329 * elf/interp.c: Include generated runtime-linker.h
2330
02657da2
SP
2331 * Makerules (lib%.so): Don't include $(+interp) in
2332 prerequisites.
2333 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2334 * dlfcn/eval.c: Remove file.
2335
653b1080
SP
2336 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2337 macros.
2338
602f80ec
SP
2339 [BZ #17266]
2340 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2341 4.2 and newer.
2342
545583d6
SP
2343 [BZ #17370]
2344 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2345
884ddc50
SP
23462014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2347 Jakub Jelinek <jakub@redhat.com>
2348
2349 [BZ #17266]
2350 * libio/stdio.h: Check definition of __fortify_function
2351 instead of __extern_always_inline to include bits/stdio2.h.
2352 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2353 check if __extern_always_inline is defined.
2354 [__USE_MISC || __USE_XOPEN]: Likewise.
2355 [__USE_ISOC99] Likewise.
2356 * misc/sys/cdefs.h (__fortify_function): Define only if
2357 __extern_always_inline is defined.
2358 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2359 __extern_always_inline and __extern_inline only for g++-4.3
2360 and newer or a compatible gcc.
2361
a7b87268
AS
23622014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2363
2364 [BZ #17371]
2365 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2366 last change to handle zero prefix length.
2367
3f41521d
SP
23682014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2369
61fe374a
SP
2370 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2371 _SC_REGEX_VERSION.
2372
3f41521d
SP
2373 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2374 _POSIX_RAW_SOCKETS.
2375
d8f879ee
AM
23762014-09-13 Allan McRae <allan@archlinux.org>
2377
2378 * po/ru.po: Update Russian translation from translation project.
2379
c079afb7
RM
23802014-09-12 Roland McGrath <roland@hack.frob.com>
2381
a62b3c15
RM
2382 * locale/programs/locale.c (show_locale_vars): Inline local function
2383 into its sole call site. Clean up some style nits.
2384 (print_item): New function, broken out of ...
2385 (show_info): ... local function here. Clean up style nits.
2386
d7e49b19
RM
2387 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2388 out of ...
2389 (set_class_defaults): ... local function set_default here.
2390 Define set_default as a macro locally to pass constant parameters.
2391 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2392 rather than a shared local.
2393
c079afb7
RM
2394 * stdlib/rpmatch.c (try): New function, broken out of ...
2395 (rpmatch): ... local function here. Also, prototypify definition.
2396
0bd72468
JM
23972014-09-12 Joseph Myers <joseph@codesourcery.com>
2398
ba90e050
JM
2399 * scripts/soversions.awk: Do not handle configuration names.
2400 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2401 vendor and os variables to soversions.awk.
2402 * configure.ac: Do not modify gnu-* host_os.
2403 * configure: Regenerated
2404 * shlib-versions: Remove first column with configuration names.
2405 * nptl/shlib-versions: Likewise.
2406 * nptl_db/shlib-versions: Likewise.
2407 * sysdeps/hppa/shlib-versions: Likewise.
2408 * sysdeps/m68k/shlib-versions: Likewise.
2409 * sysdeps/mach/hurd/shlib-versions: Likewise.
2410 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2411 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2412 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2413 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2414 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2415 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2416 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2417 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2419 Likewise.
2420 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2421 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2422 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2423 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2424 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2425 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2426 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2427 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2428
73a39112
JM
2429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2430 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2432 Regenerated.
2433 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2435 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2436
c729e7c1
JM
2437 * shlib-versions: Remove OS-specific entries. Moved to files in
2438 sysdeps.
2439 * sysdeps/mach/hurd/shlib-versions: New file.
2440 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2441
dc932a24
JM
2442 * nptl/shlib-versions: Remove architecture-specific entries.
2443 Moved to files in sysdeps.
2444 * shlib-versions: Likewise.
2445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2446 file.
2447 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2448 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2449 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2450 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2451
0bd72468
JM
2452 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2453 (UDP_NO_CHECK6_RX): Likewise.
2454
920238e0
SP
24552014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2456
2457 * sysdeps/posix/sysconf.c (__sysconf): Spell
2458 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2459
ba7b4d29
FW
24602014-08-12 Florian Weimer <fweimer@redhat.com>
2461
2462 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2463 loading.
2464 * iconv/Versions (__gconv_transliterate): Export for use from
2465 gconv modules.
2466 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2467 (struct __gconv_trans_data, __gconv_trans_fct,
2468 __gconv_trans_context_fct, __gconv_trans_query_fct,
2469 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2470 definitions.
2471 (struct __gconv_step_data): Remove __trans member.
2472 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2473 longer hidden. Remove unused trans_data argument.
2474 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2475 (__gconv_translit_find): Remove declaration.
2476 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2477 prototype.
2478 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2479 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2480 trans_data argument. Add hidden definition.
2481 (__gconv_translit_find): Remove.
2482 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2483 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2484 * iconv/skeleton.c: Remove transliteration initialization.
2485 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2486 __gconv_step_data initialization.
2487 * libio/iofwide.c (__libio_translit_): Remove.
2488 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2489 * wcsmbs/btowc.c (__btowc): Likewise.
2490 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2491 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2492 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2493 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2494 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2495 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2496 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2497 * wcsmbs/wctob.c (wctob): Likewise.
2498
5379aebd
SP
24992014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2500
2501 [BZ #16194]
2502 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2503 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2504 register usage.
2505 * sysdeps/x86/Makefile: Adjust.
2506
8c0ab919
RM
25072014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2508 Roland McGrath <roland@hack.frob.com>
2509
2510 * locale/weight.h: Add include guard.
2511 (findidx): Make static rather than auto; take new parameters
2512 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2513 * locale/weightwc.h: Likewise.
2514 * posix/fnmatch_loop.c
2515 (FCT): Change type of EXTRA from int32_t to wint_t.
2516 Don't include either header inside the function.
2517 Call FINDIDX rather than findidx, and pass new arguments.
2518 #undef FINDIDX at the end of the file.
2519 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2520 FINDIDX before including fnmatch_loop.c for the non-wide version.
2521 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2522 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2523 for the wide version.
2524 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2525 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2526 Pass new arguments to findidx.
2527 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2528 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2529 Don't #include it inside the function. Pass new arguments to findidx.
2530 * posix/regex_internal.h
2531 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2532 (re_string_elem_size_at): Don't #include it inside the function.
2533 Pass new arguments to findidx.
2534 * string/strcoll_l.c: #include WEIGHT_H at top level.
2535 (get_next_seq): Don't #include it inside the function.
2536 Pass new arguments to findidx.
2537 (get_next_seq_nocache): Likewise.
2538 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2539 (STRXFRM): Don't #include it inside the function.
2540 Pass new arguments to findidx.
2541
52ffbdf2
FW
25422014-09-11 Florian Weimer <fweimer@redhat.com>
2543
2544 [BZ #17344]
2545 * malloc/malloc.c (unlink): Turn asserts into a call to
2546 malloc_printerr.
2547
984c0ea9
TL
25482014-09-11 Tim Lammens <tim.lammens@gmail.com>
2549
2550 [BZ #17370]
2551 * libio/wfileops (do_ftell_wide): Free OUT.
2552
3daee107
CM
25532014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2554
2555 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2556
58b930ae
SP
25572014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2558
2559 [BZ #17363]
2560 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2561 group if the current group is empty.
2562
3b473fec
AZ
25632014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2564
71ae8647
AZ
2565 * benchtests/bench-memset.c (test_main): Add more test from size
2566 from 32 to 512 bytes.
2567 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2568 Add POWER8 memset object.
2569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2570 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2571 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2572 implementation.
2573 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2574 Likewise.
2575 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2576 multiarch POWER8 memset optimization.
2577 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2578 POWER8 memset optimization.
2579
3b473fec
AZ
2580 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2581 Remove bzero multiarch objects.
2582 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2583 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2584 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2585 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2586 Remove define.
2587 [__bzero]: Redefine to specific name.
2588 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2589 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2590 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2591 define.
2592 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2593 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2594
e6fb9587
FW
25952014-09-10 Florian Weimer <fweimer@redhat.com>
2596
2597 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2598 warnings into errors.
2599
2600 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2601 __cxa_thread_atexit_impl prototype.
2602
9d3a350b
SE
26032014-09-09 Steve Ellcey <sellcey@mips.com>
2604
2605 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2606 Fix capitalization of error message.
2607
0febba23
SE
26082014-09-09 Steve Ellcey <sellcey@mips.com>
2609
2610 * sysdeps/mips/preconfigure: Modify ABI tests.
2611
645a0e9c
CD
26122014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2613
2614 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2615
d83f0734
CD
26162014-09-07 Roland McGrath <roland@hack.frob.com>
2617 Carlos O'Donell <carlos@systemhalted.org>
2618
2619 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2620 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2621 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2622 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2623 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2624 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2625 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2626 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2627 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2628 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2629 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2630 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2631 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2632 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2633 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2634 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2635 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2636 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2637 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2638 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2639 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2640 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2641 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2642 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2643 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2644 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2645 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2646 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2647 Deconditionalize the code that was previously under [RESET_PID].
2648 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2649 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2650 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2651 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2652 include sysdep.h.
2653
21c83793
AM
26542014-09-08 Allan McRae <allan@archlinux.org>
2655
2656 * version.h (RELEASE): Set to "development".
2657 (VERSION): Set to "2.20.90"
2658
1cd9b65c
AM
26592014-09-07 Allan McRae <allan@archlinux.org
2660
b8079dd0
AM
2661 * version.h (RELEASE): Set to "stable".
2662 (VERSION): Set to "2.20"
2663 * include/features.h (__GLIBC_MINOR__): Set to 20.
2664
c46303ef
AM
2665 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2666 Liebler.
2667
1cd9b65c
AM
2668 * po/ko.po: Update Korean translation from translation project.
2669
8622092d
CM
26702014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2671
2672 [BZ #17354]
2673 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2674 macro for handling signed relocations.
2675
41488498
FW
26762014-09-03 Florian Weimer <fweimer@redhat.com>
2677
2678 [BZ #17325]
2679 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2680 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2681 assert.
2682 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2683 * iconvdata/ibm935.c (BODY): Likewise.
2684 * iconvdata/ibm937.c (BODY): Likewise.
2685 * iconvdata/ibm939.c (BODY): Likewise.
2686 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2687 assert.
2688 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2689 script.
2690 * iconvdata/run-iconv-test.sh: New test loop for checking for
2691 decoder crashers.
2692
a78b712d
KR
26932014-09-02 Khem Raj <raj.khem@gmail.com>
2694
2695 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2696 libm_hidden_ver.
2697
cb08abc6
AM
26982014-09-01 Allan McRae <allan@archlinux.org>
2699
2c31e102
AM
2700 * po/eo.po: Update Esperanto translation from translation project.
2701
cb08abc6
AM
2702 * po/ca.po: Update Catalan translation from translation project.
2703
17a62de1
ST
27042014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2705
2706 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2707 __proc_dostop call.
2708
9570bc53
MW
27092014-08-27 Mark Wielaard <mjw@redhat.com>
2710
2711 [BZ #17319]
2712 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2713 to call set_thread_area instead of hand written asm.
2714 (__NR_set_thread_area): Removed define.
2715 (TLS_FLAG_WRITABLE): Likewise.
2716 (__ASSUME_SET_THREAD_AREA): Remove check.
2717 (TLS_EBX_ARG): Remove define.
2718 (TLS_LOAD_EBX): Likewise.
2719
b0f955c9
ST
27202014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2721
2722 Simplify atomicity of socket creation in bind.
2723
2724 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2725 looking up the name after linking the file.
2726
529bf515
AM
27272014-08-27 Allan McRae <allan@archlinux.org>
2728
2729 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2730
a1a6a401
FW
27312014-08-26 Florian Weimer <fweimer@redhat.com>
2732
2733 [BZ #17187]
2734 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2735 trans_compare, open_translit, __gconv_translit_find):
2736 Remove module loading code.
2737
686ab290
AM
27382014-08-26 Allan McRae <allan@archlinux.org>
2739
e4e7cfd2
AM
2740 * po/vi.po: Update Vietnamese translation from translation project.
2741
6aa09f71
AM
2742 * po/uk.po: Update Ukrainian translation from translation project.
2743
edc0660e
AM
2744 * po/fr.po: Update French translation from translation project.
2745
7eea72ac
AM
2746 * po/ru.po: Update Russian translation from translation project.
2747
93c49eff
AM
2748 * po/pl.po: Update Polish translation from translation project.
2749
46acaf63
AM
2750 * po/cs.po: Update Czech translation from translation project.
2751
a9f5ce98
AM
2752 * po/de.po: Update German translation from translation project.
2753
373f2b78
AM
2754 * po/bg.po: Update Bulgarian translation from translation project.
2755
e7548bd8
AM
2756 * po/sv.po: Update Sweedish translation from translation project.
2757
c526bf4d
AM
2758 * po/nl.po: Update Dutch translation from translation project.
2759
686ab290
AM
2760 * po/es.po: Update Spanish translation from translation project.
2761
eb72478a
SP
27622014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2763
dd763fdb
SP
2764 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2765
318c7a58
SP
2766 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2767 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2768 (CPPFLAGS-iconvconfig): Likewise.
2769 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2770
eb72478a
SP
2771 * include/libc-symbols.h: Remove unnecessary check for
2772 NOT_IN_libc.
2773 * nptl/pthreadP.h: Likewise.
2774 * sysdeps/aarch64/setjmp.S: Likewise.
2775 * sysdeps/alpha/setjmp.S: Likewise.
2776 * sysdeps/arm/sysdep.h: Likewise.
2777 * sysdeps/i386/setjmp.S: Likewise.
2778 * sysdeps/m68k/setjmp.c: Likewise.
2779 * sysdeps/posix/getcwd.c: Likewise.
2780 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2781 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2782 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2783 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2784 * sysdeps/sh/sh3/setjmp.S: Likewise.
2785 * sysdeps/sh/sh4/setjmp.S: Likewise.
2786 * sysdeps/unix/alpha/sysdep.h: Likewise.
2787 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2788 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2789 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2790 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2793 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2794 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2795 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2796 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2797 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2798 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2799 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2800 * sysdeps/x86_64/setjmp.S: Likewise.
2801
d44a052c
JM
28022014-08-13 Joseph Myers <joseph@codesourcery.com>
2803
2804 [BZ #17263]
2805 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2806 <stdint.h>.
2807 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2808 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2809
508ce3ac
SP
28102014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2811
e44c8b0e
SP
2812 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2813
508ce3ac
SP
2814 [BZ #17262]
2815 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2816 and __x86_64__ when disabling x87 inline functions.
2817
b4acef1f
L
28182014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2819
2820 [BZ #17259]
2821 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2822 asm statement with __cpuid_count.
2823
61b1ef6e
MF
28242014-08-12 Mike Frysinger <vapier@gentoo.org>
2825
2826 * configure.ac: Change __ehdr_start code to dereference the struct.
2827 Run readelf on the output to look for relocations.
2828 * configure: Regenerated.
2829
898c62f4
JM
28302014-08-12 Joseph Myers <joseph@codesourcery.com>
2831
2832 [BZ #17261]
2833 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2834 value to 0.
2835 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2836
9a8a5720
RM
28372014-08-12 Roland McGrath <roland@hack.frob.com>
2838
2839 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2840
4e75751c
BO
28412014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2842
2843 [BZ #16892]
2844 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2845 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2846
bb2ce416
SA
28472014-08-12 Sean Anderson <seanga2@gmail.com>
2848
2849 * malloc/malloc.c: Fix typo in comment.
2850
7950a4ee
AM
28512014-08-09 Allan McRae <allan@archlinux.org>
2852
2853 * Regenerate libc.po.
2854
f469c49f
MF
28552014-08-08 Mike Frysinger <vapier@gentoo.org>
2856
2857 * intl/tst-gettext2.sh: Check every lang file for creation.
2858
656b84c2
WD
28592014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2860
2861 * sysdeps/aarch64/fpu/math_private.h
2862 (libc_feholdsetround_noex_aarch64_ctx): New function.
2863
538e9e45
W
28642014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2865
2866 * sysdeps/arm/armv6/strcpy.S (strcpy):
2867 Fix performance issue in misaligned cases.
2868
d4795e4a
AZ
28692014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2870
2871 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2872 Move definition from termios.h.
2873 (struct termio): Likewise.
2874 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2875 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2876 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2877 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2878 Likewise.
2879 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2880 Move definition to ioctl-types.h
2881 (struct termio): Likewise.
2882 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2883 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2884 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2885 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2886 Likewise.
2887
64accb62
RH
28882014-08-05 Richard Henderson <rth@redhat.com>
2889
27bb6dc0
RH
2890 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2891 exceptions.
2892 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2893 Add fraiseexcpt.
2894 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2895 Use __feraiseexcept.
2896 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2897 Protect libm symbols with IS_IN_libm.
2898
64accb62
RH
2899 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2900
e5292691
BO
29012014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2902
2903 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2904
5b4bd2d4
WN
29052014-08-04 Will Newton <will.newton@linaro.org>
2906
2907 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2908 file.
2909
fcadaeef
MF
29102014-08-04 Mike Frysinger <vapier@gentoo.org>
2911
2912 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2913 variants for each function.
2914
43a94c64
RM
29152014-08-04 Roland McGrath <roland@hack.frob.com>
2916
2917 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2918 appended ...
2919 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2920 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2921 appended ...
2922 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2923 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2924 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2925 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2926 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2927 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2928 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2929 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2930 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2931 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2932 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2933 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2934 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2935 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2936 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2937 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2938 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2939 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2940 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2941 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2942 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2943 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2944 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2945 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2946 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2947 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2948 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2949 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2950 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2951 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2952 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2953 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2954 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2955 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2956 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2957 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2958 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2959 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2960 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2961 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2962 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2963 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2964 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2965 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2966 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2967 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2968 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2969 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2970 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2971 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2972 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2973 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2974 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2975 Update #include.
2976 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2977 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2978
8f3c1fa4
RM
29792014-08-04 Roland McGrath <roland@hack.frob.com>
2980
2981 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2982 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2983 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2984 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2985 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2986 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2987
ca08746f
RM
29882014-08-04 Roland McGrath <roland@hack.frob.com>
2989
2990 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2991 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2992 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2993 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2994
9c925ff9
RM
29952014-08-04 Roland McGrath <roland@hack.frob.com>
2996
2997 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2998 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2999 (__libc_vfork): Define function under this name.
3000 (__vfork): Define as an alias.
3001 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3002 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3003
e641054c
RM
30042014-08-04 Roland McGrath <roland@hack.frob.com>
3005
3006 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3007 that was previously under [RESET_PID].
3008 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3009
dacdc867
AS
30102014-08-04 Andreas Schwab <schwab@suse.de>
3011
3012 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3013
41f725ff
MF
30142014-08-03 Mike Frysinger <vapier@gentoo.org>
3015
3016 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3017 (main): Likewise.
3018
277cfb31
RM
30192014-08-01 Roland McGrath <roland@hack.frob.com>
3020
3021 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3022
4896f049
RH
30232014-08-01 Richard Henderon <rth@redhat.com>
3024
3025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3026 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3027 typo in exact zero test.
3028 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3029 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3031
6f64e7d7
RM
30322014-08-01 Roland McGrath <roland@hack.frob.com>
3033
3034 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3035 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3036 * sysdeps/arm/sysdep.h: ... here.
3037 [!__ASSEMBLER__]: Include <stdint.h>.
3038
3f3dd810
SP
30392014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3040
a476ac4b
SP
3041 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3042 (HAVE_WCTYPE_H): Likewise.
3043 (HAVE_ISWCTYPE): Likewise.
3044 (ENABLE_NLS): Likewise.
3045 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3046 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3047
78dd658a
SP
3048 * posix/regex_internal.c: Check if DEBUG is defined and is
3049 set.
3050
3f3dd810
SP
3051 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3052 (HAVE_MBSRTOWCS): Likewise.
3053 * posix/fnmatch.c: Include string.h unconditionally.
3054
95ee7fb1
SL
30552014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3056
3057 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3058 reversal.
3059
23fe486b
RM
30602014-07-31 Roland McGrath <roland@hack.frob.com>
3061
f61a113f
RM
3062 * sysdeps/generic/safe-fatal.h: New file.
3063 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3064 * nptl/forward.c: Include it.
3065 (__pthread_unwind): Use __safe_fatal as default action, rather
3066 than a bogus use of INTERNAL_SYSCALL that could never work.
3067
9fe7e787
RM
3068 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3069 * configure.ac (libc_cv_builtin_trap): New test.
3070 * configure: Regenerated.
3071 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3072 (ABORT_INSTRUCTION): Define using __builtin_trap.
3073
23fe486b
RM
3074 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3075 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3076 * sysdeps/nptl/nptl-signals.h: New file.
3077 * nptl/pthreadP.h: Include <nptl-signals.h>.
3078
f349489e
SL
30792014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3080
3081 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3082 (ONE_DIRECTION): Define.
3083 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3084 (ONE_DIRECTION): Define.
3085 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3086 (ONE_DIRECTION): Define.
3087
2f438e20
SL
30882014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3089
3090 * sysdeps/s390/Makefile: Delete file.
3091 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3092 * sysdeps/s390/__longjmp.c: Delete file.
3093 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3094 Remove fields __flags and __reserved.
3095 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3096 and add versioning.
3097 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3098 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3099 * sysdeps/s390/rtld-setjmp.S: Likewise.
3100 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3101 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3102 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3103 * sysdeps/s390/s390-32/setjmp.S: ... here.
3104 Add versioning.
3105 (__sigsetjmp): Remove setting __flags field.
3106 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3107 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3108 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3109 * sysdeps/s390/s390-64/setjmp.S: ... here.
3110 Add versioning.
3111 (__sigsetjmp): Remove setting __flags field.
3112 * sysdeps/s390/setjmp.S: Delete file.
3113 * sysdeps/s390/sigjmp.c: Likewise.
3114 * sysdeps/s390/v1-longjmp.c: Likewise.
3115 * sysdeps/s390/v1-setjmp.h: Likewise.
3116 * sysdeps/s390/v1-sigjmp.c: Likewise.
3117 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3118 Remove v1-longjmp_chk.
3119 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3120 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3121 Include debug/longjmp_chk.c and add versioning.
3122 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3123 Include nptl/pt-longjmp.c and add versioning.
3124 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3125 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3126 Include __longjmp.c.
3127 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3128 Move to ...
3129 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3130 (__getcontext): Remove setting __flags field.
3131 Add versioning.
3132 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3133 Don't restore upper high grps.
3134 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3135 Likewise.
3136 (__swapcontext): Remove setting uc_flags field.
3137 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3138 Delete file.
3139 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3140 Include __longjmp.c.
3141 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3142 Move to ...
3143 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3144 (__getcontext): Remove setting __flags field.
3145 Add versioning.
3146 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3147 (__swapcontext): Remove setting uc_flags field.
3148 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3149 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3150 Remove fields uc_high_gprs and __reserved.
3151 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3152 New file with reverted content.
3153 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3154 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3155 Regenerated.
3156 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3157 Regenerated.
3158
6c9578a2
AS
31592014-07-31 Andreas Schwab <schwab@suse.de>
3160
3161 * config.h.in (HAVE_IFUNC): Define to 0.
3162 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3163 definedness.
3164
05f3633d
LM
31652014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3166
3167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3168 memmove-avx-unaligned, memcpy-avx-unaligned and
3169 mempcpy-avx-unaligned.
3170 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3171 Add tests for AVX memcpy functions.
3172 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3173 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3174 memcpy_chk.
3175 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3176 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3177 memmove_chk.
3178 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3179 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3180 mempcpy_chk.
3181 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3182 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3183 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3184
a53fbd8e
AZ
31852013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3186
3187 [BZ #17213]
3188 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3189 powerpc64le.
3190
0961f7e1
JL
31912014-07-29 Jeff Layton <jlayton@poochiereds.net>
3192
3193 [BZ #16839]
3194 * manual/llio.texi: Add section about open file description locks.
3195 * manual/examples/ofdlocks.c: Example of open file description
3196 lock usage.
3197 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3198 F_OFD_SETLK, and F_OFD_SETLKW.
3199
cc5fb300
AM
32002014-07-23 Allan McRae <allan@archlinux.org>
3201
3202 * po/es.po: Update Spanish translation from translation project.
3203
23329dca
AS
32042014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3205
3206 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3207
9c82da17
MR
32082014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3209
3210 [BZ #17078]
3211 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3212 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3213 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3214
29c4f53e
JM
32152014-07-17 Joseph Myers <joseph@codesourcery.com>
3216
831b9896
JM
3217 [BZ #17088]
3218 * math/fesetenv.c (__fesetenv)
3219 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3220 * math/feupdateenv.c (__feupdateenv)
3221 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3222
b21c2d50
JM
3223 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3224 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3225 (__ASSUME_SOCKETCALL): Do not define.
3226
067764ef
JM
3227 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3228 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3229 (__ASSUME_SOCKETCALL): Do not define.
3230 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3231 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3232 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3233 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3234 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3235 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3236 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3237 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3238
642530c1
JM
3239 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3240 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3241 (__ASSUME_SOCKETCALL): Do not define.
3242 (__ASSUME_IPC64): Define unconditionally.
3243 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3244 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3245 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3246 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3247 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3248 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3249 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3250 Likewise.
3251
03f77315
JM
3252 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3253 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3254 (__ASSUME_SOCKETCALL): Do not define.
3255 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3256 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3257 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3258 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3259 (__ASSUME_REQUEUE_PI): Define unconditionally.
3260 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3261 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3262 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3263 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3264 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3265 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3266
083b1f7c
JM
3267 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3268 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3269 (__ASSUME_SOCKETCALL): Do not define.
3270 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3271 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3272 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3273 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3274 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3275 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3276
5be44ea6
JM
3277 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3278 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3279 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3280 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3281 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3282 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3283 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3284 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3285 (__ASSUME_GETCPU_SYSCALL): Likewise.
3286
d95ffd4c
JM
3287 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3288 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3289 cases for individual architectures.
3290 * sysdeps/gnu/configure: Regenerated.
3291 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3292 LIBC_SLIBDIR_RTLDDIR.
3293 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3294 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3295 LIBC_SLIBDIR_RTLDDIR.
3296 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3298 LIBC_SLIBDIR_RTLDDIR.
3299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3300 Regenerated.
3301 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3302 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3303 file.
3304 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3305 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3306 file.
3307 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3308 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3309 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3310 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3311
29c4f53e
JM
3312 * sysdeps/aarch64/shlib-versions: Move to ...
3313 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3314 * sysdeps/alpha/shlib-versions: Move to ...
3315 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3316 * sysdeps/arm/shlib-versions: Move to ...
3317 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3318 * sysdeps/hppa/shlib-versions: Move all contents except for
3319 libgcc_s entry to ...
3320 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3321 entry from ...
3322 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3323 * sysdeps/ia64/shlib-versions: Move to ...
3324 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3325 entry from ...
3326 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3327 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3328 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3329 * sysdeps/microblaze/shlib-versions: Move to ...
3330 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3331 * sysdeps/mips/shlib-versions: Move to ...
3332 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3333 entry from ...
3334 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3335 * sysdeps/tile/shlib-versions: Move to ...
3336 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3337 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3338 from ...
3339 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3340 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3341 entry from ...
3342 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3343
32bead5b
WN
33442014-07-17 Will Newton <will.newton@linaro.org>
3345
57977c4b
WN
3346 * sysdeps/arm/bits/atomic.h
3347 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3348 (__arch_compare_and_exchange_bool_16_int): Likewise.
3349 (__arch_compare_and_exchange_bool_64_int): Likewise.
3350
32bead5b
WN
3351 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3352 into an #else block.
3353
37fccd41
RM
33542014-07-16 Roland McGrath <roland@hack.frob.com>
3355
3356 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3357 just Linux configurations. Test empirically that the compiler sets
3358 __ARM_EABI__, rather than using the tuple to decide.
3359 * sysdeps/arm/preconfigure: Regenerated.
3360 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3361 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3362 contents appended ...
3363 * sysdeps/arm/configure.ac: ... here.
3364 * sysdeps/arm/configure: Regenerated.
3365
b365f3ec
RM
33662014-07-15 Roland McGrath <roland@hack.frob.com>
3367
8badf496
RM
3368 * nptl/pthread_kill.c: New file.
3369 * nptl/pthread_sigmask.c: New file.
3370 * nptl/pthread_sigqueue.c: New file.
3371
3df6f22e
RM
3372 * sysdeps/nptl/lowlevellock.h: New file.
3373 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3374 * sysdeps/nptl/lowlevellock-futex.h: New file.
3375
b365f3ec
RM
3376 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3377 Remove dead declarations.
3378
f2fef657
L
33792014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3380
3381 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3382 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3383 config-cflags-avx2.
3384 * sysdeps/x86_64/configure.ac: Likewise.
3385 * sysdeps/i386/configure: Regenerated.
3386 * sysdeps/x86_64/configure: Likewise.
3387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3388 memset-avx2 only if config-cflags-avx2 is yes.
3389 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3390 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3391 defined.
3392 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3393 only if HAVE_AVX2_SUPPORT is defined.
3394 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3395
f6c44d47
AM
33962014-07-14 Alan Modra <amodra@gmail.com>
3397
3398 [BZ #17153]
3399 * elf/elf.h (DT_PPC64_NUM): Correct value.
3400 * NEWS: Add to fixed bug list.
3401
7ee03f00
JM
34022014-07-13 Jim Meyering <meyering@fb.com>
3403
3404 [BZ 17150]
3405 regex: don't deref NULL upon heap allocation failure
3406 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3407 failure in one more place.
3408 To trigger the segfault, configure grep -with-included-regex,
3409 build it, and run these commands:
3410 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3411
9d39d517
AS
34122014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3413
3414 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3415
a75b89b7
RH
34162014-07-11 Richard Henderson <rth@redhat.com>
3417
3418 * sysdeps/aarch64/libm-test-ulps: Update.
3419
771eb141
FW
34202014-07-10 Florian Weimer <fweimer@redhat.com>
3421
3422 [BZ #17135]
3423 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3424 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3425 (__nptl_setxid): Initialize error member. Call
3426 __nptl_setxid_error.
3427 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3428 * nptl/descr.h (struct xid_command): Add error member.
3429 * nptl/tst-setuid3.c: New file.
3430 * nptl/Makefile (tests): Add it.
3431
bc1da176
AZ
34322014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3433
3434 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3435 New define.
3436 (__lll_trylock): Use __lll_base_trylock.
3437 (__lll_cond_trylock): Likewise.
3438
887865fc
RM
34392014-07-10 Roland McGrath <roland@hack.frob.com>
3440
c0c6bac9
RM
3441 * nptl/pthread_create.c (start_thread): Use atomic_or and
3442 lll_futex_wake directly rather than lll_robust_dead.
3443 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3444 (lll_robust_dead): Macro removed.
6a42be57 3445 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
3446 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3447 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3448 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3449 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3450 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3451 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3452 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3453 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3454 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3455 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3456 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3457 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3458 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3459 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3460
887865fc
RM
3461 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3462 Use atomic_compare_and_exchange_val_acq directly rather than
3463 lll_robust_trylock.
3464 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3465 (__lll_robust_trylock, lll_robust_trylock): Removed.
3466 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3467 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3468 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3469 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3470 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3471 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3472 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3473 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3474 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3475 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3476 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3477 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3478 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3479 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3480
58536726
FW
34812014-07-02 Florian Weimer <fweimer@redhat.com>
3482
3483 * manual/locale.texi (Locale Names): New section documenting
3484 locale name syntax. Adjust menu and node chaining accordingly.
3485 (Choosing Locale): Reference Locale Names, Locale Categories.
3486 Mention setting LC_ALL=C. Reflect that name syntax is now
3487 documented.
3488 (Locale Categories): New section title. Reference Locale Names.
3489 LC_ALL is an environment variable, but not a category.
3490 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3491 description, now in Locale Name. Reference that section. Locale
3492 name syntax is now documented.
3493
4e8f95a0
FW
34942014-07-02 Florian Weimer <fweimer@redhat.com>
3495
3496 [BZ #17137]
3497 * locale/findlocale.c (name_present, valid_locale_name): New
3498 functions.
3499 (_nl_find_locale): Use the loc_name variable to store name
3500 candidates. Call name_present and valid_locale_name to check and
3501 validate locale names. Return an error if the locale is invalid.
3502
d1836456
FW
35032014-07-02 Florian Weimer <fweimer@redhat.com>
3504
3505 * locale/setlocale.c (setlocale): Use strdup for allocating
3506 composite name copy.
3507
d69b7f5a
SP
35082014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3509
888c679b
SP
3510 Sync up with gnulib.
3511 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3512 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3513 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3514 and _GL_ARG_NONNULL.
3515 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3516 [!_LIBC]: Include code for Windows and Cygwin.
3517 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3518 Include prototype for int strerror_r.
3519 [!_LIBC] (is_open): New function.
3520 (flush_stdout): New function.
3521 (print_errno_message): Use it.
3522 (error): Likewise.
3523 (error_at_line): Likewise.
3524 (error_tail) Add function attribute macros. Use
3525 __builtin_expect.
3526
180e0e4b
SP
3527 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3528
d22f1fe2
SP
3529 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3530
12f2254b
SP
3531 * io/ftw.c: Include sys/param.h unconditionally.
3532
c3c7c360
SP
3533 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3534
d62aa75a
SP
3535 [BZ #17125]
3536 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3537 libc_freeres_ptr.
3538 (freecache): New function to free CACHE on exit.
3539
d69b7f5a
SP
3540 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3541 initialization.
3542
5efe06a1
DM
35432014-07-09 David S. Miller <davem@davemloft.net>
3544
3545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3546
7000d82e
DM
3547 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3548 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3549 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3550 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3551 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3552 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3553 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3554 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3555 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3556 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3557 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3558 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3559 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3560
c213442d
AS
35612014-07-09 Andreas Schwab <schwab@suse.de>
3562
4a2552c3
AS
3563 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3564 output.
3565 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3566 (do_test): Likewise.
3567
c213442d
AS
3568 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3569
82374e65
WN
35702014-07-09 Will Newton <will.newton@linaro.org>
3571
3572 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3573 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3574 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3575 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3576 * sysdeps/hppa/start.S (_start): Likewise.
3577
6680738a
SP
35782014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3579
6ee3eab4
SP
3580 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3581
6680738a
SP
3582 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3583 defined.
3584
80b5c505
SP
35852014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3586
e35c53e3
SP
3587 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3588 after checking that it is non-NULL.
3589
80b5c505
SP
3590 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3591
91f4b564
AZ
35922014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3593
27b75f56
AZ
3594 * sysdeps/powerpc/memmove.c: Remove file.
3595 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3596 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3597 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3598 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3599 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3600 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3601 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3602 string memmove instead of removed powerpc one.
3603
e7f95bb5
AZ
3604 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3605 [weak_alias]: Fix compiler warning due trailing data.
3606 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3607 [weak_alias]: Likewise.
3608 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3609 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3610
91f4b564
AZ
3611 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3612 (__libc_ifunc_impl_list): Add memmove functions.
3613
7c33f1e5
SP
36142014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3615
3616 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3617 Remove code.
3618 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3619 Likewise
3620 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3621 Likewise
3622 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3623 Likewise
3624 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3625 Likewise
3626 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3627 Likewise
3628 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3629 Likewise
3630 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3631 Likewise
3632 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3633 Likewise
3634 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3635 Likewise
3636 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3637 Likewise
3638 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3639 Likewise
3640 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3641 Likewise
3642 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3643 Likewise
3644 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3645 Likewise
3646 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3647 Likewise
3648 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3649 Likewise
3650
3f17b03b
AZ
36512014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3652
87868c24
AZ
3653 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3654 to avoid alignment traps in non-cacheable memory.
3655 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3656
07aedd78
AZ
3657 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3658 multiarch objects.
3659 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3660 file: multiarch power7 memmove.
3661 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3662 multiarch default memmove.
3663 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3664 multiarch memove for powerpc32/power4.
3665
17762f66
AZ
3666 * string/bcopy.c: Use full path to include memmove.c.
3667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3668 multiarch objects.
3669 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3670 bcopy for powerpc64.
3671 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3672 bcopy for powerpc64.
3673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3674 and memmove implementations.
3675 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3676 optimized multiarch memmove for POWER7/powerpc64.
3677 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3678 default multiarch memmove for powerpc64.
3679 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3680 multiarch for powerpc64.
3681 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3682 for POWER7/powerpc64.
3683 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3684 memmove for POWER7/powerpc64.
3685
d6f68bbe
AZ
3686 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3687 glibc default one.
3688
3f17b03b
AZ
3689 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3690 __ELF_NATIVE_CLASS equal to 64.
3691
08192659
RM
36922014-07-07 Roland McGrath <roland@hack.frob.com>
3693
f4c4021b
RM
3694 * sysdeps/nptl/lowlevellock.h: File removed.
3695
f083450f
RM
3696 * NEWS: NPTL is no longer an add-on!
3697 * nptl/internaltypes.h: Moved ...
3698 * sysdeps/nptl/internaltypes.h: ... here.
3699 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3700 * sysdeps/nptl/fork.c: Likewise.
3701 * sysdeps/nptl/gai_misc.h: Likewise.
3702 * sysdeps/nptl/librt-cancellation.c: Likewise.
3703 * sysdeps/nptl/jmp-unwind.c: Likewise.
3704 * sysdeps/nptl/setxid.h: Likewise.
3705 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3706 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3707 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3708 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3709 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3710 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3711 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3712 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3713 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3714 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3715 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3716 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3717 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3718 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3719 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3720 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3721 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3722 * nptl/Makeconfig: Moved ...
3723 * sysdeps/nptl/Makeconfig: ... here.
3724 * nptl/configure: File removed.
3725 * nptl/ANNOUNCE: File removed.
3726 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3727 * sysdeps/unix/sysv/linux/configure: Regenerated.
3728
08192659
RM
3729 * nptl/Makefile (routines): Add libc_pthread_init,
3730 libc_multiple_threads, register-atfork and unregister-atfork.
3731 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3732 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3733 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3734 pthread-pi-defines.sym, structsem.sym.
3735 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3736 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3737 [$(subdir) = nptl] (tests): Add tst-setgetname.
3738 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3739 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3740 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3741 [!LIBC_SIGACTION]: Remove aliases.
3742 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3743 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3744 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3745 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3746 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3747 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3748 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3749 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3750 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3751 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3752 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3753 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3754 __libc_allocate_rtsig_private.
3755 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3756 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3757 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3758 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3759 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3760 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3761 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3762 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3763 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3764 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3765 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3766 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3767 * nptl/internaltypes.h: ... here.
3768 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3769 * sysdeps/nptl/jmp-unwind.c: ... here.
3770 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3771 * nptl/libc-lowlevellock.c: ... here.
3772 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3773 * nptl/libc_multiple_threads.c: ... here.
3774 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3775 * nptl/libc_pthread_init.c: ... here.
3776 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3777 * nptl/lowlevelbarrier.sym: ... here.
3778 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3779 * nptl/lowlevelcond.sym: ... here.
3780 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3781 * nptl/lowlevellock.c: ... here.
3782 * nptl/lowlevellock.h: Moved ...
3783 * sysdeps/nptl/lowlevellock.h: ... here.
3784 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3785 * nptl/lowlevelrobustlock.c: ... here.
3786 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3787 * nptl/lowlevelrobustlock.sym: ... here.
3788 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3789 * nptl/lowlevelrwlock.sym: ... here.
3790 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3791 * nptl/pt-fork.c: ... here.
3792 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3793 * nptl/pthread-pi-defines.sym: ... here.
3794 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3795 * nptl/pthread_attr_getaffinity.c: ... here.
3796 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3797 * nptl/pthread_attr_setaffinity.c: ... here.
3798 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3799 * nptl/pthread_mutex_cond_lock.c: ... here.
3800 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3801 Update #include.
3802 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3803 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3804 * nptl/pthread_once.c: ... here, replacing old file.
3805 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3806 * nptl/pthread_yield.c: ... here.
3807 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3808 * nptl/register-atfork.c: ... here.
3809 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3810 * nptl/sem_post.c: ... here.
3811 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3812 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3813 * nptl/sem_timedwait.c: ... here.
3814 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3815 * nptl/sem_trywait.c: ... here.
3816 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3817 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3818 * nptl/sem_wait.c: ... here.
3819 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3820 * nptl/structsem.sym: ... here.
3821 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3822 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3823 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3824 * nptl/unregister-atfork.c: ... here.
3825 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3826 * nptl/unwindbuf.sym: ... here.
3827 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3828 * sysdeps/nptl/fork.c: ... here.
3829 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3830 * sysdeps/nptl/fork.h: ... here.
3831 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3832 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3833 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3834 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3835 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3836 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3837 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3838 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3839 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3840 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3841 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3842 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3843 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3844 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3845 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3846 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3847 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3848 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3849 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3850 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3851 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3852 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3853 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3854 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3855 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3856 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3857 * sysdeps/unix/sysv/linux/raise.c: ... here.
3858 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3859 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3860 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3861 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3862 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3863 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3864 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3865 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3866 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3867 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3868 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3869 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3870 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3871 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3872 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3873
96baf6ff
SP
38742014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3875
3876 * sysdeps/generic/memcopy.h: Add comment for
3877 MEMCPY_OK_FOR_FWD_MEMMOVE.
3878
6b7b14b2
WN
38792014-07-04 Will Newton <will.newton@linaro.org>
3880
1570a72b
WN
3881 * string/memchr.c: Merge from gnulib.
3882 [_LIBC]: Remove conditionals.
3883 (__ptr_t): Remove define.
3884 (LONG_MAX_32_BITS): Likewise.
3885 (LONG_MAX): Likewise.
3886 (MEMCHR): Use ANSI prototype and optimize algorithm.
3887
6b7b14b2
WN
3888 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3889
38851324
SP
38902014-07-03 Roland McGrath <roland@hack.frob.com>
3891
3d9eb57c
RM
3892 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3893 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3894
78b984ae
RM
3895 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3896 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3897 in a bare environment with no <stdlib.h> installed.
3898 * sysdeps/nptl/configure: Regenerated.
3899
2d5976a5
RM
3900 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3901
c1f5acd4
RM
3902 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3903 AC_EGREP_CPP for kernel header checks, so they only succeed if
3904 including <linux/version.h> actually works right.
3905 * sysdeps/unix/sysv/linux/configure: Regenerated.
3906
4d614fe5
RM
3907 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3908 value so it's not diagnosed as unused.
3909
38851324
SP
3910 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3911 thing) with "ifeq ($(subdir),rt)".
3912
b3ec00e5
RH
39132014-07-03 Richard Henderson <rth@redhat.com>
3914
69862e25
RH
3915 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3916 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3917 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3918
d5e16ade
RH
3919 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3920 (math_force_eval): New.
3921
ca7b945c
RH
3922 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3923 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3924
cd1175a3
RH
3925 * sysdeps/alpha/fpu/s_round.c: Remove file.
3926 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3927
b3ec00e5
RH
3928 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3929 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3930 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3931 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3932 (_dl_start, print_statistics): Likewise.
3933 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3934 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3935
3936 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3937 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3938 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3939 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3940 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3941 (HP_SMALL_TIMING_AVAIL): Define.
3942 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3943 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3944 (HP_SMALL_TIMING_AVAIL): Define.
3945 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3946 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3947
3948 * sysdeps/aarch64/hp-timing.h: New file.
3949
3950 * sysdeps/generic/hp-timing.h: Remove dead comment.
3951 * sysdeps/generic/hp-timing-common.h: New file.
3952 * sysdeps/alpha/hp-timing.h: Include it.
3953 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3954 * sysdeps/i386/i686/hp-timing.h: Likewise.
3955 * sysdeps/ia64/hp-timing.h: Likewise.
3956 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3957 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3958 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3959 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3960 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3961 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3962 (hp_timing_t): New.
3963
3964 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3965 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3966 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3967 * elf/rtld.c (_dl_start_final): Likewise.
3968 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3969 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3970 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3971 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3972 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3973 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3974 (HP_TIMING_DIFF_INIT): Remove.
3975 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3976 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3977 (HP_TIMING_DIFF_INIT): Remove.
3978 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3979 * sysdeps/i386/i686/hp-timing.c: Remove file.
3980 * sysdeps/x86_64/hp-timing.c: Remove file.
3981 * sysdeps/ia64/hp-timing.c: Remove file.
3982 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3983 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3984 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3985 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3986
3987 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3988 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3989 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3990 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3991 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3992 (HP_TIMING_ACCUM): Remove.
3993 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3994 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3995 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3996
3997 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3998 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3999 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4000 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4001 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4002 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4003 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4004 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4005
4006 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4007
225f410f
MR
40082014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4009
4010 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4011
3247f285
SP
40122014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4013
4014 Sync up with gettext.
4015 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4016 [_MSC_VER]: Include malloc.h
4017 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4018 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4019 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4020 TEMP_FAILURE_RETRY. Cast return of alloca.
4021 [!_LIBC] Call gl_rwlock_init.
4022 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4023
d12704c7
SP
40242014-07-02 Roland McGrath <roland@hack.frob.com>
4025
4026 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4027 before checking its value.
4028
99f8dc92
SP
40292014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4030
05fdac77
SP
4031 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4032
99f8dc92
SP
4033 * debug/memcpy_chk.c: Don't include pagecopy.h.
4034 * debug/mempcpy_chk.c: Likewise.
4035 * string/memcpy.c: Likewise.
4036 * string/memmove.c: Likewise.
4037 * sysdeps/powerpc/memmove.c: Likewise.
4038 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4039 definition of PAGE_COPY_FWD_MAYBE here...
4040 * sysdeps/generic/pagecopy.h: ... from here.
4041 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4042
bc8ea385
VR
40432014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4044 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4045
4046 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4048 optimizations.
4049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4050 (__libc_ifunc_impl_list): Likewise.
4051 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4052 multiarch strcat for PPC64.
4053 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4054 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4055
fe5f34e4
RM
40562014-07-02 Roland McGrath <roland@hack.frob.com>
4057
4058 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4059
256aa665
SP
40602014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4061
d4eb8195
SP
4062 * intl/loadmsgcat.c: Remove declaration of
4063 get_sysdep_segment_value.
4064 (get_sysdep_segment_value): Use ISO C style.
4065 (_nl_load_domain): Use ISO C style. Get rid of redundant
4066 semicolon. Fix typo and formatting in comment.
4067 (_nl_unload_domain): Use ISO C style.
4068
256aa665
SP
4069 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4070
b100f9aa
WN
40712014-07-02 Will Newton <will.newton@linaro.org>
4072
4073 * malloc/obstack.c: Merge from gnulib master.
4074 [HAVE_CONFIG_H]: Remove conditional code.
4075 [!_LIBC]: Include config.h.
4076 [!ELIDE_CODE]: Don't include inttypes.h, include
4077 stdint.h unconditionally.
4078 (print_and_abort): Mark as _Noreturn.
4079 (_obstack_allocated_p): Mark as __attribute_pure__.
4080 (obstack_free): Rename to __obstack_free.
4081 [!__attribute__]: Remove conditional code.
4082 * malloc/obstack.h: Merge from gnulib master.
4083 [__cplusplus]: Move conditional down.
4084 [!__attribute_pure__]: Define __attribute_pure__ here
4085 if it is not already defined.
4086 (_obstack_memory_used): Mark as __attribute_pure__.
4087 [!__obstack_free]: Define as obstack_free.
4088 [__GNUC__]: Remove check for ancient NeXT gcc.
4089
c4c41244
PE
40902014-07-02 Will Newton <will.newton@linaro.org>
4091 Paul Eggert <eggert@cs.ucla.edu>
4092
4093 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4094
e1e041c4
SP
40952014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4096
4097 * resolv/gethnamaddr.c: Add comment warning that the file is
4098 not maintained.
4099
ccf431ff
CD
41002014-07-01 Carlos O'Donell <carlos@redhat.com>
4101
d34570a6
CD
4102 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4103 entries.
4104
ccf431ff
CD
4105 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4106 entry for aio_cancel and aio_cancel64.
4107 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4108 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4109 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4110 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4111 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4112 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4113 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4114 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4115 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4116 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4117 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4118 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4119 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4120
ca06321d
RM
41212014-07-01 Roland McGrath <roland@hack.frob.com>
4122
4123 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4124 * nptl/pthread_mutex_lock.c: Likewise.
4125 * nptl/pthread_mutex_timedlock.c: Likewise.
4126 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4127
a1ac3184
RH
41282014-07-01 Richard henderson <rth@redhat.com>
4129
631021e0
RH
4130 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4131 (__isnan, __isnanl): Remove.
4132 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4133
a1ac3184
RH
4134 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4135
0c1d731f
SL
41362014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4137
4138 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4139
76985d3e
SP
41402014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4141
4142 * resolv/nss_dns/dns-host.c (getanswer_r)
4143 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4144
b0cb3096
JM
41452014-07-01 Joseph Myers <joseph@codesourcery.com>
4146
4147 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4148 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4149 undefine.
4150 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4151 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4152
4d76cb39
RM
41532014-07-01 Roland McGrath <roland@hack.frob.com>
4154
4155 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4156 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4157
4158 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4159 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4160
4161 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4162 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4163 ... here.
4164 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4165 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4166
4167 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4168 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4169 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4170 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4171
4172 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4173 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4174 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4175 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4176 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4177 Moved ...
4178 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4179 ... here.
4180 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4181 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4182 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4183 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4184 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4185 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4186 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4187 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4188 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4189 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4190 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4191 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4192 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4193 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4194 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4195 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4196 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4197 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4198 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4199 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4200 ... here.
4201 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4202 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4203 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4204 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4205 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4206 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4207 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4208 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4209
0cdcad17
DH
42102014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4211
4212 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4213 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4214 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4215 Add sysdep.
4216
9b71d0e3
AZ
42172014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4218
4219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4220
665390c2
JM
42212014-06-30 Joseph Myers <joseph@codesourcery.com>
4222
ae05a9d7
JM
4223 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4224 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4225
a7672a2f
JM
4226 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4227
665390c2
JM
4228 * sysdeps/arm/libm-test-ulps: Regenerated.
4229
d7a05d07
MR
42302014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4231 Roland McGrath <roland@hack.frob.com>
4232
4233 * test-skeleton.c (signal_handler): Kill the whole process group
4234 before killing the child individually.
4235 (main): Report any failure on `setpgid'.
4236
46f1d8a6
RM
42372014-06-30 Roland McGrath <roland@hack.frob.com>
4238
4239 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4240 from _TLS_H to _ARM_NPTL_TLS_H.
4241 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4242 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4243
9c37ec0b
JM
42442014-06-30 Joseph Myers <joseph@codesourcery.com>
4245
ce9c5b3e
JM
4246 [BZ #16539]
4247 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4248 (__expm1l): Return argument unchanged when small but not
4249 subnormal.
4250
3a6e9887
JM
4251 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4252 include macro name.
4253 (_FP_UNPACK_RAW_1_P): Likewise.
4254 (_FP_PACK_RAW_1): Likewise.
4255 (_FP_PACK_RAW_1_P): Likewise.
4256 (_FP_MUL_MEAT_1_wide): Likewise.
4257 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4258 (_FP_MUL_MEAT_1_hard): Likewise.
4259 (_FP_DIV_MEAT_1_imm): Likewise.
4260 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4261 (_FP_DIV_MEAT_1_udiv): Likewise.
4262 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4263 (_FP_UNPACK_RAW_2): Likewise.
4264 (_FP_UNPACK_RAW_2_P): Likewise.
4265 (_FP_PACK_RAW_2): Likewise.
4266 (_FP_PACK_RAW_2_P): Likewise.
4267 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4268 (_FP_MUL_MEAT_2_wide): Likewise.
4269 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4270 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4271 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4272 (_FP_MUL_MEAT_2_gmp): Likewise.
4273 (_FP_DIV_MEAT_2_udiv): Likewise.
4274 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4275 (_FP_FRAC_SRL_4): Likewise.
4276 (_FP_FRAC_SRST_4): Likewise.
4277 (_FP_FRAC_SRS_4): Likewise.
4278 (_FP_UNPACK_RAW_4): Likewise.
4279 (_FP_UNPACK_RAW_4_P): Likewise.
4280 (_FP_PACK_RAW_4): Likewise.
4281 (_FP_PACK_RAW_4_P): Likewise.
4282 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4283 (_FP_MUL_MEAT_4_wide): Likewise.
4284 (_FP_MUL_MEAT_4_gmp): Likewise.
4285 (umul_ppppmnnn): Likewise.
4286 (_FP_DIV_MEAT_4_udiv): Likewise.
4287 (__FP_FRAC_ADD_4): Likewise.
4288 (__FP_FRAC_SUB_3): Likewise.
4289 (__FP_FRAC_SUB_4): Likewise.
4290 (__FP_FRAC_DEC_3): Likewise.
4291 (__FP_FRAC_DEC_4): Likewise.
4292 (__FP_FRAC_ADDI_4): Likewise.
4293 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4294 (_FP_FRAC_SRL_8): Likewise.
4295 (_FP_FRAC_SRS_8): Likewise.
4296
9c37ec0b
JM
4297 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4298 include macro name.
4299 (FP_UNPACK_RAW_EP): Likewise.
4300 (FP_PACK_RAW_E): Likewise.
4301 (FP_PACK_RAW_EP): Likewise.
4302 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4303 (_FP_ISSIGNAN): Likewise.
4304 (_FP_ADD_INTERNAL): Likewise.
4305 (_FP_FMA): Likewise.
4306 (_FP_CMP): Likewise.
4307 (_FP_SQRT): Likewise.
4308 (_FP_TO_INT): Likewise.
4309 (_FP_FROM_INT): Likewise.
4310 (FP_EXTEND): Likewise.
4311 (_FP_DIV_MEAT_N_loop): Likewise.
4312
2125f674
MR
43132014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4314
4315 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4316 throughout.
4317
edea4028
JM
43182014-06-29 Joseph Myers <joseph@codesourcery.com>
4319
4320 [BZ #17097]
4321 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4322 result with correct sign in case of exponents that produce
4323 overflow except for X very close to 1.
4324
dd0ba018
PE
43252014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4326
4327 mktime: merge #if/#ifdef usage from glibc
4328 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4329 as that works with both Glibc's and Gnulib's style.
4330 See thread starting at Siddhesh Poyarekar's bug report at:
4331 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4332
64df73c2
SP
43332014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4334
4335 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4336 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4337 * sysdeps/tile/tilegx/memmove.c: Remove file.
4338
f1eafb41
JM
43392014-06-27 Joseph Myers <joseph@codesourcery.com>
4340
4341 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4342 abi-name definition.
4343 * scripts/soversions.awk: Do not handle or generate ABI lines.
4344 * shlib-versions: Remove ABI entries.
4345 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4346 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4347
58eb0862
RM
43482014-06-27 Roland McGrath <roland@hack.frob.com>
4349
37caf178
RM
4350 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4351 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4352 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4353 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4354 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4355 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4356 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4357 Moved ...
4358 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4359 ... here.
4360 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4361 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4362 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4363 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4364 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4365 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4366 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4367 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4369 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4370 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4371 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4372 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4373 Moved ...
4374 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4375 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4376 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4377 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4378 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4379 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4380 Moved ...
4381 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4382 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4383 Moved ...
4384 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4385 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4386 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4387 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4388 Moved ...
4389 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4390 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4391 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4392 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4393 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4394 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4395 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4396 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4397 Moved ...
4398 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4399 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4400 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4401 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4402 Moved ...
4403 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4404 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4405 Moved ...
4406 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4407 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4408 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4409 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4410 Moved ...
4411 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4412 ... here.
4413 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4414 Identical file removed.
4415 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4416 Moved ...
4417 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4418 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4419 Identical file removed.
4420 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4421 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4422 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4423 Moved ...
4424 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4425 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4426 Identical file removed.
4427 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4428 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4429 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4430 Identical file removed.
4431 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4432 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4433 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4434 Identical file removed.
4435 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4436 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4437 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4438 Identical file removed.
4439 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4440 Moved ...
4441 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4442 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4443 Identical file removed.
4444 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4445 Moved ...
4446 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4447 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4448 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4449 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4450 Identical file removed.
4451 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4452 Moved ...
4453 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4454 ... here.
4455 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4456 Identical file removed.
4457 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4458 Moved ...
4459 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4460 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4461 Identical file removed.
4462 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4463 Moved ...
4464 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4465 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4466 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4467 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4468 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4469 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4470 Moved ...
4471 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4472 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4473 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4474
58eb0862
RM
4475 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4476 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4477 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4478 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4479 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4480
6f12d062
AS
44812014-06-27 Arjun Shankar <arjun.is@lostca.se>
4482
4483 [BZ #17092]
4484 * nscd/nscd.c (monitor_child): Return exit status of child
4485 instead of return value from wait syscall.
4486
be254932
JM
44872014-06-27 Joseph Myers <joseph@codesourcery.com>
4488
cb403c34
JM
4489 * configure.ac (libc_commonpagesize): Remove variable.
4490 (libc_relro_required): Likewise.
4491 (libc_cv_z_relro): Remove configure test.
4492 * configure: Regenerated.
4493 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4494 variable.
4495 (libc_relro_required): Likewise.
4496 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4497 (libc_relro_required): Likewise.
4498 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4499 (libc_relro_required): Likewise.
4500 * sysdeps/arm/preconfigure: Regenerated.
4501 * sysdeps/ia64/preconfigure: Remove file.
4502 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4503 variable.
4504 (libc_relro_required): Likewise.
4505
be254932
JM
4506 [BZ #16561]
4507 [BZ #16562]
4508 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4509 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4510 recompute overflowing results in original rounding mode.
4511 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4512 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4513 recompute overflowing results in original rounding mode.
4514 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4515 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4516 recompute overflowing results in original rounding mode.
4517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4518 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4519 recompute overflowing results in original rounding mode.
4520 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4521 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4522 recompute overflowing results in original rounding mode.
4523 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4524 (libc_feholdsetround_ctx): New macro.
4525 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4526 * sysdeps/i386/fpu/libm-test-ulps: Update.
4527 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4528
b351d85a
JM
45292014-06-26 Joseph Myers <joseph@codesourcery.com>
4530
4531 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4532 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4533 corresponding .cpsetup call.
4534
3cb4de47
RM
45352014-06-26 Roland McGrath <roland@hack.frob.com>
4536
4537 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4538 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4539 * sysdeps/arm/Makefile [$(subdir) = csu]
4540 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4541 (static-only-routines): Add aeabi_read_tp here.
4542 (shared-only-routines): Add libc-aeabi_read_tp here.
4543 (CFLAGS-libc-start.c): Add -fexceptions here.
4544 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4545 (sysdep_routines, static-only-routines, shared-only-routines):
4546 Don't add to these here.
4547 (CFLAGS-libc-start.c): Likewise.
4548
4549 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4550 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4551 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4552 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4553 * sysdeps/arm/Makefile [$(subdir) = rt]
4554 (librt-sysdep_routines, librt-shared-only-routines):
4555 Append rt-aeabi_unwind_cpp_pr1 here.
4556 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4557 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4558 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4559 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4560 Append nptl-aeabi_unwind_cpp_pr1 here.
4561 (tests): Filter out tst-cleanupx4 here.
4562 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4563 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4564 Don't do those here.
4565
354426bb
JM
45662014-06-26 Joseph Myers <joseph@codesourcery.com>
4567
4568 * scripts/list-sources.sh: Do not handle ports specially.
4569
28b0a8c9
RM
45702014-06-26 Roland McGrath <roland@hack.frob.com>
4571
a3dd035d
RM
4572 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4573 * sysdeps/arm/feupdateenv.c: Likewise.
4574
28b0a8c9
RM
4575 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4576
e66a8203
JM
45772014-06-26 Joseph Myers <joseph@codesourcery.com>
4578
4579 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4580 trailing whitespace removed.
4581 * scripts/config.guess: Update to version 2014-03-23.
4582 * scripts/config.sub: Update to version 2014-05-01
4583 * scripts/install-sh: Update to version 2013-12-25.23.
4584 * scripts/move-if-change: Update from gnulib.
4585
74171115
SP
45862014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4587
b97c9ce5
SP
4588 * debug/memmove_chk.c: Remove pagecopy.h include.
4589
4000f892
SP
45902014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4591
74171115
SP
4592 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4593 identical to gnulib mktime.
4594
a8779c28
JM
45952014-06-26 Joseph Myers <joseph@codesourcery.com>
4596
e64708de
JM
4597 * configure.ac: Do not test for machine being rs6000. Do not test
4598 for powerpc*-*soft.
4599 * configure: Regenerated.
4600
a8779c28
JM
4601 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4602 test.
4603 * configure: Regenerated.
4604 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4605 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4606 Remove configure test.
4607 * sysdeps/arm/configure: Regenerated.
4608 * sysdeps/nptl/configure.ac: Do not check
4609 libc_cv_asm_cfi_directives.
4610 * sysdeps/nptl/configure: Regenerated.
4611 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4612 * sysdeps/x86_64/nptl/configure: Remove generated file.
4613 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4614 unconditional.
4615 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4616
2aac0a86
SP
46172014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4618
059bf913
SP
4619 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4620 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4621 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4622 it is defined.
4623
4cf5b6d0
SP
4624 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4625 instead of whether it is defined.
4626 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4627 * sysdeps/hppa/dl-machine.h: Likewise.
4628 * sysdeps/ia64/dl-machine.h: Likewise.
4629 * sysdeps/m68k/dl-machine.h: Likewise.
4630 * sysdeps/microblaze/dl-machine.h: Likewise.
4631 * sysdeps/mips/dl-machine.: Likewise.
4632 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4633 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4634 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4635 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4636 * sysdeps/sh/dl-machine.h: Likewise.
4637 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4638 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4639 * sysdeps/tile/dl-machine.h: Likewise.
4640 * sysdeps/x86_64/dl-machine.h: Likewise.
4641
2aac0a86
SP
4642 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4643 code.
4644 (verify_persistent_db): Likewise.
4645
6ad2df0b
RM
46462014-06-26 Roland McGrath <roland@hack.frob.com>
4647
d8a483f3
RM
4648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4649 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4651 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4653 Moved ...
4654 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4655 ... here.
4656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4657 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4659 Identical file removed.
4660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4661 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4663 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4665 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4667 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4669 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4671 Moved ...
4672 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4674 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4676 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4678 Moved ...
4679 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4681 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4683 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4685 Identical file removed.
4686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4687 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4689 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4691 Moved ...
4692 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4693 ... here.
4694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4695 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4697 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4699 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4701 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4703 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4705 Moved ...
4706 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4708 Moved ...
4709 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4711 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4713 Moved ...
4714 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4716 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4717
52ae23b4
RM
4718 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4719 folded into ...
4720 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4721 * sysdeps/unix/sysv/linux/s390/Versions
4722 (libpthread: GLIBC_2.19): New version set.
4723 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4724 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4725 (librt: GLIBC_2.3.3): New version set.
4726 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4727 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4728 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4729 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4730 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4731 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4732 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4733 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4734 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4735 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4736 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4737 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4738 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4739 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4740 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4741 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4742 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4743 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4744 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4745 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4746 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4747 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4748 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4749 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4750 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4751 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4752 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4753 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4754 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4755 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4756 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4757 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4758 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4759 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4760 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4761 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4762 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4763 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4764 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4765 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4766 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4767 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4768 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4769 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4770 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4771
39507e4a
RM
4772 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4773 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4774 (__libc_vfork): Define the function under this name.
4775 [!NOT_IN_libc] (__vfork): Make this an alias.
4776 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4777 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4778 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4779 (__libc_vfork): Define the function under this name.
4780 [!NOT_IN_libc] (__vfork): Make this an alias.
4781 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4782 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4783 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4784 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4785 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4786 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4787
e549ee56
RM
4788 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4789 code that was previously under [RESET_PID].
4790 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4791 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4792 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4793
6ad2df0b
RM
4794 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4795 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4796 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4797 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4798 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4799 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4800 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4801 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4802 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4803 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4804 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4805 Moved ...
4806 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4807 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4808 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4809 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4810 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4811 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4812 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4813 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4814 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4815 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4816 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4817 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4818 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4819 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4820 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4821 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4822 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4823 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4824 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4825 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4826 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4827 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4828 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4829 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4830 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4831 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4832 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4833 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4834 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4835
7c1c1d8e
RM
48362014-06-25 Roland McGrath <roland@hack.frob.com>
4837
4838 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4839 that was previously under [RESET_PID].
4840 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4841
3e239be6
JM
48422014-06-25 Joseph Myers <joseph@codesourcery.com>
4843
74385da5
JM
4844 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4845 not undefine and redefine.
4846 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4847 [O_CLOEXEC]: Make code unconditional.
4848 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4849 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4850 <kernel-features.h>.
4851 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4852 conditional variable definition.
4853 (shm_open) [O_CLOEXEC]: Make code unconditional.
4854 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4855 code.
4856
c2570a0b
JM
4857 * configure.ac (USE_REGPARMS): Don't define here.
4858 * configure: Regenerated.
4859 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4860 * sysdeps/i386/configure: Regenerated.
4861
11b076bb
JM
4862 * nptl/createthread.c: Don't include kernel-features.h.
4863 * nptl/pthread_cancel.c: Likewise.
4864 * nptl/pthread_condattr_setclock.c: Likewise.
4865 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4866 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4867 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4868 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4869 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4870 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4871 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4872 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4873 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4874 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4875 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4876 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4877 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4878 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4879 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4880 * nscd/gai.c: Likewise.
4881 * nss/nss_db/db-open.c: Likewise.
4882 * sysdeps/generic/ldsodefs.h: Likewise.
4883 * sysdeps/sh/nptl/tls.h: Likewise.
4884 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4885 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4886 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4887 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4888 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4889 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4890 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4891 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4892 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4893 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4894 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4895 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4896 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4897 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4898 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4899 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4900 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4901 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4902 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4903 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4904 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4905 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4906 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4907 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4908 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4909 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4910 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4911 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4912 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4913 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4914 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4915 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4916 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4917 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4918 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4919 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4920 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4921 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4922 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4923 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4924 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4925 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4926 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4927 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4928 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4929 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4930 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4931 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4932 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4933 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4934 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4935 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4936 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4937 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4938 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4939 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4940 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4941 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4964 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4965 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4966 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4967 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4968 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4969 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4970 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4971 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4972 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4973 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4974 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4975 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4976 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4977 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4978 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4979 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4980 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4981 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4982 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4983 * sysdeps/unix/sysv/linux/system.c: Likewise.
4984 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4985 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4986 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4987 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4988 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4989 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4990 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4991
92072d57
JM
4992 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4993 * configure: Regenerated.
4994 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4995
3e239be6
JM
4996 * configure.ac (base_machine): Do not set specially for particular
4997 machines here.
4998 * configure: Regenerated.
4999 * sysdeps/powerpc/preconfigure: Move machine and base_machine
5000 settings from configure.ac.
5001 * sysdeps/i386/preconfigure: New file.
5002 * sysdeps/s390/preconfigure: Likewise.
5003 * sysdeps/sh/preconfigure: Likewise.
5004 * sysdeps/sparc/preconfigure: Likewise.
5005
06d50baa
RM
50062014-06-25 Roland McGrath <roland@hack.frob.com>
5007
74836003
RM
5008 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5009 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5010 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5011 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5012 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5013 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5014 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5015 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5016 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5017 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5018 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5019 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5020 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5021 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5022 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5023 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5024 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5025 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5026 * sysdeps/sparc/sparc64/Makefile: ... appended here.
5027
5028 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5029 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5030 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5031 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5032 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5033 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5034 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5035 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5036 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5037 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5038 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5039 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5040 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5041 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5042 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5043 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5044 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5045 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5046 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5047 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5048 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5049 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5050 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5051 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5052 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5053 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5054 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5055 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5056 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5057 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5058 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5059 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5060 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5061 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5062 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5063 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5064 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5065 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5066
06d50baa
RM
5067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5068 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5070 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5072 Moved ...
5073 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5074 ... here.
5075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5076 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5078 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5080 Moved ...
5081 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5083 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5085 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5087 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5089 Moved ...
5090 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5092 Moved ...
5093 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5095 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5097 Moved ...
5098 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5100 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5102 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5104 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5106 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5108 Moved ...
5109 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5110 ... here.
5111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5112 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5114 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5116 Moved ...
5117 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5119 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5121 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5123 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5125 Moved ...
5126 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5128 Moved ...
5129 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5131 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5133 Moved ...
5134 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5136 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5138 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5139
a4ccbc9b
JM
51402014-06-25 Joseph Myers <joseph@codesourcery.com>
5141
0828edbf
JM
5142 * timezone/checktab.awk: Update from tzcode 2014e.
5143 * timezone/private.h: Likewise.
5144 * timezone/tzfile.h: Likewise.
5145 * timezone/zdump.c: Likewise.
5146 * timezone/zic.c: Likewise.
5147
a4ccbc9b
JM
5148 * sysdeps/unix/sysv/linux/kernel-features.h
5149 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5150 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5151 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5152 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5153 Remove conditional code.
5154
9aea0cb8
WN
51552014-06-25 Will Newton <will.newton@linaro.org>
5156
5157 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5158 (_dl_arm_cap_flags): Add HWCAP2 values.
5159 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5160 (_DL_HWCAP_COUNT): Increase to 37.
5161 (_DL_HWCAP_LAST): New define.
5162 (_DL_HWCAP2_LAST): New define.
5163 (_dl_procinfo): Add support for printing
5164 AT_HWCAP2 entries.
5165 (_dl_string_hwcap): Use _dl_hwcap_string.
5166
6eaa65ce
AZ
51672014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5168
5169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5170
0f5b7185
JM
51712014-06-25 Joseph Myers <joseph@codesourcery.com>
5172
cfd2ea50
JM
5173 * README: Do not mention ports directory.
5174
cecf2ed4
JM
5175 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5176 Remove macro.
5177 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5178 <kernel-features.h>.
5179 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5180 conditional variable definition.
5181 (__futimes): Update comment.
5182 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5183 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5184
a638de82
JM
5185 [BZ #16560]
5186 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5187 arguments close to 0.
5188 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5189 Likewise.
5190 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5191 Likewise.
5192 * math/auto-libm-test-in: Add more tests of exp10.
5193 * math/auto-libm-test-out: Regenerated.
5194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5195
0f5b7185
JM
5196 * sysdeps/unix/sysv/linux/kernel-features.h
5197 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5198 * sysdeps/unix/sysv/linux/readv.c: Do not include
5199 <kernel-features.h>.
5200 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5201 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5202 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5203 unconditional.
5204 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5205 conditional code.
5206 * sysdeps/unix/sysv/linux/writev.c: Do not include
5207 <kernel-features.h>.
5208 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5209 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5210 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5211 unconditional.
5212 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5213 conditional code.
5214
c7aec4be
WN
52152014-06-25 Will Newton <will.newton@linaro.org>
5216
5217 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5218 comment changes throughout the file. Remove checks
5219 for HAVE_*_H definitions that are not required.
5220 (__gen_tempname): Call abort if an unknown kind value is
5221 passed.
5222
c5241f95
AS
52232014-06-25 Andreas Schwab <schwab@suse.de>
5224
5225 [BZ #17086]
5226 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5227 scalbln, scalblnf, scalblnl in libc.
5228
911422da
SP
52292014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5230
5231 [BZ #17086]
5232 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5233 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5234 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5235
0d749bbe
RM
52362014-06-24 Roland McGrath <roland@hack.frob.com>
5237
5238 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5239 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5240 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5241 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5242 Update #include.
5243 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5244 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5245 Update #include.
5246 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5247 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5248 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5249 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5250 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5251 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5252 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5253 * sysdeps/x86/bits/semaphore.h: ... here.
5254 * sysdeps/x86/nptl/elide.h: Moved ...
5255 * sysdeps/x86/elide.h: ... here.
5256 * sysdeps/x86_64/nptl/Implies: File removed.
5257 * sysdeps/i386/nptl/Implies: File removed.
5258
0ea5d373
JM
52592014-06-24 Joseph Myers <joseph@codesourcery.com>
5260
4060283d
JM
5261 [BZ #16539]
5262 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5263 return the argument for normal arguments with exponent below -64.
5264 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5265 Likewise.
5266 * math/auto-libm-test-in: Add another test of expm1.
5267 * math/auto-libm-test-out: Regenerated.
5268
e7dd3c8c
JM
5269 [BZ #16287]
5270 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5271 calling __erfcl for arguments at least 16.
5272 * math/auto-libm-test-in: Add more tests of erf.
5273 * math/auto-libm-test-out: Regenerated.
5274
0ea5d373
JM
5275 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5276 individual architectures.
5277 * sysdeps/unix/sysv/linux/configure: Regenerated.
5278 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5279 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5280 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5281 (ldd_rewrite_script): Define variable.
5282 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5284 file.
5285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5286 generated file.
5287 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5288 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5289 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5290 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5291 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5292 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5293 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5294 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5295
2307e126
SP
52962014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5297
5298 [BZ #17084]
5299 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5300 Rename member __data.d to __data.__elision_data.
5301
c0a4ed77
W
53022014-06-24 Wilco <wdijkstr@arm.com>
5303
5304 * NEWS: Add 16918 to fixed bug list.
5305
b8c00573
W
53062014-06-24 Wilco <wdijkstr@arm.com>
5307
5308 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5309
b5570d92
W
53102014-06-24 Wilco <wdijkstr@arm.com>
5311
5312 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5313 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5314 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5315 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5316 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5317 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5318 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5319 Use _FPU_MASK_RM.
5320
947bdca2
W
53212014-06-24 Wilco <wdijkstr@arm.com>
5322
5323 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5324
00f669ed
W
53252014-06-24 Wilco <wdijkstr@arm.com>
5326
5327 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5328 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5329 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5330 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5331
db59bad3
W
53322014-06-24 Wilco <wdijkstr@arm.com>
5333
5334 [BZ #16918]
5335 * sysdeps/arm/feupdateenv.c (feupdateenv):
5336 Rewrite to reduce FPSCR accesses and fix return value.
5337
001f7b77
W
53382014-06-24 Wilco <wdijkstr@arm.com>
5339
5340 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5341 Optimize to avoid unnecessary FPSCR writes.
5342 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5343 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5344 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5345 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5346
4841e6a6
W
53472014-06-24 Wilco <wdijkstr@arm.com>
5348
5349 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5350 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5351 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5352 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5353 Call libc_fetestexcept_vfp.
5354 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5355 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5356 __SOFTFP__ ifdef so that they can be built for softfp.
5357
0813022c
SP
53582014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5359
08e5862f
SP
5360 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5361 argument type signed char.
5362
0813022c
SP
5363 * Makerules (check-abi): Dump diff of symlist if the test
5364 fails.
5365
3fc7236a
RM
53662014-06-23 Roland McGrath <roland@hack.frob.com>
5367
aba8ef95
RM
5368 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5369 using abort.
5370
3fc7236a
RM
5371 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5372 Remove unused variable ST.
5373
4da6db51
JM
53742014-06-23 Joseph Myers <joseph@codesourcery.com>
5375
4648909d
JM
5376 [BZ #16354]
5377 [BZ #17061]
5378 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5379 small arguments before calling __expm1.
5380 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5381 small arguments before calling __expm1f.
5382 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5383 small arguments before calling __expm1l.
5384 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5385 Likewise.
5386 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5387 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5388 spurious underflow for some cosh tests.
5389 * math/auto-libm-test-out: Regenerated.
5390 * sysdeps/i386/fpu/libm-test-ulps: Update.
5391
46a3d3c7
JM
5392 [BZ #17050]
5393 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5394 (__ieee754_y1): Set errno if return value overflows.
5395 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5396 (__ieee754_y1f): Set errno if return value overflows.
5397 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5398 (__ieee754_y1l): Set errno if return value overflows.
5399 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5400 (__ieee754_y1l): Set errno if return value overflows.
5401 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5402 * math/auto-libm-test-out: Regenerated.
5403
863893ec
JM
5404 * math/gen-auto-libm-tests.c: Document use of
5405 ignore-zero-inf-sign.
5406 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5407 (input_flags): Add ignore-zero-inf-sign.
5408 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5409 * math/gen-libm-test.pl (generate_testfile): Handle
5410 ignore-zero-inf-sign.
5411 * math/auto-libm-test-in: Mark some cpow tests with
5412 ignore-zero-inf-sign and some with xfail-rounding.
5413 * math/auto-libm-test-out: Regenerated.
5414 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5415 * sysdeps/i386/fpu/libm-test-ulps: Update.
5416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5417
4da6db51
JM
5418 [BZ #16315]
5419 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5420 overflowing or underflowing operations take place with sign of
5421 result.
5422 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5423 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5424 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5425 (__ieee754_pow): Recompute overflowing and underflowing results in
5426 original rounding mode.
5427 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5428 (__powl_helper): Allow negative argument X and scale negated value
5429 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5430 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5431 overflowing or underflowing operations take place with sign of
5432 result.
5433 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5434 Include <math.h>.
5435 * math/auto-libm-test-in: Add more tests of pow.
5436 * math/auto-libm-test-out: Regenerated.
5437 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5438 (pow_tonearest_test_data): Remove.
5439 (pow_test_tonearest): Likewise.
5440 (pow_towardzero_test_data): Likewise.
5441 (pow_test_towardzero): Likewise.
5442 (pow_downward_test_data): Likewise.
5443 (pow_test_downward): Likewise.
5444 (pow_upward_test_data): Likewise.
5445 (pow_test_upward): Likewise.
5446 (main): Don't call removed functions.
5447 * sysdeps/i386/fpu/libm-test-ulps: Update.
5448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5449
5686b236
RM
54502014-06-23 Roland McGrath <roland@hack.frob.com>
5451
5452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5453 Moved ...
5454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5456 Moved ...
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5459 Moved ...
5460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5462 Moved ...
5463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5465 File removed.
5466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5467 File removed.
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5469 File removed.
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5471 File removed.
5472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5473 File removed.
5474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5475 File removed.
5476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5477 File removed.
5478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5479 File removed.
5480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5481 File removed.
5482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5483 File removed.
5484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5485 File removed.
5486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5487 File removed.
5488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5489 Moved ...
5490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5492 Moved ...
5493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5494 ... here.
5495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5496 Moved ...
5497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5499 Moved ...
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5502 Moved ...
5503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5505 Moved ...
5506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5508 Moved ...
5509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5511 Moved ...
5512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5514 Moved ...
5515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5518 ... here.
5519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5520 Moved ...
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5523 Moved ...
5524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5525 ... here.
5526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5527 Moved ...
5528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5529 ... here.
5530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5531 Moved ...
5532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5533 ... here.
5534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5535 Moved ...
5536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5538 Moved ...
5539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5543 Moved ...
5544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5545 ... here.
5546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5547 Moved ...
5548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5549 ... here.
5550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5551 Moved ...
5552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5554 Moved ...
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5557 Moved ...
5558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5560 Moved ...
5561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5563 Moved ...
5564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5565 ... here.
5566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5567 Moved ...
5568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5570 Moved ...
5571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5573 Moved ...
5574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5576 Moved ...
5577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5581 Moved ...
5582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5584 Moved ...
5585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5587 Moved ...
5588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5589 ... here.
5590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5591 Moved ...
5592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5593 ... here.
5594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5595 Moved ...
5596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5597 ... here.
5598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5599 Moved ...
5600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5602 Moved ...
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5605 Moved ...
5606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5608 Moved ...
5609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5610 ... here.
5611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5612 Moved ...
5613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5614 ... here.
5615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5616 Moved ...
5617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5618 ... here.
5619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5620 Moved ...
5621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5623 Moved ...
5624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5625
e6d90d67
WD
56262014-06-23 Will Newton <will.newton@linaro.org>
5627 Wilco <wdijkstr@arm.com>
5628
5629 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5630 implementation. Include get-rounding-mode.h.
5631 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5632 [!libc_feholdsetround_noex_ctx]: Define
5633 libc_feholdsetround_noex_ctx.
5634 [!libc_feholdsetround_noexf_ctx]: Define
5635 libc_feholdsetround_noexf_ctx.
5636 [!libc_feholdsetround_noexl_ctx]: Define
5637 libc_feholdsetround_noexl_ctx.
5638 (libc_feholdsetround_ctx): New function.
5639 (libc_feresetround_ctx): New function.
5640 (libc_feholdsetround_noex_ctx): New function.
5641 (libc_feresetround_noex_ctx): New function.
5642
d42df555
RM
56432014-06-23 Roland McGrath <roland@hack.frob.com>
5644
88a46474
RM
5645 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5646 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5647 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5648 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5649 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5650 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5651
15bed472
RM
5652 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5653 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5654 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5655 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5656 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5657 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5658 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5659 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5660 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5661 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5662 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5663 Moved ...
5664 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5665 ... here.
5666 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5667 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5668 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5669 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5670 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5671 Moved ...
5672 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5673 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5674 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5675 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5676 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5677 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5678 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5679 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5680 Moved ...
5681 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5682 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5683 Moved ...
5684 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5685 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5686 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5687 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5688 Moved ...
5689 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5690 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5691 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5692 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5693 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5694 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5695 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5696 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5697 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5698 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5699 Moved ...
5700 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5701 ... here.
5702 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5703 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5704 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5705 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5706 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5707 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5708 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5709 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5710 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5711 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5712 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5713 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5714 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5715 Moved ...
5716 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5717 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5718 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5719 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5720 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5721 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5722 Moved ...
5723 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5724 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5725 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5726 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5727 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5728
d42df555
RM
5729 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5730 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5731 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5732 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5733 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5734 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5735 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5736 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5737 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5738 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5739 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5740 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5741 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5742 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5743 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5744 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5745 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5746 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5747 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5748 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5749 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5750 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5751 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5752 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5753 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5754 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5755 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5756 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5757
76e5216e
JM
57582014-06-23 Joseph Myers <joseph@codesourcery.com>
5759
5760 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5761 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5762 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5763 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5764 (IPV6_PMTUDISC_INTERFACE): Likewise.
5765 (IPV6_PMTUDISC_OMIT): Likewise.
5766
7a81cbcc
AS
57672014-06-23 Andreas Schwab <schwab@suse.de>
5768
5769 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5770 Remove unused errout label.
5771
db224009
AZ
57722014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5773
5774 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5775 macro: hardware supports Vector Crypto instructions.
5776
f393b4aa
WN
57772014-06-23 Will Newton <will.newton@linaro.org>
5778
cc7d0447
WN
5779 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5780 rather than __builtin_expect.
5781
d6d06225
WN
5782 * elf/dl-lookup.c (undefined_msg): Remove variable.
5783 (_dl_lookup_symbol_x): Replace undefined_msg with string
5784 literal.
5785
f393b4aa
WN
5786 * elf/dl-lookup.c (do_lookup_unique): New function.
5787 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5788 to a separate function.
5789
ac60763e
AS
57902014-06-23 Andreas Schwab <schwab@suse.de>
5791
5792 [BZ #17079]
5793 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5794 before reading the next line.
5795
c5c13355
WN
57962014-06-23 Will Newton <will.newton@linaro.org>
5797
5798 * test-skeleton.c (signal_handler): Use printf and %m
5799 rather than perror. Use printf rather than fprintf to
5800 stderr. Use puts rather than fputs to stderr.
5801 (main): Likewise.
5802
bd3675f9
LC
58032014-06-22 Ludovic Courtès <ludo@gnu.org>
5804
5805 * nscd/nscd.c (thread_info_t): Remove typedef.
5806 (thread_info): Remove variable.
5807
d03efb2f
AM
58082014-06-21 Allan McRae <allan@archlinux.org>
5809
5810 * NEWS: Mention CVE-2014-4043.
5811
bc4a86fa
RM
58122014-06-20 Roland McGrath <roland@hack.frob.com>
5813
dc9a54f8
RM
5814 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5815 * nptl/smp.h: ... here.
5816
bd7022c4
RM
5817 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5818
26ffd5e6
RM
5819 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5820 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5821 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5822 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5823
93a6d082
RM
5824 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5825 * nptl/stack-aliasing.h: New file.
5826 * sysdeps/i386/i686/stack-aliasing.h: New file.
5827 * sysdeps/i386/i686/nptl/Makefile: File removed.
5828 * sysdeps/x86_64/stack-aliasing.h: New file.
5829 * sysdeps/x86_64/nptl/Makefile
5830 (CFLAGS-pthread_create.c): Variable removed.
5831
bc4a86fa
RM
5832 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5833 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5834 old file.
5835 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5836 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5837 old file.
5838
2272ffc1
JM
58392014-06-21 Joseph Myers <joseph@codesourcery.com>
5840
5841 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5842 (__ASSUME_SIGFRAME_V2): Remove macro.
5843 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5844 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5845 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5846 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5847 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5848 Declare as function. Remove conditional macro definitions.
5849 (__default_rt_sa_restorer): Likewise.
5850 (__default_sa_restorer_v1): Remove declaration.
5851 (__default_sa_restorer_v2): Likewise.
5852 (__default_rt_sa_restorer_v1): Likewise.
5853 (__default_rt_sa_restorer_v2): Likewise.
5854 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5855 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5856 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5857
4b88139b
RM
58582014-06-20 Roland McGrath <roland@hack.frob.com>
5859
5860 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5861 (libpthread-routines): Add sysdep.
5862 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5863 * sysdeps/unix/sysv/linux/sparc/Versions
5864 (libpthread: GLIBC_2.3.3): New version set.
5865 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5866 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5867 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5868 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5869 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5870 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5871 Moved ...
5872 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5873 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5874 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5875 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5876 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5877 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5878 * sysdeps/sparc/nptl/sem_init.c: ... here.
5879 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5880 * sysdeps/sparc/nptl/sem_post.c: ... here.
5881 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5882 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5883 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5884 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5885 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5886 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5887 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5888 (libpthread-routines): Add cpu_relax.
5889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5890 File removed.
5891 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5892 (librt: GLIBC_2.3.3): New version set.
5893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5894 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5895 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5896 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5897 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5899 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5901 Moved ...
5902 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5903 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5904 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5906 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5907 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5908 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5909 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5910 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5912 Moved ...
5913 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5914 Update #include.
5915 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5916 Moved ...
5917 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5918 Update #include.
5919 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5920 Moved ...
5921 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5922 Update #include.
5923 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5924 Moved ...
5925 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5926 Update #include.
5927 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5928 Moved ...
5929 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5930 Update #include.
5931 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5932 Moved ...
5933 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5934 Update #include.
5935 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5936 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5939 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5940 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5942 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5944 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5945 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5946 Moved ...
5947 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5949 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5951 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5952
d7109027
JM
59532014-06-20 Joseph Myers <joseph@codesourcery.com>
5954
9bc6103d
JM
5955 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5956 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5957 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5958 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5959 * nscd/nscd.c: Likewise.
5960 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5961 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5962 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5963 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5964
d7109027
JM
5965 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5966 <kernel-features.h>.
5967 (init_mq_netlink): Remove conditional have_sock_cloexec
5968 definitions. Remove code conditional on have_sock_cloexec < 0.
5969 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5970 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5971 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5972 <kernel-features.h>.
5973 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5974 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5975
d92d8f8a
L
59762014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5977
5978 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5979 Add tests for memset_chk and memset.
5980
5981 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5982 with AVX2_Usable.
5983
4e6d2347
MR
59842014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5985
257ce712
MR
5986 [BZ #16046]
5987 * elf/tst-dl-iter-static.c: New file.
5988 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5989
4e6d2347
MR
5990 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5991 error.
5992
a2a76afe
JM
59932014-06-20 Joseph Myers <joseph@codesourcery.com>
5994
7fd00f99
JM
5995 * sysdeps/unix/sysv/linux/kernel-features.h
5996 (__ASSUME_F_GETOWN_EX): Remove macro.
5997 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5998 <kernel-features.h>.
5999 (miss_F_GETOWN_EX): Remove variable or macro.
6000 (do_fcntl): Do not check miss_F_GETOWN_EX.
6001 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6002
4a103975
JM
6003 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6004 Remove macro.
6005 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6006 [!__ASSUME_AT_RANDOM]: Remove conditional code.
6007 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6008
a2a76afe
JM
6009 * sysdeps/unix/sysv/linux/kernel-features.h
6010 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6011 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6012 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6013 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6014
90e5dd48
MR
60152014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6016
6017 [BZ #17075]
6018 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6019 Fix calculation of the symbol's value.
6020 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6021 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6022 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6023 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6024 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6025 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6026 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6027 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6028 (modules-names): Add `tst-armtlsdescmod',
6029 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6030 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6031 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6032 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6033 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6034 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6035 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6036 ($(objpfx)tst-armtlsdescloc): New dependency.
6037 ($(objpfx)tst-armtlsdescextnow): Likewise.
6038 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6039 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6040 TLS scheme support.
6041 * sysdeps/arm/configure: Regenerate.
6042
809fdf0d
JM
60432014-06-20 Joseph Myers <joseph@codesourcery.com>
6044
6045 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6046 (__atfct_seterrno_2): Likewise.
6047 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6048 <kernel-features.h>.
6049 (__ASSUME_ATFCTS): Do not undefine and redefine.
6050 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6051 (__have_atfcts): Remove conditional definition.
6052 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6053 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6054 unreachable if [__ASSUME_ATFCTS].
6055 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6056 not undefine and redefine.
6057 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6058 <kernel-features.h>.
6059 (faccessat) [__NR_faccessat]: Make code unconditional.
6060 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6061 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6062 <kernel-features.h>.
6063 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6064 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6065 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6066 <kernel-features.h>.
6067 (fchownat) [__NR_fchownat]: Make code unconditional.
6068 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6069 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6070 <kernel-features.h>.
6071 (futimesat) [__NR_futimesat]: Make code unconditional.
6072 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6073 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6074 <kernel-features.h>.
6075 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6076 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6077 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6078 <kernel-features.h>.
6079 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6080 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6081 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6082 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6083 <kernel-features.h>.
6084 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6085 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6086 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6087 <kernel-features.h>.
6088 (linkat) [__NR_linkat]: Make code unconditional.
6089 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6090 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6091 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6092 <kernel-features.h>.
6093 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6094 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6095 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6096 <kernel-features.h>.
6097 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6098 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6099 * sysdeps/unix/sysv/linux/openat.c: Do not include
6100 <kernel-features.h>.
6101 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6102 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6103 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6104 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6105 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6106 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6107 <kernel-features.h>.
6108 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6109 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6110 result of INLINE_SYSCALL directly, not via int variable.
6111 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6112 <kernel-features.h>.
6113 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6114 (renameat) [__NR_renameat]: Make code unconditional.
6115 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6116 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6117 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6118 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6119 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6120 (__ASSUME_ATFCTS): Do not undefine and redefine.
6121 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6122 <kernel-features.h>.
6123 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6124 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6125 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6126 <kernel-features.h>.
6127 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6128 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6129 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6130 (__ASSUME_ATFCTS): Do not undefine and redefine.
6131 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6132 <kernel-features.h>.
6133 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6134 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6135 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6136 <kernel-features.h>.
6137 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6138 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6139
224c6c51
L
61402014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6141
6142 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6143
aa6ec754
AS
61442014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6145
6146 [BZ #17069]
6147 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6148 constructed tree before returning error.
6149 * posix/bug-regexp36.c: Expand test case.
6150
d8c2869d
SL
61512014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6152
3ef6b850
SL
6153 [BZ #6803]
6154 * math/libm-test.inc (scalbln_test_date):
6155 Add errno expectations.
6156 * math/w_scalblnf.c: New File.
6157 Add wrapper which checks for setting errno to ERANGE.
6158 Add weak_alias for corresponding scalbln function.
6159 * math/w_scalbln.c: Likewise.
6160 * math/w_scalblnl.c: Likewise.
6161 * math/Makefile (libm-calls): Add w_scalbln.
6162 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6163 Remove weak_alias for corresponding scalbln function.
6164 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6165 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6166 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6167 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6168 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6169 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6170 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6171 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6172 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6173 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6174 Remove long_double_symbol for scalblnl function in libm, libc.
6175 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6176 Add wrapper which checks for setting errno to ERANGE.
6177 Add long_double_symbol for scalblnl function in libm, libc.
6178 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6179 Remove long_double_symbol for scalblnl in libm.
6180 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6181 Add wrapper which checks for setting errno to ERANGE.
6182 Add long_double_symbol for scalblnl function in libm.
6183 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6184 Do not use wrapper because of own implementation.
6185
c8daec5c
L
61862014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6187
6188 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6189 3 bytes for __pad1 for x32.
6190 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6191
5c74e47c
LM
61922014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6193 H.J. Lu <hongjiu.lu@intel.com>
6194
6195 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6196 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6197 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6198 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6199 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6200
4d43ef1e
AS
62012014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6202
6203 [BZ #17069]
6204 * posix/regcomp.c (parse_expression): Deallocate partially
6205 constructed tree before returning error.
6206 * posix/Makefile.c (tests): Add bug-regex36.
6207 (generated): Add bug-regex36.mtrace.
6208 (tests-special): Add $(objpfx)bug-regex36-mem.out
6209 (bug-regex36-ENV): New variable.
6210 ($(objpfx)bug-regex36-mem.out): New rule.
6211 * posix/bug-regex36.c: New file.
6212
51a7380b
WN
62132014-06-19 Will Newton <will.newton@linaro.org>
6214
6215 * malloc/malloc.c (systrim): If extra is zero then return
6216 early.
6217
91b84fe5
SP
62182014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6219
6220 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6221
f940b965
RE
62222014-06-19 Richard Earnshaw <rearnsha@arm.com>
6223
6224 * sysdeps/aarch64/strchr.S: New file.
6225
4ba7a00f
JM
62262014-06-18 Joseph Myers <joseph@codesourcery.com>
6227
6228 [BZ #17022]
6229 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6230 from arguments -2 or below.
6231 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6232 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6233
b3a9f56b
AS
62342014-06-18 Andreas Schwab <schwab@suse.de>
6235
6236 [BZ #17062]
6237 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6238 of a bracket expr not to run off the end of the string.
6239 * posix/Makefile (tests): Add tst-fnmatch3.
6240 * posix/tst-fnmatch3.c: New file.
6241
85d89278
JM
62422014-06-18 Joseph Myers <joseph@codesourcery.com>
6243
6244 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6245 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6246 [$(cross-compiling) = no]: Likewise.
6247 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6248 [$(cross-compiling) = no]: Likewise.
6249
754c5a08
RS
62502014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6251
6252 [BZ #17031]
6253 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6254 double, adjusted for any remainder from the high double.
6255 * math/libm-test.inc (nearbyint): Add tests.
6256 (rint): Likewise.
6257
556f529d
AZ
62582014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6259
6260 * nptl/sysdeps/powerpc/Makefile: Moved ...
6261 * sysdeps/powerpc/nptl/Makefile: ... here.
6262 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6263 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6264 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6265 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6266 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6267 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6268 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6269 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6270 * nptl/sysdeps/powerpc/tls.h: Moved ...
6271 * sysdeps/powerpc/nptl/tls.h: ... here.
6272
91c03c53
JM
62732014-06-16 Joseph Myers <joseph@codesourcery.com>
6274
6275 [BZ #16681]
6276 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6277 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6278 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6279 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6280 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6281 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6282 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6283 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6284 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6285
a76e63c5
AS
62862014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6287
6288 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6289
f2f6d82f
AS
62902014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6291
ea8a15f6
AS
6292 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6293 defined operator.
6294
f2f6d82f
AS
6295 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6296 $TIMEOUTFACTOR.
6297
a7291117
FW
62982014-06-16 Florian Weimer <fweimer@redhat.com>
6299
6300 [BZ #17058]
6301 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6302 non-executed part of the test.
6303
3d7c00e3
AS
63042014-06-16 Andreas Schwab <schwab@suse.de>
6305
6306 * string/bits/string2.h (strdup, strndup): Update feature guard.
6307
6957fb31
DM
63082014-06-14 David S. Miller <davem@davemloft.net>
6309
6310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6311
11b9e55b
AS
63122014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6313
1d2a0492
AS
6314 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6315 that was previously under [RESET_PID].
6316 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6317
11b9e55b
AS
6318 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6319 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6320 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6321 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6322 (__libc_vfork): New strong alias.
6323 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6324
0f6901d0
AK
63252014-06-14 Andi Kleen <ak@linux.intel.com>
6326
6327 * sysdeps/generic/elide.h: New file.
6328
38bbbb9f
SL
63292014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6330
6331 * Makefile (installed-headers): Adjust path of pthread.h header.
6332
45193bb8
RM
63332014-06-13 Roland McGrath <roland@hack.frob.com>
6334
9a25fd1e
RM
6335 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6336 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6337 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6338 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6339
4004f7e4
RM
6340 * nptl/sysdeps/s390/Makefile: Moved ...
6341 * sysdeps/s390/nptl/Makefile: ... here.
6342 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6343 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6344 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6345 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6346 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6347 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6348 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6349 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6350 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6351 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6352 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6353 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6354 * nptl/sysdeps/s390/tls.h: Moved ...
6355 * sysdeps/s390/nptl/tls.h: ... here.
6356
45193bb8
RM
6357 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6358 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6359
f6fdf533
DM
63602014-06-13 David S. Miller <davem@davemloft.net>
6361
6362 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6363 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6364 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6365 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6366 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6367 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6369 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6370 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6371 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6372 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6373 Remove RESET_PID cpp guards.
6374 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6375 Remove RESET_PID cpp guards.
6376 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6377
f5d71e14
AS
63782014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6379
6380 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6381 __sp to uintptr_t.
6382
b7aa8caa
AK
63832014-06-13 Andi Kleen <ak@linux.intel.com>
6384
4b266200
AZ
6385 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6386 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6387 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6388 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6389 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6390 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6391 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6392 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6393 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6394 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6395 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6396 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6397 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6398 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6399 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6400 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6401 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6402 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6403 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6404 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
6405
6406 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
6407 (pthread_rwlock_rdlock): Add elision.
6408 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6409 (pthread_rwlock_wrlock): Add elision.
6410 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6411 (pthread_rwlock_trywrlock): Add elision.
6412 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6413 (pthread_rwlock_tryrdlock): Add elision.
6414 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6415 (pthread_rwlock_tryrdlock): Add elision unlock.
6416 * nptl/sysdeps/pthread/pthread.h:
6417 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6418 (PTHREAD_RWLOCK_INITIALIZER,
6419 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6420 Handle new elision field.
6421 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6422 * sysdeps/arm/nptl/bits/pthreadtypes.h
6423 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6424 * sysdeps/sh/nptl/bits/pthreadtypes.h
6425 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6426 * sysdeps/tile/nptl/bits/pthreadtypes.h
6427 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6428 * sysdeps/a/nptl/bits/pthreadtypes.h
6429 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6430 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6431 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6432 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6433 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6434 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6435 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6436 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6437 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6438 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6439 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6440 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6441 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6442 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6443 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6444 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6445 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6446 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6447 (elision_init): Set try_xbegin to zero when no RTM.
6448 * sysdeps/x86/nptl/bits/pthreadtypes.h
6449 (pthread_rwlock_t): Change __pad1 to __rwelision.
6450 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 6451
a832bdd3
AK
64522014-06-13 Andi Kleen <ak@linux.intel.com>
6453
6454 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6455 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6456 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6457 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6458
995a46bb
MI
64592014-06-13 Meador Inge <meadori@codesourcery.com>
6460
6461 [BZ #16996]
03ed7738 6462 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
6463 that the cached result has been set before returning it.
6464
45262aee
RM
64652014-06-12 Roland McGrath <roland@hack.frob.com>
6466
febf6cc5
RM
6467 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6468 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6469 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6470 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6471 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6472 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6473
e2682246
RM
6474 * nptl/sysdeps/sparc/Makefile: Moved ...
6475 * sysdeps/sparc/nptl/Makefile: ... here.
6476 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6477 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6478 * nptl/sysdeps/sparc/tls.h: Moved ...
6479 * sysdeps/sparc/nptl/tls.h: ... here.
6480 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6481 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6482 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6483 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6484 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6485 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6486 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6487 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6488 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6489 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6490 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6491 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6492 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6493 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6494 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6495 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6496 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6497 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6498 Update #include.
6499 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6500 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6501 Update #include.
6502 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6503 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6504 Update #include.
6505 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6506 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6507 Update #include.
6508
b0725f43
RM
6509 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6510
b14368b8
RM
6511 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6512 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6513
c5620eb3
RM
6514 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6515 (struct list_links): Type removed.
6516 (struct thread_node, struct timer_node): Replace struct list_links
6517 with struct list_head.
6518 (list_unlink_ip): Likewise.
6519 * sysdeps/pthread/timer_routines.c
6520 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6521 (list_append, list_insbefore): Likewise.
6522 (list_init): Function removed.
6523 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
6524 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6525 * sysdeps/pthread/Makefile: ... here, new file.
6526
6527 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6528 * sysdeps/nptl/Implies: ... here.
6529 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6530 * nptl/sysdeps/pthread/list.h: Moved ...
6531 * include/list.h: ... here.
6532 * nptl/sysdeps/pthread/createthread.c: Moved ...
6533 * nptl/createthread.c: ... here.
6534 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6535 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6536 * nptl/pt-longjmp.c: ... here.
6537 * nptl/sysdeps/pthread/Makefile: Moved ...
6538 * sysdeps/nptl/Makefile: ... here.
6539 * nptl/sysdeps/pthread/Subdirs: Moved ...
6540 * sysdeps/nptl/Subdirs: ... here.
6541 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6542 * sysdeps/nptl/aio_misc.h: ... here.
6543 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6544 * sysdeps/nptl/bits/libc-lock.h: ... here.
6545 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6546 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6547 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6548 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6549 * nptl/sysdeps/pthread/configure: Moved ...
6550 * sysdeps/nptl/configure: ... here.
6551 * nptl/sysdeps/pthread/configure.ac: Moved ...
6552 * sysdeps/nptl/configure.ac: ... here.
6553 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6554 * sysdeps/nptl/gai_misc.h: ... here.
6555 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6556 * sysdeps/nptl/librt-cancellation.c: ... here.
6557 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6558 * sysdeps/nptl/malloc-machine.h: ... here.
6559 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6560 * sysdeps/nptl/pthread-functions.h: ... here.
6561 * nptl/sysdeps/pthread/pthread.h: Moved ...
6562 * sysdeps/nptl/pthread.h: ... here.
6563 * nptl/sysdeps/pthread/setxid.h: Moved ...
6564 * sysdeps/nptl/setxid.h: ... here.
6565 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6566 * sysdeps/nptl/sigfillset.c: ... here.
6567 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6568 * sysdeps/nptl/tcb-offsets.h: ... here.
6569 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6570 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6571 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6572 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6573 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6574 * sysdeps/pthread/allocalim.h: ... here.
6575 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6576 * sysdeps/pthread/bits/sigthread.h: ... here.
6577 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6578 * sysdeps/pthread/flockfile.c: ... here.
6579 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6580 * sysdeps/pthread/ftrylockfile.c: ... here.
6581 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6582 * sysdeps/pthread/funlockfile.c: ... here.
6583 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6584 * sysdeps/pthread/posix-timer.h: ... here.
6585 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6586 * sysdeps/pthread/timer_create.c: ... here.
6587 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6588 * sysdeps/pthread/timer_delete.c: ... here.
6589 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6590 * sysdeps/pthread/timer_getoverr.c: ... here.
6591 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6592 * sysdeps/pthread/timer_gettime.c: ... here.
6593 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6594 * sysdeps/pthread/timer_routines.c: ... here.
6595 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6596 * sysdeps/pthread/timer_settime.c: ... here.
6597 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6598 * sysdeps/pthread/tst-timer.c: ... here.
6599 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6600 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6601
e876b090
RM
6602 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6603 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6604
f6b07b3d
RM
6605 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6606 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6607 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6608 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6609 Update #include target.
6610 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6611 * sysdeps/i386/i686/nptl/Makefile: ... here.
6612 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6613 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6614 Update #include target.
6615 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6616 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6617 * nptl/sysdeps/i386/Makefile: Moved ...
6618 * sysdeps/i386/nptl/Makefile: ... here.
6619 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6620 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6621 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6622 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6623 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6624 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6625 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6626 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6627 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6628 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6629 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6630 * nptl/sysdeps/i386/tls.h: Moved ...
6631 * sysdeps/i386/nptl/tls.h: ... here.
6632
45262aee
RM
6633 * sysdeps/sh/Makefile [$(subdir) = csu]
6634 (gen-as-const-headers): Add tcb-offsets.sym.
6635 * nptl/sysdeps/sh/Makefile: File removed.
6636 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6637 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6638 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6639 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6640 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6641 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6642 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6643 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6644 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6645 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6646 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6647 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6648 * nptl/sysdeps/sh/tls.h: Moved ...
6649 * sysdeps/sh/nptl/tls.h: ... here.
6650 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6651 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6652 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6653 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6654 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6655 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6656 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6657 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6658 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6659 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6660 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6661 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6662 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6663 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6664 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6665 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6666 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6667 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6668 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6669 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6670 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6671 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6672 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6673 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6674 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6675 Moved ...
6676 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6677 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6678 Moved ...
6679 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6680 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6681 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6682 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6683 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6684 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6685 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6686 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6687 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6688 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6689 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6690 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6691 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6692 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6693 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6694 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6695 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6696 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6697 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6698
35a5e3e3
SL
66992014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6700
6701 * posix/spawn_faction_addopen.c: Include string.h.
6702
14642b85
RM
67032014-06-11 Roland McGrath <roland@hack.frob.com>
6704
6705 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6706 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6707 * nptl/sysdeps/x86_64/Makefile: Moved ...
6708 * sysdeps/x86_64/nptl/Makefile: ... here.
6709 * nptl/sysdeps/x86_64/configure: Moved ...
6710 * sysdeps/x86_64/nptl/configure: ... here.
6711 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6712 * sysdeps/x86_64/nptl/configure.ac: ... here.
6713 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6714 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6715 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6716 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6717 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6718 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6719 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6720 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6721 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6722 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6723 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6724 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6725 * nptl/sysdeps/x86_64/tls.h: Moved ...
6726 * sysdeps/x86_64/nptl/tls.h: ... here.
6727 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6728 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6729 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6730 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6731
6732 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6733
31c44fea
AZ
67342014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6735
6736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6737
e81a4f9a
JM
67382014-06-11 Joseph Myers <joseph@codesourcery.com>
6739
6740 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6741 type.
6742 [POSIX] (off_t): Likewise.
6743 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6744 [POSIX] (S_ISBLK): Require macro.
6745 [POSIX] (S_ISCHR): Likewise.
6746 [POSIX] (S_ISDIR): Likewise.
6747 [POSIX] (S_ISFIFO): Likewise.
6748 [POSIX] (S_ISREG): Likewise.
6749 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6750 optional-macro.
6751 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6752 type.
6753 [POSIX] (time_t): Likewise.
6754 [POSIX] (timer_t): Likewise.
6755
89e435f3
FW
67562014-06-11 Florian Weimer <fweimer@redhat.com>
6757
6758 [BZ #17048]
6759 * posix/spawn_int.h (struct __spawn_action): Make the path string
6760 non-const to support deallocation.
6761 * posix/spawn_faction_addopen.c
6762 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6763 * posix/spawn_faction_destroy.c
6764 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6765 path in all spawn_do_open actions.
6766 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6767 posix_spawn_file_actions_addopen.
6768
c3a2ebe1
CM
67692014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6770
6771 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6772 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6773 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6774 conditional code always true.
6775 (__libc_vfork): New alias.
6776
9503784a
RM
67772014-06-11 Roland McGrath <roland@hack.frob.com>
6778
c9cab3d2
RM
6779 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6780 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6781
d3996c79
RM
6782 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6783
ba5ec611
RM
6784 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6785 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6786
f12b4814
RM
6787 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6788 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6789
9503784a
RM
6790 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6791 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6792
e23d3d26
VR
67932014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6794
6795 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6796 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6797 multiarch strcmp for PPC64.
6798 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6799 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6800 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6801 multiarch optimizations.
6802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6803 (__libc_ifunc_impl_list): Likewise.
6804
42b1161e
SP
68052014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6806
6807 * benchtests/scripts/validate_benchout.py: New script.
6808 * benchtests/Makefile (bench-func): Call it.
6809 * benchtests/scripts/benchout.schema.json: New file.
6810
2d0fc4dc
CM
68112014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6812
4a594c34
AZ
6813 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6814 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6815 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6816 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6817 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6818 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6819 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6820 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6821 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6822 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6823 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6824 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6825 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6826 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6827 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6828 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6830 Moved ...
4a594c34 6831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6832 ... here.
4a594c34 6833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6834 Moved ...
4a594c34
AZ
6835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6837 Moved ...
4a594c34 6838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6839 ... here.
4a594c34 6840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6841 Moved ...
4a594c34 6842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6843 ... here.
4a594c34 6844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6845 Moved ...
4a594c34
AZ
6846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6848 Moved ...
4a594c34 6849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6850 ... here.
4a594c34 6851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6852 Moved ...
4a594c34 6853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6854 ... here.
4a594c34 6855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6856 Moved ...
4a594c34
AZ
6857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6859 Moved ...
4a594c34 6860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6861 ... here.
4a594c34 6862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6863 Moved ...
4a594c34 6864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6865 ... here.
4a594c34 6866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6867 Moved ...
4a594c34 6868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6869 ... here.
4a594c34 6870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6871 Moved ...
4a594c34
AZ
6872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6874 Moved ...
4a594c34 6875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6876 ... here.
4a594c34 6877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6878 Moved ...
4a594c34 6879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6880 ... here.
4a594c34 6881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6882 Moved ...
4a594c34 6883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6884 ... here.
4a594c34 6885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6886 Moved ...
4a594c34
AZ
6887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6889 Moved ...
4a594c34 6890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6891 ... here.
4a594c34 6892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6893 Moved ...
4a594c34 6894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6895 ... here.
4a594c34 6896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 6897 Moved ...
4a594c34
AZ
6898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 6900 Moved ...
4a594c34 6901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 6902 ... here.
4a594c34 6903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 6904 Moved ...
4a594c34
AZ
6905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 6907 Moved ...
4a594c34
AZ
6908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 6910 Moved ...
4a594c34 6911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 6912 ... here.
4a594c34 6913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 6914 Moved ...
4a594c34 6915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 6916 ... here.
4a594c34 6917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 6918 Moved ...
4a594c34 6919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 6920 ... here.
4a594c34 6921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 6922 Moved ...
4a594c34
AZ
6923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 6925 Moved ...
4a594c34 6926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 6927 ... here.
4a594c34 6928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 6929 Moved ...
4a594c34 6930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 6931 ... here.
4a594c34
AZ
6932 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6933 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6934 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6935 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6936 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 6937 Moved ...
4a594c34 6938 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 6939 ... here.
4a594c34
AZ
6940 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6941 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6942 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6943 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6944 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6945 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6946 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6947 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6948 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6949 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6950 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6951 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6952 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 6953 Moved ...
4a594c34
AZ
6954 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6955 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 6956 Moved ...
4a594c34
AZ
6957 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6958 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6959 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6960 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 6961 Moved ...
4a594c34
AZ
6962 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6963 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6964 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6965 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6966 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6967 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6968 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 6969
0570cfed
W
69702014-06-10 Wilco <wdijkstr@arm.com>
6971
6972 * math/test-fenv-return.c: New file.
6973 * math/Makefile: Add new test test-fenv-return.
6974
f8ba1b56
JM
69752014-06-10 Joseph Myers <joseph@codesourcery.com>
6976
6977 [BZ #17042]
6978 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6979 when x - 1 is zero.
6980 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6981 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6982 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6983 0.0L for an argument of 1.0L.
6984 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6985 Likewise.
6986 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6987 value when x - 1 is zero.
6988 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6989 * sysdeps/i386/fpu/libm-test-ulps: Update.
6990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6991
2c3520d9
BO
69922014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6993
6994 [BZ #15119]
6995 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6996
acaa4d24
RM
69972014-06-09 Roland McGrath <roland@hack.frob.com>
6998
6999 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7000 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7001
962b744d
RM
70022014-06-09 Roland McGrath <roland@hack.frob.com>
7003
d752f0cc
RM
7004 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7005 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7006
34eda6d1
RM
7007 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7008 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7009
50f0a637
RM
7010 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7011 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7012
08f41f04
RM
7013 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7014 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7015
962b744d
RM
7016 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7017 if not already defined.
7018 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7019 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7020 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7021 (TLS_INIT_TP): Use it.
7022 (TLS_DEFINE_INIT_TP): New macro.
7023 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7024
09f19b05
JM
70252014-06-09 Joseph Myers <joseph@codesourcery.com>
7026
7027 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7028 constant.
7029 [POSIX] (IXANY): Likewise.
7030 [POSIX] (OLCUC): Likewise.
7031 [POSIX || POSIX2008] (CBAUD): Do not allow.
7032 [POSIX || POSIX2008] (DEFECHO): Likewise.
7033 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7034 [POSIX || POSIX2008] (ECHOKE): Likewise.
7035 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7036 [POSIX || POSIX2008] (EXTA): Likewise.
7037 [POSIX || POSIX2008] (EXTB): Likewise.
7038 [POSIX || POSIX2008] (FLUSHO): Likewise.
7039 [POSIX || POSIX2008] (LOBLK): Likewise.
7040 [POSIX || POSIX2008] (PENDIN): Likewise.
7041 [POSIX || POSIX2008] (SWTCH): Likewise.
7042 [POSIX || POSIX2008] (VDISCARD): Likewise.
7043 [POSIX || POSIX2008] (VDSUSP): Likewise.
7044 [POSIX || POSIX2008] (VLNEXT): Likewise.
7045 [POSIX || POSIX2008] (VREPRINT): Likewise.
7046 [POSIX || POSIX2008] (VSTATUS): Likewise.
7047 [POSIX || POSIX2008] (VWERASE): Likewise.
7048 (B*): Change to B[0123456789]*.
7049 * conform/data/time.h-data [POSIX || UNIX98]
7050 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7051 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7052 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7053 [POSIX] (tm_*): Do not allow.
7054
686554bf
JM
70552014-06-07 Joseph Myers <joseph@codesourcery.com>
7056
7057 * Makefile (install): Don't set LANGUAGE.
7058 * Makefile.in (install): Likewise.
7059 * assert/Makefile (test-assert-ENV): Remove variable.
7060 (test-assert-perr-ENV): Likewise.
7061 * elf/Makefile (neededtest4-ENV): Likewise.
7062 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7063 [$(cross-compiling) = no]: Don't set LANGUAGE.
7064 * io/ftwtest-sh (LANG): Remove variable.
7065 * libio/Makefile (tst-widetext-ENV): Likewise.
7066 * manual/install.texi (Running make install): Don't refer to
7067 environment settings for make install.
7068 * INSTALL: Regenerated.
7069 * nptl/tst-tls6.sh: Don't set LANG.
7070 * posix/globtest.sh (LANG): Remove variable.
7071 * string/Makefile (tester-ENV): Likewise.
7072 (inl-tester-ENV): Likewise.
7073 (noinl-tester-ENV): Likewise.
7074 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7075 [$(cross-compiling) = no]: Don't set LANGUAGE.
7076 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7077 without explicit environment settings.
7078
68e6b6b1
RM
70792014-06-06 Roland McGrath <roland@hack.frob.com>
7080
7081 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7082 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7083 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7084 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7085
4d3ae034
CM
70862014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7087
7088 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7089 other files in the crypt directory.
7090 * crypt/crypt.c: Remove duplicate includes.
7091 * crypt/crypt-entry.c: Likewise.
7092 * crypt/crypt_util.c: Likewise.
7093
8540f6d2
JM
70942014-06-06 Joseph Myers <joseph@codesourcery.com>
7095
7096 * Makeconfig (run-program-env): New variable.
7097 (run-program-prefix-before-env): Likewise.
7098 (run-program-prefix-after-env): Likewise.
7099 (run-program-prefix): Define in terms of new variables.
7100 (built-program-cmd-before-env): New variable.
7101 (built-program-cmd-after-env): Likewise.
7102 (built-program-cmd): Define in terms of new variables.
7103 (test-program-prefix-before-env): New variable.
7104 (test-program-prefix-after-env): Likewise.
7105 (test-program-prefix): Define in terms of new variables.
7106 (test-program-cmd-before-env): New variable.
7107 (test-program-cmd-after-env): Likewise.
7108 (test-program-cmd): Define in terms of new variables.
7109 * Rules (make-test-out): Use $(run-program-env).
7110 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7111 (help): Do not mention environment variables. Mention
7112 --timeoutfactor option.
7113 (timeoutfactor): New variable.
7114 (blacklist_exports): Remove function.
7115 (exports): Remove variable.
7116 (command): Do not include ${exports}.
7117 * manual/install.texi (Configuring and compiling): Do not mention
7118 test wrappers preserving environment variables. Mention that last
7119 assignment to a variable must take precedence.
7120 * INSTALL: Regenerated.
7121 * benchtests/Makefile (run-bench): Use $(run-program-env).
7122 * catgets/Makefile ($(objpfx)test1.cat): Use
7123 $(built-program-cmd-before-env), $(run-program-env) and
7124 $(built-program-cmd-after-env).
7125 ($(objpfx)test2.cat): Do not specify environment variables
7126 explicitly.
7127 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7128 $(run-program-env) and $(built-program-cmd-after-env).
7129 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7130 $(run-program-env) and $(test-program-cmd-after-env).
7131 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7132 explicitly.
7133 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7134 run_program_env and test_program_cmd_after_env arguments.
7135 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7136 * elf/tst-pathopt.sh: Use run_program_env argument.
7137 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7138 $(test-wrapper-env) and $(run-program-env).
7139 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7140 run_program_env arguments.
7141 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7142 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7143 $(test-program-prefix-before-env), $(run-program-env) and
7144 $(test-program-prefix-after-env).
7145 ($(objpfx)tst-gettext2.out): Likewise.
7146 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7147 run_program_env and test_program_prefix_after_env arguments.
7148 * intl/tst-gettext2.sh: Likewise.
7149 * intl/tst-gettext4.sh: Do not set environment variables
7150 explicitly.
7151 * intl/tst-gettext6.sh: Likewise.
7152 * intl/tst-translit.sh: Likewise.
7153 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7154 $(test-program-prefix-before-env), $(run-program-env) and
7155 $(test-program-prefix-after-env).
7156 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7157 run_program_env and test_program_prefix_after_env arguments.
7158 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7159 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7160 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7161 explicitly with each use of ${test_wrapper_env}.
7162 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7163 $(test-program-prefix-before-env), $(run-program-env) and
7164 $(test-program-prefix-after-env).
7165 * posix/tst-getconf.sh: Do not set environment variables
7166 explicitly.
7167 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7168 run_program_env and test_program_prefix_after_env arguments.
7169 * stdio-common/tst-printf.sh: Do not set environment variables
7170 explicitly.
7171 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7172 $(test-program-prefix-before-env), $(run-program-env) and
7173 $(test-program-prefix-after-env).
7174 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7175 run_program_env and test_program_prefix_after_env arguments.
7176 Split $test calls into $test_pre and $test.
7177 * timezone/Makefile (build-testdata): Use
7178 $(built-program-cmd-before-env), $(run-program-env) and
7179 $(built-program-cmd-after-env).
7180
ed36bfa1
AZ
71812014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7182
7183 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7184 strlen for non SHARED builds.
7185
fc75bf46
SP
71862014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7187
7188 * nptl/allocatestack.c (check_list): Inlined function...
7189 (__reclaim_stacks): ... here.
7190
d89b3d80
OB
71912014-06-05 Ondřej Bílka <neleai@seznam.cz>
7192
7193 [BZ #15698]
7194 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7195 memory overrun.
7196
2bf18041
JM
71972014-06-05 Joseph Myers <joseph@codesourcery.com>
7198
7199 * Rules (make-test-out): Include
7200 LOCPATH=$(common-objpfx)localedata in default environment.
7201 * debug/Makefile (tst-chk1-ENV): Remove variable.
7202 (tst-chk2-ENV): Likewise.
7203 (tst-chk3-ENV): Likewise.
7204 (tst-chk4-ENV): Likewise.
7205 (tst-chk5-ENV): Likewise.
7206 (tst-chk6-ENV): Likewise.
7207 (tst-lfschk1-ENV): Likewise.
7208 (tst-lfschk2-ENV): Likewise.
7209 (tst-lfschk3-ENV): Likewise.
7210 (tst-lfschk4-ENV): Likewise.
7211 (tst-lfschk5-ENV): Likewise.
7212 (tst-lfschk6-ENV): Likewise.
7213 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7214 (tst-iconv7-ENV): Likewise.
7215 * intl/Makefile (LOCPATH-ENV): Likewise.
7216 (tst-codeset-ENV): Likewise.
7217 (tst-gettext3-ENV): Likewise.
7218 (tst-gettext5-ENV): Likewise.
7219 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7220 (tst-fopenloc-ENV): Likewise.
7221 (tst-fgetws-ENV): Remove variable.
7222 (tst-ungetwc1-ENV): Likewise.
7223 (tst-ungetwc2-ENV): Likewise.
7224 (bug-ungetwc2-ENV): Likewise.
7225 (tst-swscanf-ENV): Likewise.
7226 (bug-ftell-ENV): Likewise.
7227 (tst-fgetwc-ENV): Likewise.
7228 (tst-fseek-ENV): Likewise.
7229 (tst-ftell-partial-wide-ENV): Likewise.
7230 (tst-ftell-active-handler-ENV): Likewise.
7231 (tst-ftell-append-ENV): Likewise.
7232 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7233 (tst-regexloc-ENV): Likewise.
7234 (bug-regex1-ENV): Likewise.
7235 (tst-regex-ENV): Likewise.
7236 (tst-regex2-ENV): Likewise.
7237 (bug-regex5-ENV): Likewise.
7238 (bug-regex6-ENV): Likewise.
7239 (bug-regex17-ENV): Likewise.
7240 (bug-regex18-ENV): Likewise.
7241 (bug-regex19-ENV): Likewise.
7242 (bug-regex20-ENV): Likewise.
7243 (bug-regex22-ENV): Likewise.
7244 (bug-regex23-ENV): Likewise.
7245 (bug-regex25-ENV): Likewise.
7246 (bug-regex26-ENV): Likewise.
7247 (bug-regex30-ENV): Likewise.
7248 (bug-regex32-ENV): Likewise.
7249 (bug-regex33-ENV): Likewise.
7250 (bug-regex34-ENV): Likewise.
7251 (bug-regex35-ENV): Likewise.
7252 (tst-rxspencer-ENV): Likewise.
7253 (tst-rxspencer-no-utf8-ENV): Likewise.
7254 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7255 (tst-sscanf-ENV): Likewise.
7256 (tst-swprintf-ENV): Likewise.
7257 (tst-swscanf-ENV): Likewise.
7258 (test-vfprintf-ENV): Likewise.
7259 (scanf13-ENV): Likewise.
7260 (bug14-ENV): Likewise.
7261 (tst-grouping-ENV): Likewise.
7262 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7263 (tst-strtod3-ENV): Likewise.
7264 (tst-strtod4-ENV): Likewise.
7265 (tst-strtod5-ENV): Likewise.
7266 (testmb2-ENV): Likewise./
7267 * string/Makefile (tst-strxfrm-ENV): Likewise.
7268 (tst-strxfrm2-ENV): Likewise.
7269 (bug-strcoll1-ENV): Likewise.
7270 (test-strcasecmp-ENV): Likewise.
7271 (test-strncasecmp-ENV): Likewise.
7272 * time/Makefile (tst-strptime-ENV): Likewise.
7273 (tst-ftime_l-ENV): Likewise.
7274 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7275 (tst-mbrtowc-ENV): Likewise.
7276 (tst-wcrtomb-ENV): Likewise.
7277 (tst-mbrtowc2-ENV): Likewise.
7278 (tst-c16c32-1-ENV): Likewise.
7279 (tst-mbsnrtowcs-ENV): Likewise.
7280
cd1fb604
OB
72812014-06-05 Ondřej Bílka <neleai@seznam.cz>
7282
7283 * manual/resource.texi (How to get information about the memory
7284 subsystem?): Fix typo.
7285 Reported by Peon de la Parra Ivan <peon@keba.com>
7286
b42eca7d
GY
72872014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7288
7289 [BZ #16882]
7290 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7291 (pthread_spin_lock): Branch out of spin loop to proper location.
7292 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7293 (pthread_spin_lock): Likewise.
7294
902b71f9
DM
7295 * nptl/tst-spin4.c: New test.
7296 * nptl/Makefile (tests): Add tst-spin4.
7297
f9d2d032
AS
72982014-06-03 Andreas Schwab <schwab@suse.de>
7299
7300 [BZ #15946]
7301 * resolv/res_send.c (send_dg): Reload file descriptor after
7302 calling reopen.
7303
cf7bfd28
SL
73042014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7305
7306 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7307
111cc714
RH
73082014-06-03 Richard Henderson <rth@redhat.com>
7309
89b4bd6b
RH
7310 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7311 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7312 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7313 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7314 in the SAVE_PID block.
7315 (__libc_vfork): New alias.
71840409 7316 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 7317
111cc714
RH
7318 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7319 child in registers, not on the stack. Remove RESET_PID conditionals.
7320 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7321
ccc39911
MS
73222014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7323
7324 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7325
693096cc
W
73262014-06-03 Wilco <wdijkstr@arm.com>
7327
7328 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7329 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7330 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7331 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7332 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7333 Likewise.
7334
0b4366bc
W
73352014-06-03 Wilco <wdijkstr@arm.com>
7336
7337 * sysdeps/aarch64/fpu/math_private.h
7338 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7339 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7340 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7341 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7342 Fix declarations.
7343
8747cd03
KS
73442014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7345
7346 * crypt/crypt-private.h: Include ufc-crypt.h.
7347 (__b64_from_24bit): Declare extern.
7348 * crypt/crypt_util.c(__b64_from_24bit): New function.
7349 (b64t): New static const variable.
7350 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7351 (b64t): Remove variable.
7352 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7353 * crypt/sha256-crypt.c: Include crypt-private.h.
7354 (b64t): Remove variable.
7355 (__sha256_crypt_r): Remove b64_from_24bit and replace
7356 with __b64_from_24bit.
7357 * crypt/sha512-crypt.c: Likewise.
7358
d936d379
RM
73592014-06-02 Roland McGrath <roland@hack.frob.com>
7360
7361 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7362 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7363 Label the code __libc_vfork rather than __vfork.
7364 [!NOT_IN_libc] (vfork): Define as weak alias.
7365 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7366 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7367 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7368
9fa76613
SP
73692014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7370
7371 * malloc/malloc.c (malloc_info): Fix format specifier for
7372 n_mmaps.
7373
a88dadbe
W
73742014-06-02 Wilco <wdijkstr@arm.com>
7375
7376 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7377 FPCR write.
7378
c95b3011
W
73792014-06-02 Wilco <wdijkstr@arm.com>
7380
7381 [BZ #17009]
7382 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7383 Rewrite to reduce FPCR/FPSR accesses.
7384
6b4d7a90
DM
73852014-06-01 David S. Miller <davem@davemloft.net>
7386
7387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7388
30f3d07c
DM
73892014-05-31 David S. Miller <davem@davemloft.net>
7390
7391 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7392 to occur in round to nearest mode when |x| >= 2.0
7393
74f31c18
RH
73942014-05-30 Richard Henderson <rth@twiddle.net>
7395
f0712b54
RH
7396 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7397 (PSEUDO_RET_NOERRNO): Remove.
7398 (ret): Don't redefine.
7399 (ret_NOERRNO): Define in terms of ret.
7400 (ret_ERRVAL): Likewise.
7401
74f31c18
RH
7402 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7403 use of PSEUDO_RET; perform the error check directly.
7404
30477995
MM
74052014-05-30 Marko Myllynen <myllynen@redhat.com>
7406
7407 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7408 with __int128_t.
7409
62a58816
SP
74102014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7411
7412 * malloc/malloc (malloc_info): Fix formatting.
7413
4d653a59
SP
74142014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7415 Roland McGrath <roland@hack.frob.com>
7416
7417 * malloc/malloc (malloc_info): Also print mmapped statistics.
7418
5190c17f
RM
74192014-05-30 Roland McGrath <roland@hack.frob.com>
7420
7421 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7422 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7423
987c0269
OB
74242014-05-30 Ondřej Bílka <neleai@seznam.cz>
7425
7426 * malloc/malloc.c (malloc_info): Inline mi_arena.
7427
af4e8ef9
RH
74282014-05-29 Richard Henderson <rth@twiddle.net>
7429
1670e207
RH
7430 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7431 Remove comma before expanding ASM_ARGS_##nr.
7432 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7433 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7434 of ASM_ARGS_##nr.
7435 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7436 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7437 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7438 (ASM_ARGS_1): Add leading comma.
7439
11a28aee
RH
7440 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7441 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7442 to __errno_location.
7443 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7444 Remove the expected plt for __errno_location.
7445
a17e5ffb 7446 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 7447 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
7448 call to __read_tp.
7449
b5be4597
RH
7450 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7451 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7452 it and break it down.
7453 (DOCARGS_0, DOCARGS_1): Do nothing.
7454 (DOCARGS_2): Update to store into the new stack frame.
7455 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7456 (UNDOCARGS_1): Update to restore from the new stack frame.
7457 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7458 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7459
645d44ab
RH
7460 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7461 (SINGLE_THREAD_P): New parameter for result regno.
7462 (PSEUDO): Update to match; use cbz instead of beq.
7463
a8b4f04a
RH
7464 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7465 Use ENTRY to define the _nocancel entry point. Share the syscall
7466 and syscall error check paths with the cancel path.
7467 (PSEUDO_END): New.
7468
af4e8ef9
RH
7469 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7470 whitespace; tabs before and after asm mnemonics.
7471
26b0d2e1
EW
74722014-05-29 Eric Wong <normalperson@yhbt.net>
7473
7474 [BZ #15132]
7475 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7476 Call fstat64 or stat64 internally, depending on arguments passed.
7477 Replace stat buffer argument with file descriptor argument.
7478 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7479 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7480 Pass fd to __internal_statvfs instead of calling fstat64.
7481 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7482 Pass fd to __internal_statvfs64 instead of calling fstat64.
7483 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7484 Pass -1 to __internal_statvfs instead of calling stat64.
7485 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7486 Pass -1 to __internal_statvfs64 instead of calling stat64.
7487
1efe2bd9
RM
74882014-05-28 Roland McGrath <roland@hack.frob.com>
7489
0d3b7a19
RM
7490 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7491 that was previously under [RESET_PID].
7492 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7493
1efe2bd9
RM
7494 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7495 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7496
a6bea3ca
RM
74972014-05-27 Roland McGrath <roland@hack.frob.com>
7498
30b6629e
RM
7499 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7500
a6bea3ca
RM
7501 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7502 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7503
3dfb9a5c
OB
75042014-05-27 Ondřej Bílka <neleai@seznam.cz>
7505
7506 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7507
774f9285
AS
75082014-05-27 Andreas Schwab <schwab@suse.de>
7509
7510 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7511 TLS_INIT_TP macro.
7512 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7513 * elf/rtld.c (init_tls, dl_main): Likewise.
7514 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7515 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7516 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7517 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7518 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7519 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7520 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7521 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7522 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7523 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7524 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7525 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7526 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7527 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7528 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7529 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7530 * sysdeps/generic/tls.h: Update description.
7531
36ffe739
WN
75322014-05-27 Will Newton <will.newton@linaro.org>
7533
7534 [BZ #16990]
7535 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7536 and restore r2 rather than just restoring.
7537
2482ae43
SP
75382014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7539
7540 [BZ #16724]
7541 * libio/tst-ftell-append.c: New test case.
7542 * libio/Makefile (tests): Add test case.
7543 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7544 append mode.
7545 * libio/wfileops.c (do_ftell_wide): Likewise.
7546
3d1024e8
AZ
75472014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7548
bab90016
AZ
7549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7550
c7a8d667
AZ
7551 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7552 ...
7553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7555 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7556 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7557 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7558 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7559 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7560 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7561 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7562 Moved ...
7563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7564 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7565 Moved ...
7566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7567 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7568 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7569 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7570 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7571 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7572 ...
7573 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7574 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7575 Moved ...
7576 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7577 here.
7578 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7579 ...
7580 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7581 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7582 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7583
daee7851
AZ
7584 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7585 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7586 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7587 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7588
50a40819
AZ
7589 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7590 merge into ...
7591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7593 ...
7594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7595 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7596 ...
7597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7598 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7599 Moved ...
7600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7601 here.
7602 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7603 Moved ...
7604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7606 Moved ...
7607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7608
8464c2a1
AZ
7609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7610 conditional [RESET_PID].
7611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7612 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7613 removed.
7614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7615 removed.
7616
3d1024e8
AZ
7617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7618 <tcb-offsets.h>.
7619 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7620 (__libc_vfork): New strong alias.
7621 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7622 removed.
7623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7624 Removed.
7625
7626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7627 <tcb-offsets.h>.
7628 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7629 (__libc_vfork): New strong alias.
7630 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7631 removed.
7632 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7633 removed.
7634
fdfd175d
CD
76352014-05-26 Carlos O'Donell <carlos@redhat.com>
7636
7637 * malloc/malloc.c (mi_arena): New function.
7638 (malloc_info): Remove nested function mi_arena. Call non-nosted
7639 function mi_arena.
7640
d298c416
AZ
76412014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7642
7643 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7644 by insrwi.
7645 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7646 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7647 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7648 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7649 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7650 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7651 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7652
b60ea6ff
AS
76532014-05-26 Andreas Schwab <schwab@suse.de>
7654
7655 [BZ #16984]
7656 * locale/programs/repertoire.c (repertoire_read): Add slash
7657 between I18NPATH element and file name.
7658 * locale/programs/locfile.c (locfile_read): Likewise.
7659
67365926
SL
76602014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7661
7662 * nptl/pthread_mutexattr_settype.c
7663 (__pthread_mutexattr_settype):
7664 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7665
f8bdf1f0
SL
76662014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7667
7668 * nptl/tst-mutex5 (do_test):
7669 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7670
15eaf6ff
SP
76712014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7672
7673 * benchtests/README: Document 'init' directive.
7674 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7675 BENCH_INIT.
7676 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7677 (parse_file): Recognize 'init' directive.
7678
75f11331
KM
76792014-05-26 Kyle McMartin <kyle@redhat.com>
7680
7681 [BZ #16796]
7682 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7683 alignment of struct pthread.
7684
c3ec475c
SP
76852014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7686
7687 [BZ #16878]
7688 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7689 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7690 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7691 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7692
82aab97c
RH
76932014-05-25 Richard Henderson <rth@twiddle.net>
7694
aa2f176d
RH
7695 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7696 (SINGLE_THREAD_P_PIC): Remove.
7697 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7698 (SINGLE_THREAD_P_PIC): Remove.
7699
ca3cfa40
RH
7700 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7701 branch to syscall error ...
7702 (PSEUDO): ... here.
7703 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7704 from __local_syscall_error to .Lsyscall_error.
7705 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7706 (SYSCALL_ERROR): Update label name.
7707
6e6c2d01
RH
7708 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7709 Do not use DOARGS/UNDOARGS.
7710 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7711 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7712 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7713 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7714 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7715
c69abcee
RH
7716 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7717 block comment.
7718
82aab97c
RH
7719 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7720 define if !NOT_IN_libc.
7721 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7722 define with non-default symbol versions.
7723
8820e3ac
RH
77242014-05-23 Richard Henderson <rth@twiddle.net>
7725
900e445f
RH
7726 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7727 (vfork, __vfork): Define via compat_symbol.
7728
8820e3ac
RH
7729 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7730 [!HAVE_IFUNC] (vfork_compat): Remove.
7731 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7732
e59252a5
JM
77332014-05-23 Joseph Myers <joseph@codesourcery.com>
7734
7735 [BZ #16978]
7736 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7737 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7738 variable.
7739
132c7f5f
RH
77402014-05-23 Richard Henderson <rth@twiddle.net>
7741
bc89e962
RH
7742 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7743 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7744 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7745 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7746
7747 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7748 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7749 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7750 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7751 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7752 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7753 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7754 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7755 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7756 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7757 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7758 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7759 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7760 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7761 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7762 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7763 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7764 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7765 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7766 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7767 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7768 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7769 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7770 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7771 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7772 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7773 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7774 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7775 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7776 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7777 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7778 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7779 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7780 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7781 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7782 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7783 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7784 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7785 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7786 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7787 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7788 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7789 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7790 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7791 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7792 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7793 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7794 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7795 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7796 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7797 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7798 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7799 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7800 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7801 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7802 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7803
e2fa4bc2
RH
7804 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7805 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7806 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7807 before exiting on error.
7808 (__libc_vfork): New strong alias.
7809 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7810 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7811
279b24e2
RH
7812 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7813 that was previously under [RESET_PID].
7814 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7815
132c7f5f
RH
7816 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7817
b72592e7
JM
78182014-05-23 Joseph Myers <joseph@codesourcery.com>
7819
7820 [BZ #16977]
7821 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7822 value when x - 1 is zero.
7823 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7824 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7825 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7826 0.0L for an argument of 1.0L.
7827 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7828 Likewise.
7829 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7830 value when x - 1 is zero.
7831 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7832 * sysdeps/i386/fpu/libm-test-ulps: Update.
7833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7834
2302d679
RV
78352014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7836
7837 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7838 alphasort and versionsort.
7839
32999d63
AZ
78402014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7841
7842 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7843 macro.
7844 [copysignf]: Likewise.
7845
019324d0
SP
78462014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7847
7848 * crypt/md5-crypt.c: Fix formatting.
7849
34fff5c2
KS
78502014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7851
7852 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7853 (b64_from_24bit): New function.
7854
3d2badac
AZ
78552014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7856
7857 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7858 libc_hidden_builtin_def to ifunc.
7859 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7860 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7861
f7bb179f 78622014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7863
7864 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7865 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7866
4134b50d
JM
78672014-05-21 Joseph Myers <joseph@codesourcery.com>
7868
bb7d0337
JM
7869 * nscd/Depend (linuxthreads): Remove.
7870 (nptl): Add.
7871 * resolv/Depend (linuxthreads): Remove.
7872 * rt/Depend (linuxthreads): Remove.
7873
4134b50d
JM
7874 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7875 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7876 $(common-objpfx)elf/.
7877 (link-libc-before-gnulib): Likewise.
7878 (elfobjdir): Remove variable.
7879 * Makefile (install): Use $(elf-objpfx) instead of
7880 $(common-objpfx)elf/.
7881 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7882 $(elfobjdir)/.
7883 (link-libc-deps): Likewise.
7884 ($(common-objpfx)libc.so): Likewise.
7885 ($(common-objpfx)linkobj/libc.so): Likewise.
7886 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7887 instead of $(common-objpfx)elf/.
7888 (symbolic-link-list): Likewise.
7889 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7890 [$(cross-compiling) = no]: Likewise.
7891 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7892 $(elfobjdir)/.
7893 (static-gnulib-arch): Likewise.
7894 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7895 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7896 $(common-objpfx)elf/.
7897
3612eb8f
RH
78982014-05-21 Richard Henderson <rth@redhat.com>
7899
a6b3657b
RH
7900 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7901 (SINGLE_THREAD_P): Use the correct width load. Fold
7902 into the ldr offset.
7903
3612eb8f
RH
7904 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7905 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7906
175cef41
JM
79072014-05-20 Joseph Myers <joseph@codesourcery.com>
7908
7909 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7910 (libgcc_s_resume): Use __attribute_used__.
7911 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7912 Likewise.
7913
e13bccd3
AZ
79142014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7915
7916 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7917 optimization when used with float constants.
7918
7c112a38
AZ
7919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7920
ae75a883
AJ
79212014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7922
7923 [BZ #16915]
7924 * locale/nl_langinfo_l.c: Make direct reference to every
7925 _nl_current_CATEGORY symbol.
7926 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7927 (tests-static): Add tst-langinfo-static.
7928 (tests-special): Add tst-langinfo-static.out.
7929 ($(objpfx)tst-langinfo.out): Redirect output.
7930 ($(objpfx)tst-langinfo-static.out): New.
7931 * localedata/tst-langinfo.sh: Send output to stdout.
7932 * localedata/tst-langinfo-static.c: New file.
7933
4406c41c
AJ
7934 [BZ #16965]
7935 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7936 when the shift amount is modulo the limb size.
7937
4c0a1e63
RH
79382014-05-20 Richard Henderson <rth@redhat.com>
7939
de9d8f20
RH
7940 [BZ #16967]
7941 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7942 Change type of sa_flags from unsigned int to int.
7943
4c0a1e63
RH
7944 [BZ #16966]
7945 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
7946
7947 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7948
a60339aa
WN
79492014-05-20 Will Newton <will.newton@linaro.org>
7950
7951 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7952 Test the return value of the system call in the nocancel case.
7953
7d05a816
YR
79542014-05-20 Will Newton <will.newton@linaro.org>
7955 Yvan Roux <yvan.roux@linaro.org>
7956
7957 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7958 #include of asm/ptrace.h.
7959 (PTRACE_GET_THREAD_AREA): Remove #undef.
7960 (PTRACE_GETHBPREGS): Likewise.
7961 (PTRACE_SETHBPREGS): Likewise.
7962 (struct user_regs_struct): New structure.
7963 (struct user_fpsimd_struct): New structure.
7964 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7965 #include of asm/ptrace.h and second #include of sys/user.h.
7966 (PTRACE_GET_THREAD_AREA): Remove #undef.
7967 (PTRACE_GETHBPREGS): Likewise.
7968 (PTRACE_SETHBPREGS): Likewise.
7969 (ELF_NGREG): Use new struct user_regs_struct.
7970 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7971
af121e37
AZ
79722014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7973
7974 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7975 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7976
834caf06
JM
79772014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7978
7979 [BZ #16958]
7980 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7981 membar to avoid block loads/stores to overlap previous stores.
7982
e184a918
RH
79832014-05-17 Richard Henderson <rth@redhat.com>
7984
7985 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7986 Create the __##syscall_name##_nocancel entry point.
7987 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7988 Remove; let the sysdep-cancel.h code create it.
7989
f56c7a6a
DM
79902014-05-17 David S. Miller <davem@davemloft.net>
7991
7992 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7993 Protect with __USE_GNU.
7994 (TIOCSET_TEMPT): Likewise.
7995 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7996 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7997 these are already provided in bits/ioctl-types.h
7998
f75616b2
RM
79992014-05-16 Roland McGrath <roland@hack.frob.com>
8000
3edeca86
RM
8001 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8002 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8003
f75616b2
RM
8004 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8005 Use wait4 regardless of [__NR_waitpid].
8006
deb0f7f6
MR
80072014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8008
8009 PR libgcc/60166
8010 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8011 (_FP_NANSIGN_Q): Set the quiet bit.
8012
79520f4b
JM
80132014-05-16 Joseph Myers <joseph@codesourcery.com>
8014
8015 * benchtests/Makefile
8016 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8017 not $(common-objpfx)math/libm.so.
8018 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8019 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8020 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8021 $(common-objpfx)dlfcn/libdl.so.
8022 ($(objpfx)tst-audit8): Depend on $(libm), not
8023 $(common-objpfx)math/libm.so.
8024 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8025 not $(common-objpfx)dlfcn/libdl.so.
8026 * math/Makefile
8027 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8028 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
8029 [$(build-shared) = yes].
8030 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8031 $(common-objpfx)nptl/libpthread.so.
8032 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8033 $(common-objpfx)math/libm.so$(libm.so-version) or
8034 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8035 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8036 $(common-objpfx)dlfcn/libdl.so.
8037 * setjmp/Makefile (link-libm): Remove variable.
8038 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8039 * stdio-common/Makefile (link-libm): Remove variable.
8040 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8041 * stdlib/Makefile (link-libm): Remove variable.
8042 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8043 ($(objpfx)tst-strtod-round): Likewise.
8044 ($(objpfx)tst-tininess): Likewise.
8045 ($(objpfx)tst-strtod-underflow): Likewise.
8046 ($(objpfx)tst-strtod6): Likewise.
8047 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8048 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8049 $(common-objpfx)dlfcn/libdl.so.
8050
026b0fe4
AZ
80512014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8052
8053 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8054 BSD terminal modes definitions.
8055
def4bcb2
RM
80562014-05-16 Roland McGrath <roland@hack.frob.com>
8057
fe39b021
RM
8058 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8059 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8060
1d1fc46e 8061 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
8062 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8063 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8064 Don't do #include_next.
8065 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8066 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8067 Don't do #include_next.
8068 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8069 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8070 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8071 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8072
c72399fb
AM
80732014-05-16 Allan McRae <allan@archlinux.org>
8074
d51d659d
AM
8075 * po/sv.po: Update Swedish translation from translation project.
8076
c72399fb
AM
8077 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8078 in sed expression.
8079
d0583c40
AJ
80802014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8081
8082 [BZ #16917]
8083 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8084 errno if the TIOCGPTN ioctl fails with an error different than
8085 EINVAL.
8086 * login/tst-ptsname.c: New file.
8087 * login/Makefile (tests): Add tst-ptsname.
8088
d16e6ec7
AJ
8089 [BZ #16943]
8090 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8091 and prlimit64.
8092
cf26a0cb
SP
80932014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8094
8095 [BZ #16849]
8096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8097 herrno to return EAI_AGAIN.
8098
5675da1e
RM
80992014-05-14 Roland McGrath <roland@hack.frob.com>
8100
a5d87b3d
RM
8101 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8102 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8103 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8104 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8105 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8106 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8107 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8108 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8109 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8110 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8111 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8112 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8113 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8114 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8115 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8116 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8117 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8118 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8119 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8120 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8121 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8122 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8123 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8124 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8125 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8126 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8127 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8128 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8129 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8130 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8132 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8134 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8136 Moved ...
8137 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8139 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8141 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8143 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8145 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8147 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8149 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8151 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8153 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8155 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8157 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8159 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8161 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8163 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8165 Moved ...
8166 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8168 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8170 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8172 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8174 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8176 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8178 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8180 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8182 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8184 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8186 Moved ...
8187 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8189 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8190
039890a6
RM
8191 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8192 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8193 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8194 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8195 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8196 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8197 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8198 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8199 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8200 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8201 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8202 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8203 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8204 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8205 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8206 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8207 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8208 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8209 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8210 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8211 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8212 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8213 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8214 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8215 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8216 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8217 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8218 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8219 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8220 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8221 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8222
65c89320
RM
8223 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8224 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8225
348f8e8c
RM
8226 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8227 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8228 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8229 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8230 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8231 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8232 Moved ...
8233 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8234 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8235 Moved ...
8236 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8237 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8238 Moved ...
8239 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8240 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8241 Moved ...
8242 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8243 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8244 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8245 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8246 Moved ...
8247 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8248 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8249 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8250 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8251 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8252 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8253 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8254 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8255 Moved ...
8256 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8257 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8258 Moved ...
8259 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8260 ... here.
8261 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8262 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8263 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8264 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8265 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8266 Moved ...
8267 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8268 ... here.
8269 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8270 Moved ...
8271 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8272 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8273 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8274 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8275 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8276 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8277 Moved ...
8278 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8279 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8280 Moved ...
8281 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8282 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8283 Moved ...
8284 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8285 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8286 Moved ...
8287 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8288 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8289 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8290 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8291 Moved ...
8292 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8293 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8294 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8295 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8296 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8297 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8298 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8299 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8300 Moved ...
8301 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8302 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8303 Moved ...
8304 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8305 ... here.
8306 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8307 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8308 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8309 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8310 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8311 Moved ...
8312 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8313 ... here.
8314 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8315 Moved ...
8316 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8317 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8318 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8319 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8320 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8321 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8322 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8323 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8324 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8325 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8326 Moved ...
8327 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8328 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8329 Moved ...
8330 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8331 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8332 Moved ...
8333 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8334 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8335 Moved ...
8336 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8337 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8338 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8339 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8340 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8341 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8342 Moved ...
8343 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8344 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8345 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8346 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8347 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8348 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8349 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8350 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8351 Moved ...
8352 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8353 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8354 Moved ...
8355 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8356 ... here.
8357 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8358 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8359 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8360 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8361 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8362 Moved ...
8363 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8364 ... here.
8365 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8366 Moved ...
8367 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8368 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8369 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8370 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8371 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8372 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8373 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8374 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8375 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8376 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8377 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8378
5085af05
RM
8379 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8380 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8381
708f0813
RM
8382 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8383 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8384
c96067bc
RM
8385 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8386 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8387 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8388 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8389 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8390 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8391 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8392 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8393 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8394 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8395 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8396 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8397 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8398 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8399 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8400 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8401 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8402 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8403 Moved ...
8404 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8405 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8406 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8407 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8408 Moved ...
8409 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8410 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8411 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8412 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8413 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8414 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8415 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8416 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8417 Moved ...
8418 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8419 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8420 Moved ...
8421 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8422 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8423 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8424 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8425 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8426 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8427 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8428 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8429 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8430 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8431 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8432 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8433 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8434 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8435 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8436 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8437 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8438
ec136444
RM
8439 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8440 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8441 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8442 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8443 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8444
2fbdf533
RM
8445 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8446 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8447 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8448 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8449 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8450 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8451 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8452 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8453 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8454 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8455
4c68138b
RM
8456 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8457 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8458
4eaae765
RM
8459 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8460 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
8461 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8462 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8463 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8464 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8465 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8466 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8467 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8468 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8469 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8470 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8471 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8472 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8473 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8474 Update #include.
8475 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8476 Likewise.
8477 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8478 Likewise.
8479 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8480 Likewise.
8481 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8482 Likewise.
8483 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8484 Likewise.
8485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8486 Likewise.
8487 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8488 Likewise.
8489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8490 Likewise.
8491 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8492 Likewise.
4ef6befa
RM
8493 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8494 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8495 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8496 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8497 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
8498 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8499 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8500 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8501 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8502 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8503 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8504 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8505 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8506 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8507 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 8508
941d7dfd
RM
8509 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8510 that was previously under [RESET_PID].
8511 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8512 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8513 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8514
1b731c35
RM
8515 * sysdeps/i386/nptl/Implies: New file.
8516 * sysdeps/x86_64/nptl/Implies: New file.
8517 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8518 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8519 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8520 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8521
e2787137
RM
8522 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8523 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8524 (__libc_vfork): New strong alias.
8525 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8526 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8527
8528 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8529 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8530 (__libc_vfork): New strong alias.
8531 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8532 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8533
5675da1e
RM
8534 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8535 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8536 (__libc_vfork): New strong alias.
8537 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8538 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8539 * nptl/pt-vfork.c: New file.
8540 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8541 (libpthread: GLIBC_2.20): New version set (empty).
8542
4f02e2b8
WN
85432014-05-14 Will Newton <will.newton@linaro.org>
8544
8545 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8546 rather than #if.
8547
0bf061d3
JM
85482014-05-14 Joseph Myers <joseph@codesourcery.com>
8549
1a84c3d6
JM
8550 [BZ #16564]
8551 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8552 arguments with exponent 65 or above.
8553 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8554 arguments 0x1p113L or above.
8555 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8556 to arguments 0x1p107L or above.
8557 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8558 positive arguments with exponent 65 or above.
8559 * math/auto-libm-test-in: Add more tests of log1p.
8560 * math/auto-libm-test-out: Regenerated.
8561
01dbacd2
JM
8562 [BZ #16928]
8563 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8564 non-finite arguments is +0.
8565 * math/s_cacosf.c (__cacosf): Likewise.
8566 * math/s_cacosl.c (__cacosl): Likewise.
8567 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8568 * sysdeps/i386/fpu/libm-test-ulps: Update.
8569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8570
913d03c8
JM
8571 [BZ #16927]
8572 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8573 value.
8574 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8575 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8576 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8577 for explicit high bit of mantissa when testing for argument equal
8578 to 1.
8579 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8580 * sysdeps/i386/fpu/libm-test-ulps: Update.
8581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8582
0bf061d3
JM
8583 [BZ #16516]
8584 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8585 (__erf): Scale by 16 instead of 8 in potentially underflowing
8586 case. Ensure exception if result actually underflows.
8587 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8588 (__erff): Scale by 16 instead of 8 in potentially underflowing
8589 case. Ensure exception if result actually underflows.
8590 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8591 (efx8): Remove variable.
8592 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8593 case. Ensure exception if result actually underflows.
8594 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8595 (efx8): Remove variable.
8596 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8597 case. Ensure exception if result actually underflows.
8598 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8599 (efx8): Remove variable.
8600 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8601 case. Ensure exception if result actually underflows.
8602 * math/auto-libm-test-in: Add more tests of erf.
8603 * math/auto-libm-test-out: Regenerated.
8604
73ba67cb
AS
86052014-05-14 Andreas Schwab <schwab@suse.de>
8606
3d8c8bff
AS
8607 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8608 Remove code conditionalized on USE___THREAD.
8609
73ba67cb
AS
8610 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8611 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8612 not definedness.
8613
5c521ecd
JM
86142014-05-14 Joseph Myers <joseph@codesourcery.com>
8615
5e7698c6
JM
8616 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8617 Define unconditionally.
8618 (__ASSUME_O_CLOEXEC): Likewise.
8619 (__ASSUME_SOCK_CLOEXEC): Likewise.
8620 (__ASSUME_IN_NONBLOCK): Likewise.
8621 (__ASSUME_PIPE2): Likewise.
8622 (__ASSUME_EVENTFD2): Likewise.
8623 (__ASSUME_SIGNALFD4): Likewise.
8624 (__ASSUME_DUP3): Likewise.
8625 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8626 (__ASSUME_DUP3): Do not define.
8627 (__ASSUME_EVENTFD2): Likewise.
8628 (__ASSUME_IN_NONBLOCK): Likewise.
8629 (__ASSUME_O_CLOEXEC): Likewise.
8630 (__ASSUME_PIPE2): Likewise.
8631 (__ASSUME_SIGNALFD4): Likewise.
8632 (__ASSUME_SOCK_CLOEXEC): Likewise.
8633 (__ASSUME_UTIMES): Undefine.
8634 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8635 (__ASSUME_UTIMES): Do not define.
8636 (__ASSUME_O_CLOEXEC): Likewise.
8637 (__ASSUME_SOCK_CLOEXEC): Likewise.
8638 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8639 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8640 0x020621].
8641 (__ASSUME_PIPE2): Likewise.
8642 (__ASSUME_EVENTFD2): Likewise.
8643 (__ASSUME_SIGNALFD4): Likewise.
8644 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8645 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8646 Do not define.
8647 (__ASSUME_EVENTFD2): Likewise.
8648 (__ASSUME_SIGNALFD4): Likewise.
8649 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8650 (__ASSUME_32BITUIDS): Likewise.
8651 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8652 (__ASSUME_IPC64): Likewise.
8653 (__ASSUME_ST_INO_64_BIT): Likewise.
8654 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8655 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8656 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8657 (__ASSUME_UTIMES): Do not define.
8658 (__ASSUME_PSELECT): Likewise.
8659 (__ASSUME_PPOLL): Likewise.
8660 (__ASSUME_O_CLOEXEC): Likewise.
8661 (__ASSUME_SOCK_CLOEXEC): Likewise.
8662 (__ASSUME_IN_NONBLOCK): Likewise.
8663 (__ASSUME_PIPE2): Likewise.
8664 (__ASSUME_EVENTFD2): Likewise.
8665 (__ASSUME_SIGNALFD4): Likewise.
8666 (__ASSUME_DUP3): Likewise.
8667 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8668 (__ASSUME_UTIMES): Likewise.
8669 (__ASSUME_O_CLOEXEC): Likewise.
8670 (__ASSUME_SOCK_CLOEXEC): Likewise.
8671 (__ASSUME_IN_NONBLOCK): Likewise.
8672 (__ASSUME_PIPE2): Likewise.
8673 (__ASSUME_EVENTFD2): Likewise.
8674 (__ASSUME_SIGNALFD4): Likewise.
8675 (__ASSUME_DUP3): Likewise.
8676 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8677 (__ASSUME_UTIMES): Likewise.
8678 (__ASSUME_O_CLOEXEC): Likewise.
8679 (__ASSUME_SOCK_CLOEXEC): Likewise.
8680 (__ASSUME_IN_NONBLOCK): Likewise.
8681 (__ASSUME_PIPE2): Likewise.
8682 (__ASSUME_EVENTFD2): Likewise.
8683 (__ASSUME_SIGNALFD4): Likewise.
8684 (__ASSUME_DUP3): Likewise.
8685 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8686 Likewise.
8687 (__ASSUME_UTIMES): Likewise.
8688 (__ASSUME_EVENTFD2): Likewise.
8689 (__ASSUME_SIGNALFD4): Likewise.
8690 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8691 (__ASSUME_O_CLOEXEC): Likewise.
8692 (__ASSUME_SOCK_CLOEXEC): Likewise.
8693 (__ASSUME_IN_NONBLOCK): Likewise.
8694 (__ASSUME_PIPE2): Likewise.
8695 (__ASSUME_EVENTFD2): Likewise.
8696 (__ASSUME_SIGNALFD4): Likewise.
8697 (__ASSUME_DUP3): Likewise.
8698 (__ASSUME_UTIMES): Undefine.
8699
5c521ecd
JM
8700 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8701 feclearexcept. Remove symbol versioning code.
8702 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8703 symbol versioning code.
8704 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8705 symbol versioning code.
8706 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8707 feupdateenv. Remove symbol versioning code.
8708 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8709 fegetexceptflag. Remove symbol versioning code.
8710 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8711 fesetexceptflag. Remove symbol versioning code.
8712 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8713 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8714 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8715 (__posix_fadvise64_l32): Remove prototype.
8716 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8717 code.
8718
5da9dfad
RM
87192014-05-13 Roland McGrath <roland@hack.frob.com>
8720
8721 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8722 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8723 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8724 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8725
893b4f37
SK
87262014-05-13 Sami Kerola <kerolasa@iki.fi>
8727
8728 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8729 current working directory
8730
e0db6517
RM
87312014-05-13 Roland McGrath <roland@hack.frob.com>
8732
58aa195d
RM
8733 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8734 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8735 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8736 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8737 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8738 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8739 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8740 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8741 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8742 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8743 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8744 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8745 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8746 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8747 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8748 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8749 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8750 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8751 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8752 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8753 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8754 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8755 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8756 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8757 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8758 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8759 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8760 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8761 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8762 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8763 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8764 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8765 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8766 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8767 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8768 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8769 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8770 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8771 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8772 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8773 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8774 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8775
8c6d01f0
RM
8776 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8777 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8778
8779 * sysdeps/unix/sysv/linux/arm/Makefile
8780 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8781 Add rt-aeabi_unwind_cpp_pr1.
8782 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8783 Add nptl-aeabi_unwind_cpp_pr1.
8784 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8785 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8786 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8787 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8788 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8789 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8790
8791 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8792 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8793 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8794 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8795
bba6da4e
RM
8796 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8797 Deconditionalize the code that was previously under [RESET_PID].
8798 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8799
e0db6517
RM
8800 * sysdeps/generic/exit-thread.h: New file.
8801 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8802 * include/unistd.h (__exit_thread): Remove declaration.
8803 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8804 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8805 * csu/libc-start.c: Include <exit-thread.h>.
8806 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8807 * nptl/pthread_create.c: Include <exit-thread.h>.
8808 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8809 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8810 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8811 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8812 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8813 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8814 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8815 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8816 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8817 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8818 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8819 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8820 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8821 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8822 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8823 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8824 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8825
01eb16fd
AS
88262014-05-13 Andreas Schwab <schwab@suse.de>
8827
8828 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8829
637461d9
JM
88302014-05-12 Joseph Myers <joseph@codesourcery.com>
8831
8832 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8833 (__ASSUME_UTIMES): Do not condition on kernel version.
8834 (__ASSUME_PSELECT): Define unconditionally.
8835 (__ASSUME_PPOLL): Likewise.
8836 (__ASSUME_ATFCTS): Likewise.
8837 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8838 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8839 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8840 (__ASSUME_UTIMENSAT): Define unconditionally.
8841 (__ASSUME_PRIVATE_FUTEX): Likewise.
8842 (__ASSUME_FALLOCATE): Likewise.
8843 (__ASSUME_O_CLOEXEC): Likewise.
8844 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8845 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8846 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8847 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8848 (__ASSUME_IN_NONBLOCK): Likewise.
8849 (__ASSUME_PIPE2): Likewise.
8850 (__ASSUME_EVENTFD2): Likewise.
8851 (__ASSUME_SIGNALFD4): Likewise.
8852 (__ASSUME_DUP3): Likewise.
8853 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8854 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8855 (__ASSUME_AT_RANDOM): Likewise.
8856 (__ASSUME_PREADV): Likewise.
8857 (__ASSUME_PWRITEV): Likewise.
8858 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8859 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8860 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8861 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8862 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8863 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8864 (__ASSUME_O_CLOEXEC): Define unconditionally.
8865 (__ASSUME_PSELECT): Do not undefine conditionally.
8866 (__ASSUME_PPOLL): Likewise.
8867 (__ASSUME_ATFCTS): Likewise.
8868 (__ASSUME_SET_ROBUST_LIST): Likewise.
8869 (__ASSUME_UTIMENSAT): Likewise.
8870 (__ASSUME_FDATASYNC): Define unconditionally.
8871 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8872 (__ASSUME_SIGFRAME_V2): Likewise.
8873 )__ASSUME_EVENTFD2): Likewise.
8874 (__ASSUME_SIGNALFD4): Likewise.
8875 (__ASSUME_PSELECT): Do not undefine conditionally.
8876 (__ASSUME_PPOLL): Likewise.
8877 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8878 (__ASSUME_PSELECT): Define unconditionally.
8879 (__ASSUME_PPOLL): Likewise.
8880 (__ASSUME_O_CLOEXEC): Likewise.
8881 (__ASSUME_SOCK_CLOEXEC): Likewise.
8882 (__ASSUME_IN_NONBLOCK): Likewise.
8883 (__ASSUME_PIPE2): Likewise.
8884 (__ASSUME_EVENTFD2): Likewise.
8885 (__ASSUME_SIGNALFD4): Likewise.
8886 (__ASSUME_DUP3): Likewise.
8887 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8888 (__ASSUME_O_CLOEXEC): Likewise.
8889 (__ASSUME_SOCK_CLOEXEC): Likewise.
8890 (__ASSUME_IN_NONBLOCK): Likewise.
8891 (__ASSUME_PIPE2): Likewise.
8892 (__ASSUME_EVENTFD2): Likewise.
8893 (__ASSUME_SIGNALFD4): Likewise.
8894 (__ASSUME_DUP3): Likewise.
8895 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8896 (__ASSUME_EVENTFD2): Likewise.
8897 (__ASSUME_SIGNALFD4): Likewise.
8898 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8899
315eb1d8
AS
89002014-05-12 Andreas Schwab <schwab@suse.de>
8901
8902 [BZ #16932]
8903 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8904 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8905 than maximum RPC packet size.
8906 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8907 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8908 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8909 (_nss_nis_getservbyport_r): Likewise.
8910
91df99f7
WN
89112014-05-12 Will Newton <will.newton@linaro.org>
8912
8913 * malloc/Makefile (tests): Add tst-mallopt.
8914 * malloc/tst-mallopt.c: New file.
8915
0a982a29
RM
89162014-05-09 Roland McGrath <roland@hack.frob.com>
8917
8918 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8919 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8920
0ded08a5
AZ
89212014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8922
8923 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8924 (tst-tlsmod6.so): Likewise.
8925
55d4d550
RM
89262014-05-09 Roland McGrath <roland@hack.frob.com>
8927
8928 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8929
77d08aca
JM
89302014-05-09 Joseph Myers <joseph@codesourcery.com>
8931
8932 [BZ #16064]
8933 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8934 and <dl-procinfo.h>.
8935 (__fegetenv): Save SSE state in envp->__eip if supported.
8936 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8937 envp->__eip if supported.
8938 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8939 and <dl-procinfo.h>.
8940 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8941 __data_offset and __data_selector in environment to 0. Set SSE
8942 state if supported.
8943 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8944 test-fenv-sse.
8945 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8946 -mfpmath=sse.
8947 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8948
28162f4d
WN
89492014-05-09 Will Newton <will.newton@linaro.org>
8950
8951 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8952 and libc_relro_required for ARM.
8953 * sysdeps/arm/preconfigure: Regenerate.
8954
5a414ff7
DV
89552014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8956 Stefan Liebler <stli@linux.vnet.ibm.com>
8957
8958 * config.make.in (enable-lock-elision): New Makefile variable.
8959 * configure.ac: Likewise.
8960 * configure: Regenerate.
8961 * sysdeps/s390/configure.ac:
8962 Add check for gcc transactions support.
8963 * sysdeps/s390/configure: Regenerate.
8964 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8965 Build elision files if enabled.
8966 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8967 Add lock elision support for s390.
8968 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8969 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8970 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8971 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8972 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8973 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8974 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8975 Likewise.
8976 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8977 Likewise.
8978 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8979 Likewise.
8980 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8981 Likewise.
8982 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8983 (__lll_timedlock_elision, __lll_lock_elision)
8984 (__lll_unlock_elision, __lll_trylock_elision)
8985 (lll_timedlock_elision, lll_lock_elision)
8986 (lll_unlock_elision, lll_trylock_elision): Add.
8987 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8988 (pthread_mutex_t): Add lock elision support for s390.
8989
1a2f40e5
W
89902014-05-14 Wilco <wdijkstr@arm.com>
8991
8992 * sysdeps/arm/fclrexcpt.c: Cleanup.
8993 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8994 * sysdeps/arm/feenablxcpt.c: Cleanup.
8995 * sysdeps/arm/fegetenv.c: Cleanup.
8996 * sysdeps/arm/fegetexcept.c: Cleanup.
8997 * sysdeps/arm/fegetround.c: Cleanup.
8998 * sysdeps/arm/feholdexcpt.c: Cleanup.
8999 * sysdeps/arm/fesetenv.c: Cleanup.
9000 * sysdeps/arm/fesetround.c: Cleanup.
9001 * sysdeps/arm/feupdateenv.c: Cleanup.
9002 * sysdeps/arm/fgetexcptflg.c: Cleanup.
9003 * sysdeps/arm/fraiseexcpt.c: Cleanup.
9004 * sysdeps/arm/fsetexcptflg.c: Cleanup.
9005 * sysdeps/arm/ftestexcept.c: Cleanup.
9006 * sysdeps/arm/get-rounding-mode.h: Cleanup.
9007 * sysdeps/arm/setfpucw.c: Cleanup.
9008
f63c86fe
WN
90092014-05-09 Will Newton <will.newton@linaro.org>
9010
9011 * sysdeps/arm/armv7/strcmp.S: New file.
9012 * NEWS: Mention addition of ARMv7 optimized strcmp.
9013
7a1a51b5
RM
90142014-05-08 Roland McGrath <roland@hack.frob.com>
9015
95afbbe5
RM
9016 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9017 look for %.ac rather than %.in.
9018
9019 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9020 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9021 * sysdeps/mach/hurd/configure: Regenerated.
9022 * sysdeps/unix/sysv/linux/configure: Regenerated.
9023
7a1a51b5
RM
9024 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9025
5057ad3b
SE
90262014-05-07 Steve Ellcey <sellcey@mips.com>
9027
9028 [BZ# 16922]
9029 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9030 (LONG_SUB): Ditto.
9031 (PTR_SUB): Ditto.
9032
8dc97517
AS
90332014-05-07 Andreas Schwab <schwab@suse.de>
9034
9035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9036 when skipping over non-matching result from nscd.
9037
ce0c5b8f
OB
90382014-05-07 Ondřej Bílka <neleai@seznam.cz>
9039
9040 [BZ #16876]
9041 * nptl/sockperf.c (client): Check socket return value.
8dc97517 9042
a1189263
OB
9043 [BZ #16877]
9044 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9045 nscd security class.
ce0c5b8f 9046
0f58d252
RM
90472014-05-06 Roland McGrath <roland@hack.frob.com>
9048
9049 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9050 * sysdeps/arm/unwind.h: ... here.
9051
83df9ad0
AJ
90522014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9053
ce0c5b8f
OB
9054 [BZ# 16916]
9055 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9056 Define.
83df9ad0 9057
f360f94a
VR
90582014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9059
9060 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9061 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9062 multiarch strncpy for PPC64.
9063 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9064 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9066 multiarch optimizations.
9067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9068 (__libc_ifunc_impl_list): Likewise.
9069 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9070 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9071 multiarch stpncpy for PPC64.
9072 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9073 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9074
978a41c3
AS
90752014-05-06 Andreas Schwab <schwab@suse.de>
9076
9077 [BZ #16912]
9078 * gmon/mcount.c (_MCOUNT_DECL): Use
9079 atomic_compare_and_exchange_bool_acq instead of
9080 catomic_compare_and_exchange_bool_acq.
9081
eb1ed03d
RM
90822014-05-05 Roland McGrath <roland@hack.frob.com>
9083
fe658845
RM
9084 * elf/Makefile (others, install-bin): Remove pldd.
9085 (pldd-modules): Variable removed.
9086 ($(objpfx)pldd): Target removed.
9087 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9088 (others, install-bin): Append pldd here.
9089 ($(objpfx)pldd): New target.
9090
eb1ed03d
RM
9091 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9092 to 0, so the first #if test emitted later doesn't see it undefined.
9093 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9094 * sysdeps/gnu/errlist.c: Regenerated.
9095
19c4bec0
AZ
90962014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9097
9098 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9099 [libc_hidden_builtin_def]: Define to empty value.
9100 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9101 [libc_hidden_builtin_def]: Likewise.
9102 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9103 [libc_hidden_builtin_def]: Likewise.
9104 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9105 [libc_hidden_builtin_def]: Likewise.
9106 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9107 __redirect_memcpy and define ifunc as default hidden symbol.
9108 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9109 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9110
7776e669
AC
91112014-05-04 Adam Conrad <adconrad@0c3.net>
9112
9113 * locale/iso-4217.def: Reintroduce XDR currency.
9114
d69aeb12
AM
91152014-05-04 Allan McRae <allan@archlinux.org>
9116
9117 * po/eo.po: Update Esperanto translation from translation project.
9118
8f1df5cf
CD
91192014-05-02 Carlos O'Donell <carlos@redhat.com>
9120
9121 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9122 and FEATURE_INDEX_MAX to 1.
9123 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9124
13e402e7
SE
91252014-05-01 Steve Ellcey <sellcey@mips.com>
9126
9127 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9128 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9129 * iconvdata/big5.c (ONE_DIRECTION): Define.
9130 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9131 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9132 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9133 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9134 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9135 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9136 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9137 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9138 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9139 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9140 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9141 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9142 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9143 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9144 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9145 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9146 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9147 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9148 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9149 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9150 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9151 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9152 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9153 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9154 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9155 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9156 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9157 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9158 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9159 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9160 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9161 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9162 * iconvdata/johab.c (ONE_DIRECTION): Define.
9163 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9164 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9165 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9166 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9167 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9168 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9169 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9170 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9171 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9172 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9173
c727f032
RM
91742014-05-01 Roland McGrath <roland@hack.frob.com>
9175
8f2f08d0
RM
9176 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9177 (_IO_JUMPS_OFFSET): Define to 0.
9178
c727f032
RM
9179 * nptl/sysdeps/pthread/bits/libc-lock.h
9180 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9181 (__libc_lock_define_initialized_recursive): Always define using
9182 initializer. Modern compilers treat uninitialized (implicit zero) and
9183 explicit zero initializers the same (i.e. put the datum in bss).
9184
a849e800
AS
91852014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9186
9187 * nscd/nscd-client.h: Include <string.h>.
9188
5331255b
DM
91892014-05-01 David S. Miller <davem@davemloft.net>
9190
9191 [BZ #16885]
9192 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9193 multiple zero bytes exist at the end of a string.
9194 Reported by Aurelien Jarno <aurelien@aurel32.net>
9195
9196 * string/test-strcmp.c (check): Add explicit test for situations where
9197 there are multiple zero bytes after the first.
9198
4fdfe821
AS
91992014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9200
9201 [BZ #16890]
9202 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9203 when compiling wprintf.
9204 * stdio-common/tstdiomisc.c (t3): New function.
9205 (main): Call it.
9206
0cdddc25
SE
92072014-05-01 Steve Ellcey <sellcey@mips.com>
9208
9209 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9210 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9211 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9212 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9213
6426d77e
SE
92142014-05-01 Steve Ellcey <sellcey@mips.com>
9215
9216 * stdlib/longlong.h: Updated from GCC.
9217
6d96f5e4
WN
92182014-05-01 Will Newton <will.newton@linaro.org>
9219 Bernard Ogden <bernie.ogden@linaro.org>
9220
7470db0c
WN
9221 * NEWS: Update fixed bug list.
9222
6d96f5e4
WN
9223 [BZ #15119]
9224 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9225
211d653c
DM
92262014-04-30 David S. Miller <davem@davemloft.net>
9227
4fa262fa
DM
9228 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9229 (libc_feholdexcept_setround_sparc_ctx): New function.
9230 (libc_fesetenv_sparc_ctx): Likewise.
9231 (libc_feupdateenv_sparc_ctx): Likewise.
9232 (libc_feholdsetround_sparc_ctx): Likewise.
9233 (libc_feholdexcept_setround_ctx): Define.
9234 (libc_feholdexcept_setroundf_ctx): Likewise.
9235 (libc_feholdexcept_setroundl_ctx): Likewise.
9236 (libc_fesetenv_ctx): Likewise.
9237 (libc_fesetenvf_ctx): Likewise.
9238 (libc_fesetenvl_ctx): Likewise.
9239 (libc_feupdateenv_ctx): Likewise.
9240 (libc_feupdateenvf_ctx): Likewise.
9241 (libc_feupdateenvl_ctx): Likewise.
9242 (libc_feresetround_ctx): Likewise.
9243 (libc_feresetroundf_ctx): Likewise.
9244 (libc_feresetroundl_ctx): Likewise.
9245 (libc_feholdsetround_ctx): Likewise.
9246 (libc_feholdsetroundf_ctx): Likewise.
9247 (libc_feholdsetroundl_ctx): Likewise.
9248
1d3d93ef
DM
9249 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9250 with __USE_GNU instead of XOPEN cpp guards.
9251
8aa583c3
DM
9252 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9253 0.
9254
211d653c
DM
9255 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9256 with XOPEN cpp guards.
9257
60c8f1f6
JB
92582014-04-30 Julian Brown <julian@codesourcery.com>
9259
9260 [BZ #16888]
9261 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9262 handling.
9263
9a461d46
JM
92642014-04-30 Joseph Myers <joseph@codesourcery.com>
9265
d0f5b3f8
JM
9266 [BZ #9894]
9267 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9268 Change to 2.6.32.
9269 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9270 * sysdeps/unix/sysv/linux/configure: Regenerated.
9271 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9272 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9273 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9274 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9275 * README: Update reference to required Linux kernel version.
9276 * manual/install.texi (Linux): Update reference to required Linux
9277 kernel headers version.
9278 * INSTALL: Regenerated.
9279
9a461d46
JM
9280 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9281 header inclusion.
9282 [POSIX] (limits.h): Likewise.
9283 [POSIX] (math.h): Likewise.
9284 [POSIX] (sys/wait.h): Likewise.
9285 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9286 function.
9287 [POSIX] (stddef.h): Do not allow header inclusion.
9288
1775babf
AZ
92892014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9290
57f41c40 9291 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 9292
8f630cca
YY
92932014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9294
9295 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9296 Return immediately after lll_futex_wake.
9297
1cdeb237
SP
92982014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9299
bc8f194c
SP
9300 [BZ #16791]
9301 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9302 structure.
9303 (datahead_init_pos): Call datahead_init_common early.
9304 (datahead_init_neg): Likewise.
9305
1cdeb237
SP
9306 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9307 datahead_init_neg): New functions.
9308 * nscd/aicache.c (addhstaiX): Use them.
9309 * nscd/grpcache.c (cache_addgr): Likewise.
9310 * nscd/hstcache.c (cache_addhst): Likewise.
9311 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9312 * nscd/netgroupcache.c (do_notfound): Likewise.
9313 (addgetnetgrentX): Likewise.
9314 (addinnetgrX): Likewise.
9315 * nscd/pwdcache.c (cache_addpw): Likewise.
9316 * nscd/servicescache.c (cache_addserv): Likewise.
9317
16b293a7
SP
93182014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9319 Atsushi Onoe <atsushi@onoe.org>
9320
9321 [BZ #14308]
9322 [BZ #12994]
9323 [BZ #13651]
9324 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9325 one response is valid.
9326 * resolv/res_send.c (send_dg): Check for validity of other
9327 response if the current response is a referral.
9328
a28a9b94
SE
93292014-04-29 Steve Ellcey <sellcey@mips.com>
9330
9331 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9332
2ca180e9
SL
93332014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9334
9335 [BZ #16823]
9336 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9337 Always divide by positive zero when computing -Inf result.
9338 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9339 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9340
18f2945a
AZ
93412014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9342
9343 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9344 FPSCR if value do not change.
9345 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9346 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9347 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9348 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9349 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9350 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9351 function.
9352
5abebba4
CD
93532014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9354
9355 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9356 * sysdeps/unix/sysv/linux/hppa: Move directory from
9357 ports/systeps/unix/sysv/linux/hppa.
9358 * README: Update listing for hppa-*-linux-gnu.
9359
f7ed60c2
OB
93602014-04-28 Ondřej Bílka <neleai@seznam.cz>
9361
fff763a5
OB
9362 [BZ #16754]
9363 * manual/stdio.texi (Hook functions): Fix types of stream hook
9364 functions.
f7ed60c2
OB
9365 [BZ #16854]
9366 * socket/sys/socket.h: Fix typo in comment.
9367
df639d73
WD
93682014-04-28 Wilco <wdijkstr@arm.com>
9369
f7ed60c2 9370 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
9371 * sysdeps/arm/math_private.h: New file.
9372 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9373
48332d82
L
93742014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9375
9376 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9377 with __int128_t.
9378 (La_x86_64_retval): Likewise.
9379
e5e0d9a4
IB
93802014-04-24 Ian Bolton <ian.bolton@arm.com>
9381
9382 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9383 fpsr if value didn't change.
9384 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9385 to fpcr if value didn't change.
9386 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9387 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9388 fpsr or fpcr if value didn't change.
9389 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9390 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9391 fpcr if value didn't change.
9392 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9393 to fpsr if value didn't change.
9394
bacc75f7
SP
93952014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9396
9397 * nptl/tst-sem3.c: Use test-skeleton.c
9398 (main): Rename to do_test. Use return instead of
9399 exit.
9400 * nptl/tst-sem4.c: Use test-skeleton.c
9401 (main): Rename to do_test.
9402
a059d359
DM
94032014-04-22 David S. Miller <davem@davemloft.net>
9404
9405 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9406 (struct sigaction): New struct member __glibc_reserved0, change
9407 type of sa_flags to int.
9408
ea6c92f3
YZ
94092014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9410
9411 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9412 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9413
766c4a36
SP
94142014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9415
9416 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9417 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9418
140cc7ab
VK
94192014-04-22 Will Newton <will.newton@linaro.org>
9420 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9421
9422 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9423 (__longjmp): Add longjmp and longjmp_target SystemTap
9424 probes.
9425 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9426 (__sigsetjmp): Add setjmp SystemTap probe.
9427
c54e5cf7
CD
94282014-04-17 Carlos O'Donell <carlos@redhat.com>
9429
9430 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9431 match manual order.
9432
75ffb047
AZ
94332014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9434
9435 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9436
2cd925f7
AZ
9437 * sysdeps/powerpc/fpu/fenv_private.h
9438 (libc_feholdexcept_setroundl_ctx): Define to
9439 libc_feholdexcept_setround_ppc_ctx.
9440 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9441 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9442 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9443 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9444
39e6cd8d
IB
94452014-04-17 Ian Bolton <ian.bolton@arm.com>
9446
9447 * sysdeps/aarch64/math-tests.h: New file.
9448
f9281df9
SY
94492014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9450
9451 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9452 New.
9453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9454 Check and set bit_AVX2_Usable.
9455 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9456 macro.
9457 (bit_AVX2): Likewise.
9458 (index_AVX2_Usable): Likewise.
9459 (CPUID_AVX2): Likewise.
9460 (HAS_AVX2): Likewise.
9461
37d35007
WN
94622014-04-17 Will Newton <will.newton@linaro.org>
9463
7c677662
WN
9464 * manual/setjmp.texi (System V contexts): Add note that
9465 calling setcontext on a context created by a call to a
9466 signal handler is undefined. Update text to note that
9467 setcontext from a signal handler is possible but not
9468 recommended.
9469
37d35007 9470 [BZ #16629]
e04a4e9d
WN
9471 * stdlib/tst-setcontext.c: Include signal.h.
9472 (main): Check that the signal stack before and
9473 after swapcontext is the same.
9474
37d35007
WN
9475 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9476 Re-implement to restore registers in user code and avoid
9477 rt_sigreturn system call.
9478
423a7160
W
94792014-04-17 Wilco <wdijkstr@arm.com>
9480
9481 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9482 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9483 * math/test-fenv.c: Skip exception trap tests on targets which only
9484 support non-stop mode.
9485
bc93ab29
IB
94862014-04-17 Ian Bolton <ian.bolton@arm.com>
9487 Wilco Dijkstra <wilco.dijkstra@arm.com>
9488
9489 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9490 (libc_feholdsetround_aarch64_ctx)
9491 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9492 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9493 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9494 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9495 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9496 (libc_feresetround_noexl_ctx): Define.
9497
95fc5fa3
RH
94982014-04-16 Richard Henderson <rth@redhat.com>
9499
ddb04724
RH
9500 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9501
d77c0899
RH
9502 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9503 unwind tables.
9504
a3df56fc
RH
9505 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9506 const from the non-libc, non-ldso copy.
9507
95fc5fa3
RH
9508 * sysdeps/alpha/libm-test-ulps: Regenerate.
9509
7e0b6763
IB
95102014-04-16 Ian Bolton <ian.bolton@arm.com>
9511 Wilco Dijkstra <wilco.dijkstra@arm.com>
9512
9513 * sysdeps/aarch64/fpu/math_private.h: New file.
9514
a9ea2e0c
MS
95152014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9516
9517 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9518
ea8ba7cd
IZ
95192014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9520
7e54fd04 9521 [BZ #16275]
ea8ba7cd
IZ
9522 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9523 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9524 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9525 Intel MPX bound registers before _dl_profile_fixup.
9526 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9527 registers after _dl_profile_fixup. Save and restore bound
9528 registers bnd0/bnd1 when calling _dl_call_pltexit.
9529 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9530 (LR_BND_OFFSET): Likewise.
9531 (LRV_BND0_OFFSET): Likewise.
9532 (LRV_BND1_OFFSET): Likewise.
9533
9f2a4fbc
ST
95342014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9535
9536 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9537 to...
9538 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
9539 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9540 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9541 fields.
9f2a4fbc 9542
fd15a59b
ST
95432014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9544
9545 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9546
f19dfa0a
SL
95472014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9548
9549 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9550
4fa8bc3b
SL
95512014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9552
9553 [BZ #14770]
9554 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9555 * sysdeps/s390/configure: Regenerate.
9556
8ea587db
SL
9557 [BZ #16824]
9558 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9559 Set round-to-nearest internally to reduce error accumulation.
9560
aa5f0ff1
AM
95612014-04-16 Alan Modra <amodra@gmail.com>
9562
9563 [BZ #16740]
9564 [BZ #16619]
9565 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9566 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9567 * NEWS: Update fixed bug list.
aa5f0ff1 9568
bb9c256f
SP
95692014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9570
9571 * benchtests/Makefile: Depend on libraries in build directory.
9572 (bench-math): Separate out math tests.
9573 (bench-pthread): Separate out pthread tests.
9574 (bench): Include math and pthread tests.
9575
f737dfd0
CD
95762014-04-14 Carlos O'Donell <carlos@redhat.com>
9577
9578 [BZ #16831]
9579 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9580 _dl_debug_initialize.
9581
0699f766
CD
9582 * configure.ac: Remove SELinux header check.
9583 * configure: Regenerate.
9584 * nscd/selinux.c (perms): Array of const char* to permission names.
9585 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9586 default policy. Call string_to_security_class and string_to_av_perm to
9587 translate strings. Enforce default policy and call avs_has_perm with
9588 results of translated strings.
9589
809bd45f
DM
95902014-04-13 David S. Miller <davem@davemloft.net>
9591
9592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9593
89e691f2
AM
95942014-04-12 Allan McRae <allan@archlinux.org>
9595
9596 [BZ #16838]
9597 * manual/string.texi (Collation Functions): Fix qsort argument
9598 order in example.
9599 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9600
9c9daaeb
CM
96012014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9602
9603 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9604 Make the test a no-op if there are no exceptions defined.
9605
95561fb9
PP
96062014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9607
fe8d072c 9608 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9609 enable-hardcoded-path-in-tests
9610
970c602a
WN
96112014-04-11 Will Newton <will.newton@linaro.org>
9612
9613 * benchtests/Makefile (extra-objs): Add json-lib.o.
9614 (bench-func): Tidy up JSON output.
9615 * benchtests/bench-skeleton.c: Include json-lib.h.
9616 (main): Use JSON library functions to do output of
9617 benchmark results.
9618 * benchtests/bench-timing-type.c (main): Output the
9619 timing type simply, leaving formatting to the user.
9620 * benchtests/json-lib.c: New file.
9621 * benchtests/json-lib.h: Likewise.
9622
36875b06
TR
96232014-04-11 Torvald Riegel <triegel@redhat.com>
9624
9625 [BZ #15215]
9626 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9627 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9628 memory barriers. Add comments.
9629 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9630 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9631 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9632 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9633 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9634 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9635
579db35a
SL
96362014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9637
9638 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9639 * sysdeps/s390/s390-64/configure.ac: ... this ...
9640 * sysdeps/s390/configure.ac: ... to here.
9641 * sysdeps/s390/s390-32/configure: Delete file.
9642 * sysdeps/s390/s390-64/configure: Delete file.
9643 * sysdeps/s390/configure: Regenerate.
9644
c12e9f37
JAPH
96452014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9646
9647 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9648
439bda32
WN
96492014-04-11 Will Newton <will.newton@linaro.org>
9650
9651 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9652 to zero if it is not defined elsewhere. (mtrim): Test
9653 the value of MALLOC_DEBUG with #if rather than #ifdef.
9654
6a5d6ea1
TR
96552014-04-10 Torvald Riegel <triegel@redhat.com>
9656
9657 * benchtests/pthread_once-inputs: New file.
9658 * benchtests/pthread_once-source.c: New file.
9659 * benchtests/README: Update documentation.
9660
a4c75cfd
IZ
96612014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9662 H.J. Lu <hongjiu.lu@intel.com>
9663
7e54fd04 9664 [BZ #16275]
a4c75cfd
IZ
9665 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9666 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9667 * sysdeps/x86_64/configure: Regenerated.
9668 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9669 macro.
9670 (REGISTER_SAVE_RAX): Likewise.
9671 (REGISTER_SAVE_RCX): Likewise.
9672 (REGISTER_SAVE_RDX): Likewise.
9673 (REGISTER_SAVE_RSI): Likewise.
9674 (REGISTER_SAVE_RDI): Likewise.
9675 (REGISTER_SAVE_R8): Likewise.
9676 (REGISTER_SAVE_R9): Likewise.
9677 (REGISTER_SAVE_BND0): Likewise.
9678 (REGISTER_SAVE_BND1): Likewise.
9679 (REGISTER_SAVE_BND2): Likewise.
9680 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9681 bound registers when calling _dl_fixup.
9682
27822ce6
AZ
96832014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9684
9685 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9686 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9687 of its definition.
27822ce6
AZ
9688 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9689 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9690 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9691 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9692 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9693 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9694 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9695
a88ddc90
PTB
96962014-04-09 Peter Brett <peter@peter-b.co.uk>
9697
9698 [BZ #15514]
9699 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9700 pathconf(_PC_NAME_MAX).
9701
01f8eac2
AZ
97022014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9703
9704 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9705 Remove macro usage.
9706 (__PTHREAD_SPINS): Move definition to ...
9707 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9708 (__PTHREAD_SPINS): ... here.
9709 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9710 (__PTHREAD_SPIN): Likewise.
9711 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9712 (__PTHREAD_SPIN): Likewise.
9713 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9714 (__PTHREAD_SPIN): Likewise.
9715 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9716 (__PTHREAD_SPIN): Likewise.
9717 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9718 (__PTHREAD_SPIN): Likewise.
9719 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9720 (__PTHREAD_SPIN): Likewise.
9721 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9722 (__PTHREAD_SPIN): Likewise.
9723 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9724 (__PTHREAD_SPIN): Likewise.
9725 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9726 (__PTHREAD_SPIN): Likewise.
9727 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9728 (__PTHREAD_SPIN): Likewise.
9729 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9730 (__PTHREAD_SPIN): Likewise.
9731 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9732 (__PTHREAD_SPIN): Likewise.
9733
de21c33c
AZ
9734 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9735 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9736 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9737 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9738 imply folder.
9739 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9740 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9741 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9742 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9743 correct imply path.
9744 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9745 strlen symbol for non multi-arch builds.
9746 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9747 missing hidden_def and weak_alias.
9748
862c472e
CD
97492014-04-08 Carlos O'Donell <carlos@redhat.com>
9750
9751 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9752
8667f90e
WN
97532014-04-07 Will Newton <will.newton@linaro.org>
9754
9755 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9756 and contents. [!_LIBC] Remove #ifndef and contents.
9757 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9758 * string/memccpy.c (__memccpy): Use ANSI prototype.
9759 * string/memfrob.c (memfrob): Likewise.
9760 * string/strcoll.c (STRCOLL): Likewise.
9761 * string/strlen.c (strlen): Likewise.
9762 * string/strtok.c (STRTOK): Likewise.
9763 * string/strcat.c: Remove unused #include of memcopy.h.
9764 (strcat): Use ANSI prototype.
9765 * string/strchr.c: Remove unused #include of memcopy.h.
9766 (strchr): Use ANSI prototype.
9767 * string/strcmp.c: Remove unused #include of memcopy.h.
9768 (strcmp): Use ANSI prototype.
9769 * string/strcpy.c: Remove unused #include of memcopy.h.
9770 (strcpy): Use ANSI prototype.
9771
7ffa9423
AZ
97722014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9773
9774 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9775 * config.make.in (config-extra-cppflags): Set it from
9776 libc_extra_cppflags.
9777 * configure.ac (libc_extra_cflags): Make it accumulate over
9778 configure fragments.
9779 (libc_extra_cppflags): New flag.
9780 * configure. Regenerate.
9781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9782 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9783 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9785
8bd70862
AZ
9786 [BZ #16815]
9787 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9788 result for FE_DOWNWARD rounding mode.
9789 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9790 Likewise.
9791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9792
d42f3448
CM
97932014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9794
9795 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9796 in function argument name.
9797
1c21d115
DS
97982014-04-03 David Svoboda <svoboda@cert.org>
9799
9800 [BZ #5666]
9801 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9802 explicitly.
9803
fcccd512
RM
98042014-04-03 Roland McGrath <roland@hack.frob.com>
9805
9806 * elf/dl-unmap-segments.h: New file.
9807 * sysdeps/generic/ldsodefs.h
9808 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9809 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9810 * elf/dl-fptr.c: Likewise.
9811 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9812 * sysdeps/aarch64/tlsdesc.c: Likewise.
9813 * sysdeps/arm/tlsdesc.c: Likewise.
9814 * sysdeps/i386/tlsdesc.c: Likewise.
9815 * sysdeps/tile/dl-runtime.c: Likewise.
9816 * sysdeps/x86_64/tlsdesc.c: Likewise.
9817 * elf/dl-load.h: New file.
9818 * elf/dl-load.c: Include it.
9819 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9820 Macros moved to dl-load.h.
9821 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9822 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9823 Use _dl_unmap_segments in place of __munmap.
9824 Break out segment-mapping loop into ...
9825 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9826
f6488e2b
WN
98272014-04-03 Will Newton <will.newton@linaro.org>
9828
9829 * elf/dl-lookup.c (do_lookup_x): Remove comment
9830 referring to nested function and move variable
9831 declarations down to before first use.
9832
6f05bafe
JM
98332014-04-02 Joseph Myers <joseph@codesourcery.com>
9834
a84e78c8
JM
9835 [BZ #16799]
9836 [BZ #16800]
9837 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9838 with 0 numerator.
9839 * math/s_catanf.c (__catanf): Likewise.
9840 * math/s_catanh.c (__catanh): Likewise.
9841 * math/s_catanhf.c (__catanhf): Likewise.
9842 * math/s_catanhl.c (__catanhl): Likewise.
9843 * math/s_catanl.c (__catanl): Likewise.
9844 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9845 by positive zero when computing -Inf result.
9846 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9847 (catanh_test): Likewise.
9848 * sysdeps/i386/fpu/libm-test-ulps: Update.
9849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9850
6f05bafe
JM
9851 [BZ #16789]
9852 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9853 instead of using underflowing value in computing result.
9854 * math/s_clog10.c (__clog10): Likewise.
9855 * math/s_clog10f.c (__clog10f): Likewise.
9856 * math/s_clog10l.c (__clog10l): Likewise.
9857 * math/s_clogf.c (__clogf): Likewise.
9858 * math/s_clogl.c (__clogl): Likewise.
9859 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9860 (clog10_test): Likewise.
9861 * sysdeps/i386/fpu/libm-test-ulps: Update.
9862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9863
b0abbc21
AM
98642014-04-02 Alan Modra <amodra@gmail.com>
9865
9866 [BZ #16739]
9867 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9868 output when value is near a power of two. Use int64_t for lx and
9869 remove casts. Use decimal rather than hex exponent constants.
9870 Don't use long double multiplication when double will suffice.
9871 * math/libm-test.inc (nextafter_test_data): Add tests.
9872 * NEWS: Add 16739 and 16786 to bug list.
9873
af6b1797
AM
9874 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9875
483818d7
AM
9876 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9877
f6c55796
WN
98782014-04-01 Will Newton <will.newton@linaro.org>
9879
9880 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9881 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9882
13f7fe35
FW
98832014-04-01 Florian Weimer <fweimer@redhat.com>
9884
9885 [BZ #13347]
9886 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9887 * nptl/tst-setuid2.c: New file.
9888 * nptl/Makefile (xtests): Add tst-setuid2.
9889
c859b32e
AM
98902014-04-01 Alan Modra <amodra@gmail.com>
9891
9892 [BZ #16786]
9893 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9894
54fa2475
JM
98952014-03-31 Joseph Myers <joseph@codesourcery.com>
9896
8795b4a4
JM
9897 [BZ #6803]
9898 [BZ #6804]
9899 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9900 set errno as appropriate.
9901 * math/w_scalbf.c (__scalbf): Likewise.
9902 * math/w_scalbl.c (__scalbl): Likewise.
9903 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9904 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9905 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9906 Add more NaN tests.
9907
54fa2475
JM
9908 [BZ #16349]
9909 * math/w_atan2.c: Include <errno.h>.
9910 (__atan2): Set errno for result underflowing to zero.
9911 * math/w_atan2f.c: Include <errno.h>.
9912 (__atan2f): Set errno for result underflowing to zero.
9913 * math/w_atan2l.c: Include <errno.h>.
9914 (__atan2l): Set errno for result underflowing to zero.
9915 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9916 tests.
9917 * math/auto-libm-test-out: Regenerated.
9918
757d9dd5
AZ
99192014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9920
9921 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9922 Encode instruction correctly in little endian.
9923 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9924 Likewise.
9925 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9926 Likewise.
9927 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9928 Likewise.
9929 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9930 Likewise.
9931
d7a68734
JM
99322014-03-31 Joseph Myers <joseph@codesourcery.com>
9933
47c5adeb
JM
9934 [BZ #9894]
9935 * sysdeps/unix/sysv/linux/kernel-features.h
9936 [__sparc__ && !__arch64__ && !__sparc_v9__]
9937 (__ASSUME_SET_ROBUST_LIST): Do not define.
9938 [__sparc__ && !__arch64__ && !__sparc_v9__]
9939 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9940 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9941 Likewise.
9942 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9943 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9944 (__ASSUME_REQUEUE_PI): Likewise.
9945 (__ASSUME_SET_ROBUST_LIST): Likewise.
9946 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9947 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9948 Undefine.
9949 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9950 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9951 Likewise.
9952 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9953 Likewise.
9954 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9955 Likewise.
9956 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9957 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9958 Undefine.
9959 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9960 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9961 Likewise.
9962
d7a68734
JM
9963 [BZ #16648]
9964 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9965 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9966 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9967
c760f5c2
WN
99682014-03-31 Will Newton <will.newton@linaro.org>
9969
9970 * benchtests/Makefile (bench): Add ffs and ffsll to list
9971 of tests.
9972 * benchtests/ffs-inputs: New file.
9973 * benchtests/ffsll-inputs: Likewise.
9974
ea6029b1
JM
99752014-03-29 Joseph Myers <joseph@codesourcery.com>
9976
9977 [BZ #16770]
9978 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9979 too large before casting to int.
9980 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9981 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9982 * math/libm-test.inc (scalb_test_data): Add more tests.
9983
cf806aff
SP
99842014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9985
56737508
SP
9986 * benchtests/Makefile (DETAILED_OPT): New make option.
9987 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9988 set.
9989 * benchtests/bench-skeleton.c: Include stdbool.h.
9990 (main): Store and print timings per input.
9991 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9992 member to each argument value.
9993 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9994 (_print_arg_data): Initialize per-input timing to 0.
9995
cb5e4aad
SP
9996 * benchtests/Makefile (timing-type): New binary.
9997 (bench-clean): Also remove bench-timing-type.
9998 (bench): New target for timing-type.
9999 (bench-func): Print output in JSON format.
10000 * benchtests/bench-skeleton.c (main): Print output in JSON
10001 format.
10002 * benchtests/bench-timing-type.c: New file.
10003 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10004 (TIMING_PRINT_STATS): Remove.
10005 * benchtests/scripts/bench.py (_print_arg_data): Store variant
10006 name separately.
10007
cf806aff
SP
10008 * benchtests/bench-modf.c: Remove.
10009 * benchtests/modf-inputs: New inputs file.
10010
289e0779
JM
100112014-03-28 Joseph Myers <joseph@codesourcery.com>
10012
10013 [BZ #16362]
10014 * math/s_clog10.c (M_PI_LOG10E): New macro.
10015 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10016 imaginary parts are 0.
10017 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10018 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10019 imaginary parts are 0.
10020 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10021 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10022 imaginary parts are 0.
10023 * math/libm-test.inc (clog10_test_data): Update expected results
10024 for when real and imaginary parts are 0.
10025
277ae3f1
PP
100262014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10027
10028 * elf/dl-load.c: Finish conversion of __builtin_expect into
10029 __glibc_{un}likely.
10030
03a7091f
JM
100312014-03-27 Joseph Myers <joseph@codesourcery.com>
10032
10033 [BZ #16348]
10034 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10035 1+x for argument with exponent below -67.
10036 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10037 Likewise.
10038 * math/auto-libm-test-in: Add more tests of exp.
10039 * math/auto-libm-test-out: Regenerated.
10040
ea7d8b95
SP
100412014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10042
dd3022d7
SP
10043 [BZ #16759]
10044 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10045 (nscd_getnetgrent): Use it.
10046
ea7d8b95
SP
10047 [BZ #16760]
10048 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10049 of stpcpy.
10050
df5b85da
AK
100512014-03-27 Andi Kleen <ak@linux.intel.com>
10052
57f41c40
AS
10053 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10054 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10055 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10056 (lll_robust_unlock): Remove out of line section. Use cfi
10057 intrinsics.
df5b85da 10058 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
10059 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10060 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10061 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10062 (lll_robust_unlock): Remove out of line section. Use cfi
10063 intrinsics.
df5b85da
AK
10064 (LLL_STUB_UNWIND_INFO*): Remove.
10065
fbd6b5a4
SP
100662014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10067
10068 [BZ #16758]
10069 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10070 blank values.
10071
1b26b855
PP
100722014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10073
10074 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10075
9be36fb8
JM
100762014-03-26 Joseph Myers <joseph@codesourcery.com>
10077
10078 [BZ #16198]
10079 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10080 fnstenv.
10081 * math/test-fenv-preserve.c: New file.
10082 * math/Makefile (tests): Add test-fenv-preserve.
10083
60a2f3c1
WN
100842014-03-26 Will Newton <will.newton@linaro.org>
10085
10086 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10087
a5e5f1e2
RM
100882014-03-25 Roland McGrath <roland@hack.frob.com>
10089
10090 * scripts/versionlist.awk: Partition the version sets and emit all
10091 GLIBC_* (sorted) before all others (sorted).
10092
00f4012a
JM
100932014-03-25 Joseph Myers <joseph@codesourcery.com>
10094
10095 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10096 GLIBC_2.2.5 version.
10097
7bc5a741
AZ
100982014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10099
10100 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10101 calls.
10102
7578473b
AZ
10103 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10104 previous change.
10105
f3f1dab3
AZ
10106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10107
6da36183
AS
101082014-03-25 Andreas Schwab <schwab@suse.de>
10109
10110 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10111 label to be used after in6ailist is initialized.
10112
f3f1dab3 101132014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 10114
7578473b 10115 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
10116 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10117
046651c1
JM
101182014-03-25 Joseph Myers <joseph@codesourcery.com>
10119
10120 [BZ #16357]
10121 [BZ #16599]
10122 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10123 min_plus_half.
10124 (fp_formats): Update initializers.
10125 (init_fp_formats): Initialize new field.
10126 (output_for_one_input_case): Allow underflow for results up to
10127 min_plus_half.
10128 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10129 * math/auto-libm-test-in: Don't mark some underflows from asin and
10130 atanh as spurious.
10131 * math/auto-libm-test-out: Regenerated.
10132 * sysdeps/i386/fpu/libm-test-ulps: Update.
10133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10134
003e49ed
AS
101352014-03-25 Andreas Schwab <schwab@suse.de>
10136
10137 * libio/Makefile (tst-ftell-partial-wide-ENV)
10138 (tst-ftell-active-handler-ENV): Define.
10139
de031874
SL
101402014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10141
10142 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10143
55a81e3b
PP
101442014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10145
10146 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10147
f3426898
JM
101482014-03-24 Joseph Myers <joseph@codesourcery.com>
10149
10150 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10151 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10152 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10153
a42faf59
PP
101542014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10155
10156 [BZ #16634]
a42faf59 10157 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
10158 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10159 (open_path): Change from boolean 'secure' to complete flag 'mode'
10160 (_dl_map_object): Adjust.
a42faf59
PP
10161 * elf/Makefile (tests): Add tst-dlopen-aout.
10162 * elf/tst-dlopen-aout.c: New test.
10163
50936127
SL
101642014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10165
10166 [BZ #16714]
10167 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10168 (struct stat): Rename member pad0 to __glibc_reserved0.
10169
26011b5c
SL
10170 [BZ #16712]
10171 * sysdeps/s390/s390-32/bits/wordsize.h
10172 (__WORDSIZE32_SIZE_ULONG): New define.
10173 * sysdeps/s390/s390-64/bits/wordsize.h
10174 (__WORDSIZE32_SIZE_ULONG): Likewise.
10175 * sysdeps/generic/stdint.h (SIZE_MAX):
10176 Define as UL if __WORDSIZE32_SIZE_ULONG.
10177
a2d86bf1
SL
10178 [BZ #16713]
10179 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10180 (__glibc_reserved0): New variable.
10181 (sa_flags): Change type to int.
10182
78b6eebc
SL
10183 * posix/Makefile (before-compile): Use += before-compile instead
10184 of a :=.
10185
f1399b5a
SL
10186 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10187 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10188
a071766e
AS
101892014-03-20 Andreas Schwab <schwab@suse.de>
10190
10191 [BZ #16743]
10192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10193 non-matching result from nscd.
10194
27c673b8
SP
101952014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10196
10197 * scripts/bench.py: Moved to ...
10198 * benchtests/scripts/bench.py: ... here.
10199 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10200
44152e4b
AS
102012014-03-24 Andreas Schwab <schwab@suse.de>
10202
10203 [BZ #16002]
10204 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10205 alloca_account and account alloca use for struct in6ailist.
10206
b376a11a
JM
102072014-03-24 Joseph Myers <joseph@codesourcery.com>
10208
10209 [BZ #16284]
10210 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10211 rounding mode to recompute results that overflow to infinity or
10212 underflow to zero.
10213 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10214 bug 16284.
10215 * math/auto-libm-test-out: Regenerated.
10216 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10217 (ccosh_test): Likewise.
10218 (csin_test_data): Use plus_oflow.
10219 (csin_test): Use ALL_RM_TEST.
10220 (csinh_test_data): Use plus_oflow.
10221 (csinh_test): Use ALL_RM_TEST.
10222 * sysdeps/i386/fpu/libm-test-ulps: Update.
10223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10224
f7be7376
JM
102252014-03-21 Joseph Myers <joseph@codesourcery.com>
10226
1ca2d03e
JM
10227 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10228 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10229 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10230
f7be7376
JM
10231 [BZ #16731]
10232 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10233 when x - 1 is zero.
10234 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10235 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10236 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10237 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10238 argument is 1.
10239 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10240 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10241 zero.
10242 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10243 * sysdeps/i386/fpu/libm-test-ulps: Update.
10244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10245
fdf4534d
SP
102462014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10247
df26ea53
SP
10248 * scripts/bench.pl: Remove file.
10249 * scripts/bench.py: New benchmark script.
10250 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10251 * benchtests/README: Mention python dependency.
10252 * scripts/pylintrc: New file.
10253 * scripts/pylint: New file.
10254
fdf4534d
SP
10255 * bits/mathdef.h: Use #ifdef instead of #if.
10256 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10257 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10258 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10259 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10260 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10261 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10262
6f23d093
AZ
102632014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10264 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10265
10266 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10267 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10268 and strpbrk-ppc64 objects.
10269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10270 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10271 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10272 multiarch strpbrk for POWER7.
10273 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10274 multiarch strpbrk for PPC64.
10275 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10276 ifunc selector.
10277 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10278 strpbrk for POWER7.
10279
8c92dfff
JM
102802014-03-20 Joseph Myers <joseph@codesourcery.com>
10281
10282 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10283 (atan_test): Likewise.
10284 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10285 (atanh_test): Use ALL_RM_TEST.
10286 (atan2_test_data): Likewise.
10287 (cabs_test): Likewise.
10288 (cacosh_test): Likewise.
10289 (carg_test): Likewise.
10290 (casin_test): Likewise.
10291 (casinh_test): Likewise.
10292 (cbrt_test): Likewise.
10293 (csqrt_test): Likewise.
10294 (erf_test): Likewise.
10295 (erfc_test): Likewise.
10296 (pow10_test): Likewise.
10297 (exp2_test): Likewise.
10298 (hypot_test): Likewise.
10299 (j0_test): Likewise.
10300 (j1_test): Likewise.
10301 (lgamma_test): Likewise.
10302 (gamma_test): Likewise.
10303 (sincos_test): Likewise.
10304 (tanh_test): Likewise.
10305 (y0_test): Likewise.
10306 (y1_test): Likewise.
10307 * sysdeps/i386/fpu/libm-test-ulps: Update.
10308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10309
6eaf95cb
AZ
103102014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10311
a387428c
SP
10312 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10313 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
10314 and strcspn-ppc64 objects.
10315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10316 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10317 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10318 multiarch strcspn for POWER7.
10319 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10320 multiarch strcspn for PPC64.
10321 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10322 ifunc selector.
10323 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10324 strcspn for POWER7.
10325
ae3a5dff
JM
103262014-03-20 Joseph Myers <joseph@codesourcery.com>
10327
10328 * math/gen-libm-test.pl (generate_testfile): Expect only function
10329 name as argument to AUTO_TESTS_* and pass results for all rounding
10330 modes to parse_args.
10331 (parse_auto_input): Separate inputs of automatic tests from
10332 outputs before storing in %auto_tests.
10333 * math/libm-test.inc (acos_test_data): Update call to
10334 AUTO_TESTS_f_f.
10335 (acos_test): Use ALL_RM_TEST.
10336 (acos_tonearest_test_data): Remove.
10337 (acos_test_tonearest): Likewise.
10338 (acos_towardzero_test_data): Likewise.
10339 (acos_test_towardzero): Likewise.
10340 (acos_downward_test_data): Likewise.
10341 (acos_test_downward): Likewise.
10342 (acos_upward_test_data): Likewise.
10343 (acos_test_upward): Likewise.
10344 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10345 (asin_test_data): Likewise.
10346 (asin_test): Use ALL_RM_TEST.
10347 (asin_tonearest_test_data): Remove.
10348 (asin_test_tonearest): Likewise.
10349 (asin_towardzero_test_data): Likewise.
10350 (asin_test_towardzero): Likewise.
10351 (asin_downward_test_data): Likewise.
10352 (asin_test_downward): Likewise.
10353 (asin_upward_test_data): Likewise.
10354 (asin_test_upward): Likewise.
10355 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10356 (atan_test_data): Likewise.
10357 (atanh_test_data): Likewise.
10358 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10359 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10360 (carg_test_data): Likewise.
10361 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10362 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10363 (ccosh_test_data): Likewise.
10364 (cexp_test_data): Likewise.
10365 (clog_test_data): Likewise.
10366 (clog10_test_data): Likewise.
10367 (cos_test_data): Update call to AUTO_TESTS_f_f.
10368 (cos_test): Use ALL_RM_TEST.
10369 (cos_tonearest_test_data): Remove.
10370 (cos_test_tonearest): Likewise.
10371 (cos_towardzero_test_data): Likewise.
10372 (cos_test_towardzero): Likewise.
10373 (cos_downward_test_data): Likewise.
10374 (cos_test_downward): Likewise.
10375 (cos_upward_test_data): Likewise.
10376 (cos_test_upward): Likewise.
10377 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10378 (cosh_test): Use ALL_RM_TEST.
10379 (cosh_tonearest_test_data): Remove.
10380 (cosh_test_tonearest): Likewise.
10381 (cosh_towardzero_test_data): Likewise.
10382 (cosh_test_towardzero): Likewise.
10383 (cosh_downward_test_data): Likewise.
10384 (cosh_test_downward): Likewise.
10385 (cosh_upward_test_data): Likewise.
10386 (cosh_test_upward): Likewise.
10387 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10388 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10389 (ctan_test_data): Likewise.
10390 (ctan_test): Use ALL_RM_TEST.
10391 (ctan_tonearest_test_data): Remove.
10392 (ctan_test_tonearest): Likewise.
10393 (ctan_towardzero_test_data): Likewise.
10394 (ctan_test_towardzero): Likewise.
10395 (ctan_downward_test_data): Likewise.
10396 (ctan_test_downward): Likewise.
10397 (ctan_upward_test_data): Likewise.
10398 (ctan_test_upward): Likewise.
10399 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10400 (ctanh_test): Use ALL_RM_TEST.
10401 (ctanh_tonearest_test_data): Remove.
10402 (ctanh_test_tonearest): Likewise.
10403 (ctanh_towardzero_test_data): Likewise.
10404 (ctanh_test_towardzero): Likewise.
10405 (ctanh_downward_test_data): Likewise.
10406 (ctanh_test_downward): Likewise.
10407 (ctanh_upward_test_data): Likewise.
10408 (ctanh_test_upward): Likewise.
10409 (erf_test_data): Update call to AUTO_TESTS_f_f.
10410 (erfc_test_data): Likewise.
10411 (exp_test_data): Likewise.
10412 (exp_test): Use ALL_RM_TEST.
10413 (exp_tonearest_test_data): Remove.
10414 (exp_test_tonearest): Likewise.
10415 (exp_towardzero_test_data): Likewise.
10416 (exp_test_towardzero): Likewise.
10417 (exp_downward_test_data): Likewise.
10418 (exp_test_downward): Likewise.
10419 (exp_upward_test_data): Likewise.
10420 (exp_test_upward): Likewise.
10421 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10422 (exp10_test): Use ALL_RM_TEST.
10423 (exp10_tonearest_test_data): Remove.
10424 (exp10_test_tonearest): Likewise.
10425 (exp10_towardzero_test_data): Likewise.
10426 (exp10_test_towardzero): Likewise.
10427 (exp10_downward_test_data): Likewise.
10428 (exp10_test_downward): Likewise.
10429 (exp10_upward_test_data): Likewise.
10430 (exp10_test_upward): Likewise.
10431 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10432 (expm1_test_data): Likewise.
10433 (expm1_test): Use ALL_RM_TEST.
10434 (expm1_tonearest_test_data): Remove.
10435 (expm1_test_tonearest): Likewise.
10436 (expm1_towardzero_test_data): Likewise.
10437 (expm1_test_towardzero): Likewise.
10438 (expm1_downward_test_data): Likewise.
10439 (expm1_test_downward): Likewise.
10440 (expm1_upward_test_data): Likewise.
10441 (expm1_test_upward): Likewise.
10442 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10443 (fma_test): Use ALL_RM_TEST.
10444 (fma_towardzero_test_data): Remove.
10445 (fma_test_towardzero): Likewise.
10446 (fma_downward_test_data): Likewise.
10447 (fma_test_downward): Likewise.
10448 (fma_upward_test_data): Likewise.
10449 (fma_test_upward): Likewise.
10450 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10451 (j0_test_data): Update call to AUTO_TESTS_f_f.
10452 (j1_test_data): Likewise.
10453 (jn_test_data): Update call to AUTO_TESTS_if_f.
10454 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10455 (log_test_data): Update call to AUTO_TESTS_f_f.
10456 (log10_test_data): Likewise.
10457 (log1p_test_data): Likewise.
10458 (log2_test_data): Likewise.
10459 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10460 (pow_tonearest_test_data): Likewise.
10461 (sin_test_data): Update call to AUTO_TESTS_f_f.
10462 (sin_test): Use ALL_RM_TEST.
10463 (sin_tonearest_test_data): Remove.
10464 (sin_test_tonearest): Likewise.
10465 (sin_towardzero_test_data): Likewise.
10466 (sin_test_towardzero): Likewise.
10467 (sin_downward_test_data): Likewise.
10468 (sin_test_downward): Likewise.
10469 (sin_upward_test_data): Likewise.
10470 (sin_test_upward): Likewise.
10471 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10472 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10473 (sinh_test): Use ALL_RM_TEST.
10474 (sinh_tonearest_test_data): Remove.
10475 (sinh_test_tonearest): Likewise.
10476 (sinh_towardzero_test_data): Likewise.
10477 (sinh_test_towardzero): Likewise.
10478 (sinh_downward_test_data): Likewise.
10479 (sinh_test_downward): Likewise.
10480 (sinh_upward_test_data): Likewise.
10481 (sinh_test_upward): Likewise.
10482 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10483 (sqrt_test): Use ALL_RM_TEST.
10484 (sqrt_tonearest_test_data): Remove.
10485 (sqrt_test_tonearest): Likewise.
10486 (sqrt_towardzero_test_data): Likewise.
10487 (sqrt_test_towardzero): Likewise.
10488 (sqrt_downward_test_data): Likewise.
10489 (sqrt_test_downward): Likewise.
10490 (sqrt_upward_test_data): Likewise.
10491 (sqrt_test_upward): Likewise.
10492 (tan_test_data): Update call to AUTO_TESTS_f_f.
10493 (tan_test): Use ALL_RM_TEST.
10494 (tan_tonearest_test_data): Remove.
10495 (tan_test_tonearest): Likewise.
10496 (tan_towardzero_test_data): Likewise.
10497 (tan_test_towardzero): Likewise.
10498 (tan_downward_test_data): Likewise.
10499 (tan_test_downward): Likewise.
10500 (tan_upward_test_data): Likewise.
10501 (tan_test_upward): Likewise.
10502 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10503 (tgamma_test_data): Likewise.
10504 (y0_test_data): Likewise.
10505 (y1_test_data): Likewise.
10506 (yn_test_data): Update call to AUTO_TESTS_if_f.
10507 (main): Do not call removed functions.
10508
d71aeee8
JM
105092014-03-19 Joseph Myers <joseph@codesourcery.com>
10510
10511 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10512 (ldexp_test_data): Remove.
10513 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10514 scalbn_test_data.
10515 (scalb_test): Use ALL_RM_TEST.
10516
baaf1ded
AS
105172014-03-19 Andreas Schwab <schwab@suse.de>
10518
10519 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10520
b1115e91
JM
105212014-03-19 Joseph Myers <joseph@codesourcery.com>
10522
10523 [BZ #16649]
10524 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10525 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10526 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10527 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10528 (__ASSUME_PREADV): Undefine.
10529 (__ASSUME_PWRITEV): Likewise.
10530
0283ecca
RM
105312014-03-18 Roland McGrath <roland@hack.frob.com>
10532
7d375303
RM
10533 * bits/mman-linux.h: Add comment about non-Linux use.
10534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10535 bits/mman-linux.h resting place.
10536
0283ecca
RM
10537 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10538 * bits/mman-linux.h: ... here.
10539
aebe1003
AZ
105402014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10541
10542 * conform/conformtest.pl: Add standard definition when calling C
10543 preprocessor on data files.
10544 (checknamespace): Remove unused variable.
10545
b29b6bb8
JM
105462014-03-18 Joseph Myers <joseph@codesourcery.com>
10547
10548 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10549 minus_oflow, plus_uflow and minus_uflow in expected results.
10550 * math/libm-test.inc (scalbn_test_data): Add more tests of
10551 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10552 minus_uflow.
10553 (scalbn_test): Use ALL_RM_TEST.
10554 (scalbln_test_data): Add more tests of negative arguments. Use
10555 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10556 (scalbln_test): Use ALL_RM_TEST.
10557
c8f8fa15
RM
105582014-03-18 Roland McGrath <roland@hack.frob.com>
10559
10560 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10561
fede7a5f
WN
105622014-03-18 Will Newton <will.newton@linaro.org>
10563
10564 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10565 inaccurate comment.
10566
80cf0a58
JM
105672014-03-18 Joseph Myers <joseph@codesourcery.com>
10568
10569 * Makerules [!subdir] (check-abi): Exit with error status if a
10570 test failed.
10571
b3620862
JM
105722014-03-17 Joseph Myers <joseph@codesourcery.com>
10573
10574 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10575 for rint. Include results for all rounding modes.
10576 (nearbyint_test): Use ALL_RM_TEST.
10577 (rint_test_data): Include all tests used for nearbyint.
10578
788bba36
WN
105792014-03-17 Will Newton <will.newton@linaro.org>
10580
04ec140a
WN
10581 * nptl/sysdeps/pthread/pthread.h: Revert previous
10582 change.
10583
7579d8d5
WN
10584 * sysdeps/generic/ldsodefs.h: Revert previous
10585 change.
10586
c15cf13a
WN
10587 * libio/genops.c: Revert previous change.
10588 * libio/libioP.h: Likewise.
10589 * stdio-common/vfprintf.c: Likewise.
10590
d0ac1324
WN
10591 * sysdeps/generic/math_private.h: Revert previous
10592 change.
10593
9290130a
WN
10594 * sysdeps/generic/math_private.h: Check whether
10595 HAVE_RM_CTX is defined with #ifdef rather
10596 than #if.
10597
afb466fc
WN
10598 * argp/argp-fmtstream.h: Check whether
10599 __STRICT_ANSI__ is defined with #ifdef rather
10600 than #if.
10601 * argp/argp.h: Likewise.
10602
f7efd7c3
WN
10603 * libio/genops.c: Check whether
10604 _IO_JUMPS_OFFSET is defined with #ifdef rather
10605 than #if.
10606 * libio/libioP.h: Likewise.
10607 * stdio-common/vfprintf.c: Likewise.
10608
53f1bed3
WN
10609 * sysdeps/generic/ldsodefs.h: Check whether
10610 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10611 than #if.
10612
788bba36
WN
10613 * nptl/sysdeps/pthread/pthread.h: Check
10614 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10615 its value.
10616
fcd89ebe
SP
106172014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10618
ae42bbc5
SP
10619 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10620 setting O_APPEND.
10621 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10622 test case.
10623
ea33158c
SP
10624 [BZ #16680]
10625 * libio/fileops.c (_IO_file_open): Seek to end of file but
10626 don't cache the offset.
10627 (get_file_offset): Remove function.
10628 (do_ftell): Use cached offset when available.
10629 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10630 don't cache the offset.
10631 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10632 case.
10633 (do_one_test): Call it.
10634 (do_ftell_test): Fix up expected old offset for a+ mode.
10635 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10636 available.
10637
b1dbb426
SP
10638 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10639 up test status with function return status.
10640 (do_write_test): Likewise.
10641 (do_append_test): Likewise.
10642
fcd89ebe
SP
10643 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10644 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10645 Remove.
10646
9962a2d3
JM
106472014-03-17 Joseph Myers <joseph@codesourcery.com>
10648
10649 * math/gen-libm-test.pl (parse_args): Handle results specified for
10650 each rounding mode separately.
10651 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10652 tests and results from lrint_tonearest_test_data,
10653 lrint_towardzero_test_data, lrint_downward_test_data and
10654 lrint_upward_test_data.
10655 (lrint_test): Use ALL_RM_TEST.
10656 (lrint_tonearest_test_data): Remove.
10657 (lrint_test_tonearest): Likewise.
10658 (lrint_towardzero_test_data): Likewise.
10659 (lrint_test_towardzero): Likewise.
10660 (lrint_downward_test_data): Likewise.
10661 (lrint_test_downward): Likewise.
10662 (lrint_upward_test_data): Likewise.
10663 (lrint_test_upward): Likewise.
10664 (llrint_test_data): Merge in per-rounding-mode tests and results
10665 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10666 llrint_downward_test_data and llrint_upward_test_data.
10667 (llrint_test): Use ALL_RM_TEST.
10668 (llrint_tonearest_test_data): Remove.
10669 (llrint_test_tonearest): Likewise.
10670 (llrint_towardzero_test_data): Likewise.
10671 (llrint_test_towardzero): Likewise.
10672 (llrint_downward_test_data): Likewise.
10673 (llrint_test_downward): Likewise.
10674 (llrint_upward_test_data): Likewise.
10675 (llrint_test_upward): Likewise.
10676 (rint_test_data): Merge in per-rounding-mode tests and results
10677 from rint_tonearest_test_data, rint_towardzero_test_data,
10678 rint_downward_test_data and rint_upward_test_data. Add
10679 per-rounding-mode results for tests not in those arrays.
10680 (rint_test): Use ALL_RM_TEST.
10681 (rint_tonearest_test_data): Remove.
10682 (rint_test_tonearest): Likewise.
10683 (rint_towardzero_test_data): Likewise.
10684 (rint_test_towardzero): Likewise.
10685 (rint_downward_test_data): Likewise.
10686 (rint_test_downward): Likewise.
10687 (rint_upward_test_data): Likewise.
10688 (rint_test_upward): Likewise.
10689 (main): Don't call removed functions.
10690
5006148e
RM
106912014-03-14 Roland McGrath <roland@hack.frob.com>
10692
10693 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10694 "Compiled on ..." crapola. It is anti-useful.
10695
d6fe5e58
JM
106962014-03-14 Joseph Myers <joseph@codesourcery.com>
10697
10698 * scripts/evaluate-test.sh: Handle fourth argument to determine
10699 whether test run should stop on failure.
10700 * Makeconfig (stop-on-test-failure): New variable.
10701 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10702 $(stop-on-test-failure).
10703 * Makefile (tests): Give a summary of results from testing and
10704 exit with failure status if they include an ERROR or FAIL.
10705 (xtests): Likewise.
10706 * manual/install.texi (Configuring and compiling): Mention
10707 stop-on-test-failure=y.
10708 * INSTALL: Regenerated.
10709
498a2233
RM
107102014-03-14 Roland McGrath <roland@hack.frob.com>
10711
22dbc19d
RM
10712 * scripts/versionlist.awk: New file.
10713 * Makerules [$(build-shared) = yes]
10714 (postclean-generated): Add Versions.def, not Versions.def.v and
10715 Versions.def.v.i.
10716 ($(common-objpfx)Versions.def.v.i): Target removed.
10717 ($(common-objpfx)Versions.def): New target.
10718 ($(common-objpfx)Versions.all): Depend on that rather that
10719 $(common-objpfx)Versions.def.v.
10720 * Versions.def: File removed.
10721
498a2233
RM
10722 * Makeconfig (+gccwarn): Add -Wundef.
10723 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10724 a dl-sysdep.h breaking its contract.
10725 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10726 * include/stackinfo.h: New file.
10727 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10728 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10729 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10730 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10731 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10732 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10733 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10734 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10735 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10736 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10737 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10738 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10739 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10740 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10741 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10742
c7de5025
AZ
107432014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10744
10745 [BZ #16707]
10746 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10747 implementation.
10748 * math/libm-test.inc (round_test_data): Add more tests.
10749
98fb27a3
AZ
10750 [BZ #16706]
10751 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10752 implementation.
10753 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10754
374f7f61
AZ
10755 [BZ #16701]
10756 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10757 implementation.
10758 * math/libm-test.inc (ceil_test_data): Add more tests.
10759
4655c291
AZ
10760 * math/libm-test.inc (trunc_test_data): Add more tests related to
10761 BZ#16414.
10762
d7329d4b
RM
107632014-03-14 Roland McGrath <roland@hack.frob.com>
10764
10765 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10766 with #if rather than #ifdef.
10767 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10768
aa4de9ce
L
107692014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10770
10771 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10772 first. Disable AVX-512 GCC support if assembler doesn't support
10773 it.
10774 * sysdeps/x86_64/configure: Regenerated.
10775
2e03fae7
CD
107762014-03-13 Carlos O'Donell <carlos@redhat.com>
10777
10778 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10779 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10780 (__old_pthread_attr_setstack): Likewise.
10781 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10782 [!_STACK_GROWS_DOWN]: Likewise.
10783
43ca83ec
MF
107842014-03-13 Mike Frysinger <vapier@gentoo.org>
10785
10786 * config.make.in (have-bash2): Delete.
10787 * configure.ac (libc_cv_have_bash2): Delete.
10788 * configure: Regenerate.
10789 * elf/Makefile (common-ldd-rewrite): Rename to ...
10790 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10791 (sh-ldd-rewrite): Delete.
10792 (bash-ldd-rewrite): Delete.
10793 (have-bash2): Delete checks.
57f41c40
AS
10794 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10795 ldd-rewrite.
c66e48b4
MF
10796
10797 * config.make.in (have-ksh): Delete.
10798 (KSH): Delete.
10799 * configure.ac (libc_cv_have_ksh): Delete.
10800 * configure: Regenerate.
10801
b93834ef
MF
10802 * elf/Makefile: Delete $(have-ksh) check.
10803 ($(objpfx)sotruss): Change KSH to BASH.
10804 * elf/sotruss.ksh: Rename to ...
10805 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10806 function style to match POSIX. Drop ksh vim mode setting.
10807
f3a4632a
MF
10808 * manual/time.texi (Specifying the Time Zone with TZ): Change
10809 Tuesday to Thursday.
10810
5896c8bd
MF
10811 * debug/tst-longjmp_chk2.c: Update header comment.
10812 (stackoverflow_handler): Add comment. Call assert on pass value.
10813
2d63a517
IZ
108142014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10815
7e54fd04 10816 [BZ #16194]
2d63a517
IZ
10817 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10818 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10819 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10820 (La_x86_64_vector): Add zmm.
10821 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10822 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10823 ($(objpfx)tst-audit10): New target.
10824 ($(objpfx)tst-audit10.out): Likewise.
10825 (tst-audit10-ENV): New.
10826 (AVX512-CFLAGS): Likewise.
10827 (CFLAGS-tst-audit10.c): Likewise.
10828 (CFLAGS-tst-auditmod10a.c): Likewise.
10829 (CFLAGS-tst-auditmod10b.c): Likewise.
10830 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10831 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10832 * sysdeps/x86_64/configure: Regenerated.
10833 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10834 AVX-512 zmm register support.
10835 (_dl_x86_64_save_sse): Likewise.
10836 (_dl_x86_64_restore_sse): Likewise.
10837 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10838 size vector registers.
10839 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10840 (ZMM_SIZE): Likewise.
10841 * sysdeps/x86_64/tst-audit10.c: New file.
10842 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10843 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10844
44c4e5d5
RM
108452014-03-13 Roland McGrath <roland@hack.frob.com>
10846
10847 * configure.ac (HAVE_EHDR_START): New check.
10848 * configure: Regenerated.
10849 * config.h.in (HAVE_EHDR_START): New #undef.
10850 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10851 assuming the lowest-addressed segment maps the start of the file.
10852
acd6e389
JM
108532014-03-13 Joseph Myers <joseph@codesourcery.com>
10854
10855 * INSTALL: Regenerated.
10856
6f918f36
WN
108572014-03-13 Will Newton <will.newton@linaro.org>
10858
10859 * manual/setjmp.texi (System V contexts): Improve
10860 clarity and grammar of documentation.
10861
798212a0
PP
108622014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10863
10864 [BZ #16381]
798212a0 10865 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10866 (tests-pie): Add tst-pie2.
798212a0
PP
10867 * elf/tst-pie2.c: New file.
10868 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10869 for ET_EXEC.
10870 * elf/rtld.c (map_doit): Load executable as lt_executable.
10871 (dl_main): Likewise.
10872
abe6d90c
JM
108732014-03-12 Joseph Myers <joseph@codesourcery.com>
10874
10875 [BZ #16642]
10876 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10877 (__ASSUME_PSELECT): Undefine.
10878
dd3946c6
AZ
108792014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10880
10881 [BZ #16689]
10882 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10883 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10884 static build.
10885 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10886 selector for static builds.
10887
c44496df
SP
108882014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10889
10890 [BZ #16695]
10891 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10892 key in the buffer.
10893
27c7220a
AZ
108942014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10895
57f41c40
AS
10896 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10897 IFUNC selector for static builds.
27c7220a 10898
600fa361
JM
108992014-03-11 Joseph Myers <joseph@codesourcery.com>
10900
76c96cf7
JM
10901 * sysdeps/mips/math_private.h [__mips_hard_float]
10902 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10903 libc_feresetround_mips_ctx.
10904 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10905 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10906 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10907
600fa361
JM
10908 [BZ #16677]
10909 * math/s_nextafter.c (__nextafter): Do not return value from
10910 overflowing computation.
10911 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10912 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10913 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10914 Likewise.
10915 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10916 Likewise.
10917 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10918 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10919
d7706c32
RM
109202014-03-11 Roland McGrath <roland@hack.frob.com>
10921
10922 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10923 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10924 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10925 the new mov targetting sp.
10926
4facea47
AZ
109272014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10928
10929 [BZ #16683]
10930 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10931 Define it for static builds as well.
10932 (NO_BZERO_IMPL): Likewise.
10933
e65caf1f
VR
109342014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10935
10936 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10937 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10938 multiarch strspn for PPC64.
10939 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10940 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10941 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10942 (__libc_ifunc_impl_list): Likewise.
10943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10944 multiarch optimizations
10945 * string/strspn.c (strspn): Using macro to redefine symbol name.
10946
ba9cc071
AZ
109472014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10948 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10949
10950 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10951 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10952 multiarch strncat for PPC64.
10953 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10954 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10956 (__libc_ifunc_impl_list): Likewise.
10957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10958 multiarch optimizations
10959
8b4ff974
SP
109602014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10961
10962 [BZ #16639]
10963 * nscd/nscd.service: Make service type forking.
10964
54b46a4b
AZ
109652014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10966
10967 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10968 sign in non default rounding modes.
10969 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10970
e9996ef7
JM
109712014-03-08 Joseph Myers <joseph@codesourcery.com>
10972
10973 * math/libm-test.inc (ALL_RM_TEST): New macro.
10974 (ceil_test): Use ALL_RM_TEST.
10975 (cimag_test): Likewise.
10976 (conj_test): Likewise.
10977 (copysign_test): Likewise.
10978 (cproj_test): Likewise.
10979 (creal_test): Likewise.
10980 (fabs_test): Likewise.
10981 (floor_test): Likewise.
10982 (fmax_test): Likewise.
10983 (fmin_test): Likewise.
10984 (fmod_test): Likewise.
10985 (fpclassify_test): Likewise.
10986 (frexp_test): Likewise.
10987 (ilogb_test): Likewise.
10988 (isfinite_test): Likewise.
10989 (finite_test): Likewise.
10990 (isgreater_test): Likewise.
10991 (isgreaterequal_test): Likewise.
10992 (isinf_test): Likewise.
10993 (isless_test): Likewise.
10994 (islessequal_test): Likewise.
10995 (islessgreater_test): Likewise.
10996 (isnan_test): Likewise.
10997 (isnormal_test): Likewise.
10998 (issignaling_test): Likewise.
10999 (isunordered_test): Likewise.
11000 (logb_test): Likewise.
11001 (logb_downward_test_data): Remove.
11002 (logb_test_downward): Likewise.
11003 (lround_test): Use ALL_RM_TEST.
11004 (llround_test): Likewise.
11005 (modf_test): Likewise.
11006 (nexttoward_test): Likewise.
11007 (remainder_test): Likewise.
11008 (drem_test): Likewise.
11009 (remainder_tonearest_test_data): Likewise.
11010 (remainder_test_tonearest): Likewise.
11011 (drem_test_tonearest): Likewise.
11012 (remainder_towardzero_test_data): Likewise.
11013 (remainder_test_towardzero): Likewise.
11014 (drem_test_towardzero): Likewise.
11015 (remainder_downward_test_data): Likewise.
11016 (remainder_test_downward): Likewise.
11017 (drem_test_downward): Likewise.
11018 (remainder_upward_test_data): Likewise.
11019 (remainder_test_upward): Likewise.
11020 (drem_test_upward): Likewise.
11021 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11022 (round_test): Use ALL_RM_TEST.
11023 (signbit_test): Likewise.
11024 (trunc_test): Likewise.
11025 (significand_test): Likewise.
11026 (main): Don't call removed functions.
11027
bc61d27c
JM
110282014-03-07 Joseph Myers <joseph@codesourcery.com>
11029
5c780849
JM
11030 [BZ #16674]
11031 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11032 || __USE_XOPEN2K8].
11033 (ILL_ILLOPN): Likewise.
11034 (ILL_ILLADR): Likewise.
11035 (ILL_ILLTRP): Likewise.
11036 (ILL_PRVOPC): Likewise.
11037 (ILL_PRVREG): Likewise.
11038 (ILL_COPROC): Likewise.
11039 (ILL_BADSTK): Likewise.
11040 (FPE_INTDIV): Likewise.
11041 (FPE_INTOVF): Likewise.
11042 (FPE_FLTDIV): Likewise.
11043 (FPE_FLTOVF): Likewise.
11044 (FPE_FLTUND): Likewise.
11045 (FPE_FLTRES): Likewise.
11046 (FPE_FLTINV): Likewise.
11047 (FPE_FLTSUB): Likewise.
11048 (SEGV_MAPERR): Likewise.
11049 (SEGV_ACCERR): Likewise.
11050 (BUS_ADRALN): Likewise.
11051 (BUS_ADRERR): Likewise.
11052 (BUS_OBJERR): Likewise.
11053 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11054 (TRAP_TRACE): Likewise.
11055 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11056 __USE_XOPEN2K8].
11057 (CLD_KILLED): Likewise.
11058 (CLD_DUMPED): Likewise.
11059 (CLD_TRAPPED): Likewise.
11060 (CLD_STOPPED): Likewise.
11061 (CLD_CONTINUED): Likewise.
11062 (POLL_IN): Likewise.
11063 (POLL_OUT): Likewise.
11064 (POLL_MSG): Likewise.
11065 (POLL_ERR): Likewise.
11066 (POLL_PRI): Likewise.
11067 (POLL_HUP): Likewise.
11068 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11069 Likewise.
11070 (ILL_ILLOPN): Likewise.
11071 (ILL_ILLADR): Likewise.
11072 (ILL_ILLTRP): Likewise.
11073 (ILL_PRVOPC): Likewise.
11074 (ILL_PRVREG): Likewise.
11075 (ILL_COPROC): Likewise.
11076 (ILL_BADSTK): Likewise.
11077 (FPE_INTDIV): Likewise.
11078 (FPE_INTOVF): Likewise.
11079 (FPE_FLTDIV): Likewise.
11080 (FPE_FLTOVF): Likewise.
11081 (FPE_FLTUND): Likewise.
11082 (FPE_FLTRES): Likewise.
11083 (FPE_FLTINV): Likewise.
11084 (FPE_FLTSUB): Likewise.
11085 (SEGV_MAPERR): Likewise.
11086 (SEGV_ACCERR): Likewise.
11087 (BUS_ADRALN): Likewise.
11088 (BUS_ADRERR): Likewise.
11089 (BUS_OBJERR): Likewise.
11090 (BUS_MCEERR_AR): Likewise.
11091 (BUS_MCEERR_AO): Likewise.
11092 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11093 (TRAP_TRACE): Likewise.
11094 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11095 __USE_XOPEN2K8].
11096 (CLD_KILLED): Likewise.
11097 (CLD_DUMPED): Likewise.
11098 (CLD_TRAPPED): Likewise.
11099 (CLD_STOPPED): Likewise.
11100 (CLD_CONTINUED): Likewise.
11101 (POLL_IN): Likewise.
11102 (POLL_OUT): Likewise.
11103 (POLL_MSG): Likewise.
11104 (POLL_ERR): Likewise.
11105 (POLL_PRI): Likewise.
11106 (POLL_HUP): Likewise.
11107 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11108 (ILL_ILLOPN): Likewise.
11109 (ILL_ILLADR): Likewise.
11110 (ILL_ILLTRP): Likewise.
11111 (ILL_PRVOPC): Likewise.
11112 (ILL_PRVREG): Likewise.
11113 (ILL_COPROC): Likewise.
11114 (ILL_BADSTK): Likewise.
11115 (FPE_INTDIV): Likewise.
11116 (FPE_INTOVF): Likewise.
11117 (FPE_FLTDIV): Likewise.
11118 (FPE_FLTOVF): Likewise.
11119 (FPE_FLTUND): Likewise.
11120 (FPE_FLTRES): Likewise.
11121 (FPE_FLTINV): Likewise.
11122 (FPE_FLTSUB): Likewise.
11123 (SEGV_MAPERR): Likewise.
11124 (SEGV_ACCERR): Likewise.
11125 (BUS_ADRALN): Likewise.
11126 (BUS_ADRERR): Likewise.
11127 (BUS_OBJERR): Likewise.
11128 (BUS_MCEERR_AR): Likewise.
11129 (BUS_MCEERR_AO): Likewise.
11130 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11131 (TRAP_TRACE): Likewise.
11132 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11133 __USE_XOPEN2K8].
11134 (CLD_KILLED): Likewise.
11135 (CLD_DUMPED): Likewise.
11136 (CLD_TRAPPED): Likewise.
11137 (CLD_STOPPED): Likewise.
11138 (CLD_CONTINUED): Likewise.
11139 (POLL_IN): Likewise.
11140 (POLL_OUT): Likewise.
11141 (POLL_MSG): Likewise.
11142 (POLL_ERR): Likewise.
11143 (POLL_PRI): Likewise.
11144 (POLL_HUP): Likewise.
11145 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11146 Likewise.
11147 (ILL_ILLOPN): Likewise.
11148 (ILL_ILLADR): Likewise.
11149 (ILL_ILLTRP): Likewise.
11150 (ILL_PRVOPC): Likewise.
11151 (ILL_PRVREG): Likewise.
11152 (ILL_COPROC): Likewise.
11153 (ILL_BADSTK): Likewise.
11154 (ILL_BADIADDR): Likewise.
11155 (ILL_BREAK): Likewise.
11156 (FPE_INTDIV): Likewise.
11157 (FPE_INTOVF): Likewise.
11158 (FPE_FLTDIV): Likewise.
11159 (FPE_FLTOVF): Likewise.
11160 (FPE_FLTUND): Likewise.
11161 (FPE_FLTRES): Likewise.
11162 (FPE_FLTINV): Likewise.
11163 (FPE_FLTSUB): Likewise.
11164 (FPE_DECOVF): Likewise.
11165 (FPE_DECDIV): Likewise.
11166 (FPE_DECERR): Likewise.
11167 (FPE_INVASC): Likewise.
11168 (FPE_INVDEC): Likewise.
11169 (SEGV_MAPERR): Likewise.
11170 (SEGV_ACCERR): Likewise.
11171 (SEGV_PSTKOVF): Likewise.
11172 (BUS_ADRALN): Likewise.
11173 (BUS_ADRERR): Likewise.
11174 (BUS_OBJERR): Likewise.
11175 (BUS_MCEERR_AR): Likewise.
11176 (BUS_MCEERR_AO): Likewise.
11177 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11178 (TRAP_TRACE): Likewise.
11179 (TRAP_BRANCH): Likewise.
11180 (TRAP_HWBKPT): Likewise.
11181 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11182 __USE_XOPEN2K8].
11183 (CLD_KILLED): Likewise.
11184 (CLD_DUMPED): Likewise.
11185 (CLD_TRAPPED): Likewise.
11186 (CLD_STOPPED): Likewise.
11187 (CLD_CONTINUED): Likewise.
11188 (POLL_IN): Likewise.
11189 (POLL_OUT): Likewise.
11190 (POLL_MSG): Likewise.
11191 (POLL_ERR): Likewise.
11192 (POLL_PRI): Likewise.
11193 (POLL_HUP): Likewise.
11194 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11195 (ILL_ILLOPN): Likewise.
11196 (ILL_ILLADR): Likewise.
11197 (ILL_ILLTRP): Likewise.
11198 (ILL_PRVOPC): Likewise.
11199 (ILL_PRVREG): Likewise.
11200 (ILL_COPROC): Likewise.
11201 (ILL_BADSTK): Likewise.
11202 (FPE_INTDIV): Likewise.
11203 (FPE_INTOVF): Likewise.
11204 (FPE_FLTDIV): Likewise.
11205 (FPE_FLTOVF): Likewise.
11206 (FPE_FLTUND): Likewise.
11207 (FPE_FLTRES): Likewise.
11208 (FPE_FLTINV): Likewise.
11209 (FPE_FLTSUB): Likewise.
11210 (SEGV_MAPERR): Likewise.
11211 (SEGV_ACCERR): Likewise.
11212 (BUS_ADRALN): Likewise.
11213 (BUS_ADRERR): Likewise.
11214 (BUS_OBJERR): Likewise.
11215 (BUS_MCEERR_AR): Likewise.
11216 (BUS_MCEERR_AO): Likewise.
11217 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11218 (TRAP_TRACE): Likewise.
11219 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11220 __USE_XOPEN2K8].
11221 (CLD_KILLED): Likewise.
11222 (CLD_DUMPED): Likewise.
11223 (CLD_TRAPPED): Likewise.
11224 (CLD_STOPPED): Likewise.
11225 (CLD_CONTINUED): Likewise.
11226 (POLL_IN): Likewise.
11227 (POLL_OUT): Likewise.
11228 (POLL_MSG): Likewise.
11229 (POLL_ERR): Likewise.
11230 (POLL_PRI): Likewise.
11231 (POLL_HUP): Likewise.
11232 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11233 (ILL_ILLOPN): Likewise.
11234 (ILL_ILLADR): Likewise.
11235 (ILL_ILLTRP): Likewise.
11236 (ILL_PRVOPC): Likewise.
11237 (ILL_PRVREG): Likewise.
11238 (ILL_COPROC): Likewise.
11239 (ILL_BADSTK): Likewise.
11240 (FPE_INTDIV): Likewise.
11241 (FPE_INTOVF): Likewise.
11242 (FPE_FLTDIV): Likewise.
11243 (FPE_FLTOVF): Likewise.
11244 (FPE_FLTUND): Likewise.
11245 (FPE_FLTRES): Likewise.
11246 (FPE_FLTINV): Likewise.
11247 (FPE_FLTSUB): Likewise.
11248 (SEGV_MAPERR): Likewise.
11249 (SEGV_ACCERR): Likewise.
11250 (BUS_ADRALN): Likewise.
11251 (BUS_ADRERR): Likewise.
11252 (BUS_OBJERR): Likewise.
11253 (BUS_MCEERR_AR): Likewise.
11254 (BUS_MCEERR_AO): Likewise.
11255 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11256 (TRAP_TRACE): Likewise.
11257 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11258 __USE_XOPEN2K8].
11259 (CLD_KILLED): Likewise.
11260 (CLD_DUMPED): Likewise.
11261 (CLD_TRAPPED): Likewise.
11262 (CLD_STOPPED): Likewise.
11263 (CLD_CONTINUED): Likewise.
11264 (POLL_IN): Likewise.
11265 (POLL_OUT): Likewise.
11266 (POLL_MSG): Likewise.
11267 (POLL_ERR): Likewise.
11268 (POLL_PRI): Likewise.
11269 (POLL_HUP): Likewise.
11270 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11271 (ILL_ILLOPN): Likewise.
11272 (ILL_ILLADR): Likewise.
11273 (ILL_ILLTRP): Likewise.
11274 (ILL_PRVOPC): Likewise.
11275 (ILL_PRVREG): Likewise.
11276 (ILL_COPROC): Likewise.
11277 (ILL_BADSTK): Likewise.
11278 (FPE_INTDIV): Likewise.
11279 (FPE_INTOVF): Likewise.
11280 (FPE_FLTDIV): Likewise.
11281 (FPE_FLTOVF): Likewise.
11282 (FPE_FLTUND): Likewise.
11283 (FPE_FLTRES): Likewise.
11284 (FPE_FLTINV): Likewise.
11285 (FPE_FLTSUB): Likewise.
11286 (SEGV_MAPERR): Likewise.
11287 (SEGV_ACCERR): Likewise.
11288 (BUS_ADRALN): Likewise.
11289 (BUS_ADRERR): Likewise.
11290 (BUS_OBJERR): Likewise.
11291 (BUS_MCEERR_AR): Likewise.
11292 (BUS_MCEERR_AO): Likewise.
11293 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11294 (TRAP_TRACE): Likewise.
11295 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11296 __USE_XOPEN2K8].
11297 (CLD_KILLED): Likewise.
11298 (CLD_DUMPED): Likewise.
11299 (CLD_TRAPPED): Likewise.
11300 (CLD_STOPPED): Likewise.
11301 (CLD_CONTINUED): Likewise.
11302 (POLL_IN): Likewise.
11303 (POLL_OUT): Likewise.
11304 (POLL_MSG): Likewise.
11305 (POLL_ERR): Likewise.
11306 (POLL_PRI): Likewise.
11307 (POLL_HUP): Likewise.
11308 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11309 (ILL_ILLOPN): Likewise.
11310 (ILL_ILLADR): Likewise.
11311 (ILL_ILLTRP): Likewise.
11312 (ILL_PRVOPC): Likewise.
11313 (ILL_PRVREG): Likewise.
11314 (ILL_COPROC): Likewise.
11315 (ILL_BADSTK): Likewise.
11316 (ILL_DBLFLT): Likewise.
11317 (ILL_HARDWALL): Likewise.
11318 (FPE_INTDIV): Likewise.
11319 (FPE_INTOVF): Likewise.
11320 (FPE_FLTDIV): Likewise.
11321 (FPE_FLTOVF): Likewise.
11322 (FPE_FLTUND): Likewise.
11323 (FPE_FLTRES): Likewise.
11324 (FPE_FLTINV): Likewise.
11325 (FPE_FLTSUB): Likewise.
11326 (SEGV_MAPERR): Likewise.
11327 (SEGV_ACCERR): Likewise.
11328 (BUS_ADRALN): Likewise.
11329 (BUS_ADRERR): Likewise.
11330 (BUS_OBJERR): Likewise.
11331 (BUS_MCEERR_AR): Likewise.
11332 (BUS_MCEERR_AO): Likewise.
11333 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11334 (TRAP_TRACE): Likewise.
11335 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11336 __USE_XOPEN2K8].
11337 (CLD_KILLED): Likewise.
11338 (CLD_DUMPED): Likewise.
11339 (CLD_TRAPPED): Likewise.
11340 (CLD_STOPPED): Likewise.
11341 (CLD_CONTINUED): Likewise.
11342 (POLL_IN): Likewise.
11343 (POLL_OUT): Likewise.
11344 (POLL_MSG): Likewise.
11345 (POLL_ERR): Likewise.
11346 (POLL_PRI): Likewise.
11347 (POLL_HUP): Likewise.
11348 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11349 (ILL_ILLOPN): Likewise.
11350 (ILL_ILLADR): Likewise.
11351 (ILL_ILLTRP): Likewise.
11352 (ILL_PRVOPC): Likewise.
11353 (ILL_PRVREG): Likewise.
11354 (ILL_COPROC): Likewise.
11355 (ILL_BADSTK): Likewise.
11356 (FPE_INTDIV): Likewise.
11357 (FPE_INTOVF): Likewise.
11358 (FPE_FLTDIV): Likewise.
11359 (FPE_FLTOVF): Likewise.
11360 (FPE_FLTUND): Likewise.
11361 (FPE_FLTRES): Likewise.
11362 (FPE_FLTINV): Likewise.
11363 (FPE_FLTSUB): Likewise.
11364 (SEGV_MAPERR): Likewise.
11365 (SEGV_ACCERR): Likewise.
11366 (BUS_ADRALN): Likewise.
11367 (BUS_ADRERR): Likewise.
11368 (BUS_OBJERR): Likewise.
11369 (BUS_MCEERR_AR): Likewise.
11370 (BUS_MCEERR_AO): Likewise.
11371 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11372 (TRAP_TRACE): Likewise.
11373 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11374 __USE_XOPEN2K8].
11375 (CLD_KILLED): Likewise.
11376 (CLD_DUMPED): Likewise.
11377 (CLD_TRAPPED): Likewise.
11378 (CLD_STOPPED): Likewise.
11379 (CLD_CONTINUED): Likewise.
11380 (POLL_IN): Likewise.
11381 (POLL_OUT): Likewise.
11382 (POLL_MSG): Likewise.
11383 (POLL_ERR): Likewise.
11384 (POLL_PRI): Likewise.
11385 (POLL_HUP): Likewise.
11386 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11387 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11388
bc61d27c
JM
11389 [BZ #16670]
11390 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11391 before #include of <time.h>.
11392 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11393 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11394 (test-xfail-UNIX98/sched.h/conform): Likewise.
11395
302949e2
MS
113962014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11397
11398 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11399 error absence of trapping exception support.
11400 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11401
a00f522a
JM
114022014-03-07 Joseph Myers <joseph@codesourcery.com>
11403
6f99f280
JM
11404 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11405 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11406 * timezone/Makefile (testdata): Move definition above include of
11407 Rules.
11408 (test-zones): New variable.
11409 (tests-special): Add zone files.
11410 (build-testdata): Use $(evaluate-test).
11411
0b20a9e8
JM
11412 * elf/Makefile (tests-special): Rename tests to end with .out.
11413 ($(objpfx)noload-mem): Likewise.
11414 ($(objpfx)tst-leaks1-mem): Likewise.
11415 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11416 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11417 $(objpfx)test-iconvconfig.out.
11418 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11419 set -e inside subshell and redirect output to file.
11420 * iconvdata/Makefile (generated): Rename tests to end with .out.
11421 Correct type.
11422 (tests-special): Rename tests to end with .out.
11423 ($(objpfx)mtrace-tst-loading): Likewise.
11424 * intl/Makefile (generated): Likewise.
11425 (tests-special): Likewise.
11426 ($(objpfx)mtrace-tst-gettext): Likewise.
11427 * misc/Makefile (generated): Likewise.
11428 (tests-special): Likewise.
11429 ($(objpfx)tst-error1-mem): Likewise.
11430 * nptl/Makefile (tests-special): Likewise.
11431 ($(objpfx)tst-stack3-mem): Likewise.
11432 (generated): Likewise.
11433 * posix/Makefile (generated): Likewise.
11434 (tests-special): Likewise.
11435 (xtests-special): Likewise.
11436 ($(objpfx)tst-fnmatch-mem): Likewise.
11437 ($(objpfx)bug-regex2-mem): Likewise.
11438 ($(objpfx)bug-regex14-mem): Likewise.
11439 ($(objpfx)bug-regex21-mem): Likewise.
11440 ($(objpfx)bug-regex31-mem): Likewise.
11441 ($(objpfx)tst-vfork3-mem): Likewise.
11442 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11443 ($(objpfx)tst-pcre-mem): Likewise.
11444 ($(objpfx)tst-boost-mem): Likewise.
11445 ($(objpfx)bug-ga2-mem): Likewise.
11446 ($(objpfx)bug-glob2-mem): Likewise.
11447 * resolv/Makefile (generate): Likewise.
11448 (tests-special): Likewise.
11449 (xtests-special): Likewise.
11450 (generated): Likewise.
11451 ($(objpfx)mtrace-tst-leaks): Likewise.
11452 ($(objpfx)mtrace-tst-leaks2): Likewise.
11453
265d52ab
JM
11454 * scripts/merge-test-results.sh: New file.
11455 * Makefile (tests-special-notdir): New variable.
11456 (tests): Run merge-test-results.sh.
11457 (xtests): Likewise.
11458 * Rules (tests-special-notdir): New variable.
11459 (xtests-special-notdir): Likewise.
11460 (tests): Run merge-test-results.sh
11461 (xtests): Likewise.
11462
54ee292d
JM
11463 * Makeconfig (test-xfail-name): New variable.
11464 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11465 compute variable name for expected failures.
11466 * conform/Makefile (conformtest-headers-data): New variable.
11467 (conformtest-standards): Likewise.
11468 (conformtest-headers-ISO): Likewise.
11469 (conformtest-headers-ISO99): Likewise.
11470 (conformtest-headers-ISO11): Likewise.
11471 (conformtest-headers-POSIX): Likewise.
11472 (conformtest-headers-XPG3): Likewise.
11473 (conformtest-headers-XPG4): Likewise.
11474 (conformtest-headers-UNIX98): Likewise.
11475 (conformtest-headers-XOPEN2K): Likewise.
11476 (conformtest-headers-POSIX2008): Likewise.
11477 (conformtest-headers-XOPEN2K8): Likewise.
11478 (conformtest-header-list-base): Likewise.
11479 (conformtest-header-list-tests): Likewise.
11480 (conformtest-header-base): Likewise.
11481 (conformtest-header-tests): Likewise.
11482 (tests-special): Add $(conformtest-header-list-tests). If
11483 [$(fast-check) && !$(cross-compiling)], add
11484 $(conformtest-header-tests) instead of
11485 $(objpfx)run-conformtest.out.
11486 (generated): Add $(conformtest-header-list-base). If
11487 [$(fast-check) && !$(cross-compiling)], add
11488 $(conformtest-header-base). Remove previous setting.
11489 ($(conformtest-header-list-tests)): New target.
11490 (test-xfail-run-conformtest): Remove variable.
11491 ($(objpfx)run-conformtest.out): Remove target.
11492 (test-xfail-ISO11/complex.h/conform): New variable.
11493 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11494 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11495 (test-xfail-XPG3/varargs.h/conform): Likewise.
11496 (test-xfail-XPG4/varargs.h/conform): Likewise.
11497 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11498 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11499 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11500 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11501 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11502 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11503 (test-xfail-XPG3/ftw.h/conform): Likewise.
11504 (test-xfail-XPG3/grp.h/conform): Likewise.
11505 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11506 (test-xfail-XPG3/limits.h/conform): Likewise.
11507 (test-xfail-XPG3/pwd.h/conform): Likewise.
11508 (test-xfail-XPG3/search.h/conform): Likewise.
11509 (test-xfail-XPG3/signal.h/conform): Likewise.
11510 (test-xfail-XPG3/stdio.h/conform): Likewise.
11511 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11512 (test-xfail-XPG3/string.h/conform): Likewise.
11513 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11514 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11515 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11516 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11517 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11518 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11519 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11520 (test-xfail-XPG3/termios.h/conform): Likewise.
11521 (test-xfail-XPG3/time.h/conform): Likewise.
11522 (test-xfail-XPG3/unistd.h/conform): Likewise.
11523 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11524 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11525 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11526 (test-xfail-XPG4/netdb.h/conform): Likewise.
11527 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11528 (test-xfail-XPG4/signal.h/conform): Likewise.
11529 (test-xfail-XPG4/stdio.h/conform): Likewise.
11530 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11531 (test-xfail-XPG4/stropts.h/conform): Likewise.
11532 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11533 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11534 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11535 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11536 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11537 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11538 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11539 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11540 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11541 (test-xfail-XPG4/termios.h/conform): Likewise.
11542 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11543 (test-xfail-XPG4/unistd.h/conform): Likewise.
11544 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11545 (test-xfail-POSIX/sched.h/conform): Likewise.
11546 (test-xfail-POSIX/signal.h/conform): Likewise.
11547 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11548 (test-xfail-POSIX/tar.h/conform): Likewise.
11549 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11550 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11551 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11552 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11553 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11554 (test-xfail-UNIX98/sched.h/conform): Likewise.
11555 (test-xfail-UNIX98/signal.h/conform): Likewise.
11556 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11557 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11558 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11559 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11560 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11561 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11562 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11563 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11564 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11565 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11566 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11567 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11568 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11569 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11570 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11571 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11572 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11573 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11574 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11575 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11576 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11577 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11578 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11579 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11580 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11581 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11582 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11583 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11584 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11585 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11586 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11587 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11588 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11589 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11590 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11591 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11592 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11593 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11594 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11595 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11596 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11597 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11598 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11599 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11600 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11601 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11602 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11603 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11604 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11605 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11606 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11607 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11608 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11609 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11610 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11611 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11612 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11613 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11614 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11615 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11616 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11617 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11618 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11619 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11620 (conformtest-cc-flags): Likewise.
11621 ($(conformtest-header-tests): New target.
11622 * conform/check-header-lists.sh: New file.
11623 * conform/run-conformtest.sh: Remove.
11624
a00f522a
JM
11625 * conform/conformtest.pl: Allow ' and \ in values given for
11626 constants.
11627 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11628 inclusion.
11629 [POSIX] (sys/types.h): Likewise.
11630 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11631 inclusion.
11632 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11633 inclusion.
11634 * conform/data/signal.h-data (SIGIO): Remove expectation.
11635 [XPG3] (SIGBUS): Do not expect.
11636 [POSIX || XPG3] (SIGPOLL): Likewise.
11637 [POSIX || XPG3] (SIGPROF): Likewise.
11638 [POSIX || XPG3] (SIGSYS): Likewise.
11639 [XPG3] (SIGTRAP): Likewise.
11640 [POSIX || XPG3] (SIGURG): Likewise.
11641 [POSIX || XPG3] (SIGVTALRM): Likewise.
11642 [POSIX || XPG3] (SIGXCPU): Likewise.
11643 [POSIX || XPG3] (SIGXFSZ): Likewise.
11644 [POSIX] (SA_SIGINFO): Expect.
11645 [XPG3] (siginfo_t): Do not expect type or contents.
11646 [POSIX] (si_pid): Do not expect element.
11647 [POSIX] (si_uid): Likewise.
11648 [POSIX] (si_addr): Likewise.
11649 [POSIX] (si_status): Likewise.
11650 [POSIX] (si_band): Likewise.
11651 [XPG4] (si_value): Likewise.
11652 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11653 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11654 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11655 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11656 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11657 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11658 [POSIX || XPG3] (ILL_COPROC): Likewise.
11659 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11660 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11661 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11662 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11663 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11664 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11665 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11666 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11667 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11668 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11669 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11670 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11671 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11672 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11673 [POSIX || XPG3] (CLD_EXITED): Likewise.
11674 [POSIX || XPG3] (CLD_KILLED): Likewise.
11675 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11676 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11677 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11678 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11679 [POSIX || XPG3] (POLL_IN): Likewise.
11680 [POSIX || XPG3] (POLL_OUT): Likewise.
11681 [POSIX || XPG3] (POLL_MSG): Likewise.
11682 [POSIX || XPG3] (POLL_ERR): Likewise.
11683 [POSIX || XPG3] (POLL_PRI): Likewise.
11684 [POSIX || XPG3] (POLL_HUP): Likewise.
11685 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11686 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11687 (SIG*): Do not allow.
11688 [XPG3] (si_*): Likewise.
11689 [XPG3] (SI_*): Likewise.
11690 [XPG3 || XPG4] (sigev_*): Likewise.
11691 [XPG3 || XPG4] (SIGEV_*): Likewise.
11692 [XPG3 || XPG4] (sival_*): Likewise.
11693 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11694 [POSIX || XPG3] (BUS_*): Likewise.
11695 [POSIX || XPG3] (CLD_*): Likewise.
11696 [POSIX || XPG3] (FPE_*): Likewise.
11697 [POSIX || XPG3] (ILL_*): Likewise.
11698 [POSIX || XPG3] (POLL_*): Likewise.
11699 [POSIX || XPG3] (SEGV_*): Likewise.
11700 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11701 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11702 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11703 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11704 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11705 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11706 Specify type and value.
11707 (TVERSLEN): Likewise.
11708 (REGTYPE): Likewise.
11709 (AREGTYPE): Likewise.
11710 (LNKTYPE): Likewise.
11711 (SYMTYPE): Likewise.
11712 (CHRTYPE): Likewise.
11713 (BLKTYPE): Likewise.
11714 (DIRTYPE): Likewise.
11715 (FIFOTYPE): Likewise.
11716 (CONTTYPE): Likewise.
11717 (TSUID): Likewise.
11718 (TSGID): Likewise.
11719 (TSVTX): Likewise.
11720 (TUREAD): Likewise.
11721 (TUWRITE): Likewise.
11722 (TUEXEC): Likewise.
11723 (TGREAD): Likewise.
11724 (TGWRITE): Likewise.
11725 (TGEXEC): Likewise.
11726 (TOREAD): Likewise.
11727 (TOWRITE): Likewise.
11728 (TOEXEC): Likewise.
11729 [POSIX] (TSVTX): Expect constant.
11730
aa97dee1
JM
117312014-03-06 Joseph Myers <joseph@codesourcery.com>
11732
f214606a
JM
11733 * Makefile (tests): Change dependencies to ....
11734 (tests-special): ... additions to this variable.
11735 (tests): Depend on $(tests-special).
11736 * Makerules (check-abi-list): New variable.
11737 (check-abi): Depend on $(check-abi-list).
11738 [$(subdir) = elf] (tests-special): Add
11739 $(objpfx)check-abi-libc.out.
11740 [$(build-shared) = yes && subdir] (tests-special): Add
11741 $(check-abi-list).
11742 [$(build-shared) = yes && subdir] (tests): Do not depend on
11743 check-abi.
11744 * Rules (tests): Depend on $(tests-special).
11745 (xtests): Depend on $(xtests-special).
11746 * catgets/Makefile (tests): Change dependencies to ....
11747 (tests-special): ... additions to this variable.
11748 * conform/Makefile (tests): Change dependencies to ....
11749 (tests-special): ... additions to this variable.
11750 * elf/Makefile (tests): Change dependencies to ....
11751 (tests-special): ... additions to this variable.
11752 * grp/Makefile (tests): Change dependencies to ....
11753 (tests-special): ... additions to this variable.
11754 * iconv/Makefile (xtests): Change dependencies to ....
11755 (xtests-special): ... additions to this variable.
11756 * iconvdata/Makefile (tests): Change dependencies to ....
11757 (tests-special): ... additions to this variable.
11758 * intl/Makefile (tests): Change dependencies to ....
11759 (tests-special): ... additions to this variable. Also add
11760 $(objpfx)tst-gettext.out.
11761 * io/Makefile (tests): Change dependencies to ....
11762 (tests-special): ... additions to this variable.
11763 * libio/Makefile (tests): Change dependencies to ....
11764 (tests-special): ... additions to this variable.
11765 * malloc/Makefile (tests): Change dependencies to ....
11766 (tests-special): ... additions to this variable.
11767 * misc/Makefile (tests): Change dependencies to ....
11768 (tests-special): ... additions to this variable.
11769 * nptl/Makefile (tests): Change dependencies to ....
11770 (tests-special): ... additions to this variable.
11771 * nptl_db/Makefile (tests): Change dependencies to ....
11772 (tests-special): ... additions to this variable.
11773 * posix/Makefile (tests): Change dependencies to ....
11774 (tests-special): ... additions to this variable.
11775 (xtests): Change dependencies to ....
11776 (xtests-special): ... additions to this variable.
11777 * resolv/Makefile (tests): Change dependencies to ....
11778 (tests-special): ... additions to this variable.
11779 (xtests): Change dependencies to ....
11780 (xtests-special): ... additions to this variable.
11781 * stdio-common/Makefile (tests): Change dependencies to ....
11782 (tests-special): ... additions to this variable.
11783 (do-tst-unbputc): Remove target.
11784 (do-tst-printf): Likewise.
11785 * stdlib/Makefile (tests): Change dependencies to ....
11786 (tests-special): ... additions to this variable.
11787 * string/Makefile (tests): Change dependencies to ....
11788 (tests-special): ... additions to this variable.
11789 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11790 (tests-special): ... additions to this variable.
11791
81700b53
JM
11792 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11793 whole file.
11794 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11795 whole file.
11796 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11797 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11798
2ea18461
JM
11799 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11800 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11801 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11802 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11803 * conform/data/libgen.h-data [XPG3]: Likewise.
11804 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11805 * conform/data/ndbm.h-data [XPG3]: Likewise.
11806 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11807 * conform/data/netdb.h-data [XPG3]: Likewise.
11808 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11809 * conform/data/poll.h-data [XPG3]: Likewise.
11810 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11811 * conform/data/strings.h-data [XPG3]: Likewise.
11812 * conform/data/stropts.h-data [XPG3]: Likewise.
11813 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11814 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11815 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11816 Likewise.
11817 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11818 * conform/data/sys/time.h-data [XPG3]: Likewise.
11819 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11820 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11821 * conform/data/sys/un.h-data [XPG3]: Likewise.
11822 * conform/data/syslog.h-data [XPG3]: Likewise.
11823 * conform/data/ucontext.h-data [XPG3]: Likewise.
11824 * conform/data/utmpx.h-data [XPG3]: Likewise.
11825 * conform/data/varargs.h-data [UNIX98]: Enable file.
11826
355bc986
JM
11827 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11828
215db402
JM
11829 * math/libm-test.inc (struct test_f_f_data): Move expected results
11830 into structure for each rounding mode.
11831 (struct test_ff_f_data): Likewise.
11832 (struct test_ff_f_data_nexttoward): Likewise.
11833 (struct test_fi_f_data): Likewise.
11834 (struct test_fl_f_data): Likewise.
11835 (struct test_if_f_data): Likewise.
11836 (struct test_fff_f_data): Likewise.
11837 (struct test_c_f_data): Likewise.
11838 (struct test_f_f1_data): Likewise.
11839 (struct test_fF_f1_data): Likewise.
11840 (struct test_ffI_f1_data): Likewise.
11841 (struct test_c_c_data): Likewise.
11842 (struct test_cc_c_data): Likewise.
11843 (struct test_f_i_data): Likewise.
11844 (struct test_ff_i_data): Likewise.
11845 (struct test_f_l_data): Likewise.
11846 (struct test_f_L_data): Likewise.
11847 (struct test_fFF_11_data): Likewise.
11848 (RM_): New macro.
11849 (RM_FE_DOWNWARD): Likewise.
11850 (RM_FE_TONEAREST): Likewise.
11851 (RM_FE_TOWARDZERO): Likewise.
11852 (RM_FE_UPWARD): Likewise.
11853 (RUN_TEST_LOOP_f_f): Update references to expected results.
11854 (RUN_TEST_LOOP_2_f): Likewise.
11855 (RUN_TEST_LOOP_fff_f): Likewise.
11856 (RUN_TEST_LOOP_c_f): Likewise.
11857 (RUN_TEST_LOOP_f_f1): Likewise.
11858 (RUN_TEST_LOOP_fF_f1): Likewise.
11859 (RUN_TEST_LOOP_fI_f1): Likewise.
11860 (RUN_TEST_LOOP_ffI_f1): Likewise.
11861 (RUN_TEST_LOOP_c_c): Likewise.
11862 (RUN_TEST_LOOP_cc_c): Likewise.
11863 (RUN_TEST_LOOP_f_i): Likewise.
11864 (RUN_TEST_LOOP_f_i_tg): Likewise.
11865 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11866 (RUN_TEST_LOOP_f_b): Likewise.
11867 (RUN_TEST_LOOP_f_b_tg): Likewise.
11868 (RUN_TEST_LOOP_f_l): Likewise.
11869 (RUN_TEST_LOOP_f_L): Likewise.
11870 (RUN_TEST_LOOP_fFF_11): Likewise.
11871 * math/gen-libm-test.pl (parse_args): Output four copies of
11872 expected results for each test.
11873
67737b8f
JM
11874 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11875 (__ASSUME_UTIMES): Remove.
11876 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11877 (__ASSUME_UTIMES): Likewise.
11878
aa97dee1
JM
11879 * math/gen-auto-libm-tests.c: Update comment on output format.
11880 (output_for_one_input_case): Generate before-rounding and
11881 after-rounding information as conditions on output flags not
11882 floating-point format.
11883 * math/auto-libm-test-out: Regenerated.
11884 * math/gen-libm-test.pl (cond_value): New function.
11885 (or_cond_value): Use cond_value.
11886 (generate_testfile): Handle conditional exceptions.
11887
e6b6a857
JM
118882014-03-05 Joseph Myers <joseph@codesourcery.com>
11889
2f0a0f44
JM
11890 * math/libm-test.inc (max_valid_error): New variable.
11891 (init_max_error): Take new argument specifying whether function
11892 results are exactly determined. Set max_valid_error and bound
11893 other variables for errors based on this argument.
11894 (set_max_error): Do not record results above max_valid_error.
11895 (check_float_internal): Only accept errors of up to 0.5ulps if
11896 also at most max_valid_error.
11897 (START): Take new argument EXACT and pass it to init_max_error.
11898 (acos_test): Update call to START.
11899 (acos_test_tonearest): Likewise.
11900 (acos_test_towardzero): Likewise.
11901 (acos_test_downward): Likewise.
11902 (acos_test_upward): Likewise.
11903 (acosh_test): Likewise.
11904 (asin_test): Likewise.
11905 (asin_test_tonearest): Likewise.
11906 (asin_test_towardzero): Likewise.
11907 (asin_test_downward): Likewise.
11908 (asin_test_upward): Likewise.
11909 (asinh_test): Likewise.
11910 (atan_test): Likewise.
11911 (atanh_test): Likewise.
11912 (atan2_test): Likewise.
11913 (cabs_test): Likewise.
11914 (cacos_test): Likewise.
11915 (cacosh_test): Likewise.
11916 (carg_test): Likewise.
11917 (casin_test): Likewise.
11918 (casinh_test): Likewise.
11919 (catan_test): Likewise.
11920 (catanh_test): Likewise.
11921 (cbrt_test): Likewise.
11922 (ccos_test): Likewise.
11923 (ccosh_test): Likewise.
11924 (ceil_test): Likewise.
11925 (cexp_test): Likewise.
11926 (cimag_test): Likewise.
11927 (clog_test): Likewise.
11928 (clog10_test): Likewise.
11929 (conj_test): Likewise.
11930 (copysign_test): Likewise.
11931 (cos_test): Likewise.
11932 (cos_test_tonearest): Likewise.
11933 (cos_test_towardzero): Likewise.
11934 (cos_test_downward): Likewise.
11935 (cos_test_upward): Likewise.
11936 (cosh_test): Likewise.
11937 (cosh_test_tonearest): Likewise.
11938 (cosh_test_towardzero): Likewise.
11939 (cosh_test_downward): Likewise.
11940 (cosh_test_upward): Likewise.
11941 (cpow_test): Likewise.
11942 (cproj_test): Likewise.
11943 (creal_test): Likewise.
11944 (csin_test): Likewise.
11945 (csinh_test): Likewise.
11946 (csqrt_test): Likewise.
11947 (ctan_test): Likewise.
11948 (ctan_test_tonearest): Likewise.
11949 (ctan_test_towardzero): Likewise.
11950 (ctan_test_downward): Likewise.
11951 (ctan_test_upward): Likewise.
11952 (ctanh_test): Likewise.
11953 (ctanh_test_tonearest): Likewise.
11954 (ctanh_test_towardzero): Likewise.
11955 (ctanh_test_downward): Likewise.
11956 (ctanh_test_upward): Likewise.
11957 (erf_test): Likewise.
11958 (erfc_test): Likewise.
11959 (exp_test): Likewise.
11960 (exp_test_tonearest): Likewise.
11961 (exp_test_towardzero): Likewise.
11962 (exp_test_downward): Likewise.
11963 (exp_test_upward): Likewise.
11964 (exp10_test): Likewise.
11965 (exp10_test_tonearest): Likewise.
11966 (exp10_test_towardzero): Likewise.
11967 (exp10_test_downward): Likewise.
11968 (exp10_test_upward): Likewise.
11969 (pow10_test): Likewise.
11970 (exp2_test): Likewise.
11971 (expm1_test): Likewise.
11972 (expm1_test_tonearest): Likewise.
11973 (expm1_test_towardzero): Likewise.
11974 (expm1_test_downward): Likewise.
11975 (expm1_test_upward): Likewise.
11976 (fabs_test): Likewise.
11977 (fdim_test): Likewise.
11978 (floor_test): Likewise.
11979 (fma_test): Likewise.
11980 (fma_test_towardzero): Likewise.
11981 (fma_test_downward): Likewise.
11982 (fma_test_upward): Likewise.
11983 (fmax_test): Likewise.
11984 (fmin_test): Likewise.
11985 (fmod_test): Likewise.
11986 (fpclassify_test): Likewise.
11987 (frexp_test): Likewise.
11988 (hypot_test): Likewise.
11989 (ilogb_test): Likewise.
11990 (isfinite_test): Likewise.
11991 (finite_test): Likewise.
11992 (isgreater_test): Likewise.
11993 (isgreaterequal_test): Likewise.
11994 (isinf_test): Likewise.
11995 (isless_test): Likewise.
11996 (islessequal_test): Likewise.
11997 (islessgreater_test): Likewise.
11998 (isnan_test): Likewise.
11999 (isnormal_test): Likewise.
12000 (issignaling_test): Likewise.
12001 (isunordered_test): Likewise.
12002 (j0_test): Likewise.
12003 (j1_test): Likewise.
12004 (jn_test): Likewise.
12005 (ldexp_test): Likewise.
12006 (lgamma_test): Likewise.
12007 (gamma_test): Likewise.
12008 (lrint_test): Likewise.
12009 (lrint_test_tonearest): Likewise.
12010 (lrint_test_towardzero): Likewise.
12011 (lrint_test_downward): Likewise.
12012 (lrint_test_upward): Likewise.
12013 (llrint_test): Likewise.
12014 (llrint_test_tonearest): Likewise.
12015 (llrint_test_towardzero): Likewise.
12016 (llrint_test_downward): Likewise.
12017 (llrint_test_upward): Likewise.
12018 (log_test): Likewise.
12019 (log10_test): Likewise.
12020 (log1p_test): Likewise.
12021 (log2_test): Likewise.
12022 (logb_test): Likewise.
12023 (logb_test_downward): Likewise.
12024 (lround_test): Likewise.
12025 (llround_test): Likewise.
12026 (modf_test): Likewise.
12027 (nearbyint_test): Likewise.
12028 (nextafter_test): Likewise.
12029 (nexttoward_test): Likewise.
12030 (pow_test): Likewise.
12031 (pow_test_tonearest): Likewise.
12032 (pow_test_towardzero): Likewise.
12033 (pow_test_downward): Likewise.
12034 (pow_test_upward): Likewise.
12035 (remainder_test): Likewise.
12036 (drem_test): Likewise.
12037 (remainder_test_tonearest): Likewise.
12038 (drem_test_tonearest): Likewise.
12039 (remainder_test_towardzero): Likewise.
12040 (drem_test_towardzero): Likewise.
12041 (remainder_test_downward): Likewise.
12042 (drem_test_downward): Likewise.
12043 (remainder_test_upward): Likewise.
12044 (drem_test_upward): Likewise.
12045 (remquo_test): Likewise.
12046 (rint_test): Likewise.
12047 (rint_test_tonearest): Likewise.
12048 (rint_test_towardzero): Likewise.
12049 (rint_test_downward): Likewise.
12050 (rint_test_upward): Likewise.
12051 (round_test): Likewise.
12052 (scalb_test): Likewise.
12053 (scalbn_test): Likewise.
12054 (scalbln_test): Likewise.
12055 (signbit_test): Likewise.
12056 (sin_test): Likewise.
12057 (sin_test_tonearest): Likewise.
12058 (sin_test_towardzero): Likewise.
12059 (sin_test_downward): Likewise.
12060 (sin_test_upward): Likewise.
12061 (sincos_test): Likewise.
12062 (sinh_test): Likewise.
12063 (sinh_test_tonearest): Likewise.
12064 (sinh_test_towardzero): Likewise.
12065 (sinh_test_downward): Likewise.
12066 (sinh_test_upward): Likewise.
12067 (sqrt_test): Likewise.
12068 (sqrt_test_tonearest): Likewise.
12069 (sqrt_test_towardzero): Likewise.
12070 (sqrt_test_downward): Likewise.
12071 (sqrt_test_upward): Likewise.
12072 (tan_test): Likewise.
12073 (tan_test_tonearest): Likewise.
12074 (tan_test_towardzero): Likewise.
12075 (tan_test_downward): Likewise.
12076 (tan_test_upward): Likewise.
12077 (tanh_test): Likewise.
12078 (tgamma_test): Likewise.
12079 (trunc_test): Likewise.
12080 (y0_test): Likewise.
12081 (y1_test): Likewise.
12082 (yn_test): Likewise.
12083 (significand_test): Likewise.
12084
e6b6a857
JM
12085 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12086 individual tests in comment.
12087 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12088 (prev_max_error): New variable.
12089 (prev_real_max_error): Likewise.
12090 (prev_imag_max_error): Likewise.
12091 (compare_ulp_data): Don't refer to test names in comment.
12092 (find_test_ulps): Remove function.
12093 (find_function_ulps): Likewise.
12094 (find_complex_function_ulps): Likewise.
12095 (init_max_error): Take function name as argument. Look up ulps
12096 for that function.
12097 (print_ulps): Remove function.
12098 (print_max_error): Use prev_max_error instead of calling
12099 find_function_ulps.
12100 (print_complex_max_error): Use prev_real_max_error and
12101 prev_imag_max_error instead of calling find_complex_function_ulps.
12102 (check_float_internal): Take max_ulp parameter instead of calling
12103 find_test_ulps. Don't call print_ulps.
12104 (check_float): Update call to check_float_internal.
12105 (check_complex): Update calls to check_float_internal.
12106 (START): Pass argument to init_max_error.
12107 * math/gen-libm-test.pl (%results): Don't include "kind"
12108 information.
12109 (parse_ulps): Don't handle ulps of individual tests.
12110 (print_ulps_file): Likewise.
12111 (output_ulps): Likewise.
12112 * math/README.libm-test: Update.
12113 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12114 individual tests.
12115 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12116 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12117 * sysdeps/arm/libm-test-ulps: Likewise.
12118 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12119 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12120 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12121 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12122 * sysdeps/microblaze/libm-test-ulps: Likewise.
12123 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12124 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12125 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12126 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12127 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12128 * sysdeps/sh/libm-test-ulps: Likewise.
12129 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12130 * sysdeps/tile/libm-test-ulps: Likewise.
12131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12132
45adef3c
JM
121332014-03-04 Joseph Myers <joseph@codesourcery.com>
12134
12135 * math/libm-test.inc (print_complex_max_error): Check separately
12136 whether real and imaginary errors are within allowed range and
12137 pass 0 to print_complex_function_ulps instead of value within
12138 allowed range.
12139
000232b9
SP
121402014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12141
d4b17258
SP
12142 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12143 formatting.
12144 (get_handles_fopen): Likewise.
12145 (do_write_test): Likewise.
12146
091eff71
SP
12147 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12148
fa3cd248
SP
12149 * libio/fileops.c (do_ftell): Use cached offset when
12150 available.
12151 * libio/iofwide.c (do_ftell_wide): Likewise.
12152 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12153 _IO_file_attach.
12154 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12155
000232b9
SP
12156 [BZ #16532]
12157 * libio/libioP.h (get_file_offset): New function.
12158 * libio/fileops.c (get_file_offset): Likewise.
12159 (do_ftell): Likewise.
12160 (_IO_new_file_seekoff): Split out ftell logic.
12161 * libio/wfileops.c (do_ftell_wide): Likewise.
12162 (_IO_wfile_seekoff): Split out ftell logic.
12163 * libio/tst-ftell-active-handler.c: New test case.
12164 * libio/Makefile (tests): Add it.
12165
116f4d1a
RM
121662014-03-03 Roland McGrath <roland@hack.frob.com>
12167
12168 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12169 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12170
532a6035
SP
121712014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12172
12173 [BZ #16639]
12174 * nscd/connections.c (nscd_init): Call do_exit.
12175 (start_threads): Call do_exit and notify_parent.
12176 (begin_drop_privileges): Call do_exit.
12177 (finish_drop_privileges): Likewise.
12178 * nscd/selinux.c (preserve_capabilities): Likewise.
12179 (install_real_capabilities): Likewise.
12180 (nscd_selinux_enabled): Likewise.
12181 (avc_create_thread): Likewise.
12182 (avc_alloc_lock): Likewise.
12183 (nscd_avc_init): Likewise.
12184 * nscd/nscd.c (parent_fd): New static variable.
12185 (main): Create a pipe between parent and child processes.
12186 Skip closing parent_fd.
12187 (monitor_child): New function.
12188 (do_exit): Likewise.
12189 (notify_parent): Likewise.
12190 * nscd/nscd.h (notify_parent): Likewise.
12191 (do_exit): Likewise.
12192
d6285c9f
CD
121932014-03-03 Carlos O'Donell <carlos@redhat.com>
12194
12195 * malloc/malloc.c (__libc_calloc): Revert last change.
12196
2b85d2a0
AZ
121972014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12198
12199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12200
c7debbdf
RS
122012014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12202
12203 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12205 implementation.
12206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12207 (__libc_ifunc_impl_list): Likewise.
12208 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12209 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12210 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12211 * string/strrchr.c: Define STRRCHR.
12212
235eed86
OB
122132014-02-28 Ondřej Bílka <neleai@seznam.cz>
12214
12215 * benchtest/bench-strtok.c (simple_strtok): Delete.
12216 (strtok_string): Use as benchmark.
12217 * string/strtok (STRTOK): New macro.
12218
8e25d1e7
CD
122192014-02-28 Carlos O'Donell <carlos@redhat.com>
12220
ef563f92
CD
12221 * manual/threads.texi: Add header and standard comments to all
12222 functions.
12223
8e25d1e7
CD
12224 * elf/dl-lookup.c (check_match): New function.
12225 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12226 (do_lookup_x): Remove nested function check_match. Use non-nested
12227 function check_match.
12228
ff71cc37
RM
122292014-02-28 Roland McGrath <roland@hack.frob.com>
12230
f08e9a26
RM
12231 * csu/Makefile (generated, before-compile): Use += rather than =.
12232 * catgets/Makefile (generated, generated-dirs): Likewise.
12233 * debug/Makefile (generated): Likewise.
12234 * dlfcn/Makefile (generated): Likewise.
12235 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12236 * iconvdata/Makefile (before-compile, generated): Likewise.
12237 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12238 * libio/Makefile (generated): Likewise.
12239 * malloc/Makefile (generated): Likewise.
12240 * manual/Makefile (generated, generated-dirs): Likewise.
12241 * misc/Makefile (generated): Likewise.
12242 * posix/Makefile (generated): Likewise.
12243 * resolv/Makefile (generated): Likewise.
12244 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12245 * timezone/Makefile (generated, generated-dirs): Likewise.
12246
ff71cc37
RM
12247 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12248
fe13a20c
AZ
122492014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12250
57f41c40
AS
12251 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12252 power8 implementation.
12253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12254 file: POWER8 llround ifunc implementation.
12255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12256 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
12257 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12258 POWER8 llround implementation.
12259
57f41c40
AS
12260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12261 power8 implementation.
12262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12263 file: POWER8 llrint ifunc implementation.
12264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12265 Add POWER8 implementation.
1ad8950a
AZ
12266 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12267 POWER8 llrint implementation.
12268
57f41c40
AS
12269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12270 power8 implementation.
12271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12272 file: POWER8 finite ifunc implementation.
12273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12274 Add POWER8 implementation.
cac626d6
AZ
12275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12276 Likewise.
12277 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12278 POWER8 finite implementation.
12279 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12280
57f41c40
AS
12281 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12282 power8 implementation.
12283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12284 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
12285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12286 POWER8 implementation.
12287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12288 Likewise.
57f41c40
AS
12289 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12290 isinf implementation.
4393fc11
AZ
12291 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12292
57f41c40
AS
12293 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12294 (INIT_ARCH): Add hwcap2 initialization.
12295 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12296 power8 implementation.
12297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12298 file: POWER8 isnan ifunc implementation.
487972ae
AZ
12299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12300 POWER8 implementation.
12301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12302 Likewise.
57f41c40
AS
12303 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12304 isnan implementation.
487972ae
AZ
12305 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12306
7d92b787
JY
123072014-02-27 Joey Ye <joey.ye@arm.com>
12308
12309 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12310 (_FP_NANFRAC_Q): Set to zero.
12311
1cadc858
SP
123122014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12313
12314 [BZ #16623]
12315 * math/auto-libm-test-in: New test inputs.
12316 * math/auto-libm-test-out: Regenerate.
12317 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12318 and DA.
12319 (__cos): Likewise.
12320 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12321
f8c17e79
JM
123222014-02-27 Joseph Myers <joseph@codesourcery.com>
12323
12324 * scripts/evaluate-test.sh: Take new argument indicating whether
12325 failure is expected.
12326 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12327 indicating whether failure is expected.
12328 * conform/Makefile (test-xfail-run-conformtest): New variable.
12329 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12330 level.
12331 * posix/Makefile (test-xfail-annexc): New variable.
12332 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12333
a5f891ac
JM
123342014-02-26 Joseph Myers <joseph@codesourcery.com>
12335
12336 * argp/Makefile: Include Makeconfig immediately after defining
12337 subdir.
12338 * assert/Makefile: Likewise.
12339 * benchtests/Makefile: Likewise.
12340 * catgets/Makefile: Likewise.
12341 * conform/Makefile: Likewise.
12342 * crypt/Makefile: Likewise.
12343 * csu/Makefile: Likewise.
12344 (all): Remove target.
12345 * ctype/Makefile: Include Makeconfig immediately after defining
12346 subdir.
12347 * debug/Makefile: Likewise.
12348 * dirent/Makefile: Likewise.
12349 * dlfcn/Makefile: Likewise.
12350 * gmon/Makefile: Likewise.
12351 * gnulib/Makefile: Likewise.
12352 * grp/Makefile: Likewise.
12353 * gshadow/Makefile: Likewise.
12354 * hesiod/Makefile: Likewise.
12355 * hurd/Makefile: Likewise.
12356 (all): Remove target.
12357 * iconvdata/Makefile: Include Makeconfig immediately after
12358 defining subdir.
12359 * inet/Makefile: Likewise.
12360 * intl/Makefile: Likewise.
12361 * io/Makefile: Likewise.
12362 * libio/Makefile: Likewise.
12363 (all): Remove target.
12364 * locale/Makefile: Include Makeconfig immediately after defining
12365 subdir.
12366 * login/Makefile: Likewise.
12367 * mach/Makefile: Likewise.
12368 (all): Remove target.
12369 * malloc/Makefile: Include Makeconfig immediately after defining
12370 subdir.
12371 (all): Remove target.
12372 * manual/Makefile: Include Makeconfig immediately after defining
12373 subdir.
12374 * math/Makefile: Likewise.
12375 * misc/Makefile: Likewise.
12376 * nis/Makefile: Likewise.
12377 * nss/Makefile: Likewise.
12378 * po/Makefile: Likewise.
12379 (all): Remove target.
12380 * posix/Makefile: Include Makeconfig immediately after defining
12381 subdir.
12382 * pwd/Makefile: Likewise.
12383 * resolv/Makefile: Likewise.
12384 * resource/Makefile: Likewise.
12385 * rt/Makefile: Likewise.
12386 * setjmp/Makefile: Likewise.
12387 * shadow/Makefile: Likewise.
12388 * signal/Makefile: Likewise.
12389 * socket/Makefile: Likewise.
12390 * soft-fp/Makefile: Likewise.
12391 * stdio-common/Makefile: Likewise.
12392 * stdlib/Makefile: Likewise.
12393 * streams/Makefile: Likewise.
12394 * string/Makefile: Likewise.
12395 * sunrpc/Makefile: Likewise.
12396 (all): Remove target.
12397 * sysvipc/Makefile: Include Makeconfig immediately after defining
12398 subdir.
12399 * termios/Makefile: Likewise.
12400 * time/Makefile: Likewise.
12401 * timezone/Makefile: Likewise.
12402 (all): Remove target.
12403 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12404 subdir.
12405 * wctype/Makefile: Likewise.
12406
5b456e9d
SE
124072014-02-26 Steve Ellcey <sellcey@mips.com>
12408
12409 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12410 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12411 (libc_feholdexcept_setround_mips): Ditto.
12412 (libc_feholdsetround): New.
12413 (libc_feholdsetroundf): New.
12414 (libc_feholdsetroundl): New.
12415 (libc_feupdateenv_test_mips): New.
12416 (libc_feupdateenv_test): New.
12417 (libc_feupdateenv_testf): New.
12418 (libc_feupdateenv_testl): New.
12419 (libc_feresetround): New.
12420 (libc_feresetroundf): New.
12421 (libc_feresetroundl): New.
12422 (libc_fetestexcept_mips): New.
12423 (libc_fetestexcept): New.
12424 (libc_fetestexceptf): New.
12425 (libc_fetestexceptl): New.
12426 (HAVE_RM_CTX): New.
12427 (libc_feholdexcept_setround_mips_ctx): New.
12428 (libc_feholdexcept_setround_ctx): New.
12429 (libc_feholdexcept_setroundf_ctx): New.
12430 (libc_feholdexcept_setroundl_ctx): New.
12431 (libc_fesetenv_mips_ctx): New.
12432 (libc_fesetenv_ctx): New.
12433 (libc_fesetenv_ctxf): New.
12434 (libc_fesetenv_ctxl): New.
12435 (libc_feupdateenv_mips_ctx): New.
12436 (libc_feupdateenv_ctx): New.
12437 (libc_feupdateenvf_ctx): New.
12438 (libc_feupdateenvl_ctx): New.
12439 (libc_feholdsetround_mips_ctx): New.
12440 (libc_feholdsetround_ctx): New.
12441 (libc_feholdsetroundf_ctx): New.
12442 (libc_feholdsetroundl_ctx): New.
12443 (libc_feresetround_mips_ctx): New.
12444 (libc_feresetround_ctx): New.
12445 (libc_feresetroundf_ctx): New.
12446 (libc_feresetroundl_ctx): New.
12447
085d0e35
CD
124482014-02-26 Carlos O'Donell <carlos@redhat.com>
12449
f067bf1f
CD
12450 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12451
085d0e35
CD
12452 * manual/ipc.texi: New file.
12453 * manual/Makefile (chapters): Add ipc.
12454 * manual/job.texi: Add "Inter-Process Communication" to next.
12455 * manual/process.texi: Add "Inter-Process Communication" to prev.
12456
86e58c08
AZ
124572014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12458
12459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12460
4248f0da
OB
124612014-02-26 Ondřej Bílka <neleai@seznam.cz>
12462
12463 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12464
cf822e3c
OB
12465 * manual/arith.texi: Fix spaces after sentences.
12466 * manual/charset.texi: Likewise.
12467 * manual/errno.texi: Likewise.
12468 * manual/install.texi: Likewise.
12469 * manual/llio.texi: Likewise.
12470 * manual/locale.texi: Likewise.
12471 * manual/maint.texi: Likewise.
12472 * manual/math.texi: Likewise.
12473 * manual/memory.texi: Likewise.
12474 * manual/message.texi: Likewise.
12475 * manual/probes.texi: Likewise.
12476 * manual/resource.texi: Likewise.
12477 * manual/signal.texi: Likewise.
12478 * manual/socket.texi: Likewise.
12479 * manual/stdio.texi: Likewise.
12480 * manual/string.texi: Likewise.
12481 * manual/time.texi: Likewise.
12482 * manual/users.texi: Likewise.
12483
ade40b10
CD
124842014-02-25 Carlos O'Donell <carlos@redhat.com>
12485
12486 [BZ #16632]
12487 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12488 _DEFAULT_SOURCE is defined.
12489
d0503676
CD
124902014-02-25 Ulrich Drepper <drepper@gmail.com>
12491 Carlos O'Donell <carlos@redhat.com>
12492
12493 [BZ #16613]
12494 * elf/dl-tls.c (_dl_count_modids): New function.
12495 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12496 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12497 audit library and increment generation counter.
12498 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12499 * elf/tst-audit9.c: New file.
12500 * elf/tst-auditmod9a.c: New file.
12501 * elf/tst-auditmod9b.c: New file.
12502 * elf/Makefile: Add rules to build and run tst-audit9.
12503
4cbf380c
FW
125042014-02-25 Florian Weimer <fweimer@redhat.com>
12505
12506 [BZ #15347]
12507 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12508
80a56cc3
WN
125092014-02-25 Will Newton <will.newton@linaro.org>
12510
12511 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12512 (__longjmp): Restore sp and lr before restoring callee
12513 saved registers. Add longjmp and longjmp_target
12514 SystemTap probe point.
12515 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12516 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12517 Define to zero to match jmpbuf layout.
12518 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12519 (__sigsetjmp): Save sp and lr before saving callee
12520 saved registers. Add setjmp SystemTap probe point.
12521
3ea0f74e
SL
125222014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12523
12524 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12525
b04acb26
AS
125262014-02-24 Andreas Schwab <schwab@suse.de>
12527
12528 [BZ #15804]
12529 * elf/pldd.c (wait_for_ptrace_stop): New function.
12530 (main): Call it after attaching.
12531
098ad55c
RM
125322014-02-22 Roland McGrath <roland@hack.frob.com>
12533
d4ec6ae1
RM
12534 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12535 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12536 Versions files is now verboten.
12537 * hurd/Versions (libc: GLIBC_2.0):
12538 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12539 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12540 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12541 * mach/Versions: Likewise.
12542
098ad55c
RM
12543 * csu/Versions: Remove unused %include.
12544 * resolv/Versions: Likewise.
12545
acd7f096
JM
125462014-02-21 Joseph Myers <joseph@codesourcery.com>
12547
f0881698
JM
12548 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12549 ($(objpfx)check-local-headers.out): Likewise.
12550 ($(objpfx)begin-end-check.out): Likewise.
12551 * Makerules (check-abi-%.out): Likewise.
12552 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12553 ($(objpfx)test2.cat): Likewise.
12554 ($(objpfx)de/libc.cat): Likewise.
12555 ($(objpfx)test-gencat.out): Likewise.
12556 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12557 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12558 ($(objpfx)noload-mem): Likewise.
12559 ($(objpfx)tst-pathopt.out): Likewise.
12560 ($(objpfx)tst-rtld-load-self.out): Likewise.
12561 ($(objpfx)tst-array1-cmp.out): Likewise.
12562 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12563 ($(objpfx)tst-array2-cmp.out): Likewise.
12564 ($(objpfx)tst-array3-cmp.out): Likewise.
12565 ($(objpfx)tst-array4-cmp.out): Likewise.
12566 ($(objpfx)tst-array5-cmp.out): Likewise.
12567 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12568 ($(objpfx)check-textrel.out): Likewise.
12569 ($(objpfx)check-execstack.out): Likewise.
12570 ($(objpfx)check-localplt.out): Likewise.
12571 ($(objpfx)order2-cmp.out): Likewise.
12572 ($(objpfx)tst-leaks1-mem): Likewise.
12573 ($(objpfx)tst-leaks1-static-mem): Likewise.
12574 ($(objpfx)tst-initorder-cmp.out): Likewise.
12575 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12576 ($(objpfx)tst-unused-dep.out): Likewise.
12577 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12578 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12579 * iconv/Makefile (test-iconvconfig): Likewise.
12580 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12581 ($(objpfx)iconv-test.out): Likewise.
12582 ($(objpfx)tst-tables.out): Likewise.
12583 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12584 ($(objpfx)tst-gettext.out): Likewise.
12585 ($(objpfx)tst-translit.out): Likewise.
12586 ($(objpfx)tst-gettext2.out): Likewise.
12587 ($(objpfx)tst-gettext4.out): Likewise.
12588 ($(objpfx)tst-gettext6.out): Likewise.
12589 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12590 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12591 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12592 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12593 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12594 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12595 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12596 ($(objpfx)wordexp-tst.out): Likewise.
12597 ($(objpfx)annexc.out): Likewise.
12598 ($(objpfx)tst-fnmatch-mem): Likewise.
12599 ($(objpfx)bug-regex2-mem): Likewise.
12600 ($(objpfx)bug-regex14-mem): Likewise.
12601 ($(objpfx)bug-regex21-mem): Likewise.
12602 ($(objpfx)bug-regex31-mem): Likewise.
12603 ($(objpfx)tst-vfork3-mem): Likewise.
12604 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12605 ($(objpfx)tst-pcre-mem): Likewise.
12606 ($(objpfx)tst-boost-mem): Likewise.
12607 ($(objpfx)tst-getconf.out): Likewise.
12608 ($(objpfx)bug-ga2-mem): Likewise.
12609 ($(objpfx)bug-glob2-mem): Likewise.
12610 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12611 ($(objpfx)mtrace-tst-leaks2): Likewise.
12612 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12613 ($(objpfx)tst-printf.out): Likewise.
12614 ($(objpfx)tst-setvbuf1.out): Likewise.
12615 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12616 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12617 ($(objpfx)tst-fmtmsg.out): Likewise.
12618 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12619 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12620
acd7f096
JM
12621 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12622 * bits/sigaction.h [__USE_MISC]: Likewise.
12623 * bits/waitstatus.h: Update #endif comments.
12624 * ctype/ctype.h: Likewise.
12625 * dirent/dirent.h: Likewise.
12626 [__USE_MISC]: Remove redundant conditionals.
12627 * grp/grp.h: Update #endif comments.
12628 [__USE_GNU]: Remove redundant conditionals.
12629 [__USE_MISC]: Likewise.
12630 * inet/netinet/in.h [__USE_GNU]: Likewise.
12631 * io/sys/stat.h [__USE_MISC]: Likewise.
12632 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12633 * libio/bits/stdio.h: Update #endif comments.
12634 [__USE_MISC]: Remove redundant conditionals.
12635 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12636 * libio/stdio.h: Update #endif comments.
12637 [__USE_MISC]: Remove redundant conditionals.
12638 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12639 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12640 * math/math.h: Update #else and #endif comments.
12641 [__USE_MISC]: Remove redundant conditionals.
12642 * misc/sys/uio.h: Update #endif comments.
12643 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12644 * posix/glob.h [__USE_MISC]: Likewise.
12645 * posix/sys/types.h: Update #endif comments.
12646 [__USE_MISC]: Remove redundant conditionals.
12647 * posix/sys/wait.h: Update #endif comments.
12648 [__USE_MISC]: Remove redundant conditionals.
12649 * posix/unistd.h: Update #endif comments.
12650 [__USE_MISC]: Remove redundant conditionals.
12651 * pwd/pwd.h [__USE_GNU]: Likewise.
12652 [__USE_MISC]: Likewise.
12653 * resolv/netdb.h [__USE_GNU]: Likewise.
12654 * signal/signal.h: Update #endif comments.
12655 [__USE_MISC]: Remove redundant conditionals.
12656 * stdlib/stdlib.h: Update #else and #endif comments.
12657 [__USE_MISC]: Remove redundant conditionals.
12658 [__USE_GNU]: Likewise.
12659 * string/bits/string2.h [__USE_MISC]: Likewise.
12660 * string/string.h: Update #endif comments.
12661 [__USE_MISC]: Remove redundant conditionals.
12662 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12663 Likewise.
12664 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12665 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12666 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12667 Likewise.
12668 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12669 Likewise.
12670 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12671 comments.
12672 [__USE_MISC]: Remove redundant conditionals.
12673 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12674 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12675 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12676 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12677 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12678 Likewise.
12679 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12680 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12681 Likewise.
12682 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12683 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12684 Likewise.
12685 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12686 Likewise.
12687 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12688 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12689 Likewise.
12690 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12691 Likewise.
12692 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12693 * sysdeps/x86/bits/string.h: Update #endif comments.
12694 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12695 conditionals.
12696 * time/sys/time.h: Update #endif comments.
12697 * time/time.h: Likewise.
12698 [__USE_MISC]: Remove redundant conditionals.
12699
a5d82e4e
YG
127002014-02-21 Yury Gribov <y.gribov@samsung.com>
12701
12702 [BZ #16600]
12703 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12704
9a80491d
AS
127052014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12706
12707 * Versions.def (librt): Add GLIBC_2.17.
12708
105fa381
AC
127092014-02-21 Adam Conrad <adconrad@0c3.net>
12710
12711 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12712 synonym for _SYS_AUXV_H to allow direct inclusion.
12713 * sysdeps/sparc/bits/hwcap.h: Likewise.
12714 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12715 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12716 * sysdeps/sparc/sysdep.h: Likewise.
12717
b8cd1c4e
SP
127182014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12719
12720 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12721
bd939d23
RS
127222014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12723
12724 * benchtests/bench-strrchr.c: Print length instead of position.
12725
5d7b57ca
JM
127262014-02-20 Joseph Myers <joseph@codesourcery.com>
12727
bc688c10
JM
12728 [BZ #16611]
12729 * sysdeps/unix/sysv/linux/kernel-features.h
12730 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12731 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12732 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12733 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12734 Likewise.
12735 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12736 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12737 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12738 (__ASSUME_SENDMMSG): Define instead of using previous
12739 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12740 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12741 (__ASSUME_SENDMMSG_SYSCALL): Define.
12742 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12743 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12744 Likewise.
12745 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12746 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12747 Likewise.
12748 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12749 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12750 Likewise.
12751 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12752 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12753 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12754 [__ASSUME_SENDMMSG]: Change conditionals to
12755 [__ASSUME_SENDMMSG_SOCKETCALL].
12756 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12757 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12758 Define.
12759 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12760 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12761 Likewise.
12762 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12763 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12764 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12765 [!__ASSUME_SENDMMSG]: Change conditional to
12766 [!__ASSUME_SENDMMSG_SOCKETCALL].
12767 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12768 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12769 Define.
12770
0e31b18c
JM
12771 [BZ #16610]
12772 * sysdeps/unix/sysv/linux/kernel-features.h
12773 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12774 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12775 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12776 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12777 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12778 [__i386__ || __sparc__]
12779 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12780 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12781 (__ASSUME_RECVMMSG): Define instead of using previous
12782 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12783 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12784 (__ASSUME_RECVMMSG_SYSCALL): Define.
12785 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12786 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12787 Likewise.
12788 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12789 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12790 Likewise.
12791 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12792 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12793 Likewise.
12794 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12795 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12796 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12797 [__ASSUME_RECVMMSG]: Change condition to
12798 [__ASSUME_RECVMMSG_SOCKETCALL].
12799 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12800 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12801 Define.
12802 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12803 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12804 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12805 Likewise.
12806 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12807 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12808 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12809 [!__ASSUME_RECVMMSG]: Change condition to
12810 [!__ASSUME_RECVMMSG_SOCKETCALL].
12811 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12812 (__ASSUME_RECVMMSG_SYSCALL): Define.
12813
dd481ccf
JM
12814 [BZ #16609]
12815 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12816 __powerpc__ || __s390__ || __sh__ || __sparc__]
12817 (__ASSUME_SOCKETCALL): Define.
12818 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12819 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12820 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12821 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12822 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12823 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12824 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12825 (__ASSUME_ACCEPT4): Define instead of using previous
12826 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12827 __powerpc__ || __sparc__ || __s390__)] condition.
12828 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12829 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12830 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12831 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12832 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12833 [!__ASSUME_ACCEPT4]: Change condition to
12834 [!__ASSUME_ACCEPT4_SOCKETCALL].
12835 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12836 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12837 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12838 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12839 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12840 __ASSUME_ACCEPT4_SYSCALL.
12841 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12842 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12843 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12844 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12845 __ASSUME_ACCEPT4_SYSCALL.
12846 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12847 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12848 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12849 [__ASSUME_ACCEPT4]: Change condition to
12850 [__ASSUME_ACCEPT4_SOCKETCALL].
12851 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12852 (__ASSUME_SOCKETCALL): Define.
12853 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12854 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12855 (__ASSUME_SOCKETCALL): Define.
12856 (__ASSUME_ACCEPT4): Remove.
12857 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12858 Define.
12859 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12860 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12861 Likewise.
12862 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12863 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12864
5d7b57ca
JM
12865 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12866 macro.
12867 (HWCAP_ARM_LPAE): Likewise.
12868 (HWCAP_ARM_EVTSTRM): Likewise.
12869 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12870 Add vpfd32, lpae and evtstrm.
12871 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12872 Increase to 22.
12873
63689d61
JM
128742014-02-19 Joseph Myers <joseph@codesourcery.com>
12875
12876 * math/auto-libm-test-in: Add tests of clog10.
12877 * math/auto-libm-test-out: Regenerated.
12878 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12879 * sysdeps/i386/fpu/libm-test-ulps: Update.
12880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12881
ab09bf61
AS
128822014-02-18 Andreas Schwab <schwab@suse.de>
12883
12884 [BZ #16574]
12885 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12886 Store non-zero if the second buffer was newly allocated.
12887 (send_dg): Likewise.
12888 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12889 to send_vc and send_dg.
12890 (res_nsend): Pass NULL for ansp2_malloced.
12891 * resolv/res_query.c (__libc_res_nquery): Add parameter
12892 answerp2_malloced and pass it down to __libc_res_nsend.
12893 (res_nquery): Pass additional NULL to __libc_res_nquery.
12894 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12895 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12896 second answer buffer if answerp2_malloced was set.
12897 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12898 (__libc_res_nquerydomain): Add parameter
12899 answerp2_malloced and pass it down to __libc_res_nquery.
12900 (res_nquerydomain): Pass additional NULL to
12901 __libc_res_nquerydomain.
12902 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12903 additional NULL to __libc_res_nsend and __libc_res_nquery.
12904 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12905 additional NULL to __libc_res_nsearch.
12906 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12907 parameter of __libc_res_nsearch to check for separately allocated
12908 second buffer.
12909 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12910 __libc_res_nquery.
12911 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12912 additional NULL to __libc_res_nquery.
12913 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12914 __libc_res_nsearch.
12915 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12916 * include/resolv.h: Update prototypes of __libc_res_nquery,
12917 __libc_res_nsearch, __libc_res_nsend.
12918
a4fb7861
JM
129192014-02-18 Joseph Myers <joseph@codesourcery.com>
12920
c6af2d89
JM
12921 * math/auto-libm-test-in: Add tests of fma.
12922 * math/auto-libm-test-out: Regenerated.
12923 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12924 (fma_towardzero_test_data): Likewise.
12925 (fma_downward_test_data): Likewise.
12926 (fma_upward_test_data): Likewise.
12927 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12928 mpc_mode.
12929 (rounding_modes): Add values for new field.
12930 (func_calc_method): Add value mpfr_fff_f.
12931 (func_calc_desc): Add mpfr_fff_f union field.
12932 (test_function): Add field exact_args.
12933 (FUNC): Add macro argument EXACT_ARGS.
12934 (FUNC_mpfr_f_f): Update call to FUNC.
12935 (FUNC_mpfr_f_f): Likewise.
12936 (FUNC_mpfr_ff_f): Likewise.
12937 (FUNC_mpfr_if_f): Likewise.
12938 (FUNC_mpc_c_f): Likewise.
12939 (FUNC_mpc_c_c): Likewise.
12940 (test_functions): Add fma. Update calls to FUNC.
12941 (handle_input_arg): Add argument exact_args.
12942 (add_test): Update call to handle_input_arg.
12943 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12944 (output_for_one_input_case): Update call to calc_generic_results.
12945 Recalculate exact zero results in each rounding mode.
12946
a4fb7861
JM
12947 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12948 non-negative before setting low bit.
12949 * math/auto-libm-test-in: Mark one asin test possibly having
12950 spurious underflow.
12951 * math/auto-libm-test-out: Regenerated.
12952 * sysdeps/i386/fpu/libm-test-ulps: Update.
12953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12954
ef114eaf
DH
129552014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12956
2b7f4f2c
SP
12957 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12958 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12959 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
12960 * README: Add missing listing for microblaze*-*-linux-gnu.
12961
8125aedc
AM
129622014-02-16 Ondřej Bílka <neleai@seznam.cz>
12963
12964 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12965 duplicate code
12966
c70a4b1d
MF
129672014-02-16 Mike Frysinger <vapier@gentoo.org>
12968
12969 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12970 * sysdeps/unix/sysv/linux/ia64: Move directory from
12971 ports/sysdeps/unix/sysv/linux/ia64.
12972 * README: Update listing for ia64-*-linux-gnu.
12973
591aeaf7
TD
129742014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12975 Joseph Myers <joseph@codesourcery.com>
12976
12977 * Makeconfig (test-name): New variable.
12978 (evaluate-test): Likewise.
12979 * Makerules (do-test-clean): Remove .test-result files.
12980 (common-mostlyclean): Likewise.
12981 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12982 * scripts/evaluate-test.sh: New file.
12983
6e89caf1
JM
129842014-02-14 Joseph Myers <joseph@codesourcery.com>
12985
7f98f180
JM
12986 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12987 separate $(objpfx)tst-fopenloc-cmp.out and
12988 $(objpfx)tst-fopenloc-mem.out targets.
12989 (tests): Update dependencies.
12990 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12991 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12992 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12993 (tst-rxspencer-no-utf8-ARGS): New variable.
12994 (tst-rxspencer-no-utf8-ENV): Likewise.
12995 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12996 instead of $(objpfx)tst-rxspencer-mem.
12997 ($(objpfx)tst-rxspencer-mem): Change target to
12998 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12999 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13000 * posix/tst-rxspencer-no-utf8.c: New file.
13001
6e89caf1
JM
13002 * elf/Makefile ($(objpfx)order.out): Remove rule.
13003 [$(run-built-tests) = yes] (tests): Depend on
13004 $(objpfx)order-cmp.out.
13005 ($(objpfx)order-cmp.out): New rule.
13006 [$(run-built-tests) = yes] (tests): Depend on
13007 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13008 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13009 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13010 $(objpfx)tst-array5-static-cmp.out.
13011 ($(objpfx)tst-array1.out): Remove rule.
13012 ($(objpfx)tst-array1-cmp.out): New rule.
13013 ($(objpfx)tst-array1-static.out): Remove rule.
13014 ($(objpfx)tst-array1-static-cmp.out): New rule.
13015 ($(objpfx)tst-array2.out): Remove rule.
13016 ($(objpfx)tst-array2-cmp.out): New rule.
13017 ($(objpfx)tst-array3.out): Remove rule.
13018 ($(objpfx)tst-array3-cmp.out): New rule.
13019 ($(objpfx)tst-array4.out): Remove rule.
13020 ($(objpfx)tst-array4-cmp.out): New rule.
13021 ($(objpfx)tst-array5.out): Remove rule.
13022 ($(objpfx)tst-array5-cmp.out): New rule.
13023 ($(objpfx)tst-array5-static.out): Remove rule.
13024 ($(objpfx)tst-array5-static-cmp.out): New rule.
13025 [$(run-built-tests) = yes] (tests): Depend on
13026 $(objpfx)order2-cmp.out.
13027 ($(objpfx)order2.out): Remove rule.
13028 ($(objpfx)order2-cmp.out): New rule.
13029 ($(objpfx)tst-initorder.out): Remove rule.
13030 [$(run-built-tests) = yes] (tests): Depend on
13031 $(objpfx)tst-initorder-cmp.out.
13032 ($(objpfx)tst-initorder-cmp.out): New rule.
13033 ($(objpfx)tst-initorder2.out): Remove rule.
13034 [$(run-built-tests) = yes] (tests): Depend on
13035 $(objpfx)tst-initorder2-cmp.out.
13036 ($(objpfx)tst-initorder2-cmp.out): New rule.
13037 [$(run-built-tests) = yes] (tests): Depend on
13038 $(objpfx)tst-unused-dep-cmp.out.
13039 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13040 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13041 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13042 on $(objpfx)tst-setvbuf1-cmp.out.
13043 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13044 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13045 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13046 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13047 ($(objpfx)tst-svc.out): Remove rule.
13048 ($(objpfx)tst-svc-cmp.out): New rule.
13049
ed9a38e2
JM
130502014-02-13 Joseph Myers <joseph@codesourcery.com>
13051
13052 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13053 * ctype/ctype.h [__USE_MISC]: Likewise.
13054 * dirent/dirent.h [__USE_MISC]: Likewise.
13055 * grp/grp.h [__USE_MISC]: Likewise.
13056 * io/fcntl.h [__USE_MISC]: Likewise.
13057 * io/sys/stat.h [__USE_MISC]: Likewise.
13058 * libio/stdio.h [__USE_MISC]: Likewise.
13059 * posix/unistd.h [__USE_MISC]: Likewise.
13060 * pwd/pwd.h [__USE_MISC]: Likewise.
13061 * stdlib.h [__USE_MISC]: Likewise.
13062 * string/bits/string2.h [__USE_MISC]: Likewise.
13063 * string/string.h [__USE_MISC]: Likewise.
13064 * time/time.h [__USE_MISC]: Likewise.
13065
d6680619
AS
130662014-02-13 Andreas Schwab <schwab@suse.de>
13067
13068 [BZ #16574]
13069 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13070 second answer buffer if it was separately allocated.
13071
ace614b8
JM
130722014-02-12 Joseph Myers <joseph@codesourcery.com>
13073
743151ae
JM
13074 * sysdeps/mips/math-tests.h: Include <features.h>.
13075 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13076 (ROUNDING_TESTS_long_double): Do not define.
13077 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13078 (EXCEPTION_TESTS_long_double): Likewise.
13079 * sysdeps/mips/mips64/libm-test-ulps: Update.
13080
498afc54
JM
13081 * include/features.h (__USE_BSD): Remove macro definitions.
13082 (__USE_SVID): Likewise.
13083 (_BSD_SOURCE): Likewise.
13084 (_SVID_SOURCE): Likewise.
13085 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13086 from definition of _DEFAULT_SOURCE.
13087 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13088 [_DEFAULT_SOURCE].
13089 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13090 * bits/mman.h [__USE_BSD]: Likewise.
13091 * bits/termios.h [__USE_BSD]: Likewise.
13092 * bits/waitstatus.h [__USE_BSD]: Likewise.
13093 * ctype/ctype.h [__USE_SVID]: Likewise.
13094 * dirent/dirent.h [__USE_BSD]: Likewise.
13095 * grp/grp.h [__USE_SVID]: Likewise.
13096 [__USE_BSD]: Likewise.
13097 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13098 * io/fcntl.h [__USE_BSD]: Likewise.
13099 * io/ftw.h [__USE_BSD]: Likewise.
13100 * io/sys/stat.h [__USE_BSD]: Likewise.
13101 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13102 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13103 * libio/stdio.h [__USE_SVID]: Likewise.
13104 [__USE_BSD]: Likewise.
13105 * math/math.h [__USE_SVID]: Likewise.
13106 [__USE_BSD]: Likewise.
13107 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13108 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13109 * misc/search.h [__USE_SVID]: Likewise.
13110 * misc/sys/mman.h [__USE_BSD]: Likewise.
13111 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13112 * misc/sys/uio.h [__USE_BSD]: Likewise.
13113 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13114 * posix/glob.h [__USE_BSD]: Likewise.
13115 * posix/regex.h [__USE_BSD]: Likewise.
13116 * posix/sys/types.h [__USE_BSD]: Likewise.
13117 [__USE_SVID]: Likewise.
13118 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13119 * posix/sys/wait.h [__USE_BSD]: Likewise.
13120 [__USE_SVID]: Likewise.
13121 * posix/unistd.h [__USE_BSD]: Likewise.
13122 [__USE_SVID]: Likewise.
13123 * pwd/pwd.h [__USE_SVID]: Likewise.
13124 * resolv/netdb.h [__USE_BSD]: Likewise.
13125 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13126 * signal/signal.h [__USE_BSD]: Likewise.
13127 [__USE_SVID]: Likewise.
13128 * socket/sys/socket.h [__USE_BSD]: Likewise.
13129 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13130 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13131 [__USE_SVID]: Likewise.
13132 * string/bits/string2.h [__USE_BSD]: Likewise.
13133 [__USE_SVID]: Likewise.
13134 * string/bits/string3.h [__USE_BSD]: Likewise.
13135 * string/endian.h [__USE_BSD]: Likewise.
13136 * string/string.h [__USE_SVID]: Likewise.
13137 [__USE_BSD]: Likewise.
13138 * string/strings.h [__USE_BSD]: Likewise.
13139 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13140 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13141 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13142 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13143 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13144 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13145 Likewise.
13146 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13147 Likewise.
13148 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13149 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13150 Likewise.
13151 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13152 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13153 Likewise.
13154 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13155 Likewise.
13156 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13157 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13158 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13159 Likewise.
13160 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13161 Likewise.
13162 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13163 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13164 * termios/termios.h [__USE_BSD]: Likewise.
13165 * time/sys/time.h [__USE_BSD]: Likewise.
13166 * time/time.h [__USE_BSD]: Likewise.
13167 [__USE_SVID]: Likewise.
13168
dd7b064c
JM
13169 * Makefile (subdir_targets): Remove subdir_lint.out.
13170
a2c4c199
JM
13171 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13172 (do-tst-printf): Likewise.
13173 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13174 $(objpfx)tst-printf.out.
13175
8756f740
JM
13176 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13177
1b6dd3f1
JM
13178 * Makerules (check-abi-%): Change target to
13179 $(objpfx)check-abi-%.out.
13180 (check-abi target): Update dependencies.
13181 (check-abi-pattern variable): Redirect output of diff to $@.
13182 (check-abi variable): Likewise.
13183 * elf/Makefile (check-abi): Update dependencies.
13184
ace614b8
JM
13185 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13186 unused.
13187 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13188 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13189 subnormal range.
13190 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13191 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13192 value has largest subnormal exponent.
13193 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13194 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13195 * sysdeps/aarch64/soft-fp/sfp-machine.h
13196 (_FP_TININESS_AFTER_ROUNDING): New macro.
13197 * sysdeps/alpha/soft-fp/sfp-machine.h
13198 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13199 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13200 Likewise.
13201 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13202 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13203 * sysdeps/mips/soft-fp/sfp-machine.h
13204 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13205 * sysdeps/powerpc/soft-fp/sfp-machine.h
13206 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13207 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13208 Likewise.
13209 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13210 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13211 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13212 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13213 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13214 Likewise.
13215
fbfdf9cb
DAS
132162014-02-12 Dylan Alex Simon <dylan@dylex.net>
13217
13218 [BZ #16545]
13219 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13220 model 1.
13221
68b7efaa
RH
132222014-02-12 Richard Henderson <rth@redhat.com>
13223
c70a4b1d 13224 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
13225 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13226 * sysdeps/unix/sysv/linux/alpha: Move directory from
13227 ports/sysdeps/unix/sysv/linux/alpha.
13228 * README: Update listing for alpha-*-linux-gnu.
13229
cb4a2928
JM
132302014-02-11 Joseph Myers <joseph@codesourcery.com>
13231
c941736c
JM
13232 * include/features.h: Update comment documenting feature test
13233 macros.
13234 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13235 _DEFAULT_SOURCE.
13236 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13237 (_SVID_SOURCE): Likewise.
13238 (_DEFAULT_SOURCE): Update description of default features.
13239 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13240 with _GNU_SOURCE.
13241 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13242 (S_ISVTX): Likewise.
13243 * manual/math.texi (Mathematical Constants): Likewise.
13244 * manual/signal.texi (Interrupted Primitives): Likewise.
13245 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13246 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13247 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13248 Don't refer to _SVID_SOURCE in warning text.
13249
e8d8d7ec
JM
13250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13251
cb4a2928
JM
13252 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13253 already defined.
13254 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13255 * sysdeps/mips/dl-lookup.c: Remove.
13256 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13257
7e6424e3
AK
132582014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13259
13260 [BZ #16447]
13261 * math/auto-libm-test-in: Add testcase for expl.
13262 * math/auto-libm-test-out: Regenerate.
13263 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13264 calculation of unsafe.
13265 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13266
75eff3fe
MS
132672014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13268
13269 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13270 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13271 ports/sysdeps/unix/sysv/linux/aarch64.
13272 * README: Update listing for aarch64*-*-linux-gnu.
13273
d35f1e80
WN
132742014-02-11 Will Newton <will.newton@linaro.org>
13275
13276 * manual/probes.texi (Mathematical Function Probes): Use
13277 "triggered" instead of "hit".
13278
7b3436d4
WN
13279 * manual/probes.texi (Internal Probes): Add documentation
13280 of setjmp, longjmp and longjmp_target probes.
13281
b4f12ca3
WN
13282 * include/stap-probe.h: Add comment about probe argument
13283 format.
13284
c13a72b7
WN
13285 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13286 definition. (tr_where, tr_freehook, tr_mallochook,
13287 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13288
195b8165
DM
132892014-02-11 David S. Miller <davem@davemloft.net>
13290
13291 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13292 processing int_tests.
13293
2ad7600b
JM
132942014-02-10 Joseph Myers <joseph@codesourcery.com>
13295
13296 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13297 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13298 * sysdeps/unix/sysv/linux/mips: Move directory from
13299 ports/sysdeps/unix/sysv/linux/mips.
13300 * README: Update listing for mips-*-linux-gnu and
13301 mips64-*-linux-gnu.
13302
73588a72
AS
133032014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13304
13305 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13306 * sysdeps/unix/sysv/linux/m68k: Move directory from
13307 ports/sysdeps/unix/sysv/linux/m68k.
13308 * README: Update listing for m68k-*-linux-gnu.
13309
4372980f
CM
133102014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13311
13312 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13313 * sysdeps/unix/sysv/linux/generic: Move directory from
13314 ports/sysdeps/unix/sysv/linux/generic.
13315 * sysdeps/unix/sysv/linux/tile: Move directory from
13316 ports/sysdeps/unix/sysv/linux/tile.
13317 * README: Update listing for tile*-*-linux-gnu.
13318
a1ffb40e
OB
133192014-02-10 Ondřej Bílka <neleai@seznam.cz>
13320
57f41c40
AS
13321 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13322 __builtin_expect.
a1ffb40e
OB
13323 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13324 * catgets/open_catalog.c (__open_catalog): Likewise.
13325 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13326 * debug/confstr_chk.c: Likewise.
13327 * debug/fread_chk.c (__fread_chk): Likewise.
13328 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13329 * debug/getgroups_chk.c: Likewise.
13330 * debug/mbsnrtowcs_chk.c: Likewise.
13331 * debug/mbsrtowcs_chk.c: Likewise.
13332 * debug/mbstowcs_chk.c: Likewise.
13333 * debug/memcpy_chk.c: Likewise.
13334 * debug/memmove_chk.c: Likewise.
13335 * debug/mempcpy_chk.c: Likewise.
13336 * debug/memset_chk.c: Likewise.
13337 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13338 * debug/strcat_chk.c (__strcat_chk): Likewise.
13339 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13340 * debug/strncat_chk.c (__strncat_chk): Likewise.
13341 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13342 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13343 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13344 * debug/wcpncpy_chk.c: Likewise.
13345 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13346 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13347 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13348 * debug/wcsncpy_chk.c: Likewise.
13349 * debug/wcsnrtombs_chk.c: Likewise.
13350 * debug/wcsrtombs_chk.c: Likewise.
13351 * debug/wcstombs_chk.c: Likewise.
13352 * debug/wmemcpy_chk.c: Likewise.
13353 * debug/wmemmove_chk.c: Likewise.
13354 * debug/wmempcpy_chk.c: Likewise.
13355 * debug/wmemset_chk.c: Likewise.
13356 * dirent/scandirat.c (SCANDIRAT): Likewise.
13357 * dlfcn/dladdr1.c (dladdr1): Likewise.
13358 * dlfcn/dladdr.c (dladdr): Likewise.
13359 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13360 * dlfcn/dlerror.c (__dlerror): Likewise.
13361 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13362 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13363 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13364 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13365 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13366 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13367 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13368 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13369 Likewise.
13370 * elf/dl-conflict.c: Likewise.
13371 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13372 * elf/dl-dst.h: Likewise.
13373 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13374 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13375 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13376 * elf/dl-init.c (call_init, _dl_init): Likewise.
13377 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
13378 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13379 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13380 Likewise.
a1ffb40e
OB
13381 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13382 Likewise.
13383 * elf/dl-minimal.c (__libc_memalign): Likewise.
13384 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13385 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13386 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13387 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
13388 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13389 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
13390 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13391 * elf/dl-writev.h (_dl_writev): Likewise.
13392 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
13393 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13394 (dl_main): Likewise.
a1ffb40e
OB
13395 * elf/setup-vdso.h (setup_vdso): Likewise.
13396 * grp/compat-initgroups.c (compat_call): Likewise.
13397 * grp/fgetgrent.c (fgetgrent): Likewise.
13398 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13399 * grp/putgrent.c (putgrent): Likewise.
13400 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13401 Likewise.
13402 * hurd/hurdinit.c: Likewise.
13403 * iconvdata/8bit-gap.c (struct): Likewise.
13404 * iconvdata/ansi_x3.110.c : Likewise.
13405 * iconvdata/big5.c : Likewise.
13406 * iconvdata/big5hkscs.c : Likewise.
13407 * iconvdata/cp1255.c: Likewise.
13408 * iconvdata/cp1258.c : Likewise.
13409 * iconvdata/cp932.c : Likewise.
13410 * iconvdata/euc-cn.c: Likewise.
13411 * iconvdata/euc-jisx0213.c : Likewise.
13412 * iconvdata/euc-jp.c: Likewise.
13413 * iconvdata/euc-jp-ms.c : Likewise.
13414 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13415 * iconvdata/gb18030.c : Likewise.
13416 * iconvdata/gbbig5.c (const): Likewise.
13417 * iconvdata/gbgbk.c: Likewise.
13418 * iconvdata/gbk.c : Likewise.
13419 * iconvdata/ibm1364.c : Likewise.
13420 * iconvdata/ibm930.c : Likewise.
13421 * iconvdata/ibm932.c: Likewise.
13422 * iconvdata/ibm933.c : Likewise.
13423 * iconvdata/ibm935.c : Likewise.
13424 * iconvdata/ibm937.c : Likewise.
13425 * iconvdata/ibm939.c : Likewise.
13426 * iconvdata/ibm943.c: Likewise.
13427 * iconvdata/iso_11548-1.c: Likewise.
13428 * iconvdata/iso-2022-cn.c : Likewise.
13429 * iconvdata/iso-2022-cn-ext.c : Likewise.
13430 * iconvdata/iso-2022-jp-3.c: Likewise.
13431 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13432 * iconvdata/iso-2022-kr.c : Likewise.
13433 * iconvdata/iso646.c (gconv_end): Likewise.
13434 * iconvdata/iso_6937-2.c : Likewise.
13435 * iconvdata/iso_6937.c : Likewise.
13436 * iconvdata/iso8859-1.c: Likewise.
13437 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13438 * iconvdata/shift_jisx0213.c : Likewise.
13439 * iconvdata/sjis.c : Likewise.
13440 * iconvdata/t.61.c : Likewise.
13441 * iconvdata/tcvn5712-1.c : Likewise.
13442 * iconvdata/tscii.c: Likewise.
13443 * iconvdata/uhc.c : Likewise.
13444 * iconvdata/unicode.c (gconv_end): Likewise.
13445 * iconvdata/utf-16.c (gconv_end): Likewise.
13446 * iconvdata/utf-32.c (gconv_end): Likewise.
13447 * iconvdata/utf-7.c (base64): Likewise.
13448 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13449 * iconv/gconv_close.c (__gconv_close): Likewise.
13450 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
13451 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13452 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13453 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13454 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13455 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
13456 * iconv/iconv.c (iconv): Likewise.
13457 * iconv/iconv_close.c: Likewise.
13458 * iconv/loop.c (SINGLE): Likewise.
13459 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13460 * include/atomic.h: Likewise.
13461 * inet/inet6_option.c (option_alloc): Likewise.
13462 * intl/bindtextdom.c (set_binding_values): Likewise.
13463 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13464 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13465 * intl/localealias.c (read_alias_file): Likewise.
13466 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
13467 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13468 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
13469 * libio/fmemopen.c (fmemopen): Likewise.
13470 * libio/iofgets.c (_IO_fgets): Likewise.
13471 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13472 * libio/iofgetws.c (fgetws): Likewise.
13473 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13474 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
13475 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13476 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
13477 * locale/findlocale.c (_nl_find_locale): Likewise.
13478 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13479 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13480 Likewise.
13481 * locale/setlocale.c (setlocale): Likewise.
13482 * login/programs/pt_chown.c (main): Likewise.
13483 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13484 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
13485 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13486 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
13487 * math/e_exp2l.c: Likewise.
13488 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13489 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13490 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13491 * math/s_catan.c (__catan): Likewise.
13492 * math/s_catanf.c (__catanf): Likewise.
13493 * math/s_catanh.c (__catanh): Likewise.
13494 * math/s_catanhf.c (__catanhf): Likewise.
13495 * math/s_catanhl.c (__catanhl): Likewise.
13496 * math/s_catanl.c (__catanl): Likewise.
13497 * math/s_ccosh.c (__ccosh): Likewise.
13498 * math/s_ccoshf.c (__ccoshf): Likewise.
13499 * math/s_ccoshl.c (__ccoshl): Likewise.
13500 * math/s_cexp.c (__cexp): Likewise.
13501 * math/s_cexpf.c (__cexpf): Likewise.
13502 * math/s_cexpl.c (__cexpl): Likewise.
13503 * math/s_clog10.c (__clog10): Likewise.
13504 * math/s_clog10f.c (__clog10f): Likewise.
13505 * math/s_clog10l.c (__clog10l): Likewise.
13506 * math/s_clog.c (__clog): Likewise.
13507 * math/s_clogf.c (__clogf): Likewise.
13508 * math/s_clogl.c (__clogl): Likewise.
13509 * math/s_csin.c (__csin): Likewise.
13510 * math/s_csinf.c (__csinf): Likewise.
13511 * math/s_csinh.c (__csinh): Likewise.
13512 * math/s_csinhf.c (__csinhf): Likewise.
13513 * math/s_csinhl.c (__csinhl): Likewise.
13514 * math/s_csinl.c (__csinl): Likewise.
13515 * math/s_csqrt.c (__csqrt): Likewise.
13516 * math/s_csqrtf.c (__csqrtf): Likewise.
13517 * math/s_csqrtl.c (__csqrtl): Likewise.
13518 * math/s_ctan.c (__ctan): Likewise.
13519 * math/s_ctanf.c (__ctanf): Likewise.
13520 * math/s_ctanh.c (__ctanh): Likewise.
13521 * math/s_ctanhf.c (__ctanhf): Likewise.
13522 * math/s_ctanhl.c (__ctanhl): Likewise.
13523 * math/s_ctanl.c (__ctanl): Likewise.
13524 * math/w_pow.c: Likewise.
13525 * math/w_powf.c: Likewise.
13526 * math/w_powl.c: Likewise.
13527 * math/w_scalb.c (sysv_scalb): Likewise.
13528 * math/w_scalbf.c (sysv_scalbf): Likewise.
13529 * math/w_scalbl.c (sysv_scalbl): Likewise.
13530 * misc/error.c (error_tail): Likewise.
13531 * misc/pselect.c (__pselect): Likewise.
13532 * nis/nis_callback.c (__nis_create_callback): Likewise.
13533 * nis/nis_call.c (__nisfind_server): Likewise.
13534 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13535 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13536 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13537 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13538 * nis/nis_lookup.c (nis_lookup): Likewise.
13539 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
13540 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13541 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 13542 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
13543 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13544 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13545 * nis/nss_compat/compat-initgroups.c (add_group)
13546 (internal_getgrent_r): Likewise.
13547 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13548 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13549 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13550 (internal_getspnam_r): Likewise.
13551 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13552 (_nss_nis_getaliasbyname_r): Likewise.
13553 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13554 (_nss_nis_getntohost_r): Likewise.
13555 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13556 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13557 (_nss_nis_getgrgid_r): Likewise.
13558 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13559 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13560 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13561 (_nss_nis_gethostbyname4_r): Likewise.
13562 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13563 (initgroups_netid): Likewise.
a1ffb40e 13564 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13565 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13566 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13567 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13568 (_nss_nis_getprotobynumber_r): Likewise.
13569 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13570 (_nss_nis_getsecretkey): Likewise.
13571 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13572 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13573 (_nss_nis_getpwuid_r): Likewise.
13574 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13575 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13576 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13577 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13578 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13579 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13580 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13581 Likewise.
57f41c40
AS
13582 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13583 (_nss_nisplus_getntohost_r): Likewise.
13584 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13585 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13586 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13587 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13588 Likewise.
57f41c40
AS
13589 * nis/nss_nisplus/nisplus-initgroups.c
13590 (_nss_nisplus_initgroups_dyn): Likewise.
13591 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13592 (_nss_nisplus_getnetbyaddr_r): Likewise.
13593 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13594 (_nss_nisplus_getprotobynumber_r): Likewise.
13595 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13596 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13597 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13598 Likewise.
57f41c40
AS
13599 * nis/nss_nisplus/nisplus-service.c
13600 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13601 (_nss_nisplus_getservbyport_r): Likewise.
13602 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13603 (_nss_nisplus_getspnam_r): Likewise.
13604 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13605 Likewise.
a1ffb40e
OB
13606 * nscd/aicache.c (addhstaiX): Likewise.
13607 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13608 * nscd/connections.c (register_traced_file, send_ro_fd)
13609 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13610 (main_loop_epoll): Likewise.
a1ffb40e
OB
13611 * nscd/grpcache.c (addgrbyX): Likewise.
13612 * nscd/hstcache.c (addhstbyX): Likewise.
13613 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13614 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13615 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13616 (addinnetgrX): Likewise.
13617 * nscd/nscd-client.h (__nscd_acquire_maplock)
13618 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13619 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13620 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13621 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13622 Likewise.
13623 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13624 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13625 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13626 (__nscd_get_map_ref): Likewise.
a1ffb40e 13627 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13628 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13629 Likewise.
a1ffb40e
OB
13630 * nscd/pwdcache.c (addpwbyX): Likewise.
13631 * nscd/selinux.c (preserve_capabilities): Likewise.
13632 * nscd/servicescache.c (addservbyX): Likewise.
13633 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13634 * posix/fnmatch.c (fnmatch): Likewise.
13635 * posix/getopt.c (_getopt_internal_r): Likewise.
13636 * posix/glob.c (glob, glob_in_dir): Likewise.
13637 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13638 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13639 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13640 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13641 * resolv/res_init.c: Likewise.
13642 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13643 * resolv/res_query.c (__libc_res_nquery): Likewise.
13644 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13645 Likewise.
13646 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13647 * stdio-common/perror.c (perror): Likewise.
13648 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13649 * stdio-common/tmpnam.c (tmpnam): Likewise.
13650 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13651 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13652 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13653 Likewise.
a1ffb40e
OB
13654 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13655 * stdlib/putenv.c (putenv): Likewise.
13656 * stdlib/setenv.c (__add_to_environ): Likewise.
13657 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13658 * stdlib/strtol_l.c (INTERNAL): Likewise.
13659 * string/memmem.c (memmem): Likewise.
13660 * string/strerror.c (strerror): Likewise.
13661 * string/strnlen.c (__strnlen): Likewise.
13662 * string/test-memmem.c (simple_memmem): Likewise.
13663 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13664 * sunrpc/pm_getport.c (__get_socket): Likewise.
13665 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13666 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13667 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13668 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13669 Likewise.
13670 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13671 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13672 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13673 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13674 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13675 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13676 Likewise.
13677 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13678 Likewise.
a1ffb40e
OB
13679 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13680 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13681 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13682 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13683 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13685 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13686 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13687 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13688 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13689 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13690 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13691 Likewise.
13692 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13693 Likewise.
13694 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13695 Likewise.
13696 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13697 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13698 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13699 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13700 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13701 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13702 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13703 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13704 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13705 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13706 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13707 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13708 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13709 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13711 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13712 Likewise.
a1ffb40e
OB
13713 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13714 Likewise.
13715 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13716 Likewise.
13717 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13718 Likewise.
13719 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13720 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13721 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13722 Likewise.
13723 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13724 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13725 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13726 * sysdeps/posix/sleep.c: Likewise.
13727 * sysdeps/posix/tempname.c: Likewise.
13728 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13729 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13730 Likewise.
57f41c40
AS
13731 * sysdeps/powerpc/powerpc32/dl-machine.h
13732 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13733 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13734 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13735 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13736 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13737 Likewise.
13738 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13739 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13740 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13741 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13742 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13743 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13744 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13745 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13746 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13747 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13748 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13749 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13750 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13751 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13752 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13753 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13754 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13755 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13756 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13757 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13758 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13759 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13760 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13761 Likewise.
13762 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13763 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13764 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13765 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13766 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13767 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13768 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13769 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13770 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13771 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13772 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13773 Likewise.
13774 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13775 (__posix_fallocate64_l64): Likewise.
13776 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13777 (posix_fallocate): Likewise.
57f41c40
AS
13778 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13779 Likewise.
a1ffb40e 13780 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13781 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13782 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13783 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13784 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13785 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13786 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13787 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13788 (__posix_fallocate64_l64): Likewise.
13789 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13790 Likewise.
13791 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13792 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13793 (__get_clockfreq): Likewise.
a1ffb40e
OB
13794 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13795 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13796 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13797 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13798 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13799 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13800 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13801 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13802 Likewise.
13803 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13804 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13805 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13806 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13807 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13808 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13809 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13810 Likewise.
13811 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13812 (posix_fallocate): Likewise.
13813 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13814 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13815 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13816 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13817 (elf_machine_rela, elf_machine_rela_relative)
13818 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13819 * time/asctime.c (asctime_internal): Likewise.
13820 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13821 * time/tzset.c (__tzset_parse_tz): Likewise.
13822 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13823 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13824 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13825 * wcsmbs/wcsmbsload.h: Likewise.
13826
f3d338c9
OB
13827 [BZ #15894]
13828 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13829
57f41c40
AS
13830 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13831 (arena_get2): Remove THREAD_STATS conditionals.
13832 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13833 (__malloc_stats, int): Likewise.
bdfe308a 13834
d674667c
MF
138352014-02-08 Mike Frysinger <vapier@gentoo.org>
13836
13837 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13838 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13839
6349768c
MF
13840 * manual/setjmp.texi: Fix typos/grammar errors.
13841
0b7c7473
MF
13842 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13843 Only return early when n is <= 0. Delete unused return statement.
13844
ac8cc9e3
MF
13845 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13846 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13847 * debug/tst-longjmp_chk3.c: New file.
13848
c5bb8e23
MF
13849 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13850 (test_main): Replace code with set_fortify_handler call.
13851 * debug/test-strcpy_chk.c: Likewise.
13852 * debug/tst-chk1.c: Likewise.
13853 * debug/tst-longjmp_chk.c: Likewise.
13854 * test-skeleton.c: Include fcntl.h & paths.h
13855 (set_fortify_handler): Define.
13856
10444e42
MF
13857 * debug/tst-longjmp_chk.c: Add header comment and include
13858 ../test-skeleton.c.
13859 (do_test): Mark static.
13860 (TEST_FUNCTION): Define.
13861
1e805e8d
MF
13862 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13863 (IP_PMTUDISC_INTERFACE): Likewise.
13864 (IP_MULTICAST_IF): Likewise.
13865 (IP_MULTICAST_TTL): Likewise.
13866 (IP_MULTICAST_LOOP): Likewise.
13867 (IP_ADD_MEMBERSHIP): Likewise.
13868 (IP_DROP_MEMBERSHIP): Likewise.
13869 (IP_UNBLOCK_SOURCE): Likewise.
13870 (IP_BLOCK_SOURCE): Likewise.
13871 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13872 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13873 (IP_MSFILTER): Likewise.
13874 (MCAST_JOIN_GROUP): Likewise.
13875 (MCAST_BLOCK_SOURCE): Likewise.
13876 (MCAST_UNBLOCK_SOURCE): Likewise.
13877 (MCAST_LEAVE_GROUP): Likewise.
13878 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13879 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13880 (MCAST_MSFILTER): Likewise.
13881 (IP_MULTICAST_ALL): Likewise.
13882 (IP_UNICAST_IF): Likewise.
13883
73f79bb7
MF
13884 * timezone/Makefile: Delete $(have-ksh) check.
13885 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13886 * timezone/tzselect.ksh: Add +x mode bits.
13887
8da79b60
MF
13888 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13889 (ANON_INODE_FS_MAGIC): Likewise.
13890 (BDEVFS_MAGIC): Likewise.
13891 (BINFMTFS_MAGIC): Likewise.
13892 (BTRFS_TEST_MAGIC): Likewise.
13893 (CRAMFS_MAGIC_WEND): Likewise.
13894 (DEBUGFS_MAGIC): Likewise.
13895 (ECRYPTFS_SUPER_MAGIC): Likewise.
13896 (EXT3_SUPER_MAGIC): Likewise.
13897 (EXT4_SUPER_MAGIC): Likewise.
13898 (FUTEXFS_SUPER_MAGIC): Likewise.
13899 (HOSTFS_SUPER_MAGIC): Likewise.
13900 (HUGETLBFS_MAGIC): Likewise.
13901 (MINIX3_SUPER_MAGIC): Likewise.
13902 (MTD_INODE_FS_MAGIC): Likewise.
13903 (NILFS_SUPER_MAGIC): Likewise.
13904 (OPENPROM_SUPER_MAGIC): Likewise.
13905 (PIPEFS_MAGIC): Likewise.
13906 (PSTOREFS_MAGIC): Likewise.
13907 (QNX6_SUPER_MAGIC): Likewise.
13908 (RAMFS_MAGIC): Likewise.
13909 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13910 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13911 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13912 (SECURITYFS_MAGIC): Likewise.
13913 (SELINUX_MAGIC): Likewise.
13914 (SMACK_MAGIC): Likewise.
13915 (SOCKFS_MAGIC): Likewise.
13916 (SQUASHFS_MAGIC): Likewise.
13917 (STACK_END_MAGIC): Likewise.
13918 (TMPFS_MAGIC): Likewise.
13919 (USBDEVICE_SUPER_MAGIC): Likewise.
13920 (V9FS_MAGIC): Likewise.
13921 (XENFS_SUPER_MAGIC): Likewise.
13922 (CRAMFS_MAGIC): Fix typo in comment.
13923 (EXT2_SUPER_MAGIC): Update comment.
13924 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13925
464263cc
JM
139262014-02-08 Joseph Myers <joseph@codesourcery.com>
13927
c6bfe5c4
JM
13928 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13929 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13930 * sysdeps/unix/sysv/linux/arm: Move directory from
13931 ports/sysdeps/unix/sysv/linux/arm.
13932 * README: Update listing for arm-*-linux-gnueabi.
13933
464263cc
JM
13934 * README: Remove mention of am33.
13935
32749f6c
RM
139362014-02-07 Roland McGrath <roland@hack.frob.com>
13937
13938 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13939 than the comma operator, to avoid "rhs of comma has no effect"
13940 compiler warnings.
13941 (__sigfillset, __sigandset, __sigorset): Likewise.
13942 * include/signal.h (__sigemptyset): Likewise.
13943 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13944
d5b396c1
AM
139452014-02-07 Allan McRae <allan@archlinux.org>
13946
13947 * version.h (RELEASE): Set to "development".
13948 (VERSION): Set to "2.19.90"
13949 * NEWS: Add 2.20 section.
13950
3bfff2ed
CD
139512014-02-06 Carlos O'Donell <carlos@redhat.com>
13952
13953 [BZ #16529]
13954 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13955
ee7cc385
SP
139562014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13957
13958 * manual/contrib.texi: Update entry for Carlos O'Donell,
13959 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13960
f877c4f2
CD
139612014-02-05 Carlos O'Donell <carlos@rehdat.com>
13962
27e839f6
CD
13963 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13964
f877c4f2
CD
13965 * sysdeps/unix/sysv/linux/kernel-features.h
13966 [__LINUX_KERNEL_VERSION >= 0x020621]
13967 (__ASSUME_PROC_PID_TASK_COMM): Define.
13968
68159946
SP
139692014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13970
ba17cdbd
SP
13971 [BZ #16398]
13972 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13973 conversion when destination buffer does not have enough space.
13974 * libio/tst-ftell-partial-wide.c: New test case.
13975 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13976
68159946
SP
13977 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13978 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13979 Leonard and Allan McRae.
13980
2b528732
DM
139812014-02-04 David S. Miller <davem@davemloft.net>
13982
13983 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13984 32-bit.
13985
0ff82463
AZ
139862014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13987
57f41c40
AS
13988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13989 New file
c01603f7
AZ
13990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13991 New file
57f41c40
AS
13992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13993 New file.
13994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13995 New file.
c01603f7
AZ
13996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13997 New file.
57f41c40
AS
13998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13999 New file.
14000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14001 New file.
c01603f7
AZ
14002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14003 New file.
14004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14005 New file.
14006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14007 New file.
14008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14009 New file.
14010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14011 New file.
14012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14013 New file.
14014
140152014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14016
0ff82463
AZ
14017 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14018 * shlib-versions: Likewise.
14019
1695c773
AZ
140202014-02-04 Roland McGrath <roland@hack.frob.com>
14021 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14022
14023 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14024 (abilist-pattern): New variable, set to %-le.abilist.
14025
14026 * Makerules (abilist-pattern): New variable.
14027 (vpath): Use $(abilist-pattern) in place of %.abilist.
14028 (check-abi-% pattern rule): Likewise.
14029 (check-abi, update-abi): Likewise.
14030
6c0ce4b4
EW
140312014-02-04 Eric Wong <normalperson@yhbt.net>
14032
14033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14034
481e3524
CD
140352014-02-03 Carlos O'Donell <carlos@redhat.com>
14036
14037 * manual/startup.texi: Add next, previous, and top entries for
14038 the `Program Arguments' and `Environment Variables' nodes.
14039
375592d3
AO
140402014-02-03 Alexandre Oliva <aoliva@redhat.com>
14041
14042 * manual/macros.texi: Add comments before MTASC-safety macros.
14043
f54838ba
AO
14044 * manual/users.texi: Document MTASC-safety properties.
14045
57f41c40
AS
14046 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14047 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
14048 @deftypefun, and add @safety note.
14049 * manual/signal.texi: Move comments that analyze the above
14050 functions to their home place.
14051
fd3daba4
AM
140522014-02-03 Allan McRae <allan@archlinux.org>
14053
14054 * po/sl.po: Update Slovenian translation from translation project.
14055
597636d7
AO
140562014-02-02 Alexandre Oliva <aoliva@redhat.com>
14057
14058 * manual/time.texi (timegm): Add missing blank after @c.
14059 Reported by Joseph Myers <joseph@codesourcery.com>.
14060
ee196e3c
AO
140612014-02-01 Alexandre Oliva <aoliva@redhat.com>
14062
14063 * manual/check-safety.sh: New.
14064 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14065
f8d529d5
AO
14066 * manual/terminal.texi: Document MTASC-safety properties.
14067
de55fdf4
AO
14068 * manual/filesys.texi: Document MTASC-safety properties.
14069
c3299c08
AO
14070 * manual/errno.texi: Document MTASC-safety properties.
14071
06e90b14
AO
14072 * manual/intro.texi: Document safety identifiers and
14073 conditionals.
14074
1acd4371
AO
14075 * manual/string.texi (wcstok): Fix prototype.
14076 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14077
23e5b8cb
AO
14078 * manual/time.texi: Document MTASC-safety properties.
14079
11087373
AO
14080 * manual/string.texi: Document MTASC-safety properties.
14081
5da2c93d
AO
14082 * manual/threads.texi: Document MTASC-safety properties.
14083
171e9210
AO
14084 * manual/stdio.texi: Document MTASC-safety properties.
14085
d9e02532
AO
14086 * manual/syslog.texi: Document MTASC-safety properties.
14087
6af8bab7
AO
14088 * manual/sysinfo.texi: Document MTASC-safety properties.
14089
663b02d7
AO
14090 * manual/startup.texi: Document MTASC-safety properties.
14091
973f180b
AO
14092 * manual/socket.texi: Document MTASC-safety properties.
14093
8f3c25c8
AO
14094 * manual/signal.texi: Document MTASC-safety properties.
14095
542210fb
AO
140962014-01-31 Alexandre Oliva <aoliva@redhat.com>
14097
14098 * manual/setjmp.texi: Document MTASC-safety properties.
14099
433c45a2
AO
14100 * manual/search.texi: Document MTASC-safety properties.
14101
c8ce789c
AO
14102 * manual/resource.texi: Document MTASC-safety properties.
14103
19f5d29c
AO
14104 * manual/process.texi: Document MTASC-safety properties.
14105
e2dfb7f4
AO
14106 * manual/platform.texi: Document MTASC-safety properties.
14107
8c1413f5
AO
14108 * manual/pipe.texi: Document MTASC-safety properties.
14109
03483ada
AO
14110 * manual/pattern.texi: Document MTASC-safety properties.
14111
29e7e2df
AO
14112 * manual/message.texi: Document MTASC-safety properties.
14113
9f529d7c
AO
14114 [BZ #12751]
14115 * manual/memory.texi: Document MTASC-safety properties.
14116
27aaa791
AO
14117 * manual/math.texi: Document MTASC-safety properties.
14118
f2d58726
AO
14119 * manual/locale.texi: Document MTASC-safety properties.
14120
2cc3615c
AO
14121 * manual/llio.texi: Document MTASC-safety properties.
14122
d9f0ec97
AO
14123 * manual/libdl.texi: New.
14124
e7c4409a
AO
14125 * manual/lang.texi: Document MTASC-safety properties.
14126
27bdc63c
AO
14127 * manual/job.texi: Document MTASC-safety properties.
14128
a7b90ea9
AO
14129 * manual/getopt.texi: Document MTASC-safety properties.
14130
c49130e3
AO
14131 * manual/ctype.texi: Document MTASC-safety properties.
14132
0d23a5c1
MR
141332014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14134
14135 [BZ #16046]
14136 * csu/libc-tls.c (static_map): Remove variable.
14137 (__libc_setup_tls): Use main executable's link map for TLS data.
14138 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14139 casing for LM_ID_BASE and GL(dl_nns).
14140 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14141 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14142 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14143 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14144 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14145 member.
14146 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14147 l_phnum members.
14148
0037bb60
AO
141492014-01-30 Alexandre Oliva <aoliva@redhat.com>
14150
14151 * manual/debug.texi: Document MTASC-safety properties.
14152
409e00bd
L
141532014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14154
14155 [BZ #16510]
14156 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14157 of __x86_64__ when disabling x87 inline functions.
14158
86e60666
AO
141592014-01-29 Alexandre Oliva <aoliva@redhat.com>
14160
14161 * manual/charset.texi: Document MTASC-safety properties.
14162
76167637
AO
14163 * manual/crypt.texi: Document MTASC-safety properties.
14164
e567f2a0
AO
14165 * manual/conf.texi: Document MTASC-safety properties.
14166
b719dafd
AO
14167 * manual/arith.texi: Document MTASC-safety properties.
14168
4a16c662
AO
14169 * manual/argp.texi: Document MTASC-safety properties.
14170
0a57b83e
AO
14171 * manual/macros.texi: Introduce macros to document multi
14172 thread, asynchronous signal and asynchronous cancellation
14173 safety properties.
14174 * manual/intro.texi: Introduce the properties themselves.
14175
feab2397
KK
141762014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14177
14178 * sysdeps/sh/sh4/Makefile: New file.
14179
1c0d11bc
AS
141802014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14181
14182 * math/gen-libm-test.pl ($srcdir): New variable.
14183 ($auto_input): Use it.
14184
af37a8a3
SP
141852014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14186
d7b00f98
SP
14187 [BZ #16506]
14188 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14189 access beyond array bounds when parsing netgroups file.
14190
af37a8a3
SP
14191 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14192 the old buffer before realloc.
14193
0c00f062
AM
141942014-01-27 Allan McRae <allan@archlinux.org>
14195
14196 * po/fr.po: Update French translation from translation project.
14197
7d69a1b0
KK
141982014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14199
14200 * sysdeps/sh/libm-test-ulps: Regenerate.
14201
6e697ff7
DM
142022014-01-24 David S. Miller <davem@davemloft.net>
14203
14204 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14205
9cadb35c
KK
142062014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14207
14208 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14209 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14210
5d41dadf
SP
142112013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14212
14213 [BZ #16474]
14214 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14215 string pointers after reallocation.
14216
0bad441c
KK
142172014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14218
14219 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14220 __SH4A__ instead of __SH_FPU_ANY__.
14221
7007c661
KK
142222014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14223
14224 * sysdeps/sh/fpu_control.h: New file.
14225 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14226 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14227 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14228 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14229 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14230 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14231 * sysdeps/sh/sys/ucontext.h: Remove.
14232 * sysdeps/sh/sys: Remove directory.
14233
0f0c35e4
AK
142342014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14235
14236 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14237 s390/sys/ucontext.h.
14238 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14239 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14240
4959e284
L
142412014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14242
14243 [BZ #15605]
14244 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14245
d98720e0
AZ
142462014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14247
14248 [BZ#16431]
14249 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14250 Adjust the vDSO correctly for internal calls.
14251 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14252
91cbd0bc
AM
142532014-01-20 Allan McRae <allan@archlinux.org>
14254
14255 * po/ca.po: Update Catalan translation from translation project.
14256
7a02cfad
MF
142572014-01-16 Mike Frysinger <vapier@gentoo.org>
14258
14259 * sysdeps/s390/sotruss-lib.c: New file.
14260
736c304a
AZ
142612014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14262
14263 [BZ#16430]
6e077ee5 14264 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
14265 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14266 local calls issues by not having a PLT stub required for IFUNC calls.
14267 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14268
94d0cea0
JM
142692014-01-16 Joseph Myers <joseph@codesourcery.com>
14270
14271 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14272 * math/test-fpucw-static.c: Likewise.
14273
980cb518
SP
142742013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14275
14276 [BZ #16453]
14277 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14278
2393fc01
AZ
142792014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14280
14281 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14282 implementation for powerpc.
14283
d359bcc2
OB
142842014-01-15 Ondřej Bílka <neleai@seznam.cz>
14285
14286 [BZ #14782]
14287 * sysdeps/posix/system.c (__libc_system): Do not enable
14288 asynchronous cancellation.
14289
7beb48cb
AK
142902014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14291
14292 [BZ #16427]
14293 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14294 handling only for numbers special also in the IEEE case.
14295
c20d5bf5
AK
142962014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14297
14298 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14299
e83bd4ee
AM
143002014-01-11 Allan McRae <allan@archlinux.org>
14301
76d0ea69
AM
14302 * po/bg.po: Update Bulgarian translation from translation project.
14303
e83bd4ee
AM
14304 * po/de.po: Update German translation from translation project.
14305
bc2ba20a
RM
143062014-01-10 Roland McGrath <roland@hack.frob.com>
14307
14308 * sysdeps/generic/gcc-compat.h: New file.
14309
649ecea2
SP
143102014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14311
14312 * benchtests/asin-inputs: Correct slow inputs.
14313 * benchtests/acos-inputs: Likewise.
14314
1b19c006
AM
143152014-01-10 Allan McRae <allan@archlinux.org>
14316
a46dab08
AM
14317 * po:sv.po: Update Swedish translation from translation project.
14318
421df74a
AM
14319 * po/vi.po: Update Vietnamese translation from translation project.
14320
d61c51a7
AM
14321 * po/eo.po: Update Esperanto translation from translation project.
14322
0339a319
AM
14323 * po/cs.po: Update Czech translation from translation project.
14324
94ad3e99
AM
14325 * po/nl.po: Update Dutch translation from translation project.
14326
e349ca71
AM
14327 * po/pl.po: Update Polish translation from translation project.
14328
ddf930c1
AM
14329 * po/ru.po: Update Russian translation from translation project.
14330
1b19c006
AM
14331 * po/uk.po: Update Ukrainian translation from translation project.
14332
9f236c49
BM
143332014-01-08 Brooks Moses <bmoses@google.com>
14334
14335 * elf/dl-load.c: Fix comment typo.
14336
cd6701cf
CD
143372014-01-08 Carlos O'Donell <carlos@redhat.com>
14338
14339 * po/header.pot: Rename to...
14340 * po/pot.header: ... this.
14341 * po/Makefile: Use pot.header.
14342
66671c84
YK
143432014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14344 Maxim Kuvyrkov <maxim@kugelworks.com>
14345
14346 [BZ #16394]
cd6701cf
CD
14347 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14348 SRC and DEST against LEN.
66671c84 14349
38f34581
AZ
143502014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14351
14352 [BZ #16414]
14353 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14354 implementation.
14355 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14356
143572014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
14358
14359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14360
4c327f2a
JM
143612014-01-08 Joseph Myers <joseph@codesourcery.com>
14362
14363 [BZ #16408]
14364 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14365 for large positive arguments.
14366
b821f414
JM
143672014-01-07 Joseph Myers <joseph@codesourcery.com>
14368
1f0f2067
JM
14369 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14370
a5a326f6
JM
14371 * math/auto-libm-test-in: Mark various tests with
14372 xfail-rounding:ldbl-128ibm.
14373 * math/auto-libm-test-out: Regenerated.
14374
b821f414
JM
14375 [BZ #16407]
14376 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14377 Increase overflow threshold.
14378
94c8a4bc
OB
143792014-01-07 Ondřej Bílka <neleai@seznam.cz>
14380
14381 [BZ #14286]
14382 * stdio-common/vfprintf.c: Check for integer overflow.
14383
87ded0c3
AK
143842014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14385
14386 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14387 the first argument and return value of __tls_get_addr_internal.
14388
c5eebdd0
AK
143892014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14390
14391 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14392 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14393
05d138ef
AK
143942014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14395
14396 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14397 * sysdeps/s390/rtld-global-offsets.sym: New file.
14398 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14399 GLIBC_2.19 symbol.
14400 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14401 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14402 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14403 ... this.
14404 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14405 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14406 ... this.
14407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14408 Regenerate.
14409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14410 Regenerate.
14411 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14412 halfs of GPRs for high_gprs contexts.
14413 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14414 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14415 field.
14416 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14417 uc_flags field.
14418 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14419 64 bit versions:
14420 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14421 for high GPRs (uc_high_gprs) and for future extensions
14422 (__reserved).
14423 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14424 for future extensions (__reserved).
14425 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14426 64 bit versions:
14427 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14428 SC_HIGHGPRS offset definition.
14429 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14430 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14431
93a45ff1
AK
14432 * Versions.def: Add GLIBC_2.19 for libpthread.
14433 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14434 siglongjmp for libpthread with GLIBC_2.19 symver.
14435 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14436 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14437 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14438 * sysdeps/s390/__longjmp.c: New file.
14439 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14440 * sysdeps/s390/longjmp.c: New file.
14441 * sysdeps/s390/setjmp.S: New file.
14442 * sysdeps/s390/sigjmp.S: New file.
14443 * sysdeps/s390/v1-longjmp.c: New file.
14444 * sysdeps/s390/v1-setjmp.h: New file.
14445 * sysdeps/s390/v1-sigjmp.c: New file.
14446 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14447 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14448 GLIBC_2.19 version.
14449 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14450 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14451 versioned symbols for ____longjmp_chk.
14452 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14453 Likewise.
14454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14455 Regenerate.
14456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14457 Regenerate.
14458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14459 Regenerate.
14460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14461 Regenerate.
14462 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14463 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14464 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14465 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14466 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14467 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14468 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14469 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14470 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14471 * sysdeps/s390/rtld-__longjmp.c: New file.
14472 * sysdeps/s390/rtld-setjmp.S: New file.
14473
eb3fc44b
JM
144742014-01-06 Joseph Myers <joseph@codesourcery.com>
14475
14476 [BZ #16400]
14477 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14478 Return -__logl (x) for small positive arguments without evaluating
14479 a polynomial.
14480
9341dde4
MF
144812014-01-06 Mike Frysinger <vapier@gentoo.org>
14482
14483 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14484 Rename to ...
14485 (__ptrace_peeksiginfo_args): ... this.
14486 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14487 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14488 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14489
4cff0293
AM
144902014-01-06 Allan McRae <allan@archlinux.org>
14491
14492 * inet/netinet/in.h: Fix typo in comment.
14493
75595dcf
AJ
144942014-01-05 Andreas Jaeger <aj@suse.de>
14495
14496 * sysdeps/i386/fpu/libm-test-ulps: Update.
14497
79c1e109
AM
144982014-01-05 Allan McRae <allan@archlinux.org>
14499
dd804818
AM
14500 * po/libc.pot: Regenerated.
14501
79c1e109
AM
14502 * malloc/memusagestat.c: Fix gettext call formatting.
14503
0c813d1f
SK
145042014-01-04 Sami Kerola <kerolasa@iki.fi>
14505
14506 * nscd/nscd.c: Improve usage() output.
14507
20f4a8d9
MF
145082014-01-04 Mike Frysinger <vapier@gentoo.org>
14509
14510 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14511 * sysdeps/unix/sysv/linux/configure: Regenerated.
14512 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14513 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14514
22562bb2
JM
145152014-01-03 Joseph Myers <joseph@codesourcery.com>
14516
14517 [BZ #16390]
14518 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14519 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14520
d7ad2d9b
AZ
145212014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14522
14523 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14524 extra tokens at end of #undef directive.
14525 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14526 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14527 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14528
7dd009d8
JM
145292014-01-03 Joseph Myers <joseph@codesourcery.com>
14530
24db925a
JM
14531 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14532
7dd009d8
JM
14533 * math/auto-libm-test-in: Mark various tests with
14534 xfail-rounding:ldbl-128ibm.
14535 * math/auto-libm-test-out: Regenerated.
14536
396e3ecf
JM
145372014-01-02 Joseph Myers <joseph@codesourcery.com>
14538
819e5d50
JM
14539 [BZ #16386]
14540 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14541 numbers with subnormal high part when calculating exponent.
14542
90b6a1e5
JM
14543 [BZ #16385]
14544 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14545 fabs.
14546
396e3ecf
JM
14547 [BZ #16384]
14548 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14549 M_LN2l.
14550 (__ieee754_acoshl): Use __log1pl not __log1p.
14551
6c8dbf00
OB
145522013-01-02 Ondřej Bílka <neleai@seznam.cz>
14553
57f41c40
AS
14554 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14555 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14556 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14557 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14558 (reused_arena, arena_get2): Convert to GNU style.
14559 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14560 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14561 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14562 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14563 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14564 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14565 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14566 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14567 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14568 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14569 * malloc/malloc.h: Likewise.
57f41c40
AS
14570 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14571 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14572 * malloc/mcheck.h: Likewise.
57f41c40
AS
14573 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14574 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14575 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14576 * malloc/morecore.c (__default_morecore): Likewise.
14577 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14578 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14579 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14580 (print_and_abort): Likewise.
6c8dbf00
OB
14581 * malloc/obstack.h: Likewise.
14582 * malloc/set-freeres.c (__libc_freeres): Likewise.
14583 * malloc/tst-mallocstate.c (main): Likewise.
14584 * malloc/tst-mtrace.c (main): Likewise.
14585 * malloc/tst-realloc.c (do_test): Likewise.
14586
d4124212
SP
145872013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14588
9a3c6a6f
SP
14589 [BZ #16366]
14590 * nscd/netgroupcache.c (do_notfound): New function.
14591 (addgetnetgrentX): Use it.
14592
d4124212
SP
14593 [BZ # 16365]
14594 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14595 NSS_STATUS_NOTFOUND.
14596
97b9a009
JM
145972014-01-01 Joseph Myers <joseph@codesourcery.com>
14598
14599 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14601
d4697bc9
AM
146022014-01-01 Allan McRae <allan@archlinux.org>
14603
ddb3687f
AM
14604 * scripts/update-copyrights: Update configure input file suffix.
14605
88726d48
AM
14606 * NEWS: Update copyright year.
14607 * catgets/gencat.c: Likewise.
14608 * csu/version.c: Likewise.
14609 * debug/catchsegv.sh: Likewise.
14610 * debug/pcprofiledump.c: Likewise.
14611 * debug/xtrace.sh: Likewise.
14612 * elf/ldconfig.c: Likewise.
14613 * elf/ldd.bash.in: Likewise.
14614 * elf/pldd.c: Likewise.
14615 * elf/sotruss.ksh: Likewise.
14616 * elf/sprof.c: Likewise.
14617 * iconv/iconv_prog.c: Likewise.
14618 * iconv/iconvconfig.c: Likewise.
14619 * locale/programs/locale.c: Likewise.
14620 * locale/programs/localedef.c: Likewise.
14621 * login/programs/pt_chown.c: Likewise.
14622 * malloc/memusage.sh: Likewise.
14623 * malloc/memusagestat.c: Likewise.
14624 * malloc/mtrace.pl: Likewise.
14625 * manual/libc.texinfo: Likewise.
14626 * nscd/nscd.c: Likewise.
14627 * nss/getent.c: Likewise.
14628 * nss/makedb.c: Likewise.
14629 * posix/getconf.c: Likewise.
14630 * scripts/test-installation.pl: Likewise.
14631
d4697bc9
AM
14632 * All files with FSF copyright notices: Update copyright dates
14633 using scripts/update-copyrights.
14634 * intl/plural.c: Regenerated.
14635 * locale/programs/charmap-kw.h: Likewise.
14636 * locale/programs/locfile-kw.h: Likewise.
14637
c8590f9d
MF
146382013-12-31 Mike Frysinger <vapier@gentoo.org>
14639
14640 * sysdeps/unix/sysv/linux/configure: Regenerated.
14641 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14642 the linux/fanotify.h header.
14643 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14644 HAVE_LINUX_FANOTIFY_H is defined.
14645
b19221b9
SP
146462013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14647
dd1d85e5
SP
14648 * benchtests/cos-inputs: New inputs.
14649 * benchtests/sin-inputs: Likewise.
14650
1acbb90f
SP
14651 * benchtests/atan-inputs: New inputs. Fix name of multiple
14652 precision fallback inputs.
14653
4c012ed3
SP
14654 * benchtests/atanh-inputs: New inputs.
14655 * benchtests/tanh-inputs: Likewise.
14656
eff98324
SP
14657 * benchtests/acosh-inputs: New inputs.
14658 * benchtests/asinh-inputs: Likewise.
14659
ce641152
SP
14660 * benchtests/cosh-inputs: New inputs.
14661 * benchtests/sinh-inputs: Likewise.
14662
b19221b9
SP
14663 * benchtests/acos-inputs: Add more inputs.
14664 * benchtests/asin-inputs: Likewise.
14665
030a4976 146662013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14667
030a4976 14668 [BZ #16375]
9dcc8f11
VS
14669 * manual/arith.texi: Fix spelling.
14670 * manual/charset.texi: Likewise.
14671 * manual/errno.texi: Likewise.
14672 * manual/filesys.texi: Likewise.
14673 * manual/lang.texi: Likewise.
14674 * manual/llio.texi: Likewise.
14675 * manual/locale.texi: Likewise.
14676 * manual/message.texi: Likewise.
14677 * manual/resource.texi: Likewise.
14678 * manual/search.texi: Likewise.
14679 * manual/setjmp.texi: Likewise.
14680 * manual/stdio.texi: Likewise.
14681 * manual/string.texi: Likewise.
14682 * manual/sysinfo.texi: Likewise.
14683 * manual/time.texi: Likewise.
14684
11520a57
CD
146852013-12-27 Carlos O'Donell <carlos@redhat.com>
14686
14687 * po/sl.po: New file.
14688
471103ae
MF
146892013-12-27 Mike Frysinger <vapier@gentoo.org>
14690
14691 * .gitignore: Add core/.gdbinit/.gdb_history.
14692
6c9642ed
AM
146932013-12-27 Allan McRae <allan@archlinux.org>
14694
14695 [BZ #16369]
14696 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14697 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14698
3f637079
BM
146992013-12-24 Brooks Moses <bmoses@google.com>
14700
14701 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14702 all compilers that claim C++98 compliance, not just GCC.
14703 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14704 Likewise.
14705
abc26e99
MK
147062013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14707
14708 * NEWS: Restore accidentally deleted bug-fix entries.
14709
362b47fe
MK
147102013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14711 Ondřej Bílka <neleai@seznam.cz>
14712
14713 [BZ #15073]
14714 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14715 have_lock.
362b47fe 14716
b9bcbbcb
OB
147172013-12-23 Ondřej Bílka <neleai@seznam.cz>
14718
14719 [BZ #12986]
14720 * manual/stdio.texi (String Input Conversions): Clarify that character
14721 classes are not supported.
14722
fb55fcd2
AZ
147232013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14724
14725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14726
ef7344f0
JM
147272013-12-22 Joseph Myers <joseph@codesourcery.com>
14728
4f40e4b3
JM
14729 [BZ #16337]
14730 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14731 Calculate results for small negative arguments directly rather
14732 than using reflection formula with special underflow handling.
14733
ef7344f0
JM
14734 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14735 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14736 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14737 (fchflags): Likewise.
14738 (revoke): Likewise.
14739 (setlogin): Likewise.
14740 (sigaltstack): Likewise.
14741 (wait4): Likewise.
14742 (sigblock): Remove.
14743 (sigsetmask): Likewise.
14744 (wait3): Likewise.
14745 (waitpid): Likewise.
14746 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14747 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14748 file.
14749 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14750 * sysdeps/unix/bsd/Makefile: ... here.
14751 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14752 * sysdeps/unix/bsd/Versions: ... here.
14753 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14754 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14755 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14756 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14757 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14758 * sysdeps/unix/bsd/sigblock.c: ... here.
14759 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14760 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14761 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14762 * sysdeps/unix/bsd/sigvec.c: ... here.
14763 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14764 * sysdeps/unix/bsd/tcdrain.c: ... here.
14765 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14766 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14767 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14768 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14769 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14770 * sysdeps/unix/bsd/wait.c: ... here.
14771 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14772 * sysdeps/unix/bsd/wait3.c: ... here.
14773 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14774 * sysdeps/unix/bsd/waitpid.c: ... here.
14775
5b0626b9
JM
147762013-12-21 Joseph Myers <joseph@codesourcery.com>
14777
14778 [BZ #16356]
14779 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14780 round-to-nearest for [!USE_AS_EXPM1L].
14781 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14782 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14783 more tests of exp and exp10. Expect some exp10 tests to miss
14784 exceptions or fail in directed rounding modes.
14785 * math/auto-libm-test-out: Regenerated.
14786 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14787 (exp10_test_tonearest): New function.
14788 (exp10_towardzero_test_data): New array.
14789 (exp10_test_towardzero): New function.
14790 (exp10_downward_test_data): New array.
14791 (exp10_test_downward): New function.
14792 (exp10_upward_test_data): New array.
14793 (exp10_test_upward): New function.
14794 (main): Call the new functions.
14795 * sysdeps/i386/fpu/libm-test-ulps: Update.
14796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14797
7fda5682
JM
147982013-12-20 Joseph Myers <joseph@codesourcery.com>
14799
31e3a405
JM
14800 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14801 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14802 * math/auto-libm-test-out: Regenerated.
14803 * math/libm-test.inc (acosh_test_data): Add more tests.
14804 (atanh_test_data): Likewise.
14805 (ceil_test_data): Likewise.
14806 (copysign_test_data): Likewise.
14807 * sysdeps/i386/fpu/libm-test-ulps: Update.
14808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14809
85bff96a
JM
14810 * timezone/checktab.awk: Update from tzcode 2013i.
14811 * timezone/private.h: Likewise.
14812 * timezone/scheck.c: Likewise.
14813 * timezone/tzfile.h: Likewise.
14814 * timezone/tzselect.ksh: Likewise.
14815 * timezone/zdump.c: Likewise.
14816 * timezone/zic.c: Likewise.
14817
b7867a3b
JM
14818 * math/auto-libm-test-in: Add tests of cpow.
14819 * math/auto-libm-test-out: Regenerated.
14820 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14821 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14822 mpc_cc_c.
14823 (func_calc_desc): Add mpc_cc_c union field.
14824 (test_functions): Add cpow.
14825 (special_fill_2pi): New function.
14826 (special_real_inputs): Add 2pi.
14827 (calc_generic_results): Handle mpc_cc_c.
14828 * sysdeps/i386/fpu/libm-test-ulps: Update.
14829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14830
7fda5682
JM
14831 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14832 csqrt, ctan and ctanh.
14833 * math/auto-libm-test-out: Regenerated.
14834 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14835 (TEST_COND_x86): Likewise.
14836 (ccos_test_data): Use AUTO_TESTS_c_c.
14837 (ccosh_test_data): Likewise.
14838 (cexp_test_data): Likewise.
14839 (clog_test_data): Likewise.
14840 (csqrt_test_data): Likewise.
14841 (ctan_test_data): Likewise.
14842 (ctan_tonearest_test_data): Likewise.
14843 (ctan_towardzero_test_data): Likewise.
14844 (ctan_downward_test_data): Likewise.
14845 (ctan_upward_test_data): Likewise.
14846 (ctanh_test_data): Likewise.
14847 (ctanh_tonearest_test_data): Likewise.
14848 (ctanh_towardzero_test_data): Likewise.
14849 (ctanh_downward_test_data): Likewise.
14850 (ctanh_upward_test_data): Likewise.
14851 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14852 mpc_c_c.
14853 (func_calc_desc): Add mpc_c_c union field.
14854 (FUNC_mpc_c_c): New macro.
14855 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14856 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14857 ctanh.
14858 (special_fill_min_subnorm_p120): New function.
14859 (special_real_inputs): Add min_subnorm_p120.
14860 (calc_generic_results): Handle mpc_c_c.
14861 * sysdeps/i386/fpu/libm-test-ulps: Update.
14862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14863
5ff8d60e
SP
148642013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14865
57f41c40
AS
14866 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14867 (do_sin_slow): New functions.
14868 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14869 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14870
84ba214c
SP
14871 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14872 Use M to change sign of result instead of X. Assume X is
14873 positive.
14874 (csloww1): Likewise.
14875 (__sin): Adjust.
14876 (__cos): Adjust.
14877
975195e4
SP
14878 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14879 arguments A and DA.
14880 (__sin): Adjust.
14881 (__cos): Likewise.
14882
5ff8d60e
SP
14883 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14884 (__cos): Likewise.
14885 (sloww1): Don't adjust sign of DX.
14886 (csloww1): Likewise.
14887 (sloww2): Use X directly and don't adjust sign of DX.
14888 (csloww2): Likewise.
14889
eb983568
JM
148902013-12-19 Joseph Myers <joseph@codesourcery.com>
14891
64a17f1a
JM
14892 * math/auto-libm-test-in: Add tests of cabs and carg.
14893 * math/auto-libm-test-out: Regenerated.
14894 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14895 (carg_test_data): Likewise.
14896 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14897 mpc_c_f.
14898 (func_calc_desc): Add mpc_c_f union field.
14899 (test_functions): Add cabs and carg.
14900 (calc_generic_results): Handle mpc_c_f.
14901
eb983568
JM
14902 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14903 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14904 as a macro and a compat symbol.
14905 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14906 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14907 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14908 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14909 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14910 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14911 not use .hidden.
14912 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14913 Likewise.
14914 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14915 Likewise.
14916 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14917 Likewise.
14918 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14919 Likewise.
14920 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14921 Likewise.
14922 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14923 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14924 from GLIBC_2.3.2.
14925
6eeb678a
AZ
149262013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14927
14928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14929
6f6fc482
JM
149302013-12-19 Joseph Myers <joseph@codesourcery.com>
14931
21fea2e2
JM
14932 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14933 trailing whitespace removed.
14934 * scripts/config.guess: Update to version 2013-11-29.
14935 * scripts/config.sub: Update to version 2013-10-01.
14936
6f6fc482
JM
14937 * math/auto-libm-test-in: Add tests of sincos.
14938 * math/auto-libm-test-out: Regenerated.
14939 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14940 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14941 mpfr_f_11.
14942 (func_calc_desc): Add mpfr_f_11 union field.
14943 (test_functions): Add sincos.
14944 (calc_generic_results): Handle mpfr_f_11.
14945 * sysdeps/i386/fpu/libm-test-ulps: Update.
14946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14947
83f5c32d
AS
149482013-12-19 Andreas Schwab <schwab@suse.de>
14949
14950 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14951 CALL_MCOUNT.
14952 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14953 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14954 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14955
c688b419
JM
149562013-12-19 Joseph Myers <joseph@codesourcery.com>
14957
335ee092
JM
14958 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14959 * sysdeps/i386/fpu/libm-test-ulps: Update.
14960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14961
f88acd39
JM
14962 [BZ #16293]
14963 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14964 round-to-nearest mode when using frndint.
14965 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14966 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14967 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14968 Likewise.
14969 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14970 sinh test to fail.
14971 * math/auto-libm-test-out: Regenerated.
14972 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14973 (TEST_COND_x86): Likewise.
14974 (expm1_tonearest_test_data): New array.
14975 (expm1_test_tonearest): New function.
14976 (expm1_towardzero_test_data): New array.
14977 (expm1_test_towardzero): New function.
14978 (expm1_downward_test_data): New array.
14979 (expm1_test_downward): New function.
14980 (expm1_upward_test_data): New array.
14981 (expm1_test_upward): New function.
14982 (main): Run the new test functions.
14983 * sysdeps/i386/fpu/libm-test-ulps: Update.
14984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14985
c688b419
JM
14986 * include/features.h: Update comment documenting feature test
14987 macros. Mention _DEFAULT_SOURCE in comment.
14988 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14989 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14990 _BSD_SOURCE and _SVID_SOURCE.
14991 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14992 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14993 !_SVID_SOURCE]: Likewise.
14994 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14995 (__USE_POSIX_IMPLICITLY): Define.
14996 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14997 (_POSIX_SOURCE): Undefine and redefine.
14998 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14999 (_POSIX_C_SOURCE): Likewise.
15000 * manual/creature.texi (_DEFAULT_SOURCE): Document.
15001 (Feature Test Macros): Update documentation of default features.
15002
9f6e964c
RS
150032013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15004
15005 * benchtests/Makefile: Add bench-strtok.
15006 * benchtests/bench-strtok.c: New file: strtok benchtest.
15007
ee0a148a
AM
150082013-12-19 Allan McRae <allan@archlinux.org>
15009
15010 * manual/install.texi: Suppress menu for plain text output.
15011 * INSTALL: Regenerated.
15012
b9ab448f
BM
150132013-12-18 Brooks Moses <bmoses@google.com>
15014
15015 [BZ #15846]
15016 * misc/getauxval.c: Include errno.h.
15017 (__getauxval): Set errno to ENOENT if the requested type is not
15018 found.
15019 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15020 don't declare with __attribute_const__.
15021 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15022 * manual/startup.texi: Document that getauxval sets errno.
15023
23776487
JM
150242013-12-18 Joseph Myers <joseph@codesourcery.com>
15025
f889953b
JM
15026 * math/auto-libm-test-in: Add tests of jn and yn.
15027 * math/auto-libm-test-out: Regenerated.
15028 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15029 (yn_test_data): Likewise.
15030 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15031 mpfr_if_f.
15032 (func_calc_desc): Add mpfr_if_f union field.
15033 (FUNC_mpfr_if_f): New macro.
15034 (test_functions): Add jn and yn.
15035 (calc_generic_results): Assert type of second input for
15036 mpfr_ff_f. Handle mpfr_if_f.
15037 (output_for_one_input_case): Disable all checking for arguments
15038 fitting floating-point types in case of an integer argument.
15039 * sysdeps/i386/fpu/libm-test-ulps: Update.
15040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15041
23776487
JM
15042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15043 Don't expect fegetround reference in libm.so.
15044
cb756c6d
MS
150452013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15046
15047 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15048 $(config-cflags-nofma).
15049
2dec468f
JM
150502013-12-18 Joseph Myers <joseph@codesourcery.com>
15051
5953eb3a
JM
15052 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15053 * math/auto-libm-test-out: Regenerated.
15054
2dec468f
JM
15055 [BZ #16338]
15056 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15057 to determine exponent and adjust argument to have exponent of -1.
15058 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15059 log2.
15060 * math/auto-libm-test-out: Regenerated.
15061 * sysdeps/i386/fpu/libm-test-ulps: Update.
15062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15063
4d84e6ad
OB
150642013-12-18 Ondřej Bílka <neleai@seznam.cz>
15065
15066 * manual/probes.texi: Remove cases when per-thread arenas are
15067 disabled.
15068
1818483b
AS
150692013-12-18 Andreas Schwab <schwab@suse.de>
15070
15071 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15072 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15073 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15074 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15075 * sysdeps/i386/i686/multiarch/Makefile: Update.
15076 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15077
25de95bf
JM
150782013-12-17 Joseph Myers <joseph@codesourcery.com>
15079
15080 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15081 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15082
674762d9
PE
150832013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15084
ed27ed83 15085 [BZ #15968]
0748546f
PE
15086 Support TZ transition times < 00:00:00.
15087 This is needed for version-3 tz-format files; it supports time
15088 stamps past 2037 for America/Godthab (the only entry in the tz
15089 database for which this change is relevant).
15090 * manual/time.texi (TZ Variable): Document transition times
15091 from -167:59:59 through -00:00:01.
15092 * time/tzset.c (tz_rule): Time of day is now signed.
15093 (__tzset_parse_tz): Parse negative time of day.
15094
4480e934
PE
15095 Document TZ transition times >= 25:00:00.
15096 * manual/time.texi (TZ Variable): Document transition times from
15097 25:00:00 through 167:59:59. These are already supported, and this
15098 support will help with version-3 tz-format files.
15099
69947401
PE
15100 * manual/time.texi (TZ Variable): Modernize North America example
15101 to reflect current (i.e., 2007-and-later) daylight saving rules.
15102
674762d9
PE
15103 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15104
7011c262
JM
151052013-12-17 Joseph Myers <joseph@codesourcery.com>
15106
2fc6557e
JM
15107 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15108 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15109 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15110 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15111 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15112 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15113 * sysdeps/unix/bsd/clock.c: Likewise.
15114 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15115 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15116 * sysdeps/unix/bsd/init-posix.c: Likewise.
15117 * sysdeps/unix/bsd/poll.c: Likewise.
15118 * sysdeps/unix/bsd/ptsname.c: Likewise.
15119 * sysdeps/unix/bsd/seekdir.c: Likewise.
15120 * sysdeps/unix/bsd/setegid.c: Likewise.
15121 * sysdeps/unix/bsd/seteuid.c: Likewise.
15122 * sysdeps/unix/bsd/setgid.c: Likewise.
15123 * sysdeps/unix/bsd/setrgid.c: Likewise.
15124 * sysdeps/unix/bsd/setruid.c: Likewise.
15125 * sysdeps/unix/bsd/setsid.c: Likewise.
15126 * sysdeps/unix/bsd/setuid.c: Likewise.
15127 * sysdeps/unix/bsd/sigaction.c: Likewise.
15128 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15129 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15130 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15131 * sysdeps/unix/bsd/telldir.c: Likewise.
15132 * sysdeps/unix/bsd/times.c: Likewise.
15133 * sysdeps/unix/bsd/usleep.c: Likewise.
15134
029c7b25
JM
15135 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15136 ($(objpfx)libbsd-compat.a): Remove rule.
15137
7011c262
JM
15138 * include/features.h (__FAVOR_BSD): Do not define.
15139 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15140 features conflicting with POSIX.
15141 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15142 (_BSD_SOURCE): Remove description of not being a subset of other
15143 feature test macros.
15144 * manual/job.texi (getpgrp): Do not document BSD version.
15145 (getpgid): Do not document by reference to BSD getpgrp.
15146 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15147 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15148 * signal/signal.h [__FAVOR_BSD]: Likewise.
15149 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15150 instead of making contents conditional on [__FAVOR_BSD].
15151 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15152
affb6f78
AZ
151532013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15154
15155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15156
c88769dd
JM
151572013-12-17 Joseph Myers <joseph@codesourcery.com>
15158
6432a540
JM
15159 [BZ #16314]
15160 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15161 values below 2**-450, not 2**-500.
15162 * math/auto-libm-test-in: Don't allow spurious underflow from
15163 hypot.
15164 * math/auto-libm-test-out: Regenerated.
15165
c88769dd
JM
15166 [BZ #16316]
15167 [BZ #16330]
15168 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15169 values of ha and hb and sort them after adjusting subnormal
15170 arguments.
15171 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15172 Likewise.
15173 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15174 values of ea and eb and sort them after adjusting subnormal
15175 arguments.
15176 * math/auto-libm-test-in: Do not expect some hypot tests of
15177 subnormals to fail. Add more hypot tests.
15178 * math/auto-libm-test-out: Regenerated.
15179
29618f6b
KK
151802013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15181
15182 [BZ #13304]
15183 * sysdeps/sh/s_fma.c: New file.
15184 * sysdeps/sh/s_fmaf.c: New file.
15185 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15186 version.
15187 * sysdeps/sh/Implies: Add sh/soft-fp.
15188
eacfdfbf
RM
151892013-12-16 Roland McGrath <roland@hack.frob.com>
15190
15191 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15192 level of indirection to members `objname', `errstring', `malloced'.
15193 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15194 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15195 it as the __longjmp argument (just pass 1 instead).
15196 (_dl_catch_error): Initialize C with argument pointers and address of
15197 volatile local ERRCODE rather than copying values out of C at return.
15198
ff362e5b
JM
151992013-12-16 Joseph Myers <joseph@codesourcery.com>
15200
15201 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15202 * math/auto-libm-test-out: Regenerated.
15203 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15204 (hypot_test_data): Likewise.
15205 (pow_test_data): Likewise.
15206 (pow_tonearest_test_data): Likewise.
15207 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15208 mpfr_ff_f.
15209 (func_calc_desc): Add mpfr_ff_f union field.
15210 (FUNC_mpfr_ff_f): New macro.
15211 (test_functions): Add atan2, hypot and pow.
15212 (special_fill_min): New function.
15213 (special_fill_minus_min): Likewise.
15214 (special_fill_min_subnorm): Likewise.
15215 (special_fill_minus_min_subnorm): Likewise.
15216 (special_real_inputs): Add min, -min, min_subnorm and
15217 -min_subnorm.
15218 (calc_generic_results): Handle mpfr_ff_f.
15219 * sysdeps/i386/fpu/libm-test-ulps: Update.
15220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15221
5764c27f
WN
152222013-12-16 Will Newton <will.newton@linaro.org>
15223
15224 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15225 (Aligned Memory Blocks): Add documentation for aligned_alloc
15226 and suggest it as an alternative to posix_memalign.
15227 (Hooks for Malloc): Document __memalign_hook is also called
15228 for aligned_alloc. (Summary of Malloc): Add summary for
15229 aligned alloc. Document __memalign_hook is also called
15230 for aligned_alloc.
15231
0a096e44
WN
152322013-12-16 Will Newton <will.newton@linaro.org>
15233
15234 * manual/memory.texi (Malloc Examples): Clarify default
15235 alignment documentation. Suggest posix_memalign rather
15236 than memalign or valloc.
15237 (Aligned Memory Blocks): Remove suggestion to use memalign
15238 or valloc. Remove obsolete comment about BSD.
15239 Document memalign errno values and mark the function obsolete.
15240 Document posix_memalign returned error codes. Mark valloc
15241 as obsolete. (Hooks for Malloc): __memalign_hook is also
15242 called for posix_memalign and valloc.
15243 (Summary of Malloc): Add posix_memalign to function summary.
15244 __memalign_hook is also called for posix_memalign and valloc.
15245
8d561986
SP
152462013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15247
15248 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15249 TAYLOR_SIN.
15250 (__sin): Adjust.
15251 (__cos): Likewise.
15252 (sloww): Use mynumber union. Expand ternary operator into
15253 if-else statements.
15254 (cslow): use mynumber union.
15255
73616a74
AM
152562013-12-16 Allan McRae <allan@archlinux.org>
15257
9e8ac24b
AM
15258 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15259 * configure: Regenerated.
15260
6f8e37eb
AM
15261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15262
8894bad3
AM
15263 [BZ #14120]
15264 * configure.ac: Added --enable-maintainer-mode. Check for
15265 autoconf when enabled.
15266 * configure: Regenerated.
15267
73616a74
AM
15268 * nscd/nscd.service: New file.
15269 * nscd/nscd.tmpfiles: New file.
15270
584b18eb
OB
152712013-12-14 Ondřej Bílka <neleai@seznam.cz>
15272
15273 [BZ #12100]
15274 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15275 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15276 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15277 (strstr): Add __strstr_sse2_unaligned ifunc.
15278 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15279 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15280 (strcasestr): Remove __strcasestr_sse42 ifunc.
15281 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15282 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15284
8a5c7897
KK
152852013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15286
15287 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15288 * sysdeps/sh/bits/fenv.h: ... here.
15289 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15290
fd712ef3
AZ
152912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15292
15293 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15294
42fcb46c
AZ
15295 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15296 hypotf multiarch implementations.
15297 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15298 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15299 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15300 multiarch hypot for PPC64.
15301 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15302 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15303 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15304 multiarch hypotf for PPC64.
15305
83efded4
AZ
15306 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15307 modff multiarch implementations.
15308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15311 multiarch modf for PPC64.
15312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15315 multiarch modff for PPC64.
15316
43e246d2
AZ
15317 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15318 and logl multiarch implementations.
15319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15322 multiarch logb for PPC64.
15323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15326 multiarch logb for PPC64.
15327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15330 multiarch logb for PPC64.
15331
8fdad123
AZ
15332 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15333 isinff multiarch implementation.
15334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15335 file.
15336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15338 multiarch isinf for PPC64.
15339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15340 file.
15341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15342 multiarch isinff for PPC64.
15343
1481d706
AZ
15344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15345 finitef multiarch implementation.
15346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15347 file.
15348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15350 multiarch finite for PPC64.
15351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15352 file.
15353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15354 multiarch finitef for PPC64.
15355
5ccd5fc8
AZ
15356 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15357 lrint multiarch implementation.
15358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15359 file.
15360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15362 multiarch llrint for PPC64.
15363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15364 multiarch lrint for PPC64.
15365
2568f3fa
AZ
15366 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15367 copysignf multiarch implementation.
15368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15369 file.
15370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15371 file.
15372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15373 multiarch copysign for PPC64.
15374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15375 multiarch copysignf for PPC64.
15376
1cb341fd
AZ
15377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15378 multiarch implementation.
15379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15380 file.
15381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15382 file.
15383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15384 file.
15385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15386 file.
15387 multiarch llround for PPC64.
15388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15389 multiarch trunc for PPC64.
15390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15391 multiarch truncf for PPC64.
15392
59a3e194
AZ
15393 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15394 multiarch implementation.
15395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15396 file.
15397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15398 file.
15399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15400 file.
15401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15402 file.
15403 multiarch llround for PPC64.
15404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15405 multiarch round for PPC64.
15406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15407 multiarch roundf for PPC64.
15408
357fd3b4
AZ
15409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15410 multiarch implementation.
15411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15412 file.
15413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15414 file.
15415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15416 file.
15417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15418 file.
15419 multiarch llround for PPC64.
15420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15421 multiarch floor for PPC64.
15422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15423 multiarch floorf for PPC64.
15424
96770f12
AZ
15425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15426 multiarch implementation.
15427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15428 file.
15429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15430 file.
15431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15432 file.
15433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15434 file.
15435 multiarch llround for PPC64.
15436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15437 multiarch ceil for PPC64.
15438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15439 multiarch ceilf for PPC64.
15440
c3627f6e
AZ
15441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15442 multiarch implementation.
15443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15444 file.
15445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15446 file.
15447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15448 file.
15449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15450 multiarch llround for PPC64.
15451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15452 multiarch lround for PPC64.
15453
b2284ad7
AZ
15454 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15455 multiarch implementation.
15456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15459 file.
15460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15463 multiarch isnan for PPC64.
15464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15465 multiarch isnanf for PPC64.
15466
69bbc63d
AZ
15467 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15468 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15469 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15470 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15471 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15473
c24517c9
AZ
15474 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15475 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15476 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15477 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15478
a52374e8
AZ
15479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15480 multiarch implementations.
15481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15482 (__libc_ifunc_impl_list): Likewise.
15483 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15484 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15485 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15486 multiarch stpcpy for PPC64.
15487
7f5ec113
AZ
15488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15489 multiarch implementations.
15490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15491 (__libc_ifunc_impl_list): Likewise.
15492 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15493 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15494 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15495 multiarch strcpy for PPC64.
15496
e28bcd42
AZ
15497 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15498 redefine function name.
15499 (_wordcopy_fwd_dest_aligned): Likewise.
15500 (_wordcopy_bwd_aligned): Likewise.
15501 (_wordcopy_bwd_dest_aligned): Likewise.
15502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15503 multiarch implementations.
15504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15505 (__libc_ifunc_impl_list): Likewise.
15506 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15507 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15508 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15509 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15510 multiarch wcscpy for PPC64.
15511
92cacfce
AZ
15512 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15513 multiarch implementations.
15514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15515 (__libc_ifunc_impl_list): Likewise.
15516 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15517 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15518 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15519 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15520 multiarch wcscpy for PPC64.
15521
7b714620
AZ
15522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15523 multiarch implementations.
15524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15525 (__libc_ifunc_impl_list): Likewise.
15526 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15527 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15528 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15529 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15530 multiarch wcsrchr for PPC64.
15531
16fd2ae3
AZ
15532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15533 multiarch implementations.
15534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15535 (__libc_ifunc_impl_list): Likewise.
15536 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15537 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15538 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15539 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15540 multiarch wcschr for PPC64.
15541
9ee2969b
AZ
15542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15543 multiarch implementations.
15544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15545 (__libc_ifunc_impl_list): Likewise.
15546 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15547 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15548 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15549 multiarch strchrnul for PPC64.
15550
372dc060
AZ
15551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15552 implementations.
15553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15554 (__libc_ifunc_impl_list): Likewise.
15555 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15556 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15557 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15558 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15559 strchr for PPC64.
15560
24c2c3b9
AZ
15561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15562 implementations.
15563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15564 (__libc_ifunc_impl_list): Likewise.
15565 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15566 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15567 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15568 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15569 strncmp for PPC64.
15570
1c92d9a0
AZ
15571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15572 multiarch implementations.
15573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15574 (__libc_ifunc_impl_list): Likewise.
15575 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15576 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15577 strncasecmp for PPC64.
15578 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15579 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15580 multiarch strncasecmp_l for PPC64.
15581
17de3ee3
AZ
15582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15583 multiarch implementations.
15584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15585 (__libc_ifunc_impl_list): Likewise.
15586 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15587 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15588 multiarch strcasecmp for PPC64.
15589 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15590 file.
15591 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15592 multiarch strcasecmp_l for PPC64.
15593
62982bf9
AZ
15594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15595 implementations.
15596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15597 (__libc_ifunc_impl_list): Likewise.
15598 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15599 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15600 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15601 strnlen for PPC64.
15602
a65f4904
AZ
15603 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15604 implementations.
15605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15606 (__libc_ifunc_impl_list): Likewise.
15607 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15608 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15609 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15610 strlen for PPC64.
15611
1fd005ad
AZ
15612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15613 implementations.
15614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15615 (__libc_ifunc_impl_list): Likewise.
15616 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15617 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15618 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15619 rawmemrchr for PPC64.
15620
cd05ba91
AZ
15621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15622 implementation.
15623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15624 (__libc_ifunc_impl_list): Likewise.
15625 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15626 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15627 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15628 memrchr for PPC64.
15629
870f8676
AZ
15630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15631 implementation.
15632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15633 (__libc_ifunc_impl_list): Likewise.
15634 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15635 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15636 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15637 memchr for PPC64.
15638
f00be62b
AZ
15639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15640 implementation.
15641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15642 (__libc_ifunc_impl_list): Likewise.
15643 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15644 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15645 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15646 mempcpy for PPC64.
15647
8a29a3d0
AZ
15648 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15649 avoid cretion of __bzero symbol.
15650 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15651 Likewise.
15652 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15653 Likewise.
15654 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15655 Likewise.
15656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15657 multiarch implementations.
15658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15659 (__libc_ifunc_impl_list): Likewise.
15660 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15661 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15662 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15663 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15664 bzero for PPC32.
15665 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15666 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15667 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15668 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15669 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15670 memset for PPC64.
15671 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15672
07253fcf
AZ
15673 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15675 implementations.
15676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15677 (__libc_ifunc_impl_list): Likewise.
15678 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15679 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15680 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15681 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15682 memcmp for PPC64.
15683
b5beafbc
AZ
15684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15685 multiarch for POWER/PPC64.
15686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15687 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15688 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15689 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15690 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15691 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15692 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15693 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15694 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15695 memcpy for PPC64.
15696
5e6a4d4b
AZ
15697 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15698 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15699 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15700 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15701 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15702 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15703 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15704 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15705 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15706 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15707 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15708 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15709 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15710 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15711 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15719
ddfab6dc
KK
157202013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15721
15722 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15723
19b5525e
SP
157242013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15725
15726 * benchtests/Makefile (bench): Add exp2 and log2.
15727 (LDLIBS-bench-exp2): Add -lm.
15728 (LDLIBS-bench-log2): Likewise.
15729 * benchtests/exp2-inputs: New inputs file.
15730 * benchtests/log2-inputs: New inputs file.
15731 * benchtests/log-inputs: Add new inputs.
15732 * benchtests/tan-inputs: Likewise.
15733
196f7f5d
SP
157342013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15735
7a74607f
SP
15736 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15737 definition...
57f41c40
AS
15738 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15739 (csloww2): ... from here.
7a74607f 15740
196f7f5d
SP
15741 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15742 instead of structures.
15743 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15744 (POLYNOMIAL): Likewise.
15745 (TAYLOR_SLOW): Likewise.
15746 (__sin): Likewise.
15747 (__cos): Likewise.
15748 (slow1): Likewise.
15749 (slow2): Likewise.
15750 (sloww): Likewise.
15751 (sloww1); Likewise.
15752 (sloww2): Likewise.
15753 (bsloww1): Likewise.
15754 (bsloww2): Likewise.
15755 (cslow2): Likewise.
15756 (csloww): Likewise.
15757 (csloww1): Likewise.
15758 (csloww2): Likewise.
15759
0dfa665c
OB
157602013-12-10 Ondřej Bílka <neleai@seznam.cz>
15761
15762 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15763 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15764 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15765 * malloc/hooks.c (realloc_check): Likewise.
15766
5782a80f
OB
15767 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15768 * malloc/arena.c: Remove PER_THREAD conditional.
15769 [!PER_THREAD]: Remove code.
15770 (ptmalloc_unlock_all2): Likewise.
15771 (ptmalloc_init): Likewise.
15772 (_int_new_arena): Likewise.
15773 (arena_get2): Likewise.
15774 * malloc/hooks.c (__malloc_get_state): Likewise.
15775 (__malloc_set_state): Likewise.
15776 * malloc/malloc.c: Likewise.
15777 (struct malloc_state): Likewise.
15778 (struct malloc_par): Likewise.
15779 (__libc_realloc): Likewise.
15780 (__libc_mallopt): Likewise.
15781
aeb95445
AZ
157822013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15783
15784 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15785
e8349efd
OB
157862013-12-09 Ondřej Bílka <neleai@seznam.cz>
15787
15788 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15789 macro to a function. Check for zero perturb_byte.
15790 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15791
f3eeb3fc 15792 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15793 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15794 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15795 force_reg by atomic_forced_read.
15796 * malloc/arena.c (ptmalloc_init): Likewise.
15797 * malloc/hooks.c (top_check): Likewise.
15798
be2f9009
AZ
157992013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15800
15801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15802
e7b914bd
MT
158032013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15804
15805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15806
9f0be4f8
JM
158072013-12-08 Joseph Myers <joseph@codesourcery.com>
15808
15809 * math/auto-libm-test-in: Add tests of lgamma.
15810 * math/auto-libm-test-out: Regenerated.
15811 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15812 (M_LOG_2_SQRT_PIl): Likewise.
15813 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15814 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15815 mpfr_f_f1.
15816 (func_calc_desc): Add mpfr_f_f1 union field.
15817 (ARGS1): New macro.
15818 (ARGS2): Likewise.
15819 (ARGS3): Likewise.
15820 (ARGS4): Likewise.
15821 (RET1): Likewise.
15822 (RET2): Likewise.
15823 (CALC): Likewise.
15824 (FUNC): Likewise.
15825 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15826 (test_functions): Add lgamma.
15827 (calc_generic_results): Handle mpfr_f_f1.
15828 * sysdeps/i386/fpu/libm-test-ulps: Update.
15829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15830
24eeafdb
AZ
158312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15832
15833 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15834 __mpn_add_n for PowerPC64/POWER7.
15835 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15836 __mpn_sub_n for PowerPC64/POWER7.
15837
4a2c0fd4
AZ
15838 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15839 __mpn_addmul_1 for PowerPC64.
15840 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15841 __mpn_submul_1 for PowerPC64.
15842 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15843 for PowerPC64.
15844 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15845 for PowerPC64.
15846
4b5b548c
FS
158472013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15848
15849 [BZ #15089]
15850 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15851
0a3ac0aa
AZ
158522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15853
15854 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15855
ccdc8438
AZ
15856 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15857 add multiarch folders.
15858 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15859 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15860 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15861 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15862 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15863 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15864 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15865 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15866 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15867 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15868 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15875
2e973d99
AZ
15876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15877 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15879 New file.
15880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15881 New file.
15882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15883 multiarch __ieee754_hypot for PowerPC32.
15884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15885 New file.
15886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15887 New file.
15888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15889 multiarch __ieee754_hypotf for PowerPC32.
15890
2d9470b2
AZ
15891 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15892 long_double_symbol only if __logbl is defined.
15893 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15894 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15895 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15896 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15897 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15898 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15899 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15900 path for implementation.
15901 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15902 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15904 logb, and logbl multiarch implementations for PowerPC32.
15905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15906 file.
15907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15908 file.
15909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15910 multiarch logb for PowerPC32.
15911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15912 file.
15913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15914 file.
15915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15916 multiarch logbf for PowerPC32.
15917 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15919 file.
15920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15921 multiarch logbl implementation for PowerPC32.
15922
5212ffce
AZ
15923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15924 and modff multiarch implementations.
15925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15926 New file.
15927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15928 New file.
15929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15930 multiarch modf for PowerPC32.
15931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15932 New file.
15933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15934 New file.
15935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15936 multiarch modff for PowerPC32.
15937
79dccf31
AZ
15938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15939 and lrintf multiarch implementations.
15940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15941 New file.
15942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15943 New file.
15944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15945 multiarch lrint for PowerPC32.
15946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15947 file: multiarch lrintf for PowerPC32.
15948
deb66480
AZ
15949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15950 and lroundf multiarch implementations.
15951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15952 New file.
15953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15954 New file.
15955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15956 New file.
15957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15958 multiarch lround for PowerPC32.
15959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15960 file: multiarch lroundf for PowerPC32.
15961
264b036b
AZ
15962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15963 copysign and copysignf multiarch implementations.
15964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15965 New file.
15966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15967 New file.
15968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15969 file: multiarch copysign for PowerPC32.
15970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15971 file: multiarch copysignf for PowerPC32.
15972
d47db6c9
AZ
15973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15974 and truncf multiarch implementations.
15975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15976 New file.
15977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15978 file.
15979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15980 multiarch trunc for PowerPC32.
15981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15982 New file.
15983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15984 New file.
15985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15986 multiarch truncf for PowerPC32.
15987
ddb60b5a
AZ
15988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15989 and roundf multiarch implementations.
15990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15991 New file.
15992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15993 file.
15994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15995 multiarch round for PowerPC32.
15996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15997 New file.
15998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15999 New file.
16000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16001 multiarch roundf for PowerPC32.
16002
bedcf49b
AZ
16003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16004 and floorf multiarch implementations.
16005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16006 New file.
16007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16008 file.
16009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16010 multiarch floor for PowerPC32.
16011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16012 New file.
16013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16014 New file.
16015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16016 multiarch floorf for PowerPC32.
16017
35ae5b40
AZ
16018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16019 and ceilf multiarch implementations.
16020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16021 New file.
16022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16023 file.
16024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16025 multiarch ceil for PowerPC32.
16026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16027 New file.
16028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16029 file.
16030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16031 multiarch ceilf for PowerPC32.
16032
ae1a4cd9
AZ
16033 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16034 is defined.
16035 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16036 FINITEF is defined.
16037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16038 and finitef multiarch implementations.
16039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16040 New file.
16041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16042 file.
16043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16044 multiarch finite for PowerPC32.
16045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16046 New file.
16047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16048 file: multiarch finitef for PowerPC32.
16049
64fffd65
AZ
16050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16051 and isinff multiarch implementations.
16052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16053 file.
16054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16055 file.
16056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16057 multiarch isinf for PowerPC32.
16058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16059 New file.
16060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16061 multiarch isinff for PowerPC32.
16062
8e4e7ba2
AZ
16063 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16064 alias when __isnan is defined.
16065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16066 and isnanf multiarch implementations.
16067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16068 file.
16069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16070 file.
16071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16072 file.
16073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16074 file.
16075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16076 multiarch isnan for PowerPC32.
16077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16078 New file.
16079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16080 New file.
16081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16082 multiarch isnanf for PowerPC32.
16083
ddba588e
AZ
16084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16085 and sqrtf multiarch implementations.
16086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16087 file.
16088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16089 file.
16090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16091 multiarch sqrt for PowerPC32.
16092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16093 file.
16094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16095 file.
16096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16097 multiarch sqrtf for PowerPC32.
16098
0f96a2f0
AZ
16099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16100 and llroundf multiarch implementations.
16101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16102 New file.
16103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16104 New file.
16105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16106 New file.
16107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16108 file: multiarch llround for PowerPC32.
16109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16110 file: multiarch llroundf for PowerPC32.
16111
c9b5d79e
AZ
16112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16113 multiarch PowerPC32 fpu implementations.
16114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16115 New file.
16116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16117 New file.
16118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16119 multiarch llrint for PowerPC32.
16120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16121 New file.
16122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16123 New file.
16124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16125 file.
16126
9cbb3aab
AZ
16127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16128
ea5a72f8
AZ
16129 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16130 file.
16131 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16132 file.
16133 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16134 file.
16135 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16136 multiarch wordcopy for PPC32.
16137 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16138 wordcopy objects.
16139 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16140 (__libc_ifunc_impl_list): Likewise.
16141 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16142 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16143 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16144 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16145 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16146 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16147
93be09e7
AZ
16148 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16149 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16150 file.
16151 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16152 file.
16153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16154 file.
16155 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16156 multiarch wcscpy for PPC32.
16157 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16158 multiarch objects.
16159 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16160 (__libc_ifunc_impl_list): Likewise.
16161 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16162 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16163 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16164 sysdeps/powerpc/power6/wcscpy.c.
16165
bb04e529
AZ
16166 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16168 file.
16169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16170 file.
16171 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16172 file.
16173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16174 multiarch wcsrchr for PPC32.
16175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16176 multiarch objects.
16177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16178 (__libc_ifunc_impl_list): Likewise.
16179 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16180 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16181 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16182 sysdeps/powerpc/power6/wcsrchr.c.
16183
05b5cd1c
AZ
16184 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16185 file.
16186 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16187 file.
16188 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16189 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16190 multiarch wcschr for PPc32.
16191 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16192 multiarch objects.
16193 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16194 (__libc_ifunc_impl_list): Likewise.
16195 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16196 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16197 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16198 sysdeps/powerpc/power6/wcschr.c.
16199
ba964147
AZ
16200 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16201 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16202 file.
16203 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16204 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16205 file: multiarch strchr for PPC32.
16206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16207 multiarch objects.
16208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16209 (__libc_ifunc_impl_list): Likewise.
16210
31c81aaa
AZ
16211 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16212 name.
16213 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16214 file.
16215 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16216 file.
16217 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16218 multiarch strchrnul for PPC32.
16219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16220 multiarch objects.
16221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16222 (__libc_ifunc_impl_list): Likewise.
16223
0d0607d9
AZ
16224 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16225 file.
16226 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16227 multiarch strncasecmp for PPC32.
16228 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16229 file.
16230 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16231 multiarch strncasecmp_l for PPC32.
16232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16233 strncasecmp multiarch objects.
16234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16235 (__libc_ifunc_impl_list): Likewise.
16236
4dfd5c86
AZ
16237 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16238 file.
16239 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16240 multiarch strncasecmp for PPC32.
16241 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16242 New file.
16243 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16244 multiarch strcasecmp_l for PPC32.
16245 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16246 multiarch objects.
16247 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16248 (__libc_ifunc_impl_list): Likewise.
16249
a19e01a3
AZ
16250 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16251 file.
16252 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16253 file.
16254 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16255 multiarch strncmp for PPC32.
16256 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16257 multiarch objects.
16258 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16259 (__libc_ifunc_impl_list): Likewise.
16260
ae9cf7a2
AZ
16261 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16262 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16263 file.
16264 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16265 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16266 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16267 multiarch objects.
16268 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16269 (__libc_ifunc_impl_list): Likewise.
16270
3148bb7d
AZ
16271 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16272 file.
16273 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16274 file.
16275 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16277 multiarch objects.
16278 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16279 (__libc_ifunc_impl_list): Likewise.
16280
7af8b946
AZ
16281 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16282 file.
16283 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16284 file.
16285 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16286 multiarch rawmemchr for PPC32.
16287 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16288 multiarch objects.
16289 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16290 (__libc_ifunc_impl_list): Likewise.
16291
03a6aa6a
AZ
16292 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16293 file.
16294 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16295 file.
16296 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16297 file: memrchr multiarch for PPC32.
16298 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16299 multiarch objects.
16300 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16301 (__libc_ifunc_impl_list): Likewise.
16302
1c62e6d9
AZ
16303 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16304 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16305 file.
16306 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16307 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16308 multiarch memchr for PPC32.
16309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16310 multiarch objects.
16311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16312 (__libc_ifunc_impl_list): Likewise.
16313
87da8bdb
AZ
16314 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16315 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16316 file.
16317 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16318 file.
16319 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16320 file: multiarch mempcpy for PPC32.
16321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16322 multiarch objects.
16323 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16324 (__libc_ifunc_impl_list): Likewise.
16325
20ed4714
AZ
16326 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16327 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16328 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16329 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16330 multiarch bzero for PPC32.
16331 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16332 file.
16333 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16334 file.
16335 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16336 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16337 file: multiarch memset for PPC32.
16338 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16340 memset multiarch objects.
16341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16342 (__libc_ifunc_impl_list): Likewise.
16343
ab3e3a46
AZ
16344 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16345 file.
16346 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16347 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16348 memcmp for PPC32.
16349 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16351 multiarch objects.
16352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16353 (__libc_ifunc_impl_list): Likewise.
16354
930de6f0
AZ
16355 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16356 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16357 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16358 file.
16359 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16360 file.
16361 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16362 file.
16363 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16364 multiarch memcpy for PPC32.
16365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16366 multiarch objects.
16367 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16368 (__libc_ifunc_impl_list): Likewise.
16369
4c628e00
AZ
16370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16371 support multiarch for POWER/PPC32.
16372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16373 Likewise.
16374 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16376 Implies file to make multiarch folder appers before the fpu and
16377 default folder for power4 configuration.
16378
f4479220
SP
163792013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16380
16381 * scripts/bench.pl: Append volatile keyword to type.
16382
8517800f
KK
163832013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16384
16385 * sysdeps/sh/sotruss-lib.c: New file.
16386 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16387
180138f1
AZ
163882013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16389
16390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16391
bbf37bdc
JM
163922013-12-05 Joseph Myers <joseph@codesourcery.com>
16393
e47cc4e0
JM
16394 [BZ #6810]
16395 * math/w_tgamma.c: Include <errno.h>.
16396 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16397 * math/w_tgammaf.c: Include <errno.h>.
16398 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16399 * math/w_tgammal.c: Include <errno.h>.
16400 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16401 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16402 underflow. Add more tgamma tests.
16403 * math/auto-libm-test-out: Regenerated.
16404 * sysdeps/i386/fpu/libm-test-ulps: Update.
16405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16406
bbf37bdc
JM
16407 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16408 sin, sinh, tan, tanh, tgamma, y0 and y1.
16409 * math/auto-libm-test-out: Regenerated.
16410 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16411 (TEST_COND_x86): Likewise.
16412 (M_E2l): Remove macro.
16413 (M_E3l): Likewise.
16414 (M_2_SQRT_PIl): Likewise.
16415 (M_SQRT_PIl): Likewise.
16416 (M_1_DIV_El): Likewise.
16417 (log_test_data): Use AUTO_TESTS_f_f.
16418 (log10_test_data): Likewise.
16419 (log1p_test_data): Likewise.
16420 (log2_test_data): Likewise.
16421 (sin_test_data): Likewise.
16422 (sin_tonearest_test_data): Likewise.
16423 (sin_towardzero_test_data): Likewise.
16424 (sin_downward_test_data): Likewise.
16425 (sin_upward_test_data): Likewise.
16426 (sinh_test_data): Likewise.
16427 (sinh_tonearest_test_data): Likewise.
16428 (sinh_towardzero_test_data): Likewise.
16429 (sinh_downward_test_data): Likewise.
16430 (sinh_upward_test_data): Likewise.
16431 (tan_test_data): Likewise.
16432 (tan_tonearest_test_data): Likewise.
16433 (tan_towardzero_test_data): Likewise.
16434 (tan_downward_test_data): Likewise.
16435 (tan_upward_test_data): Likewise.
16436 (tanh_test_data): Likewise.
16437 (tgamma_test_data): Likewise.
16438 (y0_test_data): Likewise.
16439 (y1_test_data): Likewise.
16440 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16441 (special_real_inputs): Add pi/4.
16442 * sysdeps/i386/fpu/libm-test-ulps: Update.
16443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16444
eb5ad6b9
AZ
164452013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16446
16447 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16448 "longjmp_target" static probes.
16449 (__longjmp): Rename to __longjmp_symbol.
16450 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16451 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16452 on which longjmp to generate.
16453 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16454 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16455 probe.
16456 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16457 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16458 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16459 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16460 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16461 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16463 __longjmp_symbol based on which __longjmp to generate.
16464 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16465 probe.
16466 (setjmp): Rename to setjmp_symbol.
16467 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16468 (_setjmp): Rename to _setjmp_symbol.
16469 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16470 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16471 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16472 which setjmp to generate.
16473 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16474 "longjmp_target" static probes.
16475
d136c6dc
SP
164762013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16477
9298ecba
SP
16478 * benchtests/README: Add note about output arguments.
16479 * benchtests/bench-sincos.c: Remove file.
16480 * benchtests/sincos-inputs: New file.
16481 * scripts/bench.pl: Identify output arguments and define
16482 static variables for them.
16483
232983e9
SP
16484 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16485
d136c6dc
SP
16486 [BZ #15941]
16487 * Makefile (INSTALL): Add install-plain.texi as the primary
16488 dependency.
16489 * manual/install-plain.texi: New file.
16490 * manual/install.texi: Include node directive only for
16491 non-plaintext output.
16492
699ff837
JM
164932013-12-04 Joseph Myers <joseph@codesourcery.com>
16494
ab07cea8
JM
16495 * stdlib/longlong.h: Update from GCC.
16496
699ff837
JM
16497 [BZ #6807]
16498 [BZ #15901]
16499 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16500 * math/w_j0f.c (y0f): Likewise.
16501 * math/w_j0l.c (__y0l): Likewise.
16502 * math/w_j1.c (y1): Likewise.
16503 * math/w_j1f.c (y1f): Likewise.
16504 * math/w_j1l.c (__y1l): Likewise
16505 * math/w_jn.c (yn): Likewise.
16506 * math/w_jnf.c (ynf): Likewise.
16507 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16508 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16509 value for Bessel function domain errors outside _SVID_ mode.
16510 Adjust sign of return value for yn (negative integer, 0).
16511 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16512 by zero in return for negative x and set sign appropriately for
16513 negative n.
16514 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16515 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16516 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16517 expectations in error cases.
16518 (y1_test_data): Likewise.
16519 (yn_test_data): Likewise.
16520 * sysdeps/i386/fpu/libm-test-ulps: Update.
16521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16522
5b118558
UW
165232013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16524
16525 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16526 "64" to "64-v1". Add "64-v2".
16527 (abi-64-options): Rename to ...
16528 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16529 (abi-64-condition): Rename to ...
16530 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16531 (abi-64-ld-soname): Rename to ...
16532 (abi-64-v1-ld-soname): ... this.
16533 (abi-64-v2-options): Define.
16534 (abi-64-v2-condition): Likewise.
16535 (abi-64-v2-ld-soname): Likewise.
16536 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16537 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16541
61cd8fe4
UW
165422013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16543 Alan Modra <amodra@gmail.com>
16544
16545 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16546 New versions for use with the ELFv2 ABI.
16547 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16548 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16549 declaration.
16550 (struct La_ppc64v2_retval): Likewise.
16551 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16552 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16553 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16554 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16555 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16556 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16557 Do not save or restore CR.
16558 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16559 (_dl_profile_resolve): Do no save or restore CR. Support extended
16560 return values for ELFv2 ABI. Fix location of FPR return registers.
16561 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16562 updated values for _CALL_ELF == 2.
16563 (La_regs, La_retval, int_retval): Likewise.
16564
8b8a692c
UW
165652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16566
16567 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16568 (FRAME_MIN_SIZE_PARM): Likewise.
16569 (FRAME_BACKCHAIN): Likewise.
16570 (FRAME_CR_SAVE): Likewise.
16571 (FRAME_LR_SAVE): Likewise.
16572 (FRAME_TOC_SAVE): Likewise.
16573 (FRAME_PARM_SAVE): Likewise.
16574 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16575 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16576 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16577 (call_mcount_parm_offset): New macro.
16578 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16579 (PROF): Use symbolic stack frame offsets.
16580 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16581 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16582 Redefine in terms of FRAME_MIN_SIZE.
16583 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16584 (_dl_profile_resolve): Likewise. Update comment.
16585 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16586 symbols stack frame offsets.
16587 (__sigsetjmp): Likewise.
16588 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16589 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16590 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16591 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16592
16593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16594 (FRAME_BACKCHAIN): Remove.
16595 (FRAME_CR_SAVE): Likewise.
16596 (FRAME_LR_SAVE): Likewise.
16597 (FRAME_COMPILER_DW): Likewise.
16598 (FRAME_LINKER_DW): Likewise.
16599 (FRAME_TOC_SAVE): Likewise.
16600 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16601 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16602 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16603 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16605 (CHECK_SP): Use symbolic stack frame offsets.
16606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16607 zone" instead of caller's parameter save area for temp storage.
16608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16609 Likewise. Also, use symbolic stack frame offsets.
16610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16611 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16612 our own stack frame instead of the caller's.
16613 (__socket): Use symbolic stack frame offsets.
16614
122b66de
UW
166152013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16616 Alan Modra <amodra@gmail.com>
16617
16618 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16619 Define.
57f41c40
AS
16620 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16621 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16622 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16623 New function.
16624 (elf_machine_fixup_plt): Call it.
16625 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16626 reloc arguments.
16627 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16628 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16629 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16630 r2 before calling target.
16631
696caf1d
UW
166322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16633 Alan Modra <amodra@gmail.com>
16634
16635 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16636 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16637 versions of macros to support ELFv2 ABI.
16638 (LOCALENTRY): New macro.
16639 (ENTRY, EALIGN): Use it.
16640 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16641 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16642 fall through into ENTRY entry point.
16643 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16644 Only define if _CALL_ELF != 2.
16645
16646 (elf_machine_matches_host): Verify ABI version matches.
16647 (RTLD_START): Use LOCALENTRY.
16648 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16649 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16650 (PLT_ENTRY_WORDS): New macro.
16651 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16652 (elf_machine_runtime_setup): Support ELFv2 ABI.
16653 (elf_machine_fixup_plt): Likewise.
16654 (elf_machine_plt_conflict): Likewise.
16655 (resolve_ifunc): Likewise.
16656 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16657 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16658 Likewise.
16659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16660 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16662 (makecontext): Support ELFv2 ABI.
16663 * elf/elf.h (EF_PPC64_ABI): Define.
16664
d31beafa
UW
166652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16666
57f41c40
AS
16667 * sysdeps/powerpc/powerpc64/sysdep.h
16668 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16669 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16670 (ENTRY) [ASSEMBLER]: ... but instead here ...
16671 (EALIGN) [ASSEMBLER]: ... and here.
16672 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16673 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16674 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16675 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16676 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16677 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16678 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16679 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16681 Use PPC64_LOAD_FUNCPTR.
16682
b525166b
UW
16683 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16684
7ec07d9a
AM
166852013-12-04 Alan Modra <amodra@gmail.com>
16686
16687 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16688 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16689 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16690 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16691
16692 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16693 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16694 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16695 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16696 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16697 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16698
5162e7dd
UW
166992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16700
16701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16702 (__makecontext): Fix incorrect CFI when backtracing out of
16703 context created via makecontext.
16704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16705 (__setcontext): Fix incorrect CFI during switch to new context.
16706 (__novec_setcontext): Likewise.
16707
19e3372b
OB
167082013-12-04 Ondřej Bílka <neleai@seznam.cz>
16709
16710 [BZ #4772]
16711 * time/strptime_l.c (__strptime_internal): Allow modifiers
16712 in strptime.
16713 * time/tst-strptime.c (day_tests): Add testcase.
16714
ecaf142d
SP
167152013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16716
16717 * scripts/bench.pl: Skip over blank lines.
16718
fbf964ae
PE
167192013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16720
16721 [BZ #926]
16722 * manual/time.texi (Calendar Time): Clarify what timezone functions
16723 use.
16724
fa60a674
AZ
167252013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16726
16727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16728
d674f0ef
OB
167292013-12-04 Ondřej Bílka <neleai@seznam.cz>
16730
16731 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16732 implementation.
16733 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16734 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16735 * debug/memset_chk.c (__memset_chk): Likewise.
16736 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16737 * debug/strncpy_chk.c: Likewise.
16738
17dea188
JM
167392013-12-03 Joseph Myers <joseph@codesourcery.com>
16740
749008ff
JM
16741 [BZ #15268]
16742 [BZ #15425]
16743 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16744 (__ieee754_exp): For possibly underflowing results, check size of
16745 result and force underflow exception if required.
16746 * math/auto-libm-test-in: Add more tests of exp.
16747 * math/auto-libm-test-out: Regenerated.
16748 * sysdeps/i386/fpu/libm-test-ulps: Update.
16749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16750
17dea188
JM
16751 [BZ #16283]
16752 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16753 * math/w_exp2f.c (__exp2f): Likewise.
16754 * math/w_exp2l.c (__exp2l): Likewise.
16755 * math/auto-libm-test-in: Do not allow missing errno on exp2
16756 underflow.
16757 * math/auto-libm-test-out: Regenerated.
16758
b20de2c3
OB
167592013-12-03 Ondřej Bílka <neleai@seznam.cz>
16760
16761 [BZ #16274]
16762 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16763 handle filename validation.
16764 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16765 (do_open): Delete.
16766
d8e2dbe3
JM
167672013-12-03 Joseph Myers <joseph@codesourcery.com>
16768
34e16df5
JM
16769 [BZ #6786]
16770 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16771 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16772 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16773 <float.h>.
16774 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16775 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16776 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16777 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16778 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16779 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16780 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16781 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16782 Add more erfc tests.
16783 * math/auto-libm-test-out: Regenerated.
16784 * sysdeps/i386/fpu/libm-test-ulps: Update.
16785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16786
d8e2dbe3
JM
16787 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16788 exp2, expm1, j0 and j1.
16789 * math/auto-libm-test-out: Regenerated.
16790 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16791 (erfc_test_data): Likewise.
16792 (exp_test_data): Likewise.
16793 (exp_tonearest_test_data): Likewise.
16794 (exp_towardzero_test_data): Likewise.
16795 (exp_downward_test_data): Likewise.
16796 (exp_upward_test_data): Likewise.
16797 (exp10_test_data): Likewise.
16798 (exp2_test_data): Likewise.
16799 (expm1_test_data): Likewise.
16800 (j0_test_data): Likewise.
16801 (j1_test_data): Likewise.
16802 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16803 (input_flag_type): Add flag_xfail_rounding.
16804 (input_flags): Add xfail-rounding.
16805 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16806 (output_for_one_input_case): Handle flag_xfail_rounding.
16807 * sysdeps/i386/fpu/libm-test-ulps: Update.
16808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16809
18d14251
AJ
168102013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16811
3d2e6075 16812 [BZ #16289]
18d14251
AJ
16813 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16814 division by 0.
16815
520d437b
SP
168162013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16817
16818 [BZ #16195]
16819 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16820 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16821 (STAP_PROBE0): New macro.
16822 (STAP_PROBE1): Likewise.
16823 (STAP_PROBE2): Likewise.
16824 (STAP_PROBE3): Likewise.
16825 (STAP_PROBE4): Likewise.
16826
416e0145
OB
168272013-12-02 Ondřej Bílka <neleai@seznam.cz>
16828
16829 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16830
9d17796a
SE
168312013-12-02 Steve Ellcey <sellcey@mips.com>
16832
16833 * benchtests/Makefile (bench): Add sqrt.
16834 (LDLIBS-bench-sqrt): New.
16835 * benchtests/sqrt-input: New.
16836
f524d6a8
PS
168372013-12-02 Pavel Simerda <psimerda@redhat.com>
16838
639a0ef8
PS
16839 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16840 (GAIH_EAI): Likewise.
16841 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16842 (gaih_inet): Likewise.
16843 (getaddrinfo): Don't use GAIH_EAI.
16844
f524d6a8
PS
16845 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16846 (struct gaih): Remove definition.
16847
df3aedaf
SP
168482013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16849
16850 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16851 Use HERRNOP directly.
16852
1ab19dec
AZ
168532013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16854
b42ad38d 16855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16856
176b0c79
JM
168572013-11-30 Joseph Myers <joseph@codesourcery.com>
16858
16859 * math/gen-auto-libm-tests.c (test_functions): Add more
16860 single-argument functions.
16861 (special_fill_pi_2): New function.
16862 (special_fill_minus_pi_2): Likewise.
16863 (special_fill_pi_6): Likewise.
16864 (special_fill_minus_pi_6): Likewise.
16865 (special_fill_pi_3): Likewise.
16866 (special_fill_2pi_3): Likewise.
16867 (special_fill_e): Likewise.
16868 (special_fill_1_e): Likewise.
16869 (special_fill_e_minus_1): Likewise.
16870 (special_real_inputs): Add more special inputs.
16871 (output_for_one_input_case): Do not require ERANGE on underflow to
16872 zero if round-to-nearest result does not underflow to zero, unless
16873 exact results required.
16874 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16875 atan, atanh, cbrt, cos and cosh.
16876 * math/auto-libm-test-out: Regenerated.
16877 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16878 (acos_tonearest_test_data): Likewise.
16879 (acos_towardzero_test_data): Likewise.
16880 (acos_downward_test_data): Likewise.
16881 (acos_upward_test_data): Likewise.
16882 (acosh_test_data): Likewise.
16883 (asin_test_data): Likewise.
16884 (asin_tonearest_test_data): Likewise.
16885 (asin_towardzero_test_data): Likewise.
16886 (asin_upward_test_data): Likewise.
16887 (asinh_test_data): Likewise.
16888 (atan_test_data): Likewise.
16889 (atanh_test_data): Likewise.
16890 (cbrt_test_data): Likewise.
16891 (cos_test_data): Likewise.
16892 (cos_tonearest_test_data): Likewise.
16893 (cos_towardzero_test_data): Likewise.
16894 (cos_downward_test_data): Likewise.
16895 (cos_upward_test_data): Likewise.
16896 (cosh_test_data): Likewise.
16897 (cosh_tonearest_test_data): Likewise.
16898 (cosh_towardzero_test_data): Likewise.
16899 (cosh_downward_test_data): Likewise.
16900 (cosh_upward_test_data): Likewise.
16901 * sysdeps/i386/fpu/libm-test-ulps: Update.
16902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16903
ffb536d0
JM
169042013-11-29 Joseph Myers <joseph@codesourcery.com>
16905
2a77a467
JM
16906 [BZ #6787]
16907 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16908 * math/w_exp10f.c (__exp10f): Likewise.
16909 * math/w_exp10l.c (__exp10l): Likewise.
16910 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16911 errno settings in existing tests.
16912
ea3bc4e8
JM
16913 [BZ #14032]
16914 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16915 precision control set to double precision.
16916 * sysdeps/i386/fpu/w_sqrt.c: New file.
16917 * math/auto-libm-test-in: Add more tests.
16918 * math/auto-libm-test-out: Update.
16919
0712c9d8
JM
16920 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16921 (sqrt_test_tonearest): New function.
16922 (sqrt_towardzero_test_data): New variable.
16923 (sqrt_test_towardzero): New function.
16924 (sqrt_downward_test_data): New variable.
16925 (sqrt_test_downward): New function.
16926 (sqrt_upward_test_data): New variable.
16927 (sqrt_test_upward): New function.
16928 (main): Call the new functions.
16929
ffb536d0
JM
16930 * math/gen-auto-libm-tests.c: New file.
16931 * math/auto-libm-test-in: Likewise.
16932 * math/auto-libm-test-out: New generated file.
16933 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16934 variables.
16935 (%beautify): Add generated representations of zero.
16936 (top level): Set $auto_input and call parse_auto_input.
16937 (beautify): Remove trailing "f" from hex float constants.
16938 (parse_args): Handle XFAIL_TEST.
16939 (convert_condition): New function.
16940 (or_value): Likewise.
16941 (or_cond_value): Likewise.
16942 (generate_testfile): Handle AUTO_TESTS_* lines.
16943 (parse_auto_input): New function.
16944 * math/libm-test.inc (XFAIL_TEST): New macro.
16945 (ERRNO_UNCHANGED): Update value.
16946 (ERRNO_EDOM): Likewise.
16947 (ERRNO_ERANGE): Likewise.
16948 (IGNORE_RESULT): Likewise.
16949 (TEST_COND_flt_32): New macro.
16950 (TEST_COND_dbl_64): Likewise.
16951 (TEST_COND_ldbl_96_intel): Likewise.
16952 (TEST_COND_ldbl_96_m68k): Likewise.
16953 (TEST_COND_ldbl_128): Likewise.
16954 (TEST_COND_ldbl_128ibm): Likewise.
16955 (TEST_COND_long32): Likewise.
16956 (TEST_COND_long64): Likewise.
16957 (TEST_COND_before_rounding): Likewise.
16958 (TEST_COND_after_rounding): Likewise.
16959 (enable_test): Handle XFAIL_TEST flag.
16960 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16961 with finite results.
16962 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16963 auto-libm-test-out.
16964
acd98a8e
AK
169652013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16966 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16967
16968 [BZ #16214]
16969 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16970 __tls_get_addr_internal instead of __tls_get_offset in order to
16971 avoid GOT pointer dependency. Make rtld export
16972 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16973 __tls_get_addr since we are a __tls_get_offset platform.
16974 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16975 GOT pointer being set up before.
16976 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16977
3c1c46a6
JM
169782013-11-28 Joseph Myers <joseph@codesourcery.com>
16979
7475aef5
JM
16980 * manual/math.texi (Errors in Math Functions): Document accuracy
16981 goals.
16982
8bca7cd8
JM
16983 [BZ #15004]
16984 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16985 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16986 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16987 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16988 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16989 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16990 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16991 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16992 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16993 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16994 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16995 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16996 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16997 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16998 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16999 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17000
91a1f3fe
JM
17001 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17002 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17003 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17004 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17005 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17006 Likewise.
17007 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17008 Likewise.
17009 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17010 Likewise.
17011 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17012 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17013 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17014 atomic-feupdateenv and flt-rounds.
17015 * sysdeps/powerpc/nofpu/Versions (libc): Add
17016 __atomic_feholdexcept, __atomic_feclearexcept,
17017 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17018 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17019 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17020 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17021 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17022 here.
17023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17024 Update.
17025
c5df7609
JM
17026 * manual/arith.texi (FP Exceptions): Document that exceptions may
17027 not be raised when matherr is used.
17028 (Math Error Reporting): Document overflow in directed rounding
17029 modes. Document that errno may not be set when finite values are
17030 returned on overflow. Document intent to set errno on underflow
17031 only for underflow to zero.
17032
3c1c46a6
JM
17033 [BZ #16271]
17034 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17035 round-to-nearest then adjust result for other rounding modes.
17036 * include/fenv.h (fegetround): Use libm_hidden_proto.
17037 * math/fegetround.c (fegetround): Use libm_hidden_def.
17038 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17039 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17040 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17041 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17042 Likewise.
17043 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17044 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17045 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17046 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17047
5a4c6d53
SP
170482013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17049
17050 [BZ #16077]
17051 * nss/Versions (libnss_files): Add
17052 _nss_files_gethostbyname3_r.
17053 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17054 New function.
17055 (HOST_DB_LOOKUP): Remove macro.
17056 (_nss_files_gethostbyname_r): Implement function without the
17057 HOST_DB_LOOKUP macro.
17058 (_nss_files_gethostbyname2_r): Likewise.
17059
897b98ba
OB
170602013-11-28 Ondřej Bílka <neleai@seznam.cz>
17061
17062 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17063
6f476861
UB
170642013-11-26 Uros Bizjak <ubizjak@gmail.com>
17065
17066 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17067 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17068 warning.
17069
bd12ab55
AZ
170702013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17071
17072 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17073 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17074 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17075 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17076 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17077 __fe_nomask_env_priv and attribute_hidden.
17078 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17079 (libc_feupdateenv_test_ppc): Likewise.
17080 (libc_feresetround_ppc): Likewise.
17081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17082 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17083 compat_symbol macro.
17084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17085 (__fe_nomask_env): Likewise.
17086 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17087
52bb6543
OB
170882013-11-26 Ondřej Bílka <neleai@seznam.cz>
17089
17090 * string/Makefile: Remove ifunc tests.
17091 * string/test-string.h: Define TEST_IFUNC.
17092 * string/test-bcopy-ifunc.c: Remove.
17093 * string/test-bzero-ifunc.c: Likewise.
17094 * string/test-memccpy-ifunc.c: Likewise.
17095 * string/test-memchr-ifunc.c: Likewise.
17096 * string/test-memcmp-ifunc.c: Likewise.
17097 * string/test-memcpy-ifunc.c: Likewise.
17098 * string/test-memmem-ifunc.c: Likewise.
17099 * string/test-memmove-ifunc.c: Likewise.
17100 * string/test-mempcpy-ifunc.c: Likewise.
17101 * string/test-memrchr-ifunc.c: Likewise.
17102 * string/test-memset-ifunc.c: Likewise.
17103 * string/test-rawmemchr-ifunc.c: Likewise.
17104 * string/test-stpcpy-ifunc.c: Likewise.
17105 * string/test-stpncpy-ifunc.c: Likewise.
17106 * string/test-strcasecmp-ifunc.c: Likewise.
17107 * string/test-strcasestr-ifunc.c: Likewise.
17108 * string/test-strcat-ifunc.c: Likewise.
17109 * string/test-strchr-ifunc.c: Likewise.
17110 * string/test-strchrnul-ifunc.c: Likewise.
17111 * string/test-strcmp-ifunc.c: Likewise.
17112 * string/test-strcpy-ifunc.c: Likewise.
17113 * string/test-strcspn-ifunc.c: Likewise.
17114 * string/test-strlen-ifunc.c: Likewise.
17115 * string/test-strncasecmp-ifunc.c: Likewise.
17116 * string/test-strncat-ifunc.c: Likewise.
17117 * string/test-strncmp-ifunc.c: Likewise.
17118 * string/test-strncpy-ifunc.c: Likewise.
17119 * string/test-strnlen-ifunc.c: Likewise.
17120 * string/test-strpbrk-ifunc.c: Likewise.
17121 * string/test-strrchr-ifunc.c: Likewise.
17122 * string/test-strspn-ifunc.c: Likewise.
17123 * string/test-strstr-ifunc.c: Likewise.
17124
ab260039 171252013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
17126
17127 * benchtests/Makefile: Remove ifunc tests.
17128 * benchtests/bench-string.h: Define TEST_IFUNC.
17129 * benchtests/bench-bcopy-ifunc.c: Remove.
17130 * benchtests/bench-bzero-ifunc.c: Likewise.
17131 * benchtests/bench-memccpy-ifunc.c: Likewise.
17132 * benchtests/bench-memchr-ifunc.c: Likewise.
17133 * benchtests/bench-memcmp-ifunc.c: Likewise.
17134 * benchtests/bench-memcpy-ifunc.c: Likewise.
17135 * benchtests/bench-memmem-ifunc.c: Likewise.
17136 * benchtests/bench-memmove-ifunc.c: Likewise.
17137 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17138 * benchtests/bench-memrchr-ifunc.c: Likewise.
17139 * benchtests/bench-memset-ifunc.c: Likewise.
17140 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17141 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17142 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17143 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17144 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17145 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17146 * benchtests/bench-strcat-ifunc.c: Likewise.
17147 * benchtests/bench-strchr-ifunc.c: Likewise.
17148 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17149 * benchtests/bench-strcmp-ifunc.c: Likewise.
17150 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17151 * benchtests/bench-strcpy-ifunc.c: Likewise.
17152 * benchtests/bench-strcspn-ifunc.c: Likewise.
17153 * benchtests/bench-strlen-ifunc.c: Likewise.
17154 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17155 * benchtests/bench-strncat-ifunc.c: Likewise.
17156 * benchtests/bench-strncmp-ifunc.c: Likewise.
17157 * benchtests/bench-strncpy-ifunc.c: Likewise.
17158 * benchtests/bench-strnlen-ifunc.c: Likewise.
17159 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17160 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 17161 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
17162 * benchtests/bench-strspn-ifunc.c: Likewise.
17163 * benchtests/bench-strstr-ifunc.c: Likewise.
17164
171652013-11-26 Ondřej Bílka <neleai@seznam.cz>
17166
ab260039
OB
17167 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17168
d1d9eaf4 171692013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 17170
d1d9eaf4
OB
17171 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17172 * rt/aio.h: Likewise.
17173 * sysdeps/gnu/bits/utmp.h: Likewise.
17174 * sysdeps/gnu/bits/utmpx.h: Likewise.
17175 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17176 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17177 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17178 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17179 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17180 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17181 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17182 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17183 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17184 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17185 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17186 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17187 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17189 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17190 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17191 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17192 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17193 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17194 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17195 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17196 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17197 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17198 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17199 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17201 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17202 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17203 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17204 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17205 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17206 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17207 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17208 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17209 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17210 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17211 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17212 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17213 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17214 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17215 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17216 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17217
a7624ed9
CD
172182013-11-25 Carlos O'Donell <carlos@redhat.com>
17219
17220 [BZ #16245]
17221 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17222 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17223
63cfe52b
JM
172242013-11-25 Joseph Myers <joseph@codesourcery.com>
17225
17226 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17227 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17228 Likewise.
17229
41e8926a
AZ
172302013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17231
17232 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17233 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17234 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17235 (__fesetround): Remove define.
17236 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17237 rounding and exceptions handling.
17238 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17239 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17240 (__fe_nomask_env): Likewise.
17241 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17242 __fegetround instead of fegetround.
17243 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17244 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17245
6851bd4d
RM
172462013-11-21 Roland McGrath <roland@hack.frob.com>
17247
070906ff
RM
17248 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17249 it's there.
17250
6851bd4d
RM
17251 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17252
84ae135d
MI
172532013-11-21 Meador Inge <meadori@codesourcery.com>
17254
17255 [BZ #11157]
17256 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17257 (encrypt_r): Likewise.
17258 * malloc/obstack.h (obstack_free): Likewise.
17259 * posix/unistd.h (encrypt): Likewise.
17260
daf75146
GM
172612013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17262
17263 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17264 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17265 DL_CALL_DT_FINI() that call the functions directly.
17266 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17267 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17268 * elf/dl-fini.c: Likewise.
17269
10ad46bc
OB
172702013-11-20 Ondřej Bílka <neleai@seznam.cz>
17271
17272 * malloc/hooks.c (memalign_check): Add alignment rounding.
17273 * malloc/malloc.c (_mid_memalign): New function.
17274 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17275 Implement by calling _mid_memalign.
17276 * manual/probes.texi (Memory Allocation Probes): Remove
17277 memory_valloc_retry and memory_pvalloc_retry.
17278
f3fd2628
SP
172792013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17280
4712799f
SP
17281 * locale/programs/locarchive.c (open_archive): Add const
17282 qualifier to ARCHIVEFNAME and copy default fname to
17283 DEFAULT_FNAME.
17284
0417b20f
SP
17285 [BZ #15601]
17286 * libio/tst-widetext.input: Rename Oriya to Odia.
17287 * locale/iso-639.def: Likewise.
17288
f3fd2628
SP
17289 * manual/probes.texi (Mathematical Function Probes): Add
17290 documentation for sin, cos, asin and acos probes.
17291 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17292 (__sin32): Add slowasin probe.
17293 (__cos32): Add slowacos probe.
17294 (__mpsin): Add slowsin probe.
17295 (__mpcos): Add slowcos probe.
17296
73c1ce4f
JM
172972013-11-19 Joseph Myers <joseph@codesourcery.com>
17298
17299 [BZ #15483]
17300 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17301 thread-local __sim_exceptions_thread and global
17302 __sim_exceptions_global.
17303 (__sim_disabled_exceptions): Change to thread-local
17304 __sim_disabled_exceptions_thread and global
17305 __sim_disabled_exceptions_global.
17306 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17307 and global __sim_round_mode_global.
17308 (__simulate_exceptions): Use thread-local floating-point state and
17309 set global state from it as needed.
17310 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17311 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17312 __sim_round_mode_thread.
17313 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17314 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17315 and global __sim_exceptions_global.
17316 (__sim_disabled_exceptions): Change to thread-local
17317 __sim_disabled_exceptions_thread and global
17318 __sim_disabled_exceptions_global.
17319 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17320 and global __sim_round_mode_global.
17321 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17322 (SIM_SET_GLOBAL): Likewise.
17323 * sysdeps/powerpc/soft-fp/sfp-machine.h
17324 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17325 __sim_round_mode_thread.
17326 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17327 __sim_disabled_exceptions_thread.
17328 (__sim_exceptions): Change to __sim_exceptions_thread.
17329 (__sim_disabled_exceptions): Change to
17330 __sim_disabled_exceptions_thread.
17331 (__sim_round_mode): Change to __sim_round_mode_thread.
17332 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17333 thread-local floating-point state and set global state from it as
17334 needed.
17335 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17336 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17337 (__sim_disabled_exceptions): Remove extern declaration.
17338 (feenableexcept): Use thread-local floating-point state and set
17339 global state from it as needed.
17340 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17341 extern declaration.
17342 (__sim_disabled_exceptions): Likewise.
17343 (__sim_round_mode): Likewise.
17344 (__fegetenv): Use thread-local floating-point state.
17345 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17346 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17347 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17348 floating-point state and set global state from it as needed.
17349 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17350 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17351 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17352 Likewise.
17353 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17354 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17355 Likewise.
17356 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17357 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17358 Use __sim_round_mode_thread.
17359 * math/test-fenv-tls.c: New file.
17360 * math/Makefile (tests): Add test-fenv-tls.
17361 ($(objpfx)test-fenv-tls): Depend on
17362 $(common-objpfx)nptl/libpthread.so.
17363
b5449b12
AS
173642013-11-19 Andreas Schwab <schwab@suse.de>
17365
17366 * locale/programs/locale.c (show_info): Decode wordarray elements.
17367 * locale/categories.def (LC_MONETARY): Add element for
17368 _NL_MONETARY_CRNCYSTR.
17369 * locale/C-monetary.c (conversion_rate): New variable.
17370 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17371 element.
17372
e186536b
CM
173732013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17374
17375 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17376 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17377
5c349950
PP
173782013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17379
17380 * elf/Makefile (tst-auxv): New test.
17381 * elf/tst-auxv.c: New
17382 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17383
699df45b
JM
173842013-11-18 Joseph Myers <joseph@codesourcery.com>
17385
17386 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17387 (hidden_proto): Caller changed.
17388 (hidden_tls_proto): New macro.
17389 (libc_hidden_tls_proto): Likewise.
17390 (rtld_hidden_tls_proto): Likewise.
17391 (libm_hidden_tls_proto): Likewise.
17392 (libresolv_hidden_tls_proto): Likewise.
17393 (librt_hidden_tls_proto): Likewise.
17394 (libdl_hidden_tls_proto): Likewise.
17395 (libnss_files_hidden_tls_proto): Likewise.
17396 (libnsl_hidden_tls_proto): Likewise.
17397 (libnss_nisplus_hidden_tls_proto): Likewise.
17398 (libutil_hidden_tls_proto): Likewise.
17399
b7589107
OB
174002013-11-18 Ondřej Bílka <neleai@seznam.cz>
17401
17402 [BZ #10253]
17403 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17404 (decompose_rpath): Defer expansion to fillin_rpath.
17405 (_dl_init_paths): Pass linkmap to fillin_rpath.
17406
250c23bd
RS
174072013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17408
17409 * benchtests/Makefile: Add strsep.
17410 * benchtests/bench-strsep.c: New file: strsep benchtest.
17411 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17412
a7931fcf
AS
174132013-11-18 Andreas Schwab <schwab@suse.de>
17414
17415 * locale/programs/locale.c (show_info) [case byte]: Check for
17416 '\377' instead of '\177'.
17417 * locale/C-monetary.c (not_available): Always use "\377".
17418 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17419 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17420 detect unavailable sign_posn locale elements.
17421 * locale/localeconv.c (__localeconv): For grouping and
17422 mon_grouping handle "\177" and "\377" like no grouping.
17423 (INT_ELEM): New macro. Use it to set all numeric members.
17424 * locale/programs/ld-monetary.c (monetary_read)
17425 <tok_mon_grouping>: Normalize single -1 to the empty string.
17426 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17427 Likewise.
17428
728dab0e
OB
174292013-11-07 Ondřej Bílka <neleai@seznam.cz>
17430
17431 [BZ #16055]
17432 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17433 when we match (nil).
17434 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17435
66294491
JM
174362013-11-16 Joseph Myers <joseph@codesourcery.com>
17437
ce665817
JM
17438 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17439 (NO_TEST_INLINE): Update value.
17440 (ERRNO_UNCHANGED): Likewise.
17441 (ERRNO_EDOM): Likewise.
17442 (ERRNO_ERANGE): Likewise.
17443 (IGNORE_RESULT): Likewise.
17444 (check_float_internal): Check signs of NaN results if
17445 TEST_NAN_SIGN used.
17446 (check_complex): Pass TEST_NAN_SIGN flag through to second
17447 check_float_internal call.
17448 (copysign_test_data): Add tests with quiet NaNs as second
17449 argument. Use TEST_NAN_SIGN.
17450 (fabs_test_data): Add test of negative quiet NaN argument. Use
17451 TEST_NAN_SIGN.
17452 (signbit_test_data): Add tests of quiet NaN argument.
17453 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17454
ee1466a9
JM
17455 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17456 $ignore_result.
17457 (parse_args): Handle function results specified as IGNORE.
17458 * math/libm-test.inc (IGNORE_RESULT): New macro.
17459 (check_float_internal): Do not check numerical result if flag
17460 IGNORE_RESULT set.
17461 (check_complex): Pass through IGNORE_RESULT to second
17462 check_float_internal call.
17463 (check_int): Do not check numerical result if flag IGNORE_RESULT
17464 set.
17465 (check_long): Likewise.
17466 (check_bool): Likewise.
17467 (check_longlong): Likewise.
17468 (lrint_test_data): Add tests of infinite and NaN arguments.
17469 (lrint_tonearest_test_data): Likewise.
17470 (lrint_towardzero_test_data): Likewise.
17471 (lrint_downward_test_data): Likewise.
17472 (lrint_upward_test_data): Likewise.
17473 (llrint_test_data): Likewise.
17474 (llrint_tonearest_test_data): Likewise.
17475 (llrint_towardzero_test_data): Likewise.
17476 (llrint_downward_test_data): Likewise.
17477 (llrint_upward_test_data): Likewise.
17478 (lround_test_data): Likewise.
17479 (llround_test_data): Likewise.
17480
14407b7e
JM
17481 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17482 (ERRNO_UNCHANGED): Update value.
17483 (ERRNO_EDOM): Likewise.
17484 (ERRNO_ERANGE): Likewise.
17485 (NO_TEST_INLINE_FLOAT): New macro.
17486 (NO_TEST_INLINE_DOUBLE): Likewise.
17487 (enable_test): New function.
17488 (RUN_TEST_f_f): Check enable_test before running test.
17489 (RUN_TEST_2_f): Likewise.
17490 (RUN_TEST_fff_f): Likewise.
17491 (RUN_TEST_c_f): Likewise.
17492 (RUN_TEST_f_f1): Likewise.
17493 (RUN_TEST_fF_f1): Likewise.
17494 (RUN_TEST_fI_f1): Likewise.
17495 (RUN_TEST_ffI_f1): Likewise.
17496 (RUN_TEST_c_c): Likewise.
17497 (RUN_TEST_cc_c): Likewise.
17498 (RUN_TEST_f_i): Likewise.
17499 (RUN_TEST_f_i_tg): Likewise.
17500 (RUN_TEST_ff_i_tg): Likewise.
17501 (RUN_TEST_f_b): Likewise.
17502 (RUN_TEST_f_b_tg): Likewise.
17503 (RUN_TEST_f_l): Likewise.
17504 (RUN_TEST_f_L): Likewise.
17505 (RUN_TEST_fFF_11): Likewise.
17506 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17507 conditionals.
17508 (cosh_test_data): Likewise.
17509 (exp_test_data): Likewise.
17510 (expm1_test_data): Likewise.
17511 (hypot_test_data): Likewise.
17512 (pow_test_data): Likewise.
17513 (sinh_test_data): Likewise.
17514 (tanh_test_data): Likewise.
17515 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17516 flags argument.
17517
ca07f197
JM
17518 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17519 tests with quiet NaN input and output.
17520 (acosh_test_data): Likewise.
17521 (asin_test_data): Likewise.
17522 (asinh_test_data): Likewise.
17523 (atan_test_data): Likewise.
17524 (atanh_test_data): Likewise.
17525 (atan2_test_data): Likewise.
17526 (cbrt_test_data): Likewise.
17527 (cos_test_data): Likewise.
17528 (cosh_test_data): Likewise.
17529 (erf_test_data): Likewise.
17530 (erfc_test_data): Likewise.
17531 (exp_test_data): Likewise.
17532 (exp10_test_data): Likewise.
17533 (exp2_test_data): Likewise.
17534 (expm1_test_data): Likewise.
17535 (hypot_test_data): Likewise.
17536 (j0_test_data): Likewise.
17537 (j1_test_data): Likewise.
17538 (jn_test_data): Likewise.
17539 (lgamma_test_data): Likewise.
17540 (log_test_data): Likewise.
17541 (log10_test_data): Likewise.
17542 (log1p_test_data): Likewise.
17543 (log2_test_data): Likewise.
17544 (pow_test_data): Likewise.
17545 (scalb_test_data): Likewise.
17546 (sin_test_data): Likewise.
17547 (sincos_test_data): Likewise.
17548 (sinh_test_data): Likewise.
17549 (tan_test_data): Likewise.
17550 (tanh_test_data): Likewise.
17551 (tgamma_test_data): Likewise.
17552 (y0_test_data): Likewise.
17553 (y1_test_data): Likewise.
17554 (yn_test_data): Likewise.
17555
66294491
JM
17556 [BZ #16167]
17557 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17558 argument being NaN and avoid computations with second argument in
17559 that case.
17560 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17561 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17562 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17563
1820b143
CL
175642013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17565
17566 * locale/iso-639.def: Add Chitwani Tharu (the).
17567
714bd261
AS
175682013-11-14 Andreas Schwab <schwab@suse.de>
17569
17570 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17571 word instead of empty string.
17572
7ab44563
AZ
175732013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17574
17575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17576 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17578 (__fe_nomask_env): Likewise.
17579
e8470ea2
SE
175802013-11-13 Steve Ellcey <sellcey@mips.com>
17581
17582 * benchtests/bench-timing.h: Include time.h.
17583
17c1d9f0
L
175842013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17585
17586 [BZ #15997]
17587 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17588 to 3.4.0 for x32.
17589 * sysdeps/unix/sysv/linux/configure: Regenerated.
17590
9310c284
JM
175912013-11-13 Joseph Myers <joseph@codesourcery.com>
17592
17593 [BZ #16151]
17594 * stdlib/strtod_l.c (round_and_return): Do not consider
17595 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17596 exponent one less than half the least subnormal exponent.
17597 * stdlib/test-strtod-round-data: Add more tests.
17598 * stdlib/tst-strtod-round.c (tests): Regenerated.
17599
7a2ad8cf
AZ
176002013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17601
17602 [BZ #14143]
17603 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17604 (__fe_mask_env): Likewise.
17605 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17606 libm_hidden_proto and add function prototype.
17607 (__fe_mask_env): Add function prototype.
17608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17609 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17611 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17613 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17614
50727aa7
MS
176152013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17616
b2f386c1 17617 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17618 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17619
a615be46
MS
176202013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17621
17622 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17623 of htab_find_slot().
17624
7ddace62
DM
176252013-11-11 David S. Miller <davem@davemloft.net>
17626
17627 [BZ #16150]
17628 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17629 symbol in the non-vis3 case in static builds.
17630 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17631 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17632 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17633 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17634
9182aa67
JK
176352013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17636
17637 [BZ #387]
17638 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17639 it is empty.
17640
450a2e2d
AZ
176412013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17642
b2f386c1
SP
17643 * benchtests/Makefile: Add bench-strtod.
17644 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17645
8ec3f656
AS
176462013-11-11 Andreas Schwab <schwab@suse.de>
17647
17648 [BZ #16153]
17649 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17650 terminating NUL in key length.
17651
76a9b998
AZ
176522013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17653
17654 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17655 Add artificial ODP entry for vDSO symbol for PPC64.
17656 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17657 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17658
e4368156
OB
176592013-11-07 Ondřej Bílka <neleai@seznam.cz>
17660
17661 [BZ #15374]
17662 * nss/getent.c (services_keys): Recognize services starting with digit.
17663
8d6bb57c
DM
176642013-11-06 David S. Miller <davem@davemloft.net>
17665
17666 [BZ #15985]
17667 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17668 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17669
e256c421
WN
176702013-11-06 Will Newton <will.newton@linaro.org>
17671
17672 * manual/memory.texi (Malloc Examples): Remove register
17673 keyword from examples.
17674
f6e12daa 176752013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17676
f6e12daa 17677 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17678
9d880655
AS
176792013-11-04 Joseph Myers <joseph@codesourcery.com>
17680
fd2f9486 17681 [BZ #6981]
9d880655
AS
17682 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17683 depending on [__GCC_IEC_559 > 0].
17684 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17685 depending on [__GCC_IEC_559_COMPLEX > 0].
17686
ae129d3c
CL
176872013-11-03 Chris Leonard <cjl@sugarlabs.org>
17688
17689 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17690 to iso-639.def.
17691
4a15c2a4 176922013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17693
17694 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17695
8b35e35d
OB
176962013-11-01 Ondřej Bílka <neleai@seznam.cz>
17697
17698 [BZ #16112]
17699 * malloc/malloc (malloc_info): Do not handle first bin as
17700 special case.
17701
1d70fd6c
CL
177022013-11-01 Chris Leonard <cjl@sugarlabs.org>
17703
17704 * locale/iso-639.def: Add Central Nahuatl (nhn).
17705
8c5c2600
BH
177062013-11-01 Bruno Haible <bruno@clisp.org>
17707
17708 [BZ #7003]
17709 * manual/math.texi (BSD Random): Specify range upper bound as
17710 in POSIX.
17711
da5579c2
CL
177122013-10-31 Chris Leonard <cjl@sugarlabs.org>
17713
17714 * locale/iso-639.def: Add Meadow Mari (mhr).
17715
5d30d853
OB
177162013-10-31 Ondřej Bílka <neleai@seznam.cz>
17717
17718 [BZ #14752], [BZ #15763]
17719 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17720 Validate name.
17721 * rt/tst_shm.c: Add test for escaping directory.
17722
a4966c61
AS
177232013-10-31 Andreas Schwab <schwab@suse.de>
17724
8a43e768 17725 [BZ #15917]
a4966c61
AS
17726 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17727 followed by 'x' as part of digit sequence.
17728 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17729
28d708c4
MAP
177302013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17731
17732 [BZ #16037]
17733 * configure.ac: allow GNU Make 4.0 and greater.
17734 * configure: Regenerated.
17735
a56ee40b
WN
177362013-10-30 Will Newton <will.newton@linaro.org>
17737
17738 [BZ #16038]
17739 * malloc/hooks.c (memalign_check): Limit alignment to the
17740 maximum representable power of two.
17741 * malloc/malloc.c (__libc_memalign): Likewise.
17742 * malloc/tst-memalign.c (do_test): Add test for very
17743 large alignment values.
17744 * malloc/tst-posix_memalign.c (do_test): Likewise.
17745
c6e4925d
OB
177462013-10-30 Ondřej Bílka <neleai@seznam.cz>
17747
17748 [BZ #11087]
17749 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17750 (munmap_chunk): Likewise.
17751 (mremap_chunk): Likewise.
17752
177532013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17754
8a43e768 17755 [BZ #15799]
bbea82f7
OB
17756 * stdlib/div.c (div): Remove obsolete code.
17757 * stdlib/ldiv.c (ldiv): Likewise.
17758 * stdlib/lldiv.c (lldiv): Likewise.
17759
977f4b31
SP
177602013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17761
17762 [BZ #16071]
17763 * nss/nss_files/files-XXX.c (get_contents_ret): New
17764 enumerator.
17765 (get_contents): New function.
17766 (internal_getent): Use it. Expand size of LINEBUFLEN.
17767
cb8a6dbd
MF
177682013-10-30 Mike Frysinger <vapier@gentoo.org>
17769
17770 * configure.in: Moved to ...
17771 * configure.ac: ... here. Change reference to configure.in
17772 to configure.ac.
17773 * sysdeps/arm/preconfigure.ac: ... here.
17774 configure.in to configure.ac.
17775 * sysdeps/gnu/configure.in: Moved to ...
17776 * sysdeps/gnu/configure.ac: ... here.
17777 * sysdeps/i386/configure.in: Moved to ...
17778 * sysdeps/i386/configure.ac: ... here.
17779 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17780 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17781 * sysdeps/mach/configure.in: Moved to ...
17782 * sysdeps/mach/configure.ac: ... here.
17783 * sysdeps/mach/hurd/configure.in: Moved to ...
17784 * sysdeps/mach/hurd/configure.ac: ... here.
17785 * sysdeps/powerpc/configure.in: Moved to ...
17786 * sysdeps/powerpc/configure.ac: ... here.
17787 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17788 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17789 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17790 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17791 * sysdeps/s390/s390-32/configure.in: Moved to ...
17792 * sysdeps/s390/s390-32/configure.ac: ... here.
17793 * sysdeps/s390/s390-64/configure.in: Moved to ...
17794 * sysdeps/s390/s390-64/configure.ac: ... here.
17795 * sysdeps/sh/configure.in: Moved to ...
17796 * sysdeps/sh/configure.ac: ... here.
17797 * sysdeps/sparc/configure.in: Moved to ...
17798 * sysdeps/sparc/configure.ac: ... here.
17799 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17800 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17801 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17802 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17803 * sysdeps/x86_64/configure.in: Moved to ...
17804 * sysdeps/x86_64/configure.ac: ... here.
17805 * sysdeps/x86_64/preconfigure.in: Moved to ...
17806 * sysdeps/x86_64/preconfigure.ac: ... here.
17807 * aclocal.m4: Change reference to configure.in to configure.ac.
17808 * config.h.in: Likewise.
17809 * manual/install.texi: Likewise.
17810 * manual/maint.texi: Likewise.
17811 * Makefile: Likewise.
17812 * malloc/Makefile: Likewise.
17813 * nscd/Makefile: Likewise.
17814 * Makeconfig: Change reference to configure.in and
17815 preconfigure.in to configure.ac and preconfigure.ac
17816 respectively.
17817 * INSTALL: Regenerated.
17818 * configure: Likewise.
17819 * sysdeps/gnu/configure: Likewise.
17820 * sysdeps/i386/configure: Likewise.
17821 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17822 * sysdeps/mach/configure: Likewise.
17823 * sysdeps/mach/hurd/configure: Likewise.
17824 * sysdeps/powerpc/configure: Likewise.
17825 * sysdeps/powerpc/powerpc32/configure: Likewise.
17826 * sysdeps/powerpc/powerpc64/configure: Likewise.
17827 * sysdeps/s390/s390-32/configure: Likewise.
17828 * sysdeps/s390/s390-64/configure: Likewise.
17829 * sysdeps/sh/configure: Likewise.
17830 * sysdeps/sparc/configure: Likewise.
17831 * sysdeps/unix/sysv/linux/configure: Likewise.
17832 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17833 * sysdeps/x86_64/configure: Likewise.
17834 * sysdeps/x86_64/preconfigure: Likewise.
17835
36a4953a
AS
178362013-10-29 Andreas Schwab <schwab@suse.de>
17837
17838 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17839
c79a1204
SP
178402013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17841
dfa1b402
SP
17842 * benchtests/pow-inputs: Add new inputs.
17843
54f73d9c
SP
17844 * benchtests/exp-inputs: Add new inputs.
17845
c79a1204
SP
17846 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17847 conditional check for return value.
17848 (__cos32): Likewise.
17849
67beb545 178502013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17851
17852 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17853 to provide a boost for large inputs with word alignment.
17854 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17855 implementation based on optimized PPC64 strcpy.
17856 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17857 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17858 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17859 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17860
151659f6
OB
178612013-10-25 Ondřej Bílka <neleai@seznam.cz>
17862
482a077e 17863 [BZ #2801]
151659f6
OB
17864 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17865
10b0f26b
OB
178662013-10-25 Ondřej Bílka <neleai@seznam.cz>
17867
17868 [BZ #14876]
17869 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17870 * time/tst-strptime.c (day_tests): Add testcase.
17871
ca42d35e
OB
178722013-10-25 Ondřej Bílka <neleai@seznam.cz>
17873
482a077e 17874 [BZ #14029]
ca42d35e
OB
17875 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17876
52e6d801
FB
178772013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17878
17879 [BZ #16074]
17880 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17881 MAP_FAILED on error.
17882
7cbcdb36
SP
178832013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17884
17885 [BZ #16072]
17886 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17887 heap for large requests.
17888
894f3f10
AM
178892013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17890
17891 [BZ #9954]
17892 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17893 result if the result has no associated interface.
17894 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17895 interface for all 127.X.Y.Z addresses.
17896
b85545a6
CL
178972013-10-24 Chris Leonard <cjl@sugarlabs.org>
17898
17899 * locale/iso-639.def: Add Ligurian (lij)
17900
d1f23d46
OB
179012013-10-21 Ondřej Bílka <neleai@seznam.cz>
17902
17903 [BZ #15825]
17904 * sunrpc/rpc_main.c: Document rpcgen -5.
17905
4db5b08f
MS
179062013-10-19 Michael Stahl <mstahl@redhat.com>
17907
17908 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17909
a471e96a
OB
179102013-10-19 Ondřej Bílka <neleai@seznam.cz>
17911
d1f23d46 17912 [BZ #10278]
a471e96a
OB
17913 * posix/glob.c: Match only directories when trailing slash is present.
17914 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17915 (main): Add testcase.
17916
45c30c61
OB
179172013-10-19 Ondřej Bílka <neleai@seznam.cz>
17918
17919 [BZ #15670]
17920 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17921
484c12fb
CD
179222013-10-18 Carlos O'Donell <carlos@redhat.com>
17923
3d7dc513
CD
17924 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17925 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17926 AUTH_DES and cindex for FIPS 140-2.
17927 (DES Encryption): Add cindex FIPS 46-3.
17928
484c12fb
CD
17929 * locale/locarchive.h (struct locarhandle): Add fname.
17930 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17931 if an optional argument was specified to --list-archive,
17932 otherwise NULL.
17933 * locale/programs/locarchive.c (show_archive_content): Take new
17934 argument fname and pass it via ah.fname to open_archive.
17935 * locale/programs/localedef.h: Update decl.
17936 (open_archive): If AH->fname is non-null, open that file
17937 rather than the default file name, and don't ignore ENOENT.
17938 (create_archive): Set AH.fname to NULL.
17939 (delete_locales_from_archive): Likewise.
17940 (add_locales_to_archive): Likewise.
17941 * locale/programs/locfile.c (write_all_categories): Likewise.
17942
3c8325fb
JM
179432013-10-18 Joseph Myers <joseph@codesourcery.com>
17944 Aldy Hernandez <aldyh@redhat.com>
17945
17946 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17947 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17948 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17949 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17950 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17951 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17952 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17953 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17954 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17955 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17956 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17957 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17958 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17959 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17960 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17961 Likewise.
17962 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17963 Likewise.
17964 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17965 Likewise.
17966 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17967 Likewise.
17968 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17969 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17970 Likewise.
17971 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17972 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17973 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17974 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17975 Likewise.
17976 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17977 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17978 * sysdeps/powerpc/preconfigure: Likewise.
17979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17980 Likewise.
17981 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17982 Replace contents of file by #include of <fenv_libc.h>.
17983 * sysdeps/powerpc/soft-fp/sfp-machine.h
17984 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17985 and <sys/prctl.h>.
17986 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17987 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17988 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17989 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17990 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17991 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17992 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17993 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17994 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17995 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17996 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17997 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17999 Allow copysignl PLT reference to be missing.
18000
5abe0682
RS
180012013-10-18 Richard Sandiford <richard@codesourcery.com>
18002 Joseph Myers <joseph@codesourcery.com
18003
18004 [BZ #15948]
18005 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18006 single character.
18007 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18008
c7738d08
SP
180092013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18010
18011 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18012 * elf/tst-tls1.c: Likewise.
18013 * elf/tst-tls10.h: Likewise.
18014 * elf/tst-tls14.c: Likewise.
18015 * elf/tst-tls2.c: Likewise.
18016 * elf/tst-tls3.c: Likewise.
18017 * elf/tst-tls4.c: Likewise.
18018 * elf/tst-tls5.c: Likewise.
18019 * elf/tst-tls6.c: Likewise.
18020 * elf/tst-tls7.c: Likewise.
18021 * elf/tst-tls8.c: Likewise.
18022 * elf/tst-tls9.c: Likewise.
18023 * elf/tst-tlsmod1.c: Likewise.
18024 * elf/tst-tlsmod13.c: Likewise.
18025 * elf/tst-tlsmod13a.c: Likewise.
18026 * elf/tst-tlsmod14a.c: Likewise.
18027 * elf/tst-tlsmod16a.c: Likewise.
18028 * elf/tst-tlsmod16b.c: Likewise.
18029 * elf/tst-tlsmod2.c: Likewise.
18030 * elf/tst-tlsmod3.c: Likewise.
18031 * elf/tst-tlsmod4.c: Likewise.
18032 * elf/tst-tlsmod5.c: Likewise.
18033 * elf/tst-tlsmod6.c: Likewise.
18034
0bfcf2c7
OB
180352013-10-18 Ondřej Bílka <neleai@seznam.cz>
18036
18037 [BZ #12486]
18038 * malloc/malloc.c: remove checks for statistics.
18039
264aad1e
OB
180402013-10-17 Ondřej Bílka <neleai@seznam.cz>
18041
18042 [BZ #15277]
18043 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18044 * inet/tst-network.c: Add testcase.
18045
b957ced8
AS
180462013-10-17 Andreas Schwab <schwab@suse.de>
18047
18048 [BZ #15218]
18049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18050 to determine canonical name.
18051
c5d5d574
OB
180522013-10-17 Ondřej Bílka <neleai@seznam.cz>
18053
18054 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18055 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18056 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18064 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18065 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18066 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18067 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18068 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18069 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18070 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18071 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18072 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18073 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18074 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18075 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18076 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18077 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18078 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18079 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18080 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18081 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18082 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18083 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18084 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18085 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18089 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18090 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18091 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18092 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18099 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18100 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18101 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18102 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18103 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18104 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18105 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18106 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18107 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18108 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18109 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18110 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18111 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18112
e5c2c2d0
JM
181132013-10-17 Joseph Myers <joseph@codesourcery.com>
18114
18115 [BZ #16041]
18116 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18117 make result into a quiet NaN.
18118
51ca9e29
JM
181192013-10-16 Joseph Myers <joseph@codesourcery.com>
18120
18121 * soft-fp/adddf3.c: Fix horizontal whitespace.
18122 * soft-fp/addsf3.c: Likewise.
18123 * soft-fp/addtf3.c: Likewise.
18124 * soft-fp/divdf3.c: Likewise.
18125 * soft-fp/divsf3.c: Likewise.
18126 * soft-fp/divtf3.c: Likewise.
18127 * soft-fp/double.h: Likewise.
18128 * soft-fp/eqdf2.c: Likewise.
18129 * soft-fp/eqsf2.c: Likewise.
18130 * soft-fp/eqtf2.c: Likewise.
18131 * soft-fp/extenddftf2.c: Likewise.
18132 * soft-fp/extended.h: Likewise.
18133 * soft-fp/extendsfdf2.c: Likewise.
18134 * soft-fp/extendsftf2.c: Likewise.
18135 * soft-fp/extendxftf2.c: Likewise.
18136 * soft-fp/fixdfdi.c: Likewise.
18137 * soft-fp/fixdfsi.c: Likewise.
18138 * soft-fp/fixdfti.c: Likewise.
18139 * soft-fp/fixsfdi.c: Likewise.
18140 * soft-fp/fixsfsi.c: Likewise.
18141 * soft-fp/fixsfti.c: Likewise.
18142 * soft-fp/fixtfdi.c: Likewise.
18143 * soft-fp/fixtfsi.c: Likewise.
18144 * soft-fp/fixtfti.c: Likewise.
18145 * soft-fp/fixunsdfdi.c: Likewise.
18146 * soft-fp/fixunsdfsi.c: Likewise.
18147 * soft-fp/fixunsdfti.c: Likewise.
18148 * soft-fp/fixunssfdi.c: Likewise.
18149 * soft-fp/fixunssfsi.c: Likewise.
18150 * soft-fp/fixunssfti.c: Likewise.
18151 * soft-fp/fixunstfdi.c: Likewise.
18152 * soft-fp/fixunstfsi.c: Likewise.
18153 * soft-fp/fixunstfti.c: Likewise.
18154 * soft-fp/floatdidf.c: Likewise.
18155 * soft-fp/floatdisf.c: Likewise.
18156 * soft-fp/floatditf.c: Likewise.
18157 * soft-fp/floatsidf.c: Likewise.
18158 * soft-fp/floatsisf.c: Likewise.
18159 * soft-fp/floatsitf.c: Likewise.
18160 * soft-fp/floattidf.c: Likewise.
18161 * soft-fp/floattisf.c: Likewise.
18162 * soft-fp/floattitf.c: Likewise.
18163 * soft-fp/floatundidf.c: Likewise.
18164 * soft-fp/floatundisf.c: Likewise.
18165 * soft-fp/floatunditf.c: Likewise.
18166 * soft-fp/floatunsidf.c: Likewise.
18167 * soft-fp/floatunsisf.c: Likewise.
18168 * soft-fp/floatunsitf.c: Likewise.
18169 * soft-fp/floatuntidf.c: Likewise.
18170 * soft-fp/floatuntisf.c: Likewise.
18171 * soft-fp/floatuntitf.c: Likewise.
18172 * soft-fp/fmadf4.c: Likewise.
18173 * soft-fp/fmasf4.c: Likewise.
18174 * soft-fp/fmatf4.c: Likewise.
18175 * soft-fp/gedf2.c: Likewise.
18176 * soft-fp/gesf2.c: Likewise.
18177 * soft-fp/getf2.c: Likewise.
18178 * soft-fp/ledf2.c: Likewise.
18179 * soft-fp/lesf2.c: Likewise.
18180 * soft-fp/letf2.c: Likewise.
18181 * soft-fp/muldf3.c: Likewise.
18182 * soft-fp/mulsf3.c: Likewise.
18183 * soft-fp/multf3.c: Likewise.
18184 * soft-fp/negdf2.c: Likewise.
18185 * soft-fp/negsf2.c: Likewise.
18186 * soft-fp/negtf2.c: Likewise.
18187 * soft-fp/op-1.h: Likewise.
18188 * soft-fp/op-2.h: Likewise.
18189 * soft-fp/op-4.h: Likewise.
18190 * soft-fp/op-8.h: Likewise.
18191 * soft-fp/op-common.h: Likewise.
18192 * soft-fp/quad.h: Likewise.
18193 * soft-fp/single.h: Likewise.
18194 * soft-fp/soft-fp.h: Likewise.
18195 * soft-fp/sqrtdf2.c: Likewise.
18196 * soft-fp/sqrtsf2.c: Likewise.
18197 * soft-fp/sqrttf2.c: Likewise.
18198 * soft-fp/subdf3.c: Likewise.
18199 * soft-fp/subsf3.c: Likewise.
18200 * soft-fp/subtf3.c: Likewise.
18201 * soft-fp/truncdfsf2.c: Likewise.
18202 * soft-fp/trunctfdf2.c: Likewise.
18203 * soft-fp/trunctfsf2.c: Likewise.
18204 * soft-fp/trunctfxf2.c: Likewise.
18205 * soft-fp/unorddf2.c: Likewise.
18206 * soft-fp/unordsf2.c: Likewise.
18207 * soft-fp/unordtf2.c: Likewise.
18208
9ebb0332
JM
182092013-10-15 Joseph Myers <joseph@codesourcery.com>
18210
18211 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18212 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18213
4b1a6d8b
OB
182142013-10-15 Ondřej Bílka <neleai@seznam.cz>
18215
18216 * elf/dl-libc.c: Clear initfini list after freeing.
18217
1e145589
JM
182182013-10-14 Joseph Myers <joseph@codesourcery.com>
18219
18220 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18221 * soft-fp/addsf3.c: Likewise.
18222 * soft-fp/addtf3.c: Likewise.
18223 * soft-fp/divdf3.c: Likewise.
18224 * soft-fp/divsf3.c: Likewise.
18225 * soft-fp/divtf3.c: Likewise.
18226 * soft-fp/double.h: Likewise.
18227 * soft-fp/eqdf2.c: Likewise.
18228 * soft-fp/eqsf2.c: Likewise.
18229 * soft-fp/eqtf2.c: Likewise.
18230 * soft-fp/extenddftf2.c: Likewise.
18231 * soft-fp/extended.h: Likewise.
18232 * soft-fp/extendsfdf2.c: Likewise.
18233 * soft-fp/extendsftf2.c: Likewise.
18234 * soft-fp/extendxftf2.c: Likewise.
18235 * soft-fp/fixdfdi.c: Likewise.
18236 * soft-fp/fixdfsi.c: Likewise.
18237 * soft-fp/fixdfti.c: Likewise.
18238 * soft-fp/fixsfdi.c: Likewise.
18239 * soft-fp/fixsfsi.c: Likewise.
18240 * soft-fp/fixsfti.c: Likewise.
18241 * soft-fp/fixtfdi.c: Likewise.
18242 * soft-fp/fixtfsi.c: Likewise.
18243 * soft-fp/fixtfti.c: Likewise.
18244 * soft-fp/fixunsdfdi.c: Likewise.
18245 * soft-fp/fixunsdfsi.c: Likewise.
18246 * soft-fp/fixunsdfti.c: Likewise.
18247 * soft-fp/fixunssfdi.c: Likewise.
18248 * soft-fp/fixunssfsi.c: Likewise.
18249 * soft-fp/fixunssfti.c: Likewise.
18250 * soft-fp/fixunstfdi.c: Likewise.
18251 * soft-fp/fixunstfsi.c: Likewise.
18252 * soft-fp/fixunstfti.c: Likewise.
18253 * soft-fp/floatdidf.c: Likewise.
18254 * soft-fp/floatdisf.c: Likewise.
18255 * soft-fp/floatditf.c: Likewise.
18256 * soft-fp/floatsidf.c: Likewise.
18257 * soft-fp/floatsisf.c: Likewise.
18258 * soft-fp/floatsitf.c: Likewise.
18259 * soft-fp/floattidf.c: Likewise.
18260 * soft-fp/floattisf.c: Likewise.
18261 * soft-fp/floattitf.c: Likewise.
18262 * soft-fp/floatundidf.c: Likewise.
18263 * soft-fp/floatundisf.c: Likewise.
18264 * soft-fp/floatunsidf.c: Likewise.
18265 * soft-fp/floatunsisf.c: Likewise.
18266 * soft-fp/floatuntidf.c: Likewise.
18267 * soft-fp/floatuntisf.c: Likewise.
18268 * soft-fp/floatuntitf.c: Likewise.
18269 * soft-fp/fmadf4.c: Likewise.
18270 * soft-fp/fmasf4.c: Likewise.
18271 * soft-fp/fmatf4.c: Likewise.
18272 * soft-fp/gedf2.c: Likewise.
18273 * soft-fp/gesf2.c: Likewise.
18274 * soft-fp/getf2.c: Likewise.
18275 * soft-fp/ledf2.c: Likewise.
18276 * soft-fp/lesf2.c: Likewise.
18277 * soft-fp/letf2.c: Likewise.
18278 * soft-fp/muldf3.c: Likewise.
18279 * soft-fp/mulsf3.c: Likewise.
18280 * soft-fp/multf3.c: Likewise.
18281 * soft-fp/negdf2.c: Likewise.
18282 * soft-fp/negsf2.c: Likewise.
18283 * soft-fp/negtf2.c: Likewise.
18284 * soft-fp/op-1.h: Likewise.
18285 * soft-fp/op-2.h: Likewise.
18286 * soft-fp/op-4.h: Likewise.
18287 * soft-fp/op-8.h: Likewise.
18288 * soft-fp/op-common.h: Likewise.
18289 * soft-fp/quad.h: Likewise.
18290 * soft-fp/single.h: Likewise.
18291 * soft-fp/soft-fp.h: Likewise.
18292 * soft-fp/sqrtdf2.c: Likewise.
18293 * soft-fp/sqrtsf2.c: Likewise.
18294 * soft-fp/sqrttf2.c: Likewise.
18295 * soft-fp/subdf3.c: Likewise.
18296 * soft-fp/subsf3.c: Likewise.
18297 * soft-fp/subtf3.c: Likewise.
18298 * soft-fp/truncdfsf2.c: Likewise.
18299 * soft-fp/trunctfdf2.c: Likewise.
18300 * soft-fp/trunctfsf2.c: Likewise.
18301 * soft-fp/trunctfxf2.c: Likewise.
18302 * soft-fp/unorddf2.c: Likewise.
18303 * soft-fp/unordsf2.c: Likewise.
18304 * soft-fp/unordtf2.c: Likewise.
18305
17c48a60
OB
183062013-10-14 Ondřej Bílka <neleai@seznam.cz>
18307
18308 [BZ #15672]
18309 * misc/error.c (error_tail): Fix possible buffer overflow.
18310
cabba934
OB
183112013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18312
18313 [BZ #13028]
18314 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18315 address.
18316
94bf958a
PM
183172013-10-14 P. J. McDermott <pj@pehjota.net>
18318
18319 [BZ #832]
18320 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18321 testing pipefail option.
18322
71b4dea7
JM
183232013-10-12 Joseph Myers <joseph@codesourcery.com>
18324
18325 * soft-fp/double.h: Indent preprocessor directives inside #if.
18326 * soft-fp/extended.h: Likewise.
18327 * soft-fp/op-2.h: Likewise.
18328 * soft-fp/op-4.h: Likewise.
18329 * soft-fp/op-common.h: Likewise.
18330 * soft-fp/quad.h: Likewise.
18331 * soft-fp/single.h: Likewise.
18332 * soft-fp/soft-fp.h: Likewise.
18333
55602758
YC
183342013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18335
18336 * iconv/iconv_prog.c: Fix typos.
18337 * stdio-common/psiginfo-data.h: Likewise.
18338
9cd83302
RT
183392013-10-12 Reuben Thomas <rrt@sc3d.org>
18340
18341 [BZ #15764]
18342 * locale/setlocale.c: Fix typo.
18343
99fd9f47
JM
183442013-10-12 Joseph Myers <joseph@codesourcery.com>
18345
b7ea74f0
JM
18346 [BZ #16036]
18347 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18348 signaling NaN arguments.
18349 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18350 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18351
8a509447
JM
18352 [BZ #14910]
18353 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18354 unordered operands.
18355 * soft-fp/gesf2.c (__gesf2): Likewise.
18356 * soft-fp/getf2.c (__getf2): Likewise.
18357 * soft-fp/ledf2.c (__ledf2): Likewise.
18358 * soft-fp/lesf2.c (__lesf2): Likewise.
18359 * soft-fp/letf2.c (__letf2): Likewise.
18360
98998e9f
JM
18361 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18362 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18363 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18364 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18365 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18366 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18367 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18368 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18369 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18370 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18371 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18372 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18373 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18374 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18375 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18376 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18377 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18378 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18379 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18380 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18381 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18382 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18383 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18384 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18385 * soft-fp/floattidf.c (__floattidf): Likewise.
18386 * soft-fp/floattisf.c (__floattisf): Likewise.
18387 * soft-fp/floattitf.c (__floattitf): Likewise.
18388 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18389 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18390 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18391 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18392 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18393 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18394 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18395 * soft-fp/gesf2.c (__gesf2): Likewise.
18396 * soft-fp/getf2.c (__getf2): Likewise.
18397 * soft-fp/ledf2.c (__ledf2): Likewise.
18398 * soft-fp/lesf2.c (__lesf2): Likewise.
18399 * soft-fp/letf2.c (__letf2): Likewise.
18400
8edc4a11
JM
18401 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18402 Undefine and redefine.
18403 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18404 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18405 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18406 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18407 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18408 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18409 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18410 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18411 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18412 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18413 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18414 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18415 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18416 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18417 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18418
8399acaf
JM
18419 [BZ #16032]
18420 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18421 without decrementing exponent if mantissa >= that for the
18422 denominator, not >.
18423 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18424 denominator, not >. Decrement exponent in < case instead of
18425 incrementing in >= case.
18426 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18427 without decrementing exponent if mantissa >= that for the
18428 denominator, not >.
18429
99fd9f47
JM
18430 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18431 computing saturated result for unsigned overflow.
18432
10e1cf6b
SP
184332013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18434 Jeff Law <law@redhat.com>
18435
18436 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18437 (atan2Mp): Add systemtap probe marker.
18438 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18439 (__ieee754_log): Add systemtap probe marker.
18440 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18441 (atanMp): Add systemtap probe marker.
18442 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18443 (tanMp): Add systemtap probe marker.
18444 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18445 (__slowexp): Add systemtap probe marker.
18446 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18447 (__slowpow): Add systemtap probe marker.
18448 * manual/probes.texi: Document probes.
18449
3d110c7c
EB
184502013-10-11 Eric Biggers <ebiggers3@gmail.com>
18451
18452 [BZ #15362]
18453 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18454 written.
18455 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18456 written.
18457 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18458 written to buffer but not flushed.
18459 * libio/iofwrite_u.c: Likewise.
18460 * libio/iopadn.c: Return bytes returned even if EOF was
18461 encountered.
18462 * libio/iowpadn.c: Likewise.
18463 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18464 if _IO_padn does not write the whole buffer.
18465 [!COMPILE_WPRINTF] (PAD): Likewise.
18466
75b4202a
DM
184672013-10-10 David S. Miller <davem@davemloft.net>
18468
18469 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18470 directory block.
18471
6c6352e6
JM
184722013-10-10 Joseph Myers <joseph@codesourcery.com>
18473
33b853c3
JM
18474 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18475 instead of FSF address.
18476 * soft-fp/fixdfti.c: Likewise.
18477 * soft-fp/fixsfti.c: Likewise.
18478 * soft-fp/fixtfti.c: Likewise.
18479 * soft-fp/fixunsdfti.c: Likewise.
18480 * soft-fp/fixunssfti.c: Likewise.
18481 * soft-fp/fixunstfti.c: Likewise.
18482 * soft-fp/floattidf.c: Likewise.
18483 * soft-fp/floattisf.c: Likewise.
18484 * soft-fp/floattitf.c: Likewise.
18485 * soft-fp/floatuntidf.c: Likewise.
18486 * soft-fp/floatuntisf.c: Likewise.
18487 * soft-fp/floatuntitf.c: Likewise.
18488 * soft-fp/trunctfxf2.c: Likewise.
18489
6c6352e6
JM
18490 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18491 * soft-fp/fixdfti.c: Likewise.
18492 * soft-fp/fixsfti.c: Likewise.
18493 * soft-fp/fixtfti.c: Likewise.
18494 * soft-fp/fixunsdfti.c: Likewise.
18495 * soft-fp/fixunssfti.c: Likewise.
18496 * soft-fp/fixunstfti.c: Likewise.
18497 * soft-fp/floattidf.c: Likewise.
18498 * soft-fp/floattisf.c: Likewise.
18499 * soft-fp/floattitf.c: Likewise.
18500 * soft-fp/floatuntidf.c: Likewise.
18501 * soft-fp/floatuntisf.c: Likewise.
18502 * soft-fp/floatuntitf.c: Likewise.
18503 * soft-fp/trunctfxf2.c: Likewise.
18504
3bf78b71
DM
185052013-10-10 David S. Miller <davem@davemloft.net>
18506
18507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18508
6f10289e
JM
185092013-10-10 Joseph Myers <joseph@codsourcery.com>
18510
bd878fc0
JM
18511 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18512 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18513 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18514 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18515 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18516 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18517 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18518
6f10289e
JM
18519 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18520 for NaNs before doing comparisons on argument.
18521 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18522 Likewise.
18523
321e2684
WN
185242013-10-10 Will Newton <will.newton@linaro.org>
18525
18526 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18527 passed to _int_memalign does not overflow.
18528
40fefba1
TR
185292013-10-10 Torvald Riegel <triegel@redhat.com>
18530
18531 * scripts/bench.pl: Add include-sources directive.
18532 * benchtests/README: Update documentation.
18533
2ae21ed2
JM
185342013-10-10 Joseph Myers <joseph@codesourcery.com>
18535
dcc2dd3f
JM
18536 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18537 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18538 instead of FP_INIT_ROUNDMODE.
18539 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18540 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18541
2ae21ed2
JM
18542 [BZ #16034]
18543 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18544 copy class of input value.
18545 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18546 not handle exceptions.
18547 * soft-fp/negsf2.c (__negsf2): Likewise.
18548 * soft-fp/negtf2.c (__negtf2): Likewise.
18549 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18550
cb8f9562
JM
185512013-10-09 Joseph Myers <joseph@codesourcery.com>
18552
18553 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18554 semicolon. From Linux kernel.
18555
5b60c59d
AB
185562013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18557
18558 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18559
b86835ca
YC
185602013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18561
18562 [BZ #156]
18563 * manual/socket.texi: Added statement about buffer
18564 for gethostbyname2_r.
18565
e7044ea7
OB
185662013-10-08 Ondřej Bílka <neleai@seznam.cz>
18567
18568 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18569 Use .p2align directive instead, throughout.
18570 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18571 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18572 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18573 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18574 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18575 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18576 * sysdeps/x86_64/strchr.S: Likewise.
18577 * sysdeps/x86_64/strrchr.S: Likewise.
18578
09544cbc
SP
185792013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18580
88576635
SP
18581 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18582
e7b2d1dd
SP
18583 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18584
09544cbc
SP
18585 * sysdeps/generic/math_private.h (__mpsin1): Remove
18586 declaration.
18587 (__mpcos1): Likewise.
18588 (__mpsin): New argument __range_reduce.
18589 (__mpcos): Likewise.
18590 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18591 (slow): Use __mpsin and __mpcos.
18592 (slow1): Likewise.
18593 (slow2): Likewise.
18594 (sloww): Likewise.
18595 (sloww1): Likewise.
18596 (sloww2): Likewise.
18597 (bsloww): Likewise.
18598 (bsloww1): Likewise.
18599 (bsloww2): Likewise.
18600 (cslow2): Likewise.
18601 (csloww): Likewise.
18602 (csloww1): Likewise.
18603 (csloww2): Likewise.
18604 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18605 range_reduce. Merge in __mpsin1.
18606 (__mpcos): Likewise.
18607 (__mpsin1): Remove.
18608 (__mpcos1): Likewise.
18609
7602d070
JM
186102013-10-07 Joseph Myers <joseph@codesourcery.com>
18611
18612 * locale/loadlocale.c (_nl_intern_locale_data): Use
18613 LOCFILE_ALIGNED_P.
18614 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18615 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18616 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18617 obstack data is appropriately aligned.
18618 (obstack_int32_grow_fast): Likewise.
18619 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18620 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18621 (add_locale_uint32_array): Likewise.
18622
a357259b
SP
186232013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18624
18625 * benchtests/Makefile: Remove ARGLIST and RET variables.
18626 ($(objpfx)bench-%.c): Pass only function name to the script.
18627 * benchtests/README: Update documentation.
18628 * benchtests/acos-inputs: Add new directives.
18629 * benchtests/acosh-inputs: Likewise.
18630 * benchtests/asin-inputs: Likewise.
18631 * benchtests/asinh-inputs: Likewise.
18632 * benchtests/atan-inputs: Likewise.
18633 * benchtests/atanh-inputs: Likewise.
18634 * benchtests/cos-inputs: Likewise.
18635 * benchtests/cosh-inputs: Likewise.
18636 * benchtests/exp-inputs: Likewise.
18637 * benchtests/log-inputs: Likewise.
18638 * benchtests/pow-inputs: Likewise.
18639 * benchtests/rint-inputs: Likewise.
18640 * benchtests/sin-inputs: Likewise.
18641 * benchtests/sinh-inputs: Likewise.
18642 * benchtests/tan-inputs: Likewise.
18643 * benchtests/tanh-inputs: Likewise.
18644 * scripts/bench.pl: Add support for new directives.
18645
9ec1b13d
AM
186462013-10-07 Alan Modra <amodra@gmail.com>
18647
18648 * README: Fix careless merge.
18649
8b7d57cd
AM
186502013-10-05 Alan Modra <amodra@gmail.com>
18651
18652 * NEWS: Mention powerpc64le support and bugs fixed.
18653 * README: Both big-endian and little-endian powerpc64 supported.
18654
7b7bab13
ST
186552013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18656
57f41c40
AS
18657 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18658 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18659 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18660 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18661
d39baad1
RA
186622013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18663
18664 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18665 match prototype.
18666
cd78f7e7
JM
186672013-10-04 Joseph Myers <joseph@codesourcery.com>
18668
29d73d86
JM
18669 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18670 Move -mhard-float appending from
18671 ports/sysdeps/powerpc/powerpc32/Makefile.
18672 [$(with-fp) = yes] (ASFLAGS): Likewise.
18673 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18674 * sysdeps/powerpc/nofpu: Move directory from
18675 ports/sysdeps/powerpc/nofpu.
18676 * sysdeps/powerpc/soft-fp: Move directory from
18677 ports/sysdeps/powerpc/soft-fp.
18678 * sysdeps/powerpc/powerpc32/405: Move directory from
18679 ports/sysdeps/powerpc/powerpc32/405.
18680 * sysdeps/powerpc/powerpc32/440: Move directory from
18681 ports/sysdeps/powerpc/powerpc32/440.
18682 * sysdeps/powerpc/powerpc32/464: Move directory from
18683 ports/sysdeps/powerpc/powerpc32/464.
18684 * sysdeps/powerpc/powerpc32/476: Move directory from
18685 ports/sysdeps/powerpc/powerpc32/476.
18686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18687 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18689 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18691 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18693 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18695 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18696 * README: Update for powerpc-*-linux-gnu software floating point
18697 support in libc.
18698
e246b347
JM
18699 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18700 case to powerpc/powerpc32*.
18701 * sysdeps/unix/sysv/linux/configure: Regenerated.
18702
89c2003e
JM
18703 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18704 (_FPU_MASK_OM): Define as 0x04.
18705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18707 0x00c10080.
18708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18709 0x0000003c.
18710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18711
cd78f7e7
JM
18712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18713 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18714 getcontext_e500.
18715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18716 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18717 setcontext_e500.
18718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18719 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18720 and setcontext_e500.
18721
c755294d
CL
187222013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18723
18724 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18725
e16d221c
SP
187262013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18727
18728 * manual/threads.texi (Default Thread Attributes): Fix typo.
18729
215c7d43
WN
187302013-10-04 Will Newton <will.newton@linaro.org>
18731
18732 * malloc/Makefile: Add tst-memalign.
18733 * malloc/tst-memalign.c: New file.
18734
27d0461b
WN
18735 * malloc/tst-posix_memalign.c: Add comments.
18736 (do_test): Add comments and call free on all potentially
18737 allocated pointers. Add space after cast.
18738
1bc92709
WN
18739 * malloc/tst-pvalloc.c: Add comments.
18740 (do_test): Add comments and call free on all potentially
18741 allocated pointers. Remove duplicate check for NULL pointer.
18742 Add space after cast.
18743
66a9be9d
WN
18744 * malloc/tst-valloc.c: Add comments.
18745 (do_test): Add comments and call free on all potentially
18746 allocated pointers. Remove duplicate check for NULL pointer.
18747 Add space after cast.
18748
4cb81307
AM
187492013-10-04 Alan Modra <amodra@gmail.com>
18750
18751 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18752 Use stdint types in rather than __attribute__((mode())).
18753 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18754
f8e3e9f3
AM
187552013-10-04 Alan Modra <amodra@gmail.com>
18756
18757 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18758 Correct handling of unaligned relocs for little-endian.
18759 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18760
8f9ebb08
AM
187612013-10-04 Alan Modra <amodra@gmail.com>
18762
18763 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18764 * configure: Regenerate.
18765 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18766 * shlib-versions: Likewise.
18767
0edf96c2
AM
187682013-10-04 Alan Modra <amodra@gmail.com>
18769
18770 * string/tester.c (test_memrchr): Increment reported test cycle.
18771
e0f7a380
AM
187722013-10-04 Alan Modra <amodra@gmail.com>
18773
18774 * string/test-memcpy.c (do_one_test): When reporting errors, print
18775 string address and don't overrun end of string.
18776
466b0393
AM
187772013-10-04 Alan Modra <amodra@gmail.com>
18778
18779 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18780 insrdi. Make better use of reg selection to speed exit slightly.
18781 Schedule entry path a little better. Remove useless "are we done"
18782 checks on entry to main loop. Handle wrapping around zero address.
18783 Correct main loop count. Handle single left-over word from main
18784 loop inline rather than by using loop_small. Remove extra word
18785 case in loop_small caused by wrong loop count. Add little-endian
18786 support.
18787 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18788 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18789 cache hint.
18790 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18791 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18792 support. Avoid rlwimi.
18793 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18794
3be87c77
AM
187952013-10-04 Alan Modra <amodra@gmail.com>
18796
18797 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18798 insrdi. Formatting.
3be87c77
AM
18799 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18800 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18801 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18802 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18803 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18804 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18805
759cfef3
AM
188062013-10-04 Alan Modra <amodra@gmail.com>
18807
18808 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18809 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18810 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18811 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18812 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18813 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18814 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18815 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18816 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18817 use of regs. Use power7 mtocrf. Tidy function tails.
18818
fe6e95d7
AM
188192013-10-04 Alan Modra <amodra@gmail.com>
18820
18821 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18822 Formatting. Consistently use rXXX register defines or rN defines.
18823 Use early exit labels that avoid restoring unused non-volatile regs.
18824 Make cr field use more consistent with rWORDn compares. Rename
18825 regs used as shift registers for unaligned loop, using rN defines
18826 for short lifetime/multiple use regs.
18827 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18828 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18829 addi 1,1,64 to pop stack frame. Simplify return value code.
18830 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18831
664318c3
AM
188322013-10-04 Alan Modra <amodra@gmail.com>
18833
18834 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18835 support. Correct typos, formatting. Optimize tail. Use insrdi
18836 rather than rlwimi.
18837 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18838 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18839 little-endian support. Correct typos.
18840 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18841 rather than rlwimi.
18842 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18843 in loop and entry code to keep "and." results.
18844 (strchr): Add little-endian support. Comment. Move cntlzd
18845 earlier in tail.
18846 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18847
43b84013
AM
188482013-10-04 Alan Modra <amodra@gmail.com>
18849
18850 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18851 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18852 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18853 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18854
8a7413f9
AM
188552013-10-04 Alan Modra <amodra@gmail.com>
18856
18857 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18858 (rTMP): Define as r11.
18859 (strcmp): Add little-endian support. Optimise tail.
18860 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18861 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18862 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18863 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18864 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18865 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18866 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18867
33ee81de
AM
188682013-10-04 Alan Modra <amodra@gmail.com>
18869
18870 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18871 little-endian support. Remove unnecessary "are we done" tests.
18872 Handle "s" wrapping around zero and extremely large "size".
18873 Correct main loop count. Handle single left-over word from main
18874 loop inline rather than by using small_loop. Correct comments.
18875 Delete "zero" tail, use "end_max" instead.
18876 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18877
db9b4570
AM
188782013-10-04 Alan Modra <amodra@gmail.com>
18879
18880 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18881 support. Don't branch over align.
18882 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18883 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18884 support. Rearrange tmp reg use to suit. Comment.
18885 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18886
f7c399cf
AM
188872013-10-04 Alan Modra <amodra@gmail.com>
18888
18889 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18890
0b2c2ace
AM
188912013-10-04 Alan Modra <amodra@gmail.com>
18892
18893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18894 conditional form of branch and link when obtaining pc.
18895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18896
02f04a6c
AM
188972013-10-04 Alan Modra <amodra@gmail.com>
18898
18899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18900 HIWORD/LOWORD.
18901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18903
9b874b2f
AM
189042013-10-04 Alan Modra <amodra@gmail.com>
18905
18906 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18907 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18908 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18909 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18910 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18911 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18912 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18913 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18914 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18915 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18916
be1e5d31
AB
189172013-10-04 Anton Blanchard <anton@au1.ibm.com>
18918 Alistair Popple <alistair@ozlabs.au.ibm.com>
18919 Alan Modra <amodra@gmail.com>
18920
18921 [BZ #15723]
18922 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18923 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18924 _dl_hwcap access for little-endian.
18925 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18926 destroy vmx regs when saving unaligned.
18927 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18928 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18929 destroy vmx regs when saving unaligned.
18930
fef13a78
AM
189312013-10-04 Alan Modra <amodra@gmail.com>
18932
18933 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18934 Don't use a union to pack hi/low value.
18935
76a66d51
AB
189362013-10-04 Anton Blanchard <anton@au1.ibm.com>
18937
18938 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18939 for little-endian.
18940 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18941 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18942 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18943 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18944 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18945
6a31fe7f
AM
189462013-10-04 Alan Modra <amodra@gmail.com>
18947
18948 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18949 constants to usual value for .cst8 section, and remove redundant
18950 high address load.
18951 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18952 constant for 0x1p52. Load little-endian words of double from
18953 correct stack offsets.
18954
7b88401f
AM
189552013-10-04 Alan Modra <amodra@gmail.com>
18956
18957 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18958 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18959 words of double from correct stack offsets.
18960 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18961 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18962 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18963 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18964 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18965 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18966 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18967 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18968 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18969 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18970 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18971 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18972 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18973 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18974 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18975 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18976 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18977
9c008155
AM
189782013-10-04 Alan Modra <amodra@gmail.com>
18979
18980 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18981 64-bit int/double union.
18982 (_FPU_SETCW): Likewise.
18983 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18984 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18985
da13146d
AM
189862013-10-04 Alan Modra <amodra@gmail.com>
18987
18988 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18989 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18990
603e8410
AM
189912013-10-04 Alan Modra <amodra@gmail.com>
18992
18993 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18994 use vector int constants.
18995 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18996
4a28b3ca
AB
189972013-10-04 Anton Blanchard <anton@au1.ibm.com>
18998
18999 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19000 array with long long.
19001 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19002 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19003 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19004 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19005 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19006 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19007 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19008 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19009 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19010 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19011 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19012 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19013 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19014
2ca85d2b
AB
190152013-10-04 Anton Blanchard <anton@au1.ibm.com>
19016
19017 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19018 (__signbit): Likewise. Correct for little-endian.
19019 (__signbitl): Call __signbit.
19020 (lrint): Correct for little-endian.
19021 (lrintf): Call lrint.
19022
62a728ae
AM
190232013-10-04 Alan Modra <amodra@gmail.com>
19024
19025 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19026 union 32-bit int array member with 64-bit int array.
19027 (t515, tm256): Double rather than long double.
19028 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19029
32c301df
AM
190302013-10-04 Alan Modra <amodra@gmail.com>
19031
19032 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19033 Delete.
19034 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19035 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19036 version of math_ldbl.h.
19037
650ef4bd
AM
190382013-10-04 Alan Modra <amodra@gmail.com>
19039
19040 [BZ #15734], [BZ #15735]
19041 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19042 all uses of ieee875 long double macros and unions. Simplify test
19043 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19044 ldbl_extract_mantissa value for ix,iy exponents. Properly
19045 normalize after ldbl_extract_mantissa, and don't add hidden bit
19046 already handled. Don't treat low word of ieee854 mantissa like
19047 low word of IBM long double and mask off bit when testing for
19048 zero.
19049 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19050 all uses of ieee875 long double macros and unions. Simplify tests
19051 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19052 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19053 two1022, instead use their values. Recognise that tests for large
19054 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19055 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19056 Rewrite all uses of ieee875 long double macros and unions. Simplify
19057 test for 0.0L and nan. Correct negation.
19058 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19059 ieee875 long double macros and unions. Correct output for large
19060 magnitude x. Correct absolute value calculation.
19061 (__erfcl): Likewise.
19062 * math/libm-test.inc: Add tests for errors discovered in IBM long
19063 double versions of fmodl, remainderl, erfl and erfcl.
19064
765714ca
AM
190652013-10-04 Alan Modra <amodra@gmail.com>
19066
19067 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19068 all uses of ieee854 long double macros and unions. Simplify tests
19069 for long doubles that are fully specified by the high double.
19070 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19071 Likewise.
19072 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19073 Remove dead code too.
19074 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19075 (__ieee754_ynl): Likewise.
19076 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19077 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19078 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19079 Remove dead code too.
19080 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19081 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19082 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19083 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19084 Simplify.
19085 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19086 Simplify.
19087 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19088 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19089 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19090 Comment on variable precision.
19091 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19092 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19093 Likewise.
19094 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19095 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19096 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19097 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19098 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19099
4ebd120c
AM
191002013-10-04 Alan Modra <amodra@gmail.com>
19101
19102 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19103 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19104 all uses of ieee854 long double macros and unions.
19105 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19106 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19107 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19108 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19109 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19110 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19111 Likewise.
19112 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19113 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19114 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19115 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19116 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19117 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19118 Simplify sign and nan test too.
19119 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19120 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19121 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19122 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19123 Likewise.
19124 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19125 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19126 Likewise.
19127 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19128 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19129 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19130 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19131 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19132 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19133
1b6adf88
AM
191342013-10-04 Alan Modra <amodra@gmail.com>
19135
19136 * stdio-common/printf_size.c (__printf_size): Don't use
19137 union ieee854_long_double in fpnum union.
19138 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19139 signbit macro to retrieve sign from long double.
19140 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19141 retrieve sign from long double.
19142 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19143 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19144 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19145 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19146 * math/test-misc.c (main): Don't use union ieee854_long_double.
19147
4cf69995
AM
191482013-10-04 Alan Modra <amodra@gmail.com>
19149
19150 [BZ #15680]
19151 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19152 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19153 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19154 calculation. Remove unnecessary test for denormal exponent.
19155 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19156 Correct handling of denormals. Avoid undefined shift behaviour.
19157 Correct normalisation of low mantissa when low double is denormal.
19158 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19159 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19160 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19161 Correct normalisation of low mantissa. Test for overflow of high
19162 mantissa and normalise.
19163 (ldbl_nearbyint): Use more readable constant for two52.
19164 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19165 (__mpn_construct_long_double): Fix test for overflow of high
19166 mantissa and correct normalisation. Avoid undefined shift.
19167
9605ca6c
AM
191682013-10-04 Alan Modra <amodra@gmail.com>
19169
19170 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19171 (union ibm_extended_long_double): Define as an array of ieee754_double.
19172 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19173 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19174 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19175 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19176 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19177 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19178 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19179 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19180 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19181 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19182 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19183
975569d0
JM
191842013-10-03 Joseph Myers <joseph@codesourcery.com>
19185
d3d23756
JM
19186 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19187 page size instead of calling getpagesize.
19188
975569d0
JM
19189 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19190 (LOCFILE_ALIGN_MASK): Likewise.
19191 (LOCFILE_ALIGN_UP): Likewise.
19192 (LOCFILE_ALIGNED_P): Likewise.
19193 * locale/programs/ld-collate.c (collate_output): Use the new
19194 macros instead of __alignof__ (int32_t).
19195 * locale/weight.h (findidx): Likewise.
19196
b1fe1f2b
OB
191972013-10-03 Ondřej Bílka <neleai@seznam.cz>
19198
19199 [BZ #431]
19200 * manual/string.texi: Fix strncat and wcsncat.
19201
5f855e35
BM
192022013-10-03 Brooks Moses <bmoses@google.com>
19203
19204 [BZ #15915]
19205 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19206 * Makerules: ...here, and adjust associated comments.
19207
3cef6009
WN
192082013-10-02 Will Newton <will.newton@linaro.org>
19209
19210 * malloc/Makefile: Add tst-pvalloc.
19211 * malloc/tst-pvalloc.c: New file.
19212
7815420b
WN
192132013-10-02 Will Newton <will.newton@linaro.org>
19214
19215 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19216 improve test coverage.
19217
4868b204
WN
192182013-10-02 Will Newton <will.newton@linaro.org>
19219
19220 * malloc/Makefile: Add tst-posix_memalign.
19221 * malloc/tst-posix_memalign.c: New file.
19222
29c793b3
EB
192232013-10-01 Eric Blake <eblake@redhat.com>
19224
19225 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19226 Use __THROWNL rather than __THROW on static functions.
19227
fd967522
PM
192282013-09-30 Petr Machata <pmachata@redhat.com>
19229
19230 * elf/elf.h (R_AARCH64_ABS16): New macro.
19231 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19232 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19233 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19234 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19235 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19236 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19237 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19238 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19239 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19240 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19241 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19242 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19243 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19244 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19245 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19246 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19247 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19248 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19249 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19250 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19251 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19252 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19253 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19254 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19255 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19256 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19257 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19258 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19259 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19260 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19261 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19262 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19263 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19264 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19265 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19266 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19267 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19268 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19269 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19270 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19271 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19272 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19273 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19274 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19275 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19276 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19277 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19278 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19279 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19280 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19281 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19282 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19283 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19284 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19285 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19286 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19287 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19288 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19289 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19290 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19291 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19292 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19293 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19294 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19295 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19296 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19297 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19298 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19299 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19300 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19301 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19302 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19303 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19304 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19305 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19306 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19307 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19308 (R_AARCH64_TLSDESC_LDR): Likewise.
19309 (R_AARCH64_TLSDESC_ADD): Likewise.
19310 (R_AARCH64_TLSDESC_CALL): Likewise.
19311
b2179107
AS
193122013-09-30 Andreas Schwab <schwab@suse.de>
19313
19314 [BZ #15048]
19315 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19316 the nss database lookup.
19317 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19319
47f28d0a
MF
193202013-09-28 Mike Frysinger <vapier@gentoo.org>
19321
19322 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19323
193242013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
19325
19326 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19327 ${Bash-specific parameter/pattern/string} parameter expansion.
19328 * sysdeps/unix/make-syscalls.sh: Likewise.
19329
f4518a17
KK
193302013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19331
19332 * sysdeps/sh/stackguard-macros.h: New file.
19333
dc1a95c7
OB
193342013-09-26 Ondřej Bílka <neleai@seznam.cz>
19335
19336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19337 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19338 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19339 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19340 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19341 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19342
5ebbff8f
AZ
193432013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19344
19345 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19346 Fix thread ID register.
19347
4fd2cf9f
JM
193482013-09-25 Joseph Myers <joseph@codesourcery.com>
19349
19350 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19351 [POSIX || UNIX98]: Require rather than permitting all symbols from
19352 <time.h>.
19353 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19354 element of struct sched_param.
19355 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19356 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19357 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19358 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19359 constant.
19360
12c22bc4
OL
193612013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19362
19363 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19364 argument calculation.
19365
a03d8ea7
JM
193662013-09-24 Joseph Myers <joseph@codesourcery.com>
19367
19368 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19369 Expect macro.
19370 [POSIX] (pthread_attr_t): Do not require type.
19371 [POSIX] (pthread_cond_t): Likewise.
19372 [POSIX] (pthread_condattr_t): Likewise.
19373 [POSIX] (pthread_key_t): Likewise.
19374 [POSIX] (pthread_mutex_t): Likewise.
19375 [POSIX] (pthread_mutexattr_t): Likewise.
19376 [POSIX] (pthread_once_t): Likewise.
19377 [POSIX] (pthread_t): Likewise.
19378 [POSIX-based standards] (pthread_atfork): Expect function.
19379
6055173a
JM
193802013-09-24 Joseph Myers <joseph@codesourcery.com>
19381 Richard Sandiford <richard@codesourcery.com>
19382
19383 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19384 (swap_endianness_p): New extern variable.
19385 (set_big_endian): New inline function.
19386 (maybe_swap_uint32): Likewise.
19387 (maybe_swap_uint32_array): Likewise.
19388 (maybe_swap_uint32_obstack): Likewise.
19389 * locale/programs/locfile.c: Include <stdbool.h>.
19390 (swap_endianness_p): New variable.
19391 (add_locale_uint32): Call maybe_swap_uint32.
19392 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19393 (write_locale_data): Call maybe_swap_uint32_array.
19394 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19395 maybe_swap_uint32.
19396 (obstack_int32_grow_fast): Likewise.
19397 (output_weightwc): Call maybe_swap_uint32_obstack.
19398 (collate_output): Likewise.
19399 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19400 (OPT_LITTLE_ENDIAN): Likewise.
19401 (options): Add --little-endian and --big-endian options.
19402 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19403 * locale/programs/locarchive.c: Include "locfile.h".
19404 (GET): New macro.
19405 (SET): Likewise.
19406 (INC): Likewise.
19407 (create_archive): Use the new macros to access fields of
19408 structures directly mapped from or written to locale archives.
19409 (oldlocrecentcmp): Likewise.
19410 (enlarge_archive): Likewise.
19411 (insert_name): Likewise.
19412 (add_alias): Likewise.
19413 (add_locale): Likewise.
19414 (delete_locales_from_archive): Likewise.
19415 (show_archive_content): Likewise.
19416 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19417 locale data.
19418
39bf0bb4
RM
194192013-09-24 Roland McGrath <roland@hack.frob.com>
19420
19421 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19422 http://www.gnu.org/doc/freemanuals.texi.
19423 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19424
f02eed10
WN
194252013-09-24 Will Newton <will.newton@linaro.org>
19426
19427 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19428 macro.
19429
a3a6c312
JM
194302013-09-23 Joseph Myers <joseph@codesourcery.com>
19431
19432 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19433 unsigned char.
19434
107375ac
MR
194352013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19436
19437 * manual/threads.texi (POSIX Threads): Fix a typo.
19438
141f3a77
SP
194392013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19440
303e567a
SP
19441 [BZ #14547]
19442 * string/tst-strcoll-overflow.c: New test case.
19443 * string/Makefile (xtests): Add tst-strcoll-overflow.
19444 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19445 cache if string sizes may cause integer overflow.
19446
141f3a77
SP
19447 [BZ #14547]
19448 * string/strcoll_l.c (coll_seq): New members rule, idx,
19449 save_idx and back_us.
19450 (get_next_seq_nocache): New function.
19451 (do_compare_nocache): New function.
19452 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19453 when malloc fails.
19454
c61b4d41
CD
194552013-09-23 Carlos O'Donell <carlos@redhat.com>
19456
0b1f8e35
CD
19457 [BZ #15754]
19458 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19459 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19460 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19461
c61b4d41
CD
19462 [BZ #15754]
19463 * elf/Makefile (tests): Add tst-ptrguard1.
19464 (tests-static): Add tst-ptrguard1-static.
19465 (tst-ptrguard1-ARGS): Define.
19466 (tst-ptrguard1-static-ARGS): Define.
19467 * elf/tst-ptrguard1.c: New file.
19468 * elf/tst-ptrguard1-static.c: New file.
19469 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19470 * sysdeps/i386/stackguard-macros.h: Likewise.
19471 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19472 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19473 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19474 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19475 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19476 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19477
194782013-09-23 Hector Marco <hecmargi@upv.es>
19479 Ismael Ripoll <iripoll@disca.upv.es>
19480 Carlos O'Donell <carlos@redhat.com>
19481
19482 [BZ #15754]
19483 * sysdeps/generic/stackguard-macros.h: Define
19484 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19485 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19486 Define __pointer_chk_guard_local.
19487 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19488 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19489
f5f4e7b4
VV
194902013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19491
19492 [BZ #15859]
19493 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19494
5bb43a43
AS
194952013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19496
19497 * include/string.h (__ffs): Declare as hidden.
19498 * string/ffs.c (__ffs): Define as hidden.
19499 * sysdeps/i386/ffs.c (__ffs): Likewise.
19500 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19501 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19502 * sysdeps/s390/ffs.c (__ffs): Likewise.
19503 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19504
3ea5be54
AO
195052013-09-20 Alexandre Oliva <aoliva@redhat.com>
19506
ffb89e53
AO
19507 * NEWS: Mention malloc probes.
19508
322dea08
AO
19509 * malloc/arena.c (new_heap): New memory_heap_new probe.
19510 (grow_heap): New memory_heap_more probe.
19511 (shrink_heap): New memory_heap_less probe.
19512 (heap_trim): New memory_heap_free probe.
19513 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19514 (systrim): New memory_sbrk_less probe.
19515 * manual/probes.texi: Document them.
19516
655673f3
AO
19517 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19518 * manual/probes.texi: Document it.
19519
35fed6f1
AO
19520 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19521 (__libc_realloc): Add memory_realloc_retry probe.
19522 (__libc_memalign): Add memory_memalign_retry probe.
19523 (__libc_valloc): Add memory_valloc_retry probe.
19524 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19525 (__libc_calloc): Add memory_calloc_retry probe.
19526 * manual/probes.texi: Document them.
19527
6999d38c
AO
19528 * malloc/arena.c (get_free_list): Add probe
19529 memory_arena_reuse_free_list.
19530 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19531 and memory_arena_reuse.
19532 (arena_get2) [!PER_THREAD]: Likewise.
19533 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19534 memory_arena_reuse_realloc.
19535 * manual/probes.texi: Document them.
19536
0653427f
AO
19537 * malloc/malloc.c (__libc_free): Add
19538 memory_mallopt_free_dyn_thresholds probe.
19539 (__libc_mallopt): Add multiple memory_mallopt probes.
19540 * manual/probes.texi: Document them.
19541
3ea5be54
AO
19542 * malloc/malloc.c: Include stap-probe.h.
19543 (__libc_mallopt): Add memory_mallopt probe.
19544 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19545 * manual/probes.texi: New.
19546 * manual/Makefile (chapters): Add probes.
19547 * manual/threads.texi: Set next node.
19548
e35696c3 195492013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 19550
e35696c3
CL
19551 [BZ #15963, #13985]
19552 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19553 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19554 Add `Chinese' to `nan' entry name.
19555
4aafb73c
SP
195562013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19557
19558 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19559 (POLYNOMIAL): Likewise.
19560 (TAYLOR_SINCOS): Likewise.
19561 (TAYLOR_SLOW): Likewise.
19562 (__sin): Use TAYLOR_SINCOS.
19563 (__cos): Likewise.
19564 (slow): Use TAYLOR_SLOW.
19565 (sloww): Likewise.
19566 (bsloww): Likewise.
19567 (csloww): Likewise.
19568
d84f25c7
LD
195692013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19570
19571 * stdlib/strtod_l.c: Fix buffer overrun.
19572
5eea0404
SP
195732013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19574
7849ff93
SP
19575 * benchtests/Makefile (bench): Add sincos.
19576 * benchtests/bench-sincos.c: New file.
19577
cfa3c886
SP
19578 * math/libm-test.inc (cos_test_data): New test inputs.
19579 (sin_test_data): Likewise.
19580
b348e1e3
SP
19581 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19582 macro.
19583 (__sin): Use it.
19584 (__cos): Likewise.
19585 (slow1): Likewise.
19586 (slow2): Likewise.
19587 (sloww1): Likewise.
19588 (sloww2): Likewise.
19589 (bsloww1): Likewise.
19590 (bsloww2): Likewise.
19591 (cslow2): Likewise.
19592 (csloww1): Likewise.
19593 (csloww2): Likewise.
19594
6cce25f8
SP
19595 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19596 function.
19597 (__sin): Use it.
19598 (__cos): Likewise.
19599
5eea0404
SP
19600 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19601 gotos.
19602 (__cos): Likewise.
19603
9c21573c
MR
196042013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19605
19606 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19607 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19608 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19609 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19610 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19611 * elf/cache.c (print_entry): Handle the new cache flags.
19612
24d22e65
JM
196132013-09-18 Joseph Myers <joseph@codesourcery.com>
19614 Aldy Hernandez <aldyh@redhat.com>
19615
19616 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19617 Change condition to [_SOFT_FLOAT].
19618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19621 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19622 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19624 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19626 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19627 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19629 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19630 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19631 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19632 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19633 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19634 declaration.
19635
d13ef066
JM
196362013-09-18 Joseph Myers <joseph@codesourcery.com>
19637
2e071de0
JM
19638 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19639 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19640 (__longjmp): Use LOAD_GP to load saved GPRs.
19641 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19642 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19643 (__sigsetjmp): Use SAVE_GP to save GPRs.
19644
d13ef066
JM
19645 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19646 Do not append -msoft-float.
19647 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19648
97a0650b
SP
196492013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19650
19651 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19652
11ca09e9
JM
196532013-09-17 Joseph Myers <joseph@codesourcery.com>
19654
19655 [BZ #15966]
19656 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19657 (_FPU_GETCW): Use initial "__" on variable and field names but not
19658 on macro parameter name.
19659 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19660 parentheses around reference to macro parameter.
19661
08ffcf34
RS
196622013-09-13 Richard Sandiford <richard@codesourcery.com>
19663
19664 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19665 prototype.
19666 (ctype_startup): Use uint32_t in cast and sizeof for
19667 ctype->charnames.
19668
ae7080d3
JL
196692013-09-11 Jia Liu <proljc@gmail.com>
19670
19671 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19672 __daddr_t_defined.
19673 [__FreeBSD__]: Likewise.
19674
5905e7b3
OB
196752013-09-11 Ondřej Bílka <neleai@seznam.cz>
19676
19677 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19678 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19679 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19680 (strchr): Remove __strchr_sse42 ifunc selection.
19681 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19682 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19683
b987c776
WN
196842013-09-11 Will Newton <will.newton@linaro.org>
19685
19686 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19687 parameter to RES. Remove hardcoded 1000 value.
19688 * benchtests/bench-skeleton.c (main): Pass RES parameter
19689 to TIMING_INIT and multiply result by 1000.
19690
ddf985af
AZ
196912013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19692
19693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19694
ffdd3181
AS
196952013-09-11 Andreas Schwab <schwab@suse.de>
19696
19697 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19698 if not defined.
19699 (O_TMPFILE) [__USE_GNU]: Define.
19700 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19701 Define.
19702
b73ed247
WN
197032013-09-11 Will Newton <will.newton@linaro.org>
19704
19705 [BZ #15857]
19706 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19707 does not overflow.
19708
55e17aad
WN
197092013-09-11 Will Newton <will.newton@linaro.org>
19710
19711 [BZ #15856]
19712 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19713 does not overflow.
19714
1159a193
WN
197152013-09-11 Will Newton <will.newton@linaro.org>
19716
19717 [BZ #15855]
19718 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19719 does not overflow.
19720
5905e7b3 197212013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19722
19723 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19724 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19725 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19726 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19727 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19728
cdfc721b
AM
197292013-09-10 Allan McRae <allan@archlinux.org>
19730
aa04af00
AM
19731 [BZ #15748]
19732 * manual/arith.texi (Parsing of Floats): Clarify
19733 cross-reference.
19734
cdfc721b
AM
19735 [BZ #15849]
19736 * manual/install.texi (Running make install): Mention
19737 --enable-pt-chown.
19738 * INSTALL: Regenerated.
19739
95e7cf29
MR
197402013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19741
19742 * csu/init-first.c (_init): Remove the !SHARED condition around
19743 FPU control word initialization.
19744 * elf/dl-support.c (_dl_fpu_control): New variable.
19745 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19746 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19747 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19748 * math/test-fpucw-static.c: New file.
19749 * math/test-fpucw-ieee.c: New file.
19750 * math/test-fpucw-ieee-static.c: New file.
19751 * math/Makefile (tests): Add `test-fpucw-ieee' and
19752 `$(tests-static)'.
19753 (tests-static): New variable.
19754 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19755 dependency to...
19756 [($(build-shared),yes)]
19757 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19758 ... this.
19759 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19760 New dependency.
19761
83e43bf0
AM
197622013-09-09 Allan McRae <allan@archlinux.org>
19763
a9f5ce09
AM
19764 [BZ #15939]
19765 * manual/string.texi (Collation Functions): Fix typo in
19766 strcoll example.
19767 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19768
34829bc2
AM
19769 [BZ #15893]
19770 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19771
3932737d
AM
19772 [BZ #15892]
19773 * libio/memstream.c (open_memstream): Fix memory leak.
19774 * libio/wmemstream.c (open_wmemstream): Likewise.
19775
83e43bf0
AM
19776 [BZ #15895]
19777 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19778
0c66b8e9
WN
197792013-09-09 Will Newton <will.newton@linaro.org>
19780
19781 * malloc/Makefile: Add tst-realloc to tests.
19782 * malloc/tst-realloc.c: New file.
19783
f6b00fd1
AM
197842013-09-09 Allan McRae <allan@archlinux.org>
19785
19786 [BZ #15844]
19787 * COPYING: Update from GNU website to fix FSF address.
19788 * COPYING.LIB: Likewise.
19789
eec55e16
DM
197902013-09-06 David S. Miller <davem@davemloft.net>
19791
19792 * po/zh_TW.po: Update Chinese (traditional) translation from
19793 translation project.
19794
1ecbb381
RS
197952013-09-06 Richard Sandiford <richard@codesourcery.com>
19796 Joseph Myers <joseph@codesourcery.com>
19797
19798 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19799 "localeinfo.h".
19800 (obstack_chunk_alloc): New macro.
19801 (obstack_chunk_free): Likewise.
19802 (record_offset): New function.
19803 (init_locale_data): Likewise.
19804 (align_locale_data): Likewise.
19805 (add_locale_empty): Likewise.
19806 (add_locale_raw_data): Likewise.
19807 (add_locale_raw_obstack): Likewise.
19808 (add_locale_string): Likewise.
19809 (add_locale_wstring): Likewise.
19810 (add_locale_uint32): Likewise.
19811 (add_locale_uint32_array): Likewise.
19812 (add_locale_char): Likewise.
19813 (start_locale_structure): Likewise.
19814 (end_locale_structure): Likewise.
19815 (start_locale_prelude): Likewise.
19816 (end_locale_prelude): Likewise.
19817 (write_locale_data): Take locale_file structure rather than an
19818 iovec.
19819 * locale/programs/locfile.h: Include "obstack.h".
19820 (struct locale_file): Change to store locale file contents instead
19821 of header.
19822 (init_locale_data): New prototype.
19823 (align_locale_data): Likewise.
19824 (add_locale_empty): Likewise.
19825 (add_locale_raw_data): Likewise.
19826 (add_locale_raw_obstack): Likewise.
19827 (add_locale_string): Likewise.
19828 (add_locale_wstring): Likewise.
19829 (add_locale_uint32): Likewise.
19830 (add_locale_uint32_array): Likewise.
19831 (add_locale_char): Likewise.
19832 (start_locale_structure): Likewise.
19833 (end_locale_structure): Likewise.
19834 (start_locale_prelude): Likewise.
19835 (end_locale_prelude): Likewise.
19836 (write_locale_data): Update prototype.
19837 * locale/programs/3level.h (struct TABLE): Remove result field.
19838 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19839 Use new locale_file interface.
19840 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19841 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19842 * locale/programs/ld-address.c (address_output): Use new
19843 locale_file interface.
19844 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19845 NO_ADD_LOCALE.
19846 (collate_finish): Don't call collseq_table_finalize.
19847 (collate_output): Use new locale_file interface.
19848 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19849 in file.
19850 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19851 (TABLE): Move defines earlier in file.
19852 (ELEMENT): Likewise.
19853 (DEFAULT): Likewise.
19854 (wctrans_table_add): Move macro and inline function earlier in
19855 file.
19856 (struct wctype_table): Move type earlier in file.
19857 (add_locale_wctype_table): New static prototype.
19858 (struct locale_ctype_t): Use logical types instead of struct iovec
19859 pointers for members.
19860 (ctype_output): Use new locale_file interface.
19861 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19862 new locale_file interface.
19863 (allocate_arrays): Update for use of new locale_file interface.
19864 * locale/programs/ld-identification.c (identification_output): Use
19865 new locale_file interface.
19866 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19867 * locale/programs/ld-messages.c (messages_output): Likewise.
19868 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19869 * locale/programs/ld-name.c (name_output): Likewise.
19870 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19871 * locale/programs/ld-paper.c (paper_output): Likewise.
19872 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19873 * locale/programs/ld-time.c (time_output): Likewise.
19874
e029e2e5
AZ
198752013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19876
19877 * benchtests/Makefile: Add memrchr benchmark.
19878 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19879 benchmark as memrchr.
19880 * benchtests/bench-memrchr-ifunc.c: New file.
19881 * benchtests/bench-memrchr.c: New file.
19882
bbf6e8e4
WN
198832013-09-06 Will Newton <will.newton@linaro.org>
19884
19885 * benchtests/Makefile (string-bench): Add memcpy.
19886
6c82a2f8
CD
198872013-09-05 Carlos O'Donell <carlos@redhat.com>
19888 Cong Wang <amwang@redhat.com>
19889
e732c5f0 19890 [BZ #15850]
6c82a2f8
CD
19891 * sysdeps/unix/sysv/linux/bits/in.h
19892 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19893 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19894 before __USE_KERNEL_IPV6_DEFS uses.
19895 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19896 IPPROTO_BEETPH.
19897 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19898 sockaddr_in6, or ipv6_mreq.
19899
5430fc65
AZ
199002013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19901
19902 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19903 memory access for final bytes in some large inputs.
19904 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19905
4660856c
AZ
199062013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19907
19908 * string/test-memrchr.c: New file.
19909 * string/test-memrchr-ifunc.c: New file.
19910 * string/Makefile: Add new memrchr testcase.
19911
bb8ea713
MF
199122013-09-05 Mike Frysinger <vapier@gentoo.org>
19913
19914 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19915 fanotify_init returns EPERM.
19916
b92a20b5
JM
199172013-09-04 Joseph Myers <joseph@codesourcery.com>
19918
19919 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19920 errors.
19921 (top level): Treat second token from macro or constant entries for
19922 allowed headers as allowed.
19923 * include/complex.h: Condition internal declarations on
19924 [!_ISOMAC].
19925 * include/fenv.h: Condition include of <stdbool.h> and internal
19926 declarations on [!_ISOMAC].
7447ccd9
CL
19927
199282013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19929
3e181dda 19930 [BZ #15923]
7447ccd9
CL
19931 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19932
3f2e46a4
JM
199332013-09-04 Joseph Myers <joseph@codesourcery.com>
19934
19935 * configure.in (--enable-versioning): Remove configure option.
19936 (libc_cv_asm_symver_directive): Remove configure test.
19937 (libc_cv_ld_version_script_option): Likewise.
19938 (VERSIONING): Remove variable and AC_SUBST.
19939 (DO_VERSIONING): Remove AC_DEFINE.
19940 * configure: Regenerated.
19941 * config.h.in (DO_VERSIONING): Remove macro.
19942 * Makerules [$(versioning) = yes]: Change conditionals to
19943 [$(build-shared) = yes].
19944 * config.make.in (versioning): Remove variable.
19945 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19946 [$(build-shared) = yes].
19947 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19948 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19949 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19950 [$(build-shared) = yes].
19951 * extra-lib.mk [$(versioning) = yes]: Likewise.
19952 * hurd/Makefile [$(versioning) = yes]: Likewise.
19953 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19954 [SHARED].
19955 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19956 [SHARED].
19957 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19958 [SHARED && !NO_HIDDEN].
19959 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19960 [SHARED].
19961 [SHARED && DO_VERSIONING]: Likewise..
19962 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19963 [$(build-shared) = yes].
19964 * manual/install.texi (--disable-versioning): Remove
19965 documentation.
19966 * INSTALL: Regenerated.
19967 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19968 to [SHARED].
19969 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19970 [$(build-shared) = yes].
19971 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19972 * sysdeps/i386/i686/multiarch/strstr-c.c
19973 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19974 [SHARED && !NO_HIDDEN].
19975 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19976 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19977 * sysdeps/powerpc/powerpc32/dl-machine.c
19978 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19979 * sysdeps/powerpc/powerpc32/sysdep.h
19980 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19981 to [SHARED && PIC && !NO_HIDDEN].
19982 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19983 conditional to [SHARED].
19984
44558701
WN
199852013-09-04 Will Newton <will.newton@linaro.org>
19986
19987 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19988 * benchtests/bench-string.h: Include bench-timing.h instead
19989 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19990 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19991 call to HP_TIMING_DIFF_INIT.
19992 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19993 instead of hp-timing.h macros.
19994 * benchtests/bench-memchr.c: Likewise.
19995 * benchtests/bench-memcmp.c: Likewise.
19996 * benchtests/bench-memcpy.c: Likewise.
19997 * benchtests/bench-memmem.c: Likewise.
19998 * benchtests/bench-memmove.c: Likewise.
19999 * benchtests/bench-memset.c: Likewise.
20000 * benchtests/bench-rawmemchr.c: Likewise.
20001 * benchtests/bench-strcasecmp.c: Likewise.
20002 * benchtests/bench-strcasestr.c: Likewise.
20003 * benchtests/bench-strcat.c: Likewise.
20004 * benchtests/bench-strchr.c: Likewise.
20005 * benchtests/bench-strcmp.c: Likewise.
20006 * benchtests/bench-strcpy.c: Likewise.
20007 * benchtests/bench-strcpy_chk.c: Likewise.
20008 * benchtests/bench-strlen.c: Likewise.
20009 * benchtests/bench-strncasecmp.c: Likewise.
20010 * benchtests/bench-strncat.c: Likewise.
20011 * benchtests/bench-strncmp.c: Likewise.
20012 * benchtests/bench-strncpy.c: Likewise.
20013 * benchtests/bench-strnlen.c: Likewise.
20014 * benchtests/bench-strpbrk.c: Likewise.
20015 * benchtests/bench-strrchr.c: Likewise.
20016 * benchtests/bench-strspn.c: Likewise.
20017 * benchtests/bench-strstr.c: Likewise.
20018
cae16d66
WN
200192013-09-04 Will Newton <will.newton@linaro.org>
20020
20021 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20022
ffa3cd7f
JM
200232013-09-03 Joseph Myers <joseph@codesourcery.com>
20024
20025 [BZ #15427]
20026 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20027 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20028 * math/libm-test.inc (lgamma_test_data): Add more tests.
20029 * sysdeps/i386/fpu/libm-test-ulps: Update.
20030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20031
8f02859f
OB
200322013-09-03 Ondřej Bílka <neleai@seznam.cz>
20033
20034 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20035 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20036 Add ifunc.
20037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20038 Add strcmp-sse2-unaligned
20039 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20040
18d43716
MF
200412013-09-02 Mike Frysinger <vapier@gentoo.org>
20042
20043 * Versions.def (libc): Add GLIBC_2.19.
20044
ac444012
MF
200452013-09-02 Mike Frysinger <vapier@gentoo.org>
20046
20047 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20048 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20049
b7835e32
JM
200502013-09-02 Joseph Myers <joseph@codesourcery.com>
20051
20052 [BZ #14155]
20053 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20054 intermediate calculations in recurrence.
20055 (__ieee754_ynf): Likewise.
20056 * math/libm-test.inc (jn_test_data): Do not allow spurious
20057 underflow exception. Add more tests.
20058 (yn_test_data): Add more tests.
20059 * sysdeps/i386/fpu/libm-test-ulps: Update.
20060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20061
8220f4f0
OB
200622013-09-02 Ondřej Bílka <neleai@seznam.cz>
20063
20064 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20065
f24a6d08
OB
200662013-08-30 Ondřej Bílka <neleai@seznam.cz>
20067
20068 * csu/init-first.c: Fix then/than typos.
20069 * locale/programs/ld-collate.c: Likewise.
20070 * locale/programs/linereader.h: Likewise.
20071 * manual/charset.texi: Likewise.
20072 * manual/filesys.texi: Likewise.
20073 * manual/stdio.texi: Likewise.
20074 * manual/string.texi: Likewise.
20075 * stdlib/fmtmsg.c: Likewise.
20076 * sysdeps/i386/stpncpy.S: Likewise.
20077 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20078 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20079 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20080 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20081
382466e0
OB
200822013-08-30 Ondřej Bílka <neleai@seznam.cz>
20083
20084 * elf/dl-open.c: Fix typos.
20085 * iconvdata/gbbig5.c: Likewise.
20086 * iconvdata/iso-2022-jp.c: Likewise.
20087 * iconv/gconv_int.h: Likewise.
20088 * iconv/loop.c: Likewise.
20089 * nis/rpcsvc/nis.h: Likewise.
20090 * resolv/ns_name.c: Likewise.
20091 * stdio-common/vfscanf.c: Likewise.
20092 * streams/stropts.h: Likewise.
20093 * sunrpc/rpc_thread.c: Likewise.
20094 * sysdeps/i386/strpbrk.S: Likewise.
20095 * sysdeps/ieee754/k_standard.c: Likewise.
20096 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20097 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20098 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20099 * sysdeps/mach/hurd/profil.c: Likewise.
20100 * sysdeps/s390/dl-procinfo.h: Likewise.
20101 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20102 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20103 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20104 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20105 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20106
0186c6e9
OB
201072013-08-30 Ondřej Bílka <neleai@seznam.cz>
20108
20109 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20110 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20111
d4e16af1
OB
201122013-08-29 Ondřej Bílka <neleai@seznam.cz>
20113
20114 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20115 aix specific files.
20116 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20117 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20118 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20119 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20120 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20121 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20122 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20123 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20124
88335980
TS
201252013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20126 Roland McGrath <roland@hack.frob.com>
20127
20128 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20129 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20130
ed479b02
ST
201312013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20132
20133 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20134 __executable_start symbol instead of _start.
20135
f1cc4c86
TS
201362013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20137
d821f07c
TS
20138 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20139 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20140 Move macros to...
20141 * sysdeps/gnu/ldsodefs.h: ... this new file.
20142
c54290cf
TS
20143 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20144 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20145 instead of ELFOSABI_LINUX.
20146
0007fc9b 20147 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
20148 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20149 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20150 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20151 Likewise.
20152 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20153 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20154 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20155 Likewise.
20156 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20157 (ibm_extended_long_double): Add ieee_nan member.
20158 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20159 (do_test): New function.
20160
f1cc4c86
TS
20161 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20162 TEST_TRUNC.
20163 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20164 functions, renamed from truncdfsf_test, trunctfsf_test,
20165 trunctfdf_test.
20166 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20167 functions.
20168 (do_test): Run all these.
20169
6f65e668
OB
201702013-08-29 Ondřej Bílka <neleai@seznam.cz>
20171
20172 * argp/argp-help.c: Fix typos.
20173 * argp/argp-parse.c: Likewise.
20174 * debug/backtracesyms.c: Likewise.
20175 * elf/elf.h: Likewise.
20176 * malloc/malloc.c: Likewise.
20177 * nis/nis_print.c: Likewise.
20178 * resolv/res_comp.c: Likewise.
20179 * stdlib/stdlib.h: Likewise.
20180 * sunrpc/clnt_tcp.c: Likewise.
20181 * sunrpc/clnt_udp.c: Likewise.
20182 * sunrpc/clnt_unix.c: Likewise.
20183 * sysdeps/unix/bsd/ptsname.c: Likewise.
20184 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20185 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
20186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20187 Likewise.
20188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20189 Likewise.
20190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20191 Likewise.
6f65e668
OB
20192 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20193
3a309239
SP
201942013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20195
20196 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20198
3b813b29
MF
201992013-08-27 Mike Frysinger <vapier@gentoo.org>
20200
20201 [BZ #15897]
20202 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20203 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20204 ($(objpfx)bug-dl-leaf): New rule.
20205 ($(objpfx)bug-dl-leaf.so): Likewise.
20206 ($(objpfx)bug-dl-leaf.out): Likewise.
20207 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20208 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20209 * dlfcn/bug-dl-leaf.c: New test.
20210 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20211 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20212 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20213 (dlclose): Likewise.
20214 (dlmopen): Likewise.
20215
8cc3269f
RM
202162013-08-27 Roland McGrath <roland@hack.frob.com>
20217
7f9d0034
RM
20218 * include/netdb.h [!_ISOMAC]:
20219 Don't include <tls.h>.
20220 (h_errno, __libc_h_errno): Move declaration and macros out of
20221 [_LIBC_REENTRANT].
20222
fb431262
RM
20223 * include/resolv.h [_RESOLV_H_]:
20224 Don't include <tls.h>.
20225 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20226 * resolv/res_libc.c: Don't include <tls.h>.
20227 (_res): Use __attribute__ ((nocommon)) in place of
20228 __attribute__ ((section (".bss"))).
20229
bd81123a
RM
20230 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20231 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20232
c4e42566
RM
20233 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20234
f890a59b
RM
20235 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20236 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20237
20238 * resolv/res_mkquery.c: Include <sys/time.h>.
20239
5d1f0a09
RM
20240 * inet/ifreq.c: Moved to ...
20241 * sysdeps/unix/ifreq.c: ... here.
20242 * inet/ifreq.c: New file, true stub version.
20243
6fcf28b3
RM
20244 * socket/sa_len.c: New file.
20245 * socket/Makefile (aux): Add it.
20246 * sysdeps/unix/sysv/linux/Makefile
20247 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20248 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20249 and #include <socket/sa_len.c>.
20250 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20251 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20252
e041fb8b
RM
20253 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20254 * bits/socket.h: ... here.
20255
8cc3269f
RM
20256 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20257 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20258 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20259
5d228a43
AS
202602013-08-27 Andreas Schwab <schwab@suse.de>
20261
45b8accc
AS
20262 [BZ #15736]
20263 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20264 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20265 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20266 * string/test-strcasecmp.c (test_main): Run tests in several
20267 locales.
20268 * string/test-strncasecmp.c (test_main): Likewise.
20269
5d228a43
AS
20270 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20271 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20272 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20273 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20274 (__strncasecmp_ssse3) [PIC]: Likewise.
20275
59d112a4
RM
202762013-08-26 Roland McGrath <roland@hack.frob.com>
20277
53234cc3
RM
20278 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20279
59d112a4
RM
20280 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20281 instead of explicitly declaring xdecrypt.
20282 * nis/nss_nis/nis-publickey.c: Likewise.
20283
595aba70
SP
202842013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20285
20286 [BZ #15890]
20287 * nscd/aicache.c: Include res_hconf.h.
20288 (addhstaiX): Initialize res_hconf.
20289
ffabd393
AS
202902013-08-26 Andreas Schwab <schwab@suse.de>
20291
20292 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20293 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20294
e0a69f5c
SP
202952013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20296
20297 * nscd/aicache.c (addhstaiX): Fix indentation.
20298
8c12f01d
MF
202992013-08-25 Mike Frysinger <vapier@gentoo.org>
20300
20301 * configure.ac: Quote $build_pt_chown test.
20302 * configure: Regenerated.
20303
8fe89494
JM
203042013-08-23 Joseph Myers <joseph@codesourcery.com>
20305
20306 [BZ #15532]
20307 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20308 * math/s_cexpf.c (__cexpf): Likewise.
20309 * math/s_cexpl.c (__cexpl): Likewise.
20310 * math/libm-test.inc (cexp_test_data): Correct expected return
20311 value for NaN + i0. Add another test.
20312
75b181d6
DM
203132013-08-22 David S. Miller <davem@davemloft.net>
20314
20315 * po/ca.po: Update Catalan translation from translation project.
936241e4 20316 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 20317
acd06bb1
JM
203182013-08-21 Joseph Myers <joseph@codesourcery.com>
20319
20320 [BZ #15797]
20321 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20322 is infinite, not alongside NaN test.
20323 * math/s_fdimf.c (__fdimf): Likewise.
20324 * math/s_fdiml.c (__fdiml): Likewise.
20325 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20326 errno is unchanged.
20327
c0c3f78a
OB
203282013-08-21 Ondřej Bílka <neleai@seznam.cz>
20329
20330 * argp/argp-help.c: Fix typos.
20331 * crypt/speeds.c: Likewise.
20332 * csu/check_fds.c: Likewise.
20333 * elf/dl-load.c: Likewise.
20334 * elf/dl-open.c: Likewise.
20335 * elf/reldep3.c: Likewise.
20336 * elf/reldep.c: Likewise.
20337 * elf/sprof.c: Likewise.
20338 * iconv/iconv_charmap.c: Likewise.
20339 * iconv/skeleton.c: Likewise.
20340 * iconv/strtab.c: Likewise.
20341 * io/lockf64.c: Likewise.
20342 * libio/libioP.h: Likewise.
20343 * resolv/gai_notify.c: Likewise.
20344 * resolv/ns_name.c: Likewise.
20345 * resolv/ns_samedomain.c: Likewise.
20346 * resolv/res_send.c: Likewise.
20347 * stdlib/random.c: Likewise.
20348 * sunrpc/rpc/xdr.h: Likewise.
20349 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20350 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20351 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20352 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20353 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20354 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20355 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20356 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20357 * sysdeps/mach/hurd/check_fds.c: Likewise.
20358 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20359 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20360 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20361 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20362 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20363 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20364 * sysdeps/pthread/aio_notify.c: Likewise.
20365 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20366 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20367 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20368 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20369 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20370
46ed1038
LD
203712013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20372
20373 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20374 version if bit_Slow_SSE4_2 is set.
20375 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20376 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20377
d400dcac
AZ
203782013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20379
20380 [BZ #15867]
20381 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20382 trampoline stack frame information.
20383 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20384 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20385 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20386 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20387 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20388 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20389 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20390 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20391 sa_flags value.
20392 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20393 interrupting a syscall and set with option SA_SIGINFO.
20394
42c8fdd8
JM
203952013-08-20 Joseph Myers <joseph@codesourcery.com>
20396
c980f2f4
JM
20397 [BZ #15531]
20398 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20399 argument is infinite.
20400 * math/s_cprojf.c (__cprojf): Likewise.
20401 * math/s_cprojl.c (__cprojl): Likewise.
20402 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20403 * math/libm-test.inc (cproj_test_data): Add more tests.
20404
0716c4fc
JM
20405 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20406
42c8fdd8
JM
20407 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20408 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20409 size. Use __ffs to determine corresponding shift.
20410
b31469d0
JM
204112013-08-20 Joseph Myers <joseph@codesourcery.com>
20412 Roland McGrath <roland@hack.frob.com>
20413
20414 * Makefile (INSTALL): Remove trailing blank lines from output of
20415 makeinfo.
20416
4e39af6e
AK
204172013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20418
20419 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20420 Align 32 bit compat elf_greg to 8 bytes.
20421
f315524e
AA
204222013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20423
20424 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20425
1326ba1a
SP
204262013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20427
20428 * string/strcoll_l.c (coll_seq): New structure.
20429 (get_next_seq_cached): New function.
20430 (get_next_seq): New function.
20431 (do_compare): New function.
20432 (STRCOLL): Use GNU style definition. Simplify implementation
20433 by using get_next_seq, get_next_seq_cached and do_compare.
20434
91ce4085
FW
204352013-08-16 Florian Weimer <fweimer@redhat.com>
20436
20437 [BZ #14699]
20438 CVE-2013-4237
20439 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20440 member.
20441 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20442 member.
20443 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20444 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20445 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20446 conditional.
20447 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20448 GETDENTS_64BIT_ALIGNED.
20449 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20450 * manual/filesys.texi (Reading/Closing Directory): Document
20451 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20452 strongly.
20453 * manual/conf.texi (Limits for Files): Add portability note to
20454 NAME_MAX, PATH_MAX.
20455 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20456
ca0a6bc4
AS
204572013-08-13 Andreas Schwab <schwab@suse.de>
20458
20459 [BZ #15749]
20460 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20461 of fabs.
20462 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20463 LDBL_MAX_EXP >= 16384]: Add tests for it.
20464
6c1fd795
DM
204652013-08-12 David S. Miller <davem@davemloft.net>
20466
20467 * version.h (RELEASE): Set to "development".
20468 (VERSION): Set to "2.18.90".
20469 * NEWS: Add 2.19 section.
20470
31ad488d
DM
204712013-08-03 David S. Miller <davem@davemloft.net>
20472
20473 * po/ko.po: Update Korean translation from translation project.
20474
db24e684
DM
204752013-08-01 David S. Miller <davem@davemloft.net>
20476
20477 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20478 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20479 Bilka.
20480
f723285b
DM
204812013-07-30 David S. Miller <davem@davemloft.net>
20482
20483 * po/fr.po: Update French translation from translation project.
20484
3cbc52db
DM
204852013-07-28 David S. Miller <davem@davemloft.net>
20486
30bbc0cc
DM
20487 * po/cs.po: Update Czech translation from translation project.
20488
3cbc52db
DM
20489 * po/sv.po: Update Swedish translation from translation project.
20490
d492e6d0
DM
204912013-07-27 David S. Miller <davem@davemloft.net>
20492
f1a7f492
DM
20493 * po/eo.po: Update Esperanto translation from translation project.
20494
90e62a4a
DM
20495 * po/vi.po: Update Vietnamese translation from translation project.
20496
d492e6d0
DM
20497 * po/de.po: Update German translation from translation project.
20498
d4baa62d
DM
204992013-07-26 David S. Miller <davem@davemloft.net>
20500
641aa7b4
DM
20501 * po/bg.po: Update Bulgarian translation from translation project.
20502
d4baa62d
DM
20503 * po/nl.po: Update Dutch translation from translation project.
20504 * po/pl.po: Update Polish translation from translation project.
20505 * po/ru.po: Update Russian translation from translation project.
20506
61a9dcb9
DM
205072013-07-24 David S. Miller <davem@davemloft.net>
20508
20509 * po/libc.pot: Update.
20510
7b1f8b58
AZ
205112013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20512
20513 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20514 variable page size.
20515 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20516 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20517 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20518
a8fc7a03
AK
205192013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20520
20521 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20522
e4608715
CD
205232013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20524 Andreas Schwab <schwab@suse.de>
20525 Roland McGrath <roland@hack.frob.com>
20526 Joseph Myers <joseph@codesourcery.com>
20527 Carlos O'Donell <carlos@redhat.com>
20528
20529 [BZ #15755]
20530 * config.h.in: Define HAVE_PT_CHOWN.
20531 * config.make.in (build-pt-chown): New variable.
20532 * configure.in (--enable-pt_chown): New configure option.
20533 * configure: Regenerate.
20534 * login/Makefile: Include Makeconfig. Build pt_chown only if
20535 build-pt-chown is enabled.
20536 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20537 pt_chown to fix pty ownership.
20538 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20539 CLOSE_ALL_FDS.
20540 * manual/install.texi (Configuring and compiling): Mention
20541 --enable-pt_chown. Add @findex for grantpt.
20542 * INSTALL: Regenerate.
20543
da2d62df
DM
205442013-07-20 David S. Miller <davem@davemloft.net>
20545
20546 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20547 difference between 32-bit and 64-bit.
20548
d7e06450
CD
205492013-07-15 Carlos O'Donell <carlos@redhat.com>
20550
20551 [BZ #15711]
20552 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20553 Avoid system header dependency with -ffreestanding.
20554 ($(objpfx)bits/syscall%d): Likewise.
20555
f959cfd7
DM
205562013-07-13 David S. Miller <davem@davemloft.net>
20557
20558 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20559 underflows from atanl/atan2l due to bug 15319.
20560 (casinh_test_data): Likewise.
20561
c61f8513
DM
205622013-07-07 David S. Miller <davem@davemloft.net>
20563
20564 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20565
72c90ed0
JA
205662013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20567
20568 * sysdeps/i386/fpu/libm-test-ulps: Update.
20569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20570
52dfbe13
SP
205712013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20572
20573 * configure.in (--enable-lock-elision): Fix message text.
20574 * INSTALL: Regenerate.
20575 * configure: Regenerate.
20576
3f169543
AZ
205772013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20578
20579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20580
521c6785
AJ
205812013-07-03 Andreas Jaeger <aj@suse.de>
20582
20583 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20584 define.
20585 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20586 (ptrace_peeksiginfo_args): Add.
20587 (__ptrace_peeksiginfo_flags): Add.
20588 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20589 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20590 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20591
d2cc15cb
AM
205922013-07-03 Allan McRae <allan@archlinux.org>
20593
20594 * sysdeps/i386/fpu/libm-test-ulps: Update.
20595
3aaeeca7
DM
205962013-07-02 David S. Miller <davem@davemloft.net>
20597
20598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20599
5314ed1a
MT
206002013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20601
20602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20603
67338156
JM
206042013-07-02 Joseph Myers <joseph@codesourcery.com>
20605
20606 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20608
1717da59
AK
206092013-07-02 Andi Kleen <ak@linux.intel.com>
20610
20611 * config.h.in (ENABLE_LOCK_ELISION): Add.
20612 * configure.in (--enable-lock-elision): Add option.
20613 * manual/install.texi: Document --enable lock elision.
20614 * configure: Regenerate
20615 * INSTALL: Regenerate.
20616
1c81621c
L
206172013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20618
20619 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20620 SSE4.2 strcasecmp for libc.a.
20621 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20622
77f01ab5
JM
206232013-07-02 Joseph Myers <joseph@codesourcery.com>
20624
20625 [BZ #13304]
20626 * soft-fp/op-common.h (_FP_FMA): New macro.
20627 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20628 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20629 (_FP_MUL_MEAT_1_imm): ... here.
20630 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20631 (_FP_MUL_MEAT_1_wide): ... here.
20632 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20633 (_FP_MUL_MEAT_1_hard): ... here.
20634 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20635 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20636 (_FP_MUL_MEAT_2_wide): ... here.
20637 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20638 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20639 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20640 (_FP_MUL_MEAT_2_gmp): ... here.
20641 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20642 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20643 (_FP_MUL_MEAT_4_wide): ... here.
20644 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20645 (_FP_MUL_MEAT_4_gmp): ... here.
20646 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20647 (_FP_WFRACBITS_DW_S): Likewise.
20648 (_FP_WFRACXBITS_DW_S): Likewise.
20649 (_FP_HIGHBIT_DW_S): Likewise.
20650 (FP_FMA_S): Likewise.
20651 (_FP_FRAC_HIGH_DW_S): Likewise.
20652 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20653 (_FP_WFRACBITS_DW_D): Likewise.
20654 (_FP_WFRACXBITS_DW_D): Likewise.
20655 (_FP_HIGHBIT_DW_D): Likewise.
20656 (FP_FMA_D): Likewise.
20657 (_FP_FRAC_HIGH_DW_D): Likewise.
20658 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20659 (_FP_WFRACBITS_DW_E): Likewise.
20660 (_FP_WFRACXBITS_DW_E): Likewise.
20661 (_FP_HIGHBIT_DW_E): Likewise.
20662 (FP_FMA_E): Likewise.
20663 (_FP_FRAC_HIGH_DW_E): Likewise.
20664 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20665 (_FP_WFRACBITS_DW_Q): Likewise.
20666 (_FP_WFRACXBITS_DW_Q): Likewise.
20667 (_FP_HIGHBIT_DW_Q): Likewise.
20668 (FP_FMA_Q): Likewise.
20669 (_FP_FRAC_HIGH_DW_Q): Likewise.
20670 * soft-fp/fmasf4.c: New file.
20671 * soft-fp/fmadf4.c: Likewise.
20672 * soft-fp/fmatf4.c: Likewise.
20673
6308fd9a
LD
206742013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20675
20676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20677 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20678 Silvermont.
20679 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20680 macro.
20681 (index_Slow_SSE4_2): Likewise.
20682 (index_Prefer_PMINUB_for_stringop): Likewise.
20683 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20684 bit_Slow_SSE4_2 is set.
20685 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20686 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20687
89cd9569
RA
206882013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20689
20690 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20691 rtld_global._dl_hwcap2.
20692 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20693 POWER8.
20694 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20695 POWER8 feature descriptions defined in _dl_hwcap2.
20696 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20697 string handling for POWER8 feature bits.
20698 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20699 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20700 _dl_powerpc_cap_flags.
20701 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20702 * sysdeps/powerpc/rtld-global-offsets.sym
20703 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20704 _dl_hwcap2 in the rtld_global_ro structure.
20705
1ae8bfe0
RA
207062013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20707
20708 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20709 hardware capabilities in support of AT_HWCAP2.
20710 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20711 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20712 GLRO(dl_hwcap2).
20713 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20714 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20715 explicitly the unknown a_type display mechanism is used.
20716 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20717 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20718 struct member.
20719 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20720 to macro prototype for AT_HWCAP2 support.
20721 * sysdeps/i386/dl-procinfo.h: Likewise.
20722 * sysdeps/s390/dl-procinfo.h: Likewise.
20723 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20724 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20725 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20726 return -1 for unknown a_type display fallback.
20727 * sysdeps/sparc/dl-procinfo.h: Likewise.
20728 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20729 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20730
8fbec010
JM
207312013-06-28 Joseph Myers <joseph@codesourcery.com>
20732
20733 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20734 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20735
0432680e
PY
207362013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20737
20738 [BZ #12492]
20739 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20740 mprotect making __stack_prot writable.
20741
ce61a2ad
NF
207422013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20743 Joseph Myers <joseph@codesourcery.com>
20744
20745 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20746 as being properly aligned.
20747
f91f1c0f
MR
207482013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20749
3d0f5d0c
MR
20750 * dlfcn/modstatic5.c: New file.
20751 * dlfcn/tststatic5.c: New file.
20752 * dlfcn/Makefile (tests): Add tststatic5.
20753 (tests-static): Likewise.
20754 (modules-names): Add modstatic5.
20755 (tststatic5-ENV): New variable.
20756 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20757
f91f1c0f
MR
20758 [BZ #15022]
20759 * elf/dl-support.c (_dl_main_map): New variable.
20760 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20761 (_dl_nns, _dl_load_adds): Set to 1.
20762 (_dl_initial_searchlist): Refer to _dl_main_map.
20763 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20764 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20765 call to _dl_get_origin.
20766 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20767 around call_map.
20768 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20769 * dlfcn/modstatic3.c: New file.
20770 * dlfcn/tststatic3.c: New file.
20771 * dlfcn/tststatic4.c: New file.
20772 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20773 (tests-static): Likewise.
20774 (modules-names): Add modstatic3.
20775 (tststatic3-ENV, tststatic4-ENV): New variables.
20776 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20777 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20778
cbe7d24b
JM
207792013-06-26 Joseph Myers <joseph@codesourcery.com>
20780
20781 * configure.in (CC): Require GCC version 4.4 or later.
20782 * configure: Regenerated.
20783 * manual/install.texi (Tools for Compilation): Update GCC version
20784 requirement.
20785 * INSTALL: Regenerated.
20786
11b8a0e1
LD
207872013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20788
20789 [BZ #15674]
bb5bb87c
L
20790 * string/test-memcmp.c (check2): New.
20791 (main): Call check2.
20792
11b8a0e1
LD
20793 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20794
b0037103
MR
207952013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20796
20797 [BZ #15022]
20798 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20799 over to...
20800 (dl_open_worker) [!SHARED]: ... here.
20801
c18c701d
RA
208022013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20803
20804 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20805
1d17fa5f
RH
208062013-06-25 Richard Henderson <rth@redhat.com>
20807
20808 * locale/programs/locarchive.c: Include <libc-internal.h>
20809
8fcb833a
JM
208102013-06-25 Joseph Myers <joseph@codesourcery.com>
20811
20812 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20813 trailing whitespace removed.
20814
17db6e8d
MF
208152013-06-24 Mike Frysinger <vapier@gentoo.org>
20816
20817 [BZ #10283]
17db6e8d
MF
20818 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20819 * locale/programs/locarchive.c: Include libc-mmap.h.
20820 (prepare_address_space): Take two new outputs (the mmap base and len).
20821 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20822 values.
20823 (create_archive): Declare new mmap base and len values for
20824 prepare_address_space, and store the result in ah.
20825 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20826 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20827 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20828 Declare new mmap base and len values for
20829 prepare_address_space, and store the result in new_ah.
20830 (open_archive): Declare new mmap base and len values for
20831 prepare_address_space, and store the result in ah.
20832 (close_archive): If ah->mmap_base is not NULL, use that and
20833 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20834 * sysdeps/generic/libc-mmap.h: New file.
20835
d605071e
MF
208362013-06-24 Mike Frysinger <vapier@gentoo.org>
20837
20838 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20839 (ALIGN_UP): Likewise.
20840 (PTR_ALIGN_DOWN): Likewise.
20841 (PTR_ALIGN_UP): Likewise.
20842
2f063a6e
RA
208432013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20844
20845 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20846 entry mapped to PPC_PLATFORM_POWER8.
20847 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20848 POWER8.
20849 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20850 (_dl_string_platform): Add case for exporting platform position for
20851 POWER8.
20852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20853 search path to sysdeps/powerpc/powerpc32/power8 directory.
20854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20855 search path to sysdeps/powerpc/powerpc64/power8 directory.
20856 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20857 power7 directories.
20858 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20859 power7 directories.
20860
a31ee4b3
SP
208612013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20862
a74ca98f
SP
20863 * INSTALL: Regenerate.
20864
a31ee4b3
SP
20865 * nscd/connections.c (nscd_init): Fix comment.
20866
695c378f
JM
208672013-06-22 Joseph Myers <joseph@codesourcery.com>
20868
d8412221
JM
20869 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20870
695c378f
JM
20871 [BZ #15667]
20872 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20873 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20874
d1d54715
MR
208752013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20876
20877 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20878 DL_DST_REQ_STATIC.
20879 (DL_DST_REQ_STATIC): Remove macro.
20880
8fdda7af
JM
208812013-06-21 Joseph Myers <joseph@codesourcery.com>
20882
20883 [BZ #7006]
20884 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20885 with a shift of 0 bits.
20886
f3bc5e5a
MR
208872013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20888
20889 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20890 $(tststatic-ENV).
20891
be09e8c9
KK
208922013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20893
20894 [BZ #15655]
20895 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20896
85c2e611
AZ
208972013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20898
20899 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20900 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20901 accepts -fno-tree-loop-distribute-patterns.
20902 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20903 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20904 recursive call.
20905 * string/memset.c (memset): Likewise.
20906 * string/test-memmove.c (simple_memmove): Disable loop transformation
20907 to library calls.
20908 * string/test-memset.c (simple_memset): Likewise.
20909 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20910 * benchtests/bench-memset.c (simple_memset): Likewise.
20911 * configure: Regenerated.
20912
c91e0825
JM
209132013-06-20 Joseph Myers <joseph@codesourcery.com>
20914
b8c792af
JM
20915 * math/test-misc.c (main): Ignore fesetround failure when failures
20916 of subsequent rounding tests would be ignored.
20917
c91e0825
JM
20918 [BZ #15654]
20919 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20920 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20921 * math/fegetenv.c (__fegetenv): Return 0.
20922 * math/fegetexcept.c (fegetexcept): Return 0.
20923 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20924 FE_TONEAREST.
20925 * math/feholdexcpt.c (feholdexcept): Return 0.
20926 * math/fesetenv.c (__fesetenv): Return 0.
20927 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20928 argument FE_TONEAREST.
20929 * math/feupdateenv.c (__feupdateenv): Return 0.
20930 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20931
bfcacbde
RM
209322013-06-18 Roland McGrath <roland@hack.frob.com>
20933
20934 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20935 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20936 ($(objpfx)rtld-%.os rules): Use them.
20937
e55a9b25
AZ
209382013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20939
20940 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20941 fields.
20942
346d65b3
RM
209432013-06-17 Roland McGrath <roland@hack.frob.com>
20944
12086fb4
RM
20945 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20946 length of target pattern, then descending length of dependency pattern.
20947 * configure.in (AWK): Require gawk 3.1.2 or newer.
20948 * manual/install.texi (Tools for Compilation): Say that we do.
20949 * configure: Regenerated.
20950
346d65b3
RM
20951 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20952 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20953 * scripts/sysd-rules.awk: ... this new script.
20954 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20955 than a glob-style pattern.
20956
1a846317
JM
209572013-06-17 Joseph Myers <joseph@codesourcery.com>
20958
20959 * math/test-misc.c (main): Do not treat incorrectly rounded
20960 conversions as failure unless ROUNDING_TESTS passes.
20961
8fc75e6f
JM
209622013-06-15 Joseph Myers <joseph@codesourcery.com>
20963
3711a167
JM
20964 [BZ #15631]
20965 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20966 restore exception state around main square root computation, then
20967 check for inexactness explicitly.
20968
8fc75e6f
JM
20969 * math/libm-test.inc (fma_test_data): Add another test.
20970
61dd6208
SP
209712013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20972
adf23d2c
SP
20973 * manual/threads.texi (Non-POSIX Extensions): New document
20974 node. Document pthread_getattr_default_np and
20975 pthread_setattr_default_np.
20976
61dd6208
SP
20977 * Versions.def (libpthread): Add GLIBC_2.18.
20978 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20980 Likewise.
20981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20982 Likewise.
20983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20984 Likewise.
20985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20986 Likewise.
20987 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20988 Likewise.
20989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20990 Likewise.
20991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20992 Likewise.
20993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20994 Likewise.
20995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20996 Likewise.
20997
d086fc7b
LD
209982013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20999
21000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21001 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21002
747ef469
SP
210032013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21004 H.J. Lu <hjl.tools@gmail.com>
21005
21006 [BZ #15627]
21007 * sysdeps/x86_64/rtld-memset.c: Remove file.
21008 * sysdeps/x86_64/rtld-memset.S: New file.
21009
1b2feed2
JM
210102013-06-14 Joseph Myers <joseph@codesourcery.com>
21011
21012 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21013 (test_in_one_mode): Take arguments for whether the rounding mode
21014 is supported for each floating-point type.
21015 (do_test): Pass new arguments to test_in_one_mode using
21016 ROUNDING_TESTS.
21017
a58ad3f8
RM
210182013-06-13 Roland McGrath <roland@hack.frob.com>
21019
21020 * posix/tst-waitid.c (do_test): Distinguish different instances of
21021 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21022 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21023 before entering the kernel for waitpid.
21024
c204ab28
SP
210252013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21026
21027 * NEWS: Fix note on clock function precision. Text by Roland
21028 McGrath.
21029
f4a29fba
RM
210302013-06-13 Roland McGrath <roland@hack.frob.com>
21031
21032 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21033 it into place only when and if the sanity check passes.
21034
1f24b9ad
JM
210352013-06-13 Joseph Myers <joseph@codesourcery.com>
21036
21037 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21038 output for whether conversion result is exact. Take argument
21039 indicating whether type is IBM long double.
21040 (round_for_all): Change need_exact field to ibm_ld.
21041 * stdlib/tst-strtod-round.c (struct exactness): New type.
21042 (struct test): Change bool ld_ok field to struct exactness exact.
21043 (TEST): Update all definitions for change to field.
21044 (tests): Regenerate array contents.
21045 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21046 field value. Check for IBM long double here.
21047 (do_test): Update calls to test_in_one_mode.
21048
58206c68
SP
210492013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21050
21051 [BZ #12515]
21052 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21053 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21054
2d6f4c5b 210552013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
21056
21057 [BZ #15605]
21058 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21059 generated by the compiler on loop optimizations.
21060 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21061 general definitions.
21062
94f2c076
JM
210632013-06-12 Joseph Myers <joseph@codesourcery.com>
21064
21065 * math/bug-nextafter.c: Include <math-tests.h>.
21066 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21067 the relevant type.
21068 * math/bug-nexttoward.c: Include <math-tests.h>.
21069 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21070 the relevant type.
21071 * math/test-misc.c: Include <math-tests.h>.
21072 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21073 the relevant type.
21074
e0e50a0a
AJ
210752013-06-12 Andreas Jaeger <aj@suse.de>
21076
21077 * po/ia.po: Update Interlingua translation from translation
21078 project.
21079
25061094
SP
210802013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21081
21082 * include/fenv.h: Include stdbool.h.
21083 (struct rm_ctx): New structure.
21084 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21085 Define macro.
21086 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21087 (SET_RESTORE_ROUNDF): Likewise.
21088 (SET_RESTORE_ROUNDL): Likewise.
21089 (SET_RESTORE_ROUND_NOEX): Likewise.
21090 (SET_RESTORE_ROUND_NOEXF): Likewise.
21091 (SET_RESTORE_ROUND_NOEXL): Likewise.
21092 (SET_RESTORE_ROUND_53BIT): Likewise.
21093 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21094 (libc_feresetround_noexf_ctx): Likewise.
21095 (libc_feresetround_noexl_ctx): Likewise.
21096 (libc_feholdsetround_53bit_ctx): Likewise.
21097 (libc_feresetround_53bit_ctx): Likewise.
21098 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21099 (libc_feholdexcept_setround_sse_ctx): New function.
21100 (libc_fesetenv_sse_ctx): Likewise.
21101 (libc_feupdateenv_sse_ctx): Likewise.
21102 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21103 (libc_feholdexcept_setround_387_ctx): Likewise.
21104 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21105 (libc_feholdsetround_387_prec_ctx): Likewise.
21106 (libc_feholdsetround_387_ctx): Likewise.
21107 (libc_feholdsetround_387_53bit_ctx): Likewise.
21108 (libc_feholdsetround_sse_ctx): Likewise.
21109 (libc_feresetround_sse_ctx): Likewise.
21110 (libc_feresetround_387_ctx): Likewise.
21111 (libc_feupdateenv_387_ctx): Likewise.
21112 (libc_feholdexcept_setroundf_ctx): Define macro.
21113 (libc_fesetenvf_ctx): Likewise.
21114 (libc_feupdateenvf_ctx): Likewise.
21115 (libc_feholdsetroundf_ctx): Likewise.
21116 (libc_feresetroundf_ctx): Likewise.
21117 (libc_feholdexcept_setround_ctx): Likewise.
21118 (libc_fesetenv_ctx): Likewise.
21119 (libc_feupdateenv_ctx): Likewise.
21120 (libc_feholdsetround_ctx): Likewise.
21121 (libc_feresetround_ctx): Likewise.
21122 (libc_feholdexcept_setroundl_ctx): Likewise.
21123 (libc_feupdateenvl_ctx): Likewise.
21124 (libc_feholdsetroundl_ctx): Likewise.
21125 (libc_feresetroundl_ctx): Likewise.
21126 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21127 (libc_feresetround_53bit_ctx): Likewise.
21128
59b30555
SP
211292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21130
21131 * locale/iso-639.def: Convert to UTF-8.
21132
f1d73d30
JM
211332013-06-11 Joseph Myers <joseph@codesourcery.com>
21134
21135 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21136 (EXCEPTION_TESTS_double): Likewise.
21137 (EXCEPTION_TESTS_long_double): Likewise.
21138 (EXCEPTION_TESTS): Likewise.
21139 * math/libm-test.inc (test_exceptions): Only test exceptions if
21140 EXCEPTION_TESTS (FLOAT).
21141
94aca5e7
SP
211422013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21143
21144 * benchtests/Makefile (string-bench): Add strcpy_chk and
21145 stpcpy_chk.
21146 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21147 * benchtests/bench-stpcpy_chk.c: New file.
21148 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21149 * benchtests/bench-strcpy_chk.c: New file.
21150 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21151 code.
21152 (do_test): Likewise.
21153
fac0c5f2
RA
211542013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21155
21156 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21157 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21158 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21159 with tabs where appropriate.
21160 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21161 dl-procinfo.h.
21162 [PPC_PLATFORM_PPC440]: Likewise.
21163 [PPC_PLATFORM_PPC464]: Likewise.
21164 [PPC_PLATFORM_PPC476]: Likewise.
21165 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21166 ppc464, and ppc476 platform strings merging from ports/
21167 dl-procinfo.h.
21168
f22bc486
AS
211692013-06-11 Andreas Schwab <schwab@suse.de>
21170
21171 [BZ #14991]
21172 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21173 (from_ucs4_idx): Regenerate.
21174 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21175 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21176 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21177 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21178 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21179 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21180 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21181 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21182 from FROM_LOOP and TO_LOOP specific macros.
21183 (BODY): Handle combining characters.
21184 * iconvdata/BIG5HKSCS.irreversible: Update.
21185 * iconvdata/BIG5HKSCS.precomposed: New file.
21186 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21187 characters.
21188 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21189
c1f75dc3
SP
211902013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21191
4eacded2
SP
21192 * include/sys/time.h: Fix indentation and add copyright header.
21193
fec799f8
SP
21194 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21195 (do_test): Likewise.
21196 * string/test-memchr.c (do_one_test): Likewise.
21197 (do_test): Likewise.
21198 * string/test-memcmp.c (do_one_test): Likewise.
21199 (do_test): Likewise.
21200 * string/test-memcpy.c (do_one_test): Likewise.
21201 (do_test): Likewise.
21202 * string/test-memmem.c (do_one_test): Likewise.
21203 (do_test): Likewise.
21204 (do_random_tests): Likewise.
21205 * string/test-memmove.c (do_one_test): Likewise.
21206 (do_test): Likewise.
21207 * string/test-memset.c (do_one_test): Likewise.
21208 (do_test): Likewise.
21209 * string/test-rawmemchr.c (do_one_test): Likewise.
21210 (do_test): Likewise.
21211 * string/test-strcasecmp.c (do_one_test): Likewise.
21212 (do_test): Likewise.
21213 * string/test-strcasestr.c (do_one_test): Likewise.
21214 (do_test): Likewise.
21215 * string/test-strcat.c (do_one_test): Likewise.
21216 (do_test): Likewise.
21217 * string/test-strchr.c (do_one_test): Likewise.
21218 (do_test): Likewise.
21219 * string/test-strcmp.c (do_one_test): Likewise.
21220 (do_test): Likewise.
21221 * string/test-strcpy.c (do_one_test): Likewise.
21222 (do_test): Likewise.
21223 * string/test-string.h: Likewise.
21224 (test_init): Likewise.
21225 * string/test-strlen.c (do_one_test): Likewise.
21226 (do_test): Likewise.
21227 * string/test-strncasecmp.c (do_one_test): Likewise.
21228 (do_test): Likewise.
21229 * string/test-strncat.c (do_one_test): Likewise.
21230 (do_test): Likewise.
21231 * string/test-strncmp.c (do_one_test): Likewise.
21232 (do_test_limit): Likewise.
21233 (do_test): Likewise.
21234 * string/test-strncpy.c (do_one_test): Likewise.
21235 (do_test): Likewise.
21236 * string/test-strnlen.c (do_one_test): Likewise.
21237 (do_test): Likewise.
21238 * string/test-strpbrk.c (do_one_test): Likewise.
21239 (do_test): Likewise.
21240 * string/test-strrchr.c (do_one_test): Likewise.
21241 (do_test): Likewise.
21242 * string/test-strspn.c (do_one_test): Likewise.
21243 (do_test): Likewise.
21244 * string/test-strstr.c (do_one_test): Likewise.
21245 (do_test): Likewise.
21246
97020474
SP
21247 * benchtests/Makefile (string-bench): Add string benchmarks.
21248 * benchtests/bench-bcopy-ifunc.c: New file.
21249 * benchtests/bench-bcopy.c: New file.
21250 * benchtests/bench-bzero-ifunc.c: New file.
21251 * benchtests/bench-bzero.c: New file.
21252 * benchtests/bench-memccpy-ifunc.c: New file.
21253 * benchtests/bench-memccpy.c: New file.
21254 * benchtests/bench-memchr-ifunc.c: New file.
21255 * benchtests/bench-memchr.c: New file.
21256 * benchtests/bench-memcmp-ifunc.c: New file.
21257 * benchtests/bench-memcmp.c: New file.
21258 * benchtests/bench-memmem-ifunc.c: New file.
21259 * benchtests/bench-memmem.c: New file.
21260 * benchtests/bench-memmove-ifunc.c: New file.
21261 * benchtests/bench-memmove.c: New file.
21262 * benchtests/bench-mempcpy-ifunc.c: New file.
21263 * benchtests/bench-mempcpy.c: New file.
21264 * benchtests/bench-memset-ifunc.c: New file.
21265 * benchtests/bench-memset.c: New file.
21266 * benchtests/bench-rawmemchr-ifunc.c: New file.
21267 * benchtests/bench-rawmemchr.c: New file.
21268 * benchtests/bench-stpcpy-ifunc.c: New file.
21269 * benchtests/bench-stpcpy.c: New file.
21270 * benchtests/bench-stpncpy-ifunc.c: New file.
21271 * benchtests/bench-stpncpy.c: New file.
21272 * benchtests/bench-strcasecmp-ifunc.c: New file.
21273 * benchtests/bench-strcasecmp.c: New file.
21274 * benchtests/bench-strcasestr-ifunc.c: New file.
21275 * benchtests/bench-strcasestr.c: New file.
21276 * benchtests/bench-strcat-ifunc.c: New file.
21277 * benchtests/bench-strcat.c: New file.
21278 * benchtests/bench-strchr-ifunc.c: New file.
21279 * benchtests/bench-strchr.c: New file.
21280 * benchtests/bench-strchrnul-ifunc.c: New file.
21281 * benchtests/bench-strchrnul.c: New file.
21282 * benchtests/bench-strcmp-ifunc.c: New file.
21283 * benchtests/bench-strcmp.c: New file.
21284 * benchtests/bench-strcpy-ifunc.c: New file.
21285 * benchtests/bench-strcpy.c: New file.
21286 * benchtests/bench-strcspn-ifunc.c: New file.
21287 * benchtests/bench-strcspn.c: New file.
21288 * benchtests/bench-strlen-ifunc.c: New file.
21289 * benchtests/bench-strlen.c: New file.
21290 * benchtests/bench-strncasecmp-ifunc.c: New file.
21291 * benchtests/bench-strncasecmp.c: New file.
21292 * benchtests/bench-strncat-ifunc.c: New file.
21293 * benchtests/bench-strncat.c: New file.
21294 * benchtests/bench-strncmp-ifunc.c: New file.
21295 * benchtests/bench-strncmp.c: New file.
21296 * benchtests/bench-strncpy-ifunc.c: New file.
21297 * benchtests/bench-strncpy.c: New file.
21298 * benchtests/bench-strnlen-ifunc.c: New file.
21299 * benchtests/bench-strnlen.c: New file.
21300 * benchtests/bench-strpbrk-ifunc.c: New file.
21301 * benchtests/bench-strpbrk.c: New file.
21302 * benchtests/bench-strrchr-ifunc.c: New file.
21303 * benchtests/bench-strrchr.c: New file.
21304 * benchtests/bench-strspn-ifunc.c: New file.
21305 * benchtests/bench-strspn.c: New file.
21306 * benchtests/bench-strstr-ifunc.c: New file.
21307 * benchtests/bench-strstr.c: New file.
21308
c1f75dc3
SP
21309 * benchtests/Makefile: Disable parallel execution of targets.
21310 (string-bench): Add memcpy.
21311 (benchset): New variable to store a list of benchmark sets.
21312 (bench-func): Renamed from bench.
21313 (bench-set): New target.
21314 (bench): Depend on bench-func and bench-set.
21315 * benchtests/README: Add section on benchmark sets.
21316 * benchtests/bench-memcpy-ifunc.c: New file.
21317 * benchtests/bench-memcpy.c: New file.
21318 * benchtests/bench-string.h: New file.
21319
50fd745b
AS
213202013-06-11 Andreas Schwab <schwab@suse.de>
21321
21322 [BZ #15577]
21323 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21324 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21325 values in the triple.
21326 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21327 terminator in the group key.
21328
3ee7e9fe
AJ
213292013-06-11 Andreas Jaeger <aj@suse.de>
21330
21331 * po/zh_TW.po: Update Chinese (traditional) translation from
21332 translation project.
21333
89fb6835
SP
213342013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21335
21336 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21337 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21338 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21339 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21340 (clock_getcpuclockid): Likewise.
21341 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21342 Add weak_alias and libc_hidden_def.
21343 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21344 * rt/clock_gettime.c (clock_gettime): Rename to
21345 __clock_gettime. Add weak_alias and libc_hidden_def.
21346 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21347 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21348 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21349 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21350 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21351 Likewise.
21352 * rt/clock_settime.c (clock_settime): Rename to
21353 __clock_settime. Add weak_alias and libc_hidden_def.
21354 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21355
0efa6f8b
JM
213562013-06-10 Joseph Myers <joseph@codesourcery.com>
21357
b8c61b4b
JM
21358 * mach/err_boot.sub: Remove trailing whitespace.
21359 * mach/err_ipc.sub: Likewise.
21360 * mach/err_mach.sub: Likewise.
21361
0efa6f8b
JM
21362 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21363 (ROUNDING_TESTS_double): Likewise.
21364 (ROUNDING_TESTS_long_double): Likewise.
21365 (ROUNDING_TESTS): Likewise.
21366 * math/libm-test.inc: Include <math-tests.h>.
21367 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21368 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21369 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21370 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21371
50b818bf
SP
213722013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21373
21374 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21375 of assigning.
21376
60d2f8f3
JM
213772013-06-08 Joseph Myers <joseph@codesourcery.com>
21378
4902d2c3
JM
21379 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21380 otherwise empty TRANS lines.
21381 * sysdeps/gnu/errlist.c: Regenerated.
21382
60d2f8f3
JM
21383 * catgets/gencat.c (error_print): Use (void) in function
21384 definition.
21385 * crypt/crypt_util.c (__init_des): Likewise.
21386 * crypt/speeds.c (Stop): Likewise.
21387 (main): Likewise.
21388 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21389 * inet/ruserpass.c (token): Likewise.
21390 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21391 * intl/localealias.c (extend_alias_table): Likewise.
21392 * intl/plural-exp.c (init_germanic_plural): Likewise.
21393 * libio/fcloseall.c (__fcloseall): Likewise.
21394 * libio/genops.c (_IO_flush_all): Likewise.
21395 (_IO_flush_all_linebuffered): Likewise.
21396 (_IO_cleanup): Likewise.
21397 (_IO_iter_begin): Likewise.
21398 (_IO_iter_end): Likewise.
21399 (_IO_list_lock): Likewise.
21400 (_IO_list_unlock): Likewise.
21401 (_IO_list_resetlock): Likewise.
21402 * libio/getchar.c (getchar): Likewise.
21403 * libio/getchar_u.c (getchar_unlocked): Likewise.
21404 * libio/getwchar.c (getwchar): Likewise.
21405 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21406 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21407 * login/getpt.c (__getpt): Likewise.
21408 * login/tst-utmp.c (main): Likewise.
21409 * malloc/hooks.c (__malloc_check_init): Likewise.
21410 * malloc/malloc.c (__malloc_stats): Likewise.
21411 * malloc/mtrace.c (tr_break): Likewise.
21412 (mtrace): Likewise.
21413 (muntrace): Likewise.
21414 * misc/fstab.c (endfsent): Likewise.
21415 * misc/getclktck.c (__getclktck): Likewise.
21416 * misc/getdtsz.c (__getdtablesize): Likewise.
21417 * misc/gethostid.c (gethostid): Likewise.
21418 * misc/getpagesize.c (__getpagesize): Likewise.
21419 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21420 (__get_nprocs): Likewise.
21421 (__get_phys_pages): Likewise.
21422 (__get_avphys_pages): Likewise.
21423 * misc/getttyent.c (getttyent): Likewise.
21424 (setttyent): Likewise.
21425 (endttyent): Likewise.
21426 * misc/getusershell.c (getusershell): Likewise.
21427 (endusershell): Likewise.
21428 (setusershell): Likewise.
21429 (initshells): Likewise.
21430 * misc/hsearch.c (__hdestroy): Likewise.
21431 * misc/sync.c (sync): Likewise.
21432 * misc/syslog.c (closelog_internal): Likewise.
21433 (closelog): Likewise.
21434 * misc/ttyslot.c (ttyslot): Likewise.
21435 * misc/vhangup.c (vhangup): Likewise.
21436 * posix/fork.c (__fork): Likewise.
21437 * posix/getegid.c (__getegid): Likewise.
21438 * posix/geteuid.c (__geteuid): Likewise.
21439 * posix/getgid.c (__getgid): Likewise.
21440 * posix/getpid.c (__getpid): Likewise.
21441 * posix/getppid.c (__getppid): Likewise.
21442 * posix/getuid.c (__getuid): Likewise.
21443 * posix/pause.c (pause): Likewise.
21444 * posix/setpgrp.c (setpgrp): Likewise.
21445 * posix/setsid.c (__setsid): Likewise.
21446 * posix/test-vfork.c (noop): Likewise.
21447 * resolv/gethnamaddr.c (_endhtent): Likewise.
21448 (_gethtent): Likewise.
21449 (ht_endhostent): Likewise.
21450 (gethostent): Likewise.
21451 (dns_service): Likewise.
21452 * stdlib/drand48.c (drand48): Likewise.
21453 * stdlib/lrand48.c (lrand48): Likewise.
21454 * stdlib/mrand48.c (mrand48): Likewise.
21455 * stdlib/rand.c (rand): Likewise.
21456 * stdlib/random.c (__random): Likewise.
21457 * stdlib/setenv.c (clearenv): Likewise.
21458 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21459 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21460 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21461 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21462 (__get_nprocs): Likewise.
21463 (__get_phys_pages): Likewise.
21464 (__get_avphys_pages): Likewise.
21465 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21466 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21467 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21468 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21469 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21470 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21471 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21472 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21473 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21474 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21475 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21476 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21477 * sysdeps/posix/clock.c (clock): Likewise.
21478 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21479 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21480 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21481 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21482 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21483 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21484 (__get_nprocs_conf): Likewise.
21485 (__get_phys_pages): Likewise.
21486 (__get_avphys_pages): Likewise.
21487 * time/clock.c (clock): Likewise.
21488 * time/tzset.c (__tzname_max): Likewise.
21489
2e09a79a
JM
214902013-06-07 Joseph Myers <joseph@codesourcery.com>
21491
21492 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21493 (__bswap_32): Do not use "register".
21494 * crypt/crypt.c (_ufc_doit_r): Likewise.
21495 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21496 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21497 * gmon/gmon.c (__monstartup): Likewise.
21498 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21499 * hurd/hurdmalloc.c (more_memory): Likewise.
21500 (malloc): Likewise.
21501 (free): Likewise.
21502 (realloc): Likewise.
21503 (malloc_fork_prepare): Likewise.
21504 (malloc_fork_parent): Likewise.
21505 (malloc_fork_child): Likewise.
21506 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21507 (_svcauth_des): Likewise.
21508 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21509 * inet/inet_net.c (inet_network): Likewise.
21510 * inet/inet_netof.c (inet_netof): Likewise.
21511 * inet/rcmd.c (__validuser2_sa): Likewise.
21512 * io/fts.c (fts_open): Likewise.
21513 (fts_load): Likewise.
21514 (fts_close): Likewise.
21515 (fts_read): Likewise.
21516 (fts_children): Likewise.
21517 (fts_build): Likewise.
21518 (fts_stat): Likewise.
21519 (fts_sort): Likewise.
21520 (fts_alloc): Likewise.
21521 (fts_lfree): Likewise.
21522 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21523 (_IO_file_xsgetn): Likewise.
21524 (_IO_file_xsgetn_mmap): Likewise.
21525 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21526 (_IO_cookie_write): Likewise.
21527 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21528 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21529 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21530 * malloc/obstack.c (_obstack_begin): Likewise.
21531 (_obstack_begin_1): Likewise.
21532 (_obstack_newchunk): Likewise.
21533 (_obstack_allocated_p): Likewise.
21534 (obstack_free): Likewise.
21535 (_obstack_memory_used): Likewise.
21536 * misc/getttyent.c (getttynam): Likewise.
21537 (getttyent): Likewise.
21538 (skip): Likewise.
21539 (value): Likewise.
21540 * misc/getusershell.c (initshells): Likewise.
21541 * misc/syslog.c (__vsyslog_chk): Likewise.
21542 * misc/ttyslot.c (ttyslot): Likewise.
21543 * nis/nis_hash.c (__nis_hash): Likewise.
21544 * posix/fnmatch_loop.c (FCT): Likewise.
21545 * posix/getconf.c (print_all): Likewise.
21546 (main): Likewise.
21547 * posix/getopt.c (exchange): Likewise.
21548 * posix/glob.c (globfree): Likewise.
21549 (prefix_array): Likewise.
21550 (__glob_pattern_type): Likewise.
21551 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21552 (NS_GET32): Likewise.
21553 (NS_PUT16): Likewise.
21554 (NS_PUT32): Likewise.
21555 * resolv/gethnamaddr.c (getanswer): Likewise.
21556 (gethostbyname2): Likewise.
21557 (gethostbyaddr): Likewise.
21558 (_gethtent): Likewise.
21559 (_gethtbyname2): Likewise.
21560 (_gethtbyaddr): Likewise.
21561 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21562 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21563 * resolv/res_init.c (__res_vinit): Likewise.
21564 (net_mask): Likewise.
21565 * resolv/res_mkquery.c (outchar): Likewise.
21566 (PRINT): Likewise.
21567 * stdio-common/printf_fp.c (outchar): Likewise.
21568 (PRINT): Likewise.
21569 * stdio-common/printf_fphex.c (outchar): Likewise.
21570 (PRINT): Likewise.
21571 * stdio-common/printf_size.c (outchar): Likewise.
21572 (PRINT): Likewise.
21573 * stdio-common/test_rdwr.c (main): Likewise.
21574 * stdio-common/tfformat.c (matches): Likewise.
21575 * stdio-common/vfprintf.c (outchar): Likewise.
21576 (printf_unknown): Likewise.
21577 (buffered_vfprintf): Likewise.
21578 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21579 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21580 (ReadFile): Likewise.
21581 * stdlib/qsort.c (SWAP): Likewise.
21582 (_quicksort): Likewise.
21583 * stdlib/setenv.c (__add_to_environ): Likewise.
21584 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21585 * stdlib/strtol_l.c (__strtol_l): Likewise.
21586 * stdlib/tst-strtod.c (main): Likewise.
21587 * stdlib/tst-strtol.c (main): Likewise.
21588 * stdlib/tst-strtoll.c (main): Likewise.
21589 * string/bits/string2.h (__strcmp_cc): Likewise.
21590 (__strcmp_cg): Likewise.
21591 (__strcspn_c1): Likewise.
21592 (__strcspn_c2): Likewise.
21593 (__strcspn_c3): Likewise.
21594 (__strspn_c1): Likewise.
21595 (__strspn_c2): Likewise.
21596 (__strspn_c3): Likewise.
21597 (__strsep_1c): Likewise.
21598 (__strsep_2c): Likewise.
21599 (__strsep_3c): Likewise.
21600 * string/memccpy.c (__memccpy): Likewise.
21601 * string/stpcpy.c (__stpcpy): Likewise.
21602 * string/strcmp.c (strcmp): Likewise.
21603 * string/strrchr.c (strrchr): Likewise.
21604 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21605 Likewise.
21606 * sysdeps/mach/hurd/getcwd.c
21607 (_hurd_canonicalize_directory_name_internal): Likewise.
21608 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21609 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21610 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21611 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21612 Likewise, in both definitions.
21613 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21614 definitions.
21615 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21616 64] (__bswap_64): Likewise.
21617 * time/test_time.c (main): Likewise.
21618 * time/tzfile.c (__tzfile_read): Likewise.
21619 (__tzfile_compute): Likewise.
21620 * time/tzset.c (__tzset_parse_tz): Likewise.
21621 (tzset_internal): Likewise.
21622 (compute_change): Likewise.
21623 * wcsmbs/wcscat.c (__wcscat): Likewise.
21624 * wcsmbs/wcschr.c (wcschr): Likewise.
21625 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21626 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21627 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21628 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21629 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21630 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21631 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21632 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21633 * wcsmbs/wmemset.c (wmemset): Likewise.
21634
9e54314b
JM
216352013-06-06 Joseph Myers <joseph@codesourcery.com>
21636
21637 * scripts/config.guess: Update to version 2013-05-16.
21638 * scripts/config.sub: Update to version 2013-04-24.
21639 * scripts/install-sh: Update to version 2011-11-20.07.
21640 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21641 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21642
350635a5
OB
216432013-06-06 Ondřej Bílka <neleai@seznam.cz>
21644
21645 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21646 * elf/sln.c: Likewise.
21647 * hurd/hurd/ioctl.h: Likewise.
21648 * hurd/hurdmalloc.c: Likewise.
21649 * hurd/xattr.c: Likewise.
21650 * include/shlib-compat.h: Likewise.
21651 * inet/ruserpass.c: Likewise.
21652 * libio/iofgets_u.c: Likewise.
21653 * libio/iofgetws_u.c: Likewise.
21654 * locale/programs/ld-identification.c: Likewise.
21655 * locale/programs/ld-time.c: Likewise.
21656 * mach/msg-destroy.c: Likewise.
21657 * nss/nss_files/files-netgrp.c: Likewise.
21658 * resolv/res_data.c: Likewise.
21659 * soft-fp/op-1.h: Likewise.
21660 * soft-fp/op-2.h: Likewise.
21661 * soft-fp/op-4.h: Likewise.
21662 * soft-fp/op-common.h: Likewise.
21663 * stdio-common/printf_fphex.c: Likewise.
21664 * stdlib/strtod_l.c: Likewise.
21665 * sunrpc/rpc/clnt.h: Likewise.
21666 * sysdeps/generic/framestate.c: Likewise.
21667 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21668 * sysdeps/i386/bsd-setjmp.S: Likewise.
21669 * sysdeps/i386/__longjmp.S: Likewise.
21670 * sysdeps/i386/setjmp.S: Likewise.
21671 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21672 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21673 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21674 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21675 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21676 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21677 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21678 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21679 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21680 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21681 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21682 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21683 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21684 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21685 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21686 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21687 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21688 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21689 * sysdeps/ieee754/support.c: Likewise.
21690 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21691 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21692 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21693 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21694 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21695 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21696 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21697 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21698 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21699 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21700 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21701 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21702 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21703 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21704 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21705 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21706 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21708
44a988af
OB
217092013-06-05 Ondřej Bílka <neleai@seznam.cz>
21710
25506f09 21711 * posix/transbug.c: Remove executable mode.
44a988af 21712
9c84384c
JM
217132013-06-05 Joseph Myers <joseph@codesourcery.com>
21714
21715 * crypt/speeds.c: Remove trailing whitespace.
21716 * dlfcn/default.c: Likewise.
21717 * elf/ifuncdep2.c: Likewise.
21718 * elf/ifuncmain1.c: Likewise.
21719 * elf/ifuncmain1vis.c: Likewise.
21720 * elf/testobj.h: Likewise.
21721 * elf/tst-stackguard1.c: Likewise.
21722 * gmon/sys/gmon.h: Likewise.
21723 * hurd/hurdmsg.c: Likewise.
21724 * hurd/new-fd.c: Likewise.
21725 * hurd/ports-get.c: Likewise.
21726 * iconvdata/ibm1008_420.c: Likewise.
21727 * inet/tst-getni1.c: Likewise.
21728 * inet/tst-getni2.c: Likewise.
21729 * libio/ioungetc.c: Likewise.
21730 * libio/wfiledoalloc.c: Likewise.
21731 * manual/libm-err-tab.pl: Likewise.
21732 * math/w_dremf.c: Likewise.
21733 * misc/ftruncate.c: Likewise.
21734 * posix/bug-glob2.c: Likewise.
21735 * posix/tst-pcre.c: Likewise.
21736 * posix/wait4.c: Likewise.
21737 * resolv/README: Likewise.
21738 * resolv/res_debug.h: Likewise.
21739 * resolv/tst-inet_ntop.c: Likewise.
21740 * setjmp/bug269-setjmp.c: Likewise.
21741 * soft-fp/extended.h: Likewise.
21742 * soft-fp/op-1.h: Likewise.
21743 * soft-fp/op-2.h: Likewise.
21744 * soft-fp/op-4.h: Likewise.
21745 * soft-fp/op-8.h: Likewise.
21746 * soft-fp/testit.c: Likewise.
21747 * stdio-common/bug16.c: Likewise.
21748 * stdlib/random.c: Likewise.
21749 * sunrpc/rpcsvc/rquota.x: Likewise.
21750 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21751 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21752 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21753 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21754 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21755 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21756 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21757 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21758 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21759 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21760 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21761 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21762 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21763 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21764 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21765 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21766 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21767 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21768 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21769 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21770 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21771 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21772 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21773 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21774 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21775 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21776 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21777 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21778 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21779 * sysdeps/ieee754/s_lib_version.c: Likewise.
21780 * sysdeps/mach/hurd/check_fds.c: Likewise.
21781 * sysdeps/mach/hurd/getsockname.c: Likewise.
21782 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21783 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21784 * sysdeps/powerpc/bits/link.h: Likewise.
21785 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21786 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21787 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21788 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21789 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21790 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21791 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21792 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21793 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21794 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21795 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21796 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21797 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21798 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21799 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21800 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21801 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21802 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21803 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21804 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21805 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21806 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21807 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21808 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21809 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21810 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21811 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21812 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21813 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21814 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21815 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21816 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21817 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21818 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21819 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21820 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21821 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21822 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21823 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21824 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21825 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21826 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21827 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21828 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21829 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21830 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21831 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21832 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21833 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21834 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21835 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21836 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21837 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21838 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21839 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21840 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21841 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21842 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21843 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21844 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21845 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21846 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21847 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21848 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21849 * sysdeps/powerpc/sysdep.h: Likewise.
21850 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21851 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21852 * sysdeps/sh/dl-trampoline.S: Likewise.
21853 * sysdeps/sh/memset.S: Likewise.
21854 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21855 * sysdeps/sh/strlen.S: Likewise.
21856 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21857 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21858 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21859 * sysdeps/sparc/sparc32/rem.S: Likewise.
21860 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21861 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21862 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21863 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21864 * sysdeps/sparc/sparc32/urem.S: Likewise.
21865 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21866 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21867 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21868 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21869 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21870 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21871 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21872 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21873 * sysdeps/unix/bsd/times.c: Likewise.
21874 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21875 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21879 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21880 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21881 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21882 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21883 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21884 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21885 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21886 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21887 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21888 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21889 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21890 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21891 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21892 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21893 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21894 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21895 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21896 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21897 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21898 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21899 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21900 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21901 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21902 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21903 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21904 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21905 * sysdeps/x86_64/strcspn.S: Likewise.
21906
869378a5
RA
219072013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21908
21909 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21910 generated file. Regenerate properly from gen-translit.pl.
21911 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21912 locale/C-translit.h.
21913
840e2943
AS
219142013-06-05 Andreas Schwab <schwab@suse.de>
21915
21916 [BZ #15100]
21917 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21918 week as 6 instead of -1.
21919 * time/tst-strptime.c (day_tests): Add test case.
21920
4c60cb0c
SP
219212013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21922
21923 * sysdeps/generic/math_private.h
21924 (libc_feholdexcept_setround_53bit): Replace with
21925 libc_feholdsetround_53bit.
21926 (libc_feupdateenv_53bit): Replace with
21927 libc_feresetround_53bit.
21928 (SET_RESTORE_ROUND_53BIT): Adjust.
21929
d180203e
SP
219302013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21931
96df079a
SP
21932 * string/test-strchrnul.c: Add copyright header.
21933
d180203e
SP
21934 * posix/tst-getaddrinfo4.c: Increase test timeout.
21935
8b0ccb2d
CD
219362013-06-03 Carlos O'Donell <carlos@redhat.com>
21937
21938 [BZ #15536]
21939 * math/libm-test.inc (MAX_EXP): Remove
21940 (MIN_EXP): Define.
21941 (ulp): Use MIN_EXP - MANT_DIG.
21942 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21943
3b3c4d40
CD
219442013-05-31 Carlos O'Donell <carlos@redhat.com>
21945
21946 * po/be.po: Revert last change.
21947 * po/zh_CN.po: Likewise.
21948 * po/header.pot: Likewise.
21949
fab7ce3f
JM
219502013-05-31 Joseph Myers <joseph@codesourcery.com>
21951
21952 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21953 link-libc-deps to empty as target-specific variable.
21954 * Makerules (link-libc-args): New variable.
21955 (libc-for-link): Likewise.
21956 (link-libc-deps): Likewise.
21957 (lib%.so): Depend on $(link-libc-deps). Link with
21958 $(link-libc-args).
21959 (build-module): Link with $(link-libc-args).
21960 (build-module-asneeded): Likewise.
21961 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21962 list of objects.
21963 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21964 target-specific variable.
21965 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21966 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21967 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21968 libc.
21969 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21970 libc and ld.so.
21971 ($(objpfx)libpcprofile.so): Likewise.
21972 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21973 libc_nonshared.a.
21974 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21975 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21976 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21977 $(link-libc-deps).
21978 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21979 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21980 * login/Makefile ($(objpfx)libutil.so): Likewise.
21981 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21982 * math/Makefile ($(objpfx)libm.so): Likewise.
21983 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21984 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21985 variable instead of depending directly on libc.
21986 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21987 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21988 $(link-libc-deps).
21989 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21990 libc.
21991 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21992 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21993 ($(objpfx)libanl.so): Likewise.
21994 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21995 ld.so.
21996 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21997 $(link-libc-deps).
21998 * sysdeps/i386/fpu/Makefile: Remove file.
21999 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22000 ($(objpfx)libm.so): Remove dependency on ld.so.
22001
eca5920c
PF
220022013-05-30 Patsy Franklin <pfrankli@redhat.com>
22003
22004 [BZ # 15553]
22005 * nis/yp_xdr.c (XDRMAXNAME): Define.
22006 (XDRMAXRECORD): Define.
22007 (xdr_domainname): Use XDRMAXNAME.
22008 (xdr_mapname): Likewise.
22009 (xdr_peername): Likewise.
22010 (xdr_keydat): Use XDRMAXRECORD.
22011 (xdr_valdat): Likewise.
22012
220132013-05-30 Jeff Law <law@redhat.com>
96945714
JL
22014
22015 [BZ #14256]
22016 * manual/errno.texi (ESTALE): Update to account for more than
22017 just NFS file systems.
22018 * sysdeps/gnu/errlist.c: Regenerated.
22019
b9375348
SP
220202013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22021
22022 [BZ #15465]
22023 * elf/Makefile (tests): Add tst-null-argv.
22024 (modules-names): Add tst-null-argv-lib.
22025 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22026 (tst-null-argv-ENV): Set environment for tst-null-argv.
22027 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22028 (RTLD_PROGNAME): New macro.
22029 * elf/tst-null-argv.c: New test case.
22030 * elf/tst-null-argv-lib.c: Library for test case.
22031 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22032 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22033 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22034 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22035 * elf/dl-init.c (call_init): Likewise.
22036 (_dl_init): Likewise.
22037 * elf/dl-load.c (print_search_path): Likewise.
22038 (_dl_map_object): Likewise.
22039 * elf/dl-lookup.c (do_lookup_x): Likewise.
22040 (add_dependency): Likewise.
22041 (_dl_lookup_symbol_x): Likewise.
22042 (_dl_debug_bindings): Likewise.
22043 * elf/dl-open.c (_dl_show_scope): Likewise.
22044 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22045 * elf/dl-version.c (match_symbol): Likewise.
22046 (_dl_check_map_versions): Likewise.
22047 * elf/rtld.c (dl_main): Likewise.
22048 (print_unresolved): Use RTLD_PROGNAME.
22049 (print_missing_version): Likewise.
22050 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22051 (elf_machine_rela): Likewise.
22052 * sysdeps/powerpc/powerpc32/dl-machine.c
22053 (__process_machine_rela): Likewise.
22054 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22055 Likewise.
22056 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22057 Likewise.
22058 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22059 Likewise.
22060 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22061 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22062 Likewise.
22063 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22064 Likewise.
22065 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22066
8a9f20c8
CD
220672013-05-28 Carlos O'Donell <carlos@redhat.com>
22068
22069 * po/be.po: Add descriptive title.
22070 * po/zh_CN.po: Likewise.
22071 * po/header.pot: Likewise.
22072
0e60d68e
MF
220732013-05-28 Mike Frysinger <vapier@gentoo.org>
22074
22075 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22076 error message.
22077 (enlarge_archive): Likewise.
22078
56b672e9
BN
220792013-05-28 Ben North <ben@redfrontdoor.org>
22080
22081 * manual/arith.texi (frexp): It is the magnitude of the return
22082 value which lies in [0.5, 1), not the return value itself.
22083
5e056687
AZ
220842013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22085
22086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22087
2b66ef5d
TS
220882013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22089
528c2405
TS
22090 * stdio-common/bug26.c (main): Correct fscanf template.
22091
07b4c13d
TS
22092 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22093 declare _dl_skip_args.
22094
ec9dd97c
TS
22095 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22096 Don't declare.
22097
2b66ef5d
TS
22098 * manual/platform.texi: Add missing @end deftypefun.
22099
4f8dfe27
JM
221002013-05-24 Joseph Myers <joseph@codesourcery.com>
22101
0323d086
JM
22102 [BZ #15529]
22103 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22104 bit of mantissa of 2^16382.
22105 * math/libm-test.inc (hypot_test_data): Add more tests.
22106
dd4259b9
JM
22107 * math/libm-test.inc: Add drem and pow10 to list of tested
22108 functions.
22109 (pow10_test): New function.
22110 (drem_test): Likewise.
22111 (drem_test_tonearest): Likewise.
22112 (drem_test_towardzero): Likewise.
22113 (drem_test_downward): Likewise.
22114 (drem_test_upward): Likewise.
22115 (main): Call the new functions.
22116
4f8dfe27
JM
22117 * math/libm-test.inc (finite_test_data): Remove.
22118 (finite_test): Run tests from isfinite_test_data.
22119 (gamma_test_data): Remove.
22120 (gamma_test): Run tests from lgamma_test_data.
22121 * sysdeps/i386/fpu/libm-test-ulps: Update.
22122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22123
d116b7c4
AZ
221242013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22125
22126 * manual/platform.texi: Add PowerPC PPR function set documentation.
22127 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22128 implementation.
22129
e96e3767
CD
221302013-05-24 Carlos O'Donell <carlos@redhat.com>
22131
22132 * math/libm-test.inc (MAX_EXP): Define.
22133 (ULPDIFF): Define.
22134 (ulp): New function.
22135 (check_float_internal): Use ULPDIFF.
22136 (cpow_test): Disable failing test.
22137 (check_ulp): Test ulp() implemetnation.
22138 (main): Call check_ulp before starting tests.
22139
b679a606
JM
221402013-05-24 Joseph Myers <joseph@codesourcery.com>
22141
e8bdba36
JM
22142 * math/gen-libm-test.pl (generate_testfile): Do not handle
22143 START_DATA and END_DATA.
22144 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22145 END_DATA.
22146 (acos_tonearest_test_data): Likewise.
22147 (acos_towardzero_test_data): Likewise.
22148 (acos_downward_test_data): Likewise.
22149 (acos_upward_test_data): Likewise.
22150 (acosh_test_data): Likewise.
22151 (asin_test_data): Likewise.
22152 (asin_tonearest_test_data): Likewise.
22153 (asin_towardzero_test_data): Likewise.
22154 (asin_downward_test_data): Likewise.
22155 (asin_upward_test_data): Likewise.
22156 (asinh_test_data): Likewise.
22157 (atan_test_data): Likewise.
22158 (atanh_test_data): Likewise.
22159 (atan2_test_data): Likewise.
22160 (cabs_test_data): Likewise.
22161 (cacos_test_data): Likewise.
22162 (cacosh_test_data): Likewise.
22163 (carg_test_data): Likewise.
22164 (casin_test_data): Likewise.
22165 (casinh_test_data): Likewise.
22166 (catan_test_data): Likewise.
22167 (catanh_test_data): Likewise.
22168 (cbrt_test_data): Likewise.
22169 (ccos_test_data): Likewise.
22170 (ccosh_test_data): Likewise.
22171 (ceil_test_data): Likewise.
22172 (cexp_test_data): Likewise.
22173 (cimag_test_data): Likewise.
22174 (clog_test_data): Likewise.
22175 (clog10_test_data): Likewise.
22176 (conj_test_data): Likewise.
22177 (copysign_test_data): Likewise.
22178 (cos_test_data): Likewise.
22179 (cos_tonearest_test_data): Likewise.
22180 (cos_towardzero_test_data): Likewise.
22181 (cos_downward_test_data): Likewise.
22182 (cos_upward_test_data): Likewise.
22183 (cosh_test_data): Likewise.
22184 (cosh_tonearest_test_data): Likewise.
22185 (cosh_towardzero_test_data): Likewise.
22186 (cosh_downward_test_data): Likewise.
22187 (cosh_upward_test_data): Likewise.
22188 (cpow_test_data): Likewise.
22189 (cproj_test_data): Likewise.
22190 (creal_test_data): Likewise.
22191 (csin_test_data): Likewise.
22192 (csinh_test_data): Likewise.
22193 (csqrt_test_data): Likewise.
22194 (ctan_test_data): Likewise.
22195 (ctan_tonearest_test_data): Likewise.
22196 (ctan_towardzero_test_data): Likewise.
22197 (ctan_downward_test_data): Likewise.
22198 (ctan_upward_test_data): Likewise.
22199 (ctanh_test_data): Likewise.
22200 (ctanh_tonearest_test_data): Likewise.
22201 (ctanh_towardzero_test_data): Likewise.
22202 (ctanh_downward_test_data): Likewise.
22203 (ctanh_upward_test_data): Likewise.
22204 (erf_test_data): Likewise.
22205 (erfc_test_data): Likewise.
22206 (exp_test_data): Likewise.
22207 (exp_tonearest_test_data): Likewise.
22208 (exp_towardzero_test_data): Likewise.
22209 (exp_downward_test_data): Likewise.
22210 (exp_upward_test_data): Likewise.
22211 (exp10_test_data): Likewise.
22212 (exp2_test_data): Likewise.
22213 (expm1_test_data): Likewise.
22214 (fabs_test_data): Likewise.
22215 (fdim_test_data): Likewise.
22216 (finite_test_data): Likewise.
22217 (floor_test_data): Likewise.
22218 (fma_test_data): Likewise.
22219 (fma_towardzero_test_data): Likewise.
22220 (fma_downward_test_data): Likewise.
22221 (fma_upward_test_data): Likewise.
22222 (fmax_test_data): Likewise.
22223 (fmin_test_data): Likewise.
22224 (fmod_test_data): Likewise.
22225 (fpclassify_test_data): Likewise.
22226 (frexp_test_data): Likewise.
22227 (gamma_test_data): Likewise.
22228 (hypot_test_data): Likewise.
22229 (ilogb_test_data): Likewise.
22230 (isfinite_test_data): Likewise.
22231 (isgreater_test_data): Likewise.
22232 (isgreaterequal_test_data): Likewise.
22233 (isinf_test_data): Likewise.
22234 (isless_test_data): Likewise.
22235 (islessequal_test_data): Likewise.
22236 (islessgreater_test_data): Likewise.
22237 (isnan_test_data): Likewise.
22238 (isnormal_test_data): Likewise.
22239 (issignaling_test_data): Likewise.
22240 (isunordered_test_data): Likewise.
22241 (j0_test_data): Likewise.
22242 (j1_test_data): Likewise.
22243 (jn_test_data): Likewise.
22244 (ldexp_test_data): Likewise.
22245 (lgamma_test_data): Likewise.
22246 (lrint_test_data): Likewise.
22247 (lrint_tonearest_test_data): Likewise.
22248 (lrint_towardzero_test_data): Likewise.
22249 (lrint_downward_test_data): Likewise.
22250 (lrint_upward_test_data): Likewise.
22251 (llrint_test_data): Likewise.
22252 (llrint_tonearest_test_data): Likewise.
22253 (llrint_towardzero_test_data): Likewise.
22254 (llrint_downward_test_data): Likewise.
22255 (llrint_upward_test_data): Likewise.
22256 (log_test_data): Likewise.
22257 (log10_test_data): Likewise.
22258 (log1p_test_data): Likewise.
22259 (log2_test_data): Likewise.
22260 (logb_test_data): Likewise.
22261 (logb_downward_test_data): Likewise.
22262 (lround_test_data): Likewise.
22263 (llround_test_data): Likewise.
22264 (modf_test_data): Likewise.
22265 (nearbyint_test_data): Likewise.
22266 (nextafter_test_data): Likewise.
22267 (nexttoward_test_data): Likewise.
22268 (pow_test_data): Likewise.
22269 (pow_tonearest_test_data): Likewise.
22270 (pow_towardzero_test_data): Likewise.
22271 (pow_downward_test_data): Likewise.
22272 (pow_upward_test_data): Likewise.
22273 (remainder_test_data): Likewise.
22274 (remainder_tonearest_test_data): Likewise.
22275 (remainder_towardzero_test_data): Likewise.
22276 (remainder_downward_test_data): Likewise.
22277 (remainder_upward_test_data): Likewise.
22278 (remquo_test_data): Likewise.
22279 (rint_test_data): Likewise.
22280 (rint_tonearest_test_data): Likewise.
22281 (rint_towardzero_test_data): Likewise.
22282 (rint_downward_test_data): Likewise.
22283 (rint_upward_test_data): Likewise.
22284 (round_test_data): Likewise.
22285 (scalb_test_data): Likewise.
22286 (scalbn_test_data): Likewise.
22287 (scalbln_test_data): Likewise.
22288 (signbit_test_data): Likewise.
22289 (sin_test_data): Likewise.
22290 (sin_tonearest_test_data): Likewise.
22291 (sin_towardzero_test_data): Likewise.
22292 (sin_downward_test_data): Likewise.
22293 (sin_upward_test_data): Likewise.
22294 (sincos_test_data): Likewise.
22295 (sinh_test_data): Likewise.
22296 (sinh_tonearest_test_data): Likewise.
22297 (sinh_towardzero_test_data): Likewise.
22298 (sinh_downward_test_data): Likewise.
22299 (sinh_upward_test_data): Likewise.
22300 (sqrt_test_data): Likewise.
22301 (tan_test_data): Likewise.
22302 (tan_tonearest_test_data): Likewise.
22303 (tan_towardzero_test_data): Likewise.
22304 (tan_downward_test_data): Likewise.
22305 (tan_upward_test_data): Likewise.
22306 (tanh_test_data): Likewise.
22307 (tgamma_test_data): Likewise.
22308 (trunc_test_data): Likewise.
22309 (y0_test_data): Likewise.
22310 (y1_test_data): Likewise.
22311 (yn_test_data): Likewise.
22312 (significand_test_data): Likewise.
22313
b679a606
JM
22314 * math/gen-libm-test.pl (@functions): Remove variable.
22315 (generate_testfile): Don't handle START and END lines.
22316 * math/libm-test.inc (START): New macro.
22317 (END): Likewise.
22318 (END_COMPLEX): Likewise.
22319 (acos_test): Use END macro without arguments.
22320 (acos_test_tonearest): Likewise.
22321 (acos_test_towardzero): Likewise.
22322 (acos_test_downward): Likewise.
22323 (acos_test_upward): Likewise.
22324 (acosh_test): Likewise.
22325 (asin_test): Likewise.
22326 (asin_test_tonearest): Likewise.
22327 (asin_test_towardzero): Likewise.
22328 (asin_test_downward): Likewise.
22329 (asin_test_upward): Likewise.
22330 (asinh_test): Likewise.
22331 (atan_test): Likewise.
22332 (atanh_test): Likewise.
22333 (atan2_test): Likewise.
22334 (cabs_test): Likewise.
22335 (cacos_test): Use END_COMPLEX macro without arguments.
22336 (cacosh_test): Likewise.
22337 (carg_test): Use END macro without arguments.
22338 (casin_test): Use END_COMPLEX macro without arguments.
22339 (casinh_test): Likewise.
22340 (catan_test): Likewise.
22341 (catanh_test): Likewise.
22342 (cbrt_test): Use END macro without arguments.
22343 (ccos_test): Use END_COMPLEX macro without arguments.
22344 (ccosh_test): Likewise.
22345 (ceil_test): Use END macro without arguments.
22346 (cexp_test): Use END_COMPLEX macro without arguments.
22347 (cimag_test): Use END macro without arguments.
22348 (clog_test): Use END_COMPLEX macro without arguments.
22349 (clog10_test): Likewise.
22350 (conj_test): Likewise.
22351 (copysign_test): Use END macro without arguments.
22352 (cos_test): Likewise.
22353 (cos_test_tonearest): Likewise.
22354 (cos_test_towardzero): Likewise.
22355 (cos_test_downward): Likewise.
22356 (cos_test_upward): Likewise.
22357 (cosh_test): Likewise.
22358 (cosh_test_tonearest): Likewise.
22359 (cosh_test_towardzero): Likewise.
22360 (cosh_test_downward): Likewise.
22361 (cosh_test_upward): Likewise.
22362 (cpow_test): Use END_COMPLEX macro without arguments.
22363 (cproj_test): Likewise.
22364 (creal_test): Use END macro without arguments.
22365 (csin_test): Use END_COMPLEX macro without arguments.
22366 (csinh_test): Likewise.
22367 (csqrt_test): Likewise.
22368 (ctan_test): Likewise.
22369 (ctan_test_tonearest): Likewise.
22370 (ctan_test_towardzero): Likewise.
22371 (ctan_test_downward): Likewise.
22372 (ctan_test_upward): Likewise.
22373 (ctanh_test): Likewise.
22374 (ctanh_test_tonearest): Likewise.
22375 (ctanh_test_towardzero): Likewise.
22376 (ctanh_test_downward): Likewise.
22377 (ctanh_test_upward): Likewise.
22378 (erf_test): Use END macro without arguments.
22379 (erfc_test): Likewise.
22380 (exp_test): Likewise.
22381 (exp_test_tonearest): Likewise.
22382 (exp_test_towardzero): Likewise.
22383 (exp_test_downward): Likewise.
22384 (exp_test_upward): Likewise.
22385 (exp10_test): Likewise.
22386 (exp2_test): Likewise.
22387 (expm1_test): Likewise.
22388 (fabs_test): Likewise.
22389 (fdim_test): Likewise.
22390 (finite_test): Likewise.
22391 (floor_test): Likewise.
22392 (fma_test): Likewise.
22393 (fma_test_towardzero): Likewise.
22394 (fma_test_downward): Likewise.
22395 (fma_test_upward): Likewise.
22396 (fmax_test): Likewise.
22397 (fmin_test): Likewise.
22398 (fmod_test): Likewise.
22399 (fpclassify_test): Likewise.
22400 (frexp_test): Likewise.
22401 (gamma_test): Likewise.
22402 (hypot_test): Likewise.
22403 (ilogb_test): Likewise.
22404 (isfinite_test): Likewise.
22405 (isgreater_test): Likewise.
22406 (isgreaterequal_test): Likewise.
22407 (isinf_test): Likewise.
22408 (isless_test): Likewise.
22409 (islessequal_test): Likewise.
22410 (islessgreater_test): Likewise.
22411 (isnan_test): Likewise.
22412 (isnormal_test): Likewise.
22413 (issignaling_test): Likewise.
22414 (isunordered_test): Likewise.
22415 (j0_test): Likewise.
22416 (j1_test): Likewise.
22417 (jn_test): Likewise.
22418 (ldexp_test): Likewise.
22419 (lgamma_test): Likewise.
22420 (lrint_test): Likewise.
22421 (lrint_test_tonearest): Likewise.
22422 (lrint_test_towardzero): Likewise.
22423 (lrint_test_downward): Likewise.
22424 (lrint_test_upward): Likewise.
22425 (llrint_test): Likewise.
22426 (llrint_test_tonearest): Likewise.
22427 (llrint_test_towardzero): Likewise.
22428 (llrint_test_downward): Likewise.
22429 (llrint_test_upward): Likewise.
22430 (log_test): Likewise.
22431 (log10_test): Likewise.
22432 (log1p_test): Likewise.
22433 (log2_test): Likewise.
22434 (logb_test): Likewise.
22435 (logb_test_downward): Likewise.
22436 (lround_test): Likewise.
22437 (llround_test): Likewise.
22438 (modf_test): Likewise.
22439 (nearbyint_test): Likewise.
22440 (nextafter_test): Likewise.
22441 (nexttoward_test): Likewise.
22442 (pow_test): Likewise.
22443 (pow_test_tonearest): Likewise.
22444 (pow_test_towardzero): Likewise.
22445 (pow_test_downward): Likewise.
22446 (pow_test_upward): Likewise.
22447 (remainder_test): Likewise.
22448 (remainder_test_tonearest): Likewise.
22449 (remainder_test_towardzero): Likewise.
22450 (remainder_test_downward): Likewise.
22451 (remainder_test_upward): Likewise.
22452 (remquo_test): Likewise.
22453 (rint_test): Likewise.
22454 (rint_test_tonearest): Likewise.
22455 (rint_test_towardzero): Likewise.
22456 (rint_test_downward): Likewise.
22457 (rint_test_upward): Likewise.
22458 (round_test): Likewise.
22459 (scalb_test): Likewise.
22460 (scalbn_test): Likewise.
22461 (scalbln_test): Likewise.
22462 (signbit_test): Likewise.
22463 (sin_test): Likewise.
22464 (sin_test_tonearest): Likewise.
22465 (sin_test_towardzero): Likewise.
22466 (sin_test_downward): Likewise.
22467 (sin_test_upward): Likewise.
22468 (sincos_test): Likewise.
22469 (sinh_test): Likewise.
22470 (sinh_test_tonearest): Likewise.
22471 (sinh_test_towardzero): Likewise.
22472 (sinh_test_downward): Likewise.
22473 (sinh_test_upward): Likewise.
22474 (sqrt_test): Likewise.
22475 (tan_test): Likewise.
22476 (tan_test_tonearest): Likewise.
22477 (tan_test_towardzero): Likewise.
22478 (tan_test_downward): Likewise.
22479 (tan_test_upward): Likewise.
22480 (tanh_test): Likewise.
22481 (tgamma_test): Likewise.
22482 (trunc_test): Likewise.
22483 (y0_test): Likewise.
22484 (y1_test): Likewise.
22485 (yn_test): Likewise.
22486 (significand_test): Likewise.
22487
bae143d2
OB
224882013-05-24 Ondřej Bílka <neleai@seznam.cz>
22489
22490 [BZ #15381]
22491 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22492
9323d39b
EM
224932013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22494
d4ea44a0 22495 [BZ #14894]
9323d39b
EM
22496 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22497 __ppc_mdoio and __ppc_mdoom.
22498 * manual/platform.texi: Document new functions __ppc_yield,
22499 __ppc_mdoio and __ppc_mdoom.
22500
13e23af7
CD
225012013-05-22 Carlos O'Donell <carlos@redhat.com>
22502
22503 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22504 (main): Mention "tls" pseudo-hwcap is legacy.
22505 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22506
351fe550
JM
225072013-05-22 Joseph Myers <joseph@codesourcery.com>
22508
22509 * math/gen-libm-test.pl (parse_args): Output only string of
22510 arguments as text for test name, not full call or descriptions of
22511 tests for extra outputs.
22512 (generate_testfile): Do not pass function name to parse_args.
22513 Generate this_func variable from START.
22514 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22515 field to arg_str.
22516 (struct test_ff_f_data): Likewise.
22517 (test_ff_f_data_nexttoward): Likewise.
22518 (struct test_fi_f_data): Likewise.
22519 (struct test_fl_f_data): Likewise.
22520 (struct test_if_f_data): Likewise.
22521 (struct test_fff_f_data): Likewise.
22522 (struct test_c_f_data): Likewise.
22523 (struct test_f_f1_data): Likewise. Remove field extra_name.
22524 (struct test_fF_f1_data): Likewise.
22525 (struct test_ffI_f1_data): Likewise.
22526 (struct test_c_c_data): Rename test_name field to arg_str.
22527 (struct test_cc_c_data): Likewise.
22528 (struct test_f_i_data): Likewise.
22529 (struct test_ff_i_data): Likewise.
22530 (struct test_f_l_data): Likewise.
22531 (struct test_f_L_data): Likewise.
22532 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22533 and extra2_name.
22534 (COMMON_TEST_SETUP): New macro.
22535 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22536 (COMMON_TEST_CLEANUP): Likewise.
22537 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22538 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22539 macros.
22540 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22541 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22542 macros.
22543 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22544 (RUN_TEST_fff_f): Take argument string. Call new setup and
22545 cleanup macros.
22546 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22547 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22548 macros.
22549 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22550 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22551 macros.
22552 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22553 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22554 cleanup macros.
22555 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22556 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22557 cleanup macros.
22558 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22559 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22560 cleanup macros.
22561 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22562 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22563 macros.
22564 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22565 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22566 macros.
22567 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22568 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22569 macros.
22570 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22571 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22572 cleanup macros.
22573 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22574 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22575 cleanup macros.
22576 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22577 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22578 macros.
22579 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22580 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22581 cleanup macros.
22582 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22583 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22584 macros.
22585 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22586 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22587 macros.
22588 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22589 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22590 cleanup macros.
22591 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22592
85118d4d
EBM
225932013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22594
22595 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22596 to _sifields.sigfault.
22597 (si_addr_lsb): Define new macro.
22598 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22599 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22600 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22601
7a44c18f
CD
226022013-05-03 Carlos O'Donell <carlos at redhat.com>
22603
22604 [BZ #15441]
22605 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22606 returns -1.
22607 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22608 null return -1.
22609 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22610 loading the domain.
22611
b50a7181
JM
226122013-05-22 Joseph Myers <joseph@codesourcery.com>
22613
22614 * math/gen-libm-test.pl (parse_args): Do not include expected
22615 result in test name.
22616 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22617 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22618 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22619 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22620 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22622
051063c8
SP
226232013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22624
3ce9e010
SP
22625 * benchtests/Makefile: Sort function entries.
22626
051063c8
SP
22627 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22628 tanh, asinh, acosh, atanh.
22629 * benchtests/acos-inputs: New file.
22630 * benchtests/acosh-inputs: New file.
22631 * benchtests/asin-inputs: New file.
22632 * benchtests/asinh-inputs: New file.
22633 * benchtests/atanh-inputs: New file.
22634 * benchtests/cosh-inputs: New file.
22635 * benchtests/log-inputs: New file.
22636 * benchtests/sinh-inputs: New file.
22637 * benchtests/tanh-inputs: New file.
22638
47c22455
DL
226392013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22640
22641 [BZ #15339]
22642 * posix/tst-getaddrinfo4.c: New test.
22643 * posix/Makefile (tests): Add it.
22644
3d04f5db
SP
226452013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22646
22647 [BZ #15339]
22648 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22649 when no services were used.
22650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22651 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22652
d5dd6189
AS
226532013-05-21 Andreas Schwab <schwab@suse.de>
22654
22655 [BZ #15014]
22656 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22657 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22658 successful.
22659 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22660 redundant variable declarations and reallocation of buffer when
22661 parsing as IPv6 address. Always set NSS status when called from
22662 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22663 buffer too small. Correct computation of needed size.
22664 * nss/Makefile (tests): Add test-digits-dots.
22665 * nss/test-digits-dots.c: New test.
22666
fef94eab
SP
226672013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22668
22669 * benchtests/Makefile: Remove instructions for adding
22670 benchmark tests.
22671 * benchtests/README: New file to explain how to execute and
22672 enhance the benchmark tests.
22673
e39adf43
AS
226742013-05-21 Andreas Schwab <schwab@suse.de>
22675
22676 [BZ #15493]
22677 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22678 * setjmp/tst-sigsetjmp.c: New test.
22679
b2b671b6
OB
226802013-05-20 Ondřej Bílka <neleai@seznam.cz>
22681
22682 * sysdeps/x86_64/memset.S (memset): New implementation.
22683 (__bzero): Likewise.
22684 (__memset_tail): New function.
22685
2d48b41c
OB
226862013-05-20 Ondřej Bílka <neleai@seznam.cz>
22687
22688 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22689 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22690 __memcpy_sse2_unaligned ifunc selection.
22691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22692 Add memcpy-sse2-unaligned.S.
22693 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22694 Add: __memcpy_sse2_unaligned.
22695
f16cc3eb
JM
226962013-05-19 Joseph Myers <joseph@codesourcery.com>
22697
3e694268
JM
22698 [BZ #15490]
22699 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22700 math_force_eval before restoring floating-point envrionment.
22701 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22702 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22703 Likewise.
22704 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22705 <math_private.h>.
22706 (__nearbyintl): Use math_force_eval before restoring
22707 floating-point environment.
22708 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22709
db62a907
JM
22710 * math/gen-libm-test.pl (special_functions): Remove.
22711 (parse_args): Don't handle TEST_extra. Handle functions with no
22712 return value.
22713 * math/libm-test.inc (struct test_sincos_data): Replace with
22714 struct test_fFF_11_data.
22715 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22716 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22717 (sincos_test_data): Change element type to struct
22718 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22719 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22720 RUN_TEST_LOOP_sincos.
22721 * math/README.libm-test: Don't mention special handling of
22722 individual functions.
22723 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22724 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22725 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22726 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22727 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22729
f16cc3eb
JM
22730 * math/gen-libm-test.pl (get_variable): Remove function.
22731 (parse_args): Don't show pointer parameters to call in test
22732 names. Use "extra output N" in test names for extra outputs
22733 rather than naming variables.
22734
3779b5b6
JM
227352013-05-18 Joseph Myers <joseph@codesourcery.com>
22736
2ee094ff
JM
22737 [BZ #15488]
22738 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22739 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22740 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22741 double tests.
22742 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22743 disable.
22744 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22745 check_long_double.
22746
3779b5b6
JM
22747 * math/gen-libm-test.pl (@tests): Remove variable.
22748 ($count): Likewise.
22749 (new_test): Remove function.
22750 (show_exceptions): New function.
22751 (special_functions): Use show_exceptions instead of new_test.
22752 (parse_args): Likewise.
22753 (generate_testfile): Pass only function name in generated call to
22754 print_max_error or print_complex_max_error.
22755 (get_ulps): Do not handle complex tests specially.
22756 (output_test): Rename to ...
22757 (get_all_ulps_for_test): ... this. Return a string rather than
22758 printing to a file. Require ulps to be present.
22759 (output_ulps): Generate arrays rather than #defines.
22760 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22761 (struct ulp_data): New type.
22762 (BUILD_COMPLEX_ULP): Remove macro.
22763 (compare_ulp_data): New function.
22764 (find_ulps): Likewise.
22765 (find_test_ulps): Likewise.
22766 (find_function_ulps): Likewise.
22767 (find_complex_function_ulps): Likewise.
22768 (print_max_error): Determine allowed ulps using
22769 find_function_ulps.
22770 (print_complex_max_error): Determine allowed ulps using
22771 find_complex_function_ulps.
22772 (check_float_internal): Determine max ulps using find_test_ulps.
22773 (check_float): Do not take max_ulp parameter. Update call to
22774 check_float_internal.
22775 (check_complex): Likewise.
22776 (check_int): Do not take max_ulp parameter.
22777 (check_long): Likewise.
22778 (check_bool): Likewise.
22779 (check_longlong): Likewise.
22780 (struct test_f_f_data): Remove max_ulp field.
22781 (struct test_ff_f_data): Likewise.
22782 (struct test_ff_f_data_nexttoward): Likewise.
22783 (struct test_fi_f_data): Likewise.
22784 (struct test_fl_f_data): Likewise.
22785 (struct test_if_f_data): Likewise.
22786 (struct test_fff_f_data): Likewise.
22787 (struct test_c_f_data): Likewise.
22788 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22789 (struct test_fF_f1_data): Likewise.
22790 (struct test_ffI_f1_data): Likewise.
22791 (struct test_c_c_data): Remove max_ulp field.
22792 (struct test_cc_c_data): Likewise.
22793 (struct test_f_i_data): Likewise.
22794 (struct test_ff_i_data): Likewise.
22795 (struct test_f_l_data): Likewise.
22796 (struct test_f_L_data): Likewise.
22797 (struct test_sincos_data): Likewise.
22798 (RUN_TEST_f_f): Do not handle ulps.
22799 (RUN_TEST_LOOP_f_f): Likewise.
22800 (RUN_TEST_2_f): Likewise.
22801 (RUN_TEST_LOOP_2_f): Likewise.
22802 (RUN_TEST_fff_f): Likewise.
22803 (RUN_TEST_LOOP_fff_f): Likewise.
22804 (RUN_TEST_c_f): Likewise.
22805 (RUN_TEST_LOOP_c_f): Likewise.
22806 (RUN_TEST_f_f1): Likewise.
22807 (RUN_TEST_LOOP_f_f1): Likewise.
22808 (RUN_TEST_fF_f1): Likewise.
22809 (RUN_TEST_LOOP_fF_f1): Likewise.
22810 (RUN_TEST_fI_f1): Likewise.
22811 (RUN_TEST_LOOP_fI_f1): Likewise.
22812 (RUN_TEST_ffI_f1): Likewise.
22813 (RUN_TEST_LOOP_ffI_f1): Likewise.
22814 (RUN_TEST_c_c): Likewise.
22815 (RUN_TEST_LOOP_c_c): Likewise.
22816 (RUN_TEST_cc_c): Likewise.
22817 (RUN_TEST_LOOP_cc_c): Likewise.
22818 (RUN_TEST_f_i): Likewise.
22819 (RUN_TEST_LOOP_f_i): Likewise.
22820 (RUN_TEST_f_i_tg): Likewise.
22821 (RUN_TEST_LOOP_f_i_tg): Likewise.
22822 (RUN_TEST_ff_i_tg): Likewise.
22823 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22824 (RUN_TEST_f_b): Likewise.
22825 (RUN_TEST_LOOP_f_b): Likewise.
22826 (RUN_TEST_f_b_tg): Likewise.
22827 (RUN_TEST_LOOP_f_b_tg): Likewise.
22828 (RUN_TEST_f_l): Likewise.
22829 (RUN_TEST_LOOP_f_l): Likewise.
22830 (RUN_TEST_f_L): Likewise.
22831 (RUN_TEST_LOOP_f_L): Likewise.
22832 (RUN_TEST_sincos): Likewise.
22833 (RUN_TEST_LOOP_sincos): Likewise.
22834
8269107f
JM
228352013-05-17 Joseph Myers <joseph@codesourcery.com>
22836
bb38759d
JM
22837 [BZ #15480]
22838 [BZ #15485]
22839 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22840 main case of finite arguments, set rounding mode to FE_TONEAREST
22841 and discard exceptions.
22842 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22843 exceptions.
22844 (remainder_tonearest_test_data): New variable.
22845 (remainder_test_tonearest): New function.
22846 (remainder_towardzero_test_data): New variable.
22847 (remainder_test_towardzero): New function.
22848 (remainder_downward_test_data): New variable.
22849 (remainder_test_downward): New function.
22850 (remainder_upward_test_data): New variable.
22851 (remainder_test_upward): New function.
22852 (main): Call the new test functions.
22853
a00bdcf0
JM
22854 * math/libm-test.inc (struct test_f_f1_data): Remove field
22855 extra_init.
22856 (struct test_fF_f1_data): Likewise.
22857 (struct test_ffI_f1_data): Likewise.
22858 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22859 based on value of EXTRA_EXPECTED.
22860 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22861 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22862 EXTRA_VAR based on value of EXTRA_EXPECTED.
22863 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22864 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22865 EXTRA_VAR based on value of EXTRA_EXPECTED.
22866 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22867 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22868 EXTRA_VAR based on value of EXTRA_EXPECTED.
22869 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22870 * math/gen-libm-test.pl (parse_args): Don't output initializers
22871 for extra output values.
22872
de407f79
JM
22873 * math/libm-test.inc (check_int): Expect result to be exactly
22874 equal to expected value and do not handle ulps.
22875 (check_long): Likewise.
22876 (check_longlong): Likewise.
22877
8269107f
JM
22878 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22879 exceptions.
22880 (cimag_test_data): Likewise.
22881 (conj_test_data): Likewise.
22882 (copysign_test_data): Likewise.
22883 (cproj_test_data): Likewise.
22884 (creal_test_data): Likewise.
22885 (fabs_test_data): Likewise.
22886 (fdim_test_data): Likewise.
22887 (finite_test_data): Likewise.
22888 (floor_test_data): Likewise.
22889 (fmax_test_data): Likewise.
22890 (fmin_test_data): Likewise.
22891 (fmod_test_data): Likewise.
22892 (fpclassify_test_data): Likewise.
22893 (frexp_test_data): Likewise.
22894 (ilogb_test_data): Likewise.
22895 (isfinite_test_data): Likewise.
22896 (isgreater_test_data): Likewise.
22897 (isgreaterequal_test_data): Likewise.
22898 (isinf_test_data): Likewise.
22899 (isless_test_data): Likewise.
22900 (islessequal_test_data): Likewise.
22901 (islessgreater_test_data): Likewise.
22902 (isnan_test_data): Likewise.
22903 (isnormal_test_data): Likewise.
22904 (issignaling_test_data): Likewise.
22905 (isunordered_test_data): Likewise.
22906 (ldexp_test_data): Likewise.
22907 (lrint_test_data): Likewise.
22908 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22909 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22910 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22911 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22912 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22913 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22914 test input.
22915 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22916 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22917 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22918 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22919 that test input.
22920 (lrint_downward_test_data): Test for "inexact" exceptions.
22921 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22922 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22923 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22924 test input.
22925 (lrint_upward_test_data): Test for "inexact" exceptions.
22926 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22927 test input.
22928 (llrint_test_data): Test for "inexact" exceptions.
22929 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22930 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22931 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22932 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22933 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22934 (llrint_downward_test_data): Test for "inexact" exceptions.
22935 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22936 (llrint_upward_test_data): Test for "inexact" exceptions.
22937 (logb_test_data): Likewise.
22938 (logb_downward_test_data): Likewise.
22939 (nextafter_test_data): Likewise.
22940 (nexttoward_test_data): Likewise.
22941 (remainder_test_data): Likewise.
22942 (remquo_test_data): Likewise.
22943 (scalbn_test_data): Likewise.
22944 (scalbln_test_data): Likewise.
22945 (signbit_test_data): Likewise.
22946 (sqrt_test_data): Likewise.
22947 (significand_test_data): Likewise.
22948
48a18de1
SP
229492013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22950
22951 [BZ #15424]
22952 * benchtests/bench-modf.c (struct args): Mark arg0 as
22953 volatile.
22954 * scripts/bench.pl: Mark members of struct args as volatile.
22955
13d3b41a
AZ
229562013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22957
68191c1d 22958 [BZ # 15497]
13d3b41a
AZ
22959 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22960 negative infinity on POWER6 or lower.
22961 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22962
2848b105
MR
229632013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22964
22965 [BZ #15442]
22966 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22967 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22968 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22969 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22970 (_FP_SETQNAN): New macro.
22971 (_FP_SETQNAN_SEMIRAW): Likewise.
22972 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22973 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22974 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22975 (FP_EXTEND): Use _FP_FRAC_SNANP.
22976 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22977 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22978 into account.
22979 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22980 New macro.
22981 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22982 Likewise.
22983
323e5cb7
JM
229842013-05-16 Joseph Myers <joseph@codesourcery.com>
22985
c58b274f
JM
22986 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22987 with DIVIDE_BY_ZERO_EXCEPTION.
22988 (gamma_test_data): Likewise.
22989 (lgamma_test_data): Likewise.
22990 (log_test_data): Likewise.
22991 (log10_test_data): Likewise.
22992 (log2_test_data): Likewise.
22993 (tgamma_test_data): Likewise.
22994
0ab34904
JM
22995 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22996 (acos_test_tonearest): Likewise.
22997 (acos_test_towardzero): Likewise.
22998 (acos_test_downward): Likewise.
22999 (acos_test_upward): Likewise.
23000 (acosh_test): Likewise.
23001 (asin_test): Likewise.
23002 (asin_test_tonearest): Likewise.
23003 (asin_test_towardzero): Likewise.
23004 (asin_test_downward): Likewise.
23005 (asin_test_upward): Likewise.
23006 (asinh_test): Likewise.
23007 (atan_test): Likewise.
23008 (atanh_test): Likewise.
23009 (atan2_test): Likewise.
23010 (cabs_test): Likewise.
23011 (cacos_test): Likewise.
23012 (cacosh_test): Likewise.
23013 (casin_test): Likewise.
23014 (casinh_test): Likewise.
23015 (catan_test): Likewise.
23016 (catanh_test): Likewise.
23017 (cbrt_test): Likewise.
23018 (ccos_test): Likewise.
23019 (ccosh_test): Likewise.
23020 (cexp_test): Likewise.
23021 (clog_test): Likewise.
23022 (clog10_test): Likewise.
23023 (cos_test): Likewise.
23024 (cos_test_tonearest): Likewise.
23025 (cos_test_towardzero): Likewise.
23026 (cos_test_downward): Likewise.
23027 (cos_test_upward): Likewise.
23028 (cosh_test): Likewise.
23029 (cosh_test_tonearest): Likewise.
23030 (cosh_test_towardzero): Likewise.
23031 (cosh_test_downward): Likewise.
23032 (cosh_test_upward): Likewise.
23033 (cpow_test): Likewise.
23034 (csin_test): Likewise.
23035 (csinh_test): Likewise.
23036 (csqrt_test): Likewise.
23037 (ctan_test): Likewise.
23038 (ctan_test_tonearest): Likewise.
23039 (ctan_test_towardzero): Likewise.
23040 (ctan_test_downward): Likewise.
23041 (ctan_test_upward): Likewise.
23042 (ctanh_test): Likewise.
23043 (ctanh_test_tonearest): Likewise.
23044 (ctanh_test_towardzero): Likewise.
23045 (ctanh_test_downward): Likewise.
23046 (ctanh_test_upward): Likewise.
23047 (erf_test): Likewise.
23048 (erfc_test): Likewise.
23049 (exp_test): Likewise.
23050 (exp_test_tonearest): Likewise.
23051 (exp_test_towardzero): Likewise.
23052 (exp_test_downward): Likewise.
23053 (exp_test_upward): Likewise.
23054 (exp10_test): Likewise.
23055 (exp2_test): Likewise.
23056 (expm1_test): Likewise.
23057 (fmod_test): Likewise.
23058 (gamma_test): Likewise.
23059 (hypot_test): Likewise.
23060 (j0_test): Likewise.
23061 (j1_test): Likewise.
23062 (jn_test): Likewise.
23063 (lgamma_test): Likewise.
23064 (log_test): Likewise.
23065 (log10_test): Likewise.
23066 (log1p_test): Likewise.
23067 (log2_test): Likewise.
23068 (logb_test_downward): Likewise.
23069 (pow_test): Likewise.
23070 (pow_test_tonearest): Likewise.
23071 (pow_test_towardzero): Likewise.
23072 (pow_test_downward): Likewise.
23073 (pow_test_upward): Likewise.
23074 (remainder_test): Likewise.
23075 (remquo_test): Likewise.
23076 (sin_test): Likewise.
23077 (sin_test_tonearest): Likewise.
23078 (sin_test_towardzero): Likewise.
23079 (sin_test_downward): Likewise.
23080 (sin_test_upward): Likewise.
23081 (sincos_test): Likewise.
23082 (sinh_test): Likewise.
23083 (sinh_test_tonearest): Likewise.
23084 (sinh_test_towardzero): Likewise.
23085 (sinh_test_downward): Likewise.
23086 (sinh_test_upward): Likewise.
23087 (sqrt_test): Likewise.
23088 (tan_test): Likewise.
23089 (tan_test_tonearest): Likewise.
23090 (tan_test_towardzero): Likewise.
23091 (tan_test_downward): Likewise.
23092 (tan_test_upward): Likewise.
23093 (tanh_test): Likewise.
23094 (tgamma_test): Likewise.
23095 (y0_test): Likewise.
23096 (y1_test): Likewise.
23097 (yn_test): Likewise.
23098
323e5cb7
JM
23099 * math/gen-libm-test.pl (adjust_arg): Remove function.
23100 (special_function): Remove argument $in_func. Only handle
23101 generating output for tables of tests, not inside functions.
23102 (parse_args): Likewise.
23103 (generate_testfile): Remove variable $in_func. Update call to
23104 parse_args.
23105 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23106 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23107 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23108 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23109 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23110 (MAX_VALUE_INIT): Rename macro to max_value.
23111 (MIN_VALUE_INIT): Rename macro to min_value.
23112 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23113 (plus_zero): Remove variable.
23114 (minus_zero): Likewise.
23115 (plus_infty): Likewise.
23116 (minus_infty): Likewise.
23117 (qnan_value): Likewise.
23118 (max_value): Likewise.
23119 (min_value): Likewise.
23120 (min_subnorm_value): Likewise.
23121
e054f494
RA
231222013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23123
23124 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23125 uint64_t or uint32_t usage.
23126 * crypt/sha256-block.c: Likewise.
23127 * crypt/sha256-crypt.c: Likewise.
23128 * crypt/sha256.c: Likewise.
23129 * crypt/sha512-block.c: Likewise.
23130 * crypt/sha512-crypt.c: Likewise.
23131 * crypt/sha512.c: Likewise.
23132 * debug/backtrace-tst.c: Likewise.
23133 * debug/pcprofiledump.c: Likewise.
23134 * elf/cache.c: Likewise.
23135 * elf/dl-cache.c: Likewise.
23136 * elf/dl-misc.c: Likewise.
23137 * elf/dl-profile.c: Likewise.
23138 * elf/dl-support.c: Likewise.
23139 * elf/ldconfig.c: Likewise.
23140 * elf/sprof.c: Likewise.
23141 * iconv/dummy-repertoire.c: Likewise.
23142 * iconv/iconv_charmap.c: Likewise.
23143 * iconv/skeleton.c: Likewise.
23144 * iconvdata/8bit-generic.c: Likewise.
23145 * iconvdata/cp737.h: Likewise.
23146 * iconvdata/cp775.h: Likewise.
23147 * iconvdata/ibm1008.h: Likewise.
23148 * iconvdata/ibm1025.h: Likewise.
23149 * iconvdata/ibm1046.h: Likewise.
23150 * iconvdata/ibm1097.h: Likewise.
23151 * iconvdata/ibm1112.h: Likewise.
23152 * iconvdata/ibm1122.h: Likewise.
23153 * iconvdata/ibm1123.h: Likewise.
23154 * iconvdata/ibm1124.h: Likewise.
23155 * iconvdata/ibm1129.h: Likewise.
23156 * iconvdata/ibm1130.h: Likewise.
23157 * iconvdata/ibm1132.h: Likewise.
23158 * iconvdata/ibm1133.h: Likewise.
23159 * iconvdata/ibm1137.h: Likewise.
23160 * iconvdata/ibm1140.h: Likewise.
23161 * iconvdata/ibm1141.h: Likewise.
23162 * iconvdata/ibm1142.h: Likewise.
23163 * iconvdata/ibm1143.h: Likewise.
23164 * iconvdata/ibm1144.h: Likewise.
23165 * iconvdata/ibm1145.h: Likewise.
23166 * iconvdata/ibm1146.h: Likewise.
23167 * iconvdata/ibm1147.h: Likewise.
23168 * iconvdata/ibm1148.h: Likewise.
23169 * iconvdata/ibm1149.h: Likewise.
23170 * iconvdata/ibm1153.h: Likewise.
23171 * iconvdata/ibm1154.h: Likewise.
23172 * iconvdata/ibm1155.h: Likewise.
23173 * iconvdata/ibm1156.h: Likewise.
23174 * iconvdata/ibm1157.h: Likewise.
23175 * iconvdata/ibm1158.h: Likewise.
23176 * iconvdata/ibm1160.h: Likewise.
23177 * iconvdata/ibm1161.h: Likewise.
23178 * iconvdata/ibm1162.h: Likewise.
23179 * iconvdata/ibm1163.h: Likewise.
23180 * iconvdata/ibm1164.h: Likewise.
23181 * iconvdata/ibm1166.h: Likewise.
23182 * iconvdata/ibm1167.h: Likewise.
23183 * iconvdata/ibm12712.h: Likewise.
23184 * iconvdata/ibm1390.h: Likewise.
23185 * iconvdata/ibm1399.h: Likewise.
23186 * iconvdata/ibm16804.h: Likewise.
23187 * iconvdata/ibm4517.h: Likewise.
23188 * iconvdata/ibm4899.h: Likewise.
23189 * iconvdata/ibm4909.h: Likewise.
23190 * iconvdata/ibm4971.h: Likewise.
23191 * iconvdata/ibm5347.h: Likewise.
23192 * iconvdata/ibm803.h: Likewise.
23193 * iconvdata/ibm856.h: Likewise.
23194 * iconvdata/ibm901.h: Likewise.
23195 * iconvdata/ibm902.h: Likewise.
23196 * iconvdata/ibm9030.h: Likewise.
23197 * iconvdata/ibm9066.h: Likewise.
23198 * iconvdata/ibm921.h: Likewise.
23199 * iconvdata/ibm922.h: Likewise.
23200 * iconvdata/ibm9448.h: Likewise.
23201 * iconvdata/isiri-3342.h: Likewise.
23202 * iconvdata/jis0201.h: Likewise.
23203 * include/link.h: Likewise.
23204 * include/netdb.h: Likewise.
23205 * inet/check_native.c: Likewise.
23206 * inet/check_pf.c: Likewise.
23207 * inet/getipv4sourcefilter.c: Likewise.
23208 * inet/getnameinfo.c: Likewise.
23209 * inet/getsourcefilter.c: Likewise.
23210 * inet/htonl.c: Likewise.
23211 * inet/setipv4sourcefilter.c: Likewise.
23212 * inet/setsourcefilter.c: Likewise.
23213 * inet/test-inet6_opt.c: Likewise.
23214 * inet/tst-network.c: Likewise.
23215 * locale/C-collate.c: Likewise.
23216 * locale/C-ctype.c: Likewise.
23217 * locale/C-time.c: Likewise.
23218 * locale/C-translit.h: Likewise.
23219 * locale/loadarchive.c: Likewise.
23220 * locale/programs/3level.h: Likewise.
23221 * locale/programs/charmap.c: Likewise.
23222 * locale/programs/charmap.h: Likewise.
23223 * locale/programs/ld-address.c: Likewise.
23224 * locale/programs/ld-collate.c: Likewise.
23225 * locale/programs/ld-ctype.c: Likewise.
23226 * locale/programs/ld-identification.c: Likewise.
23227 * locale/programs/ld-measurement.c: Likewise.
23228 * locale/programs/ld-messages.c: Likewise.
23229 * locale/programs/ld-monetary.c: Likewise.
23230 * locale/programs/ld-name.c: Likewise.
23231 * locale/programs/ld-numeric.c: Likewise.
23232 * locale/programs/ld-paper.c: Likewise.
23233 * locale/programs/ld-telephone.c: Likewise.
23234 * locale/programs/ld-time.c: Likewise.
23235 * locale/programs/linereader.c: Likewise.
23236 * locale/programs/locale.c: Likewise.
23237 * locale/programs/locarchive.c: Likewise.
23238 * locale/programs/locfile.h: Likewise.
23239 * locale/programs/repertoire.c: Likewise.
23240 * locale/programs/simple-hash.c: Likewise.
23241 * locale/programs/simple-hash.h: Likewise.
23242 * malloc/memusage.c: Likewise.
23243 * malloc/memusagestat.c: Likewise.
23244 * nis/nis_defaults.c: Likewise.
23245 * nis/nis_hash.c: Likewise.
23246 * nis/nis_print.c: Likewise.
23247 * nis/nis_xdr.c: Likewise.
23248 * nscd/connections.c: Likewise.
23249 * nscd/hstcache.c: Likewise.
23250 * nscd/nscd_gethst_r.c: Likewise.
23251 * nscd/nscd_getserv_r.c: Likewise.
23252 * nscd/nscd_helper.c: Likewise.
23253 * nscd/servicescache.c: Likewise.
23254 * nss/makedb.c: Likewise.
23255 * nss/nss_db/db-XXX.c: Likewise.
23256 * nss/nss_db/db-initgroups.c: Likewise.
23257 * nss/nss_db/db-netgrp.c: Likewise.
23258 * nss/nss_files/files-network.c: Likewise.
23259 * nss/nss_files/files-parse.c: Likewise.
23260 * posix/bug-regex5.c: Likewise.
23261 * posix/fnmatch_loop.c: Likewise.
23262 * posix/regcomp.c: Likewise.
23263 * posix/regexec.c: Likewise.
23264 * posix/tst-rfc3484-2.c: Likewise.
23265 * posix/tst-rfc3484-3.c: Likewise.
23266 * posix/tst-rfc3484.c: Likewise.
23267 * resolv/nss_dns/dns-canon.c: Likewise.
23268 * resolv/nss_dns/dns-network.c: Likewise.
23269 * resolv/res_init.c: Likewise.
23270 * resolv/res_mkquery.c: Likewise.
23271 * resolv/tst-aton.c: Likewise.
23272 * stdlib/cxa_atexit.c: Likewise.
23273 * stdlib/cxa_finalize.c: Likewise.
23274 * stdlib/gen-fpioconst.c: Likewise.
23275 * stdlib/strtol_l.c: Likewise.
23276 * string/tst-endian.c: Likewise.
23277 * sunrpc/auth_des.c: Likewise.
23278 * sunrpc/clnt_udp.c: Likewise.
23279 * sunrpc/rtime.c: Likewise.
23280 * sunrpc/svcauth_des.c: Likewise.
23281 * sunrpc/xdr.c: Likewise.
23282 * sunrpc/xdr_intXX_t.c: Likewise.
23283 * sunrpc/xdr_rec.c: Likewise.
23284 * sysdeps/generic/ldconfig.h: Likewise.
23285 * sysdeps/generic/ldsodefs.h: Likewise.
23286 * sysdeps/generic/memusage.h: Likewise.
23287 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23288 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23289 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23290 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23291 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23292 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23293 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23294 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23295 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23296 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23297 * sysdeps/posix/getaddrinfo.c: Likewise.
23298 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23299 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23300 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23301 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23302 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23303 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23304 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23305 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23306 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23307 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23308 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23309 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23310 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23311 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23312 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23313 * sysdeps/x86_64/dl-tls.h: Likewise.
23314 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23315 * time/alt_digit.c: Likewise.
23316 * time/era.c: Likewise.
23317 * wcsmbs/tst-c16c32-1.c: Likewise.
23318
8c75f674
JM
233192013-05-16 Joseph Myers <joseph@codesourcery.com>
23320
23321 * math/libm-test.inc (struct test_sincos_data): New type.
23322 (RUN_TEST_LOOP_sincos): New macro.
23323 (sincos_test_data): New variable.
23324 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23325
e6e49e59
RH
233262013-05-16 Richard Henderson <rth@redhat.com>
23327
23328 * math/atest-exp2.c (LIMB64): New macro.
23329 (CONSTSZ): New macro.
23330 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23331 (hexdig): Move ...
23332 (print_mpn_fp): ... to function scope.
23333 (read_mpn_hex): Remove.
23334 (get_log2): Remove.
23335 (exp2_mpn): Use mp_log2.
23336 (main): Use mp_exp1.
23337
15c7c18d
JM
233382013-05-16 Joseph Myers <joseph@codesourcery.com>
23339
105a07df
JM
23340 * math/libm-test.inc: Remove comment about not testing "inexact"
23341 exceptions.
23342 (INEXACT_EXCEPTION): New macro.
23343 (NO_INEXACT_EXCEPTION): Likewise.
23344 (INVALID_EXCEPTION_OK): Update value.
23345 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23346 (OVERFLOW_EXCEPTION_OK): Likewise.
23347 (UNDERFLOW_EXCEPTION_OK): Likewise.
23348 (IGNORE_ZERO_INF_SIGN): Likewise.
23349 (ERRNO_UNCHANGED): Likewise.
23350 (ERRNO_EDOM): Likewise.
23351 (ERRNO_ERANGE): Likewise.
23352 (test_exceptions): Handle testing "inexact" exceptions.
23353 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23354 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23355 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23356 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23357 INEXACT_EXCEPTION.
23358 (rint_towardzero_test_data): Likewise.
23359 (rint_downward_test_data): Likewise.
23360 (rint_upward_test_data): Likewise.
23361
e9eee333
JM
23362 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23363 with OVERFLOW_EXCEPTION.
23364 (exp10_test_data): Likewise.
23365 (exp2_test_data): Likewise.
23366 (expm1_test_data): Likewise.
23367 (lgamma_test_data): Likewise.
23368 (pow_test_data): Likewise.
23369 (tgamma_test_data): Likewise.
23370 (yn_test_data): Remove duplicate test of overflow.
23371
1c38ff73
JM
23372 * math/libm-test.inc (struct test_cc_c_data): New type.
23373 (RUN_TEST_LOOP_cc_c): New macro.
23374 (cpow_test_data): New variable.
23375 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23376
15c7c18d
JM
23377 * math/libm-test.inc (struct test_f_L_data): New type.
23378 (RUN_TEST_LOOP_f_L): New macro.
23379 (llrint_test_data): New variable.
23380 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23381 (llrint_tonearest_test_data): New variable.
23382 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23383 (llrint_towardzero_test_data): New variable.
23384 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23385 (llrint_downward_test_data): New variable.
23386 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23387 (llrint_upward_test_data): New variable.
23388 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23389 (llround_test_data): New variable.
23390 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23391
f137ff13
PC
233922013-05-13 Peter Collingbourne <pcc@google.com>
23393
23394 * math/atest-exp2.c (get_log2): Remove const attribute.
23395
3608cb24
JM
233962013-05-15 Joseph Myers <joseph@codesourcery.com>
23397
23398 * math/libm-test.inc (struct test_f_l_data): New type.
23399 (RUN_TEST_LOOP_f_l): New macro.
23400 (lrint_test_data): New variable.
23401 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23402 (lrint_tonearest_test_data): New variable.
23403 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23404 (lrint_towardzero_test_data): New variable.
23405 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23406 (lrint_downward_test_data): New variable.
23407 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23408 (lrint_upward_test_data): New variable.
23409 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23410 (lround_test_data): New variable.
23411 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23412
39b1f617
PC
234132013-05-15 Peter Collingbourne <pcc@google.com>
23414
1deff3dc
PC
23415 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23416 (EXTRACT_WORDS64) Use where appropriate.
23417 (INSERT_WORDS64) Likewise.
23418
791f3ba0
PC
23419 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23420 constraints with x constraints.
23421 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23422
39b1f617
PC
23423 * malloc/obstack.c (_obstack_compat): Add initializer.
23424
12fba011
EM
234252013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23426
23427 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23428 si_trapno and add si_addr_lsb to _sifields.sigfault.
23429 (si_trapno): Remove macro.
23430 (si_addr_lsb): Define new macro.
23431 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23432
d369f531
JM
234332013-05-15 Joseph Myers <joseph@codesourcery.com>
23434
b861c6c4
JM
23435 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23436 instead of TEST_f_l.
23437 (llrint_test_tonearest): Likewise.
23438 (llrint_test_towardzero): Likewise.
23439 (llrint_test_downward): Likewise.
23440 (llrint_test_upward): Likewise.
23441 (llround_test): Likewise.
23442
7abeee12
JM
23443 * math/libm-test.inc (struct test_f_i_data): Add comment.
23444 (RUN_TEST_LOOP_f_b): New macro.
23445 (RUN_TEST_LOOP_f_b_tg): Likewise.
23446 (finite_test_data): New variable.
23447 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23448 (isfinite_test_data): New variable.
23449 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23450 (isinf_test_data): New variable.
23451 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23452 (isnan_test_data): New variable.
23453 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23454 (isnormal_test_data): New variable.
23455 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23456 (issignaling_test_data): New variable.
23457 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23458 (signbit_test_data): New variable.
23459 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23460
cbe8c4d3
JM
23461 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23462 with INVALID_EXCEPTION.
23463 (acosh_test_data): Likewise.
23464 (asin_test_data): Likewise.
23465 (atanh_test_data): Likewise.
23466 (fmod_test_data): Likewise.
23467 (log_test_data): Likewise.
23468 (log10_test_data): Likewise.
23469 (log2_test_data): Likewise.
23470 (pow_test_data): Likewise.
23471 (sqrt_test_data): Likewise.
23472 (y0_test_data): Likewise.
23473 (y1_test_data): Likewise.
23474 (yn_test_data): Likewise.
23475
5575c0e5
JM
23476 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23477 function contents.
23478
d369f531
JM
23479 * math/libm-test.inc (struct test_ff_i_data): New type.
23480 (RUN_TEST_LOOP_ff_i_tg): New macro.
23481 (isgreater_test_data): New variable.
23482 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23483 (isgreaterequal_test_data): New variable.
23484 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23485 (isless_test_data): New variable.
23486 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23487 (islessequal_test_data): New variable.
23488 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23489 (islessgreater_test_data): New variable.
23490 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23491 (isunordered_test_data): New variable.
23492 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23493
781fd748
DM
234942013-05-14 David S. Miller <davem@davemloft.net>
23495
23496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23497
87aa21df
JM
234982013-05-14 Joseph Myers <joseph@codesourcery.com>
23499
5e908270
JM
23500 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23501
f71172e5
JM
23502 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23503 extra_test to int.
23504 (struct test_f_i_data): Change type of max_ulp to int.
23505
8cfa635a
JM
23506 * math/libm-test.inc (test_ffI_f1_data): New type.
23507 (RUN_TEST_LOOP_ffI_f1): New macro.
23508 (remquo_test_data): New variable.
23509 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23510
2bcb36b2
JM
23511 * setjmp/tst-setjmp-fp.c: New file.
23512 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23513 (link-libm): New variable.
23514 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23515
acbd839a
JM
23516 * math/libm-test.inc (struct test_f_i_data): New type.
23517 (RUN_TEST_LOOP_f_i): New macro.
23518 (RUN_TEST_LOOP_f_i_tg): Likewise.
23519 (fpclassify_test_data): New variable.
23520 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23521 (ilogb_test_data): New variable.
23522 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23523
e414d745
JM
23524 * math/libm-test.inc (scalbln_test): Correct function name in END
23525 call.
23526
d9c2a0fd
JM
23527 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23528 (RUN_TEST_LOOP_fI_f1): New macro.
23529 (frexp_test_data): New variable.
23530 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23531
9dc9095d
JM
23532 * math/libm-test.inc (struct test_fF_f1_data): New type.
23533 (RUN_TEST_LOOP_fF_f1): New macro.
23534 (modf_test_data): New variable.
23535 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23536
87aa21df
JM
23537 * math/libm-test.inc (struct test_f_f1_data): New type.
23538 (RUN_TEST_LOOP_f_f1): New macro.
23539 (gamma_test_data): New variable.
23540 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23541 (lgamma_test_data): New variable.
23542 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23543
141af660
CD
235442013-05-13 Carlos O'Donell <carlos@redhat.com>
23545
23546 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23547 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23548 (main): Comment "tls" pseudo-hwcap.
23549
6d33265c
JM
235502013-05-13 Joseph Myers <joseph@codesourcery.com>
23551
68fc074c
JM
23552 * math/libm-test.inc (struct test_fl_f_data): New type.
23553 (RUN_TEST_LOOP_fl_f): New variable.
23554 (scalbln_test_data): New variable.
23555 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23556
243216e1
JM
23557 * math/libm-test.inc (struct test_fi_f_data): New type.
23558 (RUN_TEST_LOOP_fi_f): New macro.
23559 (ldexp_test_data): New variable.
23560 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23561 (scalbn_test_data): New variable.
23562 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23563
6a1992e2
JM
23564 * math/libm-test.inc (struct test_c_f_data): New type.
23565 (RUN_TEST_LOOP_c_f): New macro.
23566 (cabs_test_data): New variable.
23567 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23568 (carg_test_data): New variable.
23569 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23570 (cimag_test_data): New variable.
23571 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23572 (creal_test_data): New variable.
23573 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23574
0e400df5
JM
23575 * math/libm-test.inc (struct test_if_f_data): New type.
23576 (RUN_TEST_LOOP_if_f): New macro.
23577 (jn_test_data): New variable.
23578 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23579 (yn_test_data): New variable.
23580 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23581
6d33265c
JM
23582 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23583
f98ece5f
AZ
235842013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23585
23586 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23587 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23588
0f7d347b
SP
235892013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23590
43fe811b
SP
23591 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23592 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23593 (bench-deps): Add bench-timing.h.
23594 * benchtests-bench-skeleton.c: Include bench-timing.h.
23595 (main): Use TIMING_* macros instead of clock_gettime.
23596 * benchtests/bench-timing.h: New file.
23597
0f7d347b
SP
23598 [BZ #14582]
23599 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23600 Renamed from _LIB_VERSION.
23601 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23602
601a3a5f
JM
236032013-05-12 Joseph Myers <joseph@codesourcery.com>
23604
4f184d30
JM
23605 * math/libm-test.inc (struct test_fff_f_data): New type.
23606 (RUN_TEST_LOOP_fff_f): New macro.
23607 (fma_test_data): New variable.
23608 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23609 (fma_towardzero_test_data): New variable.
23610 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23611 (fma_downward_test_data): New variable.
23612 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23613 (fma_upward_test_data): New variable.
23614 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23615
08198877
JM
23616 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23617 (struct test_c_c_data): New type.
23618 (RUN_TEST_LOOP_c_c): New macro.
23619 (cacos_test_data): New variable.
23620 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23621 (cacosh_test_data): New variable.
23622 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23623 (casin_test_data): New variable.
23624 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23625 (casinh_test_data): New variable.
23626 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23627 (catan_test_data): New variable.
23628 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23629 (catanh_test_data): New variable.
23630 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23631 (ccos_test_data): New variable.
23632 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23633 (ccosh_test_data): New variable.
23634 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23635 (cexp_test_data): New variable.
23636 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23637 (clog_test_data): New variable.
23638 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23639 (clog10_test_data): New variable.
23640 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23641 (conj_test_data): New variable.
23642 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23643 (cproj_test_data): New variable.
23644 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23645 (csin_test_data): New variable.
23646 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23647 (csinh_test_data): New variable.
23648 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23649 (csqrt_test_data): New variable.
23650 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23651 (ctan_test_data): New variable.
23652 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23653 (ctan_tonearest_test_data): New variable.
23654 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23655 (ctan_towardzero_test_data): New variable.
23656 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23657 (ctan_downward_test_data): New variable.
23658 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23659 (ctan_upward_test_data): New variable.
23660 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23661 (ctanh_test_data): New variable.
23662 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23663 (ctanh_tonearest_test_data): New variable.
23664 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23665 (ctanh_towardzero_test_data): New variable.
23666 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23667 (ctanh_downward_test_data): New variable.
23668 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23669 (ctanh_upward_test_data): New variable.
23670 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23671 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23672 of BUILD_COMPLEX.
23673
601a3a5f
JM
23674 * math/libm-test.inc (struct test_ff_f_data): New type.
23675 (struct test_ff_f_data_nexttoward): Likewise.
23676 (RUN_TEST_LOOP_2_f): New macro.
23677 (RUN_TEST_LOOP_ff_f): Likewise.
23678 (atan2_test_data): New variable.
23679 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23680 (copysign_test_data): New variable.
23681 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23682 (fdim_test_data): New variable.
23683 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23684 (fmax_test_data): New variable.
23685 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23686 (fmin_test_data): New variable.
23687 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23688 (fmod_test_data): New variable.
23689 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23690 (hypot_test_data): New variable.
23691 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23692 (nextafter_test_data): New variable.
23693 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23694 (nexttoward_test_data): New variable.
23695 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23696 (pow_test_data): New variable.
23697 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23698 (pow_tonearest_test_data): New variable.
23699 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23700 (pow_towardzero_test_data): New variable.
23701 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23702 (pow_downward_test_data): New variable.
23703 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23704 (pow_upward_test_data): New variable.
23705 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23706 (remainder_test_data): New variable.
23707 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23708 (scalb_test_data): New variable.
23709 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23710 * sysdeps/i386/fpu/libm-test-ulps: Update.
23711
74c57478
JM
237122013-05-11 Joseph Myers <joseph@codesourcery.com>
23713
8329e4da
JM
23714 * math/libm-test.inc (fma_test): Use max_value instead of local
23715 variable fltmax.
23716 (nextafter_test): Likewise.
23717
74c57478
JM
23718 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23719 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23720 (acos_downward_test_data): New variable.
23721 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23722 (acos_upward_test_data): New variable.
23723 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23724 (acosh_test_data): New variable.
23725 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23726 (asin_test_data): New variable.
23727 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23728 (asin_tonearest_test_data): New variable.
23729 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23730 (asin_towardzero_test_data): New variable.
23731 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23732 (asin_downward_test_data): New variable.
23733 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23734 (asin_upward_test_data): New variable.
23735 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23736 (asinh_test_data): New variable.
23737 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23738 (atan_test_data): New variable.
23739 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23740 (atanh_test_data): New variable.
23741 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23742 (cbrt_test_data): New variable.
23743 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23744 (ceil_test_data): New variable.
23745 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23746 (cos_test_data): New variable.
23747 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23748 (cos_tonearest_test_data): New variable.
23749 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23750 (cos_towardzero_test_data): New variable.
23751 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23752 (cos_downward_test_data): New variable.
23753 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23754 (cos_upward_test_data): New variable.
23755 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23756 (cosh_test_data): New variable.
23757 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23758 (cosh_tonearest_test_data): New variable.
23759 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23760 (cosh_towardzero_test_data): New variable.
23761 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23762 (cosh_downward_test_data): New variable.
23763 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23764 (cosh_upward_test_data): New variable.
23765 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23766 (erf_test_data): New variable.
23767 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23768 (erfc_test_data): New variable.
23769 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23770 (exp_test_data): New variable.
23771 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23772 (exp_tonearest_test_data): New variable.
23773 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23774 (exp_towardzero_test_data): New variable.
23775 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23776 (exp_downward_test_data): New variable.
23777 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23778 (exp_upward_test_data): New variable.
23779 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23780 (exp10_test_data): New variable.
23781 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23782 (exp2_test_data): New variable.
23783 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23784 (expm1_test_data): New variable.
23785 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23786 (fabs_test_data): New variable.
23787 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23788 (floor_test_data): New variable.
23789 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23790 (j0_test_data): New variable.
23791 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23792 (j1_test_data): New variable.
23793 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23794 (log_test_data): New variable.
23795 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23796 (log10_test_data): New variable.
23797 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23798 (log1p_test_data): New variable.
23799 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23800 (log2_test_data): New variable.
23801 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23802 (logb_test_data): New variable.
23803 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23804 (logb_downward_test_data): New variable.
23805 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23806 (nearbyint_test_data): New variable.
23807 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23808 (rint_test_data): New variable.
23809 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23810 (rint_tonearest_test_data): New variable.
23811 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23812 (rint_towardzero_test_data): New variable.
23813 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23814 (rint_downward_test_data): New variable.
23815 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23816 (rint_upward_test_data): New variable.
23817 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23818 (round_test_data): New variable.
23819 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23820 (sin_test_data): New variable.
23821 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23822 (sin_tonearest_test_data): New variable.
23823 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23824 (sin_towardzero_test_data): New variable.
23825 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23826 (sin_downward_test_data): New variable.
23827 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23828 (sin_upward_test_data): New variable.
23829 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23830 (sinh_test_data): New variable.
23831 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23832 (sinh_tonearest_test_data): New variable.
23833 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23834 (sinh_towardzero_test_data): New variable.
23835 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23836 (sinh_downward_test_data): New variable.
23837 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23838 (sinh_upward_test_data): New variable.
23839 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23840 (sqrt_test_data): New variable.
23841 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23842 (tan_test_data): New variable.
23843 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23844 (tan_tonearest_test_data): New variable.
23845 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23846 (tan_towardzero_test_data): New variable.
23847 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23848 (tan_downward_test_data): New variable.
23849 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23850 (tan_upward_test_data): New variable.
23851 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23852 (tanh_test_data): New variable.
23853 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23854 (tgamma_test_data): New variable.
23855 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23856 (trunc_test_data): New variable.
23857 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23858 (y0_test_data): New variable.
23859 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23860 (y1_test_data): New variable.
23861 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23862 (significand_test_data): New variable.
23863 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23864
7187d844
CG
238652013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23866
23867 [BZ #12387]
23868 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23869
f63fae73
PT
238702013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23871
23872 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23873
8a67a4b3
AJ
238742013-05-10 Andreas Jaeger <aj@suse.de>
23875
23876 [BZ #15448]
23877 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23878 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23879
51df539d
JM
238802013-05-10 Joseph Myers <joseph@codesourcery.com>
23881
23882 * math/gen-libm-test.pl (adjust_arg): New function.
23883 (special_functions): Handle generating output in both functions
23884 and arrays.
23885 (parse_args): Likewise.
23886 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23887 $in_func argument to parse_args.
23888 * math/libm-test.inc (struct test_f_f_data): New type.
23889 (IF_ROUND_INIT_): New macro.
23890 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23891 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23892 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23893 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23894 (ROUND_RESTORE_): Likewise.
23895 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23896 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23897 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23898 (ROUND_RESTORE_FE_UPWARD): Likewise.
23899 (RUN_TEST_LOOP_f_f): New macro.
23900 (acos_test_data): New variable.
23901 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23902 (acos_tonearest_test_data): New variable.
23903 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23904
5c637fe5
SP
239052013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23906
23907 * benchtests/bench-skeleton.c (startup): Fix coding style.
23908
ab2b9461
JM
239092013-05-10 Joseph Myers <joseph@codesourcery.com>
23910
23911 [BZ #6809]
23912 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23913 negative infinity argument.
23914 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23915 negative infinity argument.
23916 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23917 negative infinity argument.
23918 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23919 domain errors.
23920
4c0fe6fe
FW
239212013-05-10 Florian Weimer <fweimer@redhat.com>
23922
23923 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23924 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23925 * iconv/iconv_prog.c (main): Likewise.
23926 * locale/programs/charmap-dir.c (charmap_readdir)
23927 (fopen_uncompressed): Likewise.
23928 * locale/programs/locfile.c (siblings_uncached)
23929 (write_locale_data): Use lstat64 instead of lstat.
23930 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23931 stat.
23932
a3375d29
AJ
239332013-05-10 Andreas Jaeger <aj@suse.de>
23934
23935 [BZ #15395]
23936 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23937 localization.
23938 Include <locale.h>.
23939
36129722
CD
239402013-05-09 Carlos O'Donell <carlos@redhat.com>
23941
23942 * elf/dl-close.c (_dl_close_worker): Add comments.
23943
faa7f811
JM
239442013-05-09 Joseph Myers <joseph@codesourcery.com>
23945
ed41ffef
JM
23946 [BZ #15359]
23947 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23948 high part of pi/2.
23949 (__ieee754_rem_pio2l): Update comments.
23950
d0213cd0
JM
23951 [BZ #15429]
23952 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23953 high part of pi/2.
23954 (__ieee754_rem_pio2l): Update comments.
23955
0d3e777a
JM
23956 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23957 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23958
24f56066
JM
23959 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23960 M_PI_4l.
23961
faa7f811
JM
23962 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23963 (M_PI_34_LOG10El): Likewise.
23964 (M_PI2_LOG10El): Likewise.
23965 (M_PI4_LOG10El): Likewise.
23966 (M_PI_LOG10El): Likewise.
23967
e9a5e0fd
AZ
239682013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23969
23970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23971
d8cd06db
JM
239722013-05-08 Joseph Myers <joseph@codesourcery.com>
23973
a0d9f9d7
JM
23974 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23975 (MINUS_ZERO_INIT): Likewise.
23976 (PLUS_INFTY_INIT): Likewise.
23977 (MINUS_INFTY_INIT): Likewise.
23978 (QNAN_VALUE_INIT): Likewise.
23979 (MAX_VALUE_INIT): Likewise.
23980 (MIN_VALUE_INIT): Likewise.
23981 (MIN_SUBNORM_VALUE_INIT): Likewise.
23982 (plus_zero): Initialize with PLUS_ZERO_INIT.
23983 (minus_zero): Initialize with MINUS_ZERO_INIT.
23984 (plus_infty): Initialize with PLUS_INFTY_INIT.
23985 (minus_infty): Initialize with MINUS_INFTY_INIT.
23986 (qnan_value): Initialize with QNAN_VALUE_INIT.
23987 (max_value): Initialize with MAX_VALUE_INIT.
23988 (min_value): Initialize with MIN_VALUE_INIT.
23989 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23990
ae08db3b
JM
23991 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23992 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23993 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23994 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23995
f44bf14a
JM
23996 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23997 (RUN_TEST_2_f): Likewise.
23998 (RUN_TEST_ff_f): Likewise.
23999 (RUN_TEST_fi_f): Likewise.
24000 (RUN_TEST_fl_f): Likewise.
24001 (RUN_TEST_fff_f): Likewise.
24002 (RUN_TEST_c_f): Likewise.
24003 (RUN_TEST_f_f1): Likewise.
24004 (RUN_TEST_fF_f1): Likewise.
24005 (RUN_TEST_fI_f1): Likewise.
24006 (RUN_TEST_ffI_f1): Likewise.
24007 (RUN_TEST_c_c): Likewise.
24008 (RUN_TEST_cc_c): Likewise.
24009 (RUN_TEST_f_i): Likewise.
24010 (RUN_TEST_f_i_tg): Likewise.
24011 (RUN_TEST_ff_i_tg): Likewise.
24012 (RUN_TEST_f_b): Likewise.
24013 (RUN_TEST_f_b_tg): Likewise.
24014 (RUN_TEST_f_l): Likewise.
24015 (RUN_TEST_f_L): Likewise.
24016 (RUN_TEST_sincos): Likewise.
24017 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24018 whether to show exceptions. Do not include ");\n" in return
24019 value.
24020 (special_functions): Output call to RUN_TEST_sincos instead of
24021 check_float calls. Update calls to new_test.
24022 (parse_args): Output call to single RUN_TEST_* macro instead of
24023 check_* calls and other assignments. Update calls to new_test.
24024
d8cd06db
JM
24025 [BZ #2546]
24026 [BZ #2560]
24027 [BZ #5159]
24028 [BZ #15426]
24029 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24030 input to result for tgamma overflow.
24031 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24032 (gamma_coeff): New variable.
24033 (NCOEFF): New macro.
24034 (gamma_positive): New function.
24035 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24036 underflow here. Use gamma_positive instead of exp (lgamma) for
24037 other arguments.
24038 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24039 (gamma_coeff): New variable.
24040 (NCOEFF): New macro.
24041 (gammaf_positive): New function.
24042 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24043 underflow here. Use gamma_positive instead of exp (lgamma) for
24044 other arguments.
24045 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24046 (gamma_coeff): New variable.
24047 (NCOEFF): New macro.
24048 (gammal_positive): New function.
24049 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24050 underflow here. Use gamma_positive instead of exp (lgamma) for
24051 other arguments.
24052 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24053 (gamma_coeff): New variable.
24054 (NCOEFF): New macro.
24055 (gammal_positive): New function.
24056 (__ieee754_gammal_r): Handle positive infinity, overflow and
24057 underflow here. Handle NaN the same as positive infinity. Remove
24058 check x < 0xffffffff for negative integers. Use gamma_positive
24059 instead of exp (lgamma) for other arguments.
24060 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24061 (gamma_coeff): New variable.
24062 (NCOEFF): New macro.
24063 (gammal_positive): New function.
24064 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24065 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24066 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24067 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24068 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24069 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24070 * sysdeps/generic/math_private.h (__gamma_productf): New
24071 prototype.
24072 (__gamma_product): Likewise.
24073 (__gamma_productl): Likewise.
24074 * math/Makefile (libm-calls): Add gamma_product.
24075 * math/libm-test.inc (tgamma_test): Add more tests.
24076 * sysdeps/i386/fpu/libm-test-ulps: Update.
24077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24078
bb7cf681
OB
240792013-05-08 Ondřej Bílka <neleai@seznam.cz>
24080
24081 * benchtests/bench-skeleton.c (main): Preheat CPU.
24082
ba853947
AJ
240832013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24084
24085 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24086
8347c74c
RM
240872013-05-07 Roland McGrath <roland@hack.frob.com>
24088
24089 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24090 and _dl_skip_args_internal.
24091
e8dd4791
CD
240922013-05-07 Carlos O'Donell <carlos@redhat.com>
24093
24094 * manual/message.texi (Message Translation): Talk about users.
24095 Message to key mapping impacts design.
24096
c7405830
RM
240972013-05-06 Roland McGrath <roland@hack.frob.com>
24098
a9173057
RM
24099 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24100
976e2f03
RM
24101 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24102
9723ffc5
RM
24103 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24104 * sysdeps/wordsize-64/glob64.c: ... here.
24105
962e6658
RM
24106 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24107 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24108 New macros.
24109
ee586a6d
RM
24110 * debug/getlogin_r_chk.c: Moved to ...
24111 * login/getlogin_r_chk.c: ... here.
24112 * debug/Makefile (routines): Move getlogin_r_chk to ...
24113 * login/Makefile (routines): ... here.
24114 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24115 * login/Versions (libc: GLIBC_2.4): ... here.
24116
355f9165
RM
24117 * io/poll.c (__poll): Renamed from poll.
24118 Add libc_hidden_def.
24119 (poll): Define as weak alias.
24120
bd9ffde6
RM
24121 * debug/ptsname_r_chk.c: Moved to ...
24122 * login/ptsname_r_chk.c: ... here.
24123 * debug/Makefile (routines): Move ptsname_r_chk to ...
24124 * login/Makefile (routines): ... here.
24125 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24126 * login/Versions (libc: GLIBC_2.4): ... here.
24127
8fb16a04
RM
24128 * posix/getlogin.c: Moved to ...
24129 * login/getlogin.c: ... here.
24130 * posix/getlogin_r.c: Moved to ...
24131 * login/getlogin_r.c: ... here.
24132 * posix/getlogin_r.c: Moved to ...
24133 * login/getlogin_r.c: ... here.
24134 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24135 * login/Makefile (routines): ... here.
24136 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24137 * login/Versions (libc: GLIBC_2.0): ... here.
24138
b99b892f
RM
24139 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24140 (setrlimit): Define as weak alias.
24141
c7405830
RM
24142 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24143 Call __ names for open, ftruncate, and close.
24144 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24145 (truncate): Define as weak alias.
24146
5bf96de5
JM
241472013-05-06 Joseph Myers <joseph@codesourcery.com>
24148
9ea3513c
JM
24149 * math/gen-libm-test.pl (parse_args): Initialize x before each
24150 test of frexp, modf and remquo.
24151
5bf96de5
JM
24152 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24153 test signgam value.
24154
16e616a7
AZ
241552013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24156
24157 [BZ #15418]
24158 [BZ #15419]
24159 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24160 internal tests.
24161 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24162
d5e82754
RM
241632013-05-06 Roland McGrath <roland@hack.frob.com>
24164
24165 * elf/dl-writev.h: New file.
24166 * elf/dl-misc.c: Include it.
24167 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24168 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24169
a7548d41
JM
241702013-05-04 Joseph Myers <joseph@codesourcery.com>
24171
b7dab1e4
JM
24172 * math/libm-test.inc (noXFails): Remove variable.
24173 (noXPasses): Likewise.
24174 (BUILD_COMPLEX_INT): Remove macro.
24175 (print_screen): Remove xfail argument.
24176 (print_screen_max_error): Likewise.
24177 (update_stats): Likewise.
24178 (print_max_error): Likewise. Update calls to other affected
24179 functions.
24180 (print_complex_max_error): Likewise.
24181 (test_single_exception): Update calls to print_screen.
24182 (test_single_errno): Likewise.
24183 (check_float_internal): Remove xfail argument. Update calls to
24184 other affected functions.
24185 (check_float): Likewise.
24186 (check_complex): Likewise.
24187 (check_int): Likewise.
24188 (check_long): Likewise.
24189 (check_bool): Likewise.
24190 (check_longlong): Likewise.
24191 (main): Don't print noXFails and noXPasses.
24192 * math/gen-libm-test.pl (top level): Don't mention expected
24193 failure handling in comment.
24194 (new_test): Don't handle expected failures.
24195 (parse_args): Don't mention expected failure handling in comment.
24196 (generate_testfile): Don't handle expected failures.
24197 (parse_ulps): Likewise.
24198 (print_ulps_file): Likewise.
24199 (get_failure): Remove function.
24200 (output_test): Don't handle expected failures.
24201 * make/README.libm-test: Don't mention expected failure handling.
24202
a7548d41
JM
24203 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24204 (minus_zero): Likewise.
24205 (plus_infty): Likewise.
24206 (minus_infty): Likewise.
24207 (qnan_value): Likewise.
24208 (max_value): Likewise.
24209 (min_value): Likewise.
24210 (min_subnorm_value): Likewise.
24211 (initialize): Do not initialize those variables dynamically.
24212
60bfd54c
RM
242132013-05-03 Roland McGrath <roland@hack.frob.com>
24214
cc0e6ed8
RM
24215 * io/open.c (__open_2): Moved to ...
24216 * io/open_2.c: ... this new file.
24217 * io/open64.c (__open64_2): Moved to ...
24218 * io/open64_2.c: ... this new file.
24219 * io/openat.c (__openat_2): Moved to ...
24220 * io/openat_2.c: ... this new file.
24221 * io/openat64.c (__openat64_2): Moved to ...
24222 * io/openat64_2.c: ... this new file.
24223 * io/Makefile (routines): Add them.
24224 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24225 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24226 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24227 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24228 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24229 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24230 (__openat64): Add hidden_ver.
24231 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24232 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24233
60bfd54c
RM
24234 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24235 Separately conditionalize setting of GLRO(dl_sysinfo) so
24236 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24237 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24238
83e7640f
AZ
242392013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24240
24241 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24242 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24243 definition.
24244 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24245 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24246 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24247 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24248 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24249
d5dc2af3
JM
242502013-05-03 Joseph Myers <joseph@codesourcery.com>
24251
c31a5b1e
JM
24252 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24253 test signgam value.
24254
d5dc2af3
JM
24255 * math/libm-test.inc (hypot_test): Do not use
24256 IGNORE_ZERO_INF_SIGN.
24257
164fd39d
AJ
242582013-05-03 Andreas Jaeger <aj@suse.de>
24259
24260 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24261 Linux 3.9.
24262 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24263 (PF_MAX): Adjust for VSOCK change.
24264
8237f48c
AZ
242652013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24266
24267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24268
9df02941
CD
242692013-05-02 Carlos O'Donell <carlos@redhat.com>
24270
24271 [BZ #15264]
24272 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24273 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24274 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24275
d422395e
DM
242762013-05-02 David S. Miller <davem@davemloft.net>
24277
24278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24279
a07c5731
OB
242802013-05-01 Ondřej Bílka <neleai@seznam.cz>
24281
24282 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24283
1324e37f
RM
242842013-05-01 Roland McGrath <roland@hack.frob.com>
24285
24286 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24287
0695940b
RS
242882013-05-01 Richard Smith <richard@metafoo.co.uk>
24289
bb5f27ad 24290 [BZ #14952]
0695940b
RS
24291 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24292 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24293 Use __attribute__ ((__gnu_inline__)).
24294 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24295 Don't use __attribute__ ((__gnu_inline__)).
24296
10de07f5
JM
242972013-05-01 Joseph Myers <joseph@codesourcery.com>
24298
24299 [BZ #15423]
24300 * math/s_catan.c (__catan): Handle small real or imaginary part of
24301 input specially to avoid spurious underflow.
24302 * math/s_catanf.c (__catanf): Likewise.
24303 * math/s_catanh.c (__catanh): Likewise.
24304 * math/s_catanhf.c (__catanhf): Likewise.
24305 * math/s_catanhl.c (__catanhl): Likewise.
24306 * math/s_catanl.c (__catanl): Likewise.
24307 * math/libm-test.inc (catan_test): Add more tests.
24308 (catanh_test): Likewise.
24309 * sysdeps/i386/fpu/libm-test-ulps: Update.
24310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24311
cb4d5414
AZ
243122013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24313
24314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24315
caf84319
JM
243162013-04-30 Joseph Myers <joseph@codesourcery.com>
24317
24318 [BZ #15416]
24319 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24320 accurately for denominator in atan2.
24321 * math/s_catanf.c (__catanf): Likewise.
24322 * math/s_catanh.c (__catanh): Likewise.
24323 * math/s_catanhf.c (__catanhf): Likewise.
24324 * math/s_catanhl.c (__catanhl): Likewise.
24325 * math/s_catanl.c (__catanl): Likewise.
24326 * math/libm-test.inc (catan_test): Add more tests.
24327 (catanh_test): Likewise.
24328 * sysdeps/i386/fpu/libm-test-ulps: Update.
24329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24330
d569c6ee
SP
243312013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24332
6dbe713d
SP
24333 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24334
f0ee064b
SP
24335 * benchtests/Makefile (bench): Remove slow benchmarks.
24336 * benchtests/atan-inputs: Add slow benchmark inputs.
24337 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24338 (BENCH_FUNC): Accept variant offset.
24339 (VARIANT): Define.
24340 * benchtests/bench-skeleton.c (main): Run benchmark for each
24341 variant.
24342 * benchtests/cos-inputs: Add slow benchmark inputs.
24343 * benchtests/exp-inputs: Likewise.
24344 * benchtests/pow-inputs: Likewise.
24345 * benchtests/sin-inputs: Likewise.
24346 * benchtests/slowatan-inputs: Remove.
24347 * benchtests/slowatan.c: Remove.
24348 * benchtests/slowcos-inputs: Remove.
24349 * benchtests/slowcos.c: Remove.
24350 * benchtests/slowexp-inputs: Remove.
24351 * benchtests/slowexp.c: Remove.
24352 * benchtests/slowpow-inputs: Remove.
24353 * benchtests/slowpow.c: Remove.
24354 * benchtests/slowsin-inputs: Remove.
24355 * benchtests/slowsin.c: Remove.
24356 * benchtests/slowtan-inputs: Remove.
24357 * benchtests/slowtan.c: Remove.
24358 * benchtests/tan-inputs: Add slow benchmark inputs.
24359 * scripts/bench.pl: Parse comments and directives.
24360
d569c6ee
SP
24361 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24362 in CPPFLAGS.
24363 ($(objpfx)bench-%.c): Remove *-ITER.
24364 * benchtests/bench-modf.c: Remove definition of ITER.
24365 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24366 (main): Loop for DURATION seconds instead of fixed number of
24367 iterations.
24368 * scripts/bench.pl: Don't expect iterations in parameters.
24369
a6a242fe
RM
243702013-04-29 Roland McGrath <roland@hack.frob.com>
24371
24372 * io/fchdir.c (__fchdir): Renamed from fchdir.
24373 (fchdir): Define as weak alias.
24374
f2da7793
JM
243752013-04-29 Joseph Myers <joseph@codesourcery.com>
24376
24377 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24378 (ERRNO_EDOM): Likewise.
24379 (ERRNO_ERANGE): Likewise.
24380 (noErrnoTests): New variable.
24381 (init_max_error): Set errno to 0.
24382 (test_single_errno): New function.
24383 (test_errno): Likewise.
24384 (check_float_internal): Call test_errno. Set errno to 0.
24385 (check_complex): Refer to errno tests in comment.
24386 (check_int): Call test_errno. Set errno to 0.
24387 (check_long): Likewise.
24388 (check_bool): Likewise.
24389 (check_longlong): Likewise.
24390 (cos_test): Use ERRNO_* flags for errno tests instead of
24391 check_int.
24392 (expm1_test): Likewise.
24393 (fmod_test): Likewise.
24394 (ilogb_test): Likewise.
24395 (lgamma_test): Likewise.
24396 (pow_test): Likewise.
24397 (remainder_test): Likewise.
24398 (sin_test): Likewise.
24399 (tan_test): Likewise.
24400 (yn_test): Likewise.
24401 (initialize): Set errno to 0.
24402 (main): Print number of errno tests.
24403 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24404
b1a36ceb
AJ
244052013-04-29 Andreas Jaeger <aj@suse.de>
24406
c3ed8088
AJ
24407 [BZ #15084]
24408 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24409 and RES_USEVC.
24410
f1a24198
AJ
24411 [BZ #15085]
24412 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24413 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24414 unimplemented.
24415
9ce3b2cb
AJ
24416 [BZ #15380]
24417 * stdlib/random.c (__initstate): Return NULL if
24418 __initstate fails.
24419
f1a24198 24420 [BZ #15086]
b1a36ceb
AJ
24421 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24422 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24423 RES_SNGLKUPREOP.
24424
7e7b6f36
AZ
244252013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24426
24427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24428
4d14f449
JM
244292013-04-29 Joseph Myers <joseph@codesourcery.com>
24430
24431 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24432 of individual tests.
24433 (casin_test): Likewise.
24434 (casinh_test): Likewise.
24435
5b4217d7
JM
244362013-04-27 Joseph Myers <joseph@codesourcery.com>
24437
24438 [BZ #15409]
24439 * math/s_catan.c (__catan): Handle arguments with large real or
24440 imaginary part separately without squaring.
24441 * math/s_catanf.c (__catanf): Likewise.
24442 * math/s_catanh.c (__catanh): Likewise.
24443 * math/s_catanhf.c (__catanhf): Likewise.
24444 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24445 and redefine.
24446 (__catanhl): Handle arguments with large real or imaginary part
24447 separately without squaring.
24448 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24449 and redefine.
24450 (__catanl): Handle arguments with large real or imaginary part
24451 separately without squaring.
24452 * math/libm-test.inc (catan_test): Add more tests.
24453 (catanh_test): Likewise.
24454 * sysdeps/i386/fpu/libm-test-ulps: Update.
24455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24456
4220c3ef
AJ
244572013-04-27 Andreas Jaeger <aj@suse.de>
24458
24459 [BZ #15007]
24460 * stdlib/stdlib.h: Update guards for qecvt.
24461 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24462 <stdlib.h>.
24463
4721b2d1
AM
244642013-04-27 Allan McRae <allan@archlinux.org>
24465
24466 * sysdeps/i386/fpu/libm-test-ulps: Update.
24467
f0302940
JM
244682013-04-26 Joseph Myers <joseph@codesourcery.com>
24469
9457fd95
JM
24470 [BZ #15406]
24471 * math/s_catan.c: Include <float.h>.
24472 (__catan): Ensure underflow exception occurs for underflowed
24473 result.
24474 * math/s_catanf.c: Include <float.h>.
24475 (__catanf): Ensure underflow exception occurs for underflowed
24476 result.
24477 * math/s_catanh.c: Include <float.h>.
24478 (__catanh): Ensure underflow exception occurs for underflowed
24479 result.
24480 * math/s_catanhf.c: Include <float.h>.
24481 (__catanhf): Ensure underflow exception occurs for underflowed
24482 result.
24483 * math/s_catanhl.c: Include <float.h>.
24484 (__catanhl): Ensure underflow exception occurs for underflowed
24485 result.
24486 * math/s_catanl.c: Include <float.h>.
24487 (__catanl): Ensure underflow exception occurs for underflowed
24488 result.
24489 * math/libm-test.inc (catan_test): Add more tests.
24490 (catanh_test): Likewise.
24491
f0302940
JM
24492 [BZ #15405]
24493 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24494 underflowed result.
24495 * math/s_ccoshf.c (__ccoshf): Likewise.
24496 * math/s_ccoshl.c (__ccoshl): Likewise.
24497 * math/s_csin.c (__csin): Likewise.
24498 * math/s_csinf.c (__csinf): Likewise.
24499 * math/s_csinh.c (__csinh): Likewise.
24500 * math/s_csinhf.c (__csinhf): Likewise.
24501 * math/s_csinhl.c (__csinhl): Likewise.
24502 * math/s_csinl.c (__csinl): Likewise.
24503 * math/libm-test.inc (ccos_test): Add more tests.
24504 (ccosh_test): Likewise.
24505 (csin_test): Likewise.
24506 (csinh_test): Likewise.
24507
aa630f59
AZ
245082013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24509
24510 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24511 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24512 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24513 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24514 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24515 powerpc/power5+/fpu folders.
24516 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24517
24518
1b835983
MT
245192013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24520
24521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24522
73709b26
JM
245232013-04-25 Joseph Myers <joseph@codesourcery.com>
24524
24525 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24526 additions to variable.
24527 [$(config-machine) = x86_64] (modules-names): Likewise.
24528 ($(objpfx)tst-audit3): Remove dependency.
24529 ($(objpfx)tst-audit3.out): Likewise.
24530 ($(objpfx)tst-audit4): Likewise.
24531 ($(objpfx)tst-audit4.out): Likewise.
24532 ($(objpfx)tst-audit5): Likewise.
24533 ($(objpfx)tst-audit5.out): Likewise.
24534 ($(objpfx)tst-audit6): Likewise.
24535 ($(objpfx)tst-audit6.out): Likewise.
24536 ($(objpfx)tst-audit7): Likewise.
24537 ($(objpfx)tst-audit7.out): Likewise.
24538 (tst-audit3-ENV): Remove variable.
24539 (tst-audit4-ENV): Likewise.
24540 (tst-audit5-ENV): Likewise.
24541 (tst-audit6-ENV): Likewise.
24542 (tst-audit7-ENV): Likewise.
24543 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24544 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24545 addition to variable.
24546 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24547 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24548 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24549 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24550 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24551 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24552 tst-audit3, tst-audit4 and tst-audit5.
24553 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24554 tst-audit6 and tst-audit7.
24555 [$(subdir) = elf] (modules-names): Add audit modules for those
24556 tests.
24557 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24558 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24559 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24560 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24561 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24562 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24563 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24564 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24565 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24566 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24567 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24568 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24569 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24570 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24571 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24572 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24573 Likewise.
24574 [$(subdir) = elf && $(config-cflags-avx) = yes]
24575 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24576 [$(subdir) = elf && $(config-cflags-avx) = yes]
24577 (CFLAGS-tst-auditmod4a.c): Likewise.
24578 [$(subdir) = elf && $(config-cflags-avx) = yes]
24579 (CFLAGS-tst-auditmod4b.c): Likewise.
24580 [$(subdir) = elf && $(config-cflags-avx) = yes]
24581 (CFLAGS-tst-auditmod6b.c): Likewise.
24582 [$(subdir) = elf && $(config-cflags-avx) = yes]
24583 (CFLAGS-tst-auditmod6c.c): Likewise.
24584 [$(subdir) = elf && $(config-cflags-avx) = yes]
24585 (CFLAGS-tst-auditmod7b.c): Likewise.
24586 * elf/tst-audit3.c: Move to ...
24587 * sysdeps/x86_64/tst-audit3.c: ... here.
24588 * elf/tst-audit4.c: Move to ...
24589 * sysdeps/x86_64/tst-audit4.c: ... here.
24590 * elf/tst-audit5.c: Move to ...
24591 * sysdeps/x86_64/tst-audit5.c: ... here.
24592 * elf/tst-audit6.c: Move to ...
24593 * sysdeps/x86_64/tst-audit6.c: ... here.
24594 * elf/tst-audit7.c: Move to ...
24595 * sysdeps/x86_64/tst-audit7.c: ... here.
24596 * elf/tst-auditmod3a.c: Move to ...
24597 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24598 * elf/tst-auditmod3b.c: Move to ...
24599 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24600 * elf/tst-auditmod4a.c: Move to ...
24601 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24602 * elf/tst-auditmod4b.c: Move to ...
24603 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24604 * elf/tst-auditmod5a.c: Move to ...
24605 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24606 * elf/tst-auditmod5b.c: Move to ...
24607 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24608 * elf/tst-auditmod6a.c: Move to ...
24609 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24610 * elf/tst-auditmod6b.c: Move to ...
24611 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24612 * elf/tst-auditmod6c.c: Move to ...
24613 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24614 * elf/tst-auditmod7a.c: Move to ...
24615 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24616 * elf/tst-auditmod7b.c: Move to ...
24617 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24618
1ef74943
PP
246192013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24620
24621 [BZ #15366]
24622 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24623 define unconditionally.
24624 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24625 define unconditionally.
24626 (INT8_C, INT16_C, etc.): Likewise.
24627
93fd48c5
MR
246282013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24629
ae9552cf
MR
24630 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24631 __ehdr_start with hidden visibility.
24632
93fd48c5
MR
24633 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24634
418601aa
CD
246352013-04-24 Carlos O'Donell <carlos@redhat.com>
24636
24637 * math/libm-test.inc (cos_test): Use accurate hex constants.
24638 (sincost_test): Likewise.
24639
2f38fbfe
JM
246402013-04-24 Joseph Myers <joseph@codesourcery.com>
24641
5e221800
JM
24642 * math/libm-test.inc (catan_test): Add more tests.
24643 (catanh_test): Likewise.
24644
77f143fd
JM
24645 * math/s_catanf.c (__catanf): Use suffixed floating-point
24646 constants.
24647 * math/s_catanhf.c (__catanhf): Likewise.
24648 * math/s_catanhl.c (__catanhl): Likewise.
24649 * math/s_catanl.c (__catanl): Likewise.
24650
2f38fbfe
JM
24651 [BZ #15394]
24652 * math/s_catan.c (__catan): Calculate imaginary part of result
24653 with log1p not log unless computing log of number close to 0.
24654 * math/s_catanf.c (__catanf): Likewise.
24655 * math/s_catanl.c (__catanl): Likewise.
24656 * math/s_catanh.c (__catanh): Calculate real part of result with
24657 log1p not log unless computing log of number close to 0.
24658 * math/s_catanhf.c (__catanhf): Likewise.
24659 * math/s_catanhl.c (__catanhl): Likewise.
24660 * math/libm-test.inc (catan_test): Add more tests.
24661 (catanh_test): Likewise.
24662 * sysdeps/i386/fpu/libm-test-ulps: Update.
24663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24664
45d69176
SP
246652013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24666
24667 * benchtests/Makefile: Mention files in which fast and slow
24668 paths of math functions are implemented.
24669
87f51853
RM
246702013-04-23 Roland McGrath <roland@hack.frob.com>
24671
24672 * sysdeps/posix/timespec_get.c: New file.
24673
3c026539
AZ
246742013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24675
24676 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24677 POWER.
24678 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24679 for POWER.
24680 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24681 powerpc/power5/fpu folders.
24682 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24683 * benchtests/Makefile: Add modf testcase.
24684 * benchtests/bench-modf.c: New file: Benchmark test for mo
24685
ff491d14
SP
246862013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24687
24688 [BZ #14888]
24689 * time/Makefile (tests): Add tst-strptime-whitespace.
24690 * time/strptime_l.c (get_number): Use ISSPACE.
24691 (__strptime_internal): Likewise.
24692 * time/tst-strptime-whitespace.c: New test case.
24693
7ed3f4e8
AS
246942013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24695
24696 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24697 member.
24698 (_nss_files_init): Set it here.
24699
5c95f7b6
HC
247002013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24701
24702 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24703 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24704 unsigned.
24705
d34c9158
JBG
247062013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24707
24708 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24709
2169712d
SP
247102013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24711
24712 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24713 size just once.
24714
29c5de99
DM
247152013-04-21 David S. Miller <davem@davemloft.net>
24716
24717 * po/ru.po: Update Russion translation from translation project.
24718
ccdad15d
AC
247192013-04-17 Adam Conrad <adconrad@0c3.net>
24720
24721 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24722 and setfsgid.
24723
0f122b8d
CD
247242013-04-17 Carlos O'Donell <carlos@redhat.com>
24725
5c5b07da 24726 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24727 * configure: Regenerate.
5c5b07da 24728 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24729 Add example to error message.
24730 * sysdeps/i386/configure: Regenerate.
24731
037714dd
SP
247322013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24733
24734 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24735 slowtan.
24736 * benchtests/cos-inputs: New file.
24737 * benchtests/slowcos-inputs: New file.
24738 * benchtests/slowcos.c: New file.
24739 * benchtests/slowtan-inputs: New file.
24740 * benchtests/slowtan.c: New file.
24741 * benchtests/tan-inputs: New file.
24742
e913141d
RM
247432013-04-16 Roland McGrath <roland@hack.frob.com>
24744
24745 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24746 considered kosher.
24747
a2964074
SP
247482013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24749
4856bcd2
SP
24750 * benchtests/Makefile: Include cppflags-iterator.mk to add
24751 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24752
a2964074
SP
24753 * Makefile.in (bench-clean): New target.
24754 * benchtests/Makefile (bench-clean): Likewise.
24755
9fbf9aca
DH
247562013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24757
24758 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24759
207d1e2a
TS
247602013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24761
24762 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24763
306dfba9
AS
247642013-04-15 Andreas Schwab <schwab@suse.de>
24765
24766 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24767 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24768 * nscd/pwdcache.c (cache_addpw): Likewise.
24769 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24770 more than recsize.
24771
206a6699
SP
247722013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24773
24774 * benchtests/Makefile (bench): Write all output to
24775 bench-out.tmp together.
24776
0582f6b3
AS
247772013-04-15 Andreas Schwab <schwab@suse.de>
24778
24779 * nscd/nscd.c (main): Don't fork again after closing files.
24780
acb4325f
SP
247812013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24782
5cb26d0a
SP
24783 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24784
acb4325f
SP
24785 * benchtests/Rules (bench-deps): Collect dependencies into a
24786 single variable. Add Makefile to dependencies.
24787 ($(objpfx)bench-%.c): Depend on bench-deps.
24788
47792506
RM
247892013-04-12 Roland McGrath <roland@hack.frob.com>
24790 Xavier Roche <roche+kml2@exalead.com>
24791
24792 [BZ #15361]
24793 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24794 just that it's a file descriptor.
24795 * manual/llio.texi (Synchronizing AIO Operations): Update description
24796 for EBADF error from aio_fsync.
24797
8fc1bee5
SP
247982013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24799
24800 * Rules (bench): Move target definition...
24801 * benchtests/Makefile: ... here.
24802
aba5e333
CD
248032013-04-11 Carlos O'Donell <carlos@redhat.com>
24804
24805 * math/libm-test.inc (cos_test): Fix PI/2 test.
24806 (sincos_test): Likewise.
24807 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24808 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24809
273cdee8
AS
248102013-04-11 Andreas Schwab <schwab@suse.de>
24811
6ecec3b6
AS
24812 [BZ #13988]
24813 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24814 accept exponent character only when digits were seen.
24815 * stdio-common/Makefile (tests): Add bug26.
24816 * stdio-common/bug26.c: New file.
24817
273cdee8
AS
24818 [BZ #14293]
24819 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24820 non-freeable.
24821
8da491f5
SP
248222013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24823
01dc6df9
SP
24824 * Makeconfig (rtld-prefix): Define built linker prefix.
24825 * Rules (run-bench): Use it.
24826 * math/Makefile (run-regen-ulps): Likewise.
24827
8da491f5
SP
24828 * Rules (bench): Remove eval.
24829
abe7f530
SP
248302013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24831 Roland McGrath <roland@hack.frob.com>
24832 Ondrej Bilka <neleai@seznam.cz>
24833
24834 [BZ #15346]
24835 * time/getdate.c: Include ctype.h and alloca.h.
24836 (__getdate_r): Trim leading and trailing spaces of input.
24837 * time/tst-getdate.c (tests): Add tests with leading and
24838 trailing spaces.
24839
61c23e62
RM
248402013-04-08 Roland McGrath <roland@hack.frob.com>
24841
24842 [BZ #14280]
24843 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24844 when computing value.
24845
7208a313
CD
248462013-04-06 Carlos O'Donell <carlos@redhat.com>
24847
085b2d41
CD
24848 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24849 Use testrun.sh to run libm tests.
24850
7208a313
CD
24851 [BZ #15309]
24852 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24853
872c0acd
MM
248542013-04-06 Marko Myllynen <myllynen@redhat.com>
24855
24856 [BZ #15264]
24857 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24858
26510bdd
CD
248592013-04-06 Carlos O'Donell <carlos@redhat.com>
24860
24861 * Makefile.in (regen-ulps): New target.
24862 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24863 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24864 [ifneq (no,$(PERL)] (regen-ulps): New target.
24865 [ifeq (no,$(PERL)] (regen-ulps): New target.
24866 * math/libm-test.inc (ulps_file_name): Define.
24867 (output_dir): New variable.
24868 (options): Add "output-dir" option.
24869 (parse_opt): Handle 'o' case.
24870 (main): If output_dir is non-NULL use it as a prefix
24871 otherwise use "".
24872 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24873
a01f19c8
CD
248742013-04-06 Carlos O'Donell <carlos@redhat.com>
24875
24876 [BZ #10060, #10062]
24877 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24878 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24879 fail configure if __sync_val_compare_and_swap is not inlined.
24880 * sysdeps/i386/configure: Regenerate.
24881 * configure.in: Build for i686 when configured for i386.
24882 * configure: Regenerate.
24883 * README: Remove i386 reference.
24884
b7a329a5
CD
248852013-04-06 Carlos O'Donell <carlos@redhat.com>
24886
24887 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24888 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24889
bf0f50df
TS
248902013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24891
ee091edf
TS
24892 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24893 (lmsnanval): New variables.
24894 (F): Add conversion tests.
24895 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24896 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24897
a8b792d6
TS
24898 * stdio-common/tstdiomisc.c (F): Properly collect individual
24899 tests' results.
24900
a1cbf437
TS
24901 [BZ #14686, #15336]
24902 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24903 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24904 Instead, use input NaN values or generate a qNaN by arithmetic
24905 operation. Also fix bugs to comply with the standard.
24906 * math/libm-test.inc (remainder_test): Add more tests.
24907
8b43a0c9
TS
24908 [BZ #15335, #15342]
24909 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24910 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24911 input NaN values or generate a qNaN by arithmetic operation.
24912
d91da4ce
TS
24913 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24914 unreachable code.
24915
bf0f50df
TS
24916 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24917 definitions.
24918
05e166c8
JM
249192013-04-03 Joseph Myers <joseph@codesourcery.com>
24920
24921 [BZ #14478]
24922 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24923 underflowed result.
24924 * math/s_cexpf.c (__cexpf): Likewise.
24925 * math/s_cexpl.c (__cexpl): Likewise.
24926 * math/libm-test.inc (cexp_test): Add more tests.
24927
1cef1b19
AS
249282013-04-03 Andreas Schwab <schwab@suse.de>
24929
24930 [BZ #15330]
24931 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24932 order arrays from heap if bigger than alloca cutoff.
24933
74d87055
TS
249342013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24935
24936 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24937 (SNAN_TESTS_double): Refer to GCC PR56831.
24938 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24939 GCC PR56828.
24940
d755bba4
SP
249412013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24942
90d5d5bb
SP
24943 * Rules (bench): Move bench.out after the run is complete.
24944
73e0cd5d
SP
24945 * Rules (bench): Echo currently running benchmark.
24946
64aabd4b
SP
24947 * benchtests/Makefile (bench): Add atan and slowatan.
24948 * benchtests/atan-inputs: New file.
24949 * benchtests/slowatan-inputs: New file.
24950 * benchtests/slowatan.c: New file.
24951
c871eccd
SP
24952 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24953 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24954 its value.
24955
d755bba4
SP
24956 [BZ #15305]
24957 * sysdeps/unix/sysv/linux/kernel-features.h
24958 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24959 __ASSUME_XFS_RESTRICTED_CHOWN.
24960 * sysdeps/unix/sysv/linux/pathconf.c
24961 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24962 Save and restore errno.
24963
52ce4860
JM
249642013-04-02 Joseph Myers <joseph@codesourcery.com>
24965
24966 [BZ #15327]
24967 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24968 arguments using __kernel_casinh.
24969 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24970 arguments using __kernel_casinhf.
24971 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24972 arguments using __kernel_casinhl.
24973 * math/libm-test.inc (cacosh_test): Add more tests.
24974 * sysdeps/i386/fpu/libm-test-ulps: Update.
24975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24976
81f311c2
SP
249772013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24978
e7906a47
SP
24979 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24980 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24981
92e3664b
SP
24982 * bench/Makefile (bench): Add sin and slowsin.
24983 * benchtests/sin-inputs: New file.
24984 * benchtests/slowsin-inputs: New file.
24985 * benchtests/slowsin.c: New file.
24986
81f311c2
SP
24987 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24988 (bench): Add slowexp and slowpow.
24989 (exp-ITER): Increase iterations.
24990 (pow-ITER): Likewise.
24991 * benchtests/exp-inputs: Change input.
24992 * benchtests/pow-inputs: Likewise.
24993 * benchtests/slowexp-inputs: New file.
24994 * benchtests/slowexp.c: New file.
24995 * benchtests/slowpow-inputs: New file.
24996 * benchtests/slowpow.c: New file.
24997
ab0f1aa9
AZ
249982013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24999
25000 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25001 instructions.
25002 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25003 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25004 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25005 * benchtests/Makefile: Add rint benchtest.
25006 * benchtests/rint-inputs: Input for rint benchtest.
25007
57267616
TS
250082013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25009
25010 * Versions.def (libm): Add GLIBC_2.18.
25011 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25012 hidden libm prototypes.
25013 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25014 * math/Makefile (libm-calls): Add s_issignaling.
25015 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25016 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25017 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25018 declaration.
25019 * math/math.h [__USE_GNU] (issignaling): New macro.
25020 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25021 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25022 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25023 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25024 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25025 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25026 * manual/arith.texi (issignaling): New section.
25027 * manual/libm-err-tab.pl (@all_functions): Update comment.
25028 * math/gen-libm-test.pl (parse_args): Apply special handling for
25029 issignaling.
25030 * math/libm-test.inc (print_float, issignaling_test): New
25031 functions.
25032 (check_float_internal): Add issignaling checks.
25033 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25034 default definition.
25035 * sysdeps/powerpc/math-tests.h: New file.
25036 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25037 tests.
25038 * math/test-snan.c (TEST_FUNC): Likewise.
25039
6142896d
DM
250402013-03-30 David S. Miller <davem@davemloft.net>
25041
25042 * po/de.po: Update from translation team.
25043
ccc8cadf
JM
250442013-03-30 Joseph Myers <joseph@codesourcery.com>
25045
25046 [BZ #10357]
25047 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25048 imaginary part less than 1.0 and real part less than 0.5
25049 specially.
25050 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25051 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25052 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25053 (cacos_test): Add more tests.
25054 (casin_test): Likewise.
25055 (casinh_test): Likewise.
25056 * sysdeps/i386/fpu/libm-test-ulps: Update.
25057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25058
0f6a8d4b
SP
250592013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25060
0d1029de
SP
25061 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25062 ONE with its value.
25063
c2d94018
SP
25064 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25065 (__pow_mp): Replace ONE and MONE with their values.
25066 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25067 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25068 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25069 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25070 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25071 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25072
27ec37f1
SP
25073 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25074
a64d7e0e
SP
25075 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25076 (__pow_mp): Replace ZERO and MZERO with their values.
25077 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25078 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25079 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25080 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25081 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25082 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25083 (__sqr): Likewise.
25084
d26dd3eb
SP
25085 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25086
0f6a8d4b
SP
25087 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25088
e57b0c61
RM
250892013-03-28 Roland McGrath <roland@hack.frob.com>
25090
25091 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25092 Declare with __attribute__ ((weak)).
25093 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25094 Call __call_tls_dtors only if it's not NULL.
25095
356b3480
RM
250962013-03-28 Roland McGrath <roland@hack.frob.com>
25097
288f7d79
RM
25098 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25099 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25100 magic __ehdr_start linker symbol if it's defined.
25101 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25102 them up here if it was already done.
25103
dc0a0263
RM
25104 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25105 (_dl_aux_init): Use const in cast when setting it.
25106 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25107 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25108 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25109
3d3436ae
RM
25110 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25111 Declare them here.
25112 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25113 * csu/libc-tls.c: Nor here.
25114 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25115
356b3480
RM
25116 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25117 (__libc_message): Never call vsyslog.
25118
b0f1246a
AM
251192013-03-28 Alan Modra <amodra@gmail.com>
25120
25121 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25122 Define as empty.
25123 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25124 Likewise.
25125
fbbe2b9a
AZ
251262013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25127
25128 [BZ #15214]
25129 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25130 underflow.
25131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25132
1728ab37
SP
251332013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25134
7a86be6e
SP
25135 [BZ #15304]
25136 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25137 Don't add gid passed as argument.
25138
1728ab37
SP
25139 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25140
3a7182a1
JM
251412013-03-27 Joseph Myers <joseph@codesourcery.com>
25142
25143 [BZ #15307]
25144 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25145 imaginary part between 1.0 and 1.5 and real part less than 0.5
25146 specially.
25147 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25148 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25149 * math/libm-test.inc (cacos_test): Add more tests.
25150 (casin_test): Likewise.
25151 (casinh_test): Likewise.
25152 * sysdeps/i386/fpu/libm-test-ulps: Update.
25153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25154
6f2e90e7
SP
251552013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25156
5739f705
SP
25157 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25158 constants.
25159 (norm): Likewise.
25160 (denorm): Likewise.
25161 (__dbl_mp): Likewise.
25162 (add_magnitudes): Likewise.
25163 (sub_magnitudes): Likewise.
25164 (__add): Likewise.
25165 (__sub): Likewise.
25166 (__mul): Likewise.
25167 (__sqr): Likewise.
25168 (__inv): Likewise.
25169 (__dvd): Likewise.
25170
e375e83d
SP
25171 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25172 commented code.
25173 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25174 (__dubcos): Likewise.
25175 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25176 (__ieee754_acos): Likewise.
25177 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25178 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25179 (__exp1): Likewise.
25180 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25181 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25182 (log1): Likewise.
25183 (my_log2): Likewise.
25184 (checkint): Likewise.
25185 * sysdeps/ieee754/dbl-64/e_remainder.c
25186 (__ieee754_remainder): Likewise.
25187 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25188 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25189 (bsloww): Likewise.
25190 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25191
6f2e90e7
SP
25192 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25193 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25194 MANTISSA_STORE_T to store computations on mantissa. Use
25195 macros for rounding and division.
25196 (denorm): Likewise.
25197 (__dbl_mp): Likewise.
25198 (add_magnitudes): Likewise.
25199 (sub_magnitudes): Likewise.
25200 (__mul): Likewise.
25201 (__sqr): Likewise.
25202 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25203 powers of two in terms of TWOPOW macro.
25204 (mp_no): Make type of mantissa as MANTISSA_T.
25205 [!RADIXI]: Define RADIXI.
25206 [!TWO52]: Define TWO52.
25207 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25208
fce14d4e
AZ
252092013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25210
25211 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25212 llroundl symbol when building for PPC32.
25213
9ad027fb
MW
252142013-03-24 Mark H Weaver <mhw@netris.org>
25215
25216 * manual/arith.texi (Normalization Functions): Fix prototypes for
25217 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25218
e42a38dd
AZ
252192013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25220
25221 [BZ #13889]
25222 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25223 high value to check if expl overflow.
25224 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25225 to check for underflow and overflow.
25226 * math/libm-test.inc: Add exp test.
25227
2e0fb521
DL
252282013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25229
25230 [BZ #11120]
25231 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25232 with NOT_IN_libc.
25233
b5784d95
AZ
252342013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25235
25236 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25237 symbol.
25238
5aa4a1a1
TS
252392013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25240
bdef0be7
TS
25241 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25242 wrap blocks consisting of several statements.
25243
5aa4a1a1
TS
25244 * sysdeps/generic/math-tests.h: New file.
25245 * sysdeps/i386/fpu/math-tests.h: Likewise.
25246 * math/test-snan.c: Include it.
25247 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25248
98c48fe5
JM
252492013-03-21 Joseph Myers <joseph@codesourcery.com>
25250
25251 [BZ #15285]
25252 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25253 (__ieee754_j0l): Do not improve calculations using cos of twice
25254 input for inputs above LDBL_MAX / 2.0L.
25255 (__ieee754_y0l): Likewise.
25256 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25257 (__ieee754_j1l): Do not improve calculations using cos of twice
25258 input for inputs above LDBL_MAX / 2.0L.
25259 (__ieee754_y1l): Likewise.
25260 * math/libm-test.inc (j0_test): Add another test.
25261 (j1_test): Likewise.
25262 (y0_test): Likewise.
25263 (y1_test): Likewise.
25264 * sysdeps/i386/fpu/libm-test-ulps: Update.
25265
3775a8bc
SP
252662013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25267
25268 * Rules ($(objpfx)bench-%.c): Include code from a C source
25269 file.
25270
0a1b2ae6
JM
252712013-03-21 Joseph Myers <joseph@codesourcery.com>
25272
25273 [BZ #15287]
25274 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25275 imaginary part 1.0 and real part less than 0.5 specially.
25276 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25277 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25278 * math/libm-test.inc (cacos_test): Add more tests.
25279 (casin_test): Likewise.
25280 (casinh_test): Likewise.
25281 * sysdeps/i386/fpu/libm-test-ulps: Update.
25282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25283
b33d4ce4
SP
252842013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25285
25286 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25287 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25288
bef0b507
JM
252892013-03-20 Joseph Myers <joseph@codesourcery.com>
25290
25291 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25292 * config.make.in (config-cflags-sse4): Remove variable.
25293 (config-cflags-avx): Likewise.
25294 (config-cflags-sse2avx): Likewise.
25295 (config-cflags-novzeroupper): Likewise.
25296 (config-asflags-i686): Likewise.
25297 (have-mfma4): Likewise.
25298 (have-as-vis3): Likewise.
25299 (MIG): Likewise.
25300 * configure.in (MIG): Do not AC_SUBST.
25301 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25302 (libc_cv_cc_sse4): Do not AC_SUBST.
25303 (libc_cv_cc_avx): Likewise.
25304 (libc_cv_cc_sse2avx): Likewise.
25305 (libc_cv_cc_novzeroupper): Likewise.
25306 (libc_cv_cc_fma4): Likewise.
25307 (libc_cv_as_i686): Likewise.
25308 (libc_cv_sparc_as_vis3): Likewise.
25309 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25310 LIBC_CONFIG_VAR.
25311 (config-asflags-i686): Likewise.
25312 (config-cflags-avx): Likewise.
25313 (config-cflags-sse2avx): Likewise.
25314 (have-mfma4): Likewise.
25315 (config-cflags-novzeroupper): Likewise.
25316 * sysdeps/mach/configure.in (MIG): Likewise.
25317 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25318 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25319 LIBC_CONFIG_VAR.
25320 (config-cflags-avx): Likewise.
25321 (config-cflags-sse2avx): Likewise.
25322 (have-mfma4): Likewise.
25323 (config-cflags-novzeroupper): Likewise.
25324 * configure: Regenerated.
25325 * sysdeps/i386/configure: Likewise.
25326 * sysdeps/mach/configure: Likewise.
25327 * sysdeps/sparc/configure: Likewise.
25328 * sysdeps/x86_64/configure: Likewise.
25329
912cc4b3
RM
253302013-03-20 Roland McGrath <roland@hack.frob.com>
25331
25332 [BZ #14812]
25333 * locale/programs/localedef.c (options): Put N_ translation marker
25334 on argument names, not just descriptions.
25335
04eed2b0
MS
253362013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25337
25338 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25339
a065ceff
OB
253402013-03-20 Ondřej Bílka <neleai@seznam.cz>
25341
9bb2a810 25342 [BZ #14176]
a065ceff
OB
25343 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25344
a600e5ce
RM
253452013-03-19 Roland McGrath <roland@hack.frob.com>
25346
25347 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25348 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25349 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25350 [!BEFORE_ABORT] (before_abort): New function.
25351 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25352 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25353 (writev_for_fatal): New function.
25354 (WRITEV_FOR_FATAL): New macro; call that.
25355 (backtrace_and_maps): New function.
25356 (BEFORE_ABORT): New macro; call that.
25357 (struct str_list): Type removed.
25358 (__libc_message, __libc_fatal): Functions removed.
25359 Include <sysdeps/posix/libc_fatal.c> instead.
25360
6b18bea6
JM
253612013-03-19 Joseph Myers <joseph@codesourcery.com>
25362
25363 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25364 constants.
25365 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25366 double constants.
25367
aaa8cb4b
AS
253682013-03-19 Andreas Schwab <schwab@suse.de>
25369
44673770
AS
25370 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25371 * sysdeps/gnu/configure: Regenerate.
25372
aaa8cb4b
AS
25373 * configure.in: Substitute libc_cv_rtlddir.
25374 * configure: Regenerate.
25375 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25376 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25377 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25378 * elf/Makefile (install-others, CFLAGS-interp.c)
25379 (ldso_install, common-ldd-rewrite): Likewise.
25380 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25381 $(inst_slibdir)/$(rtld-installed-name).
25382 * scripts/rellns-sh: Add -p option.
25383 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25384 for source.
25385
d3cfc668
SP
253862013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25387
25388 * manual/nptl.texi: Renamed to ...
25389 * manual/threads.texi: ... this.
25390 * manual/Makefile (chapters): Update.
25391
0e2b9cdd
RM
253922013-03-18 Roland McGrath <roland@hack.frob.com>
25393
25394 [BZ #14812]
25395 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25396 on argument names, not just descriptions.
0e2b9cdd
RM
25397 * malloc/memusagestat.c (options): Likewise.
25398 * nss/getent.c (options): Likewise.
63270c24
RM
25399
254002013-03-18 Benno Schulenberg <bensberg@justemail.net>
25401
25402 [BZ #14812]
25403 * iconv/iconv_prog.c (options): Put N_ translation marker
25404 on argument names, not just descriptions.
25405 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 25406
b2e1393c
OB
254072013-03-18 Ondrej Bilka <neleai@seznam.cz>
25408
25409 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25410 implementation which is faster on all x86_64 architectures.
25411 Tested on AMD, Intel Nehalem, SNB, IVB.
25412 * sysdeps/x86_64/strnlen.S: Likewise.
25413
25414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25415 Remove all multiarch strlen and strnlen versions.
25416 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25417 Remove strlen and strnlen related parts.
25418
25419 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25420 Inline strlen part.
25421 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25422
25423 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25424 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25425 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25426 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25427 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25428 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25429
ec4ff04d
CD
254302013-03-17 Carlos O'Donell <carlos@redhat.com>
25431
25432 * manual/memory.texi (Malloc Tunable Parameters):
25433 Sort parameters alphabetically. Add comments for missing entries.
25434
cd18e90a
DM
254352013-03-17 David S. Miller <davem@davemloft.net>
25436
25437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25438
2a185d32
JM
254392013-03-16 Joseph Myers <joseph@codesourcery.com>
25440
d2f9799e
JM
25441 [BZ #15283]
25442 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25443 for arguments at most half maximum finite value.
25444 * math/libm-test.inc (j0_test): Add more tests.
25445 (j1_test): Likewise.
25446 (y0_test): Likewise.
25447 (y1_test): Likewise.
25448 * sysdeps/i386/fpu/libm-test-ulps: Update.
25449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25450
2a185d32
JM
25451 [BZ #14155]
25452 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25453 1 / x and functions P and Q for arguments above 0x1p256L.
25454 (__ieee754_y0l): Likewise.
25455 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25456 (__ieee754_y1l): Likewise.
25457 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25458 (j1_test): Likewise.
25459 (y0_test): Likewise.
25460 (y1_test): Likewise.
25461
6cbec759
TS
254622013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25463
25464 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25465 variable.
25466
bc16e260
RM
254672013-03-15 Roland McGrath <roland@hack.frob.com>
25468
aefc9b8c
RM
25469 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25470 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25471 zero since it's initialized to EXEC_PAGESIZE.
25472
bc16e260
RM
25473 * sysdeps/unix/sysv/linux/ldsodefs.h
25474 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25475 * sysdeps/generic/ldsodefs.h: ... here.
25476
a57da955
TS
254772013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25478
af00a34d
TS
25479 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25480
495ded2c
TS
25481 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25482 math/test-snan.c.
25483 * math/test-snan.c: Renamed from
25484 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25485 * math/Makefile (tests): Add test-snan.
25486 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25487 test-powerpc-snan.
25488
777b0332
TS
25489 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25490 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25491 functions.
25492 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25493 __builtin_nan family of functions.
25494 * math/libm-test.inc (initialize): Initialize qnan_value with
25495 __builtin_nan family of functions.
25496 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25497 Remove variables.
25498 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25499 Remove functions.
25500 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25501 storage class. Initialize qNaN_var and sNaN_var with
25502 __builtin_nan and __builtin_nans families of functions,
25503 respectively.
25504
64d063b8
TS
25505 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25506 (sqrt_test): Remove duplicate test with qNaN input.
25507 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25508 (round_test, signbit_test, significand_test): Note missing +/-Inf
25509 as well as qNaN tests.
25510
67e971f1
TS
25511 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25512 qNaN_var. Fix a few strings, too.
25513 * math/libm-test.inc (nan_value): Rename to qnan_value.
25514 * math/gen-libm-test.pl (%beautify): Adjust to that.
25515 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25516 * math/test-misc.c (main): Likewise.
25517 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25518 to __qnan_bytes, and __qnan_union, respectively.
25519 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25520 Likewise.
25521 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25522 and lqnanval, respectively.
25523 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25524 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25525 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25526 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25527
64487e12
TS
25528 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25529 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25530 doubles.
25531
e015e27b
TS
25532 * math/test-misc.c (main): Fix copy'n'pastos.
25533 * misc/tst-efgcvt.c (special): Likewise.
25534
a57da955
TS
25535 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25536 Remove declarations.
25537
1e380345
SP
255382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25539
25540 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25541 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25542 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25543 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25544
ef26eece
AZ
255452013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25546
25547 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25548 macro to return vdso values correctly in IFUNC implementations.
25549 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25550 Optimization by using IFUNC.
25551
8cfdb7e0
SP
255522013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25553 Richard Henderson <rth@redhat.com>
25554 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25555
25556 * Makefile.in (bench): New target.
25557 * NEWS: Mention the benchmark framework.
25558 * Rules (bench): Likewise.
25559 (binaries-bench): Generate binaries for functions to
25560 benchmark.
25561 * benchtests/Makefile: New makefile for benchmark tests.
25562 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25563 programs.
25564 * benchtests/exp-inputs: New input file for EXP function.
25565 * benchtests/pow-inputs: New input file for POW function.
25566 * scripts/bench.pl: New script to generate source files for
25567 benchmark programs.
25568
bcda9880
SP
255692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25570
d22ca8cd
SP
25571 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25572 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25573 computations on mantissa. Use macros for rounding and
25574 division.
25575 (denorm): Likewise.
25576 (__dbl_mp): Likewise.
25577 (add_magnitudes): Likewise.
25578 (sub_magnitudes): Likewise.
25579 (__mul): Likewise.
25580 (__sqr): Likewise.
25581 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25582 powers of two in terms of TWOPOW macro.
25583 (mp_no): Make type of mantissa as MANTISSA_T.
25584 [!RADIXI]: Define RADIXI.
25585 [!TWO52]: Define TWO52.
25586 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25587
bcda9880
SP
25588 * manual/nptl.texi (cindex): Modify threads to pthreads.
25589
06d5adfb
JM
255902013-03-15 Joseph Myers <joseph@codesourcery.com>
25591
25592 * sysdeps/x86_64/preconfigure: Regenerated.
25593
41c7328e
JM
255942013-03-14 Joseph Myers <joseph@codesourcery.com>
25595
25596 [BZ #14155]
25597 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25598 0x1p28 and above.
25599 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25600 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25601 0x1p28 and above.
25602 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25603 * math/libm-test.inc (j0_test): Do not allow one spurious
25604 underflow exception.
25605 (y1_test): Likewise.
25606
e25cfa60
SP
256072013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25608
0409959c
SP
25609 * manual/Makefile (chapters): Add nptl.
25610 * manual/debug.texi (Debugging Support): Add link to Threads
25611 chapter.
25612 * manual/nptl.texi: New file.
25613
e25cfa60
SP
25614 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25615
58a1335e
PB
256162013-03-14 Petr Baudis <pasky@ucw.cz>
25617
25618 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25619 for non-NULL pointer before the memory validity test. Pointed
25620 out by Holger Brunck <holger.brunck@keymile.com>.
25621
9dc7c64f
AS
256222013-03-13 Andreas Schwab <schwab@suse.de>
25623
25624 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25625 instead of .os.
25626
54206aa6
JM
256272013-03-13 Joseph Myers <joseph@codesourcery.com>
25628
25629 * timezone/zic.c: Update from tzcode 2013b.
25630
e98cdb38
CD
256312013-03-12 Carlos O'Donell <carlos@redhat.com>
25632
25633 * manual/install.texi (Configuring and compiling):
25634 Mention i686 and i586.
25635 * INSTALL: Regenerate.
25636
9967e003
RM
256372013-03-12 Roland McGrath <roland@hack.frob.com>
25638
25639 * sysdeps/init_array/elf-init.c: New file.
25640 * csu/elf-init.c
25641 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25642 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25643
25644 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25645 __gmon_start__ as global, but as static with a .preinit_array pointer.
25646 * sysdeps/init_array/gmon-start.c: New file. Use that.
25647 * sysdeps/init_array/crti.S: New file, empty except for comments.
25648 * sysdeps/init_array/crtn.S: Likewise.
25649
e6b5a293 256502013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25651
25652 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25653 definining bcopy.
80f844c9
OB
25654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25655 Remove Prefer_SSE_for_memop.
25656 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25657 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25658 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25660 memset-x86-64.
80f844c9 25661 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25662 Remove bzero, memset ifunc support.
80f844c9
OB
25663 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25664 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25665 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25666 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25667
fb6b0fcb
AS
256682013-03-11 Andreas Schwab <schwab@suse.de>
25669
25670 [BZ #15234]
25671 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25672 by SHLIB_COMPAT.
25673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25674 (GLIBC_2.16): Remove pthread_atfork.
25675
3e6bd4b1
PP
256762013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25677
25678 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25679 (ptestcases.h): Likewise.
25680
222d7f00
RM
256812013-03-08 Roland McGrath <roland@hack.frob.com>
25682
25683 * Makeconfig ($(common-objpfx)config.status): Depend on
25684 sysdeps/*/preconfigure{,.in} too.
25685
1ba4f030
JM
256862013-03-08 Joseph Myers <joseph@codesourcery.com>
25687
a222d91a
JM
25688 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25689 (__free_hook): Use void * instead of __malloc_ptr_t.
25690 (__malloc_hook): Likewise.
25691 (__realloc_hook): Likewise.
25692 (__memalign_hook): Likewise.
25693 (__after_morecore_hook): Likewise.
25694 * malloc/arena.c (save_malloc_hook): Likewise.
25695 (save_free_hook): Likewise.
25696 * malloc/hooks.c (malloc_hook_ini): Likewise.
25697 (realloc_hook_ini): Likewise.
25698 (memalign_hook_ini): Likewise.
25699 * malloc/malloc.c (malloc_hook_ini): Likewise.
25700 (realloc_hook_ini): Likewise.
25701 (memalign_hook_ini): Likewise.
25702 (__free_hook): Likewise.
25703 (__malloc_hook): Likewise.
25704 (__realloc_hook): Likewise.
25705 (__memalign_hook): Likewise.
25706 (__libc_malloc): Likewise.
25707 (__libc_free): Likewise.
25708 (__libc_realloc): Likewise.
25709 (__libc_memalign): Likewise.
25710 (__libc_valloc): Likewise.
25711 (__libc_pvalloc): Likewise.
25712 (__libc_calloc): Likewise.
25713 (__posix_memalign): Likewise.
25714 * malloc/morecore.c (__sbrk): Likewise.
25715 (__default_morecore): Likewise.
25716
5cc45e10
JM
25717 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25718
dd54b864
JM
25719 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25720 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25721 __malloc_ptrdiff_t.
25722
1ba4f030
JM
25723 * malloc/malloc.h (__malloc_size_t): Remove macro.
25724 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25725 __malloc_size_t.
25726 (old_memalign_hook): Likewise.
25727 (old_realloc_hook): Likewise.
25728 (struct hdr): Likewise.
25729 (flood): Likewise.
25730 (mallochook): Likewise.
25731 (memalignhook): Likewise.
25732 (reallochook): Likewise.
25733 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25734 (tr_old_realloc_hook): Likewise.
25735 (tr_old_memalign_hook): Likewise.
25736 (tr_mallochook): Likewise.
25737 (tr_reallochook): Likewise.
25738 (tr_memalignhook): Likewise.
25739
edf66e57
AZ
257402013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25741
25742 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25743 default_ldbl_pack and using as default implementation.
25744 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25745 implementation.
25746 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25747 redundant definition.
25748 (ldbl_insert_mantissa): Likewise.
25749 (ldbl_canonicalize): Likewise.
25750 (ldbl_nearbyint): Likewise.
25751 (ldbl_pack): Rename to ldbl_pack_ppc.
25752 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25753 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25754 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25755
6d9145d8
SP
257562013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25757
25758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25759 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25760 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25761 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25763 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25764 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25765 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25766
4dd4e157
AJ
257672013-03-07 Andreas Jaeger <aj@suse.de>
25768
25769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25770 bits/mman-linux.h.
25771
adbb8027
SP
257722013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25773
ce544b5b
SP
25774 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25775 Include mpa.h and declare __MPEXP.
25776 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25777 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25778 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25779 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25780 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25781 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25782 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25783
4cc149fd
SP
25784 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25785 (__slowpow): Use long double EXPL and LOGL functions to
25786 compute POW.
25787 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25788 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25789 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25790 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25791 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25792 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25793
e6ebd4a7
SP
25794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25795 intermediate variable to calculate exponent.
25796 (__sqr): Likewise.
25797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25798 Likewise.
25799 (__sqr): Likewise.
25800
82a9811d
SP
25801 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25802 [!NO__SQR]: Define __sqr.
25803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25804 and NO__SQR. Remove all code except __mul and __sqr. Include
25805 sysdeps/ieee754/dbl-64/mpa.c.
25806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25807
adbb8027
SP
25808 [BZ #12723]
25809 * posix/Makefile (tests): Add tst-pathconf.
25810 * posix/tst-pathconf.c: New test case.
25811 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25812 _PC_PIPE_BUF.
25813 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25814
39120df9
PF
258152013-03-06 Patsy Franklin <pfrankli@redhat.com>
25816
25817 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25818
67525cb8
AJ
258192013-03-06 Andreas Jaeger <aj@suse.de>
25820
664a9ce4
AJ
25821 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25822 definition via __MAP_ANONYMOUS.
25823
8e39047d
AJ
25824 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25825 it's not part of Linux headers.
25826
67525cb8
AJ
25827 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25828 (MAP_HUGE_MASK): Define.
25829
25830 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25831 Define.
25832 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25833 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25834 Define.
25835 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25836 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25837 Define.
25838 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25839 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25840 Define.
25841 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25842
25843 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25844 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25845 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25846 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25847 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25848 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25849
25850 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25851 Handle f2fs.
25852
25853 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25854 Handle f2fs and efivarfs.
25855
25856 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25857 f2fs.
25858
25859 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25860 (EFIVARFS_MAGIC): Add.
25861 (F2FS_LINK_MAX): Add.
25862
e1b42695
PP
258632013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25864
25865 * stdio-common/vfprintf.c: Replace __builtin_expect with
25866 __glibc_unlikely.
25867
2d67d91a
JM
258682013-03-06 Joseph Myers <joseph@codesourcery.com>
25869
25870 [BZ #13550]
25871 * sysdeps/generic/bp-sym.h: Remove file.
25872 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25873 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25874 <bp-sym.h> and <bp-asm.h>.
25875 (__longjmp): Don't use BP_SYM.
25876 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25877 and <bp-asm.h>.
25878 (memcpy): Don't use BP_SYM.
25879 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25880 <bp-sym.h> and <bp-asm.h>.
25881 (memcpy): Don't use BP_SYM.
25882 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25883 <bp-asm.h>.
25884 (memcpy): Don't use BP_SYM.
25885 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25886 <bp-asm.h>.
25887 (memset): Don't use BP_SYM.
25888 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25889 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25890 (__bzero): Don't use BP_SYM.
25891 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25892 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25893 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25894 <bp-sym.h> and <bp-asm.h>.
25895 (memcmp): Don't use BP_SYM. Remove comment about bounded
25896 pointers.
25897 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25898 <bp-sym.h> and <bp-asm.h>.
25899 (memcpy): Don't use BP_SYM.
25900 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25901 <bp-sym.h> and <bp-asm.h>.
25902 (memset): Don't use BP_SYM.
25903 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25904 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25905 (__bzero): Don't use BP_SYM.
25906 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25907 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25908 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25909 <bp-sym.h> and <bp-asm.h>.
25910 (strncmp): Don't use BP_SYM. Remove comment about bounded
25911 pointers.
25912 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25913 <bp-sym.h> and <bp-asm.h>.
25914 (memcpy): Don't use BP_SYM.
25915 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25916 <bp-sym.h> and <bp-asm.h>.
25917 (memset): Don't use BP_SYM.
25918 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25919 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25920 (__bzero): Don't use BP_SYM.
25921 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25922 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25923 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25924 <bp-sym.h> and <bp-asm.h>.
25925 (__memchr): Don't use BP_SYM.
25926 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25927 <bp-sym.h> and <bp-asm.h>.
25928 (memcmp): Don't use BP_SYM. Remove comment about bounded
25929 pointers.
25930 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25931 <bp-sym.h> and <bp-asm.h>.
25932 (memcpy): Don't use BP_SYM.
25933 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25934 <bp-sym.h> and <bp-asm.h>.
25935 (__mempcpy): Don't use BP_SYM.
25936 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25937 <bp-sym.h> and <bp-asm.h>.
25938 (__memrchr): Don't use BP_SYM.
25939 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25940 <bp-sym.h> and <bp-asm.h>.
25941 (memset): Don't use BP_SYM.
25942 (__bzero): Likewise.
25943 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25944 <bp-sym.h> and <bp-asm.h>.
25945 (__rawmemchr): Don't use BP_SYM.
25946 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25947 <bp-sym.h> and <bp-asm.h>.
25948 (__STRCMP): Don't use BP_SYM.
25949 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25950 <bp-sym.h> and <bp-asm.h>.
25951 (strchr): Don't use BP_SYM.
25952 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25953 <bp-sym.h> and <bp-asm.h>.
25954 (__strchrnul): Don't use BP_SYM.
25955 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25956 <bp-sym.h> and <bp-asm.h>.
25957 (strlen): Don't use BP_SYM.
25958 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25959 <bp-sym.h> and <bp-asm.h>.
25960 (strncmp): Don't use BP_SYM. Remove comment about bounded
25961 pointers.
25962 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25963 <bp-sym.h> and <bp-asm.h>.
25964 (__strnlen): Don't use BP_SYM.
25965 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25966 <bp-sym.h> and <bp-asm.h>.
25967 (__GI__setjmp): Don't use BP_SYM.
25968 (_setjmp): Likewise.
25969 (__sigsetjmp): Likewise.
25970 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25971 (L(start_addresses)): Don't use BP_SYM.
25972 (_start): Likewise.
25973 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25974 <bp-asm.h>.
25975 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25976 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25977 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25978 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25979 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25980 <bp-asm.h>.
25981 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25982 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25983 about bounded pointers.
25984 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25985 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25986 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25987 <bp-asm.h>.
25988 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25989 about bounded pointers. Remove GKM FIXME comments.
25990 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25991 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25992 <bp-asm.h>.
25993 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25994 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25995 Remove GKM FIXME comments.
25996 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25997 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25998 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25999 <bp-asm.h>.
26000 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26001 about bounded pointers. Remove GKM FIXME comment.
26002 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26003 and <bp-asm.h>.
26004 (strncmp): Don't use BP_SYM. Remove comment about bounded
26005 pointers.
26006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26007 <bp-sym.h> and <bp-asm.h>.
26008 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26010 <bp-sym.h> and <bp-asm.h>.
26011 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26012 comment.
26013
cdcf361f
PP
260142013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26015
26016 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26017 call free(NULL).
26018
3c4a2b15
DM
260192013-03-05 David S. Miller <davem@davemloft.net>
26020
26021 * po/es.po: Update from translation team.
26022
cdcf361f 260232013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
26024
26025 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26026 <bits/mman-linux.h>.
26027 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26028 is fine.
26029 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26030 <bits/mman-linux.h> to end of file.
26031 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26032 is fine.
26033 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26034 <bits/mman-linux.h> to end of file.
26035 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26036 is fine.
26037 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26038 <bits/mman-linux.h> to end of file.
26039
26040 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26041 (MCL_CURRENT, MCL_FUTURE): Define here.
26042
5f67c04f
AK
260432013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26044
8a4473cc 26045 [BZ #15232]
5f67c04f
AK
26046 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26047 attribute_hidden.
26048 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26049
c3e94a95
AK
260502013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26051
26052 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26053 fourth parameter needed for rt_sigprocmask syscall.
26054 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26055 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26056 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26057 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26058 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26059 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26060
cfb6382a
JM
260612013-03-04 Joseph Myers <joseph@codesourcery.com>
26062
26063 [BZ #13550]
26064 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26065 comment about bounded pointers.
26066 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26067 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26068
539d8e01
AJ
260692013-03-04 Andreas Jaeger <aj@suse.de>
26070
26071 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26072 common definitions.
26073
26074 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26075 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26076 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26077 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26078 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
26079 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26080
2e167a70 260812013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
26082
26083 [BZ #15055]
26084 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26085 __ieee754_sqrl instead of __sqrl.
26086
68508633
JM
260872013-03-01 Joseph Myers <joseph@codesourcery.com>
26088
26089 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26090 * sysdeps/powerpc/fpu_control.h: ... here.
26091 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26092 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26093 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26094 * sysdeps/powerpc/bits/mathinline.h: ... here.
26095
7775448e
RM
260962013-03-01 Roland McGrath <roland@hack.frob.com>
26097
26098 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26099 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26100 to just [NEED_DL_SYSINFO_DSO].
26101 * elf/dl-support.c: Likewise.
26102 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26103 * elf/rtld.c (dl_main): Likewise.
26104 * elf/setup-vdso.h (setup_vdso): Likewise.
26105 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26106 * sysdeps/unix/sysv/linux/dl-sysdep.c
26107 (_dl_discover_osversion): Likewise.
26108
4e9b5995
CD
261092013-03-01 Carlos O'Donell <carlos@redhat.com>
26110
26111 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26112 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26113
e23872c8
SP
261142013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26115
e5c74c63
SP
26116 * NEWS: Mention libm performance improvements and non-x86 PI
26117 futex support.
26118
e23872c8
SP
26119 * csu/libc-start.c (__pthread_initialize_minimal): Change
26120 function arguments.
26121 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26122
b5510883
JM
261232013-02-28 Joseph Myers <joseph@codesourcery.com>
26124
26125 [BZ #13550]
26126 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26127 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26128 <bp-sym.h> and <bp-asm.h>.
26129 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26130 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26131 and <bp-asm.h>.
26132 (memcpy): Don't use BP_SYM.
26133 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26134 <bp-asm.h>.
26135 (__mpn_add_n): Don't use BP_SYM.
26136 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26137 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26138 and <bp-asm.h>.
26139 (__mpn_addmul_1): Don't use BP_SYM.
26140 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26141 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26142 <bp-sym.h>.
26143 (_setjmp): Don't use BP_SYM.
26144 (__novmx_setjmp): Likewise.
26145 (__GI__setjmp): Likewise.
26146 (__vmx_setjmp): Likewise.
26147 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26148 <bp-sym.h>.
26149 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26150 (__bzero): Don't use BP_SYM.
26151 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26152 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26153 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26154 <bp-sym.h> and <bp-asm.h>.
26155 (memcpy): Don't use BP_SYM.
26156 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26157 <bp-sym.h> and <bp-asm.h>.
26158 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26159 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26160 <bp-sym.h> and <bp-asm.h>.
26161 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26162 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26163 <bp-asm.h>.
26164 (__mpn_lshift): Don't use BP_SYM.
26165 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26166 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26167 <bp-asm.h>.
26168 (memset): Don't use BP_SYM.
26169 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26170 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26171 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26172 <bp-asm.h>.
26173 (__mpn_mul_1): Don't use BP_SYM.
26174 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26175 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26176 <bp-sym.h> and <bp-asm.h>.
26177 (memcmp): Don't use BP_SYM.
26178 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26179 <bp-sym.h> and <bp-asm.h>.
26180 (memcpy): Don't use BP_SYM.
26181 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26182 <bp-sym.h> and <bp-asm.h>.
26183 (memset): Don't use BP_SYM.
26184 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26185 <bp-sym.h> and <bp-asm.h>.
26186 (strncmp): Don't use BP_SYM.
26187 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26188 <bp-sym.h> and <bp-asm.h>.
26189 (memcpy): Don't use BP_SYM.
26190 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26191 <bp-sym.h> and <bp-asm.h>.
26192 (memset): Don't use BP_SYM.
26193 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26194 <bp-sym.h> and <bp-asm.h>.
26195 (__memchr): Don't use BP_SYM.
26196 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26197 <bp-sym.h> and <bp-asm.h>.
26198 (memcmp): Don't use BP_SYM.
26199 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26200 <bp-sym.h> and <bp-asm.h>.
26201 (memcpy): Don't use BP_SYM.
26202 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26203 <bp-sym.h> and <bp-asm.h>.
26204 (__mempcpy): Don't use BP_SYM.
26205 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26206 <bp-sym.h> and <bp-asm.h>.
26207 (__memrchr): Don't use BP_SYM.
26208 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26209 <bp-sym.h> and <bp-asm.h>.
26210 (memset): Don't use BP_SYM.
26211 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26212 <bp-sym.h> and <bp-asm.h>.
26213 (__rawmemchr): Don't use BP_SYM.
26214 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26215 <bp-sym.h> and <bp-asm.h>.
26216 (__STRCMP): Don't use BP_SYM.
26217 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26218 <bp-sym.h> and <bp-asm.h>.
26219 (strchr): Don't use BP_SYM.
26220 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26221 <bp-sym.h> and <bp-asm.h>.
26222 (__strchrnul): Don't use BP_SYM.
26223 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26224 <bp-sym.h> and <bp-asm.h>.
26225 (strlen): Don't use BP_SYM.
26226 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26227 <bp-sym.h> and <bp-asm.h>.
26228 (strncmp): Don't use BP_SYM.
26229 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26230 <bp-sym.h> and <bp-asm.h>.
26231 (__strnlen): Don't use BP_SYM.
26232 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26233 <bp-asm.h>.
26234 (__mpn_rshift): Don't use BP_SYM.
26235 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26236 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26237 <bp-sym.h> and <bp-asm.h>.
26238 (__sigsetjmp): Don't use BP_SYM.
26239 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26240 (L(start_addresses)): Don't use BP_SYM.
26241 (_start): Likewise.
26242 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26243 <bp-asm.h>.
26244 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26245 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26246 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26247 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26248 <bp-asm.h>.
26249 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26250 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26251 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26252 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26253 <bp-asm.h>.
26254 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26255 comments.
26256 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26257 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26258 <bp-asm.h>.
26259 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26260 FIXME comments.
26261 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26262 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26263 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26264 <bp-asm.h>.
26265 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26266 comment.
26267 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26268 and <bp-asm.h>.
26269 (strncmp): Don't use BP_SYM,
26270 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26271 <bp-asm.h>.
26272 (__mpn_sub_n): Don't use BP_SYM.
26273 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26274 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26275 and <bp-asm.h>.
26276 (__mpn_submul_1): Don't use BP_SYM.
26277 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26279 <bp-sym.h> and <bp-asm.h>.
26280 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26282 <bp-sym.h> and <bp-asm.h>.
26283 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26284 comment.
26285
8d19fe64
SP
262862013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26287
26288 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26289 Use ZK to minimize writes to Z.
26290 (sub_magnitudes): Simplify code a bit.
26291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26292 Use ZK to minimize writes to Z.
26293 (sub_magnitudes): Simplify code a bit.
26294
85bd816a
RM
262952013-02-27 Roland McGrath <roland@hack.frob.com>
26296
26297 * csu/gmon-start.c: Add special exception to license text.
26298
b5977bf2
RH
262992013-02-27 Richard Henderson <rth@redhat.com>
26300
26301 * scripts/config.guess: Update from config.git.
26302 * scripts/config.sub: Likewise.
26303
11d6e2f2
SP
263042013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26305
09c14ed2
SP
26306 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26307
a688864e
SP
26308 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26309
6295157a
SP
26310 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26311
b8de2202
SP
26312 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26313
11d6e2f2
SP
26314 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26315
7e80ddb8
RM
263162013-02-26 Roland McGrath <roland@hack.frob.com>
26317
26318 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26319 [$(build-shared = yes].
7e80ddb8 26320
7da6d9ed
SP
263212013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26322
45f05884
SP
26323 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26324 (__mul): Reduce iterations for calculating mantissa.
26325
2236d359
SP
26326 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26327 MPTWO.
26328 (__mpranred): Likewise.
26329
7da6d9ed
SP
26330 [BZ #15160]
26331 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26332 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26333
b7688c42
PE
263342013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26335
26336 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26337 Define __attribute__.
26338
53a5c423
SP
263392013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26340
26341 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26342 unused.
26343 * posix/regex_internal.h (__attribute): Remove.
26344 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26345 (re_string_context_at): Likewise.
26346 (bitset_not): Use __attribute__ and mark function as possibly
26347 unused.
26348 (bitset_merge): Likewise.
26349 (bitset_mask): Likewise.
26350 (re_string_char_size_at): Likewise.
26351 (re_string_wchar_at): Likewise.
26352 (re_string_elem_size_at): Likewise.
26353
60f5a8b5
SP
263542013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26355
2a983a2e
SP
26356 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26357 code.
26358 (cc32): Likewise.
26359
e69804d1
SP
26360 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26361 (__acr): Likewise.
26362 (__cpy): Likewise.
26363 (norm): Likewise.
26364 (denorm): Likewise.
26365 (__dbl_mp): Likewise.
26366 (add_magnitudes): Likewise.
26367 (sub_magnitudes): Likewise.
26368 (__mul): Likewise.
26369 (__inv): Likewise.
26370
2f22a1e8
SP
26371 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26372 style.
26373
8930ddc7
SP
26374 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26375 style.
26376
dc60cb11
SP
26377 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26378 code.
26379
60f5a8b5
SP
26380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26381 up changes with default code.
26382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26383 Likewise.
26384
b4d1fd33
AM
263852013-02-24 Allan McRae <allan@archlinux.org>
26386
faf6f8bc
AM
26387 * manual/socket.texi (The Internet Namespace): Order menu items
26388 to match that in the file.
26389
b4d1fd33
AM
26390 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26391 node listing of the info page menu.
26392
2366713d
JM
263932013-02-21 Joseph Myers <joseph@codesourcery.com>
26394
26395 [BZ #13550]
26396 * sysdeps/i386/bp-asm.h: Remove file.
26397 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26398 (PARMS): Do not use macros from bp-asm.h.
26399 (S1): Likewise.
26400 (S2): Likewise.
26401 (SIZE): Likewise.
26402 (__mpn_add_n): Do not use BP_SYM
26403 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26404 "bp-asm.h".
26405 (PARMS): Do not use macros from bp-asm.h.
26406 (S1): Likewise.
26407 (SIZE): Likewise.
26408 (__mpn_addmul_1): Do not use BP_SYM
26409 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26410 "bp-asm.h".
26411 (PARMS): Do not use macros from bp-asm.h.
26412 (SIGMSK): Likewise.
26413 (_setjmp): Likewise. Do not use BP_SYM.
26414 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26415 "bp-asm.h".
26416 (PARMS): Do not use macros from bp-asm.h.
26417 (SIGMSK): Likewise.
26418 (setjmp): Likewise. Do not use BP_SYM.
26419 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26420 "bp-asm.h".
26421 (PARMS): Do not use macros from bp-asm.h.
26422 (__frexp): Do not use BP_SYM.
26423 (frexp): Likewise.
26424 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26425 "bp-asm.h".
26426 (PARMS): Do not use macros from bp-asm.h.
26427 (__frexpf): Do not use BP_SYM.
26428 (frexpf): Likewise.
26429 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26430 "bp-asm.h".
26431 (PARMS): Do not use macros from bp-asm.h.
26432 (__frexpl): Do not use BP_SYM.
26433 (frexpl): Likewise.
26434 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26435 "bp-asm.h".
26436 (PARMS): Do not use macros from bp-asm.h.
26437 (__remquo): Do not use BP_SYM.
26438 (remquo): Likewise.
26439 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26440 "bp-asm.h".
26441 (PARMS): Do not use macros from bp-asm.h.
26442 (__remquof): Do not use BP_SYM.
26443 (remquof): Likewise.
26444 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26445 "bp-asm.h".
26446 (PARMS): Do not use macros from bp-asm.h.
26447 (__remquol): Do not use BP_SYM.
26448 (remquol): Likewise.
26449 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26450 "bp-asm.h".
26451 (PARMS): Do not use macros from bp-asm.h.
26452 (DEST): Likewise.
26453 (SRC): Likewise.
26454 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26455 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26456 "bp-asm.h".
26457 (PARMS): Do not use macros from bp-asm.h.
26458 (strlen): Do not use BP_SYM.
26459 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26460 "bp-asm.h".
26461 (PARMS): Do not use macros from bp-asm.h.
26462 (S1): Likewise.
26463 (S2): Likewise.
26464 (SIZE): Likewise.
26465 (__mpn_add_n): Do not use BP_SYM.
26466 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26467 "bp-asm.h".
26468 (PARMS): Do not use macros from bp-asm.h.
26469 (S1): Likewise.
26470 (SIZE): Likewise.
26471 (__mpn_addmul_1): Do not use BP_SYM.
26472 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26473 weak_alias.
26474 (bzero): Likewise.
26475 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26476 "bp-asm.h".
26477 (PARMS): Do not use macros from bp-asm.h.
26478 (S): Likewise.
26479 (SIZE): Likewise.
26480 (__mpn_lshift): Do not use BP_SYM.
26481 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26482 "bp-asm.h".
26483 (PARMS): Do not use macros from bp-asm.h.
26484 (DEST): Likewise.
26485 (SRC): Likewise.
26486 (LEN): Likewise.
26487 (memcpy): Likewise. Do not use BP_SYM.
26488 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26489 libc_hidden_def and weak_alias.
26490 (mempcpy): Do not use BP_SYM in weak_alias.
26491 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26492 "bp-asm.h".
26493 (PARMS): Do not use macros from bp-asm.h.
26494 (DEST): Likewise.
26495 (LEN): Likewise.
26496 [!BZERO_P] (CHR): Likewise.
26497 (memset): Likewise. Do not use BP_SYM.
26498 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26499 "bp-asm.h".
26500 (PARMS): Do not use macros from bp-asm.h.
26501 (S1): Likewise.
26502 (SIZE): Likewise.
26503 (__mpn_mul_1): Do not use BP_SYM.
26504 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26505 "bp-asm.h".
26506 (PARMS): Do not use macros from bp-asm.h.
26507 (S): Likewise.
26508 (SIZE): Likewise.
26509 (__mpn_rshift): Do not use BP_SYM.
26510 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26511 "bp-asm.h".
26512 (PARMS): Do not use macros from bp-asm.h.
26513 (STR): Likewise.
26514 (CHR): Likewise.
26515 (strchr): Likewise. Do not use BP_SYM.
26516 (index): Do not use BP_SYM in weak_alias.
26517 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26518 "bp-asm.h".
26519 (PARMS): Do not use macros from bp-asm.h.
26520 (DEST): Likewise.
26521 (SRC): Likewise.
26522 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26523 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26524 "bp-asm.h".
26525 (PARMS): Do not use macros from bp-asm.h.
26526 (strlen): Do not use BP_SYM.
26527 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26528 "bp-asm.h".
26529 (PARMS): Do not use macros from bp-asm.h.
26530 (S1): Likewise.
26531 (S2): Likewise.
26532 (SIZE): Likewise.
26533 (__mpn_sub_n): Do not use BP_SYM.
26534 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26535 "bp-asm.h".
26536 (PARMS): Do not use macros from bp-asm.h.
26537 (S1): Likewise.
26538 (SIZE): Likewise.
26539 (__mpn_submul_1): Do not use BP_SYM.
26540 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26541 "bp-asm.h".
26542 (PARMS): Do not use macros from bp-asm.h.
26543 (S1): Likewise.
26544 (S2): Likewise.
26545 (SIZE): Likewise.
26546 (__mpn_add_n): Do not use BP_SYM.
26547 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26548 weak_alias.
26549 (bzero): Likewise.
26550 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26551 "bp-asm.h".
26552 (PARMS): Do not use macros from bp-asm.h.
26553 (BLK2): Likewise.
26554 (LEN): Likewise.
26555 (memcmp): Do not use BP_SYM.
26556 (bcmp): Do not use BP_SYM in weak_alias.
26557 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26558 "bp-asm.h".
26559 (PARMS): Do not use macros from bp-asm.h.
26560 (DEST): Likewise.
26561 (SRC): Likewise.
26562 (LEN): Likewise.
26563 (memcpy): Likewise. Do not use BP_SYM.
26564 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26565 "bp-asm.h".
26566 (PARMS): Do not use macros from bp-asm.h.
26567 (DEST): Likewise.
26568 (SRC): Likewise.
26569 (LEN): Likewise.
26570 (memmove): Likewise. Do not use BP_SYM.
26571 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26572 "bp-asm.h".
26573 (PARMS): Do not use macros from bp-asm.h.
26574 (DEST): Likewise.
26575 (SRC): Likewise.
26576 (LEN): Likewise.
26577 (__mempcpy): Likewise. Do not use BP_SYM.
26578 (mempcpy): Do not use BP_SYM in weak_alias.
26579 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26580 "bp-asm.h".
26581 (PARMS): Do not use macros from bp-asm.h.
26582 (DEST): Likewise.
26583 (LEN): Likewise.
26584 [!BZERO_P] (CHR): Likewise.
26585 (memset): Likewise. Do not use BP_SYM.
26586 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26587 "bp-asm.h".
26588 (PARMS): Do not use macros from bp-asm.h.
26589 (STR2): Likewise.
26590 (strcmp): Do not use BP_SYM.
26591 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26592 "bp-asm.h".
26593 (PARMS): Do not use macros from bp-asm.h.
26594 (STR): Likewise.
26595 (DELIM): Likewise.
26596 [USE_AS_STRTOK_R] (SAVE): Likewise.
26597 (FUNCTION): Likewise. Do not use BP_SYM.
26598 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26599 aliases.
26600 (strtok_r): Likewise.
26601 (__GI___strtok_r): Likewise.
26602 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26603 (PARMS): Do not use macros from bp-asm.h.
26604 (S): Likewise.
26605 (SIZE): Likewise.
26606 (__mpn_lshift): Do not use BP_SYM.
26607 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26608 (PARMS): Do not use macros from bp-asm.h.
26609 (STR): Likewise.
26610 (CHR): Likewise.
26611 (__memchr): Do not use BP_SYM.
26612 (memchr): Do not use BP_SYM in weak_alias.
26613 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26614 (PARMS): Do not use macros from bp-asm.h.
26615 (BLK2): Likewise.
26616 (LEN): Likewise.
26617 (memcmp): Do not use BP_SYM.
26618 (bcmp): Do not use BP_SYM in weak_alias.
26619 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26620 (PARMS): Do not use macros from bp-asm.h.
26621 (S1): Likewise.
26622 (SIZE): Likewise.
26623 (__mpn_mul_1): Do not use BP_SYM.
26624 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26625 "bp-asm.h".
26626 (PARMS): Do not use macros from bp-asm.h.
26627 (STR): Likewise.
26628 (CHR): Likewise.
26629 (__rawmemchr): Do not use BP_SYM.
26630 (rawmemchr): Do not use BP_SYM in weak_alias.
26631 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26632 (PARMS): Do not use macros from bp-asm.h.
26633 (S): Likewise.
26634 (SIZE): Likewise.
26635 (__mpn_rshift): Do not use BP_SYM.
26636 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26637 (PARMS): Do not use macros from bp-asm.h.
26638 (SIGMSK): Likewise.
26639 (__sigsetjmp): Likewise. Do not use BP_SYM.
26640 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26641 (_start): Do not use BP_SYM.
26642 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26643 (PARMS): Do not use macros from bp-asm.h.
26644 (DEST): Likewise.
26645 (SRC): Likewise.
26646 (__stpcpy): Likewise. Do not use BP_SYM.
26647 (stpcpy): Do not use BP_SYM in weak_alias.
26648 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26649 "bp-asm.h".
26650 (PARMS): Do not use macros from bp-asm.h.
26651 (DEST): Likewise.
26652 (SRC): Likewise.
26653 (LEN): Likewise.
26654 (__stpncpy): Likewise. Do not use BP_SYM.
26655 (stpncpy): Do not use BP_SYM in weak_alias.
26656 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26657 (PARMS): Do not use macros from bp-asm.h.
26658 (STR): Likewise.
26659 (CHR): Likewise.
26660 (strchr): Likewise. Do not use BP_SYM.
26661 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26662 "bp-asm.h".
26663 (PARMS): Do not use macros from bp-asm.h.
26664 (STR): Likewise.
26665 (CHR): Likewise.
26666 (__strchrnul): Likewise. Do not use BP_SYM.
26667 (strchrnul): Do not use BP_SYM in weak_alias.
26668 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26669 "bp-asm.h".
26670 (PARMS): Do not use macros from bp-asm.h.
26671 (STOP): Likewise.
26672 (strcspn): Do not use BP_SYM.
26673 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26674 "bp-asm.h".
26675 (PARMS): Do not use macros from bp-asm.h.
26676 (STR): Likewise.
26677 (STOP): Likewise.
26678 (strpbrk): Likewise. Do not use BP_SYM.
26679 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26680 "bp-asm.h".
26681 (PARMS): Do not use macros from bp-asm.h.
26682 (STR): Likewise.
26683 (CHR): Likewise.
26684 (strrchr): Likewise. Do not use BP_SYM.
26685 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26686 (PARMS): Do not use macros from bp-asm.h.
26687 (SKIP): Likewise.
26688 (strspn): Do not use BP_SYM.
26689 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26690 (PARMS): Do not use macros from bp-asm.h.
26691 (STR): Likewise.
26692 (DELIM): Likewise.
26693 (SAVE): Likewise.
26694 (FUNCTION): Likewise. Do not use BP_SYM.
26695 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26696 aliases.
26697 (strtok_r): Likewise.
26698 (__GI___strtok_r): Likewise.
26699 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26700 (PARMS): Do not use macros from bp-asm.h.
26701 (S1): Likewise.
26702 (S2): Likewise.
26703 (SIZE): Likewise.
26704 (__mpn_sub_n): Do not use BP_SYM.
26705 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26706 "bp-asm.h".
26707 (PARMS): Do not use macros from bp-asm.h.
26708 (S1): Likewise.
26709 (SIZE): Likewise.
26710 (__mpn_submul_1): Do not use BP_SYM.
26711 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26712 <bp-sym.h>.
26713 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26714 and <bp-asm.h>.
26715 (PARMS): Do not use macros from bp-asm.h.
26716 (FLAGS): Likewise.
26717 (PTID): Likewise.
26718 (TLS): Likewise.
26719 (CTID): Likewise.
26720 (__clone): Do not use BP_SYM.
26721 (clone): Do not use BP_SYM in weak_alias.
26722 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26723 and <bp-asm.h>.
26724 (PARMS): Do not use macros from bp-asm.h.
26725 (LEN): Likewise.
26726 (__mmap64): Do not use BP_SYM.
26727 (mmap64): Do not use BP_SYM in weak_alias.
26728 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26729 <bp-sym.h> and <bp-asm.h>.
26730 (PARMS): Do not use macros from bp-asm.h.
26731 (__posix_fadvise64_l64): Do not use BP_SYM.
26732 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26733 (PARMS): Do not use macros from bp-asm.h.
26734 (NSOPS): Likewise.
26735 (semtimedop): Do not use BP_SYM.
26736 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26737 and <bp-asm.h>.
26738
582a3cff
AM
267392013-02-21 Allan McRae <allan@archlinux.org>
26740
26741 * manual/message.texi (Charset conversion in gettext):
26742 Move @end statement to beginning of line.
26743
bab8a695
SP
267442013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26745
80945231
SP
26746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26747 static.
26748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26749 Likewise.
26750
bab8a695
SP
26751 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26752 (denorm): Likewise.
26753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26755
e21d7aa7
AK
267562013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26757
26758 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26759 tail-call to the resolved function if pltexit isn't needed.
26760
4c7a4263
SP
267612013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26762
26763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26764 or Y being zero as being unlikely.
26765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26766 Likewise.
26767
41f49342
CD
267682013-02-20 Carlos O'Donell <carlos@redhat.com>
26769
26770 * manual/nss.texi (System Databases and Name Service Switch):
26771 Remove frobnicate @pxref.
26772
50022a93
TS
267732013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26774
26775 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26776 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26777
08cbd996
PM
267782013-02-20 Petr Machata <pmachata@redhat.com>
26779
26780 * elf/elf.h (R_ARM_TARGET1): New macro.
26781 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26782 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26783 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26784 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26785 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26786 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26787 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26788 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26789 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26790 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26791 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26792 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26793 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26794 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26795 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26796 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26797 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26798 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26799 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26800 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26801 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26802 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26803 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26804 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26805 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26806 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26807 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26808 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26809 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26810 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26811 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26812 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26813 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26814 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26815 (R_ARM_THM_GOT_BREL12): Likewise.
26816 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26817 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26818 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26819 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26820 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26821 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26822 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26823 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26824 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26825
c7b275d6
TS
268262013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26827
26828 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26829 __attribute_used__ to __attribute__ ((unused)).
26830
20cd7fb3
SP
268312013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26832
26833 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26834 powerpc mpa.c.
26835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26836 comment formatting.
26837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26838
92945b52
JM
268392013-02-19 Joseph Myers <joseph@codesourcery.com>
26840
26841 [BZ #13550]
26842 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26843 Remove macro.
26844 (ENTER): Remove both macro definitions.
26845 (LEAVE): Likewise.
26846 (CHECK_BOUNDS_LOW): Likewise.
26847 (CHECK_BOUNDS_HIGH): Likewise.
26848 (CHECK_BOUNDS_BOTH): Likewise.
26849 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26850 (RETURN_BOUNDED_POINTER): Likewise.
26851 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26852 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26853 (POP_ERRNO_LOCATION_RETURN): Likewise.
26854 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26855 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26856 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26857 macros.
26858 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26859 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26860 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26861 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26862 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26863 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26864 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26865 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26866 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26867 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26868 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26869 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26870 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26871 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26872 removed macros.
26873 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26874 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26875 macros.
26876 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26877 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26878 * sysdeps/i386/i586/memset.S (memset): Likewise.
26879 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26880 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26881 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26882 macros.
26883 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26884 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26885 Change uses of L(2) to L(out).
26886 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26887 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26888 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26889 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26890 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26891 removed macros.
26892 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26893 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26894 macros.
26895 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26896 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26897 (RETURN): Do not use macro LEAVE.
26898 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26899 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26900 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26901 * sysdeps/i386/i686/memset.S (memset): Likewise.
26902 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26903 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26904 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26905 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26906 Likewise.
26907 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26908 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26909 L(1_2) and L(1_3) into L(1).
26910 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26911 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26912 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26913 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26914 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26915 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26916 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26917 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26918 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26919 macros.
26920 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26921 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26922 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26923 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26924 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26925 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26926 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26927 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26928 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26929 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26930 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26931 * sysdeps/i386/strspn.S (strspn): Likewise.
26932 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26933 conditional code.
26934 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26935 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26936 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26937 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26938 L(1_3) into L(1_1).
26939 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26940 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26941 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26942 macros.
26943 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26944
2389741a
JJ
269452013-02-19 Jakub Jelinek <jakub@redhat.com>
26946
26947 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26948 macro.
26949
2016b3cd
SP
269502013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26951
e4f22324
SP
26952 * math/atest-exp.c (exp_mpn): Remove ROUND.
26953 * math/atest-exp2.c (exp_mpn): Likewise.
26954 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26955
2016b3cd
SP
26956 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26957 * stdlib/tst-tls-atexit-lib.c: Likewise.
26958 * stdlib/tst-tls-atexit.c: Likewise.
26959
4be9b544
MF
269602013-02-18 Mike Frysinger <vapier@gentoo.org>
26961
26962 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26963 and __attribute_alloc_size__.
26964
2f62b9ee
MF
269652013-02-18 Mike Frysinger <vapier@gentoo.org>
26966
26967 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26968 __attribute_alloc_size__.
26969 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26970 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26971
6ff444c4
MF
269722013-02-18 Mike Frysinger <vapier@gentoo.org>
26973
26974 * include/programs/xmalloc.h: New file.
26975 * catgets/gencat.c: Include it.
26976 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26977 * elf/pldd.c: Likewise.
26978 * iconv/iconv_charmap.c: Likewise.
26979 * iconv/iconvconfig.c: Likewise.
26980 * iconv/strtab.c: Likewise.
26981 * locale/programs/locale.c: Likewise.
26982 * locale/programs/localedef.h: Likewise.
26983 * locale/programs/simple-hash.c: Likewise.
26984 * nscd/nscd.h: Likewise.
26985 * nss/makedb.c: Likewise.
26986 * sysdeps/generic/ldconfig.h: Likewise.
26987
be179c8a
SP
269882013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26989
ba384f6e
SP
26990 * Versions.def: Add GLIBC_2.18.
26991 * include/link.h (struct link_map): New member l_tls_dtor_count.
26992 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26993 (__call_tls_dtors): Likewise.
26994 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26995 __cxa_thread_atexit_impl.
26996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26997 Likewise.
26998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26999 Likewise.
27000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27001 Likewise.
27002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27003 Likewise.
27004 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27006 Likewise.
27007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27008 Likewise.
27009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27011 Likewise.
27012 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27013 (tests): Add test case tst-tls-atexit.
27014 (modules-names): Add shared library for tst-tls-atexit.
85891aca 27015 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
27016 (GLIBC_PRIVATE): Add __call_tls_dtors.
27017 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27018 for libstdc++.
27019 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27020 * stdlib/tst-tls-atexit.c: New test case.
27021 * stdlib/tst-tls-atexit-lib.c: New test case.
27022
ffaa74cf 27023 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 27024
be179c8a
SP
27025 * elf/Versions (ld): Add _dl_find_dso_for_object.
27026 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27027 * elf/dl-open.c (_dl_find_dso_for_object): New function.
27028 (dl_open_worker): Use _dl_find_dso_for_object.
27029 * elf/dl-sym.c (do_sym): Likewise.
27030 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27031
f78b5caa
AK
270322013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27033
27034 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27035 Syntactic changes only.
27036 (_dl_runtime_profile): Do a tail-call to the resolved function.
27037
29691210
JM
270382013-02-17 Joseph Myers <joseph@codesourcery.com>
27039
27040 [BZ #13550]
27041 * sysdeps/x86_64/bp-asm.h: Remove file.
27042 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27043 <bp-sym.h> and <bp-asm.h>.
27044 (__clone): Do not use BP_SYM.
27045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27046 <bp-sym.h> and <bp-asm.h>.
27047 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27048 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27049 "bp-asm.h".
27050 (_setjmp): Do not use BP_SYM.
27051 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27052 "bp-asm.h".
27053 (setjmp): Do not use BP_SYM.
27054 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27055 libc_hidden_def.
27056 (mempcpy): Do not use BP_SYM in weak_alias.
27057 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27058 "bp-asm.h".
27059 (strchr): Do not use BP_SYM.
27060 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27061 "bp-asm.h".
27062 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27063 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27064 (_start): Do not use BP_SYM.
27065 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27066 "bp-asm.h".
27067 (strcat): Do not use BP_SYM.
27068 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27069 "bp-asm.h".
27070 (STRCMP): Do not use BP_SYM.
27071 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27072 "bp-asm.h".
27073 (STRCPY): Do not use BP_SYM.
27074 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27075 "bp-asm.h".
27076 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27077 "bp-asm.h".
27078 (FUNCTION): Do not use BP_SYM.
27079 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27080 weak_alias.
27081 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27082
f238fd19
AJ
270832013-02-17 Andreas Jaeger <aj@suse.de>
27084
27085 * time/Versions: Sort entries.
27086 * string/Versions: Likewise.
27087 * resolv/Versions: Likewise.
27088 * posix/Versions: Likewise.
27089 * iconv/Versions: Likewise.
27090 * elf/Versions: Likewise.
27091 * wcsmbs/Versions: Likewise.
27092
bd07f23c 270932013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 27094
22af19f9
SP
27095 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27096 loop termination condition.
27097
4709fe76
SP
27098 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27099 variable to calculate EZ.
27100 (__sqr): Likewise.
2d0e0f29
SP
27101
27102 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27103 the lower precision input.
27104
daaa7713
JM
271052013-02-15 Joseph Myers <joseph@codesourcery.com>
27106
27107 [BZ #13550]
27108 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27109 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27110 (run-via-rtld-prefix): Do not handle %-bp tests.
27111 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27112 (all-object-suffixes): Remove .ob.
27113 (bppfx): Remove variable.
27114 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27115 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27116 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27117 [$(build-bounded) = yes] (libtype.ob): Likewise.
27118 * Makerules (elide-routines.ob): Remove variable.
27119 (do-tests-clean): Do not handle *-bp.out.
27120 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27121 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27122 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27123 (tests): Do not include $(tests-bp.out).
27124 (xtests): Do not include $(xtests-bp.out).
27125 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27126 [$(build-bounded) = yes] ($(addprefix
27127 $(objpfx),$(binaries-bounded))): Remove rule.
27128 ($(objpfx)%-bp.out): Remove rule.
27129 * config.make.in (build-bounded): Remove variable.
27130 * crypt/Makefile [$(build-bounded) = yes]
27131 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27132 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27133 append to variable.
27134 [$(build-bounded) = yes] (install-lib): Likewise.
27135 [$(build-bounded) = yes] (generated): Likewise.
27136 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27137 Remove rule.
27138 * intl/Makefile [$(build-bounded) = yes]
27139 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27140 * math/Makefile [$(build-bounded) = yes]
27141 ($(tests:%=$(objpfx)%-bp): Likewise.
27142 * misc/Makefile [$(build-bounded) = yes]
27143 ($(objpfx)tst-tsearch-bp): Likewise.
27144 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27145 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27146 Remove dependency.
27147 * string/Makefile (o-objects.ob): Remove variable.
27148 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27149 (CFLAGS-.ob): Remove variable.
27150 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27151 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27152 both definitions of variable.
27153 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27154 (ASFLAGS-.ob): Remove variable.
27155
e97ed6dd
JM
271562013-02-14 Joseph Myers <joseph@codesourcery.com>
27157
2bdd4ca6
JM
27158 [BZ #13550]
27159 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27160 Remove __BOUNDED_POINTERS__ from condition.
27161 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27162 * string/bits/string2.h [!__NO_STRING_INLINES &&
27163 !__BOUNDED_POINTERS__]: Likewise.
27164 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27165 Likewise.
27166 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27167 Remove conditional code.
27168 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27169 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27170 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27171 condition.
27172
e97ed6dd
JM
27173 [BZ #13550]
27174 * csu/libc-start.c: Do not include <bp-sym.h>.
27175 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27176 * elf/dl-open.c: Do not include <bp-sym.h>.
27177 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27178 * math/fegetenv.c: Do not include <bp-sym.h>.
27179 (fegetenv): Do not use BP_SYM in versioned symbols.
27180 * nptl/sysdeps/pthread/bits/libc-lockP.h
27181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27182 <bp-sym.h>.
27183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27184 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27186 (__pthread_mutex_destroy): Likewise.
27187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27188 (__pthread_mutex_lock): Likewise.
27189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27190 (__pthread_mutex_trylock): Likewise.
27191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27192 (__pthread_mutex_unlock): Likewise.
27193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27194 (__pthread_mutexattr_init): Likewise.
27195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27196 (__pthread_mutexattr_destroy): Likewise.
27197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27198 (__pthread_mutexattr_settype): Likewise.
27199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27200 (__pthread_rwlock_init): Likewise.
27201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27202 (__pthread_rwlock_destroy): Likewise.
27203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27204 (__pthread_rwlock_rdlock): Likewise.
27205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27206 (__pthread_rwlock_tryrdlock): Likewise.
27207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27208 (__pthread_rwlock_wrlock): Likewise.
27209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27210 (__pthread_rwlock_trywrlock): Likewise.
27211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27212 (__pthread_rwlock_unlock): Likewise.
27213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27214 (__pthread_key_create): Likewise.
27215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27216 (__pthread_setspecific): Likewise.
27217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27218 (__pthread_getspecific): Likewise.
27219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27220 Likewise.
27221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27222 (_pthread_cleanup_push_defer): Likewise.
27223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27224 (_pthread_cleanup_pop_restore): Likewise.
27225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27226 (pthread_setcancelstate): Likewise.
27227 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27228 <bp-sym.h>.
27229 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27230 (memchr): Do not use BP_SYM in weak_alias.
27231 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27232 (fegetenv): Do not use BP_SYM in versioned symbols.
27233 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27234 (fesetenv): Do not use BP_SYM in versioned symbols.
27235 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27236 (feupdateenv): Do not use BP_SYM in versioned symbols.
27237 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27238 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27239 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27240 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27241 (open64): Do not use BP_SYM in weak_alias.
27242 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27243 (fegetenv): Do not use BP_SYM in versioned symbols.
27244 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27245 (fesetenv): Do not use BP_SYM in versioned symbols.
27246 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27247 (feupdateenv): Do not use BP_SYM in versioned symbols.
27248 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27249 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27250 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27251 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27252 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27253 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27254 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27255 <bp-sym.h>.
27256 (__libc_start_main): Do not use BP_SYM.
27257
d6752ccd
SP
272582013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27259
cb57ce60
SP
27260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27261 redundant return line.
27262 (norm): Likewise.
27263 (denorm): Likewise.
27264 (dbl_mp): Likewise.
27265 (sub_magnitudes): Likewise.
27266 (__add): Likewise.
27267 (__sub): Likewise.
27268 (__mul): Likewise.
27269 (__inv): Likewise.
27270 (__dvd): Likewise.
27271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27272 (norm): Likewise.
27273 (denorm): Likewise.
27274 (dbl_mp): Likewise.
27275 (sub_magnitudes): Likewise.
27276 (__add): Likewise.
27277 (__sub): Likewise.
27278 (__mul): Likewise.
27279 (__inv): Likewise.
27280 (__dvd): Likewise.
27281
f414520d
SP
27282 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27283 instead of __mul.
27284 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27285 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27286 (cc32): Likewise.
27287
d6752ccd
SP
27288 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27289 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27290 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27291 of __mul for squares.
27292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27293 function
27294 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27295 Likewise.
27296 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27297 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27298
70d9946a
JM
272992013-02-13 Joseph Myers <joseph@codesourcery.com>
27300
27301 [BZ #13550]
27302 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27303 code.
27304 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27305 prototype or function definition. Rename ubp_* variables and
27306 parameters. Remove argv definitions conditional on
27307 [__BOUNDED_POINTERS__].
27308 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27309 * elf/dl-runtime.c (_dl_fixup): Likewise.
27310 * include/set-hooks.h (RUN_HOOK): Likewise.
27311 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27312 definition.
27313 * string/strcpy.c (strcpy): Do not use __unbounded.
27314 * sysdeps/generic/frame.h (struct layout): Likewise.
27315 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27316 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27317 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27318 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27319 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27320 (__backtrace): Likewise.
27321 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27322 use __ptrvalue.
27323 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27324 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27325 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27326 Likewise.
27327 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27328 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27329 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27330 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27331 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27332 Do not use __unbounded.
27333 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27334 Rename __unboundedrlimits parameter to rlimits in prototype.
27335 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27336 Do not use __unbounded.
27337 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27338 not use __ptrvalue.
27339 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27340 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27341 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27342 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27343 __ptrvalue or __unbounded.
27344 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27345 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27346 use __unbounded.
27347 (__new_msgctl): Do not use __ptrvalue.
27348 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27349 __unbounded.
27350 (__libc_msgrcv): Do not use __ptrvalue.
27351 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27352 startup_info): Do not use __unbounded.
27353 (__libc_start_main): Likewise. Rename ubp_* variables and
27354 parameters. Remove argv definitions conditional on
27355 [__BOUNDED_POINTERS__].
27356 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27357 __ptrvalue.
27358 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27359 use __unbounded.
27360 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27361 or __ptrvalue.
27362 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27363 use __unbounded.
27364 (__new_shmctl): Do not use __ptrvalue.
27365 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27366 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27367 Likewise.
27368 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27369 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27370 (__libc_sigaction): Likewise.
27371 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27372 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27373 Likewise.
27374 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27375
cc7834d6
OB
273762013-02-13 Ondřej Bílka <neleai@seznam.cz>
27377
ffb1ec7b 27378 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
27379
27380 * string/mempcpy.c: Implement by calling memcpy.
27381
bdf02814
SP
273822013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27383
c2af38aa
SP
27384 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27385
4e92d59e
SP
27386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27387 evaluation.
27388
909279a5
SP
27389 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27390 values in the mantissa.
27391
bdf02814
SP
27392 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27393 minimize writes to Z.
27394 (sub_magnitudes): Simplify code a bit.
27395
cd525923
RM
273962013-02-12 Roland McGrath <roland@hack.frob.com>
27397
27398 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27399 from the message. The linker prefixes all warnings with that already.
27400
7e2f0d2d
AS
274012013-02-12 Andreas Schwab <schwab@suse.de>
27402
a445af0b
AS
27403 [BZ #15078]
27404 * posix/regexec.c (extend_buffers): Add parameter min_len.
27405 (check_matching): Pass minimum needed length.
27406 (clean_state_log_if_needed): Likewise.
27407 (get_subexp): Likewise.
27408 * posix/Makefile (tests): Add bug-regex34.
27409 (bug-regex34-ENV): Define.
27410 * posix/bug-regex34.c: New file.
27411
7e2f0d2d
AS
27412 [BZ #11561]
27413 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27414 elements compare against the byte sequence of it, not its name.
27415 * posix/Makefile (tests): Add bug-regex35.
27416 (bug-regex35-ENV): Define.
27417 * posix/bug-regex35.c: New file.
27418
a175b684
TV
274192013-02-11 Tom de Vries <tom@codesourcery.com>
27420
27421 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27422 comment.
27423 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27424 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27425 (CHECK_EOL): Add undef.
27426
310998fe 274272013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
27428
27429 * bits/stdlib-bsearch.h: New file.
27430 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 27431 * stdlib/stdlib.h: Likewise.
41eda41d 27432
8ded91fb
RM
274332013-02-11 Roland McGrath <roland@hack.frob.com>
27434
27435 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27436 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27437 declaration.
27438 * manual/search.texi (Array Search Function): Add missing const in
27439 lfind prototype.
27440 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27441 declaration to use rlim_t.
27442 (Basic Scheduling Functions): Remove erroneous const from
27443 sched_getparam prototype. Remove erroneous * from
27444 sched_get_priority_max and sched_get_priority_min prototypes.
27445 (Resource Usage): Fix summary @comment on vtimes to refer to
27446 sys/vtimes.h rather than vtimes.h.
27447 Add missing *s in vtimes prototype.
27448 (Limits on Resources): Fix ulimit prototype to return long int.
27449 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27450 prototypes to use long int rather than double.
27451 (BSD Random): Fix initstate and setstate to use char *, not void *.
27452 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27453 prototype to make second argument 'struct aiocb64 *const[]'.
27454 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27455 (Status of AIO Operations): Remove erroneous const in aio_return and
27456 aio_return64 prototypes.
27457 (Synchronizing I/O): Fix sync prototype to return void.
27458 * manual/startup.texi (Suboptions): Remove an erroneous const in
27459 getsubopt prototype.
27460 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27461 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27462 use size_t rather than int.
27463 (Scanning All Users): Likewise for getpwent_r.
27464 (Setting Groups): Add missing const to setgroups prototype.
27465 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27466 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27467 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27468 'const void *' rather than 'const char *'.
27469 (Host Address Functions): Likewise for inet_ntop.
27470 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27471 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27472 ssize_t for return value.
27473 (Sending Data): Likewise for send, sendto, sendmsg.
27474 (Socket Option Functions): Add a missing const in setsockopt prototype.
27475 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27476 use wchar_t for the argument.
27477 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27478 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27479 take no arguments.
27480 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27481 double/float/long double for second argument.
27482 Fix return types of significand, significandf, significandl.
27483 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27484 argument in fchmod prototype.
27485 (File Owner): Use uid_t and gid_t in fchown prototype.
27486 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27487 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27488 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27489 use 'const struct dirent **' as argument types to CMP function pointer
27490 argument.
27491 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27492 (File Times): Fix summary magic @comment for struct utimbuf and utime
27493 to refer to utime.h, not time.h.
27494 * manual/string.texi (Argz Functions): Add missing const in
27495 argz_extract and argz_next prototypes.
27496 (Finding Tokens in a String): Likewise for basename.
27497 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27498 (Copying and Concatenation): Fix typo in wmemmove prototype.
27499 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27500 (Signal Stack): Remove erroneous const in sigstack prototype.
27501 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27502 prototype.
27503 (Simple Calendar Time): Likewise for stime.
27504 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27505 prototype.
27506 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27507 say sys/sysctl.h instead.
27508 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27509 and vsyslog prototypes.
27510
fe77fe6d
TV
275112013-02-11 Tom de Vries <tom@codesourcery.com>
27512
27513 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27514 Remove.
27515
3a09b620
RM
275162013-02-11 Roland McGrath <roland@hack.frob.com>
27517
27518 * misc/sys/mman.h: Fix typo in mremap comment.
27519
550a0b89
RM
275202013-02-08 Roland McGrath <roland@hack.frob.com>
27521
27522 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27523 the '\0' terminator.
27524
a2da1673
JM
275252013-02-08 Joseph Myers <joseph@codesourcery.com>
27526
27527 [BZ #13550]
27528 * debug/segfault.c: Don't include <bp-checks.h>.
27529 * sysdeps/generic/bp-checks.h: Remove file.
27530 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27531 (__GETDENTS): Don't use CHECK_N.
27532 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27533 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27534 (__getgroups): Don't use CHECK_N.
27535 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27536 (setgroups): Don't use CHECK_N.
27537 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27538 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27539 (__libc_msgrcv): Don't use CHECK_N.
27540 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27541 (__libc_msgsnd): Don't use CHECK_N.
27542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27543 <bp-checks.h>.
27544 (__libc_pread): Don't use CHECK_N.
27545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27546 include <bp-checks.h>.
27547 (__libc_pread64): Don't use CHECK_N.
27548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27549 include <bp-checks.h>.
27550 (__libc_pwrite): Don't use CHECK_N.
27551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27552 include <bp-checks.h>.
27553 (__libc_pwrite64): Don't use CHECK_N.
27554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27555 <bp-checks.h>.
27556 (__libc_pread): Don't use CHECK_N.
27557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27558 include <bp-checks.h>.
27559 (__libc_pread64): Don't use CHECK_N.
27560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27561 include <bp-checks.h>.
27562 (__libc_pwrite): Don't use CHECK_N.
27563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27564 include <bp-checks.h>.
27565 (__libc_pwrite64): Don't use CHECK_N.
27566 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27567 (do_pread): Don't use CHECK_N.
27568 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27569 (do_pread64): Don't use CHECK_N.
27570 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27571 (do_pwrite): Don't use CHECK_N.
27572 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27573 (do_pwrite64): Don't use CHECK_N.
27574 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27575 (__libc_readv): Don't use CHECK_N.
27576 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27577 (semop): Don't use CHECK_N.
27578 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27579 <bp-checks.h>.
27580 (semtimedop): Don't use CHECK_N.
27581 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27582 (__libc_pread): Don't use CHECK_N.
27583 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27584 <bp-checks.h>.
27585 (__libc_pread64): Don't use CHECK_N.
27586 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27587 <bp-checks.h>.
27588 (__libc_pwrite): Don't use CHECK_N.
27589 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27590 <bp-checks.h>.
27591 (__libc_pwrite64): Don't use CHECK_N.
27592 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27593 <bp-checks.h>.
27594 (__libc_msgrcv): Don't use CHECK_N.
27595 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27596 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27597 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27598 (__libc_writev): Don't use CHECK_N.
27599
b84660a8
RM
276002013-02-08 Roland McGrath <roland@hack.frob.com>
27601
7f3e75f8
RM
27602 * string/strcpy.c: Removed unused variable.
27603
b84660a8
RM
27604 * Makeconfig (+sysdep-includes): Define with := rather than =.
27605 Use an existing include/ subdir of each sysdeps dir before it.
27606
471514d3
CD
276072013-02-08 Carlos O'Donell <carlos@redhat.com>
27608
27609 * nscd/connection.c (register_traced_file): Comment function.
27610 [HAVE_INOTIFY] (union __inev): Define.
27611 [HAVE_INOTIFY] (inotify_check_files): New function.
27612 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27613 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27614 clear_db_cache.
27615 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27616
b2d3c3be
CD
276172013-02-08 Carlos O'Donell <carlos@redhat.com>
27618
27619 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27620 loaded if not already and that a failure is permanent.
27621
b39949d2
CD
276222013-02-08 Carlos O'Donell <carlos@redhat.com>
27623
ddacd1db 27624 [BZ #15006]
b39949d2
CD
27625 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27626 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27627
b2c9eff4
JM
276282013-02-08 Joseph Myers <joseph@codesourcery.com>
27629
f3aae3f3
JM
27630 [BZ #13550]
27631 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27632 (CHECK_1_NULL_OK): Likewise.
27633 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27634 (__fxstat): Do not use CHECK_1.
27635 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27636 <bp-checks.h>.
27637 (___fxstat64): Do not use CHECK_1.
27638 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27639 <bp-checks.h>.
27640 (__fxstatat): Do not use CHECK_1.
27641 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27642 <bp-checks.h>.
27643 (__fxstatat64): Do not use CHECK_1.
27644 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27645 <bp-checks.h>.
27646 (__fxstat): Do not use CHECK_1.
27647 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27648 <bp-checks.h>.
27649 (__fxstatat): Do not use CHECK_1.
27650 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27651 <bp-checks.h>.
27652 (__getresgid): Do not use CHECK_1.
27653 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27654 <bp-checks.h>.
27655 (__getresuid): Do not use CHECK_1.
27656 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27657 <bp-checks.h>.
27658 (__lxstat): Do not use CHECK_1.
27659 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27660 <bp-checks.h>.
27661 (__old_msgctl): Do not use CHECK_1.
27662 (__new_msgctl): Likewise.
27663 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27664 <bp-checks.h>.
27665 (__new_setrlimit): Do not use CHECK_1.
27666 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27667 <bp-checks.h>.
27668 (__old_shmctl): Do not use CHECK_1.
27669 (__new_shmctl): Likewise.
27670 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27671 <bp-checks.h>.
27672 (__xstat): Do not use CHECK_1.
27673 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27674 (__lxstat): Do not use CHECK_1.
27675 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27676 <bp-checks.h>.
27677 (___lxstat64): Do not use CHECK_1.
27678 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27679 (__old_msgctl): Do not use CHECK_1.
27680 (__new_msgctl): Likewise.
27681 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27682 <bp-checks.h>.
27683 (__gettimeofday): Do not use CHECK_1.
27684 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27685 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27686 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27687 <bp-checks.h>.
27688 (__gettimeofday): Do not use CHECK_1.
27689 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27690 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27691 (__new_shmctl): Do not use CHECK_1.
27692 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27693 <bp-checks.h>.
27694 (do_sigtimedwait): Do not use CHECK_1.
27695 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27696 <bp-checks.h>.
27697 (do_sigwaitinfo): Do not use CHECK_1.
27698 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27699 <bp-checks.h>.
27700 (msgctl): Do not use CHECK_1.
27701 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27702 <bp-checks.h>.
27703 (shmctl): Do not use CHECK_1.
27704 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27705 (ustat): Do not use CHECK_1.
27706 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27707 <bp-checks.h>.
27708 (__fxstat): Do not use CHECK_1.
27709 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27710 <bp-checks.h>.
27711 (__fxstatat): Do not use CHECK_1.
27712 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27713 <bp-checks.h>.
27714 (__lxstat): Do not use CHECK_1.
27715 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27716 <bp-checks.h>.
27717 (__xstat): Do not use CHECK_1.
27718 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27719 (__xstat): Do not use CHECK_1.
27720 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27721 (___xstat64): Do not use CHECK_1.
27722
b2c9eff4
JM
27723 [BZ #13550]
27724 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27725 definitions.
27726 (CHECK_BOUNDS_HIGH): Likewise.
27727 * string/strcpy.c: Do not include <bp-checks.h>.
27728 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27729
f1d70dad
RM
277302013-02-07 Roland McGrath <roland@hack.frob.com>
27731
27732 * nscd/nscd-client.h (__nscd_drop_map_ref):
27733 Add __attribute__ ((unused)).
27734 * nis/nss-nisplus.h (niserr2nss): Likewise.
27735
27736 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27737 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27738
27739 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27740 Remove inline keyword.
27741 * include/rounding-mode.h (round_away): Likewise.
27742 * libio/wfileops.c (adjust_wide_data): Likewise.
27743 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27744 (__m128i_strloadu_tolower): Likewise.
27745 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27746 (__m128i_strloadu_tolower): Likewise.
27747 * time/mktime.c (ydhms_diff): Likewise.
27748 * locale/elem-hash.h (elem_hash): Likewise.
27749 * locale/setlocale.c (setdata): Likewise.
27750 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27751 (re_string_wchar_at): Likewise.
27752 (bitset_not, bitset_merge, bitset_mask): Likewise.
27753 [!(__GNUC__ > 3)] (inline): Remove macro.
27754 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27755 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27756 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27757 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27758 * string/memcmp.c (memcmp_bytes): Likewise.
27759 * locale/programs/locarchive.c (compute_hashval): Likewise.
27760 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27761 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27762 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27763 * nss/getent.c (print_rpc, print_protocols): Likewise.
27764 (print_passwd, print_group, print_aliases): Likewise.
27765 * nis/nss-nisplus.h (niserr2nss): Likewise.
27766 * nscd/connections.c (restart_p): Likewise.
27767 Change return type to bool.
27768
eab55bfb
RM
277692013-02-05 Roland McGrath <roland@hack.frob.com>
27770
7bd642f5
RM
27771 * Makeconfig (all-Depend-files): Add existing
27772 $(sorted-subdirs:=/Depend) files.
27773 (all-subdirs): Remove nss.
27774 * sysdeps/unix/inet/Subdirs: Add it here instead.
27775 * hesiod/Depend: New file.
27776
573c29b2
RM
27777 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27778 instead of calling alloca.
27779
b2e25af0
RM
27780 * io/lseek.c (__lseek): Rename to __libc_lseek.
27781 Define __lseek as an alias.
27782
eab55bfb
RM
27783 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27784
9a0d1941
CD
277852013-02-04 Carlos O'Donell <carlos@redhat.com>
27786
27787 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27788 else clause and remove check for non-standard endianness.
27789
b83bbec4
DM
277902013-02-04 David S. Miller <davem@davemloft.net>
27791
27792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27793
6277fdab
JM
277942013-02-04 Joseph Myers <joseph@codesourcery.com>
27795
27796 [BZ #13550]
27797 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27798 (__ubp_memchr): Remove prototype.
27799 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27800 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27801 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27802 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27803 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27804 Remove alias.
27805 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27806 (__ubp_memchr): Likewise.
27807 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27808 (__ubp_memchr): Likewise.
27809 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27810 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27811 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27812 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27813 CHECK_STRING.
27814 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27815 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27816 (__getcwd): Do not use CHECK_STRING.
27817 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27818 <bp-checks.h>.
27819 (__real_chown): Do not use CHECK_STRING.
27820 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27821 <bp-checks.h>.
27822 (fchownat): Do not use CHECK_STRING.
27823 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27824 CHECK_STRING.
27825 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27826 <bp-checks.h>.
27827 (__lchown): Do not use CHECK_STRING.
27828 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27829 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27830 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27831 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27833 include <bp-checks.h>.
27834 (truncate64): Do not use CHECK_STRING.
27835 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27836 <bp-checks.h>.
27837 (__real_chown): Do not use CHECK_STRING.
27838 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27839 <bp-checks.h>.
27840 (__lchown): Do not use CHECK_STRING.
27841 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27842 <bp-checks.h>.
27843 (__chown): Do not use CHECK_STRING.
27844 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27845 <bp-checks.h>.
27846 (truncate64): Do not use CHECK_STRING.
27847 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27848 Likewise.
27849 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27850 (__xmknod): Do not use CHECK_STRING.
27851 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27852 <bp-checks.h>.
27853 (__xmknodat): Do not use CHECK_STRING.
27854 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27855 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27856
903ae060
AS
278572013-02-04 Andreas Schwab <schwab@suse.de>
27858
27859 [BZ #14142]
27860 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27861 * include/netdb.h: Likewise for h_errno.
27862 * elf/tst-stackguard1.c: Include <tls.h>.
27863
542f9466
JK
278642013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27865
27866 * elf/link.h (struct link_map): Extend the l_addr comment.
27867 * include/link.h (struct link_map): Likewise.
27868
e782a927
JM
278692013-02-01 Joseph Myers <joseph@codesourcery.com>
27870
27871 [BZ #13550]
27872 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27873 (BOUNDED_1): Remove macro.
27874 * debug/backtrace.c: Don't include <bp-checks.h>.
27875 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27876 (__backtrace): Likewise.
27877 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27878 <bp-checks.h>.
27879 (__backtrace): Don't use BOUNDED_1.
27880 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27881 <bp-checks.h>.
27882 (__backtrace): Don't use BOUNDED_1.
27883 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27884 (__backtrace): Don't use BOUNDED_1.
27885 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27886 (shmat): Don't use BOUNDED_N.
27887
8cf28c5e
JM
278882013-01-31 Joseph Myers <joseph@codesourcery.com>
27889
3a7ac8a0
JM
27890 [BZ #13550]
27891 * sysdeps/generic/bp-start.h: Remove file.
27892 * csu/libc-start.c: Don't include <bp-start.h>.
27893 (LIBC_START_MAIN): Set up __environ directly instead of using
27894 INIT_ARGV_and_ENVIRON.
27895 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27896 <bp-start.h>.
27897
f3499f95
JM
27898 [BZ #13550]
27899 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27900 definitions.
27901 (CHECK_FCNTL): Likewise.
27902 (CHECK_N_PAGES): Likewise.
27903
32a45bea
JM
27904 [BZ #13550]
27905 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27906 definitions.
27907 (CHECK_SIGSET_NULL_OK): Likewise.
27908 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27909 <bp-checks.h>.
27910 (sigpending): Don't use CHECK_SIGSET.
27911 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27912 <bp-checks.h>.
27913 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27914 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27915 <bp-checks.h>.
27916 (do_sigsuspend): Don't use CHECK_SIGSET.
27917 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27918 use CHECK_SIGSET.
27919 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27920 (do_sigwait): Don't use CHECK_SIGSET.
27921 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27922 use CHECK_SIGSET.
27923 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27924 include <bp-checks.h>.
27925 (sigpending): Don't use CHECK_SIGSET.
27926 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27927 include <bp-checks.h>.
27928 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27929 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27930 <bp-checks.h>.
27931 (sigpending): Don't use CHECK_SIGSET.
27932 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27933 <bp-checks.h>.
27934 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27935
2e8a5c8c
JM
27936 [BZ #13550]
27937 * sysdeps/generic/bp-semctl.h: Remove file.
27938 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27939 <bp-checks.h> and <bp-semctl.h>.
27940 (__old_semctl): Don't use CHECK_SEMCTL.
27941 (__new_semctl): Likewise.
27942 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27943 and <bp-semctl.h>.
27944 (__old_semctl): Don't use CHECK_SEMCTL.
27945 (__new_semctl): Likewise.
27946 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27947 <bp-checks.h> and <bp-semctl.h>.
27948 (__old_semctl): Don't use CHECK_SEMCTL.
27949 (__new_semctl): Likewise.
27950 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27951 <bp-checks.h> and <bp-semctl.h>.
27952 (semctl): Don't use CHECK_SEMCTL.
27953
c2d54929
JM
27954 [BZ #13550]
27955 * Makerules (elide-bp-thunks): Remove variable.
27956 (elide-routines.oS): Don't use $(elide-bp-thunks).
27957 (elide-routines.os): Likewise.
27958 (elide-routines.o): Likewise.
27959 (elide-routines.op): Likewise.
27960 (elide-routines.og): Likewise.
27961 (objects): Don't use $(bp-thunks).
27962 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27963 include.
27964 (common-generated): Do not add s-proto-bp.d.
27965 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27966 (int): Likewise.
27967 (typ): Likewise.
27968 Do not generate makefile rules for bounded-pointer thunks.
27969 * sysdeps/generic/bp-thunks.h: Remove file.
27970 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27971 * sysdeps/unix/s-proto-bp.S: Likewise.
27972
8cf28c5e
JM
27973 [BZ #15062]
27974 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27975 parts of result separately when argument is not close to line from
27976 -i to i and one part of argument is small.
27977 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27978 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27979 * math/libm-test.inc (cacos_test): Add more tests.
27980 (casin_test): Likewise.
27981 (casinh_test): Likewise.
27982 * sysdeps/i386/fpu/libm-test-ulps: Update.
27983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27984
c4e33b8d
DM
279852013-01-31 David S. Miller <davem@davemloft.net>
27986
27987 * po/de.po: Update from translation team.
27988
3b60b421
MK
279892013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27990
27991 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27992
bb931195
TS
279932013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27994
b5a5da23
TS
27995 * configure.in (_AC_PROG_CC_C89): New definition.
27996 * configure: Regenerate.
27997
bb931195
TS
27998 * configure.in (AC_PROG_CPP): New definition.
27999 * configure: Regenerate.
28000
8c53a12c
JM
280012013-01-23 Joseph Myers <joseph@codesourcery.com>
28002
28003 * debug/tst-backtrace.h: New file.
28004 * debug/tst-backtrace2.c: Include tst-backtrace.h.
28005 (ret): Remove variable.
28006 (x): Likewise.
28007 (FAIL): Remove macro.
28008 (NO_INLINE): Likewise.
28009 (fn1): Use match function instead of strstr.
28010 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28011 (ret): Remove variable.
28012 (x): Likewise.
28013 (FAIL): Remove macro.
28014 (NO_INLINE): Likewise.
28015 (fn): Use match function instead of strstr.
28016 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28017 (ret): Remove variable.
28018 (x): Likewise.
28019 (FAIL): Remove macro.
28020 (NO_INLINE): Likewise.
28021 (handle_signal): Use match function instead of strstr.
28022 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28023 (ret): Remove variable.
28024 (x): Likewise.
28025 (FAIL): Remove macro.
28026 (NO_INLINE): Likewise.
28027 (handle_signal): Use match function instead of strstr.
28028
4858fa2a
RM
280292013-01-23 Roland McGrath <roland@hack.frob.com>
28030
28031 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28032
bae8e7f5
DM
280332013-01-23 David S. Miller <davem@davemloft.net>
28034
28035 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28036 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28037 argument of CAS if possible.
28038 * sysdeps/sparc/sparc64/bits/atomic.h
28039 (__arch_compare_and_exchange_val_32_acq): Likewise.
28040 (__arch_compare_and_exchange_val_64_acq): Likewise.
28041
9cbbc4ae
PT
280422013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28043
28044 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28045 * sysdeps/posix/ulimit.c: ... this.
92a601b8 28046 Include <limits.h>.
67b3f58c 28047 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 28048
5655a0b5
AC
280492013-01-23 Adam Conrad <adconrad@0c3.net>
28050
28051 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28052 (LDFLAGS-tst-array5): Likewise.
28053
052aff95
JM
280542013-01-23 Joseph Myers <joseph@codesourcery.com>
28055
28056 [BZ #15036]
28057 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28058 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28059 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28060 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28061
7c1e01aa
DM
280622013-01-21 David S. Miller <davem@davemloft.net>
28063
28064 * sysdeps/sparc/backtrace.c: New file.
28065 * sysdeps/sparc/sparc32/backtrace.h: New file.
28066 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28067 * sysdeps/sparc/sparc64/backtrace.h: New file.
28068 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28069 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28070 -funwind-tables.
28071
ab087e0a
AS
280722013-01-21 Andreas Schwab <schwab@suse.de>
28073
28074 [BZ #15020]
28075 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28076 closed its stdout.
28077
ed689c2f
AS
280782013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28079
28080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28081 "mpa2.h".
28082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28083
31d470ac
JM
280842013-01-18 Joseph Myers <joseph@codesourcery.com>
28085 Mark Mitchell <mark@codesourcery.com>
28086 Tom de Vries <tom@codesourcery.com>
28087 Paul Pluzhnikov <ppluzhnikov@google.com>
28088
28089 * debug/tst-backtrace2.c: New file.
28090 * debug/tst-backtrace3.c: Likewise.
28091 * debug/tst-backtrace4.c: Likewise.
28092 * debug/tst-backtrace5.c: Likewise.
28093 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28094 (CFLAGS-tst-backtrace3.c): Likewise.
28095 (CFLAGS-tst-backtrace4.c): Likewise.
28096 (CFLAGS-tst-backtrace5.c): Likewise.
28097 (LDFLAGS-tst-backtrace2): Likewise.
28098 (LDFLAGS-tst-backtrace3): Likewise.
28099 (LDFLAGS-tst-backtrace4): Likewise.
28100 (LDFLAGS-tst-backtrace5): Likewise.
28101 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28102 tst-backtrace4 and tst-backtrace5.
28103
90567f30 281042013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
28105 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28106
28107 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28108 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28109 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28110 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28112 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28113 "+r" and remove output regs list as redundant. Add explicit inline
28114 asm to specify register of return val to work around compiler codegen
28115 bug. Remove (int) cast on return value. Add return type parameter to
28116 use in macro so that this macro does not truncate return value for
28117 64-bit values.
28118 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28119 pass to INTERNAL_VSYSCALL_NCS.
28120 (INLINE_VSYSCALL): Add 'long int' as return type to
28121 INTERNAL_VSYSCALL_NCS macro invocation.
28122 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28123 INTERNAL_VSYSCALL_NCS macro invocation.
28124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28125
d3b9ea61
SP
281262013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28127
0b57daeb
SP
28128 [BZ #14496]
28129 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28130 Fix application of SIMD FP exception mask.
28131
caa99d06
SP
28132 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28133 mp_no from a power of two.
28134 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28135 __mpexp_twomm1. Use __pow_mp.
28136
d3b9ea61
SP
28137 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28138 multiplication.
28139
1dbaee3c
DM
281402013-01-17 David S. Miller <davem@davemloft.net>
28141
28142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28143
728d7b43
JM
281442013-01-17 Joseph Myers <joseph@codesourcery.com>
28145
28146 [BZ #15023]
28147 * include/complex.h: Condition contents on [!_COMPLEX_H].
28148 (__kernel_casinhf): New prototype.
28149 (__kernel_casinh): Likewise.
28150 (__kernel_casinhl): Likewise.
28151 * math/Makefile (libm_calls): Add k_casinh.
28152 * math/k_casinh.c: New file.
28153 * math/k_casinhf.c: Likewise.
28154 * math/k_casinhl.c: Likewise.
28155 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28156 finite nonzero arguments.
28157 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28158 finite nonzero arguments.
28159 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28160 finite nonzero arguments.
28161 * math/s_casinh.c: Do not include <float.h>.
28162 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28163 * math/s_casinhf.c: Do not include <float.h>.
28164 (__casinhf): Move code for finite nonzero arguments to
28165 k_casinhf.c.
28166 * math/s_casinhl.c: Do not include <float.h>.
28167 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28168 redefine.
28169 (__casinhl): Move code for finite nonzero arguments to
28170 k_casinhl.c.
28171 * math/libm-test.inc (cacos_test): Add more tests.
28172 * sysdeps/i386/fpu/libm-test-ulps: Update.
28173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28174
2a26ef3a
PT
281752013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28176
28177 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28178 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28179 [!HAVE_MREMAP]: Remove [defined linux] case.
28180 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28181
a897655d
SP
281822013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28183
28184 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28185
881ebe89 281862013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
28187
28188 * elf/elf.h (R_386_SIZE32): New relocation.
28189 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28190 R_386_SIZE32.
28191 (elf_machine_rela): Likewise.
28192 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28193 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28194
59981e9b
JM
281952013-01-17 Joseph Myers <joseph@codesourcery.com>
28196
28197 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28198 (FP_FAST_FMA): Do not define.
28199 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28200 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28201 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28202 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28203 !_SOFT_FLOAT]: Likewise.
28204 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28205 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28206 value.
28207 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28208 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28209 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28210 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28211 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28212 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28213 file.
28214
cfa8054f
AS
282152013-01-16 Andreas Schwab <schwab@suse.de>
28216
28217 [BZ #14327]
28218 * include/stdlib.h (__mktemp): Add declaration.
28219 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28220 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28221
dd930cc5
SP
282222013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28223
881ebe89
SP
28224 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28225 definitions.
28226 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28227 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28228 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28229 definitions here.
28230 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28231 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28232 definitions.
28233 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28234 and ONE.
28235 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28236 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28237 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28238 definitions.
28239 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28240 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28241 definitions.
28242 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 28243
dd930cc5
SP
28244 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28245
c19a9f89
DM
282462013-01-15 David S. Miller <davem@davemloft.net>
28247
1aa61767
DM
28248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28249 trunc{,f} to libm-sysdep_routes.
28250 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28252 file.
28253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28255 file.
28256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28257 file.
28258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28260 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28261 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28262 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28263 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28264 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28265 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28266
c42d5e98
DM
28267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28268 nearbyint{,f} to libm-sysdep_routes.
28269 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28271 New file.
28272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28273 file.
28274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28275 New file.
28276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28277 file.
28278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28280 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28281 file.
28282 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28283 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28284 file.
28285 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28286 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28287 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28288
c19a9f89
DM
28289 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28290 libc_feholdexcept and libc_fesetenv.
28291
357679d2
MF
282922013-01-15 Mike Frysinger <vapier@gentoo.org>
28293
28294 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28295
65a82e3d
DM
282962013-01-14 David S. Miller <davem@davemloft.net>
28297
8b954ab9
DM
28298 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28299 (SPARC_ASM_VIS2_IFUNC): Likewise.
28300 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28302 use of 'siam' instruction.
28303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28304 Likewise.
28305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28306 Likewise.
28307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28308 Likewise.
28309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28314 file.
28315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28316 file.
28317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28318 file.
28319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28320 file.
28321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28326 new VIS2 routines.
28327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28330 Likewise.
28331 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28332 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28333 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28334 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28336 routines to libm-sysdep_routines.
28337 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28338
65a82e3d
DM
28339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28340 fdim/fdimf to libm-sysdep_routines.
28341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28342 file.
28343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28345 file.
28346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28349 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28350 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28351 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28352 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28353
e34ab705
SP
283542013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28355
2a91b573
SP
28356 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28357 to optimize copies.
28358
1066a534
SP
28359 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28362
e34ab705
SP
28363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28364 local variable MPTWO.
28365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28366 Likewise.
28367
aba5e596
MF
283682013-01-13 Mike Frysinger <vapier@gentoo.org>
28369
28370 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28371 GLOB_NOESCAPE.
28372
e557e9e5
MF
283732013-01-13 Mike Frysinger <vapier@gentoo.org>
28374
28375 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28376
0428cec9
MF
283772013-01-13 Mike Frysinger <vapier@gentoo.org>
28378
28379 * manual/pattern.texi (glob_t): Document gl_flags.
28380 (glob64_t): Likewise.
28381
8794a964
DM
283822013-01-11 David S. Miller <davem@davemloft.net>
28383
66438c3f
RM
28384 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28385 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28386 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
28387 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28388 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28389 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28390 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28391 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28392 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28393 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28394 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28395 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28396 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28397
4ae4244d
DM
28398 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28399 sparc V9 rather than using V8 code.
28400 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28401 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28402
8794a964
DM
28403 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28404 Move to...
28405 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28406 Here.
28407
6270516e
RM
284082013-01-11 Roland McGrath <roland@hack.frob.com>
28409
28410 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28411 not in the main loop.
28412 * configure: Regenerated.
28413
6a57d931
JM
284142013-01-11 Joseph Myers <joseph@codesourcery.com>
28415
28416 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28417 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28418 to just #else.
28419 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28420 [!__GLIBC_HAVE_LONG_LONG] case.
28421 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28422 condition to just #else.
28423 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28424 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28425 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28426 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28427 unconditional.
28428 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28429 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28430 #elif condition to just #else.
28431 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28432 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28433 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28434 #elif condition to just #else.
28435
0e8529e9
SE
284362013-01-11 Steve Ellcey <sellcey@mips.com>
28437
28438 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28439 (EF_MIPS_ARCH_64): Fix value.
28440 (EF_MIPS_ARCH_32R2): New.
28441 (EF_MIPS_ARCH_64R2): New.
28442
740b3dbe
L
284432013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28444
28445 * Makeconfig (+link-pie-before-libc): New.
28446 (+link-pie-after-libc): Likewise.
28447 (+link-pie-tests): Likewise.
28448 (+link-pie): Rewritten.
28449 (link-before-libc): Remove $(config-LDFLAGS).
28450 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28451 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28452 (config-LDFLAGS): Renamed to ...
28453 (rtld-LDFLAGS): This.
28454 (rtld-tests-LDFLAGS): New macro.
28455 (link-libc-rpath-link): Likewise.
28456 (link-libc-tests-rpath-link): Likewise.
28457 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28458 (link-libc): Prepand $(link-libc-rpath-link).
28459 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28460 (test-program-prefix): New macro.
28461 (test-via-rtld-prefix): Likewise.
28462 (test-program-cmd): Likewise.
28463 (host-test-program-cmd): Likewise.
28464 * Makefile ($(common-objpfx)testrun.sh): Replace
28465 $(run-program-prefix) with $(test-program-prefix).
28466 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28467 $(rtld-LDFLAGS).
28468 ($(common-objpfx)shlib.lds): Likewise.
28469 (build-module-helper): Likewise.
28470 ($(common-objpfx)format.lds): Likewise.
28471 * Rules (binaries-pie-tests): New.
28472 (binaries-pie-notests): Likewise.
28473 (binaries-pie): Rewritten.
28474 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28475 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28476 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28477 (make-test-out): Replace $(host-built-program-cmd) with
28478 $(host-test-program-cmd).
28479 * config.make.in (build-hardcoded-path-in-tests): New variable.
28480 * configure.in (--enable-hardcoded-path-in-tests): New configure
28481 option.
28482 (hardcoded_path_in_tests): New AC_SUBST.
28483 * configure: Regenerated.
28484 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28485 $(built-program-cmd) with $(test-program-cmd).
28486 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28487 (test_program_cmd): This.
28488 * elf/Makefile ($(objpfx)order.out): Run test with
28489 $(test-program-prefix).
28490 ($(objpfx)order2.out): Likewise.
28491 ($(objpfx)tst-initorder.out): Likewise.
28492 ($(objpfx)tst-initorder2.out): Likewise.
28493 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28494 $(test-program-cmd).
28495 ($(objpfx)tst-array1-static.out): Likewise.
28496 ($(objpfx)tst-array2.out): Likewise.
28497 ($(objpfx)tst-array3.out): Likewise.
28498 ($(objpfx)tst-array4.out): Likewise.
28499 ($(objpfx)tst-array5.out): Likewise.
28500 ($(objpfx)tst-array5-static.out): Likewise.
28501 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28502 $(test-program-cmd).
28503 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28504 $(run-program-prefix) with $(test-program-prefix).
28505 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28506 (test_program_prefix): This.
28507 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28508 $(run-program-prefix) with $(test-program-prefix).
28509 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28510 (test_program_prefix): This.
28511 * iconvdata/tst-tables.sh: Likewise.
28512 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28513 $(run-program-prefix) with $(test-program-prefix).
28514 ($(objpfx)tst-translit.out): Likewise.
28515 ($(objpfx)tst-gettext2.out): Likewise.
28516 ($(objpfx)tst-gettext4.out): Likewise.
28517 ($(objpfx)tst-gettext6.out): Likewise.
28518 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28519 (test_program_prefix): This.
28520 * intl/tst-gettext2.sh: Likewise.
28521 * intl/tst-gettext4.sh Likewise.
28522 * intl/tst-gettext6.sh: Likewise.
28523 * intl/tst-translit.sh: Likewise.
28524 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28525 with $(test-program-cmd).
28526 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28527 $(run-program-prefix) with $(test-program-prefix).
28528 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28529 (test_program_prefix): This.
28530 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28531 $(run-program-prefix) with $(test-program-prefix).
28532 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28533 (test_program_prefix): This.
28534 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28535 * posix/Makefile ($(objpfx)globtest.out): Replace
28536 $(run-via-rtld-prefix) and $(test-wrapper) with
28537 $(test-program-prefix) and $(test-via-rtld-prefix).
28538 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28539 $(test-program-prefix).
28540 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28541 $(host-test-program-cmd).
28542 (tst-spawn-ARGS): Likewise.
28543 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28544 $(test-program-prefix).
28545 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28546 (test_via_rtld_prefix): This.
28547 (test_wrapper): Renamed to ...
28548 (test_program_prefix): This.
28549 (run_program_prefix): Replaced by test_program_prefix.
28550 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28551 (test_program_prefix): This.
28552 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28553 with $(host-test-program-cmd).
28554 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28555 $(run-program-prefix) with $(test-program-prefix).
28556 ($(objpfx)tst-printf.out): Likewise.
28557 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28558 $(test-program-cmd).
28559 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28560 (test_program_prefix): This.
28561 * stdio-common/tst-unbputc.sh: Likewise.
28562 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28563 $(run-program-prefix) with $(test-program-prefix).
28564 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28565 (test_program_prefix): This.
28566 * string/Makefile ($(objpfx)tst-svc.out): Replace
28567 $(built-program-cmd) with $(test-program-cmd).
28568
c6fe55cf
AJ
285692013-01-11 Andreas Jaeger <aj@suse.de>
28570
28571 [BZ #15003]
28572 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28573 value. Sync with Linux 3.7.
28574
9e6919c8
DM
285752013-01-10 David S. Miller <davem@davemloft.net>
28576
28577 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28578 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28579 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28580
1c9f1a02
RM
285812013-01-10 Roland McGrath <roland@hack.frob.com>
28582
28583 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28584 never set.
28585 * configure: Regenerated.
28586
b9de2dde
DM
285872013-01-10 David S. Miller <davem@davemloft.net>
28588
28589 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28590 sparc V9 rather than using V8 code.
28591 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28592 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28593
e7f68ef4
RM
285942013-01-10 Roland McGrath <roland@hack.frob.com>
28595
28596 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28597 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28598 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28599 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28600 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28601 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28602 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28603 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28604 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28605 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28606 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28607 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28608 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28609 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28610 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28611 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28612 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28613 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28614 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28615 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28616 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28617 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28618 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28619 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28620 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28621 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28622 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28623
5a47cc9c
DM
286242013-01-10 David S. Miller <davem@davemloft.net>
28625
28626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28627
4cf8f209
L
286282013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28629
28630 * posix/Makefile (tests-static): New variable.
28631 (tests): Add $(tests-static).
28632 (tst-exec-static-ARGS): New variable.
28633 (tst-spawn-static-ARGS): Likewise.
28634 * posix/tst-exec-static.c: New file.
28635 * posix/tst-spawn-static.c: Likewise.
28636 * posix/tst-exec.c: Support run directly.
28637 * posix/tst-spawn.c: Likewise.
28638
fed0faa1
JM
286392013-01-10 Joseph Myers <joseph@codesourcery.com>
28640
828beb13
JM
28641 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28642 long.
28643 * math/bits/mathcalls.h (llrint): Likewise.
28644 (llround): Likewise.
28645 * stdlib/stdlib.h (struct drand48_data): Likewise.
28646 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28647 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28648 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28649 Likewise.
28650 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28651 Likewise.
28652 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28653 (elf_greg_t): Likewise.
28654 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28655 (__jmp_buf): Likewise.
28656 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28657 definitions.
28658 (llrint): Likewise, for all definitions.
28659 (llrintl): Likewise.
28660
fed0faa1
JM
28661 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28662 Remove [__GNUC__] condition.
28663 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28664 condition to just [__USE_ISOC99].
28665 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28666
1a20cb20
L
286672013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28668
28669 [BZ #14200]
28670 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28671 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28672 defined.
28673 (_POSIX_V6_ILP32_OFF32): Likewise.
28674 (_XBS5_ILP32_OFF32): Likewise.
28675 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28676 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28677
751b85f7
SP
286782013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28679
7490eb81
SP
28680 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28681
751b85f7
SP
28682 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28683 doubles __mpexp_twomm1. Adjust usage.
28684 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28685 Remove.
28686
988197f0
AS
286872013-01-10 Andreas Schwab <schwab@suse.de>
28688
28689 [BZ #14964]
28690 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28691 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28692
e83d7298
DM
286932013-01-09 David S. Miller <davem@davemloft.net>
28694
034ed64b 28695 [BZ #15003]
57f41c40
AS
28696 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28697 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28698 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28699 (TCP_FASTOPEN): Define.
e83d7298
DM
28700 (tcp_repair_opt): New structure.
28701 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28702 enum values.
57f41c40
AS
28703 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28704 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28705 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28706 (tcp_cookie_transactions): New structure.
28707
d5e0b9bd
AB
287082013-01-09 Anton Blanchard <anton@samba.org>
28709
28710 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28711 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28712 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28713 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28714
0c07e3ea
JM
287152013-01-09 Joseph Myers <joseph@codesourcery.com>
28716
28717 * include/features.h (__USE_ANSI): Remove.
28718
232f7002
RM
287192013-01-09 Roland McGrath <roland@hack.frob.com>
28720
ad98e30c
RM
28721 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28722
232f7002
RM
28723 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28724
950c99ca
SP
287252013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28726
b5792741
SP
28727 * sysdeps/s390/fpu/libm-test-ulps: Update.
28728
47cf2278
SP
28729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28730
950c99ca
SP
28731 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28732 (__acr): Likewise.
28733 (__cpy): Likewise.
28734 (norm): Likewise.
28735 (denorm): Likewise.
28736 (__mp_dbl): Likewise.
28737 (__dbl_mp): Likewise.
28738 (add_magnitudes): Likewise.
28739 (sub_magnitudes): Likewise.
28740 (__add): Likewise.
28741 (__sub): Likewise.
28742 (__mul): Likewise.
28743 (__inv): Likewise.
28744 (__dvd): Likewise.
28745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28746 (__acr): Likewise.
28747 (__cpy): Likewise.
28748 (norm): Likewise.
28749 (denorm): Likewise.
28750 (__mp_dbl): Likewise.
28751 (__dbl_mp): Likewise.
28752 (add_magnitudes): Likewise.
28753 (sub_magnitudes): Likewise.
28754 (__add): Likewise.
28755 (__sub): Likewise.
28756 (__mul): Likewise.
28757 (__inv): Likewise.
28758 (__dvd): Likewise.
28759 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28760 (__acr): Likewise.
28761 (__cpy): Likewise.
28762 (norm): Likewise.
28763 (denorm): Likewise.
28764 (__mp_dbl): Likewise.
28765 (__dbl_mp): Likewise.
28766 (add_magnitudes): Likewise.
28767 (sub_magnitudes): Likewise.
28768 (__add): Likewise.
28769 (__sub): Likewise.
28770 (__mul): Likewise.
28771 (__inv): Likewise.
28772 (__dvd): Likewise.
28773
eede9df9
JM
287742013-01-08 Joseph Myers <joseph@codesourcery.com>
28775
28776 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28777 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28778 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28779 2 && __USE_EXTERN_INLINES]: Likewise.
28780
c40ea3d9
AJ
287812013-01-08 Andreas Jaeger <aj@suse.de>
28782
28783 [BZ# 14985]
28784 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28785 Remove.
28786 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28787 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28788
2ccdea26
AB
287892013-01-07 Anton Blanchard <anton@samba.org>
28790
28791 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28792 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28793 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28794 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28795 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28796 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28797 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28798 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28800 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28801 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28802 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28803 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28804 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28805 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28806 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28807 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28808 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28809 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28810 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28811 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28812 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28813 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28814 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28815 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28816 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28817 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28818 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28819 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28820 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28821 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28823 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28824 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28825 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28826 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28827 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28828 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28829 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28830 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28831 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28832 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28833 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28834
a9708fed
JM
288352013-01-07 Joseph Myers <joseph@codesourcery.com>
28836
375607b9
JM
28837 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28838 (__MALLOC_PMT): Likewise.
28839 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28840 [__GNUC__], only on [_LIBC].
28841 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28842 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28843 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28844 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28845 forward declaration.
28846 (realloc_hook_ini): Likewise.
28847 (memalign_hook_ini): Likewise.
28848 (__libc_memalign): Do not use __MALLOC_PMT in variable
28849 declaration.
28850 (__libc_valloc): Likewise.
28851 (__libc_pvalloc): Likewise.
28852 (__libc_calloc): Likewise.
28853 (__posix_memalign): Likewise.
28854
a9708fed
JM
28855 [BZ #14996]
28856 * math/s_casinh.c: Include <float.h>.
28857 (__casinh): Do not do computation with squaring and square root
28858 for large arguments.
28859 * math/s_casinhf.c: Include <float.h>.
28860 (__casinhf): Do not do computation with squaring and square root
28861 for large arguments.
28862 * math/s_casinhl.c: Include <float.h>.
28863 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28864 (__casinhl): Do not do computation with squaring and square root
28865 for large arguments.
28866 * math/libm-test.inc (casin_test): Add more tests.
28867 (casinh_test): Likewise.
28868 * sysdeps/i386/fpu/libm-test-ulps: Update.
28869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28870
afec409a
L
288712013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28872
28873 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28874 (__x86_64_raw_data_cache_size): Likewise.
28875 (__x86_64_data_cache_size_half): Likewise.
28876 (__x86_64_raw_data_cache_size_half): Likewise.
28877 (__x86_64_shared_cache_size): Likewise.
28878 (__x86_64_raw_shared_cache_size): Likewise.
28879 (__x86_64_shared_cache_size_half): Likewise.
28880 (__x86_64_raw_shared_cache_size_half): Likewise.
28881 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28882 to ...
28883 (__x86_data_cache_size): This.
28884 (__x86_64_raw_data_cache_size): Renamed to ...
28885 (__x86_raw_data_cache_size): This.
28886 (__x86_64_data_cache_size_half): Renamed to ...
28887 (__x86_data_cache_size_half): This.
28888 (__x86_64_raw_data_cache_size_half): Renamed to ...
28889 (__x86_raw_data_cache_size_half): This.
28890 (__x86_64_shared_cache_size): Renamed to ...
28891 (__x86_shared_cache_size): This.
28892 (__x86_64_raw_shared_cache_size): Renamed to ...
28893 (__x86_raw_shared_cache_size): This.
28894 (__x86_64_shared_cache_size_half): Renamed to ...
28895 (__x86_shared_cache_size_half): This.
28896 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28897 (__x86_raw_shared_cache_size_half): This.
28898 * sysdeps/x86_64/memcpy.S: Updated.
28899 * sysdeps/x86_64/memset.S: Likewise.
28900 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28901 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28902 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28903
0b3986d0
DM
289042013-01-04 David S. Miller <davem@davemloft.net>
28905
28906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28907
e47686e9
AS
289082013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28909
d643bac1
AS
28910 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28911 1 to avoid redefinition warning.
28912 (__USE_GNU): Don't define.
28913 (init_signaling_nan): Protoize.
28914
e47686e9
AS
28915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28916
b18decba
SP
289172013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28918
fffb407f
SP
28919 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28921 (__cpymn): Likewise.
28922 (norm): Remove commented code.
28923 (denorm): Likewise.
28924 (__mp_dbl): Likewise.
28925 (__inv): Likewise.
28926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28927 (__cpymn): Likewise.
28928 (norm): Remove commented code.
28929 (denorm): Likewise.
28930 (__mp_dbl): Likewise.
28931 (__inv): Likewise.
28932
b18decba
SP
28933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28934 mp_no value for 1.0 and 2.0.
28935 (norm): Use RADIXI instead of radixi.d.
28936 (denorm): Likewise.
28937 (__mul): Use 0.0 instead of zero.d.
28938 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28939 mp_no value for 1.0 and 2.0.
28940 (norm): Use RADIXI instead of radixi.d.
28941 (denorm): Likewise.
28942 (__mul): Use 0.0 instead of zero.d.
28943
cdc1c96f
JM
289442013-01-04 Joseph Myers <joseph@codesourcery.com>
28945
28946 [BZ #14994]
28947 * math/s_casinh.c (__casinh): Reduce finite argument to first
28948 quadrant then set signs of results at the end.
28949 * math/s_casinhf.c (__casinhf): Likewise.
28950 * math/s_casinhl.c (__casinhl): Likewise.
28951 * math/libm-test.inc (casin_test): Add more tests.
28952 (casinh_test): Likewise.
28953 * sysdeps/i386/fpu/libm-test-ulps: Update.
28954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28955
302913e1
SP
289562013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28957
6420d207
SP
28958 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28959
a9e48ab4
SP
28960 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28961
b7837264
SP
28962 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28963 declarations.
28964 (denorm): Likewise.
28965 (__mp_dbl): Likewise.
28966 (__inv): Likewise.
28967
f8af25d2
SP
28968 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28969 and adjust the header comment.
28970
302913e1
SP
28971 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28972 variable name from declaration.
28973
5d7dd1ca
L
289742013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28975
28976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28977 Initialize COMMON_CPUID_INDEX_7 element.
28978 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28979 (CPUID_RTM): Likewise.
28980 (HAS_RTM): Likewise.
28981 (COMMON_CPUID_INDEX_7): New enum.
28982
2f5f40f4
AS
289832013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28984
28985 [BZ #14981]
28986 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28987 size is zero, record memory as freed.
28988
4056f4a0
AJ
289892013-01-03 Andreas Jaeger <aj@suse.de>
28990
28991 * po/ia.po: Add new Interlingua translation.
28992
ab15736f 289932012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
28994
28995 * locale/programs/localedef.c: Fix description of '--posix' flag.
28996
568035b7
JM
289972013-01-02 Joseph Myers <joseph@codesourcery.com>
28998
e6898b8d
JM
28999 * NEWS: Update dates in second copyright notice.
29000 * README: Update copyright dates in example.
29001 * manual/libc.texinfo: Update copyright dates.
29002 * scripts/test-installation.pl: Update copyright date in --version
29003 output.
29004
0e2f9562
JM
29005 * hurd/ctty-input.c: Fix copyright notice formatting.
29006 * hurd/ctty-output.c: Likewise.
29007 * hurd/dtable.c: Likewise.
29008 * hurd/hurd-raise.c: Likewise.
29009 * hurd/hurdprio.c: Likewise.
29010 * hurd/msgportdemux.c: Likewise.
29011 * misc/sys/file.h: Likewise.
29012 * misc/sys/ioctl.h: Likewise.
29013 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29014 * sysdeps/mach/hurd/chdir.c: Likewise.
29015 * sysdeps/mach/hurd/fchdir.c: Likewise.
29016 * sysdeps/mach/hurd/rename.c: Likewise.
29017 * sysdeps/mach/hurd/rmdir.c: Likewise.
29018 * sysdeps/mach/hurd/seekdir.c: Likewise.
29019 * sysdeps/mach/hurd/setsid.c: Likewise.
29020 * sysdeps/posix/wait3.c: Likewise.
29021
568035b7
JM
29022 * All files with FSF copyright notices: Update copyright dates
29023 using scripts/update-copyrights.
29024 * intl/plural.c: Regenerated.
29025 * locale/programs/charmap-kw.h: Likewise.
29026 * locale/programs/locfile-kw.h: Likewise.
29027
da08f647
SP
290282013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29029
0f5477af
SP
29030 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29031 four values.
29032
44e0d4c2
SP
29033 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29034 calculation loop and add branch prediction.
29035
4d55b4e5
SP
29036 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29037 check access beyond bounds of m1np.
29038
da08f647
SP
29039 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29040 MPTWO.
29041 (__inv): Remove local variable MPTWO to use the global
29042 constant.
29043 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29044 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29045 variable MPTWO.
29046 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29047 MP3HALFS static const.
29048
8e051029
DM
290492013-01-01 David S. Miller <davem@davemloft.net>
29050
29051 * po/ca.po: Update from translation team.
29052
f4cf5f2d
JM
290532013-01-01 Joseph Myers <joseph@codesourcery.com>
29054
29055 * scripts/update-copyrights: New file.
29056 * Makeconfig: Reformat copyright notice.
29057 * ctype/ctype.h: Likewise.
29058 * debug/swprintf_chk.c: Likewise.
29059 * elf/dl-cache.c: Likewise.
29060 * elf/dl-debug.c: Likewise.
29061 * elf/dl-object.c: Likewise.
29062 * grp/initgroups.c: Likewise.
29063 * hurd/Makefile: Likewise.
29064 * hurd/hurd/signal.h: Likewise.
29065 * hurd/hurdfault.c: Likewise.
29066 * hurd/hurdioctl.c: Likewise.
29067 * hurd/hurdlookup.c: Likewise.
29068 * hurd/intr-msg.c: Likewise.
29069 * iconv/gconv_open.c: Likewise.
29070 * libio/swprintf.c: Likewise.
29071 * locale/lc-ctype.c: Likewise.
29072 * locale/nl_langinfo.c: Likewise.
29073 * mach/Machrules: Likewise.
29074 * mach/Makefile: Likewise.
29075 * malloc/obstack.h: Likewise.
29076 * manual/Makefile: Likewise.
29077 * manual/tsort.awk: Likewise.
29078 * misc/bits/stab.def: Likewise.
29079 * nis/nis_print_group_entry.c: Likewise.
29080 * nis/nis_table.c: Likewise.
29081 * nis/nss_compat/compat-pwd.c: Likewise.
29082 * nis/nss_compat/compat-spwd.c: Likewise.
29083 * po/Makefile: Likewise.
29084 * posix/fnmatch.c: Likewise.
29085 * posix/regex.h: Likewise.
29086 * resolv/Makefile: Likewise.
29087 * resolv/nss_dns/dns-network.c: Likewise.
29088 * resolv/res_hconf.c: Likewise.
29089 * scripts/gen-sorted.awk: Likewise.
29090 * soft-fp/soft-fp.h: Likewise.
29091 * stdio-common/printf.h: Likewise.
29092 * stdlib/monetary.h: Likewise.
29093 * stdlib/random.c: Likewise.
29094 * stdlib/random_r.c: Likewise.
29095 * sysdeps/generic/Makefile: Likewise.
29096 * sysdeps/gnu/Makefile: Likewise.
29097 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29098 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29099 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29100 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29101 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29102 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29103 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29104 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29105 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29106 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29107 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29108 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29109 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29110 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29111 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29112 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29113 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29114 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29115 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29116 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29117 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29118 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29119 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29120 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29121 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29122 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29123 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29124 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29125 * sysdeps/mach/hurd/errnos.awk: Likewise.
29126 * sysdeps/mach/hurd/fork.c: Likewise.
29127 * sysdeps/mach/hurd/getcwd.c: Likewise.
29128 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29129 * sysdeps/mach/hurd/mmap.c: Likewise.
29130 * sysdeps/mach/hurd/utimes.c: Likewise.
29131 * sysdeps/mach/hurd/xmknod.c: Likewise.
29132 * sysdeps/posix/profil.c: Likewise.
29133 * sysdeps/posix/readdir_r.c: Likewise.
29134 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29135 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29136 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29137 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29138 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29139 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29140 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29141 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29142 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29143 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29144 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29145 * sysdeps/pthread/lio_listio.c: Likewise.
29146 * sysdeps/sparc/dl-procinfo.h: Likewise.
29147 * sysdeps/unix/i386/sysdep.S: Likewise.
29148 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29149 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29150 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29151 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29153 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29154 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29155 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29156 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29157 * sysdeps/wordsize-32/divdi3.c: Likewise.
29158 * time/sys/time.h: Likewise.
29159 * wcsmbs/Makefile: Likewise.
29160
0549fbba
DM
291612013-01-01 David S. Miller <davem@davemloft.net>
29162
a141f1a7
DM
29163 * po/fr.po: Update from translation team.
29164
0549fbba
DM
29165 * catgets/gencat.c: Update copyright year.
29166 * csu/version.c: Likewise.
29167 * debug/catchsegv.sh: Likewise.
29168 * debug/pcprofiledump.c: Likewise.
29169 * debug/xtrace.sh: Likewise.
29170 * elf/ldconfig.c: Likewise.
29171 * elf/ldd.bash.in: Likewise.
29172 * elf/pldd.c: Likewise.
29173 * elf/sotruss.ksh: Likewise.
29174 * elf/sprof.c: Likewise.
29175 * iconv/iconv_prog.c: Likewise.
29176 * iconv/iconvconfig.c: Likewise.
29177 * locale/programs/locale.c: Likewise.
29178 * locale/programs/localedef.c: Likewise.
29179 * login/programs/pt_chown.c: Likewise.
29180 * malloc/memusage.sh: Likewise.
29181 * malloc/memusagestat.c: Likewise.
29182 * malloc/mtrace.pl: Likewise.
29183 * nscd/nscd.c: Likewise.
29184 * nss/getent.c: Likewise.
29185 * nss/makedb.c: Likewise.
29186 * posix/getconf.c: Likewise.
29187
18ea052c
SP
291882012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29189
29190 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29191 numbers.
29192
9c89fca6
MF
291932012-12-30 Mike Frysinger <vapier@gentoo.org>
29194
29195 * math/bits/mathcalls.h (modf): Use __nonnull.
29196
085ec079
SP
291972012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29198
29199 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29200 (split): Use macro CN instead of the bare value.
29201 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29202 could be used.
29203 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29204 instead of the bare value.
29205 (power1): Likewise.
29206
6d9f97e1
SP
292072012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29208
d63f73be
SP
29209 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29210 __ATAN_TWOM.
29211 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29212
6d9f97e1
SP
29213 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29214 their values.
29215 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29216 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29217 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29218 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29219
4c4febf5
AJ
292202012-12-28 Andreas Jaeger <aj@suse.de>
29221
af5843ef
AJ
29222 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29223 values are from Linux 3.7.
29224
4c4febf5
AJ
29225 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29226 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29227
99136f82
SP
292282012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29229
2f216c3c 29230 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
29231 TRUE case.
29232
99136f82
SP
29233 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29234 (norm): Likewise.
29235 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29236 variables with preprocessor constants.
29237 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29238 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29239 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29240
7fffbdff
BH
292412012-12-27 Bruno Haible <bruno@clisp.org>
29242
29243 [BZ #14317]
29244 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29245 only if needed.
29246
b76eb5f0
SP
292472012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29248
31a7fe5c
SP
29249 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29250 and use variable directly.
29251 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29252
b76eb5f0
SP
29253 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29254 MPONE.
29255 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29256 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29257 variable MPONE.
29258 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29259 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29260 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29261 include directive. Remove local variable MPONE.
29262 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29263 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29264 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29265
2c8bfe7d
DM
292662012-12-25 David S. Miller <davem@davemloft.net>
29267
29268 * version.h (RELEASE): Set to "development".
29269 (VERSION): Set to "2.17.90".
29270 * NEWS: Add 2.18 section.
29271
147d03b0
DM
292722012-12-21 David S. Miller <davem@davemloft.net>
29273
29274 * po/hr.po: Update from translation team.
29275
a8ebb2b9
AK
292762012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29277
29278 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29279
95b4f1b6
SE
292802012-12-19 Steve Ellcey <sellcey@mips.com>
29281
b2d94007 29282 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 29283
cedb2a90
MS
292842012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29285
29286 * manual/contrib.texi (Contributors): Spelling correction.
29287
bbf527d6
DM
292882012-12-15 David S. Miller <davem@davemloft.net>
29289
29290 * po/ru.po: Update from translation team.
29291
bc38c906
DM
292922012-12-13 David S. Miller <davem@davemloft.net>
29293
85429b1a
DM
29294 * NEWS: Mention IFUNC testsuite enhancements.
29295
d283e353
DM
29296 * po/pl.po: Update from translation team.
29297 * po/bg.po: Likewise.
29298
bc38c906
DM
29299 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29300 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29301
a181b0d7
DM
293022012-12-11 David S. Miller <davem@davemloft.net>
29303
4641d57e
DM
29304 * po/sv.po: Update from translation team.
29305
f7bc6495
DM
29306 * po/vi.po: Update from translation team.
29307
6fc9048f
DM
29308 * po/cs.po: Update from translation team.
29309
a181b0d7
DM
29310 * po/de.po: Update from translation team.
29311 * po/eo.po: Likewise.
29312 * po/nl.po: Likewise.
29313
f70bfe80
SP
293142012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29315
3c8b4190
SP
29316 [BZ #14246]
29317 * manual/argp.texi (Argp Helper Functions): Move node to follow
29318 Argp Parsing State.
29319
f70bfe80
SP
29320 [BZ #14872]
29321 * manual/conf.texi (Limits on File System Capacity): Mention if
29322 terminating null is included in the max size.
29323
188f0adf
AJ
293242012-12-10 Andreas Jaeger <aj@suse.de>
29325
29326 * po/cs.po: Update from translation team.
29327
56e7d3ad
SP
293282012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29329
29330 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29331 void pointer and cast to uintptr_t.
29332 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29333 path.
29334 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29335 * sysdeps/s390/s390-64/memset.S: Likewise.
29336
76f2d2ea 293372012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
29338
29339 [BZ #14833]
29340 * menual/message.texi (Message Translation): Fix typos.
29341 (Helper programs for gettext): Likewise.
29342
67cbf9a2
AS
293432012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29344
29345 [BZ #14898]
29346 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29347 Change to -1.
29348
682d0e9a
DM
293492012-12-07 David S. Miller <davem@davemloft.net>
29350
29351 * po/libc.pot: Update.
29352
573cd484
RH
293532012-12-07 Richard Henderson <rth@redhat.com>
29354
7e9da188 29355 [BZ #10114]
573cd484
RH
29356 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29357 normal/normal case to before the switch.
29358 (_FP_DIV): Likewise.
29359
e933a943
MF
293602012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29361 Mike Frysinger <vapier@gentoo.org>
29362
29363 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29364 check for __NR_fadvise64_64.
29365
82123268
CM
293662012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29367
29368 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29369 0, not just to plain "0" as a statement.
29370 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29371 with cw.
29372
d9814526
JM
293732012-12-06 Joseph Myers <joseph@codesourcery.com>
29374
29375 * NEWS: Use sourceware.org in Bugzilla URL.
29376
7728c574
SP
293772012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29378
f16946dd
SP
29379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29380 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29381
5704bbcb
SP
29382 * stdio-common/tst-put-error.c (do_test): Add newline to the
29383 padded test to ensure flush.
29384
17aa0516
JL
293852012-12-05 Jeff Law <law@redhat.com>
29386
29387 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29388
363313b5
JM
293892012-12-05 Joseph Myers <joseph@codesourcery.com>
29390
effbd42a
JM
29391 * README: Don't refer to ports add-on as distributed separately.
29392 Mention AArch64 in list of systems supported in the ports add-on.
29393
87600365
JM
29394 * LICENSES: Add more non-FSF copyright and license notices.
29395
a0d7066a
JM
29396 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29397 ((unused)).
29398
66ca5a5b
JM
29399 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29400
363313b5
JM
29401 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29402 10000 as width of padded output.
29403
b37984ad
JM
294042012-12-04 Joseph Myers <joseph@codesourcery.com>
29405
9003570a
JM
29406 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29407
b37984ad
JM
29408 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29409 variable LX with __attribute__ ((unused)).
29410 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29411 Likewise.
29412 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29413 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29414 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29415 with __attribute__ ((unused)).
29416
c8df52ec
DM
294172012-12-04 David S. Miller <davem@abraco.davemloft.net>
29418
29419 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29420
b3b099af
JM
294212012-12-04 Joseph Myers <joseph@codesourcery.com>
29422
c33aa6e3
JM
29423 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29424 (CFLAGS-nldbl-acos.c): New variable.
29425 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29426 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29427 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29428 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29429 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29430 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29431 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29432 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29433 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29434 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29435 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29436 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29437 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29438 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29439 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29440 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29441 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29442 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29443 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29444 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29445 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29446 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29447 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29448 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29449 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29450 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29451 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29452 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29453 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29454 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29455 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29456 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29457 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29458 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29459 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29460 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29461 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29462 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29463 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29464 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29465 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29466 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29467 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29468 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29469 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29470 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29471 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29472 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29473 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29474 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29475 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29476 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29477 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29478 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29479 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29480 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29481 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29482 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29483 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29484 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29485 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29486 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29487 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29488 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29489 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29490 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29491 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29492 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29493 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29494 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29495 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29496 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29497 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29498 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29499 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29500 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29501 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29502 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29503 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29504 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29505 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29506 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29507 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29508 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29509 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29510 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29511 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29512 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29513 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29514 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29515 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29516 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29517 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29518 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29519 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29520 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29521 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29522
20f0018d
JM
29523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29524 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29525
b3b099af
JM
29526 [BZ #14914]
29527 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29528 whole low double instead of just low 47 bits when splitting values
29529 into two parts.
29530
029264d1
AM
295312012-12-03 Allan McRae <allan@archlinux.org>
29532
29533 * manual/stdio.texi (Predefined Printf Handlers): Remove
29534 @hsep and @vsep usage.
29535
c9d6789e
MF
295362012-12-03 Mike Frysinger <vapier@gentoo.org>
29537
29538 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29539 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29540
4b7634a5
JL
295412012-12-03 Jeff Law <law@redhat.com>
29542
29543 * time/sys/time.h (settimeofday): Do not mark TV argument
29544 as __nonnull.
29545
eb6cbd24
MF
295462012-12-01 Mike Frysinger <vapier@gentoo.org>
29547
29548 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29549 when currently writing and seek to current position when not.
29550 * libio/Makefile (tests): Remove bug-fclose1.
29551 * libio/bug-fclose1.c: Delete.
29552
f638872a
JM
295532012-12-01 Joseph Myers <joseph@codesourcery.com>
29554
29555 * manual/arith.texi (feenableexcept): Fix typo.
29556 (fedisableexcept): Likewise.
29557
48085d14
RM
295582012-11-30 Roland McGrath <roland@hack.frob.com>
29559
29560 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29561 second, differently-typed declaration, rather than a cast.
29562
1a538b9f
SP
295632012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29564
29565 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29566 * include/rpc/svc.h: ... here.
29567
d07f2ff1 295682012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29569
29570 [BZ #13013]
29571 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29572 depending n and resplen2 to catch cases where answer
29573 equals answerp2.
29574
c93ec1f0
CD
295752012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29576
29577 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29578 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29579
37db69de
MF
295802012-11-29 Mike Frysinger <vapier@gentoo.org>
29581
29582 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29583
e10c4e4f
RM
295842012-11-29 Roland McGrath <roland@hack.frob.com>
29585
29586 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29587
2af1b328
JL
295882012-11-28 Jeff Law <law@redhat.com>
29589
29590 [BZ #13761]
29591 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29592 dataset_temporary. Track alloca usage into alloca_used.
29593 If dataset is large allocate and release it via malloc/free.
29594
111db5b1
FW
295952012-06-04 Florian Weimer <fweimer@redhat.com>
29596
f06cc227 29597 [BZ #14197]
111db5b1
FW
29598 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29599
dd694abd
DM
296002012-11-28 David S. Miller <davem@davemloft.net>
29601
29602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29603
9984dd01
JM
296042012-11-28 Joseph Myers <joseph@codesourcery.com>
29605
29606 [BZ #14803]
29607 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29608 of pi/2 rounded to nearest to 64 bits.
29609 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29610 nearest to 64 bits.
29611 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29612 bits.
29613
14bc93a9
JL
296142012-11-28 Jeff Law <law@redhat.com>
29615 Martin Osvald <mosvald@redhat.com>
29616
29617 [BZ #14889]
29618 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29619 * sunrpc/svc.c: Include time.h.
29620 (__svc_accept_failed): New function.
29621 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29622 any reason other than EINTR, call __svc_accept_failed.
29623 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29624 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29625
e3c6aa3a
AS
296262012-11-28 Andreas Schwab <schwab@suse.de>
29627
29628 * scripts/abilist.awk: Also handle indirect functions in .opd
29629 section.
29630
1bead169
JM
296312012-11-28 Joseph Myers <joseph@codesourcery.com>
29632
29633 [BZ #13881]
29634 * sysdeps/x86/fpu/powl_helper.c: New file.
29635 * sysdeps/x86/fpu/Makefile: Likewise.
29636 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29637 (p3): New object.
29638 (__ieee754_powl): Use __powl_helper for finite arguments except
29639 integer exponents below 8.
29640 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29641 (p3): New object.
29642 (__ieee754_powl): Use __powl_helper for finite arguments except
29643 integer exponents below 8.
29644 * math/libm-test.inc (pow_test): Add more tests and enable some
29645 previously disabled tests.
29646 * sysdeps/i386/fpu/libm-test-ulps: Update.
29647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29648
0817d63d
SP
296492012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29650 Carlos O'Donell <carlos_odonell@mentor.com>
29651
29652 * nss/makedb.c (is_prime): Assert that input is odd and greater
29653 than 4. Note that fact in a comment too.
29654 (next_prime): Add 4 to input.
29655
de2fd463
SP
296562012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29657
29658 [BZ #11741]
29659 * libio/Makefile (tests): Add test case tst-fwrite-error.
29660 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29661 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29662 * libio/tst-fwrite-error.c: New test case.
29663
c515fb51
L
296642012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29665
29666 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29667 before casting to void *.
29668 * include/libc-internal.h (__pointer_type): New macro.
29669 (__integer_if_pointer_type_sub): Likewise.
29670 (__integer_if_pointer_type): Likewise.
29671 (cast_to_integer): Likewise.
29672 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29673 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29674 before casting to atomic64_t.
29675 (atomic_exchange_acq): Likewise.
29676 (__arch_exchange_and_add_body): Likewise.
29677 (__arch_add_body): Likewise.
29678 (atomic_add_negative): Likewise.
29679 (atomic_add_zero): Likewise.
29680
4cf77aa9
JM
296812012-11-26 Joseph Myers <joseph@codesourcery.com>
29682
29683 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29684 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29685 (add_fdes): Likewise.
29686 (linear_search_fdes): Likewise.
29687 (binary_search_unencoded_fdes): Likewise.
29688
d260b3b4
AS
296892012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29690
29691 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29692
67060746
AC
296932012-11-24 Adam Conrad <adconrad@0c3.net>
29694
29695 * configure.in: Autodetect C++ header directories.
29696 * configure: Regenerated.
29697
800938a1
MF
296982012-11-23 Mike Frysinger <vapier@gentoo.org>
29699
29700 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29701
4e6e34e6
AS
297022012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29703
29704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29705
7c7feb47
JM
297062012-11-22 Joseph Myers <joseph@codesourcery.com>
29707
7184dcdf
JM
29708 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29709 LDBL_MANT_DIG == 106]: Disable some tests.
29710 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29711 Likewise.
29712 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29713 Likewise.
29714
0a42601f
JM
29715 [BZ #14871]
29716 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29717 input for small inputs. Return +/- pi/2 for large inputs.
29718 * math/libm-test.inc (atan_test): Add more tests.
29719
79c9b9fe
JM
29720 * sysdeps/generic/unwind-dw2-fde-glibc.c
29721 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29722 __attribute__ ((unused)).
29723
c60d3bf2
JM
29724 [BZ #14645]
29725 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29726 x * y if x and y are nonzero and z is zero.
29727
ef1e0867
JM
29728 [BZ #14811]
29729 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29730 nonzero exponents with absolute value below 0x1p-117 to +/-
29731 0x1p-117.
29732
1468ded3
JM
29733 [BZ #14869]
29734 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29735 up arguments below 2**-450, not just those below 2**-500.
29736 * math/libm-test.inc (hypot_test): Add another test.
29737
8e27e3cc
JM
29738 [BZ #14868]
29739 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29740 Return a+b for ratio over 2**120, not 2**60.
29741 * math/libm-test.inc (hypot_test): Add another test.
29742
c9c0279b
JM
29743 * math/libm-test.inc (clog_test): Use
29744 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29745 (clog10_test): Likewise.
29746
7c7feb47
JM
29747 [BZ #6778]
29748 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29749
fff1530e
AS
297502012-11-22 Andreas Schwab <schwab@suse.de>
29751
29752 * sysdeps/i386/fpu/libm-test-ulps: Update.
29753
94558d30
PT
297542012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29755
29756 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29757 printf output with newline.
29758
7e1be741
L
297592012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29760
6bfea974
L
29761 [BZ #14865]
29762 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29763 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29764 -z nodlopen, -z initfirst and -z execstack support.
29765 * configure: Regenerated.
29766
7e1be741
L
29767 * elf/elf.h (DF_1_NODIRECT): New macro.
29768 (DF_1_IGNMULDEF): Likewise.
29769 (DF_1_NOKSYMS): Likewise.
29770 (DF_1_NOHDR): Likewise.
29771 (DF_1_EDITED): Likewise.
29772 (DF_1_NORELOC): Likewise.
29773 (DF_1_SYMINTPOSE): Likewise.
29774 (DF_1_GLOBAUDIT): Likewise.
29775 (DF_1_SINGLETON): Likewise.
29776 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29777 DT_1_SUPPORTED_MASK bits.
29778 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29779
105ce2ce
CD
297802012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29781
29782 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29783
123be9de
TS
297842012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29785
d072f3f7
TS
29786 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29787 macro.
29788
123be9de
TS
29789 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29790 (sendmmsg): Move declarations...
29791 * socket/sys/socket.h: ... here.
29792 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29793 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29794 include it from...
29795 * socket/recvmmsg.c: ... this new file.
29796 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29797 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29798 definition of __sendmmsg hidden.
29799 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29800 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29801 Move ENOSYS stub into and include it from...
29802 * socket/sendmmsg.c: ... this new file.
29803 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29804 (sysdep_routines): Move recvmmsg and sendmmsg...
29805 * socket/Makefile (routines): ... here.
29806 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29807 (GLIBC_PRIVATE): Add __sendmmsg.
29808 * include/sys/socket.h (__sendmmsg): Add declarations.
29809 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29810 sendmmsg.
29811
cf9a5d18
JM
298122012-11-20 Joseph Myers <joseph@codesourcery.com>
29813
29814 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29815 variable I1 with __attribute__ ((unused)).
29816 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29817
ecd4caf9
JM
298182012-11-19 Joseph Myers <joseph@codesourcery.com>
29819
be14d48f
JM
29820 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29821 DUMMY variables with __attribute__ ((unused)).
29822
ecd4caf9
JM
29823 * bits/byteswap.h: Include <bits/types.h>.
29824 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29825
986cab95
PT
298262012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29827
29828 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29829 string_t. Do not manually set errno.
29830 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29831 length with __strnlen. Make sure to both set errno and return it on
29832 failure.
29833
6d33cc9d
DM
298342012-11-19 David S. Miller <davem@davemloft.net>
29835
29836 With help from Joseph Myers.
29837 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29838 very large arguments properly.
29839 * math/libm-test.inc (atan_test): New tests.
29840 (atan2_test): New tests.
29841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29843
ee663277
JM
298442012-11-19 Joseph Myers <joseph@codesourcery.com>
29845
877f2d8e
JM
29846 [BZ #14856]
29847 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29848 Define to 3.
29849
116fc08a
JM
29850 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29851 [POSIX] (EADDRNOTAVAIL): Likewise.
29852 [POSIX] (EAFNOSUPPORT): Likewise.
29853 [POSIX] (EALREADY): Likewise.
29854 [POSIX] (ECONNABORTED): Likewise.
29855 [POSIX] (ECONNREFUSED): Likewise.
29856 [POSIX] (ECONNRESET): Likewise.
29857 [POSIX] (EDESTADDRREQ): Likewise.
29858 [POSIX] (EDQUOT): Likewise.
29859 [POSIX] (EHOSTUNREACH): Likewise.
29860 [POSIX] (EIDRM): Likewise.
29861 [POSIX] (EISCONN): Likewise.
29862 [POSIX] (ELOOP): Likewise.
29863 [POSIX] (EMULTIHOP): Likewise.
29864 [POSIX] (ENETDOWN): Likewise.
29865 [POSIX] (ENETUNREACH): Likewise.
29866 [POSIX] (ENOBUFS): Likewise.
29867 [POSIX] (ENODATA): Likewise.
29868 [POSIX] (ENOLINK): Likewise.
29869 [POSIX] (ENOMSG): Likewise.
29870 [POSIX] (ENOPROTOOPT): Likewise.
29871 [POSIX] (ENOSR): Likewise.
29872 [POSIX] (ENOSTR): Likewise.
29873 [POSIX] (ENOTCONN): Likewise.
29874 [POSIX] (ENOTSOCK): Likewise.
29875 [POSIX] (EOPNOTSUPP): Likewise.
29876 [POSIX] (EOVERFLOW): Likewise.
29877 [POSIX] (EPROTO): Likewise.
29878 [POSIX] (EPROTONOSUPPORT): Likewise.
29879 [POSIX] (EPROTOTYPE): Likewise.
29880 [POSIX] (ESTALE): Likewise.
29881 [POSIX] (ETIME): Likewise.
29882 [POSIX] (ETXTBSY): Likewise.
29883 [POSIX] (EWOULDBLOCK): Likewise.
29884 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29885 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29886 [POSIX] (SEEK_CUR): Likewise.
29887 [POSIX] (SEEK_END): Likewise.
29888 [POSIX || UNIX98] (mode_t): Do not require.
29889 [POSIX] (off_t): Likewise.
29890 [POSIX] (pid_t): Likewise.
29891 [POSIX] (sys/stat.h): Do not allow header.
29892 [POSIX] (unistd.h): Likewise.
29893 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29894 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29895 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29896 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29897 require.
29898 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29899 sigevent): Specify elements.
29900 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29901 entry.
29902 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29903 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29904
a483863f
JM
29905 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29906 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29907 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29908 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29909 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29910 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29911 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29912 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29913 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29914 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29915 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29916 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29917 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29918 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29919 Likewise.
29920 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29921 Likewise.
29922 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29923 Likewise.
29924 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29925 Likewise.
29926 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29927 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29928 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29929 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29930 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29931 Specify lower bound on value.
29932 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29933 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29934 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29935 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29936 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29937 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29938 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29939 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29940 value.
29941 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29942 as optional.
29943 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29944 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29945 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29946 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29947 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29948 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29949 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29950 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29951 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29952 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29953 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29954 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29955 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29956 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29957 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29958 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29959 entry.
29960 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29961 optional.
29962 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29963 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29964 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29965 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29966 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29967 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29968 Likewise.
29969 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29970 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29971 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29972 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29973 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29974 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29975 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29976 as optional.
29977 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29978 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29979 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29980 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29981 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29982 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29983 specify as optional.
29984 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29985 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29986 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29987 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29988 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29989 [XPG3] (NL_LANGMAX): Likewise.
29990 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29991 [POSIX || XPG3] (NL_NMAX): Likewise.
29992 [POSIX || XPG3] (NL_SETMAX): Likewise.
29993 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29994 [XPG3] (NZERO): Likewise.
29995 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29996 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29997 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29998 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29999 (REG_ERANGE): Expect.
30000 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30001 optional-constant.
30002 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30003 Use (void) in prototype.
30004 [POSIX] (*_t): Allow.
30005 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30006 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30007 (WRDE_BADVAL): Expect.
30008
5ba924e3
JM
30009 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30010 expect.
30011 [XPG3 || XPG4] (O_RSYNC): Likewise.
30012 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30013 Likewise.
30014 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30015 [XPG3 || XPG4] (sigqueue): Likewise.
30016 [XPG3 || XPG4] (sigtimedwait): Likewise.
30017 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30018 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30019 [XPG3 || XPG4] (vsnprintf): Likewise.
30020 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30021 Likewise.
30022 [XPG3 || XPG4] (blksize_t): Likewise.
30023 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30024 Likewise.
30025 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30026 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30027 [XPG3 || XPG4] (struct itimerspec): Likewise.
30028 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30029 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30030 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30031 [XPG3 || XPG4] (clockid_t): Likewise.
30032 [XPG3 || XPG4] (timer_t): Likewise.
30033 [XPG3 || XPG4] (clock_getres): Likewise.
30034 [XPG3 || XPG4] (clock_gettime): Likewise.
30035 [XPG3 || XPG4] (clock_settime): Likewise.
30036 [XPG3 || XPG4] (nanosleep): Likewise.
30037 [XPG3 || XPG4] (timer_create): Likewise.
30038 [XPG3 || XPG4] (timer_delete): Likewise.
30039 [XPG3 || XPG4] (timer_gettime): Likewise.
30040 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30041 [XPG3 || XPG4] (timer_settime): Likewise.
30042 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30043 [XPG3 || XPG4] (getlogin_r): Likewise.
30044 [XPG3 || XPG4] (pread): Likewise.
30045 [XPG3 || XPG4] (pthread_atfork): Likewise.
30046 [XPG3 || XPG4] (pwrite): Likewise.
30047
ee663277
JM
30048 [BZ #14835]
30049 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30050 <bits/siginfo.h>.
30051
942caa16
PT
300522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30053
e19af380
PT
30054 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30055 finalizing MALLSTREAM.
30056
942caa16
PT
30057 * sysdeps/mach/hurd/syncfs.c: New file.
30058
cfde9b46
SP
300592012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30060
30061 [BZ #14719]
30062 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30063 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30064 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30065 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30066 (_nss_dns_gethostbyname4_r): Likewise.
30067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30068 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30069
f6da27e5
PH
300702012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30071
30072 [BZ #13763]
30073 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30074
6665d4a2
SM
300752012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30076
1f51ee92
SM
30077 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30078 * elf/cache.c (print_entry): Print ",AArch64" for
30079 FLAG_AARCH64_LIB64
30080
6665d4a2
SM
30081 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30082 * elf/cache.c (print_entry): Print ",hard-float" for
30083 FLAG_ARM_LIBHF.
30084
05b227bd
DM
300852012-11-18 David S. Miller <davem@davemloft.net>
30086
30087 With help from Joseph Myers.
30088 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30089 cutoff to 2**-13.
30090 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30091 cutoff to 2**-25.
30092 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30093 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30094 small.
30095 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30096 * math/libm-test.inc (y0_test): New tests.
30097 (y1_test): New tests.
30098 * sysdeps/i386/fpu/libm-test-ulps: Update.
30099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30101
786b0b67
AS
301022012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30103
30104 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30105 64-bit targets.
30106 * configure: Regenerated.
30107
8e18b86d
DM
301082012-11-17 David S. Miller <davem@davemloft.net>
30109
30110 [BZ #14811]
30111 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30112 nonzero exponents with absolute value below 0x1p-128 to +/-
30113 0x1p-128.
30114
531f1ae0
JM
301152012-11-17 Joseph Myers <joseph@codesourcery.com>
30116
12df29e2
JM
30117 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30118
150dc1a0
JM
30119 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30120
531f1ae0
JM
30121 * posix/getconf-speclist.c: New file.
30122 * posix/posix-envs.def: Likewise.
30123 * posix/confstr.c (START_ENV_GROUP): New macro.
30124 (END_ENV_GROUP): Likewise.
30125 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30126 (KNOWN_PRESENT_ENV_STRING): Likewise.
30127 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30128 (UNKNOWN_ENVIRONMENT): Likewise.
30129 (confstr): Include posix-envs.def instead of handling
30130 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30131 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30132 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30133 (END_ENV_GROUP): Likewise.
30134 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30135 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30136 (UNKNOWN_ENVIRONMENT): Likewise.
30137 (__sysconf): Include posix-envs.def instead of handling associated
30138 cases directly here.
30139 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30140 preprocessing getconf-speclist.c rather than running getconf or
30141 generating empty file.
30142
a93f9cbc
PT
301432012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30144
30145 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30146
d64d9f87
AL
301472012-11-16 Andrej Lajovic <natrij@gmail.com>
30148
30149 [BZ #14672]
30150 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30151
447885eb
DM
301522012-11-16 David S. Miller <davem@davemloft.net>
30153
30154 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30155 smaller than LDBL_EPSILON/2.0L, just return xm1.
30156
bcbf9830
L
301572012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30158
30159 * elf/tst-array1.c (init): Set constructor priority to 1000.
30160 (fini): Set destructor priority to 1000.
30161 * elf/tst-array2dep.c: Likewise.
30162
2b766585
SP
301632012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30164
30165 [BZ #11741]
30166 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30167 (_IO_new_file_xsputn): Also return EOF if none of the input
30168 data was written when overflow failed.
30169 * libio/iopadn.c (_IO_padn): Likewise.
30170 * libio/iowpadn.c (_IO_wpadn): Likewise.
30171 * stdio-common/tst-put-error.c: Add copyright notice.
30172 (do_test): Add case for printing padded string.
30173 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30174 _IO_padn returned error.
30175 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30176 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30177 return EOF.
30178
b1848fde
SP
301792012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30180
30181 * libio/libioP.h: Add comment note that the references to C++
30182 bits are now obsolete.
30183
2fd89785
MS
301842012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30185
30186 * math/libm-test.inc (check_complex): Use asprintf.
30187
e3ea5409
JM
301882012-11-14 Joseph Myers <joseph@codesourcery.com>
30189
30190 * debug/pcprofiledump.c (print_version): Update copyright year.
30191 * malloc/memusagestat.c (print_version): Likewise.
30192
2e64d265
L
301932012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30194
30195 [BZ #14831]
30196 * elf/Makefile (tests): Add tst-audit8.
30197 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30198 ($(objpfx)tst-audit8.out): New target.
30199 (tst-audit8-ENV): New variable.
30200 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30201 audit if l_reloc_result is NULL.
30202 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30203 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30204 * elf/tst-audit8.c: New file.
30205
c485e4d2
MS
302062012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30207
30208 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30209 * misc/Makefile (CFLAGS-select.c): Define.
30210 * posix/Makefile (CFLAGS-pause.c): Define.
30211
3a0d900a
DM
302122012-11-13 David S. Miller <davem@davemloft.net>
30213
30214 * crypt/Makefile: Move test targets after toplevel Rules
30215 inclusion. Grab any necessary sysdep routines when linking.
30216 * crypt/md5.c (md5_process_block): Remove define, we will always
30217 name it __md5_process_block.
30218 (md5_finish_ctx): Update md5_process_block call.
30219 (md5_stream): Likewise.
30220 (md5_process_bytes): Likewise.
30221 (md5_process_block): Rename to __md5_process_block and move to ...
30222 * crypt/md5-block.c: ... here.
30223 * crypt/sha256.c (sha256_process_block): Move to ...
30224 * crypt/sha256-block.c: ... here.
30225 * crypt/sha512.c (sha512_process_block): Move to ...
30226 * crypt/sha512-block.c: ... here.
30227 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30228 path.
30229 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30230 * sysdeps/sparc/sparc64/multiarch/Makefile
30231 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30232 crypt subdir.
30233 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30234 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30235 multiarch changes.
30236 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30237 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30238 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30239 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30240 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30241 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30242 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30243 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30244 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30245 file.
30246 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30247 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30248 file.
30249 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30250
8ca89318
JM
302512012-11-13 Joseph Myers <joseph@codesourcery.com>
30252
e27d476a
JM
30253 * timezone/tzselect.ksh: Update from tzcode git revision
30254 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30255 * timezone/zdump.c: Likewise.
30256 * timezone/zic.c: Likewise.
30257 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30258 in TZVERSION setting, not $(PKGVERSION).
30259 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30260 REPORT_BUGS_TO settings.
30261
8ca89318
JM
30262 [BZ #14838]
30263 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30264 macro.
30265
47594329
MS
302662012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30267
30268 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30269 detection to immediately after _FP_ROUND().
30270 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30271 bits are 0.
30272
640ac3f1
DM
302732012-11-11 David S. Miller <davem@davemloft.net>
30274
30275 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30276 inttypes.h
30277 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30278 __close rather than their public counterparts.
30279
3d2577bb
JM
302802012-11-10 Joseph Myers <joseph@codesourcery.com>
30281
30282 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30283 file.
30284 [UNIX98] (sem_timedwait): Do not expect.
30285 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30286 [XPG4 || UNIX98] (sockatmark): Do not expect.
30287 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30288 (clock_getcpuclockid): Do not expect.
30289 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30290 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30291 Do not expect.
30292 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30293 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30294 [UNIX98] (vwscanf): Likewise.
30295 [UNIX98] (vswscanf): Likewise.
30296
fb1ae1ee
JM
302972012-11-09 Joseph Myers <joseph@codesourcery.com>
30298
9ec6f8bd
JM
30299 * timezone/version.h: Remove file.
30300 * timezone/README: Do not refer to version.h.
30301 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30302 $(objpfx)version.h.
30303 ($(objpfx)zdump.o): Likewise.
c3f81911 30304 ($(objpfx)version.h): New target.
9ec6f8bd 30305
0aa8f8a1
JM
30306 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30307 2012i.
30308 * timezone/README: Don't mention modification to tzselect.ksh.
30309 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30310 work on unmodified tzselect.ksh. Substitute version numbers in
30311 tzselect.ksh.
30312
4e87147f
JM
30313 * Makefile (format-me): Remove.
30314 (INSTALL): Adjust indentation. Use commands directly instead of
30315 using $(format-me).
30316
8b748aed
JM
30317 * aclocal.m4 (ACX_PKGVERSION): New macro.
30318 (ACX_BUGURL): Likewise.
30319 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30320 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30321 (REPORT_BUGS_TO): Likewise.
30322 * configure: Regenerated.
30323 * config.h.in (PKGVERSION): New macro.
30324 (REPORT_BUGS_TO): Likewise.
30325 * config.make.in (PKGVERSION): New variable.
30326 (PKGVERSION_TEXI): Likewise.
30327 (REPORT_BUGS_TO): Likewise.
30328 (REPORT_BUGS_TEXI): Likewise.
30329 * Makefile (format-me): Use -I$(common-objpfx)manual.
30330 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30331 ($(common-objpfx)manual/%): New target.
30332 (manual/%): Remove target.
30333 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30334 (print_version): Use PKGVERSION.
30335 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30336 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30337 and REPORT_BUGS_TO.
30338 ($(objpfx)xtrace): Likewise.
30339 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30340 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30341 (print_version): Use PKGVERSION.
30342 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30343 (do_version): Use PKGVERSION.
30344 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30345 REPORT_BUGS_TO.
30346 (common-ldd-rewrite): Likewise.
30347 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30348 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30349 (print_version): Use PKGVERSION.
30350 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30351 * elf/pldd.c (argp_program_bug_address): Remove variable.
30352 (more_help): New function.
30353 (argp): Use more_help.
30354 (print_version): Use PKGVERSION.
30355 * elf/sln.c (main): Use PKGVERSION.
30356 (usage): Use REPORT_BUGS_TO.
30357 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30358 (top level): Use PKGVERSION.
30359 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30360 (print_version): Use PKGVERSION.
30361 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30362 (print_version): Use PKGVERSION.
30363 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30364 (print_version): Use PKGVERSION.
30365 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30366 (print_version): Use PKGVERSION.
30367 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30368 (print_version): Use PKGVERSION.
30369 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30370 (print_version): Use PKGVERSION.
30371 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30372 and BUGURL.
30373 ($(objpfx)memusage): Likewise.
30374 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30375 (do_version): Use PKGVERSION.
30376 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30377 (print_version): Use PKGVERSION.
30378 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30379 ($PKGVERSION): New variable.
30380 ($REPORT_BUGS_TO): Likewise.
30381 (usage): Use $REPORT_BUGS_TO.
30382 (top level): Use $PKGVERSION.
30383 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30384 ($(objpfx)pkgvers.texi): New rule.
30385 ($(objpfx)stamp-pkgvers): Likewise.
30386 * manual/install.texi: Include pkgvers.texi.
30387 (--with-pkgversion): Document new configure option.
30388 (--with-bugurl): Likewise.
30389 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30390 than necessarily for this particular distribution. Use
30391 REPORT_BUGS_TO for where to report bugs.
30392 * INSTALL: Regenerated.
30393 * manual/libc.texinfo: Include pkgvers.texi.
30394 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30395 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30396 (print_version): Use PKGVERSION.
30397 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30398 (print_version): Use PKGVERSION.
30399 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30400 (print_version): Use PKGVERSION.
30401 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30402 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30403 macro.
30404 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30405 (print_version): Use PKGVERSION.
30406 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30407 (print_version): Use PKGVERSION.
30408 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30409 and PKGVERSION.
30410
92e4b6a9
JM
30411 * timezone/checktab.awk: Update from tzcode 2012i.
30412 * timezone/ialloc.c: Likewise.
30413 * timezone/private.h: Likewise.
30414 * timezone/scheck.c: Likewise.
30415 * timezone/tzfile.h: Likewise.
30416 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30417 (TZVERSION): Hardcode tzcode version number.
30418 * timezone/zdump.c: Update from tzcode 2012i.
30419 * timezone/zic.c: Likewise.
30420 * timezone/version.h: New file.
30421 * timezone/README: Describe version.h. Update upstream location.
30422
9bde902c
JM
30423 [BZ #14824]
30424 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30425 (mktemp): Enable declaration.
30426 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30427 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30428 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30429 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30430 Likewise.
30431 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30432 Likewise.
30433 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30434 Likewise.
30435 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30436 Likewise.
30437 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30438 Likewise.
30439 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30440 Likewise.
30441
fb1ae1ee
JM
30442 [BZ #14821]
30443 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30444 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30445 for copies of such integer values.
30446 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30447 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30448
2c1adbcb
AJ
304492012-11-09 Andreas Jaeger <aj@suse.de>
30450
30451 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30452 definitions and declarations that are provided by
30453 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30454
d0f8457e
AK
304552012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30456
3a235abb 30457 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
30458 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30459 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30460 definition.
30461
57241e26
MS
304622012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30463
30464 * elf/elf.h: Update comment before AArch64 relocations.
30465
60e8270d
DM
304662012-11-07 David S. Miller <davem@davemloft.net>
30467
30468 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30469 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30470 (__start_context): Declare.
30471 (__makecontext_ret): Delete.
30472 (__makecontext): Hook up __start_context instead of
30473 __makecontext_ret.
30474 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30475 (sysdep_routines): Add __start_context when in stdlib.
30476
0fbb0fbc
JM
304772012-11-07 Joseph Myers <joseph@codesourcery.com>
30478
30479 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30480 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30481 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30482 hardcoded "nm".
30483 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30484 (READELF): New variable. Use it instead of hardcoded "readelf".
30485
eb48db7e
L
304862012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30487
30488 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30489 * sysdeps/x86/Makefile: Here.
30490 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30491 * sysdeps/x86/tst-xmmymm.sh: This.
30492
05bcf62a
JM
304932012-11-07 Joseph Myers <joseph@codesourcery.com>
30494
c4b6cf53
JM
30495 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30496 expectations.
30497 [UNIX98] (pthread_barrier_t): Do not expect.
30498 [UNIX98] (pthread_barrierattr_t): Likewise.
30499 [UNIX98] (pthread_spinlock_t): Likewise.
30500 [UNIX98] (pthread_barrier_destroy): Likewise.
30501 [UNIX98] (pthread_barrier_init): Likewise.
30502 [UNIX98] (pthread_barrier_wait): Likewise.
30503 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30504 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30505 [UNIX98] (pthread_barrierattr_init): Likewise.
30506 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30507 [UNIX98] (pthread_getcpuclockid): Likewise.
30508 [UNIX98] (pthread_mutex_timedlock): Likewise.
30509 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30510 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30511 [UNIX98] (pthread_sigmask): Likewise.
30512 [UNIX98] (pthread_spin_destroy): Likewise.
30513 [UNIX98] (pthread_spin_init): Likewise.
30514 [UNIX98] (pthread_spin_lock): Likewise.
30515 [UNIX98] (pthread_spin_trylock): Likewise.
30516 [UNIX98] (pthread_spin_unlock): Likewise.
30517 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30518 Do not expect.
30519 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30520 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30521 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30522 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30523 [XPG3 || XPG4] (pthread_key_t): Likewise.
30524 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30525 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30526 [XPG3 || XPG4] (pthread_once_t): Likewise.
30527 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30528 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30529 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30530 [XPG3 || XPG4] (pthread_t): Likewise.
30531
cbe6e120
JM
30532 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30533 not expect.
30534 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30535
1b126443
JM
30536 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30537 Change function return type to int.
30538
b961a573
JM
30539 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30540 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30541 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30542 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30543 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30544 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30545 [!POSIX] (posix_madvise): Likewise.
30546 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30547 && !UNIX98].
30548 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30549 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30550 (mode_t): Likewise.
30551 (posix_mem_offset): Likewise.
30552 (posix_typed_mem_get_info): Likewise.
30553 (posix_typed_mem_open): Likewise.
30554
9e188909
JM
30555 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30556 Change condition to [XOPEN2K8].
30557
05bcf62a
JM
30558 * conform/conformtest.pl: Preprocess allow-header data with -x c
30559 instead of from stdin.
30560 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30561 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30562 [C99-based standards] (cerfc): Likewise.
30563 [C99-based standards] (cexp2): Likewise.
30564 [C99-based standards] (cexpm1): Likewise.
30565 [C99-based standards] (clog10): Likewise.
30566 [C99-based standards] (clog1p): Likewise.
30567 [C99-based standards] (clog2): Likewise.
30568 [C99-based standards] (clgamma): Likewise.
30569 [C99-based standards] (ctgamma): Likewise.
30570 [C99-based standards] (cerff): Likewise.
30571 [C99-based standards] (cerfcf): Likewise.
30572 [C99-based standards] (cexp2f): Likewise.
30573 [C99-based standards] (cexpm1f): Likewise.
30574 [C99-based standards] (clog10f): Likewise.
30575 [C99-based standards] (clog1pf): Likewise.
30576 [C99-based standards] (clog2f): Likewise.
30577 [C99-based standards] (clgammaf): Likewise.
30578 [C99-based standards] (ctgammaf): Likewise.
30579 [C99-based standards] (cerfl): Likewise.
30580 [C99-based standards] (cerfcl): Likewise.
30581 [C99-based standards] (cexp2l): Likewise.
30582 [C99-based standards] (cexpm1l): Likewise.
30583 [C99-based standards] (clog10l): Likewise.
30584 [C99-based standards] (clog1pl): Likewise.
30585 [C99-based standards] (clog2l): Likewise.
30586 [C99-based standards] (clgammal): Likewise.
30587 [C99-based standards] (ctgammal): Likewise.
30588 * conform/data/inttypes.h-data [C99-based standards]: Include
30589 stdint.h-data. Remove all expectations for stdint.h contents.
30590 [C99-based standards] (PRI*): Do not allow.
30591 [C99-based standards] (SCN*): Likewise.
30592 [C99-based standards] (*_t): Likewise.
30593 [C99-based-standards] (PRId8): Expect macro.
30594 [C99-based-standards] (PRIi8): Likewise.
30595 [C99-based-standards] (PRIo8): Likewise.
30596 [C99-based-standards] (PRIu8): Likewise.
30597 [C99-based-standards] (PRIx8): Likewise.
30598 [C99-based-standards] (PRIX8): Likewise.
30599 [C99-based-standards] (SCNd8): Likewise.
30600 [C99-based-standards] (SCNi8): Likewise.
30601 [C99-based-standards] (SCNo8): Likewise.
30602 [C99-based-standards] (SCNu8): Likewise.
30603 [C99-based-standards] (SCNx8): Likewise.
30604 [C99-based-standards] (PRIdLEAST8): Likewise.
30605 [C99-based-standards] (PRIiLEAST8): Likewise.
30606 [C99-based-standards] (PRIoLEAST8): Likewise.
30607 [C99-based-standards] (PRIuLEAST8): Likewise.
30608 [C99-based-standards] (PRIxLEAST8): Likewise.
30609 [C99-based-standards] (PRIXLEAST8): Likewise.
30610 [C99-based-standards] (SCNdLEAST8): Likewise.
30611 [C99-based-standards] (SCNiLEAST8): Likewise.
30612 [C99-based-standards] (SCNoLEAST8): Likewise.
30613 [C99-based-standards] (SCNuLEAST8): Likewise.
30614 [C99-based-standards] (SCNxLEAST8): Likewise.
30615 [C99-based-standards] (PRIdFAST8): Likewise.
30616 [C99-based-standards] (PRIiFAST8): Likewise.
30617 [C99-based-standards] (PRIoFAST8): Likewise.
30618 [C99-based-standards] (PRIuFAST8): Likewise.
30619 [C99-based-standards] (PRIxFAST8): Likewise.
30620 [C99-based-standards] (PRIXFAST8): Likewise.
30621 [C99-based-standards] (SCNdFAST8): Likewise.
30622 [C99-based-standards] (SCNiFAST8): Likewise.
30623 [C99-based-standards] (SCNoFAST8): Likewise.
30624 [C99-based-standards] (SCNuFAST8): Likewise.
30625 [C99-based-standards] (SCNxFAST8): Likewise.
30626 [C99-based-standards] (PRId16): Likewise.
30627 [C99-based-standards] (PRIi16): Likewise.
30628 [C99-based-standards] (PRIo16): Likewise.
30629 [C99-based-standards] (PRIu16): Likewise.
30630 [C99-based-standards] (PRIx16): Likewise.
30631 [C99-based-standards] (PRIX16): Likewise.
30632 [C99-based-standards] (SCNd16): Likewise.
30633 [C99-based-standards] (SCNi16): Likewise.
30634 [C99-based-standards] (SCNo16): Likewise.
30635 [C99-based-standards] (SCNu16): Likewise.
30636 [C99-based-standards] (SCNx16): Likewise.
30637 [C99-based-standards] (PRIdLEAST16): Likewise.
30638 [C99-based-standards] (PRIiLEAST16): Likewise.
30639 [C99-based-standards] (PRIoLEAST16): Likewise.
30640 [C99-based-standards] (PRIuLEAST16): Likewise.
30641 [C99-based-standards] (PRIxLEAST16): Likewise.
30642 [C99-based-standards] (PRIXLEAST16): Likewise.
30643 [C99-based-standards] (SCNdLEAST16): Likewise.
30644 [C99-based-standards] (SCNiLEAST16): Likewise.
30645 [C99-based-standards] (SCNoLEAST16): Likewise.
30646 [C99-based-standards] (SCNuLEAST16): Likewise.
30647 [C99-based-standards] (SCNxLEAST16): Likewise.
30648 [C99-based-standards] (PRIdFAST16): Likewise.
30649 [C99-based-standards] (PRIiFAST16): Likewise.
30650 [C99-based-standards] (PRIoFAST16): Likewise.
30651 [C99-based-standards] (PRIuFAST16): Likewise.
30652 [C99-based-standards] (PRIxFAST16): Likewise.
30653 [C99-based-standards] (PRIXFAST16): Likewise.
30654 [C99-based-standards] (SCNdFAST16): Likewise.
30655 [C99-based-standards] (SCNiFAST16): Likewise.
30656 [C99-based-standards] (SCNoFAST16): Likewise.
30657 [C99-based-standards] (SCNuFAST16): Likewise.
30658 [C99-based-standards] (SCNxFAST16): Likewise.
30659 [C99-based-standards] (PRId32): Likewise.
30660 [C99-based-standards] (PRIi32): Likewise.
30661 [C99-based-standards] (PRIo32): Likewise.
30662 [C99-based-standards] (PRIu32): Likewise.
30663 [C99-based-standards] (PRIx32): Likewise.
30664 [C99-based-standards] (PRIX32): Likewise.
30665 [C99-based-standards] (SCNd32): Likewise.
30666 [C99-based-standards] (SCNi32): Likewise.
30667 [C99-based-standards] (SCNo32): Likewise.
30668 [C99-based-standards] (SCNu32): Likewise.
30669 [C99-based-standards] (SCNx32): Likewise.
30670 [C99-based-standards] (PRIdLEAST32): Likewise.
30671 [C99-based-standards] (PRIiLEAST32): Likewise.
30672 [C99-based-standards] (PRIoLEAST32): Likewise.
30673 [C99-based-standards] (PRIuLEAST32): Likewise.
30674 [C99-based-standards] (PRIxLEAST32): Likewise.
30675 [C99-based-standards] (PRIXLEAST32): Likewise.
30676 [C99-based-standards] (SCNdLEAST32): Likewise.
30677 [C99-based-standards] (SCNiLEAST32): Likewise.
30678 [C99-based-standards] (SCNoLEAST32): Likewise.
30679 [C99-based-standards] (SCNuLEAST32): Likewise.
30680 [C99-based-standards] (SCNxLEAST32): Likewise.
30681 [C99-based-standards] (PRIdFAST32): Likewise.
30682 [C99-based-standards] (PRIiFAST32): Likewise.
30683 [C99-based-standards] (PRIoFAST32): Likewise.
30684 [C99-based-standards] (PRIuFAST32): Likewise.
30685 [C99-based-standards] (PRIxFAST32): Likewise.
30686 [C99-based-standards] (PRIXFAST32): Likewise.
30687 [C99-based-standards] (SCNdFAST32): Likewise.
30688 [C99-based-standards] (SCNiFAST32): Likewise.
30689 [C99-based-standards] (SCNoFAST32): Likewise.
30690 [C99-based-standards] (SCNuFAST32): Likewise.
30691 [C99-based-standards] (SCNxFAST32): Likewise.
30692 [C99-based-standards] (PRId64): Likewise.
30693 [C99-based-standards] (PRIi64): Likewise.
30694 [C99-based-standards] (PRIo64): Likewise.
30695 [C99-based-standards] (PRIu64): Likewise.
30696 [C99-based-standards] (PRIx64): Likewise.
30697 [C99-based-standards] (PRIX64): Likewise.
30698 [C99-based-standards] (SCNd64): Likewise.
30699 [C99-based-standards] (SCNi64): Likewise.
30700 [C99-based-standards] (SCNo64): Likewise.
30701 [C99-based-standards] (SCNu64): Likewise.
30702 [C99-based-standards] (SCNx64): Likewise.
30703 [C99-based-standards] (PRIdLEAST64): Likewise.
30704 [C99-based-standards] (PRIiLEAST64): Likewise.
30705 [C99-based-standards] (PRIoLEAST64): Likewise.
30706 [C99-based-standards] (PRIuLEAST64): Likewise.
30707 [C99-based-standards] (PRIxLEAST64): Likewise.
30708 [C99-based-standards] (PRIXLEAST64): Likewise.
30709 [C99-based-standards] (SCNdLEAST64): Likewise.
30710 [C99-based-standards] (SCNiLEAST64): Likewise.
30711 [C99-based-standards] (SCNoLEAST64): Likewise.
30712 [C99-based-standards] (SCNuLEAST64): Likewise.
30713 [C99-based-standards] (SCNxLEAST64): Likewise.
30714 [C99-based-standards] (PRIdFAST64): Likewise.
30715 [C99-based-standards] (PRIiFAST64): Likewise.
30716 [C99-based-standards] (PRIoFAST64): Likewise.
30717 [C99-based-standards] (PRIuFAST64): Likewise.
30718 [C99-based-standards] (PRIxFAST64): Likewise.
30719 [C99-based-standards] (PRIXFAST64): Likewise.
30720 [C99-based-standards] (SCNdFAST64): Likewise.
30721 [C99-based-standards] (SCNiFAST64): Likewise.
30722 [C99-based-standards] (SCNoFAST64): Likewise.
30723 [C99-based-standards] (SCNuFAST64): Likewise.
30724 [C99-based-standards] (SCNxFAST64): Likewise.
30725 [C99-based-standards] (PRIdMAX): Likewise.
30726 [C99-based-standards] (PRIiMAX): Likewise.
30727 [C99-based-standards] (PRIoMAX): Likewise.
30728 [C99-based-standards] (PRIuMAX): Likewise.
30729 [C99-based-standards] (PRIxMAX): Likewise.
30730 [C99-based-standards] (PRIXMAX): Likewise.
30731 [C99-based-standards] (SCNdMAX): Likewise.
30732 [C99-based-standards] (SCNiMAX): Likewise.
30733 [C99-based-standards] (SCNoMAX): Likewise.
30734 [C99-based-standards] (SCNuMAX): Likewise.
30735 [C99-based-standards] (SCNxMAX): Likewise.
30736 [C99-based-standards] (PRIdPTR): Likewise.
30737 [C99-based-standards] (PRIiPTR): Likewise.
30738 [C99-based-standards] (PRIoPTR): Likewise.
30739 [C99-based-standards] (PRIuPTR): Likewise.
30740 [C99-based-standards] (PRIxPTR): Likewise.
30741 [C99-based-standards] (PRIXPTR): Likewise.
30742 [C99-based-standards] (SCNdPTR): Likewise.
30743 [C99-based-standards] (SCNiPTR): Likewise.
30744 [C99-based-standards] (SCNoPTR): Likewise.
30745 [C99-based-standards] (SCNuPTR): Likewise.
30746 [C99-based-standards] (SCNxPTR): Likewise.
30747 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30748 allow.
30749 * conform/data/stdint.h-data: Update comments to clarify
30750 requirements.
30751 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30752 type.
30753 [C99-based standards] (INT8_MAX): Likewise.
30754 [C99-based standards] (INT16_MIN): Likewise.
30755 [C99-based standards] (INT16_MAX): Likewise.
30756 [C99-based standards] (INT32_MIN): Likewise.
30757 [C99-based standards] (INT32_MAX): Likewise.
30758 [C99-based standards] (INT64_MIN): Likewise.
30759 [C99-based standards] (INT64_MAX): Likewise.
30760 [C99-based standards] (UINT8_MAX): Likewise.
30761 [C99-based standards] (UINT16_MAX): Likewise.
30762 [C99-based standards] (UINT32_MAX): Likewise.
30763 [C99-based standards] (UINT64_MAX): Likewise.
30764 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30765 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30766 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30767 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30768 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30769 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30770 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30771 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30772 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30773 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30774 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30775 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30776 [C99-based standards] (INT_FAST8_MIN): Likewise.
30777 [C99-based standards] (INT_FAST8_MAX): Likewise.
30778 [C99-based standards] (INT_FAST16_MIN): Likewise.
30779 [C99-based standards] (INT_FAST16_MAX): Likewise.
30780 [C99-based standards] (INT_FAST32_MIN): Likewise.
30781 [C99-based standards] (INT_FAST32_MAX): Likewise.
30782 [C99-based standards] (INT_FAST64_MIN): Likewise.
30783 [C99-based standards] (INT_FAST64_MAX): Likewise.
30784 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30785 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30786 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30787 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30788 [C99-based standards] (INTPTR_MIN): Likewise.
30789 [C99-based standards] (INTPTR_MAX): Likewise.
30790 [C99-based standards] (UINTPTR_MAX): Likewise.
30791 [C99-based standards] (INTMAX_MIN): Likewise.
30792 [C99-based standards] (INTMAX_MAX): Likewise.
30793 [C99-based standards] (UINTMAX_MAX): Likewise.
30794 [C99-based standards] (PTRDIFF_MIN): Likewise.
30795 [C99-based standards] (PTRDIFF_MAX): Likewise.
30796 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30797 [C99-based standards] (SIZE_MAX): Likewise.
30798 [C99-based standards] (WCHAR_MAX): Likewise.
30799 [C99-based standards] (WINT_MAX): Likewise.
30800 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30801 constraint on value.
30802 [C99-based standards] (WCHAR_MIN): Likewise.
30803 [C99-based standards] (WINT_MIN): Likewise.
30804 [C99-based standards] (*_t): Allow.
30805 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30806 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30807 Include math.h-data and complex.h-data. Remove all expectations
30808 of math.h and complex.h contents.
30809 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30810 at end of line.
30811 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30812 (struct tm): Expect tag.
30813 [C99-based-standards] (wcstof): Expect function.
30814 [C99-based-standards] (wcstold): Likewise.
30815 [C99-based-standards] (wcstoll): Likewise.
30816 [C99-based-standards] (wcstoull): Likewise.
30817 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30818 macro-int-constant. Specify type.
30819 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30820 constraint on value.
30821 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30822 Specify type.
30823 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30824 Specify value.
30825 [ISO C standards]: Do not allow headers.
30826 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30827 wcs[abcdefghijklmnopqrstuvwxyz]*.
30828 [ISO C standards] (*_t): Do not allow.
30829 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30830 Expect function.
30831 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30832 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30833 Specify type.
30834 [ISO C standards]: Do not allow headers.
30835 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30836 is[abcdefghijklmnopqrstuvwxyz]*.
30837 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30838 to[abcdefghijklmnopqrstuvwxyz]*.
30839 [ISO C standards] (*_t): Do not allow.
30840 * conform/data/stdalign.h-data: New file.
30841 * conform/data/stdbool.h-data: Likewise.
30842 * conform/data/stdnoreturn.h-data: Likewise.
30843
7514feb8
RM
308442012-11-07 Roland McGrath <roland@hack.frob.com>
30845
30846 [BZ #14815]
30847 * manual/filesys.texi (Directory Entries): Typo fix.
30848 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30849
19b2ecfc
MS
308502012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30851
30852 * elf/elf.h (EM_AARCH64): New macro.
30853 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30854 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30855 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30856 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30857 (R_AARCH64_TLSDESC): Likewise.
30858 (NT_ARM_TLS): Likewise.
30859 (NT_ARM_HW_BREAK): Likewise.
30860 (NT_ARM_HW_WATCH): Likewise.
30861
60e235ee
JM
308622012-11-07 Joseph Myers <joseph@codesourcery.com>
30863
30864 [BZ #14811]
30865 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30866 (__ieee754_powl): Saturate nonzero exponents with absolute value
30867 below 0x1p-79 to +/- 0x1p-79.
30868 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30869 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30870 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30871 nonzero exponents with absolute value below 0x1p-32 to +/-
30872 0x1p-32.
30873 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30874 (__ieee754_powl): Saturate nonzero exponents with absolute value
30875 below 0x1p-79 to +/- 0x1p-79.
30876 * math/libm-test.inc (pow_test): Add more tests.
30877
0ab234b7
AK
308782012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30879
30880 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30881 _dl_s390_cap_flags with kernel. Increase string length.
30882 (_dl_s390_platforms): Add z196 and zEC12.
30883
45832f74
JM
308842012-11-07 Joseph Myers <joseph@codesourcery.com>
30885
30886 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30887 Change XOPEN21K to XOPEN2K.
30888
19218757
MK
308892012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30890
30891 * string/memmove.c: Use memcpy when possible.
30892
c5f45721
AJ
308932012-11-06 Andreas Jaeger <aj@suse.de>
30894
30895 * po/eo.po: Update from translation team.
30896
82477c28
JM
308972012-11-06 Joseph Myers <joseph@codesourcery.com>
30898
30899 [BZ #14793]
30900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30901 exponent and small x and y exponents, scale x or y up. Increase
30902 by 2 the exponent used in scaling up.
30903 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30904 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30905 * math/libm-test.inc (fma_test): Add more tests.
30906 (fma_test_towardzero): Likewise.
30907 (fma_test_downward): Likewise.
30908 (fma_test_upward): Likewise.
30909
99252c8c
JM
309102012-11-05 Joseph Myers <joseph@codesourcery.com>
30911
acfa885f
JM
30912 [BZ #14805]
30913 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30914 fenv_t *.
30915
99252c8c
JM
30916 [BZ #14801]
30917 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30918 namespace for names of struct fields.
30919 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30920 fenv_t fields.
30921 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30922 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30923
d6d98dea
ST
309242012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30925
30926 [BZ #3665]
30927 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30928
e10bb107
TS
309292012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30930
30931 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30932 PTR_DEMANGLE.
30933
30934 [BZ #5246]
30935 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30936 PTR_DEMANGLE.
30937
a0c2940d
JM
309382012-11-04 Joseph Myers <joseph@codesourcery.com>
30939
30940 [BZ #14797]
30941 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30942 definitely overflow as x * y not x * y + z.
30943 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30944 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30945 * math/libm-test.inc (fma_test): Add more tests.
30946 (fma_test_towardzero): Likewise.
30947 (fma_test_downward): Likewise.
30948 (fma_test_upward): Likewise.
30949
b830319d
TS
309502012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30951
30952 [BZ #157]
30953
30954 * include/stub-tag.h: Remove file.
30955 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30956 '#include' of it.
30957 * manual/maint.texi (Porting): Don't reference it.
30958 * Makerules ($(objpfx)stubs): Likewise.
30959 * dirent/closedir.c: Don't include <stub-tag.h>.
30960 * dirent/dirfd.c: Likewise.
30961 * dirent/fdopendir.c: Likewise.
30962 * dirent/getdents.c: Likewise.
30963 * dirent/getdents64.c: Likewise.
30964 * dirent/opendir.c: Likewise.
30965 * dirent/readdir.c: Likewise.
30966 * dirent/readdir64.c: Likewise.
30967 * dirent/readdir64_r.c: Likewise.
30968 * dirent/readdir_r.c: Likewise.
30969 * dirent/rewinddir.c: Likewise.
30970 * dirent/seekdir.c: Likewise.
30971 * dirent/telldir.c: Likewise.
30972 * gmon/profil.c: Likewise.
30973 * grp/setgroups.c: Likewise.
30974 * inet/if_index.c: Likewise.
30975 * io/access.c: Likewise.
30976 * io/chdir.c: Likewise.
30977 * io/chmod.c: Likewise.
30978 * io/chown.c: Likewise.
30979 * io/close.c: Likewise.
30980 * io/dup.c: Likewise.
30981 * io/dup2.c: Likewise.
30982 * io/dup3.c: Likewise.
30983 * io/euidaccess.c: Likewise.
30984 * io/faccessat.c: Likewise.
30985 * io/fchdir.c: Likewise.
30986 * io/fchmod.c: Likewise.
30987 * io/fchmodat.c: Likewise.
30988 * io/fchown.c: Likewise.
30989 * io/fchownat.c: Likewise.
30990 * io/fcntl.c: Likewise.
30991 * io/flock.c: Likewise.
30992 * io/fstatfs.c: Likewise.
30993 * io/fstatfs64.c: Likewise.
30994 * io/fstatvfs.c: Likewise.
30995 * io/fstatvfs64.c: Likewise.
30996 * io/futimens.c: Likewise.
30997 * io/fxstat.c: Likewise.
30998 * io/fxstat64.c: Likewise.
30999 * io/fxstatat.c: Likewise.
31000 * io/fxstatat64.c: Likewise.
31001 * io/getcwd.c: Likewise.
31002 * io/isatty.c: Likewise.
31003 * io/lchmod.c: Likewise.
31004 * io/lchown.c: Likewise.
31005 * io/link.c: Likewise.
31006 * io/linkat.c: Likewise.
31007 * io/lseek.c: Likewise.
31008 * io/lseek64.c: Likewise.
31009 * io/lxstat64.c: Likewise.
31010 * io/mkdir.c: Likewise.
31011 * io/mkdirat.c: Likewise.
31012 * io/mkfifo.c: Likewise.
31013 * io/mkfifoat.c: Likewise.
31014 * io/open.c: Likewise.
31015 * io/open64.c: Likewise.
31016 * io/openat.c: Likewise.
31017 * io/openat64.c: Likewise.
31018 * io/pipe.c: Likewise.
31019 * io/pipe2.c: Likewise.
31020 * io/poll.c: Likewise.
31021 * io/posix_fadvise.c: Likewise.
31022 * io/posix_fadvise64.c: Likewise.
31023 * io/posix_fallocate.c: Likewise.
31024 * io/posix_fallocate64.c: Likewise.
31025 * io/read.c: Likewise.
31026 * io/readlink.c: Likewise.
31027 * io/readlinkat.c: Likewise.
31028 * io/rmdir.c: Likewise.
31029 * io/sendfile.c: Likewise.
31030 * io/sendfile64.c: Likewise.
31031 * io/statfs.c: Likewise.
31032 * io/statfs64.c: Likewise.
31033 * io/statvfs.c: Likewise.
31034 * io/statvfs64.c: Likewise.
31035 * io/symlink.c: Likewise.
31036 * io/symlinkat.c: Likewise.
31037 * io/ttyname.c: Likewise.
31038 * io/ttyname_r.c: Likewise.
31039 * io/umask.c: Likewise.
31040 * io/unlink.c: Likewise.
31041 * io/unlinkat.c: Likewise.
31042 * io/utime.c: Likewise.
31043 * io/utimensat.c: Likewise.
31044 * io/write.c: Likewise.
31045 * io/xmknod.c: Likewise.
31046 * io/xmknodat.c: Likewise.
31047 * io/xstat.c: Likewise.
31048 * io/xstat64.c: Likewise.
31049 * login/getpt.c: Likewise.
31050 * login/grantpt.c: Likewise.
31051 * login/unlockpt.c: Likewise.
31052 * math/e_acoshl.c: Likewise.
31053 * math/e_acosl.c: Likewise.
31054 * math/e_asinl.c: Likewise.
31055 * math/e_atan2l.c: Likewise.
31056 * math/e_atanhl.c: Likewise.
31057 * math/e_coshl.c: Likewise.
31058 * math/e_expl.c: Likewise.
31059 * math/e_fmodl.c: Likewise.
31060 * math/e_gammal_r.c: Likewise.
31061 * math/e_hypotl.c: Likewise.
31062 * math/e_j0l.c: Likewise.
31063 * math/e_j1l.c: Likewise.
31064 * math/e_jnl.c: Likewise.
31065 * math/e_lgammal_r.c: Likewise.
31066 * math/e_log10l.c: Likewise.
31067 * math/e_log2l.c: Likewise.
31068 * math/e_logl.c: Likewise.
31069 * math/e_powl.c: Likewise.
31070 * math/e_rem_pio2l.c: Likewise.
31071 * math/e_sinhl.c: Likewise.
31072 * math/e_sqrtl.c: Likewise.
31073 * math/fclrexcpt.c: Likewise.
31074 * math/fedisblxcpt.c: Likewise.
31075 * math/feenablxcpt.c: Likewise.
31076 * math/fegetenv.c: Likewise.
31077 * math/fegetexcept.c: Likewise.
31078 * math/fegetround.c: Likewise.
31079 * math/feholdexcpt.c: Likewise.
31080 * math/fesetenv.c: Likewise.
31081 * math/fesetround.c: Likewise.
31082 * math/feupdateenv.c: Likewise.
31083 * math/fgetexcptflg.c: Likewise.
31084 * math/fraiseexcpt.c: Likewise.
31085 * math/fsetexcptflg.c: Likewise.
31086 * math/ftestexcept.c: Likewise.
31087 * math/k_cosl.c: Likewise.
31088 * math/k_rem_pio2l.c: Likewise.
31089 * math/k_sinl.c: Likewise.
31090 * math/k_tanl.c: Likewise.
31091 * math/s_asinhl.c: Likewise.
31092 * math/s_atanl.c: Likewise.
31093 * math/s_cbrtl.c: Likewise.
31094 * math/s_erfl.c: Likewise.
31095 * math/s_expm1l.c: Likewise.
31096 * math/s_log1pl.c: Likewise.
31097 * math/s_tanhl.c: Likewise.
31098 * misc/acct.c: Likewise.
31099 * misc/brk.c: Likewise.
31100 * misc/chflags.c: Likewise.
31101 * misc/chroot.c: Likewise.
31102 * misc/fchflags.c: Likewise.
31103 * misc/fgetxattr.c: Likewise.
31104 * misc/flistxattr.c: Likewise.
31105 * misc/fremovexattr.c: Likewise.
31106 * misc/fsetxattr.c: Likewise.
31107 * misc/fsync.c: Likewise.
31108 * misc/ftruncate.c: Likewise.
31109 * misc/futimes.c: Likewise.
31110 * misc/futimesat.c: Likewise.
31111 * misc/getdomain.c: Likewise.
31112 * misc/getdtsz.c: Likewise.
31113 * misc/gethostid.c: Likewise.
31114 * misc/gethostname.c: Likewise.
31115 * misc/getloadavg.c: Likewise.
31116 * misc/getpagesize.c: Likewise.
31117 * misc/getsysstats.c: Likewise.
31118 * misc/getxattr.c: Likewise.
31119 * misc/gtty.c: Likewise.
31120 * misc/ioctl.c: Likewise.
31121 * misc/lgetxattr.c: Likewise.
31122 * misc/listxattr.c: Likewise.
31123 * misc/llistxattr.c: Likewise.
31124 * misc/lremovexattr.c: Likewise.
31125 * misc/lsetxattr.c: Likewise.
31126 * misc/lutimes.c: Likewise.
31127 * misc/madvise.c: Likewise.
31128 * misc/mincore.c: Likewise.
31129 * misc/mlock.c: Likewise.
31130 * misc/mlockall.c: Likewise.
31131 * misc/mmap.c: Likewise.
31132 * misc/mprotect.c: Likewise.
31133 * misc/msync.c: Likewise.
31134 * misc/munlock.c: Likewise.
31135 * misc/munlockall.c: Likewise.
31136 * misc/munmap.c: Likewise.
31137 * misc/preadv.c: Likewise.
31138 * misc/preadv64.c: Likewise.
31139 * misc/ptrace.c: Likewise.
31140 * misc/pwritev.c: Likewise.
31141 * misc/pwritev64.c: Likewise.
31142 * misc/readv.c: Likewise.
31143 * misc/reboot.c: Likewise.
31144 * misc/remap_file_pages.c: Likewise.
31145 * misc/removexattr.c: Likewise.
31146 * misc/revoke.c: Likewise.
31147 * misc/select.c: Likewise.
31148 * misc/setdomain.c: Likewise.
31149 * misc/setegid.c: Likewise.
31150 * misc/seteuid.c: Likewise.
31151 * misc/sethostid.c: Likewise.
31152 * misc/sethostname.c: Likewise.
31153 * misc/setregid.c: Likewise.
31154 * misc/setreuid.c: Likewise.
31155 * misc/setxattr.c: Likewise.
31156 * misc/sstk.c: Likewise.
31157 * misc/stty.c: Likewise.
31158 * misc/swapoff.c: Likewise.
31159 * misc/swapon.c: Likewise.
31160 * misc/sync.c: Likewise.
31161 * misc/syncfs.c: Likewise.
31162 * misc/syscall.c: Likewise.
31163 * misc/truncate.c: Likewise.
31164 * misc/ualarm.c: Likewise.
31165 * misc/usleep.c: Likewise.
31166 * misc/ustat.c: Likewise.
31167 * misc/utimes.c: Likewise.
31168 * misc/vhangup.c: Likewise.
31169 * misc/writev.c: Likewise.
31170 * posix/_exit.c: Likewise.
31171 * posix/alarm.c: Likewise.
31172 * posix/execve.c: Likewise.
31173 * posix/fexecve.c: Likewise.
31174 * posix/fork.c: Likewise.
31175 * posix/fpathconf.c: Likewise.
31176 * posix/getaddrinfo.c: Likewise.
31177 * posix/getegid.c: Likewise.
31178 * posix/geteuid.c: Likewise.
31179 * posix/getgid.c: Likewise.
31180 * posix/getgroups.c: Likewise.
31181 * posix/getlogin.c: Likewise.
31182 * posix/getlogin_r.c: Likewise.
31183 * posix/getpgid.c: Likewise.
31184 * posix/getpid.c: Likewise.
31185 * posix/getppid.c: Likewise.
31186 * posix/getresgid.c: Likewise.
31187 * posix/getresuid.c: Likewise.
31188 * posix/getsid.c: Likewise.
31189 * posix/getuid.c: Likewise.
31190 * posix/glob64.c: Likewise.
31191 * posix/nanosleep.c: Likewise.
31192 * posix/pathconf.c: Likewise.
31193 * posix/pause.c: Likewise.
31194 * posix/posix_madvise.c: Likewise.
31195 * posix/pread.c: Likewise.
31196 * posix/pread64.c: Likewise.
31197 * posix/pwrite.c: Likewise.
31198 * posix/pwrite64.c: Likewise.
31199 * posix/sched_getaffinity.c: Likewise.
31200 * posix/sched_getp.c: Likewise.
31201 * posix/sched_gets.c: Likewise.
31202 * posix/sched_primax.c: Likewise.
31203 * posix/sched_primin.c: Likewise.
31204 * posix/sched_rr_gi.c: Likewise.
31205 * posix/sched_setaffinity.c: Likewise.
31206 * posix/sched_setp.c: Likewise.
31207 * posix/sched_sets.c: Likewise.
31208 * posix/sched_yield.c: Likewise.
31209 * posix/setgid.c: Likewise.
31210 * posix/setlogin.c: Likewise.
31211 * posix/setpgid.c: Likewise.
31212 * posix/setresgid.c: Likewise.
31213 * posix/setresuid.c: Likewise.
31214 * posix/setsid.c: Likewise.
31215 * posix/setuid.c: Likewise.
31216 * posix/sleep.c: Likewise.
31217 * posix/spawni.c: Likewise.
31218 * posix/sysconf.c: Likewise.
31219 * posix/times.c: Likewise.
31220 * posix/wait.c: Likewise.
31221 * posix/wait3.c: Likewise.
31222 * posix/wait4.c: Likewise.
31223 * posix/waitpid.c: Likewise.
31224 * resolv/gai_sigqueue.c: Likewise.
31225 * resource/getpriority.c: Likewise.
31226 * resource/getrlimit.c: Likewise.
31227 * resource/getrusage.c: Likewise.
31228 * resource/nice.c: Likewise.
31229 * resource/setpriority.c: Likewise.
31230 * resource/setrlimit.c: Likewise.
31231 * resource/ulimit.c: Likewise.
31232 * rt/aio_cancel.c: Likewise.
31233 * rt/aio_fsync.c: Likewise.
31234 * rt/aio_read.c: Likewise.
31235 * rt/aio_sigqueue.c: Likewise.
31236 * rt/aio_suspend.c: Likewise.
31237 * rt/aio_write.c: Likewise.
31238 * rt/clock_getres.c: Likewise.
31239 * rt/clock_gettime.c: Likewise.
31240 * rt/clock_nanosleep.c: Likewise.
31241 * rt/clock_settime.c: Likewise.
31242 * rt/lio_listio.c: Likewise.
31243 * rt/mq_close.c: Likewise.
31244 * rt/mq_getattr.c: Likewise.
31245 * rt/mq_notify.c: Likewise.
31246 * rt/mq_open.c: Likewise.
31247 * rt/mq_receive.c: Likewise.
31248 * rt/mq_send.c: Likewise.
31249 * rt/mq_setattr.c: Likewise.
31250 * rt/mq_timedreceive.c: Likewise.
31251 * rt/mq_timedsend.c: Likewise.
31252 * rt/mq_unlink.c: Likewise.
31253 * rt/shm_open.c: Likewise.
31254 * rt/shm_unlink.c: Likewise.
31255 * rt/timer_create.c: Likewise.
31256 * rt/timer_delete.c: Likewise.
31257 * rt/timer_getoverr.c: Likewise.
31258 * rt/timer_gettime.c: Likewise.
31259 * rt/timer_settime.c: Likewise.
31260 * setjmp/__longjmp.c: Likewise.
31261 * setjmp/setjmp.c: Likewise.
31262 * signal/kill.c: Likewise.
31263 * signal/killpg.c: Likewise.
31264 * signal/raise.c: Likewise.
31265 * signal/sigaction.c: Likewise.
31266 * signal/sigaltstack.c: Likewise.
31267 * signal/sigblock.c: Likewise.
31268 * signal/sigignore.c: Likewise.
31269 * signal/sigintr.c: Likewise.
31270 * signal/signal.c: Likewise.
31271 * signal/sigpause.c: Likewise.
31272 * signal/sigpending.c: Likewise.
31273 * signal/sigqueue.c: Likewise.
31274 * signal/sigreturn.c: Likewise.
31275 * signal/sigset.c: Likewise.
31276 * signal/sigsetmask.c: Likewise.
31277 * signal/sigstack.c: Likewise.
31278 * signal/sigsuspend.c: Likewise.
31279 * signal/sigtimedwait.c: Likewise.
31280 * signal/sigvec.c: Likewise.
31281 * signal/sigwait.c: Likewise.
31282 * signal/sigwaitinfo.c: Likewise.
31283 * signal/sysv_signal.c: Likewise.
31284 * socket/accept.c: Likewise.
31285 * socket/accept4.c: Likewise.
31286 * socket/bind.c: Likewise.
31287 * socket/connect.c: Likewise.
31288 * socket/getpeername.c: Likewise.
31289 * socket/getsockname.c: Likewise.
31290 * socket/getsockopt.c: Likewise.
31291 * socket/isfdtype.c: Likewise.
31292 * socket/listen.c: Likewise.
31293 * socket/recv.c: Likewise.
31294 * socket/recvfrom.c: Likewise.
31295 * socket/recvmsg.c: Likewise.
31296 * socket/send.c: Likewise.
31297 * socket/sendmsg.c: Likewise.
31298 * socket/sendto.c: Likewise.
31299 * socket/setsockopt.c: Likewise.
31300 * socket/shutdown.c: Likewise.
31301 * socket/sockatmark.c: Likewise.
31302 * socket/socket.c: Likewise.
31303 * socket/socketpair.c: Likewise.
31304 * stdio-common/ctermid.c: Likewise.
31305 * stdio-common/cuserid.c: Likewise.
31306 * stdio-common/remove.c: Likewise.
31307 * stdio-common/rename.c: Likewise.
31308 * stdio-common/renameat.c: Likewise.
31309 * stdio-common/tempname.c: Likewise.
31310 * stdlib/getcontext.c: Likewise.
31311 * stdlib/makecontext.c: Likewise.
31312 * stdlib/setcontext.c: Likewise.
31313 * stdlib/swapcontext.c: Likewise.
31314 * stdlib/system.c: Likewise.
31315 * streams/fattach.c: Likewise.
31316 * streams/fdetach.c: Likewise.
31317 * streams/getmsg.c: Likewise.
31318 * streams/getpmsg.c: Likewise.
31319 * streams/putmsg.c: Likewise.
31320 * streams/putpmsg.c: Likewise.
31321 * sysdeps/unix/bsd/getpt.c: Likewise.
31322 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31323 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31324 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31326 Likewise.
31327 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31328 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31329 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31330 * sysvipc/msgctl.c: Likewise.
31331 * sysvipc/msgget.c: Likewise.
31332 * sysvipc/msgrcv.c: Likewise.
31333 * sysvipc/msgsnd.c: Likewise.
31334 * sysvipc/semctl.c: Likewise.
31335 * sysvipc/semget.c: Likewise.
31336 * sysvipc/semop.c: Likewise.
31337 * sysvipc/semtimedop.c: Likewise.
31338 * sysvipc/shmat.c: Likewise.
31339 * sysvipc/shmctl.c: Likewise.
31340 * sysvipc/shmdt.c: Likewise.
31341 * sysvipc/shmget.c: Likewise.
31342 * termios/tcdrain.c: Likewise.
31343 * termios/tcflow.c: Likewise.
31344 * termios/tcflush.c: Likewise.
31345 * termios/tcgetattr.c: Likewise.
31346 * termios/tcgetpgrp.c: Likewise.
31347 * termios/tcsendbrk.c: Likewise.
31348 * termios/tcsetattr.c: Likewise.
31349 * termios/tcsetpgrp.c: Likewise.
31350 * time/adjtime.c: Likewise.
31351 * time/clock.c: Likewise.
31352 * time/getitimer.c: Likewise.
31353 * time/gettimeofday.c: Likewise.
31354 * time/setitimer.c: Likewise.
31355 * time/settimeofday.c: Likewise.
31356 * time/stime.c: Likewise.
31357 * time/time.c: Likewise.
31358
313592012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 31360
a20492cf
PT
31361 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31362 /usr/old/bin.
31363
72e182e3
PT
31364 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31365 instead of spaces.
31366 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31367
fbeafede
JM
313682012-11-03 Joseph Myers <joseph@codesourcery.com>
31369
5b5b04d6
JM
31370 [BZ #14796]
31371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31372 FE_TONEAREST before applying Dekker multiplication and Knuth
31373 addition. Clear inexact exceptions and check for exact zero
31374 results afterwards.
31375 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31376 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31377 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31378 * math/libm-test.inc (fma_test): Add more tests.
31379 (fma_test_towardzero): Likewise.
31380 (fma_test_downward): Likewise.
31381 (fma_test_upward): Likewise.
31382 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31383 function.
31384 (libc_fesetround): New macro.
31385 (libc_fesetroundf): Likewise.
31386 (libc_fesetroundl): Likewise.
31387 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31388 function.
31389 (libc_fesetround_387): Likewise.
31390 (libc_fesetroundf): New macro.
31391 (libc_fesetround): Likewise.
31392 (libc_fesetroundl): Likewise.
31393 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31394 function.
31395 (libc_fesetroundf): New macro.
31396 (libc_fesetround): Likewise.
31397 (libc_fesetroundl): Likewise.
31398 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31399 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31400 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31401 libm_hidden_ver.
31402 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31403 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31404 libm_hidden_def.
31405 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31406 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31407 libm_hidden_ver.
31408 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31409 libm_hidden_def.
31410
fbeafede
JM
31411 [BZ #3439]
31412 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31413 integer constant usable in #if and use that to give value to enum
31414 constant.
31415 (FE_DIVBYZERO): Likewise.
31416 (FE_UNDERFLOW): Likewise.
31417 (FE_OVERFLOW): Likewise.
31418 (FE_INVALID): Likewise.
31419 (FE_INVALID_SNAN): Likewise.
31420 (FE_INVALID_ISI): Likewise.
31421 (FE_INVALID_IDI): Likewise.
31422 (FE_INVALID_ZDZ): Likewise.
31423 (FE_INVALID_IMZ): Likewise.
31424 (FE_INVALID_COMPARE): Likewise.
31425 (FE_INVALID_SOFTWARE): Likewise.
31426 (FE_INVALID_SQRT): Likewise.
31427 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31428 (FE_TONEAREST): Likewise.
31429 (FE_TOWARDZERO): Likewise.
31430 (FE_UPWARD): Likewise.
31431 (FE_DOWNWARD): Likewise.
31432 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31433 (FE_DIVBYZERO): Likewise.
31434 (FE_OVERFLOW): Likewise.
31435 (FE_UNDERFLOW): Likewise.
31436 (FE_INEXACT): Likewise.
31437 (FE_TONEAREST): Likewise.
31438 (FE_DOWNWARD): Likewise.
31439 (FE_UPWARD): Likewise.
31440 (FE_TOWARDZERO): Likewise.
31441 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31442 (FE_UNDERFLOW): Likewise.
31443 (FE_OVERFLOW): Likewise.
31444 (FE_DIVBYZERO): Likewise.
31445 (FE_INVALID): Likewise.
31446 (FE_TONEAREST): Likewise.
31447 (FE_TOWARDZERO): Likewise.
31448 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31449 (FE_OVERFLOW): Likewise.
31450 (FE_UNDERFLOW): Likewise.
31451 (FE_DIVBYZERO): Likewise.
31452 (FE_INEXACT): Likewise.
31453 (FE_TONEAREST): Likewise.
31454 (FE_TOWARDZERO): Likewise.
31455 (FE_UPWARD): Likewise.
31456 (FE_DOWNWARD): Likewise.
31457 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31458 (FE_DIVBYZERO): Likewise.
31459 (FE_OVERFLOW): Likewise.
31460 (FE_UNDERFLOW): Likewise.
31461 (FE_INEXACT): Likewise.
31462 (FE_TONEAREST): Likewise.
31463 (FE_DOWNWARD): Likewise.
31464 (FE_UPWARD): Likewise.
31465 (FE_TOWARDZERO): Likewise.
31466
105ca950
CM
314672012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31468
31469 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31470
a542b389
AS
314712012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31472
31473 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31474 commands. Quote $PWD.
31475 (blacklist_exports): Don't use remove_newlines. Replace "declare
31476 -x" by "export".
31477 (remove_newlines): Remove.
31478
f62c8abc
L
314792012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31480
31481 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31482 * stdlib/stdlib.h (atof): Moved to ...
31483 * include/bits/stdlib-float.h: Here. New file.
31484 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31485 * stdlib/bits/stdlib-float.h: New file.
31486 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31487 -mno-sse -mno-mmx.
31488 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31489 <xmmintrin.h>.
31490
0155d5b2
JM
314912012-11-02 Joseph Myers <joseph@codesourcery.com>
31492
a68d0680
JM
31493 * conform/conformtest.pl (@headers): Add fenv.h.
31494 * conform/data/fenv.h-data: New file.
31495 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31496 include of <math/fenv.h>.
31497
caf7f573
JM
31498 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31499 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31500 && !UNIX98]. Enables tests for XOPEN2K8.
31501 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31502 POSIX2008]: Likewise.
31503
6c073ad6
JM
31504 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31505 (struct rusage): Do not expect type or its members.
31506
0155d5b2
JM
31507 [BZ #3439]
31508 * math/math.h (FP_NAN): Define macro to integer constant usable in
31509 #if and use that to give value to enum constant.
31510 (FP_INFINITE): Likewise.
31511 (FP_ZERO): Likewise.
31512 (FP_SUBNORMAL): Likewise.
31513 (FP_NORMAL): Likewise.
31514
b5dcacb4
AS
315152012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31516
31517 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31518 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31519 arguments.
31520
f7934be8
RM
315212012-11-02 Roland McGrath <roland@hack.frob.com>
31522
31523 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31524 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31525 autoconf-time if not.
31526 * configure.in: Remove AC_PREREQ.
31527
d7d08bde
TMQMF
315282012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31529
31530 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31531 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31532 of the internal implementation.
31533
dcdae19a
JM
315342012-11-02 Joseph Myers <joseph@codesourcery.com>
31535
31536 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31537 except include of <misc/sys/syslog.h>.
31538
d6cffd3e
AS
315392012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31540
31541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31542 function returns with a NULL context exit with zero.
31543
b3563932
TMQMF
315442012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31545
31546 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31547
b288a93d
L
315482012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31549
31550 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31551 (run_program_cmd): This.
31552 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31553 (tst_langinfo): New variable. Use it.
31554
a2421a68
SAS
315552012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31556
31557 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31558 floating point opcodes.
31559
6f796e1b
TS
315602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31561
7402596b
TS
31562 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31563 variable.
31564
d0d4f868
TS
31565 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31566
6f796e1b
TS
31567 * sysdeps/mach/hurd/powerpc: Remove directory.
31568 * sysdeps/mach/powerpc: Likewise.
31569
4da224a2
AS
315702012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31571
31572 * scripts/check-local-headers.sh: Ignore c++ headers.
31573
341dd673
TS
315742012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31575
31576 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31577 __libc_cleanup_region_start argument.
31578
473611b2
JM
315792012-11-01 Joseph Myers <joseph@codesourcery.com>
31580
31581 [BZ #14784]
31582 [BZ #14785]
31583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31584 x * y using scaling, not as x * y + z.
31585 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31586 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31587 * math/libm-test.inc (fma_test): Add more tests.
31588 (fma_test_towardzero): Likewise.
31589 (fma_test_downward): Likewise.
31590 (fma_test_upward): Likewise.
31591
4078da3d
TS
315922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31593
31594 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31595
903252aa
JM
315962012-10-31 Joseph Myers <joseph@codesourcery.com>
31597
31598 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31599 New variable.
31600
cbc818d0
TS
316012012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31602
31603 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31604
5a03cb1e
AS
316052012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31606
31607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31608 Fix sort order.
31609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31610 Likewise.
31611
90aff2ff
TMQMF
316122012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31613
31614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31615 Fix the order of the list for glibc 2.17.
31616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31617 Likewise.
31618
1818fcb7
AS
316192012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31620
31621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31622
ef82f4da
JM
316232012-10-31 Joseph Myers <joseph@codesourcery.com>
31624
16a0e2ec
JM
31625 [BZ #14610]
31626 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31627 for low part of x being zero before using __atanl (y).
31628 * math/libm-test.inc (atan2_test): Add another test.
31629
0eb69512
JM
31630 * manual/install.texi (Configuring and compiling): Document
31631 general use of test-wrapper and test-wrapper-env.
31632 * INSTALL: Regenerated.
31633
ef82f4da
JM
31634 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31635 (__fma): Do not extract and scale down low bits on after-rounding
31636 systems when result rounded to normal precision would have normal
31637 exponent.
31638 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31639 (__fmal): Do not extract and scale down low bits on after-rounding
31640 systems when result rounded to normal precision would have normal
31641 exponent.
31642 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31643 (__fmal): Do not extract and scale down low bits on after-rounding
31644 systems when result rounded to normal precision would have normal
31645 exponent.
31646 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31647 macro.
31648 (fma_test): Add more tests.
31649 (fma_test_towardzero): Likewise.
31650 (fma_test_downward): Likewise.
31651 (fma_test_upward): Likewise.
31652
954ef0d9
L
316532012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31654
31655 * sysdeps/i386/tininess.h: Renamed to ...
31656 * sysdeps/x86/tininess.h: This.
31657 * sysdeps/x86_64/tininess.h: Removed.
31658
df61ffb2
JM
316592012-10-30 Joseph Myers <joseph@codesourcery.com>
31660
31661 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31662 input. Use $(build-program-cmd).
31663 ($(objpfx)tst-array1-static.out): Likewise.
31664 ($(objpfx)tst-array2.out): Likewise.
31665 ($(objpfx)tst-array3.out): Likewise.
31666 ($(objpfx)tst-array4.out): Likewise.
31667 ($(objpfx)tst-array5.out): Likewise.
31668 ($(objpfx)tst-array5-static.out): Likewise.
31669
01767843
CM
316702012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31671
47cc1490
CM
31672 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31673 if defined.
31674
01767843
CM
31675 * nss/nsswitch.h (nss_interface_function): Provide new
31676 macro for use with NSS functions.
31677 * grp/initgroups.c: Use new macro.
31678 * nss/getXXbyYY.c: Likewise.
31679 * nss/getXXbyYY_r.c: Likewise.
31680 * nss/getXXent.c: Likewise.
31681 * nss/getXXent_r.c: Likewise.
31682 * sysdeps/posix/getaddrinfo.c: Likewise.
31683
8321aa97
AJ
316842012-10-30 Andreas Jaeger <aj@suse.de>
31685
31686 * po/ru.po: Update Russion translation from translation project.
31687
2a27fd6d
JM
316882012-10-30 Joseph Myers <joseph@codesourcery.com>
31689
8627a232
JM
31690 [BZ #14152]
31691 [BZ #14783]
31692 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31693 result and shift together with sticky bit instead of replicating
31694 round-to-nearest rounding.
31695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31696 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31697 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31698 missing underflow exceptions.
31699 (fma_test_towardzero): Add more tests.
31700 (fma_test_downward): Likewise.
31701 (fma_test_upward): Likewise.
31702
2a27fd6d
JM
31703 [BZ #14047]
31704 * sysdeps/generic/tininess.h: New file.
31705 * sysdeps/i386/tininess.h: Likewise.
31706 * sysdeps/sh/tininess.h: Likewise.
31707 * sysdeps/x86_64/tininess.h: Likewise.
31708 * stdlib/tst-strtod-underflow.c: Likewise.
31709 * stdlib/tst-tininess.c: Likewise.
31710 * stdlib/strtod_l.c: Include <tininess.h>.
31711 (round_and_return): Do not set errno for exact underflow cases.
31712 Force an underflow exception when setting errno for underflow.
31713 Determine underflow based on rounding to normal precision if
31714 TININESS_AFTER_ROUNDING.
31715 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31716 ERANGE for exact underflow cases.
31717 * stdlib/Makefile (tests): Add tst-tininess and
31718 tst-strtod-underflow.
31719 ($(objpfx)tst-tininess): Use $(link-libm).
31720 ($(objpfx)tst-strtod-underflow): Likewise.
31721
e7170363
AJ
317222012-10-30 Andreas Jaeger <aj@suse.de>
31723
e5088dc6
AJ
31724 [BZ#14767]
31725 * elf/Makefile (tests): Remove conditional for have-initfini-array
31726 since this is now always required and the variable does not exist
31727 anymore.
31728 (tests-static): Likewise.
31729 (modules-names): Likewise.
31730
e7170363 31731 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31732
31733 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31734 merged with constructor/destructor.
31735 (init_array): Likewise.
31736 * elf/tst-array2dep.c (fini_array): Likewise.
31737 (init_array): Likewise.
31738
60457d8a
MF
317392012-10-29 Mike Frysinger <vapier@gentoo.org>
31740
31741 * manual/message.texi: Delete @cartouche tags.
31742
8bece752
PT
317432012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31744
94ce799f
PT
31745 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31746 EOPNOTSUPP.
31747 * sysdeps/mach/hurd/fsync.c: Likewise.
31748
8bece752
PT
31749 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31750 [_POSIX_REALTIME_SIGNALS]: Change condition to
31751 [_POSIX_REALTIME_SIGNALS > 0].
31752
86ebe6b1
AJ
317532012-10-27 Andreas Jaeger <aj@suse.de>
31754
31755 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31756 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31757 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31758 [__WORDSIZE != 64]: Likewise.
31759
54399c08
L
317602012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31761
31762 * iconvdata/tst-table.sh: Remove ${SHELL}.
31763 * iconvdata/tst-tables.sh: Likewise.
31764
e2211bed
DM
317652012-10-25 David S. Miller <davem@davemloft.net>
31766
31767 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31768 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31769 of strtoull.
31770
f303f97c
DM
31771 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31772 ifunc-impl-list.c
31773 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31774 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31775 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31776 file.
31777
1e9d84cd
RM
317782012-10-25 Roland McGrath <roland@hack.frob.com>
31779
31780 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31781 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31782 __getdirentries.
31783
df381762
JM
317842012-10-25 Joseph Myers <joseph@codesourcery.com>
31785 Jim Blandy <jimb@codesourcery.com>
31786
31787 * scripts/cross-test-ssh.sh: New file.
31788 * manual/install.texi (Configuring and compiling): Document use of
31789 cross-test-ssh.sh.
31790 * INSTALL: Regenerated.
31791
bff64913
PT
317922012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31793
31794 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31795 EOPNOTSUPP.
31796
25fe8932
JM
317972012-10-25 Joseph Myers <joseph@codesourcery.com>
31798
31799 * Makeconfig (run-program-prefix): Fix comment.
31800
cc1290d0
JM
318012012-10-24 Joseph Myers <joseph@codesourcery.com>
31802 Jim Blandy <jimb@codesourcery.com>
31803
31804 * Makeconfig (test-wrapper): New variable,
31805 (test-wrapper-env): Likewise.
31806 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31807 (run-built-tests): Define to yes.
31808 (run-program-prefix): Use $(test-wrapper).
31809 (built-program-cmd): Likewise.
31810 * Rules (make-test-out): Use $(test-wrapper-env) and
31811 $(host-built-program-cmd).
31812 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31813 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31814 tst-pathopt.sh.
31815 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31816 $(test-wrapper-env) to tst-rtld-load-self.sh.
31817 ($(objpfx)order2.out): Use $(test-wrapper).
31818 ($(objpfx)tst-initorder.out): Likewise.
31819 ($(objpfx)tst-initorder2.out): Likewise.
31820 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31821 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31822 (test_wrapper_env): New variable. Use it to run ld.so.
31823 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31824 Use it to run ld.so.
31825 (test_wrapper_env): Likewise.
31826 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31827 $(test-wrapper) to run-iconv-test.sh.
31828 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31829 (ICONV): Use $test_wrapper.
31830 * posix/Makefile ($(objpfx)globtest.out): Pass
31831 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31832 globtest.sh, not $(run-program-prefix).
31833 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31834 (test_wrapper): Likewise.
31835 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31836 set together with run_via_rtld_prefix.
31837 (run_program_prefix): Define in terms of test_wrapper and
31838 run_via_rtld_prefix.
31839
6e6249d0
RM
318402012-10-24 Roland McGrath <roland@hack.frob.com>
31841
31842 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31843 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31844 Targets removed.
31845
31846 [BZ #14743]
31847 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31848 Declare __clock_getres, __clock_gettime, __clock_settime,
31849 __clock_nanosleep, and __clock_getcpuclockid.
31850 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31851 Remove librt_hidden_def (clock_gettime).
31852 * sysdeps/unix/clock_gettime.c: Likewise.
31853 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31854 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31855 * rt/clock_getres.c: Define __clock_getres as an alias.
31856 * sysdeps/posix/clock_getres.c: Likewise.
31857 * rt/clock_settime.c: Define __clock_settime as an alias.
31858 * sysdeps/unix/clock_settime.c: Likewise.
31859 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31860 * sysdeps/unix/clock_nanosleep.c: Likewise.
31861 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31862 * rt/clock-compat.c: New file.
31863 * rt/Makefile (librt-routines): Add clock-compat and move
31864 $(clock-routines) to ...
31865 (routines): ... here, new variable.
31866 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31867 Don't add get_clockfreq here.
31868 * rt/Versions (libc: GLIBC_2.17): New version set.
31869 Add clock_* symbols here.
31870 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31871 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31872 (GLIBC_2.17): Add clock_* symbols.
31873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31875 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31877 Likewise.
31878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31879 Likewise.
31880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31884 * NEWS: Mention the move.
31885
31886 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31887 Use __open, __read, __close rather than their public counterparts.
31888 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31889 (__get_clockfreq_via_cpuinfo): Likewise.
31890 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31891 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31892
31893 * config.h.in (HAVE_IFUNC): New #undef.
31894 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31895 was successful.
31896 * configure: Regenerated.
31897
0cae3f4b
MF
318982012-10-24 Mike Frysinger <vapier@gentoo.org>
31899
31900 * configure.in: Move READELF check to start of file.
31901 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31902 libc_cv_asm_gnu_indirect_function in the process.
31903 * configure: Regenerated.
31904
8175a253
MF
319052012-10-24 Mike Frysinger <vapier@gentoo.org>
31906
31907 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31908 send the output to /dev/null.
31909 (libc_cv_cc_with_libunwind): Likewise.
31910 (libc_cv_as_noexecstack): Likewise.
31911 * configure: Regenerate.
31912
0708a7d1
JM
319132012-10-24 Joseph Myers <joseph@codesourcery.com>
31914
10b40d85
JM
31915 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31916
0708a7d1
JM
31917 * posix/globtest.sh (TMPDIR): Do not set.
31918 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31919 (testout): Likewise.
31920
9fddec1a
AJ
319212012-10-24 Andreas Jaeger <aj@suse.de>
31922
3a8db22f
AJ
31923 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31924 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31925 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31926 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31927 posix_fadvise64, posix_fallocate64.
31928
9fddec1a
AJ
31929 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31930 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31931 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31932 Likewise.
31933 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31934 Likewise.
31935 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31936
31937 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31938 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31939 <bits/fcntl-linux.h>.
31940 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31941
31942 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31943 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31944 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31945 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31946 [__WORDSIZE != 64]: Likewise.
31947
ebfd1bbd
JM
319482012-10-23 Joseph Myers <joseph@codesourcery.com>
31949
03ac099f
JM
31950 * Makeconfig (run-built-tests): New variable.
31951 * Rules [$(cross-compiling) = yes]: Change condition to
31952 [$(run-built-tests) = no].
31953 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31954 to [$(run-built-tests) = yes].
31955 * elf/Makefile [$(cross-compiling) = no]: Likewise
31956 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31957 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31958 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31959 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31960 * io/Makefile [$(cross-compiling) = no]: Likewise.
31961 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31962 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31963 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31964 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31965 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31966 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31967 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31968 * string/Makefile [$(cross-compiling) = no]: Likewise.
31969
ebfd1bbd
JM
31970 * posix/Makefile ($(objpfx)globtest.out): Pass
31971 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31972 $(rtld-installed-name).
31973 * posix/globtest.sh (elf_objpfx): Remove variable.
31974 (rtld_installed_name): Likewise.
31975 (library_path): Likewise.
31976 (run_program_prefix): New variable. Use for running globtest
31977 binary.
31978
166bca24
JB
319792012-10-23 Jim Blandy <jimb@codesourcery.com>
31980 Joseph Myers <joseph@codesourcery.com>
31981
31982 * Makeconfig (host-built-program-cmd): New variable.
31983 * elf/Makefile (tst-stackguard1-ARGS): Use
31984 $(host-built-program-cmd).
31985 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31986 (tst-spawn-ARGS): Likewise.
31987 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31988
88866099
JM
319892012-10-23 Joseph Myers <joseph@codesourcery.com>
31990 Jim Blandy <jimb@codesourcery.com>
31991
31992 * Makeconfig (run-via-rtld-prefix): New variable.
31993 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31994 (built-program-cmd): Likewise.
31995
b4b4c296
AJ
319962012-10-22 Andreas Jaeger <aj@suse.de>
31997
31998 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31999 __O_RSYNC if it exists, otherwise to O_SYNC.
32000
6fb54a22
JB
320012012-10-22 Jim Blandy <jimb@codesourcery.com>
32002 Joseph Myers <joseph@codesourcery.com>
32003
32004 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32005 /dev/null.
32006 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32007 from /dev/null
32008 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32009 /dev/null.
32010
481b90b9
AJ
320112012-10-22 Andreas Jaeger <aj@suse.de>
32012
2a0e2669
AJ
32013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32014 Define always.
32015 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32016
76e38f9a
AJ
32017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32018 bits/fcntl-linux.h.
32019
7cd37b43
AJ
32020 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32021 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32022
481b90b9
AJ
32023 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32024 to __O_LARGEFILE.
32025 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32026 to __O_LARGEFILE.
32027
aba75984
JB
320282012-10-21 Jim Blandy <jimb@codesourcery.com>
32029 Joseph Myers <joseph@codesourcery.com>
32030
32031 * config.make.in (NM): New variable.
32032
88d4247f
AJ
320332012-10-21 Andreas Jaeger <aj@suse.de>
32034
32035 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32036 definitions and declarations that are provided by
32037 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32038
f2eed205
L
320392012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32040
32041 [BZ #14683]
32042 * elf/Makefile (tests-static): Add tst-leaks1-static.
32043 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32044 ($(objpfx)tst-leaks1-static): New rule.
32045 ($(objpfx)tst-leaks1-static-mem): Likewise.
32046 (tst-leaks1-static-ENV): New macro.
32047 * elf/dl-open.c (dl_open_worker): Check the main application
32048 only if SHARED is defined.
32049 * elf/tst-leaks1-static.c: New file.
32050
335e6931
AJ
320512012-10-20 Andreas Jaeger <aj@suse.de>
32052
32053 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32054 generic values for Linux.
32055 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32056 and declarations that are provided by <bits/fcntl-linux.h> and
32057 include <bits/fcntl-linux.h>.
32058 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32059 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32060
ac5c94d3
RM
320612012-10-20 Roland McGrath <roland@hack.frob.com>
32062
32063 * io/fcntl.h: Move include of <bits/types.h> to the top and
32064 include it unconditionally.
32065
de54b33a
L
320662012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32067
228cfb01
L
32068 * wcsmbs/Makefile (tests-ifunc): New variable.
32069 (tests): Add $(tests-ifunc).
32070 * wcsmbs/test-wcschr-ifunc.c: New file.
32071 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32072 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32073 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32074 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32075 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32076
69f07e5f
L
32077 * string/Makefile (tests-ifunc): New variable.
32078 (tests): Add $(tests-ifunc).
32079 * string/test-memccpy.c (TEST_NAME): New macro.
32080 * string/test-memchr.c (TEST_NAME): Likewise.
32081 * string/test-memcmp.c (TEST_NAME): Likewise.
32082 * string/test-memcpy.c (TEST_NAME): Likewise.
32083 * string/test-memmem.c (TEST_NAME): Likewise.
32084 * string/test-memmove.c (TEST_NAME): Likewise.
32085 * string/test-memset.c (TEST_NAME): Likewise.
32086 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32087 * string/test-stpcpy.c (TEST_NAME): Likewise.
32088 * string/test-stpncpy.c (TEST_NAME): Likewise.
32089 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32090 * string/test-strcasestr.c (TEST_NAME): Likewise.
32091 * string/test-strcat.c (TEST_NAME): Likewise.
32092 * string/test-strchr.c (TEST_NAME): Likewise.
32093 * string/test-strcmp.c(TEST_NAME): Likewise.
32094 * string/test-strcpy.c (TEST_NAME): Likewise.
32095 * string/test-strcspn.c (TEST_NAME): Likewise.
32096 * string/test-strlen.c (TEST_NAME): Likewise.
32097 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32098 * string/test-strncmp.c (TEST_NAME): Likewise.
32099 * string/test-strncpy.c (TEST_NAME): Likewise.
32100 * string/test-strnlen.c (TEST_NAME): Likewise.
32101 * string/test-strpbrk.c (TEST_NAME): Likewise.
32102 * string/test-strrchr.c (TEST_NAME): Likewise.
32103 * string/test-strspn.c (TEST_NAME): Likewise.
32104 * string/test-strstr.c (TEST_NAME): Likewise.
32105 * string/test-bcopy-ifunc.c: New file.
32106 * string/test-bzero-ifunc.c: Likewise.
32107 * string/test-memccpy-ifunc.c: Likewise.
32108 * string/test-memchr-ifunc.c: Likewise.
32109 * string/test-memcmp-ifunc.c: Likewise.
32110 * string/test-memcpy-ifunc.c: Likewise.
32111 * string/test-memmem-ifunc.c: Likewise.
32112 * string/test-memmove-ifunc.c: Likewise.
32113 * string/test-mempcpy-ifunc.c: Likewise.
32114 * string/test-memset-ifunc.c: Likewise.
32115 * string/test-rawmemchr-ifunc.c: Likewise.
32116 * string/test-stpcpy-ifunc.c: Likewise.
32117 * string/test-stpncpy-ifunc.c: Likewise.
32118 * string/test-strcasecmp-ifunc.c: Likewise.
32119 * string/test-strcasestr-ifunc.c: Likewise.
32120 * string/test-strcat-ifunc.c: Likewise.
32121 * string/test-strchr-ifunc.c: Likewise.
32122 * string/test-strchrnul-ifunc.c: Likewise.
32123 * string/test-strcmp-ifunc.c: Likewise.
32124 * string/test-strcpy-ifunc.c: Likewise.
32125 * string/test-strcspn-ifunc.c: Likewise.
32126 * string/test-strlen-ifunc.c: Likewise.
32127 * string/test-strncasecmp-ifunc.c: Likewise.
32128 * string/test-strncat-ifunc.c: Likewise.
32129 * string/test-strncmp-ifunc.c: Likewise.
32130 * string/test-strncpy-ifunc.c: Likewise.
32131 * string/test-strnlen-ifunc.c: Likewise.
32132 * string/test-strpbrk-ifunc.c: Likewise.
32133 * string/test-strrchr-ifunc.c: Likewise.
32134 * string/test-strspn-ifunc.c: Likewise.
32135 * string/test-strstr-ifunc.c: Likewise.
32136
de54b33a
L
32137 * debug/Makefile (tests-ifunc): New variable.
32138 (tests): Add $(tests-ifunc).
32139 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32140 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32141 * debug/test-stpcpy_chk-ifunc.c: New file.
32142 * debug/test-strcpy_chk-ifunc.c: Likewise.
32143
88481c16
SP
321442012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32145
32146 [BZ #13601]
32147 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32148 header is not read in.
32149
135948bd
JM
321502012-10-19 Joseph Myers <joseph@codesourcery.com>
32151
89f1c388
JM
32152 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32153 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32154 directly. Pass built executable to script as
32155 $(built-program-cmd).
32156 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32157 $testprogram without using LD_LIBRARY_PATH and $ldso.
32158
e40a0d21
JM
32159 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32160 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32161 $(rtld-installed-name).
32162 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32163 (rtld_installed_name): Likewise.
32164 (library_path): Likewise.
32165 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32166 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32167 $(run-program-prefix) to tst-tables.sh.
32168 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32169 it to run tst-table-from and tst-table-to.
32170 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32171 Pass it to tst-table.sh.
32172 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32173 $(run-program-prefix) to tst-gettext.sh.
32174 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32175 tst-translit.sh.
32176 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32177 tst-gettext2.sh.
32178 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32179 to run tst-gettext.
32180 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32181 to run tst-gettext2.
32182 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32183 to run tst-translit.
32184 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32185 $(run-program-prefix) to tst-mtrace.sh.
32186 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32187 to run tst-mtrace.
32188 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32189 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32190 $(rtld-installed-name).
32191 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32192 (rtld_installed_name): Likewise.
32193 (run_program_prefix): New variable. Use it to run wordexp-test.
32194
728e272a
JM
32195 * Makeconfig (ARCH): Remove all definitions.
32196 (machine): Likewise.
32197 [ARCH]: Remove conditional code.
32198 [!objdir]: Give error.
32199 [!objdir] (objpfx): Remove.
32200 [!objdir] (common-objpfx): Likewise.
32201 [!objdir] (common-objdir): Likewise.
32202 * configure.in (config_makefile): Remove. Hardcode Makefile in
32203 AC_CONFIG_FILES call.
32204 * configure: Regenerated.
32205
d528cdcf
JM
32206 [BZ #13888]
32207 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32208 or TMPDIR.
32209 (testout): Likewise.
32210
135948bd
JM
32211 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32212 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32213 $(rtld-installed-name).
32214 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32215 (rtld_installed_name): Likwise.
32216 (runit): Remove function.
32217 (run_getconf): New variable, Use it for running getconf binary.
32218
38c78296
L
322192012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32220
32221 [BZ #14716]
32222 * string/test-memmem.c (check_result): New function.
32223 (do_one_test): Use it.
32224 (check1): New function.
32225 (test_main): Use it.
32226
d077f65f
MT
322272012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32228
32229 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32230
ced52c71
JM
322312012-10-18 Joseph Myers <joseph@codesourcery.com>
32232
32233 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32234 (_G_LSEEK64): Likewise.
32235 (_G_MMAP64): Likewise.
32236 (_G_FSTAT64): Likewise.
32237 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32238 (_G_LSEEK64): Likewise.
32239 (_G_MMAP64): Likewise.
32240 (_G_FSTAT64): Likewise.
32241 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32242 unconditional. Call __mmap64 directly.
32243 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32244 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32245 __lseek64 directly.
32246 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32247 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32248 __mmap64 directly.
32249 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32250 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32251 __lseek64 directly.
32252 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32253 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32254 __lseek64 directly.
32255 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32256 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32257 __lseek64 directly.
32258 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32259 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32260 __fxstat64 directly.
32261 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32262 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32263 unconditional.
32264 (freopen64) [!_G_OPEN64]: Remove conditional code.
32265 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32266 unconditional.
32267 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32268 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32269 unconditional.
32270 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32271 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32272 unconditional.
32273 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32274 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32275 unconditional.
32276 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32277 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32278 unconditional.
32279 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32280 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32281 unconditional.
32282 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32283 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32284 unconditional.
32285 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32286
b741de23
SP
322872012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32288
32289 [BZ #12140]
32290 * manual/memory.texi (Malloc Tunable Parameters): Add note
32291 about free list pointers overwriting some perturb bytes.
32292 Wording suggested by Roland McGrath.
32293
f9b9d9c9
JM
322942012-10-17 Joseph Myers <joseph@codesourcery.com>
32295
32296 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32297 (lgamma_test): Likewise.
32298 (tgamma_test): Likewise.
32299
172a631a
FW
323002012-10-16 Florian Weimer <fweimer@redhat.com>
32301
32302 [BZ #14700]
32303 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32304 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32305
e9f37252
MK
323062012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32307
32308 * NEWS: Mention BZ #14716.
32309 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32310 when removing AVAILABLE1_USES_J macro.
32311
d394eb74
L
323122012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32313
32314 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32315 (__bswap_64): __uint64_t for unsigned 64-bit int.
32316
ca38dc17
AS
323172012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32318
32319 * include/string.h (memmem): Declare libc hidden alias.
32320 * string/memmem.c (memmem): Define libc hidden alias.
32321 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32322 __read, __close instead of open, read, close.
32323
9a387d1f
L
323242012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32325
ac49ecaf
L
32326 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32327 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32328 global and hidden.
32329 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32330 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32331 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32332 Likewise.
32333 (__rawmemchr_sse2): Likewise.
32334 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32335 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32336 (__strchr_sse2): Likewise.
32337 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32338 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32339 (__strcasecmp_sse2): Likewise.
32340 (__strncasecmp_sse2): Likewise.
32341 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32342 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32343 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32344 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32345 (__strrchr_sse2): Likewise.
32346 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32347 ifunc-impl-list.c.
32348 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32349 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32350 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32351 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32352 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32353 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32354 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32355 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32356 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32357 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32358 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32359 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32360 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32361 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32362 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32363 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32364 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32365 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32366 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32367 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32368 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32369 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32370 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32371 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32372 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32373 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32374 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32375 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32376 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32377 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32378
b090e8ea
L
32379 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32380 global and hidden.
32381 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32382 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32383 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32384 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32385 Likewise.
32386 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32387 Likewise.
32388 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32389 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32390 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32391 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32392 ifunc-impl-list.c.
32393 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32394 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32395 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32396 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32397 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32398 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32399 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32400 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32401 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32402 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32403 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32404 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32405 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32406 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32407 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32408 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32409 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32410 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32411 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32412 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32413 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32414 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32415 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32416 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32417 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32418 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32419 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32420 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32421 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32422 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32423 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32424 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32425 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32426 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32427 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32428 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32429 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32430 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32431 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32432 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32433 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32434
11dd4af6
L
32435 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32436 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32437 * include/ifunc-impl-list.h: New file.
32438 * misc/ifunc-impl-list.c: Likewise.
32439 * misc/Makefile (routines): Add ifunc-impl-list.
32440 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32441 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
32442 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32443 TEST_NAME]: New variables.
11dd4af6
L
32444 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32445 are defined.
32446 (test_init): Call __libc_ifunc_impl_list to initialize
32447 func_list if TEST_IFUNC and TEST_NAME are defined.
32448
9a387d1f
L
32449 * string/Makefile (strop-tests): Add bcopy and bzero.
32450 * string/test-bcopy.c: New file.
32451 * string/test-bzero.c: Likewise.
32452 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32453 defined.
32454 * string/test-memset.c: Support bzero test if TEST_BZERO is
32455 defined.
32456 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32457 __libc_memmove.
32458 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32459 __libc_memset.
32460 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32461 of memset.
32462
472371b9
JM
324632012-10-10 Joseph Myers <joseph@codesourcery.com>
32464
1e4a9536
JM
32465 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32466 * configure: Regenerated.
32467
d173d12e
JM
32468 * Makeconfig (+link-static-before-libc): Don't include
32469 $(link-static-libc).
32470
472371b9
JM
32471 * libio/libio.h (_IO_pos_t): Remove.
32472
89a3ad0b
AO
324732012-10-10 Alexandre Oliva <aoliva@redhat.com>
32474
32475 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32476 McGrath.
32477
e7451425
AO
324782012-10-10 Alexandre Oliva <aoliva@redhat.com>
32479
32480 * crypt/crypt-entry.c: Include fips-private.h.
32481 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32482 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32483 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32484 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32485
4ba74a35
AO
324862012-10-10 Alexandre Oliva <aoliva@redhat.com>
32487
32488 * crypt/crypt-private.h: Include stdbool.h.
32489 (_ufc_setup_salt_r): Return bool.
32490 * crypt/crypt-entry.c: Include errno.h.
32491 (__crypt_r): Return NULL with EINVAL for bad salt.
32492 * crypt/crypt_util.c (bad_for_salt): New.
32493 (_ufc_setup_salt_r): Check that salt is long enough and within
32494 the specified alphabet.
32495 * crypt/badsalttest.c: New file.
32496 * crypt/Makefile (tests): Add it.
32497 ($(objpfx)badsalttest): New.
32498
f96f1242
MK
324992012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32500
32501 * NEWS: Add entry for BZ #14602.
32502
0e8e0c1c
JM
325032012-10-09 Joseph Myers <joseph@codesourcery.com>
32504
32505 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32506 type-generic.
32507 * math/libm-test.inc: Update comment listing what functions and
32508 macros are tested.
32509 (isgreater_test): New function.
32510 (isgreaterequal_test): Likewise.
32511 (isless_test): Likewise.
32512 (islessequal_test): Likewise.
32513 (islessgreater_test): Likewise.
32514 (isunordered_test): Likewise.
32515 (main): Call the new functions.
32516
273edc5e
RM
325172012-10-09 Roland McGrath <roland@hack.frob.com>
32518
b8493de0
RM
32519 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32520 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32521 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32522 * sysdeps/i386/configure: Regenerated.
32523 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32524 * sysdeps/mach/configure: Regenerated.
32525 * sysdeps/mach/hurd/configure: Regenerated.
32526 * sysdeps/powerpc/configure: Regenerated.
32527 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32528 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32529 * sysdeps/s390/s390-32/configure: Regenerated.
32530 * sysdeps/s390/s390-64/configure: Regenerated.
32531 * sysdeps/sh/configure: Regenerated.
32532 * sysdeps/sparc/configure: Regenerated.
32533 * sysdeps/unix/sysv/linux/configure: Regenerated.
32534 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32535 * sysdeps/x86_64/configure: Regenerated.
32536
273edc5e
RM
32537 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32538 defined. Don't check if MAP is NULL.
32539
c8450f70
JM
325402012-10-09 Joseph Myers <joseph@codesourcery.com>
32541
32542 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32543 (_G_stat64): Likewise.
32544 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32545 (_G_stat64): Likewise.
32546 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32547 instead of struct _G_stat64.
32548 * libio/fileops.c (mmap_remap_check): Likewise.
32549 (decide_maybe_mmap): Likewise.
32550 (_IO_new_file_seekoff): Likewise.
32551 (_IO_file_stat): Likewise.
32552 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32553 _G_off64_t.
32554 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32555 instead of struct _G_stat64.
32556 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32557
57e605ba
MK
325582012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32559
32560 [BZ #14602]
32561 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32562 Replace with ...
32563 (CHECK_EOL): New macro.
32564 (two_way_short_needle): Check beginning of haystack for EOL. Use
32565 CHECK_EOL.
32566 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32567 Replace with CHECK_EOL.
32568 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32569 Replace with CHECK_EOL.
32570
ef1bb361
JM
325712012-10-08 Joseph Myers <joseph@codesourcery.com>
32572
32573 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32574 type-generic.
32575 * math/libm-test.inc: Update comment listing what functions and
32576 macros are tested.
32577 (finite_test): New function.
32578 (isinf_test): Likewise.
32579 (isnan_test): Likewise.
32580 (fpclassify_test): Test subnormal input.
32581 (isfinite_test): Likewise.
32582 (isnormal_test): Likewise.
32583 (main): Call the new functions.
32584
55f11534
JN
325852012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32586
32587 [BZ #14660]
32588 * Makerules (%.dynsym): Force C locale when running
32589 $(OBJDUMP) --dynamic-syms.
32590
1ab29350
AS
325912012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32592
32593 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32594 <stdint.h>.
32595
f1ecb7ef
DM
325962012-10-06 David S. Miller <davem@davemloft.net>
32597
32598 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32599 upper 32-bits of the length value in %o2 since we use branch-on-register
32600 tests which consider the entire 64-bit register.
32601
5d41d91a
L
326022012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32603
32604 * string/test-strstr.c (check2): Add a test for page boundary.
32605
3baddb72
DM
326062012-10-05 David S. Miller <davem@davemloft.net>
32607
32608 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32609 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32610 file.
32611 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32612 sysdep_routines.
32613 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32614 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32615 and bzero when HWCAP_SPARC_CRYPTO is present.
32616
9cee5585
L
326172012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32618
d7e0dab9
L
32619 [BZ #14602]
32620 * string/test-strstr.c (check2): New function.
32621 (test_main): Call check2.
32622
03759f47
L
32623 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32624 and bug-strchr1.
32625 * string/bug-strcasestr1.c (do_test): Moved to ...
32626 * string/test-strcasestr.c (check1): Here. New function.
32627 (do_one_test): Break out result checking code into ...
32628 (check_result): This. New function.
32629 (do_one_test): Call check_result.
32630 (test_main): Call check1.
32631 * string/bug-strchr1.c (do_test): Moved to ...
32632 * string/test-strchr.c (check1): Here. New function.
32633 (do_one_test): Break out result checking code into ...
32634 (check_result): This. New function.
32635 (do_one_test): Call check_result.
32636 (test_main): Call check1.
32637 * string/bug-strstr1.c (main): Moved to ...
046f153e 32638 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32639 (do_one_test): Break out result checking code into ...
32640 (check_result): This. New function.
32641 (do_one_test): Call check_result.
32642 (test_main): Call check1.
32643 * string/bug-strcasestr1.c: Removed.
32644 * string/bug-strchr1.c: Likewise.
32645 * string/bug-strstr1.c: Likewise.
32646
53cea63e
L
32647 * elf/Makefile (dl-routines): Add hwcaps.
32648 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32649 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32650 (_dl_important_hwcaps): Moved to ...
32651 * elf/dl-hwcaps.c: Here. New file.
32652 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32653
9cee5585 32654 [BZ #14557]
bb859b06
L
32655 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32656 if IS_IN_rtld isn't defined.
32657
9cee5585
L
32658 * elf/dl-support.c (_dl_sysinfo_map): New.
32659 Include "get-dynamic-info.h" and "setup-vdso.h".
32660 (_dl_non_dynamic_init): Call setup_vdso.
32661 * elf/dynamic-link.h: Don't include <assert.h>.
32662 (elf_get_dynamic_info): Moved to ...
32663 * elf/get-dynamic-info.h: Here. New file.
32664 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32665 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32666 * elf/setup-vdso.h: Here. New file.
32667 * elf/rtld.c: Include "setup-vdso.h".
32668 (dl_main): Call setup_vdso.
32669
23c31b76
JM
326702012-10-05 Joseph Myers <joseph@codesourcery.com>
32671
28234b07
JM
32672 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32673 creal in comment listing functions tested. List finite, isinf,
32674 isnan, isless, islessequal, isgreater, isgreaterequal,
32675 islessgreater, isunordered, lgamma_r and pow10 as functions and
32676 macros not tested. Mention which functions not tested are aliases
32677 for other functions. Fix typo. Note that signs of NaNs are not
32678 tested.
32679
23c31b76
JM
32680 * scripts/config.guess: Update from config.git.
32681 * scripts/config.sub: Likewise.
32682
9043e228
RM
326832012-10-04 Roland McGrath <roland@hack.frob.com>
32684
32685 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32686 * misc/madvise.c (madvise): Renamed to __madvise.
32687 Make madvise a weak alias.
32688 * include/sys/mman.h: Declare __madvise.
32689 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32690 * sysdeps/unix/syscalls.list
32691 (madvise): Make __madvise the strong name, and madvise a weak alias.
32692 * sysdeps/unix/sysv/linux/syscalls.list
32693 (madvise, mmap): Remove redundant entries.
32694 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32695 * malloc/malloc.c (mtrim): Likewise.
32696 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32697
f57f8055
RM
326982012-10-03 Roland McGrath <roland@hack.frob.com>
32699
32700 * sysdeps/mach/hurd/dl-cache.c: File removed.
32701 * config.h.in (USE_LDCONFIG): New #undef.
32702 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32703 * configure: Regenerated.
32704 * elf/Makefile (dl-routines): Add dl-cache only under
32705 [$(use-ldconfig) = yes].
32706 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32707 cache on [USE_LDCONFIG].
32708 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32709 [USE_LDCONFIG].
32710 * elf/rtld.c (dl_main): Likewise.
32711
5bb0c10a
PT
327122012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32713
32714 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32715 _SC_LEVEL4_CACHE_LINESIZE.
32716
010188c6
RM
327172012-10-03 Roland McGrath <roland@hack.frob.com>
32718
32719 * sysdeps/unix/bsd/confstr.h: File removed.
32720
b6c5ec07
AO
327212012-10-02 Alexandre Oliva <aoliva@redhat.com>
32722
32723 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32724 sys/sdt-config.h.
32725
408223d4
RM
327262012-10-02 Roland McGrath <roland@hack.frob.com>
32727
32728 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32729 Make 'mapoff' field ElfW(Off) rather than off_t.
32730
bb9510dc
DL
327312012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32732
fc997c6e
DL
32733 * nscd/Makefile: Remove nscd-cflags and all its users.
32734 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32735 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32736
bb9510dc
DL
32737 [BZ #10631]
32738 * malloc.c (malloc_printerr): Clarify error message.
32739
05699367
L
327402012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32741
32742 [BZ #14648]
32743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32744 Set bit_FMA_Usable if FMA is supported.
32745 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32746 macro.
32747 (bit_FMA4_Usable): Updated.
32748 (index_FMA_Usable): New macro.
32749 (CPUID_FMA): Likewise
32750 (HAS_FMA): Defined with bit_FMA_Usable.
32751
51367701
RM
327522012-10-01 Roland McGrath <roland@hack.frob.com>
32753
32754 * bits/types.h (__swblk_t): Type removed.
32755 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32756 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32757 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32758 (__SWBLK_T_TYPE): Likewise.
32759 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32760 (__SWBLK_T_TYPE): Likewise.
32761 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32762 (__SWBLK_T_TYPE): Likewise.
32763 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32764 (__SWBLK_T_TYPE): Likewise.
32765
4d57bf63 327662012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32767 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32768
32769 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32770 (xdr_mapname): Use YPMAXMAP as maxsize.
32771 (xdr_peername): Use YPMAXPEER as maxsize.
32772 (xdr_keydat): Use YPAXRECORD as maxsize.
32773 (xdr_valdat): Use YPMAXRECORD as maxsize.
32774
93c65d43
RM
327752012-10-01 Roland McGrath <roland@hack.frob.com>
32776
497a03d6
RM
32777 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32778
93c65d43
RM
32779 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32780 * csu/init-first.c: ... here.
32781 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32782 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32783 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32784 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32785 * sysdeps/i386/init-first.c: File removed.
32786 * sysdeps/sh/init-first.c: File removed.
32787
bec749fd
JM
327882012-10-01 Joseph Myers <joseph@codesourcery.com>
32789
32790 [BZ #14645]
32791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32792 if x * y might underflow to zero and z is zero.
32793 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32794 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32795 * math/libm-test.inc (min_subnorm_value): New variable.
32796 (fma_test): Add more tests.
32797 (fma_test_towardzero): Likewise.
32798 (fma_test_downward): Likewise
32799 (fma_test_upward): Likewise.
32800 (initialize): Set min_subnorm_value.
32801
8ec5b013
JM
328022012-09-29 Joseph Myers <joseph@codesourcery.com>
32803
32804 [BZ #14638]
32805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32806 0 + 0.
32807 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32808 mode for addition resulting in exact zero.
32809 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32810 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32811 exact 0 + 0.
32812 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32813 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32814 * math/libm-test.inc (fma_test): Add more tests.
32815 (fma_test_towardzero): New function.
32816 (fma_test_downward): Likewise.
32817 (fma_test_upward): Likewise.
32818 (main): Call the new functions.
32819
b1fa802e
DM
328202012-09-28 David S. Miller <davem@davemloft.net>
32821
32822 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32823
d3b9fd9e
RM
328242012-09-28 Roland McGrath <roland@hack.frob.com>
32825
ea4d37b3
RM
32826 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32827 instead of SIGALRM.
32828
ac51c949
RM
32829 * sysdeps/gnu/_G_config.h: Moved to ...
32830 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32831 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32832 * sysdeps/generic/_G_config.h: ... here.
32833
28c195f7
RM
32834 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32835
848917f9
RM
32836 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32837
6bacf05b
RM
32838 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32839 Conditionalize target on [libnss_test1.so-version].
32840
91363dbb
RM
32841 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32842
cc87f7d8
RM
32843 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32844 (elfobjdir): Move out of conditionals.
32845
b1c608fe
RM
32846 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32847 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32848 (__nss_lookup_function): Conditionalize label remove_from_tree on
32849 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32850
1d9a6d96
DM
328512012-09-28 David S. Miller <davem@davemloft.net>
32852
32853 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32854 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32855 file.
32856 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32857 sysdep_routines.
32858 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32859 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32860 when HWCAP_SPARC_CRYPTO is present.
32861
72581615
PT
328622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32863
32864 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32865
715a900c
JL
328662012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32867
32868 [BZ #6530]
32869 * stdio-common/vfprintf.c (process_string_arg): Revert
32870 2000-07-22 change.
32871
328722011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32873
32874 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32875 for testcase.
32876 * stdio-common/tst-sprintf.c: Include <locale.h>
32877 (main): Test sprintf's handling of incomplete multibyte
32878 characters.
32879
9bac1d86
L
328802012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32881
32882 * elf/dl-runtime.c (VERSYMIDX): Removed.
32883 * elf/dl-version.c (VERSYMIDX): Likewise.
32884 * elf/do-rel.h (VERSYMIDX): Likewise.
32885 (VALIDX): Likewise.
32886 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32887 * elf/rtld.c (VALIDX): Likewise.
32888 (ADDRIDX): Likewise.
9bac1d86
L
32889 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32890 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32891 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32892 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32893 (VALIDX): Likewise.
32894 (ADDRIDX): Likewise.
9bac1d86 32895
b31606c0
PT
328962012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32897
32898 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32899
11541177
JL
329002012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32901
32902 [BZ #11438]
32903 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32904 to global scope.
32905 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32906 addresses are in the same scope as 192.0.2/24.
32907 * posix/gai.conf: Document new scope table defaults.
32908
adb26fae
SP
329092012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32910
32911 [BZ #5298]
32912 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32913 for ftell. Compute offsets from write pointers instead.
32914 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32915
4573c6b0
SP
329162012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32917
32918 [BZ #14543]
32919 * libio/Makefile (tests): New test case tst-fseek.
32920 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32921 combination works in wide mode.
32922 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32923 state when the external buffer state changes.
32924
aa9bbfe6
DM
329252012-09-27 David S. Miller <davem@davemloft.net>
32926
32927 [BZ #14376]
32928 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32929 pass reloc->r_addend in as the 'high' argument to
32930 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32931
784421e7
DM
32932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32933
c39bc8b8
PT
329342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32935
32936 * rt/tst-aio2.c: Include <pthread.h>.
32937 * rt/tst-aio3.c: Likewise.
32938
1ccc2399
SE
329392012-09-27 Steve Ellcey <sellcey@mips.com>
32940
32941 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32942
31ed4153
L
329432012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32944
25f5f885
L
32945 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32946 contents on [SHARED].
31ed4153 32947
b7bfe116
MP
329482012-09-26 Marek Polacek <polacek@redhat.com>
32949
32950 [BZ #14530]
32951 [BZ #13741]
32952 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32953 for C++ and GCC <4.3 as well as for non GCC compilers.
32954
43c4edba
MT
329552012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32956
32957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32958
6a1bf82f
RM
329592012-09-25 Roland McGrath <roland@hack.frob.com>
32960
32961 * Makefile.in (all, install): Declare with .PHONY.
32962 Reported by Michael Hope <michael.hope@linaro.org>.
32963
8ad11b9a
TMQMF
329642012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32965
32966 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32967 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32968 system header.
32969 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32970 Likewise.
32971 (sydep_routines): Add the new and the internal functions.
32972 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32973 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32975 (GLIBC_2.17): Add the new function.
32976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32977 (GLIBC_2.17): Likewise.
32978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32979 (GLIBC_2.17): Likewise.
32980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32981 (GLIBC_2.17): Likewise.
32982 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32983
7e2fca8d
AM
329842012-09-25 Alan Modra <amodra@gmail.com>
32985
32986 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32987 Add release barrier before setting once_control to say
32988 initialisation is done. Add hints on lwarx. Use macro in
32989 place of isync.
32990 (clear_once_control): Add release barrier.
32991
b87c4b24
JM
329922012-09-25 Joseph Myers <joseph@codesourcery.com>
32993
d032e0d2
JM
32994 [BZ #13629]
32995 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32996 specially.
32997 * math/s_clog10.c (__clog10): Likewise.
32998 * math/s_clog10f.c (__clog10f): Likewise.
32999 * math/s_clog10l.c (__clog10l): Likewise.
33000 * math/s_clogf.c (__clogf): Likewise.
33001 * math/s_clogl.c (__clogl): Likewise.
33002 * math/Makefile (libm-calls): Add x2y2m1.
33003 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33004 (__x2y2m1): Likewise.
33005 (__x2y2m1l): Likewise.
33006 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33007 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33008 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33009 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33010 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33011 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33012 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33013 * sysdeps/i386/fpu/libm-test-ulps: Update.
33014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33015
b87c4b24
JM
33016 [BZ #14621]
33017 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33018 int as type of variable DEPTH.
33019 (glob): Use size_t instead of int as type of variables NEWCOUNT
33020 and OLD_PATHC.
33021
6d3bf199
LD
330222012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33023
22bf5c17
LD
33024 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33025 Add s_sincosf-sse2.
33026 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33027 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33028 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33029 macros for using routine as __sincosf_ia32.
33030 Use macro for function declaration and weak_alias.
33031 * sysdeps/i386/fpu/libm-test-ulps: Update.
33032
33033 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33035
33036 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
33037 subnormal argument.
33038 * math/s_cexpf.c (__cexpf): Likewise.
33039 * math/s_csinf.c (__csinf): Likewise.
33040 * math/s_csinhf.c (__csinhf): Likewise.
33041 * math/s_ctanf.c (__ctanf): Likewise.
33042 * math/s_ctanhf.c (__ctanhf): Likewise.
33043 * math/s_ccosh.c (__ccoshf): Likewise.
33044 * math/s_cexp.c (__cexpl): Likewise.
33045 * math/s_csin.c (__csin): Likewise.
33046 * math/s_csinh.c (__csinh): Likewise.
33047 * math/s_ctan.c (__ctan): Likewise.
33048 * math/s_ctanh.c (ctanh): Likewise.
33049 * math/s_ccoshl.c (__ccoshl): Likewise.
33050 * math/s_cexpl.c (__cexpl): Likewise.
33051 * math/s_csinl.c (__csinl): Likewise.
33052 * math/s_csinhl.c (__csinhl): Likewise.
33053 * math/s_ctanl.c (__ctanl): Likewise.
33054 * math/s_ctanhl.c (__ctanhl): Likewise.
33055
203e5603
JM
330562012-09-25 Joseph Myers <joseph@codesourcery.com>
33057
33058 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33059 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33060 (_IO_off_t): Define to __off_t, not _G_off_t.
33061 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33062 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33063 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33064 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33065 type of __dummy and __dummy2 fields.
33066 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33067 (_G_ssize_t): Likewise.
33068 (_G_off_t): Likewise.
33069 (_G_pid_t): Likewise.
33070 (_G_uid_t): Likewise.
33071 (_G_wchar_t): Likewise.
33072 (_G_wint_t): Likewise.
33073 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33074 (_G_ssize_t): Likewise.
33075 (_G_off_t): Likewise.
33076 (_G_pid_t): Likewise.
33077 (_G_uid_t): Likewise.
33078 (_G_wchar_t): Likewise.
33079 (_G_wint_t): Likewise.
33080 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33081 (_G_ssize_t): Likewise.
33082 (_G_off_t): Likewise.
33083 (_G_pid_t): Likewise.
33084 (_G_uid_t): Likewise.
33085 (_G_wchar_t): Likewise.
33086 (_G_wint_t): Likewise.
33087
9fab36eb
SP
330882012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33089
33090 * malloc/arena.c: Include malloc-sysdep.h.
33091 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33092 is sufficient to shrink the heap or an unmap is needed.
33093 * sysdeps/generic/malloc-sysdep.h: New file. Define
33094 new function check_may_shrink_heap.
33095 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33096 new function check_may_shrink_heap.
33097
2b4f00d1
SP
330982012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33099
33100 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33101 comments.
33102
9a9028b1
DL
331032012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33104
57c69bef
DL
33105 * catgets/test-gencat.sh: Add "set -e".
33106 * elf/tst-pathopt.sh: Likewise.
33107 * grp/tst_fgetgrent.sh: Likewise.
33108 * iconvdata/run-iconv-test.sh: Likewise.
33109 * intl/tst-gettext.sh: Likewise.
33110 * intl/tst-gettext2.sh: Likewise.
33111 * intl/tst-gettext4.sh: Likewise.
33112 * intl/tst-gettext6.sh: Likewise.
33113 * intl/tst-translit.sh: Likewise.
33114 * io/ftwtest-sh: Likewise.
33115 * libio/test-freopen.sh: Likewise.
33116 * malloc/tst-mtrace.sh: Likewise.
33117 * posix/globtest.sh: Likewise.
33118 * posix/tst-getconf.sh: Likewise.
33119 * posix/wordexp-tst.sh: Likewise.
33120 * stdio-common/tst-printf.sh: Likewise.
33121 * stdio-common/tst-unbputc.sh: Likewise.
33122 * stdlib/tst-fmtmsg.sh: Likewise.
33123 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33124 * catgets/Makefile: Do not specify -e option when running
33125 testsuite shell scripts.
33126 * elf/Makefile: Likewise.
33127 * grp/Makefile: Likewise.
33128 * iconvdata/Makefile: Likewise.
33129 * intl/Makefile: Likewise.
33130 * io/Makefile: Likewise.
33131 * libio/Makefile: Likewise.
33132 * malloc/Makefile: Likewise.
33133 * posix/Makefile: Likewise.
33134 * stdio-common/Makefile: Likewise.
33135 * stdlib/Makefile: Likewise.
33136 * sysdeps/x86_64/Makefile: Likewise.
33137
9a9028b1
DL
33138 * io/ftwtest-sh: Add copyright header.
33139 * posix/globtest.sh: Likewise.
33140 * posix/tst-getconf.sh: Likewise.
33141 * posix/wordexp-tst.sh: Likewise.
33142 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33143
ced6f16e
L
331442012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33145
94b32c39
L
33146 [BZ #13679]
33147 * Makeconfig (+link): Defined as $(+link-static) if
33148 $(build-shared) isn't yes.
33149 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33150 isn't yes.
33151 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33152
189e935b
L
33153 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33154
ced6f16e
L
33155 [BZ #14562]
33156 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33157 new chunk size with MALLOC_ALIGN_MASK.
33158
a9f8e53a
JM
331592012-09-24 Joseph Myers <joseph@codesourcery.com>
33160
33161 [BZ #5044]
33162 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33163 <rounding-mode.h>.
33164 (__printf_fphex): Determine rounding using get_rounding_mode and
33165 round_away.
33166 * stdio-common/tst-printf-round.c (struct hex_test): New
33167 structure.
33168 (hex_tests): New variable.
33169 (test_hex_in_one_mode): New function.
33170 (do_test): Also run tests for hex float output.
33171
43153109
JM
331722012-09-21 Joseph Myers <joseph@codesourcery.com>
33173
33174 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33175 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33176 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33177 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33178 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33179 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33180 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33181 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33182
8a26625d
JM
331832012-09-20 Joseph Myers <joseph@codesourcery.com>
33184
33185 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33186 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33187 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33188 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33189
f3fd569c
DL
331902012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33191
33192 [BZ #14579]
33193 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33194 mode only.
33195 * elf/tst-rtld-load-self.sh: New test.
33196 * elf/Makefile: Run it.
33197
63bbedd4
JM
331982012-09-18 Joseph Myers <joseph@codesourcery.com>
33199
33200 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33201 (tst-writev-ENV): Remove.
33202 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33203
626f8b6a
CM
332042012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33205
33206 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33207
b7aaa4d6
JM
332082012-09-17 Joseph Myers <joseph@codesourcery.com>
33209
33210 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33211 unconditional.
33212 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33213 Likewise.
33214 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33215 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33216 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33217 Likewise.
33218
65513990
L
332192012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33220
33221 [BZ #14587]
33222 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33223 * config.make.in (have-cpp-asm-debuginfo): Removed.
33224 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33225 * configure: Regenerated.
33226
784761be
JM
332272012-09-14 Joseph Myers <joseph@codesourcery.com>
33228
33229 [BZ #5044]
33230 * stdio-common/printf_fp.c: Include <stdbool.h> and
33231 <rounding-mode.h>.
33232 (___printf_fp): Determine rounding using get_rounding_mode and
33233 round_away.
33234 * stdio-common/tst-printf-round.c: New file.
33235 * stdio-common/Makefile (tests): Add tst-printf-round.
33236 (link-libm): New variable.
33237 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33238
9503345f
L
332392012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33240
33241 [BZ #14576]
33242 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33243 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33244 Likewise.
33245 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33246 Likewise.
33247
ad35fc00
JM
332482012-09-13 Joseph Myers <joseph@codesourcery.com>
33249
33250 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33251 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33252 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33253 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33254
6c9b0f68
JM
332552012-09-12 Joseph Myers <joseph@codesourcery.com>
33256
33257 [BZ #14518]
33258 * include/rounding-mode.h: New file.
33259 * sysdeps/generic/get-rounding-mode.h: Likewise.
33260 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33261 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33262 (MAX_VALUE): New macro.
33263 (MIN_VALUE): Likewise.
33264 (overflow_value): New function.
33265 (underflow_value): Likewise.
33266 (round_and_return): Use overflow_value and underflow_value to
33267 determine return values in overflow and underflow cases. Use
33268 round_away to determine rounding depending on rounding mode.
33269 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33270 determine return values in overflow and underflow cases.
33271 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33272 (struct test_results): New structure.
33273 (struct test): Use struct test_results to store expected results
33274 for all rounding modes.
33275 (TEST): Include expected results for all rounding modes.
33276 (test_in_one_mode): New function.
33277 (do_test): Use test_in_one_mode to compute and check results.
33278 Check results for all rounding modes.
33279 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33280 $(link-libm).
33281
19fcedd5
AM
332822012-12-09 Allan McRae <allan@archlinux.org>
33283
1e9d84cd 33284 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 33285
8bbfd2f1
JM
332862012-09-11 Joseph Myers <joseph@codesourcery.com>
33287
33288 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33289 (_G_int32_t): Likewise.
33290 (_G_uint16_t): Likewise.
33291 (_G_uint32_t): Likewise.
33292 (_G_HAVE_BOOL): Likewise.
33293 (_G_HAVE_ATEXIT): Likewise.
33294 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33295 (_G_HAVE_IO_FILE_OPEN): Likewise.
33296 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33297 (_G_int32_t): Likewise.
33298 (_G_uint16_t): Likewise.
33299 (_G_uint32_t): Likewise.
33300 (_G_HAVE_BOOL): Likewise.
33301 (_G_HAVE_ATEXIT): Likewise.
33302 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33303 (_G_HAVE_IO_FILE_OPEN): Likewise.
33304 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33305 (_G_int32_t): Likewise.
33306 (_G_uint16_t): Likewise.
33307 (_G_uint32_t): Likewise.
33308 (_G_HAVE_BOOL): Likewise.
33309 (_G_HAVE_ATEXIT): Likewise.
33310 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33311 (_G_HAVE_IO_FILE_OPEN): Likewise.
33312
b1dc5912
L
333132012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33314
33315 * csu/libc-tls.c: Update copyright years.
33316
0e886ef9
JM
333172012-09-10 Joseph Myers <joseph@codesourcery.com>
33318
28361c5e
JM
33319 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33320 [!_G_USING_THUNKS]: Remove conditional code.
33321 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33322 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33323
0e886ef9
JM
33324 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33325 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33326 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33327 (_G_VTABLE_LABEL_PREFIX): Likewise.
33328 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33329 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33330 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33331 (_G_VTABLE_LABEL_PREFIX): Likewise.
33332 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33333 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33334 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33335 (_G_VTABLE_LABEL_PREFIX): Likewise.
33336 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33337
bcba7aa2
L
333382012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33339
33340 * libio/Makefile: Include ../Makeconfig before tests.
33341 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33342 only if $(build-shared) is yes.
33343
06585ee8
L
33344 * iconv/gconv_db.c: Update copyright years.
33345
80ccd52c
LD
333462012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33347
33348 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33349 unwind info if defined PIC. Fix special cases description.
33350 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33351
33352 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33353 DP_HI_MASK entry.
33354 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33355
691bc9c1
L
333562012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33357
3d9b46b3
L
33358 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33359
de2139a9
L
33360 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33361 is NULL.
33362
5ca78dd0
L
33363 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33364 (LDLIBS-tst-chk4): This.
33365 (LDFLAGS-tst-chk5): Renamed to ...
33366 (LDLIBS-tst-chk5): This.
33367 (LDFLAGS-tst-chk6): Renamed to ...
33368 (LDLIBS-tst-chk6): This.
33369 (LDFLAGS-tst-lfschk4): Renamed to ...
33370 (LDLIBS-tst-lfschk4): This.
33371 (LDFLAGS-tst-lfschk5): Renamed to ...
33372 (LDLIBS-tst-lfschk5): This.
33373 (LDFLAGS-tst-lfschk6): Renamed to ...
33374 (LDLIBS-tst-lfschk6): This.
33375
691bc9c1
L
33376 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33377 on $(common-objpfx)soversions.mk.
33378
65cafb1c
JM
333792012-09-07 Joseph Myers <joseph@codesourcery.com>
33380
33381 [BZ #10014]
33382 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33383 example host name.
33384
c78ab094
SP
333852012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33386
33387 * malloc/arena.c (arena_get_retry): New function that gets
33388 another arena for the caller to try its request on.
33389 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33390 current arena cannot fulfill the request.
33391 (__libc_memalign): Likewise.
33392 (__libc_memalign): Likewise.
33393 (__libc_pvalloc): Likewise.
33394 (__libc_calloc): Likewise.
33395
01f49f59
JT
333962012-09-05 John Tobey <john.tobey@gmail.com>
33397
33398 [BZ #13542]
33399 * manual/arith.texi (Operations on Complex): Fix description
33400 of carg branch cut.
33401
4c23fed5
JM
334022012-09-06 Joseph Myers <joseph@codesourcery.com>
33403
1d3c8572
JM
33404 [BZ #10014]
33405 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33406 host name.
33407
4c23fed5
JM
33408 [BZ #10038]
33409 * manual/memory.texi (Memory): Make order of menu items match
33410 order of sections.
33411
04570aaa
L
334122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33413
33414 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33415 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33416 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33417
b80af2f4
L
334182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33419
33420 * csu/libc-tls.c (static_dtv): Renamed to ...
33421 (_dl_static_dtv): This. Make it global.
33422 (_dl_initial_dtv): Removed.
33423 (__libc_setup_tls): Updated.
33424 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33425 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33426 DL_INITIAL_DTV.
33427
2abe9f15
PM
334282012-09-06 Petr Machata <pmachata@redhat.com>
33429
33430 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33431 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33432 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33433 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33434
0948c3af
L
334352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33436
33437 [BZ #14545]
33438 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33439 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33440 freeing dtv[-1].
33441
a5055ad1
L
334422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33443
33444 [BZ #14544]
33445 * Makeconfig (link-static-before-libc): Replace $(+prector)
33446 with $(+prectorT).
33447 (link-static-after-libc): Replace $(+postctor) with
33448 $(+postctorT).
33449 (link-bounded): Replace $(+prector)/$(+postctor) with
33450 $(+prectorT)/$(+postctorT).
33451 (+prectorT): New macro.
33452 (+postctorT): Likewise.
33453
ed8c2ecd
JM
334542012-09-06 Joseph Myers <joseph@codesourcery.com>
33455
33456 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33457 (round_str): Handle values above the maximum for IBM long double
33458 as inexact.
33459 * stdlib/tst-strtod-round.c (tests): Regenerated.
33460
14c996c8
AK
334612012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33462
33463 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33464 assembler flag.
33465 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33466 zarch_nohighgprs around the zarch optimized routines.
33467 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33468 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33469 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33470 for zarch.
33471
430d6ce6
DM
334722012-09-05 David S. Miller <davem@davemloft.net>
33473
33474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33475
57f41c40
AS
33476 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33477 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
33478 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33479 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33480 entries.
33481
24d4e01b
AO
334822012-09-05 Alexandre Oliva <aoliva@redhat.com>
33483
33484 * malloc/arena.c: Fold copyright years.
33485 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33486
61d58174
AO
334872012-09-05 Alexandre Oliva <aoliva@redhat.com>
33488
33489 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33490
20196a5e
AO
334912012-09-05 Alexandre Oliva <aoliva@redhat.com>
33492
33493 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33494
5c447383
AO
334952012-09-05 Alexandre Oliva <aoliva@redhat.com>
33496
33497 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33498 change internal state upon failure.
33499
fad64255
AO
335002012-09-05 Alexandre Oliva <aoliva@redhat.com>
33501
33502 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33503 * malloc/memusage.c (mmap): Likewise.
33504 (mmap64, mremap): Likewise. Adjust name in comment.
33505
1ffb8c90
SP
335062012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33507
33508 * libio/fileops.c: Fix typos in comments.
33509 * libio/oldfileops.c: Likewise.
33510 * libio/wfileops.c: Likewise.
33511
6ef9cc37
SP
335122012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33513
33514 [BZ #1349]
33515 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33516 (tst-malloc-usable-ENV): Set environment for test case.
33517 * malloc/hooks.c (malloc_check_get_size): New function to get
33518 requested size.
33519 * malloc/malloc.c (musable): Use malloc_check_get_size.
33520 * malloc/tst-malloc-usable.c: New test case.
33521
4d038ae3
AS
335222012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33523
33524 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33525
c4e85184
AM
335262012-09-05 Allan McRae <allan@archlinux.org>
33527
b9dafc56 33528 [BZ #13966]
c4e85184
AM
33529 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33530 determine header location.
33531 * configure: Regenerated.
33532
e1343020
AS
335332012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33534
33535 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33536 float format.
33537 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
33538 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33539 format.
e1343020
AS
33540 (test): Regenerate.
33541
0a9f1987
DM
335422012-09-04 David S. Miller <davem@davemloft.net>
33543
33544 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33545 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33546 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33547
29237804
FW
335482012-09-04 Florian Weimer <fweimer@redhat.com>
33549
33550 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33551 failures.
33552
edb3cb88
FW
33553 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33554
60160d83
JM
335552012-09-04 Joseph Myers <joseph@codesourcery.com>
33556
33557 [BZ #9914]
33558 * libio/iogetdelim.c: Include <limits.h>.
33559 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33560 + len + 1 would overflow.
33561
bcd6c8dc
AJ
335622012-09-03 Andreas Jaeger <aj@suse.de>
33563
33564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33565 * sysdeps/i386/fpu/libm-test-ulps: Update.
33566
4ffffbd2
LD
335672012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33568
33569 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33570 Add s_sinf-sse2, s_conf-sse2.
33571
33572 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33573 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33574 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33575 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33576
33577 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33578 for using routine as __sinf_ia32.
33579 Use macro for function declaration and weak_alias.
33580 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33581 for using routine as __cosf_ia32.
33582 Use macro for function declaration and weak_alias.
33583
33584 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33585 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33586
33587 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33588 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33590
33591 * math/libm-test.inc (cos_test): Add more test cases.
33592 (sin_test): Likewise.
33593 (sincos_test): Likewise.
33594
511fa286
AK
335952012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33596
33597 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33598 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33599 hidden.
33600 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33601
5f30cfec
L
336022012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33603
33604 [BZ #14538]
33605 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33606 first element of the GOT.
33607 (elf_machine_load_address): Return the difference between
33608 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33609
0786794f
AM
336102012-09-01 Allan McRae <allan@archlinux.org>
33611
5f30cfec
L
33612 [BZ #13412]
33613 * configure.in (AWK): Require gawk version 3.0 or later.
33614 * configure: Regenerated.
0786794f 33615
26889eac
JM
336162012-09-01 Joseph Myers <joseph@codesourcery.com>
33617
33618 * sysdeps/unix/sysv/linux/kernel-features.h
33619 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33620 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33621 [__NR_clock_getres]: Make code unconditional.
33622 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33623 (clock_getcpuclockid): Remove code left unreachable by removal of
33624 conditionals.
33625 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33626 code unconditional.
33627 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33628 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33629 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33630 Make code unconditional.
33631 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33632 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33633 * sysdeps/unix/sysv/linux/clock_settime.c
33634 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33635 conditional code.
33636 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33637 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33638
d22e28b0
L
336392012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33640
33641 [BZ #14476]
33642 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33643 scripts/test-installation.pl.
33644
33645 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33646 and $ld_so_version if it is set.
33647
050af9c4
SP
336482012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33649
33650 [BZ #14516]
33651 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33652 failure if reading from procfs failed.
33653 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33654
ad845c0b
JM
336552012-08-27 Joseph Myers <joseph@codesourcery.com>
33656
33657 * sysdeps/unix/sysv/linux/kernel-features.h
33658 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33659 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33660 Remove conditional code.
33661 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33662 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33663 Remove conditional code.
33664 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33665 * sysdeps/unix/sysv/linux/i386/fxstat.c
33666 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33667 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33668 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33669 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33670 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33671 * sysdeps/unix/sysv/linux/i386/lxstat.c
33672 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33673 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33674 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33675 Remove conditional code.
33676 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33677 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33678 Remove conditional code.
33679 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33680 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33681 <kernel-features.h>.
33682 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33683 Remove.
33684 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33685 Remove conditional code.
33686 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33687 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33688 Remove conditional.
33689
5dbf56af
MF
336902012-08-27 Mike Frysinger <vapier@gentoo.org>
33691
33692 [BZ #5400]
33693 * NEWS: Add fixed bug number.
33694
d6e70f43
JM
336952012-08-27 Joseph Myers <joseph@codesourcery.com>
33696
7efb4737
JM
33697 [BZ #14519]
33698 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33699 underflowing exponent in case of negative sign.
33700 * stdlib/tst-strtod-round-data: Add more tests.
33701 * stdlib/tst-strtod-round.c (tests): Regenerated.
33702
af92131a
JM
33703 [BZ #3479]
33704 * stdlib/strtod_l.c (NDIG): Remove.
33705 (HEXNDIG): Likewise.
33706 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33707 smallest representable value.
33708 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33709 lie within an exact representation of 1/2 ulp of the result.
33710 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33711 unconditionally.
33712 (TENS_P9_IDX): Define unconditionally.
33713 (TENS_P9_SIZE): Likewise.
33714 (TENS_P10_IDX): Likewise.
33715 (TENS_P10_SIZE): Likewise.
33716 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33717 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33718 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33719 entries for 10^2^13 and 10^2^14.
33720 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33721 (TENS_P13_IDX): Define.
33722 (TENS_P13_SIZE): Likewise.
33723 (TENS_P14_IDX): Likewise.
33724 (TENS_P14_SIZE): Likewise.
33725 (_fpioconst_pow10): Change array size to
33726 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33727 unconditional.
33728 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33729 1024]: Add entries for 10^2^13 and 10^2^14.
33730 [LAST_POW10 > _LAST_POW10]: Remove #error.
33731 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33732 (_fpioconst_pow10): Change array size to
33733 FPIOCONST_POW10_ARRAY_SIZE.
33734 * stdlib/gen-fpioconst.c: New file.
33735 * stdlib/gen-tst-strtod-round.c: Likewise.
33736 * stdlib/tst-strtod-round-data: Likewise.
33737 * stdlib/tst-strtod-round.c: Likewise.
33738 * stdlib/Makefile (tests): Add tst-strtod-round.
33739
d6e70f43
JM
33740 [BZ #14459]
33741 * stdlib/strtod_l.c: Include <stdint.h>.
33742 (NDEBUG): Do not define.
33743 (round_and_return): Change EXPONENT parameter to type intmax_t.
33744 Rearrange calculations to avoid internal overflow possibilities.
33745 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33746 Rearrange calculations to avoid internal overflow possibilities.
33747 Assert that number fits inside MPNSIZE limbs.
33748 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33749 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33750 calculations and add assertions to avoid internal overflow
33751 possibilities. Add casts to avoid signed/unsigned operations.
33752 * stdlib/tst-strtod-overflow.c: New file.
33753 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33754
1f529f7d
MP
337552012-08-25 Marek Polacek <polacek@redhat.com>
33756
33757 * time/time.h: Fix some typos in comments.
33758
59a629f1
RM
337592012-08-23 Roland McGrath <roland@hack.frob.com>
33760
33761 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33762 * posix/tst-rfc3484-2.c: Likewise.
33763 * posix/tst-rfc3484-3.c: Likewise.
33764
d3bafbc9
SM
337652012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33766
33767 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33768 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33769
4efcc022
JM
337702012-08-23 Joseph Myers <joseph@codesourcery.com>
33771
33772 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33773 #include of fxstatat64.c.
33774
3cc3ef96
RM
337752012-08-22 Roland McGrath <roland@hack.frob.com>
33776
f04e2132
RM
33777 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33778 * shadow/getspent_r.c: Likewise.
33779 * shadow/getspnam.c: Likewise.
33780 * shadow/getspnam_r.c: Likewise.
33781 * gshadow/getsgent.c: Likewise.
33782 * gshadow/getsgent_r.c: Likewise.
33783 * gshadow/getsgnam.c: Likewise.
33784 * gshadow/getsgnam_r.c: Likewise.
33785 * inet/getnetbyad.c: Likewise.
33786 * inet/getnetbyad_r.c: Likewise.
33787 * inet/getnetbynm.c: Likewise.
33788 * inet/getnetbynm_r.c: Likewise.
33789 * inet/getnetent.c: Likewise.
33790 * inet/getnetent_r.c: Likewise.
33791 * inet/getproto.c: Likewise.
33792 * inet/getproto_r.c: Likewise.
33793 * inet/getprtent.c: Likewise.
33794 * inet/getprtent_r.c: Likewise.
33795 * inet/getprtname.c: Likewise.
33796 * inet/getprtname_r.c: Likewise.
33797 * inet/getrpcbyname.c: Likewise.
33798 * inet/getrpcbyname_r.c: Likewise.
33799 * inet/getrpcbynumber.c: Likewise.
33800 * inet/getrpcbynumber_r.c: Likewise.
33801 * inet/getrpcent.c: Likewise.
33802 * inet/getrpcent_r.c: Likewise.
33803 * inet/getaliasent.c: Likewise.
33804 * inet/getaliasent_r.c: Likewise.
33805 * inet/getaliasname.c: Likewise.
33806 * inet/getaliasname_r.c: Likewise.
33807 * nscd/getgrgid_r.c: Likewise.
33808 * nscd/getgrnam_r.c: Likewise.
33809 * nscd/gethstbyad_r.c: Likewise.
33810 * nscd/gethstbynm3_r.c: Likewise.
33811 * nscd/getpwnam_r.c: Likewise.
33812 * nscd/getpwuid_r.c: Likewise.
33813 * nscd/getsrvbynm_r.c: Likewise.
33814 * nscd/getsrvbypt_r.c: Likewise.
33815 * nscd/gai.c: Likewise.
33816
c53d909c
RM
33817 * configure.in (build_nscd): New substituted variable, set
33818 by --disable-build-nscd and defaults to $use_nscd.
33819 * configure: Regenerated.
33820 * config.make.in (build-nscd): New substituted variable.
33821 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33822 Change conditional to require [$(build-nscd) = yes] as well.
33823 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33824
3cc3ef96
RM
33825 [BZ# 13696]
33826 * configure.in (use_nscd): New substituted variable, set by
33827 --disable-nscd. If enabled, define USE_NSCD.
33828 * configure: Regenerated.
33829 * config.h.in: Add USE_NSCD.
33830 * config.make.in (use-nscd): New substituted variable.
33831 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33832 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33833 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33834 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33835 (CFLAGS-getgrnam_r.c): Likewise.
33836 (CFLAGS-initgroups.c): Likewise.
33837 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33838 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33839 Variables removed.
33840 * inet/getnetgrent_r.c
33841 (nscd_setnetgrent): New function, broken out of ...
33842 (setnetgrent): ... here. Call it.
33843 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33844 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33845 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33846 * nscd/Makefile (routines, aux): Move definitions after include of
33847 Makeconfig. Conditionalize on [$(use-nscd) != no].
33848 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33849 Conditionalize on [USE_NSCD].
33850 (is_nscd, nscd_init_cb): Likewise.
33851 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33852 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33853 * nss/nss_db/db-init.c: Likewise.
33854 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33855 [USE_NSCD].
33856 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33857 (make_request): Use it.
33858 (cache_valid_p): New function.
33859 (__check_pf): Use it.
33860 * NEWS: Add item for --disable-nscd.
33861
07e51550
DL
338622012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33863
33864 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33865 to support sed >= 4.2.1-20-ga9bf076.
33866 * configure: Regenerated.
33867
35a5b08b
RM
338682012-08-22 Roland McGrath <roland@hack.frob.com>
33869
33870 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33871 Conditionalize whole body on [IREL].
33872
8479f23a
JL
338732012-08-22 Jeff Law <law@redhat.com>
33874
33875 [BZ #14505]
33876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33877 if the family is PF_UNSPEC.
33878
48da0b21
MF
338792012-08-22 Mike Frysinger <vapier@gentoo.org>
33880
33881 * Makerules (lib-version): Rename from V.
33882 (install-lib-nosubdir): Change V to lib-version.
33883
15d0da8c
WS
338842012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33885
33886 [BZ #14252]
33887 * powerpc32/power6/wcschr.c: New file.
33888 * powerpc32/power6/wcscpy.c: New file.
33889 * powerpc32/power6/wcsrchr.c: New file.
33890 * powerpc64/power6/wcschr.c: New file.
33891 * powerpc64/power6/wcscpy.c: New file.
33892 * powerpc64/power6/wcsrchr.c: New file.
33893
bcca0895
MK
338942012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33895
33896 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33897 (two_way_short_needle): Use it.
5a4aaa33
RM
33898 * string/strstr.c (AVAILABLE1_USES_J): Define.
33899 * string/strcasestr.c: Likewise.
99677e57
MK
33900
33901 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33902 array references.
33903 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33904
400726de
MK
33905 [BZ #11607]
33906 * NEWS: Add an entry.
33907 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33908 define their defaults.
33909 (two_way_short_needle): Detect end-of-string on-the-fly.
33910 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33911 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33912 * string/bug-strcasestr1.c: New test.
33913 * string/Makefile: Run it.
33914
20a71f2c
MK
339152012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33916
33917 [BZ #11607]
33918 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33919 the first character.
33920
21ad0558
RM
339212012-08-21 Roland McGrath <roland@hack.frob.com>
33922
33923 * csu/elf-init.c (__libc_csu_irel): Function removed.
33924 * csu/libc-start.c (apply_irel): New function.
33925 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33926
0e1d9911
JM
339272012-08-21 Joseph Myers <joseph@codesourcery.com>
33928
33929 * sysdeps/unix/sysv/linux/kernel-features.h
33930 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33931 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33932 <kernel-features.h>.
33933 [__NR_fadvise64_64]: Make code unconditional.
33934 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33935 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33936 !__NR_fadvise64_64)]: Likewise.
33937 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33938 !__NR_fadvise64_64))]: Likewise.
33939 [__NR_fadvise64]: Make code unconditional.
33940 [!__NR_fadvise64]: Remove conditional code.
33941 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33942 <kernel-features.h>.
33943 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33944 unconditional.
33945 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33946 conditional code.
33947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33948 not include <kernel-features.h>.
33949 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33950 unconditional.
33951 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33952 conditional code.
33953 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33954 include <kernel-features.h>.
33955 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33956 unconditional.
33957 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33958 conditional code.
33959
14a50c9d
WS
339602012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33961
33962 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33963 slight instruction rearrangements per scrollpipe analysis.
33964 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33965
c0f4faf0
RM
339662012-08-20 Roland McGrath <roland@hack.frob.com>
33967
696da859
RM
33968 * manual/syslog.texi (syslog; vsyslog, closelog):
33969 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33970 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33971
c0f4faf0
RM
33972 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33973 DSOCAPS to match condition on defining it.
33974
348363b2
JM
339752012-08-20 Joseph Myers <joseph@codesourcery.com>
33976
a35cbf28
JM
33977 * sysdeps/unix/sysv/linux/kernel-features.h
33978 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33980 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33981 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33983 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33984 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33986 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33987 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33988
445f7ecd
JM
33989 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33990 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33991
348363b2
JM
33992 * sysdeps/unix/sysv/linux/kernel-features.h
33993 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33994 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33995 unconditional.
33996 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33997 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33998 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33999 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34000 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34001 Make code unconditional.
34002 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34003 (__mmap64) [!__NR_mmap2]: Likewise.
34004 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34005 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34006 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34007 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34008 [__NR_mmap2]: Make code unconditional.
34009 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34010 (__mmap64) [!__NR_mmap2]: Likewise.
34011
bc5bc0e5
AK
340122012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34013
34014 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34015
88d506de
AJ
340162012-08-18 Andreas Jaeger <aj@suse.de>
34017
34018 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34019
493387d2
MF
340202012-08-18 Mike Frysinger <vapier@gentoo.org>
34021
34022 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34023 * include/unistd.h (__have_sock_cloexec): Likewise.
34024 (__have_pipe2): Likewise.
34025 (__have_dup3): Likewise.
34026
a277af22
MF
340272012-08-18 Mike Frysinger <vapier@gentoo.org>
34028
34029 [BZ #9685]
34030 * include/unistd.h (__have_pipe2): Change define into an extern int.
34031 (__have_dup3): Likewise.
34032 * socket/have_sock_cloexec.c: Include fcntl.h.
34033 (__have_pipe2): New variable.
34034 (__have_dup3): Likewise.
34035
fdab8fd3
MF
340362012-08-17 Mike Frysinger <vapier@gentoo.org>
34037
34038 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34039
31035e80
MP
340402012-08-17 Marek Polacek <polacek@redhat.com>
34041
34042 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34043 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34044
3bd9e993
RM
340452012-08-17 Roland McGrath <roland@hack.frob.com>
34046
c91c505f
RM
34047 * configure.in: Add AC_SUBST for sysheaders.
34048 * configure: Regenerated.
34049 * config.make.in (sysheaders): New substituted variable.
34050
7c6f9d53
RM
34051 * sysdeps/unix/mkfifo.c: Moved ...
34052 * sysdeps/posix/mkfifo.c: ... here.
34053 * sysdeps/unix/mkfifoat.c: Moved ...
34054 * sysdeps/posix/mkfifoat.c: ... here.
34055
34056 * sysdeps/unix/utime.c: Moved ...
34057 * sysdeps/posix/utime.c: ... here.
34058
34059 * sysdeps/unix/time.c: Moved ...
34060 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
34061 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34062 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
34063
34064 * sysdeps/unix/nice.c: Moved ...
34065 * sysdeps/posix/nice.c: ... here.
34066
34067 * sysdeps/unix/alarm.c: Moved ...
34068 * sysdeps/posix/alarm.c: ... here.
34069
3bd9e993
RM
34070 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34071
d1f09384
JL
340722012-08-17 Jeff Law <law@redhat.com>
34073
34074 * intl/Makefile (codeset_mo): New variable.
34075 ($(codeset_mo)): New target.
34076 (tst-codeset.out): Depend on that. Remove explicit rule.
34077 (tst-gettext3.out, tst-gettext5.out): Likewise.
34078 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34079 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34080 * intl/tst-codeset.sh: Remove.
34081 * intl/tst-gettext3.sh: Likewise.
34082 * intl/tst-gettext5.sh: Likewise.
34083
2ae1ae5c
RM
340842012-08-17 Roland McGrath <roland@hack.frob.com>
34085
c31fdb83
RM
34086 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34087 * sysdeps/unix/syscalls.list: ... here.
34088
a0844057
RM
34089 * sysdeps/posix/getaddrinfo.c
34090 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34091 (gaiconf_init, gaiconf_reload): Use them.
34092 [!_STATBUF_ST_NSEC]
34093 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34094 Define using time_t rather than struct timespec.
34095
750c1f2a
RM
34096 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34097 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34098 Macros removed.
34099 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34100 [!NO_THREADS].
34101 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34102 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34103 Likewise.
34104
2ae1ae5c
RM
34105 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34106 __libc_cleanup_push argument.
34107
e66a42f5
RM
34108 * bits/param.h: New file.
34109 * misc/sys/param.h: New file.
34110 * include/sys/param.h: New file.
34111 * misc/Makefile (headers): Add bits/param.h.
34112 * sysdeps/generic/sys/param.h: File removed.
34113 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34114 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34115 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 34116 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 34117
b7c08a66
RM
34118 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34119 last change.
34120
b2e1c562
RM
34121 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34122 [_IO_MTSAFE_IO].
34123 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34124 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34125 New macros.
34126
c75ccd4c
RM
34127 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34128 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34129 rather than -D_IO_MTSAFE_IO conditionally.
34130 * stdio-common/Makefile (CPPFLAGS): Likewise.
34131 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34132 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34133 Use $(libio-mtsafe).
34134 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34135 of -D_IO_MTSAFE_IO.
34136 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34137 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34138 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34139 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34140 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34141 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34142 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34143 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34144 (CFLAGS-fread_u_chk.c): Likewise.
34145 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34146 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34147 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34148 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34149 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34150 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34151 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34152 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34153 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34154
34155 * libio/Makefile: Test [$(libc-reentrant) = yes]
34156 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34157
34158 * Makeconfig
34159 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34160 * sysdeps/pthread/configure: File removed.
34161 * sysdeps/pthread/Makeconfig: New file.
34162 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34163 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34164
d9195db8
GB
341652012-08-16 Gary Benson <gbenson@redhat.com>
34166
34167 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34168 unmapping the first object in a namespace.
34169
86466cd9
RM
341702012-08-16 Roland McGrath <roland@hack.frob.com>
34171
34172 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34173 (__internal_setnetgrent): ... this. Add internal_function to
34174 definition. Add libc_hidden_def.
34175 (setnetgrent): Update caller.
34176 (internal_endnetgrent): Renamed to ...
34177 (__internal_endnetgrent): ... this. Add internal_function to
34178 definition. Add libc_hidden_def.
34179 (endnetgrent): Update caller.
34180 (internal_getnetgrent_r): Renamed to ...
34181 (__internal_getnetgrent_r): ... this. Add internal_function to
34182 definition. Add libc_hidden_def.
34183 (__getnetgrent_r): Update caller.
34184 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34185
c3c8283c
JM
341862012-08-16 Joseph Myers <joseph@codesourcery.com>
34187
34188 * stdlib/longlong.h: Update from GCC.
34189
db1ee0a8
RM
341902012-08-16 Roland McGrath <roland@hack.frob.com>
34191
34192 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34193 on _QL, which is set by umul_ppmm but never used.
34194 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34195 variables, which are set by GMP macros but never used.
34196 * stdio-common/_itowa.c (_itowa): Likewise.
34197 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34198 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34199
30f69637
CD
342002012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34201
34202 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34203 struct La_sh_regs is not constant.
34204 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34205 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34206 and struct La_sparc64_regs are not constant.
34207
93a78ac4
JM
342082012-08-16 Joseph Myers <joseph@codesourcery.com>
34209
34210 * sysdeps/unix/sysv/linux/kernel-features.h
34211 (__ASSUME_POSIX_TIMERS): Remove.
34212 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34213 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34214 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34215 Make code unconditional.
34216 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34217 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34218 Make code unconditional.
34219 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34220 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34221 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34222 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34223 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34224 Make code unconditional.
34225 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34226 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34227 (__libc_missing_posix_timers): Remove.
34228
dd924cd7
RM
342292012-08-15 Roland McGrath <roland@hack.frob.com>
34230
4b4f2771
RM
34231 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34232 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34233
601c888b
RM
34234 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34235
176790a7
RM
34236 * elf/dl-sym.c: Include <stdlib.h>.
34237
329bc018
RM
34238 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34239 constants, which avoids warnings in 32-bit builds.
34240
e04e272d
RM
34241 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34242 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34243
952bf94a
RM
34244 * misc/lseek.c: File moved to ...
34245 * io/lseek.c: ... here.
34246
7c99b50a
RM
34247 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34248
dd924cd7
RM
34249 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34250 shifting LEN more than 31 bits at once.
34251
b3f479a8
LD
342522012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34253
34254 [BZ #14195]
8c4ae0d4
RM
34255 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34256 segmentation fault for a case of two empty input strings.
b3f479a8
LD
34257 * string/test-strncasecmp.c (check1): Renamed to...
34258 (bz12205): ...this.
34259 (bz14195): Add new testcase for two empty input strings and N > 0.
34260 (test_main): Call new testcase, adapt for renamed function.
34261
9c55864e
AJ
342622012-08-15 Andreas Jaeger <aj@suse.de>
34263
34264 [BZ #14090]
34265 * crypt/md5test2.c: New test, based on test supplied by Serge
34266 Belyshev <belyshev@depni.sinp.msu.ru>.
34267 * crypt/Makefile (xtests): Add md5test-giant..
34268 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34269
02dcb6c5
PE
342702012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34271
34272 [BZ #14090]
34273 * crypt/md5.c (md5_process_block): Don't assume the buffer
34274 length is less than 2**32.
34275 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34276 length is less than 2**64.
34277
a3f95dcc
RM
342782012-08-15 Roland McGrath <roland@hack.frob.com>
34279
be75d758
RM
34280 * string/str-two-way.h: Include <sys/param.h>.
34281 (MAX): Macro removed.
34282
7312ca90
RM
34283 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34284 Move #define and #undef of memmove to just before and after
34285 including <string.h>.
34286
9a0a5486
RM
34287 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34288 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34289 and after including <string.h>. Move declarations of
34290 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34291 to before #include "string/memmove.c".
34292
67cc348d
RM
34293 * include/dirent.h: Declare __getdirentries.
34294
a3f95dcc
RM
34295 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34296 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34297
ca98e171
MF
342982012-08-14 Mike Frysinger <vapier@gentoo.org>
34299
34300 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34301 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34302 * sysdeps/i386/configure: Regenerated.
34303 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34304 STABS_CURRENT_FILE, and STABS_FUN.
34305 (END): Remove call to STABS_FUN_END.
34306 (STABS_CURRENT_FILE1): Delete.
34307 (STABS_CURRENT_FILE): Likewise.
34308 (STABS_FUN): Likewise.
34309 (STABS_FUN_END): Likewise.
34310 (STABS_FUN2): Likewise.
34311 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34312 * sysdeps/x86_64/configure: Regenerated.
34313
5908bf46
RM
343142012-08-14 Roland McGrath <roland@hack.frob.com>
34315
34316 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 34317 * elf/dl-lookup.c: Likewise.
5908bf46 34318
f2c05b9e
JM
343192012-08-14 Joseph Myers <joseph@codesourcery.com>
34320
34321 * sysdeps/unix/sysv/linux/kernel-features.h
34322 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34323 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34324 unconditionally.
34325 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34326 unconditionally.
34327 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34328 condition on __ASSUME_CLONE_THREAD_FLAGS.
34329
e11f5155
AJ
343302012-08-14 Andreas Jaeger <aj@suse.de>
34331
34332 * sysdeps/i386/fpu/libm-test-ulps: Update.
34333
51a9ba86
MK
343342012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34335
2fdd4f78
AJ
34336 * include/atomic.h (atomic_exchange_and_add): Split into ...
34337 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34338 New atomic macros.
51a9ba86 34339
ba6cba9e
MT
343402012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34341
34342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34343
42443a47
JL
343442012-08-13 Jeff Law <law@redhat.com>
34345
34346 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34347 null byte in the output string.
34348
121dce05
JM
343492012-08-10 Joseph Myers <joseph@codesourcery.com>
34350
34351 * sysdeps/unix/sysv/linux/kernel-features.h
34352 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34353 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34354 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34355 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34356 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34357 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34358 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34359
bf51f568
JL
343602012-08-09 Jeff Law <law@redhat.com>
34361
34362 [BZ #13939]
34363 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34364 When avoid_arena is set, don't retry in the that arena. Pick the
34365 next one, whatever it might be.
34366 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34367 (arena_lock): Pass in new parameter to arena_get2.
34368 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34369 arena_get2.
34370 (__libc_malloc): Unify retrying after main arena failure with
34371 __libc_memalign version.
34372 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34373
f85fa270
L
343742012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34375
34376 [BZ #14166]
34377 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34378 to __redirect_strstr.
34379 (__strstr_sse42): Use typeof __redirect_strstr.
34380 (__strstr_ia32): Likewise.
34381 (__libc_strstr): New prototype.
34382 (strstr): Renamed to ...
34383 (__libc_strstr): This.
34384 (strstr): New strong alias of __libc_strstr.
34385 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34386 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34387 __redirect_time.
34388 Include <time.h>.
34389 (__libc_time): New prototype.
34390 (time_ifunc): Replace time with __libc_time.
34391 (time): New strong alias and hidden definition of __libc_time.
34392 (__GI_time): Remove strong alias.
34393 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34394 Include <stddef.h>.
34395 (memmove): Redefined to __redirect_memmove.
34396 (__memmove_sse2): Use typeof __redirect_memmove.
34397 (__memmove_ssse3): Likewise.
34398 (__memmove_ssse3_back): Likewise.
34399 (__libc_memmove): New prototype.
34400 (memmove): Renamed to ...
34401 (__libc_memmove): This.
34402 (memmove): New strong alias of __libc_memmove.
34403
33b4a91e
MS
344042012-08-08 Mark Salter <msalter@redhat.com>
34405
34406 * elf/elf.h
34407 (R_MN10300_TLS_GD): Define.
34408 (R_MN10300_TLS_LD): Likewise.
34409 (R_MN10300_TLS_LDO): Likewise.
34410 (R_MN10300_TLS_GOTIE): Likewise.
34411 (R_MN10300_TLS_IE): Likewise.
34412 (R_MN10300_TLS_LE): Likewise.
34413 (R_MN10300_TLS_DTPMOD): Likewise.
34414 (R_MN10300_TLS_DTPOFF): Likewise.
34415 (R_MN10300_TLS_TPOFF): Likewise.
34416 (R_MN10300_SYM_DIFF): Likewise.
34417 (R_MN10300_ALIGN): Likewise.
34418 (R_MN10300_NUM): Update.
34419
b36137f1
JM
344202012-08-08 Joseph Myers <joseph@codesourcery.com>
34421
34422 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34423 Remove.
34424
cdd915fd
RM
344252012-08-08 Roland McGrath <roland@hack.frob.com>
34426
a2433aac
RM
34427 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34428
cdd915fd
RM
34429 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34430 sysdeps/unix -> sysdeps/posix move.
34431 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34432
bf9b740a
AM
344332012-08-07 Allan McRae <allan@archlinux.org>
34434
34435 [BZ #14303]
34436 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34437 (SUNOS_CPP): Likewise.
34438 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34439 not found.
34440 (open_input): Call CPP using execvp.
34441
93df14ee
JM
344422012-08-07 Joseph Myers <joseph@codesourcery.com>
34443
34444 * sysdeps/unix/sysv/linux/kernel-features.h
34445 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34446 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34447 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34448 (__ASSUME_WAITID_SYSCALL): Likewise.
34449 * sysdeps/unix/sysv/linux/dl-execstack.c
34450 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34451 code unconditional.
34452 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34453 conditional code.
34454 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34455 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34456 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34457 code.
34458 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34459 unconditional.
34460 [__ASSUME_WAITID_SYSCALL]: Likewise.
34461 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34462
d34689de
RM
344632012-08-07 Roland McGrath <roland@hack.frob.com>
34464
a281decc
RM
34465 * sysdeps/unix/closedir.c: Renamed to ...
34466 * sysdeps/posix/closedir.c: ... here.
34467 * sysdeps/unix/dirfd.c: Renamed to ...
34468 * sysdeps/posix/dirfd.c: ... here.
34469 * sysdeps/unix/dirstream.h: Renamed to ...
34470 * sysdeps/posix/dirstream.h: ... here.
34471 * sysdeps/unix/fdopendir.c: Renamed to ...
34472 * sysdeps/posix/fdopendir.c: ... here.
34473 * sysdeps/unix/opendir.c: Renamed to ...
34474 * sysdeps/posix/opendir.c: ... here.
34475 * sysdeps/unix/readdir.c: Renamed to ...
34476 * sysdeps/posix/readdir.c: ... here.
34477 * sysdeps/unix/readdir_r.c: Renamed to ...
34478 * sysdeps/posix/readdir_r.c: ... here.
34479 * sysdeps/unix/rewinddir.c: Renamed to ...
34480 * sysdeps/posix/rewinddir.c: ... here.
34481 * sysdeps/unix/seekdir.c: Renamed to ...
34482 * sysdeps/posix/seekdir.c: ... here.
34483 * sysdeps/unix/telldir.c: Renamed to ...
34484 * sysdeps/posix/telldir.c: ... here.
34485 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34486 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34487 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34488 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34489
22895b47
RM
34490 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34491 * bits/fcntl.h: ... here.
34492
707a53b6
RM
34493 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34494 not 0.
34495 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34496 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34497 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34498 (struct flock): Move l_start, l_len to the beginning.
34499 Use __pid_t for l_pid.
34500 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34501 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34502 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34503 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34504 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34505 [__USE_LARGEFILE64] (struct flock64): New type.
34506 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34507
f0bd3e25
RM
34508 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34509 * bits/dirent.h: ... here.
34510
d34689de
RM
34511 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34512 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34513
6dad2c06
JM
345142012-08-07 Joseph Myers <joseph@codesourcery.com>
34515
34516 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34517 Change from 2.6.0 to 2.6.16.
34518 * sysdeps/unix/sysv/linux/configure: Regenerated.
34519 * sysdeps/unix/sysv/linux/kernel-features.h
34520 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34521 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34522 version.
34523 (__ASSUME_UTIMES): Likewise.
34524 (__ASSUME_CLONE_STOPPED): Remove.
34525 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34526 architectures, not kernel version.
34527 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34528 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34529 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34530 (__ASSUME_WAITID_SYSCALL): Likewise.
34531 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34532 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34533 * README: State 2.6.16 as minimum Linux kernel version. Do not
34534 refer to older versions.
34535
03af9520
RM
345362012-08-06 Roland McGrath <roland@hack.frob.com>
34537
8e49df1d
RM
34538 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34539 Define alphasort64 as an alias.
34540 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34541 Define versionsort64 as an alias.
34542 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34543 Define scandir64 as an alias.
34544 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34545 Define scandirat64 as an alias.
34546 * dirent/alphasort64.c (alphasort64):
34547 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34548 * dirent/versionsort64.c: Likewise.
34549 * dirent/scandir64.c: Likewise.
34550 * dirent/scandirat64.c: Likewise.
34551 * sysdeps/wordsize-64/alphasort.c: File removed.
34552 * sysdeps/wordsize-64/alphasort64.c: File removed.
34553 * sysdeps/wordsize-64/scandir.c: File removed.
34554 * sysdeps/wordsize-64/scandir64.c: File removed.
34555 * sysdeps/wordsize-64/scandirat.c: File removed.
34556 * sysdeps/wordsize-64/scandirat64.c: File removed.
34557 * sysdeps/wordsize-64/versionsort.c: File removed.
34558 * sysdeps/wordsize-64/versionsort64.c: File removed.
34559 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34560 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34561 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34562 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34563 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34564 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34565 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34566 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34567
34568 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34569 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34570 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34571 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34572 [defined __arch64__ || defined __sparcv9]
34573 (__INO_T_MATCHES_INO64_T): New macro.
34574 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34575 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34576 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34577 * sysdeps/unix/sysv/linux/bits/dirent.h
34578 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34579 (_DIRENT_MATCHES_DIRENT64): New macro.
34580
03af9520
RM
34581 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34582 Define lockf64 as an alias.
34583 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34584 Define fseeko64 as an alias.
34585 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34586 Define ftello64 as an alias.
34587 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34588 Define _IO_fgetpos64 and fgetpos64 as aliases.
34589 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34590 Define _IO_fsetpos64 and fsetpos64 as aliases.
34591 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34592 Conditionalize body on this.
34593 * libio/fseeko64.c: Likewise.
34594 * libio/ftello64.c: Likewise.
34595 * libio/iofgetpos64.c: Likewise.
34596 * libio/iofsetpos64.c: Likewise.
34597 * sysdeps/wordsize-64/lockf.c: File removed.
34598 * sysdeps/wordsize-64/lockf64.c: File removed.
34599 * sysdeps/wordsize-64/fseeko.c: File removed.
34600 * sysdeps/wordsize-64/fseeko64.c: File removed.
34601 * sysdeps/wordsize-64/ftello.c: File removed.
34602 * sysdeps/wordsize-64/ftello64.c: File removed.
34603 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34604 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34605 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34606 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34607 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34608 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34609 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34610 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34611 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34612 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34613 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34614 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34615 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34616 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34617
34618 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34619 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34620 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34621 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34622 [defined __arch64__ || defined __sparcv9]
34623 (__OFF_T_MATCHES_OFF64_T): New macro.
34624 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34625 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34626 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34627 (__OFF_T_MATCHES_OFF64_T): New macro.
34628
c5757acd
L
346292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34630
34631 * stdlib/secure-getenv.c (__secure_getenv): Replace
34632 GLIBC_2_16 with GLIBC_2_17.
34633
3a31811e
L
346342012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34635
34636 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34637 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34638
faa2bccb
DM
346392012-08-03 David S. Miller <davem@davemloft.net>
34640
34641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34642
85fe1997
JM
346432012-08-03 Joseph Myers <joseph@codesourcery.com>
34644
34645 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34646 Remove.
34647 (__ASSUME_CORRECT_SI_PID): Likewise.
34648 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34649 (__ASSUME_TMPFS_NAME): Likewise.
34650 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34651 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34652 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34653 (HAVE_AUX_SECURE): Make definition unconditional.
34654 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34655 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34656
4f75b7a0
RM
346572012-08-03 Roland McGrath <roland@hack.frob.com>
34658
34659 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34660 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34661 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34662 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34663 __eloop_threshold instead of SYMLOOP_MAX.
34664
34665 * sysdeps/generic/eloop-threshold.h: New file.
34666 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34667 of MAXSYMLINKS.
34668 * elf/chroot_canon.c (chroot_canon): Likewise.
34669
7aab07e4
JM
346702012-08-03 Joseph Myers <joseph@codesourcery.com>
34671
34672 [BZ #13717]
34673 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34674 Change to 2.6.0 everywhere.
34675 * sysdeps/unix/sysv/linux/configure: Regenerated.
34676 * sysdeps/unix/sysv/linux/kernel-features.h
34677 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34678 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34679 kernel versions.
34680 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34681 (__ASSUME_FUTEX_REQUEUE): Remove.
34682 (__ASSUME_STATFS64): Define unconditionally.
34683 (__ASSUME_AT_SECURE): Likewise.
34684 (__ASSUME_CORRECT_SI_PID): Likewise.
34685 (__ASSUME_TGKILL): Define without depending on kernel version for
34686 i386.
34687 (__ASSUME_UTIMES): Likewise.
34688 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34689 kernel version.
34690 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34691 (__ASSUME_TMPFS_NAME): Likewise.
34692 * README: Update reference to Linux kernel versions.
34693
b67e9372
MP
346942012-08-02 Marek Polacek <polacek@redhat.com>
34695
1f529f7d 34696 [BZ# 14150]
b67e9372
MP
34697 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34698 libc_cv_asm_type_prefix with %.
34699 * configure: Regenerated.
d2441631
RM
34700 * include/libc-symbols.h: Remove comment about
34701 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34702 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34703 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34704 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34705 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34706 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34707 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34708 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34709 * elf/tst-unique2mod1.c: Likewise.
34710 * elf/tst-unique1mod2.c: Likewise.
34711 * elf/tst-unique1mod1.c: Likewise.
34712 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34713 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34714 Replace ASM_TYPE_DIRECTIVE with .type.
34715 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34716 * sysdeps/i386/sysdep.h: Likewise.
34717 * sysdeps/x86_64/sysdep.h: Likewise.
34718 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34720 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34721 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34722 * sysdeps/powerpc/powerpc32/sysdep.h:
34723 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34724 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34725 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34726 * sysdeps/i386/fpu/e_powf.S: Likewise.
34727 * sysdeps/i386/fpu/e_expl.S: Likewise.
34728 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34729 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34730 * sysdeps/i386/fpu/e_pow.S: Likewise.
34731 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34732 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34733 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34734 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34735 * sysdeps/i386/fpu/e_log2.S: Likewise.
34736 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34737 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34738 * sysdeps/i386/fpu/e_powl.S: Likewise.
34739 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34740 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34741 * sysdeps/i386/fpu/e_logl.S: Likewise.
34742 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34743 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34744 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34745 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34746 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34747 * sysdeps/i386/fpu/e_log.S: Likewise.
34748 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34749 * sysdeps/i386/fpu/e_logf.S: Likewise.
34750 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34751 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34752 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34753 * sysdeps/i386/fpu/e_log10.S: Likewise.
34754 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34755 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34756 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34757 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34758 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34759 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34760 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34761 * sysdeps/i386/i686/strtok.S: Likewise.
34762 * sysdeps/i386/i386-mcount.S: Likewise.
34763 * sysdeps/i386/strtok.S: Likewise.
34764 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34765 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34766 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34767 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34768 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34769 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34770 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34771 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34772 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34773 * sysdeps/x86_64/_mcount.S: Likewise.
34774 * sysdeps/x86_64/strtok.S: Likewise.
34775 * sysdeps/sh/_mcount.S: Likewise.
34776
2747bf9a
RM
347772012-08-01 Roland McGrath <roland@hack.frob.com>
34778
34779 * libio/iofopen.c: Include <fcntl.h>.
34780 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34781 (_IO_fopen64, fopen64): Define as aliases.
34782 * libio/iofopen64.c: Include <fcntl.h>.
34783 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34784 Conditionalize body on this.
34785 * sysdeps/wordsize-64/iofopen.c: File removed.
34786 * sysdeps/wordsize-64/iofopen64.c: File removed.
34787
3fb791b8
MP
347882012-08-01 Marek Polacek <polacek@redhat.com>
34789
34790 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34791 Use dlfcn directly instead of a variable.
34792 (binfmt-subdir): Do not define.
34793 (dlfcn): Likewise.
34794
a9f1039f
JM
347952012-08-01 Joseph Myers <joseph@codesourcery.com>
34796
23bddc06
JM
34797 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34798 Remove all definitions.
34799 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34800 <kernel-features.h>.
34801 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34802 (miss_F_GETOWN_EX): Remove all definitions.
34803 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34804 macro definition.
34805 [!__ASSUME_FCNTL64]: Remove conditional code.
34806 [__ASSUME_FCNTL64]: Make code unconditional.
34807 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34808 <kernel-features.h>.
34809 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34810 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34811 (lockf64) [__NR_fcntl64]: Make code unconditional.
34812 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34813
a9f1039f
JM
34814 * sysdeps/unix/sysv/linux/kernel-features.h
34815 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34816 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34817 Make code unconditional.
34818 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34819 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34821 [__NR_vfork]: Make code unconditional.
34822 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34823 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34825 [__NR_vfork]: Make code unconditional.
34826 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34827 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34828
09c0ee5f
RM
348292012-08-01 Roland McGrath <roland@hack.frob.com>
34830
48aec5b9
RM
34831 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34832 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34833
cd97c966
RM
34834 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34835 Define mkstemp64 as an alias.
3f55550c
RM
34836 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34837 Define mkstemps64 as an alias.
cd97c966
RM
34838 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34839 Define mkostemp64 as an alias.
b8625cfc
RM
34840 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34841 Define mkostemps64 as an alias.
cd97c966
RM
34842 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34843 Conditionalize body on this.
34844 * misc/mkostemp64.c: Likewise.
b8625cfc 34845 * misc/mkostemps64.c: Likewise.
3f55550c 34846 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34847 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34848 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34849 * sysdeps/wordsize-64/mkostemp.c: File removed.
34850 * sysdeps/wordsize-64/mkstemp.c: File removed.
34851 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34852 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34853 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34854 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34855
09c0ee5f
RM
34856 [BZ #14138]
34857 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34858 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34859 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34860 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34861
34862 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34863 compat_symbol macros from <shlib-compat.h> rather than the underlying
34864 default_symbol_version and symbol_version macros, so that DEFAULT
34865 lines in shlib-versions are respected.
34866 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34867
7e66ee51
FW
348682012-08-01 Florian Weimer <fweimer@redhat.com>
34869
34870 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34871 Declare with warn_unused_result.
34872 (setgid, setregid, setegid, setresgid): Likewise.
34873 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34874 Likewise.
34875 * WUR-REPORT: Remove set*id functions.
34876
d2a54255
PT
348772012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34878
34879 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34880
7ecdb005
RM
348812012-07-31 Roland McGrath <roland@hack.frob.com>
34882
b4180a5e 34883 [BZ #10191]
789bd351
RM
34884 * include/sys/socket.h (__libc_accept, __libc_accept4):
34885 Add attribute_hidden.
34886 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34887
40ce302d
RM
34888 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34889 use of PTR_MANGLE.
34890 * inet/getnetgrent_r.c (setup): Likewise.
34891
7ecdb005
RM
34892 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34893
e2eabb2c
DM
348942012-07-31 David S. Miller <davem@davemloft.net>
34895
34896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34897
d0419dbf
JM
348982012-07-31 Joseph Myers <joseph@codesourcery.com>
34899
34900 [BZ #13629]
34901 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34902 value between 1.0 and 2.0 and smaller part has absolute value less
34903 than 1.0.
34904 * math/s_clog10.c (__clog10): Likewise.
34905 * math/s_clog10f.c (__clog10f): Likewise.
34906 * math/s_clog10l.c (__clog10l): Likewise.
34907 * math/s_clogf.c (__clogf): Likewise.
34908 * math/s_clogl.c (__clogl): Likewise.
34909 * math/libm-test.inc (clog_test): Add more tests.
34910 (clog10_test): Likewise.
34911 * sysdeps/i386/fpu/libm-test-ulps: Update.
34912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34913
2bc13872
FW
349142012-07-31 Florian Weimer <fweimer@redhat.com>
34915
34916 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34917 Exit with zero in case no suitable GID is found, and write a
34918 message to standard error.
34919
bea9b193
RM
349202012-07-30 Roland McGrath <roland@hack.frob.com>
34921
34922 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34923 rather than to 1.
34924 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34925 (MAXPATHLEN): Removed.
34926 (NOGROUP, NODEV): New macros.
34927 (setbit, clrbit, isset, isclr): New macros.
34928 (howmany, roundup, powerof2): New macros.
34929 (DEV_BSIZE): New macro.
34930
34931 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34932 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34933
34934 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34935 definition on [!__NO_LONG_DOUBLE_MATH].
34936
34937 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34938 PTR_MANGLE and PTR_DEMANGLE.
34939
34940 * socket/accept4.c (accept4): Rename to __libc_accept4.
34941 Define accept4 as a weak alias.
34942
34943 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34944 on [_DIRENT_HAVE_D_TYPE].
34945 * io/ftw.c (ftw_dir): Likewise.
34946
34947 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34948
34949 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34950
34951 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34952 Use the BSD numbers rather than the arbitrary ones we had.
34953 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34954 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34955 (SIGXCPU, SIGXFSZ): New macros.
34956 (_NSIG): Now 32.
34957
34958 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34959 initializer on [_LIBC_REENTRANT].
34960
34961 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34962 definitions inside [_POSIX_MAPPED_FILES].
34963
34964 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34965
34966 * dirent/opendir.c: Include <fcntl.h>.
34967
34968 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34969 (__libc_getspecific): Likewise.
34970 (__libc_key_create): Likewise.
34971
34972 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34973 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34974 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34975 (tmpfile64): Define as alias.
34976 * sysdeps/wordsize-64/tmpfile.c: File removed.
34977 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34978 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34979 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34980
34981 * stdio-common/vfscanf.c: Include <stdbool.h>.
34982 * nss/makedb.c: Likewise.
34983 * stdio-common/_i18n_number.h: Likewise.
34984 * argp/argp-help.c: Likewise.
34985 * posix/wordexp.c: Likewise.
34986 * sysdeps/posix/spawni.c: Likewise.
34987 * nss/nss_files/files-initgroups.c: Likewise.
34988 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34989 * nss/nss_files/files-initgroups.c: Likewise.
34990 * nss/nss_db/db-netgrp.c: Likewise.
34991 * nss/nss_db/db-initgroups.c: Likewise.
34992 * io/fchmodat.c: Include <sys/stat.h>.
34993
34994 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34995 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34996
34997 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34998 [HAVE_MMAP].
34999
35000 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35001 Add multiple inclusion protection.
35002
e5abc686
DM
350032012-07-27 David S. Miller <davem@davemloft.net>
35004
35005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35006
815e6fa3
GB
350072012-07-27 Gary Benson <gbenson@redhat.com>
35008
35009 [BZ #14298]
35010 * elf/rtld.c: Include <stap-probe.h>.
35011 (dl_main): Added static probes "init_start" and "init_complete".
35012 * elf/dl-load.c: Include <stap-probe.h>.
35013 (lose): Take new parameter "nsid".
35014 Added static probe "map_failed".
35015 (_dl_map_object_from_fd): Pass namespace id to lose.
35016 Added static probe "map_start".
35017 (open_verify): Pass namespace id to lose.
35018 * elf/dl-open.c: Include <stap-probe.h>.
35019 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35020 and "reloc_complete".
35021 * elf/dl-close.c: Include <stap-probe.h>.
35022 (_dl_close_worker): Added static probes "unmap_start" and
35023 "unmap_complete".
35024 * elf/rtld-debugger-interface.txt: New file documenting the above.
35025
9f98c16c
RM
350262012-07-26 Roland McGrath <roland@hack.frob.com>
35027
35028 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35029 rather than a string variable.
35030 * sunrpc/rpc_main.c (h_output): Likewise.
35031 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35032
f3c22df3
PT
350332012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35034
35035 * inet/check_native.c: New file.
35036
3129cfc6
JM
350372012-07-26 Joseph Myers <joseph@codesourcery.com>
35038
da865e95
JM
35039 [BZ #13629]
35040 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35041 if larger part has absolute value 1.0.
35042 * math/s_clog10.c (__clog10): Likewise.
35043 * math/s_clog10f.c (__clog10f): Likewise.
35044 * math/s_clog10l.c (__clog10l): Likewise.
35045 * math/s_clogf.c (__clogf): Likewise.
35046 * math/s_clogl.c (__clogl): Likewise.
35047 * math/libm-test.inc (clog_test): Add more tests.
35048 (clog10_test): Likewise.
35049 * sysdeps/i386/fpu/libm-test-ulps: Update.
35050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35051
3129cfc6
JM
35052 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35053 (pltexit): Likewise.
35054 (La_regs): Likewise.
35055 (La_retval): Likewise.
35056 (int_retval): Likewise.
35057 Update #error for removed macros to refer only to definitions in
35058 tst-audit.h.
35059 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35060 macro.
35061 (pltexit): Likewise.
35062 (La_regs): Likewise.
35063 (La_retval): Likewise.
35064 (int_retval): Likewise.
35065 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35066 macro.
35067 (pltexit): Likewise.
35068 (La_regs): Likewise.
35069 (La_retval): Likewise.
35070 (int_retval): Likewise.
35071 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35072 macro.
35073 (pltexit): Likewise.
35074 (La_regs): Likewise.
35075 (La_retval): Likewise.
35076 (int_retval): Likewise.
35077 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35078 macro.
35079 (pltexit): Likewise.
35080 (La_regs): Likewise.
35081 (La_retval): Likewise.
35082 (int_retval): Likewise.
35083 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35084 macro.
35085 (pltexit): Likewise.
35086 (La_regs): Likewise.
35087 (La_retval): Likewise.
35088 (int_retval): Likewise.
35089 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35090 macro.
35091 (pltexit): Likewise.
35092 (La_regs): Likewise.
35093 (La_retval): Likewise.
35094 (int_retval): Likewise.
35095 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35096 macro definitions in tst-audit.h.
35097 * sysdeps/i386/tst-audit.h: New file.
35098 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35099 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35100 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35101 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35102 * sysdeps/sh/tst-audit.h: Likewise.
35103 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35104 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35105 * sysdeps/x86_64/tst-audit.h: Likewise.
35106
bfc07087
AJ
351072012-07-26 Andreas Jaeger <aj@suse.de>
35108
b1b2aaf8
AJ
35109 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35110 ptrace.
35111
35112 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35113 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35114 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35115 PTRACE_O_MASK.
35116 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35117 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35118 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35119
bfc07087
AJ
35120 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35121 value.
35122
35123 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35124 _sigsys.
35125 (si_call_addr, si_syscall, si_arch): Define new macro.
35126 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35127 _sigsys.
35128 (si_call_addr, si_syscall, si_arch): Define new marcro.
35129 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35130 _sigsys.
35131 (si_call_addr, si_syscall, si_arch): Define new macro.
35132 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35133 _sigsys.
35134 (si_call_addr, si_syscall, si_arch): Define new macro.
35135
89b4b02f
JM
351362012-07-25 Joseph Myers <joseph@codesourcery.com>
35137
35138 [BZ #13717]
35139 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35140 Change to 2.4.21 where previously 2.4.1.
35141 * sysdeps/unix/sysv/linux/configure: Regenerated.
35142 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35143 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35144 Linux kernel version.
35145 (__ASSUME_STD_AUXV): Remove.
35146 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35147 kernel version.
35148 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35149 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35150 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35151 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35152 (__ASSUME_NETLINK_SUPPORT): Likewise.
35153 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35154 (__no_netlink_support): Remove conditional definition.
35155 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35156 Remove.
35157 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35158 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35159 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35160 (if_nameindex_ioctl): Remove.
35161 (if_nameindex_netlink): Do not handle __no_netlink_support.
35162 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35163 code.
35164 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35165 Remove conditional code.
35166 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35167 code.
35168 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35169 unconditional.
35170 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35171 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35172 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35173 Remove.
35174 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35175 [!__ASSUME_STD_AUXV]: Remove conditional code.
35176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35177 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35178 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35180 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35181 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35182 code.
35183 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35185 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35186 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35187 conditional code.
35188 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35190 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35191 code.
35192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35193 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35194 conditional code.
35195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35196 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35197 code unconditional.
35198 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35199 conditional code.
35200 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35201 unconditional.
35202 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35203 conditional code.
35204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35205 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35206 unconditional.
35207 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35208 conditional code.
35209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35210 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35211 code unconditional.
35212 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35213 conditional code.
35214 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35215 unconditional.
35216 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35217 conditional code.
35218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35219 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35220 code unconditional.
35221 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35222 conditional code.
35223 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35224 unconditional.
35225 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35226 conditional code.
35227
842a39cd
AS
352282012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35229
35230 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35231 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35232 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35233 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35234 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35235 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35236 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35237 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35238 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35239 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35240 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35241 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35242 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35243 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35244 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35245 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35246 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35247 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35248 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35250 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35251 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35252 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35253
84b3fd84
FW
352542012-07-25 Florian Weimer <fweimer@redhat.com>
35255
35256 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
35257 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35258 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35259 Introduce __libc_secure_getenv.
0c7936d5
FW
35260 * stdlib/Versions (2.17): Add secure_getenv
35261 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35262 * stdlib/secure-getenv.c: Rename __secure_getenv to
35263 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35264 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
35265 * stdlib/tst-secure-getenv.c: New.
35266 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
35267 * manual/startup.texi (Environment Access): Document
35268 secure_getenv.
84b3fd84
FW
35269 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35270 __libc_secure_getenv.
35271 * inet/ruserpass.c (ruserpass): Likewise.
35272 * malloc/mtrace.c (mtrace): Likewise.
35273 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 35274 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
35275 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35276 * sysdeps/posix/tempname.c: Likewise. Evaluate
35277 HAVE_SECURE_GETENV.
35278 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 35279 __secure_getenv to __libc_secure_getenv.
84b3fd84 35280 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
35281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35282 Likewise.
35283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35284 Likewise.
35285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35287 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 35292
56e49b71
JM
352932012-07-25 Joseph Myers <joseph@codesourcery.com>
35294
35295 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35296 (struct La_i86_retval): Likewise.
35297 (struct La_x86_64_regs): Likewise.
35298 (struct La_x86_64_retval): Likewise.
35299 (struct La_x32_regs): Likewise.
35300 (struct La_x32_retval): Likewise.
35301 (struct La_ppc32_regs): Likewise.
35302 (struct La_ppc32_retval): Likewise.
35303 (struct La_ppc64_regs): Likewise.
35304 (struct La_ppc64_retval): Likewise.
35305 (struct La_sh_regs): Likewise.
35306 (struct La_sh_retval): Likewise.
35307 (struct La_s390_32_regs): Likewise.
35308 (struct La_s390_32_retval): Likewise.
35309 (struct La_s390_64_regs): Likewise.
35310 (struct La_s390_64_retval): Likewise.
35311 (struct La_sparc32_regs): Likewise.
35312 (struct La_sparc32_retval): Likewise.
35313 (struct La_sparc64_regs): Likewise.
35314 (struct La_sparc64_retval): Likewise.
35315 (struct audit_ifaces): Remove architecture-specific pltenter and
35316 pltexit members.
35317 * sysdeps/i386/ldsodefs.h: New file.
35318 * sysdeps/powerpc/ldsodefs.h: Likewise.
35319 * sysdeps/s390/ldsodefs.h: Likewise.
35320 * sysdeps/sh/ldsodefs.h: Likewise.
35321 * sysdeps/sparc/ldsodefs.h: Likewise.
35322 * sysdeps/x86_64/ldsodefs.h: Likewise.
35323
354691b7
MP
353242012-07-25 Marek Polacek <polacek@redhat.com>
35325
35326 [BZ #6808]
35327 * math/libm-test.inc (yn_test): Add another test.
35328 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35329 to ERANGE when the result is +-Inf.
35330 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35331 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35332 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35333 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35334
bf9e2071
JM
353352012-07-24 Joseph Myers <joseph@codesourcery.com>
35336
35337 * conform/data/time.h-data (NULL): Use macro-constant. Require
35338 equal to 0.
35339 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35340 clock_t.
35341 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35342
57633811
TS
353432012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35344
35345 * configure.in <sysdeps resolving>: Correct printing
35346 Implies_before.
35347 * configure: Regenerate.
35348
c23c33b0
TS
353492012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35350
35351 * math/w_ilogb.c: Include <limits.h>.
35352 * math/w_ilogbl.c: Likewise.
35353
b5982523
JM
353542012-07-20 Joseph Myers <joseph@codesourcery.com>
35355
35356 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35357 va_copy. Document allowing for unavailable va_copy only as
35358 pre-C99 compatibility.
35359 * manual/string.texi (Copying and Concatenation): Use va_copy
35360 instead of __va_copy in concat example.
35361
ac4ea442
PT
353622012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35363
35364 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35365 (__sendto): Use create_address_port. Initialize APORT and deallocate
35366 it if not null.
35367
f98eafbd
PT
35368 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35369 with O_NOLINK passed to __file_name_lookup.
35370
898c7aab
PT
35371 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35372 with O_NOLINK passed to __file_name_lookup.
35373
0ced335a
PT
35374 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35375 negative N or less than NGIDS.
35376
b3404dbd
PT
35377 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35378 type to string_t. Set ERANGE as errno and return it if NAME is not big
35379 enough. Use memcpy instead of strncpy.
35380
0f48659e
JM
353812012-07-20 Joseph Myers <joseph@codesourcery.com>
35382
35383 * elf/Makefile (check-data): Remove.
35384 (localplt.data): New vpath directive.
35385 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35386 instead of $(check-data).
35387 * scripts/data/localplt-generic.data: Move to ...
35388 * sysdeps/generic/localplt.data: ... here.
35389 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35390 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35391 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35393 ... here.
35394 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35396 ... here.
35397 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35399 ... here.
35400 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35402 ... here.
35403 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35405 ... here.
35406 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35408 ... here.
35409
d37cbdaa
AZ
354102012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35411
35412 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35413 PPC32 and PPC64 files.
35414 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35415 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35416
46f85fc2
AK
354172012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35418
35419 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35420 __makecontext_ret to ...
35421 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35422 ... here and call exit if uc_link is NULL. New file.
35423 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35424 __makecontext_ret.S.
35425 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35426 __makecontext_ret to ...
35427 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35428 ... here and call exit if uc_link is NULL. New file.
35429 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35430 __makecontext_ret.S.
35431
08f43f9b
AK
354322012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35433
35434 * elf/elf.h (R_390_IRELATIVE): New definition.
35435 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35436 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35437 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35438 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35439 (elf_machine_lazy_rel): Likewise.
35440 * sysdeps/s390/dl-irel.h: New file.
35441 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35442 * sysdeps/s390/s390-64/memset.S: New asm code.
35443 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35444 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35445 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35446 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35447 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35448 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35449 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35450 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35451 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35452 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35453 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35454 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35455 * sysdeps/s390/s390-32/memset.S: New asm code.
35456 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35457
3b05db33
MP
354582012-07-17 Marek Polacek <polacek@redhat.com>
35459
35460 [BZ #14349]
35461 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35462 * sysdeps/s390/s390-64/configure.in: Likewise.
35463 * sysdeps/sparc/configure.in: Likewise.
35464 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35465 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35466 * sysdeps/i386/configure.in: Likewise.
35467 * sysdeps/x86_64/configure.in: Likewise.
35468 * sysdeps/sh/configure.in: Likewise.
35469 * sysdeps/s390/s390-32/configure: Regenerated.
35470 * sysdeps/s390/s390-64/configure: Likewise.
35471 * sysdeps/x86_64/configure: Likewise.
35472 * sysdeps/sh/configure: Likewise.
35473 * sysdeps/powerpc/powerpc64/configure: Likewise.
35474 * sysdeps/powerpc/powerpc32/configure: Likewise.
35475 * sysdeps/sparc/configure: Likwise.
35476 * sysdeps/i386/configure: Likewise.
35477
a66877c6
MP
35478 * elf/dl-open.c: Comment fixes.
35479
cfc82fd8
JM
354802012-07-17 Joseph Myers <joseph@codesourcery.com>
35481
bd29910a
JM
35482 * Makefile [CXX] (check-data): Remove.
35483 [CXX] (c++-types.data): New vpath directive.
35484 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35485 vpath. Do not allow for C++ type data being missing.
35486 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35487 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35488 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35489 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35490 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35491 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35492 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35494 ... here.
35495 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35497 ... here.
35498 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35500 ... here.
35501 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35503 ... here.
35504 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35506 ... here.
35507 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35509 ... here.
35510 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35512 ... here.
35513 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35515
cfc82fd8
JM
35516 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35517 definitions to architecture-specific files.
35518 (TLS_IE): Likewise.
35519 (TLS_LD): Likewise.
35520 (TLS_GD): Likewise.
35521 * sysdeps/i386/tls-macros.h: New file.
35522 * sysdeps/powerpc/tls-macros.h: Likewise.
35523 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35524 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35525 * sysdeps/sh/tls-macros.h: Likewise.
35526 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35527 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35528 * sysdeps/x86_64/tls-macros.h: Likewise.
35529
f7db3170
TS
355302012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35531
07cbfc23
TS
35532 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35533 zero value for regular exit case.
35534
f7db3170
TS
35535 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35536 (__start_context): Preserve zero value for regular exit case.
35537
dc97c227
TS
355382012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35539 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35540
35541 * manual/setjmp.texi (setcontext): Clarify normal process
35542 termination when uc_link is the null pointer.
35543 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35544 exit call.
35545
d0cd7d02
AS
355462012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35547
35548 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35549 preprocessor. Test for each exception mask separately.
35550
dd318934
AJ
355512012-07-16 Andreas Jaeger <aj@suse.de>
35552
35553 * po/ru.po: Update from translation team.
35554
8048311a
JM
355552012-07-15 Joseph Myers <joseph@codesourcery.com>
35556
35557 * conform/data/string.h-data (NULL): Use macro-constant. Require
35558 equal to 0.
35559 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35560 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35561 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35562 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35563 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35564
b637d46e
AJ
355652012-07-13 Andreas Jaeger <aj@suse.de>
35566
35567 * po/fr.po: Update from translation team.
35568
541428fe
MP
355692012-07-12 Marek Polacek <polacek@redhat.com>
35570
35571 [BZ #14173]
35572 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35573 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35574 loop condition.
35575
ec332e94
JM
355762012-07-12 Joseph Myers <joseph@codesourcery.com>
35577
35578 [BZ #13717]
35579 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35580 Change to 2.4.1 where previously 2.4.0.
35581 * sysdeps/unix/sysv/linux/configure: Regenerated.
35582 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35583 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35584 version.
35585 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35586 (__ASSUME_AT_CLKTCK): Remove.
35587 (__ASSUME_AT_PAGESIZE): Likewise.
35588 (__ASSUME_AT_XID): Likewise.
35589 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35590 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35591 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35592 unconditionally.
35593 (HAVE_AUX_PAGESIZE): Likewise.
35594 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35595 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35596 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35597
7b6e99be
JB
355982012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35599
35600 [BZ #14307]
35601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35602 the temporary buffer used to invoke __gethostbyname2_r,
35603 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35604 host_data / struct gaih_addrtuple.
35605 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35606 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35607 header file nss/nsswitch.h.
35608 * nss/nsswitch.h (global scope): Add definition of implementation
35609 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35610 resolv/nss_dns/dns-host.c).
35611
608404eb
AJ
356122012-07-11 Andreas Jaeger <aj@suse.de>
35613
35614 * po/fr.po: Update from translation team.
35615
71220aca
AJ
35616 * po/sv.po: Update from translation team
35617 * po/fr.po: Another update from translation team.
35618
28cfe843
AZ
356192012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35620
35621 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35622 for subnormals or multiply small sinh result by itself.
35623 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35625
6b90f981
DM
356262012-07-11 David S. Miller <davem@davemloft.net>
35627
35628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35629
c6825772
AS
356302012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35631
35632 [BZ #14347]
35633 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35634 (INTERNAL_MARK): Shift it here.
35635
7b8e0d49
MP
356362012-07-10 Marek Polacek <polacek@redhat.com>
35637
35638 [BZ #14151]
35639 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35640 libc_cv_asm_global_directive with .globl.
35641 * configure: Regenerated.
35642 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35643 with .globl.
35644 * sysdeps/i386/configure: Regenerated.
35645 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35646 with .globl.
35647 * sysdeps/x86_64/configure: Regenerated.
35648 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35649 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35650 * elf/tst-unique2mod2.c: Likewise.
35651 * elf/tst-unique2mod1.c: Likewise.
35652 * elf/tst-unique1mod2.c: Likewise.
35653 * elf/tst-unique1mod1.c: Likewise.
35654 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35655 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35656 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35657 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35658 * sysdeps/mach/sysdep.h: Likewise.
35659 * sysdeps/i386/sysdep.h: Likewise.
35660 * sysdeps/i386/i386-mcount.S: Likewise.
35661 * sysdeps/x86_64/_mcount.S: Likewise.
35662 * sysdeps/x86_64/sysdep.h: Likewise.
35663 * sysdeps/sh/_mcount.S: Likewise.
35664 * sysdeps/sh/sysdep.h: Likewise.
35665 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35666 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35667 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35668 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35669 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35670 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35671 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35672 * locale/localeinfo.h: Likewise.
35673 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35674 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35675
6c55cda3
RM
356762012-07-09 Roland McGrath <roland@hack.frob.com>
35677
35678 [BZ #14336]
35679 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35680 system".
35681 * manual/message.texi (The Uniforum approach): Likewise.
35682 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35683 (glibc iconv Implementation): Likewise.
35684
638a572e
JM
356852012-07-09 Joseph Myers <joseph@codesourcery.com>
35686
35687 [BZ #14337]
35688 * math/s_clog.c (__clog): Avoid scaling a value down where that
35689 could result in underflow.
35690 * math/s_clog10.c (__clog10): Likewise.
35691 * math/s_clog10f.c (__clog10f): Likewise.
35692 * math/s_clog10l.c (__clog10l): Likewise.
35693 * math/s_clogf.c (__clogf): Likewise.
35694 * math/s_clogl.c (__clogl): Likewise.
35695 * math/libm-test.inc (clog_test): Add more tests.
35696 (clog10_test): Likewise.
35697 * sysdeps/i386/fpu/libm-test-ulps: Update.
35698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35699
261f4859
AS
357002012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35701
0abaf3e4
AS
35702 [BZ #14283]
35703 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35704 by 7 not 8 to examine high bit of fractional part.
35705
261f4859
AS
35706 [BZ #14042]
35707 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35708 for call to __mcount_internal.
35709 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35710 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35711 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35712
f17ac40d
JM
357132012-07-06 Joseph Myers <joseph@codesourcery.com>
35714
9ad63c23
JM
35715 [BZ #14154]
35716 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35717 approximation for values within 0x1p-13f of an odd multiple of
35718 pi/4.
35719 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35720 exception. Add more tests.
35721 * sysdeps/i386/fpu/libm-test-ulps: Update.
35722
f17ac40d
JM
35723 [BZ #6778]
35724 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35725 inputs and return -1 for them. Do not check for +Inf in case not
35726 reachable for +Inf.
35727 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35728 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35729 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35730 and return -1 for them. Do not check for +Inf in case not
35731 reachable for +Inf.
35732 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35733 define.
35734 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35735 and return -1 for them. Do not check for +Inf in case not
35736 reachable for +Inf.
35737 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35738 spurious underflow.
35739 * sysdeps/i386/fpu/libm-test-ulps: Update.
35740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35741
fb21f89b
MF
357422012-07-06 Mike Frysinger <vapier@gentoo.org>
35743
35744 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35745
cdfe2c5e
JM
357462012-07-05 Joseph Myers <joseph@codesourcery.com>
35747
35748 [BZ #14157]
35749 [BZ #14331]
35750 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35751 could result in spurious underflow. Scale down values above
35752 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35753 * math/s_csqrtf.c (__csqrtf): Likewise.
35754 * math/s_csqrtl.c (__csqrtl): Likewise.
35755 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35756 spurious underflow.
35757 * sysdeps/i386/fpu/libm-test-ulps: Update.
35758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35759
70d35b67
AS
357602012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35761
704bc459
AS
35762 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35763 xopen-msg.sed.
35764 * catgets/xopen-msg.awk: New file.
35765 * catgets/xopen-msg.sed: Removed.
35766
70d35b67
AS
35767 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35768 po2text.sed.
35769 * intl/po2test.awk: New file.
35770 * intl/po2test.sed: Removed.
35771
ca61cf32
JM
357722012-07-04 Joseph Myers <joseph@codesourcery.com>
35773
35774 [BZ #14328]
35775 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35776 or multiply small sinh result by itself.
35777 * math/s_ctanf.c (__ctanf): Likewise.
35778 * math/s_ctanh.c (__ctanh): Likewise.
35779 * math/s_ctanhf.c (__ctanhf): Likewise.
35780 * math/s_ctanhl.c (__ctanhl): Likewise.
35781 * math/s_ctanl.c (__ctanl): Likewise.
35782 * math/libm-test.inc (ctan_test_tonearest): New function.
35783 (ctan_test_towardzero): Likewise.
35784 (ctan_test_downward): Likewise.
35785 (ctan_test_upward): Likewise.
35786 (ctanh_test_tonearest): Likewise.
35787 (ctanh_test_towardzero): Likewise.
35788 (ctanh_test_downward): Likewise.
35789 (ctanh_test_upward): Likewise.
35790 (main): Call these new functions.
35791 * sysdeps/i386/fpu/libm-test-ulps: Update.
35792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35793
ca48a46a
MF
357942012-07-03 Mike Frysinger <vapier@gentoo.org>
35795
35796 * .gitignore: Delete /ports entry.
35797
9d63d37d
AJ
357982012-07-03 Andreas Jaeger <aj@suse.de>
35799
35800 * po/bg.po: Update from translation team.
35801 * po/cs.po: Likewise.
35802 * po/de.po: Likewise.
35803 * po/hr.po: Likewise.
35804 * po/nl.pl: Likewise.
35805 * po/pl.po: Likewise.
35806 * po/vi.po: Likewise.
35807
370ca3d2
JM
358082012-07-03 Joseph Myers <joseph@codesourcery.com>
35809
95f5a9a8
JM
35810 * Makeconfig [!+link] (+link-before-libc): New variable.
35811 [!+link] (+link-after-libc): Likewise.
35812 [!+link] (+link-tests): Likewise.
35813 [!+link] (+link): Define in terms of $(+link-before-libc) and
35814 $(+link-after-libc).
35815 [!+link-static] (+link-static-before-libc): New variable.
35816 [!+link-static] (+link-static-after-libc): Likewise.
35817 [!+link-static] (+link-static-tests): Likewise.
35818 [!+link-static] (+link-static): Define in terms of
35819 $(+link-static-before-libc) and $(+link-static-after-libc).
35820 [build-shared] (link-libc-before-gnulib): New variable.
35821 [build-shared] (link-libc-tests): Likewise.
35822 [build-shared] (link-libc): Define in terms of
35823 $(link-libc-before-gnulib).
35824 [!build-shared] (link-libc-tests): New variable.
35825 (link-libc-static-tests): New variable.
35826 [!gnulib] (gnulib-arch): New variable.
35827 [!gnulib] (gnulib-tests): Likewise.
35828 [!gnulib] (static-gnulib-arch): Likewise.
35829 [!gnulib] (static-gnulib-tests): Likewise.
35830 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35831 Define with "=" instead of ":=".
35832 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35833 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35834 * Rules (binaries-all-notests): New variable.
35835 (binaries-all-tests): Likewise.
35836 (binaries-static-notests): Likewise.
35837 (binaries-static-tests): Likewise.
35838 (binaries-all): Define using $(binaries-all-notests) and
35839 $(binaries-all-tests).
35840 (binaries-static): Define using $(binaries-static-notests) and
35841 $(binaries-static-tests).
35842 (binaries-shared-tests): New variable.
35843 (binaries-shared-notests): Likewise.
35844 (binaries-shared): Remove variable.
35845 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35846 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35847 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35848 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35849 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35850 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35851 * elf/Makefile (sln-modules): New variable.
35852 (extra-objs): Add $(sln-modules:=.o).
35853 (ldconfig-modules): Add static-stubs.
35854 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35855 * elf/static-stubs.c: New file.
35856
7a845b2c
JM
35857 [BZ #14283]
35858 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35859 by 7 not 8 to examine high bit of fractional part. Use volatile
35860 variables when splitting into final array of floats if
35861 __FLT_EVAL_METHOD__ != 0.
35862 * math/libm-test.inc (cos_test): Add another test.
35863 (sin_test): Likewise.
35864 * sysdeps/i386/fpu/libm-test-ulps: Update.
35865
e2283f38
JM
35866 [BZ #14273]
35867 * math/libm-test.inc (cosh_test): Add more tests.
35868
370ca3d2
JM
35869 * version.h (RELEASE): Set to "development".
35870 (VERSION): Set to "2.16.90".
35871
ee9247c3
CD
358722012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35873
35874 * NEWS: Update copyright. Remove last-updated date.
35875 Mention math library bug fixes and timezone data changes.
35876 * README: Mention GNU/Hurd, x32, and HPPA support status.
35877
4648c381
TS
358782012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35879
35880 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35881
aac78a43
AJ
358822012-06-27 Andreas Jaeger <aj@suse.de>
35883
35884 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35885
ed3dbfad
AJ
358862012-06-25 Andreas Jaeger <aj@suse.de>
35887
35888 * sysdeps/s390/fpu/libm-test-ulps: Update.
35889
4d0ee855
AS
358902012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35891 Thomas Schwinge <thomas@codesourcery.com>
35892
35893 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35894 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35895 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35896 fanotify_mark.
35897
af1bce34
TS
358982012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35899
a9fa33ba
TS
35900 * sysdeps/mach/start.c: Remove file.
35901 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35902 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35903 * sysdeps/sh/init-first.c: Likewise.
35904
58f902b8
TS
35905 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35906 registers for frame unwinding purposes, add CFI directives.
35907 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35908 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35909 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35910 Likewise.
35911
1518f58b
TS
35912 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35913 __fortify_fail returning.
35914 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35915
db9b5059
TS
35916 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35917 sysdeps/sh/____longjmp_chk.S.
35918 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35919 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35920 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35921 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35922
967705fe
TS
35923 * sysdeps/sh/abort-instr.h: New file.
35924 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35925 process in case exit returns.
35926
a9def8c4
TS
35927 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35928 initialize the GOT register before use.
35929
2a649725
TS
35930 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35931 calculation of ARGC > 4.
35932
af1bce34
TS
35933 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35934 meaningful names to some local labels.
35935
d230f50a
KK
359362012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35937 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35938
35939 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35940 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35941 (__arch_compare_and_exchange_val_16_acq): Likewise.
35942 (__arch_compare_and_exchange_val_32_acq): Likewise.
35943 (atomic_exchange_and_add): Fix gUSA sequence.
35944 (atomic_add): Likewise.
35945 (atomic_add_negative): Likewise.
35946 (atomic_add_zero): Likewise.
35947 (atomic_bit_test_set): Likewise.
35948
0479b305
AS
359492012-06-22 Andreas Schwab <schwab@redhat.com>
35950
35951 [BZ #13579]
35952 * include/link.h (struct link_map): Add l_free_initfini.
35953 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35954 l_initfini.
35955 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35956 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35957 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35958 set.
35959
0e3933b9
CD
359602012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35961
35962 * configure.in: Use AC_LANG_SOURCE.
35963 * configure: Regenerate.
35964
4248b1b1
RM
359652012-06-22 Roland McGrath <roland@hack.frob.com>
35966
35967 * configure.in (libc_cv_localstatedir): New substituted variable.
35968 * configure: Regenerated.
35969 * config.make.in (localstatedir): New variable, substituted from
35970 libc_cv_localstatedir.
35971 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35972 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35973 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35974 * sysdeps/gnu/configure: Regenerated.
35975
006dd861
JL
359762012-06-21 Jeff Law <law@redhat.com>
35977
35978 [BZ #14277]
35979 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35980 free. Simplify list management for _LIBC case.
35981
79662d42
JM
359822012-06-21 Joseph Myers <joseph@codesourcery.com>
35983
b7abb4bf
JM
35984 [BZ #14273]
35985 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35986 Clear sign bit of 64-bit integer value before comparing against
35987 overflow value.
35988
79662d42
JM
35989 * sysdeps/mach/configure: Regenerated.
35990
1f150908
L
359912012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35992
35993 [BZ #14278]
35994 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35995
28363bbf
JL
359962012-06-21 Jeff Law <law@redhat.com>
35997
35998 [BZ #13882]
35999 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
36000 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 36001 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
36002 * elf/dl-open.c (dl_open_worker): Likewise.
36003
09615db4
CD
360042012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
36005
36006 * scripts/list-sources.sh: Scan PORTS for translations.
36007 * po/libc.pot: Regenerated.
36008
2174c6dd
AJ
360092012-06-21 Andreas Jaeger <aj@suse.de>
36010
36011 [BZ #12194]
36012 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36013 warning.
36014 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36015 * bits/byteswap-16.h (__bswap_16): Likewise.
36016 * bits/byteswap.h (__bswap_constant_16): Likewise.
36017
3ee947b1
L
360182012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36019
36020 [BZ #14117]
a2f34833
L
36021 * sysdeps/i386/fpu_control.h: Removed.
36022 * sysdeps/x86_64/fpu_control.h: Moved to ...
36023 * sysdeps/x86/fpu_control.h: Here.
36024
3ee947b1
L
36025 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36026 (_FPU_SETCW): Likewise.
36027
ed1825f8
L
360282012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36029
25f1282a
L
36030 [BZ #14117]
36031 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36032 * sysdeps/x86/fpu/bits/mathinline.h: This.
36033 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36034
ed1825f8
L
36035 [BZ #14050]
36036 [BZ #14117]
36037 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36038 functions if __x86_64__ is defined.
36039
36d54b74
CLT
360402012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36041
36042 * string/endian.h: Add !__ASSEMBLER__ condition for including
36043 conversion interfaces.
36044
10285c21
JM
360452012-06-15 Joseph Myers <joseph@codesourcery.com>
36046
36047 [BZ #14241]
36048 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36049 of ABS(x) in calculating zero to negative powers other than odd
36050 integers.
36051 * math/libm-test.inc (pow_test): Add more tests.
36052
06c5abbd
AJ
360532012-06-15 Andreas Jaeger <aj@suse.de>
36054
36055 * manual/contrib.texi (Contributors): Update entry of Liubov
36056 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36057 Machado Filho.
36058
a3aeac40
CH
360592012-06-15 Cyril Hrubis <metan@ucw.cz>
36060
36061 * string/string.h: Add __wur to GNU version of strerror_r.
36062
49bdf4c1
L
360632012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36064
36065 [BZ #14229]
36066 * string/Makefile (tests): Add tst-strtok_r.
36067 * string/tst-strtok_r.c: New file.
36068 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36069 RAX_LP/RDX_LP on SAVE_PTR.
36070
834f9b8d
RM
360712012-06-14 Roland McGrath <roland@hack.frob.com>
36072
36073 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36074
75fa1921
JM
360752012-06-14 Joseph Myers <joseph@codesourcery.com>
36076
36077 * libm_test.inc (csqrt_test): Allow more spurious underflow
36078 exceptions.
36079 (j0_test): Likewise.
36080 (j1_test): Likewise.
36081 (y0_test): Likewise.
36082 (y1_test): Likewise.
36083
771766df
CD
360842012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36085
36086 * po/Makefile (libc.pot): Use UTF-8 charset.
36087
ceb9e56b
PP
360882012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36089
36090 [BZ #14210]
36091 Suppress sign-conversion warning from FD_SET.
36092 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36093 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36094 not unsigned long int.
36095 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36096
ddb28975
L
360972012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36098
36099 [BZ #14050]
36100 [BZ #14117]
36101 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36102 __extern_always_inline instead of __extern_inline.
36103 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36104 (__signbit): Likewise.
36105 (__signbitl): Support C++ namespace.
36106 (lrintf): New inline function.
36107 (lrint): Likewise.
36108 (llrintf): Likewise.
36109 (llrint): Likewise.
36110 (fmaxf): Likewise.
36111 (fmax): Likewise.
36112 (fminf): Likewise.
36113 (fmin): Likewise.
36114 (rint): Likewise.
36115 (rintf): Likewise.
36116 (ceil): Likewise.
36117 (ceilf): Likewise.
36118 (floor): Likewise.
36119 (floorf): Likewise.
36120 (nearbyint): Likewise.
36121 (nearbyintf): Likewise.
36122
d7b4fb26
TS
361232012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36124
36125 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36126 non-default versions.
36127
eb55f5c2
RM
361282012-06-11 Roland McGrath <roland@hack.frob.com>
36129
36130 [BZ #14218]
36131 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36132
366af02c
TS
361332012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36134
99ff6e5c
TS
36135 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36136 (FE_UPWARD, FE_DOWNWARD): Don't define.
36137 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36138 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36139
366af02c
TS
36140 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36141 reading it.
36142 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36143 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36144
793ea851
KK
361452012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36146
36147 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36148 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36149 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36150 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36151
a728a38f
L
361522012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36153
36154 [BZ #14117]
c08010c7
L
36155 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36156 * sysdeps/i386/fpu/Implies: New file.
36157 * sysdeps/x86_64/fpu/Implies: Likewise.
36158 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36159 * sysdeps/x86/fpu/bits/fenv.h: This.
36160
a728a38f
L
36161 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36162 __SSE_MATH__.
36163
6e230d11
SP
361642012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36165
36166 [BZ #14134]
36167 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36168 character 0xffff that matches the last element of the
36169 conversion table.
36170
1b671feb
AZ
361712012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36172
36173 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36174 fmodl commit.
36175
6043738b
AZ
361762012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36177
36178 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36179 values higher than 25.6283.
36180
34ae0b32
AZ
361812012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36182
36183 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36184 subnormal exponent extraction and add some __builtin_expect.
36185 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36186 Fix for subnormal mantissa calculation.
36187
1214ec8f
MF
361882012-06-04 Mike Frysinger <vapier@gentoo.org>
36189
36190 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36191 cpu2 is -1 and errno is not ENOSYS.
36192
f3d1f93c
L
361932012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36194
36195 [BZ #14117]
0e4a3cd7
L
36196 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36197 * sysdeps/x86/bits/string.h: This.
36198 * sysdeps/x86_64/bits/string.h: Removed.
36199
6704c645
L
36200 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36201 if not compiling for x86-64, but compiling for >= i486.
36202
48495318
L
36203 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36204 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36205
14adcbfc
L
36206 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36207 New macro from Linux kernel 3.4.0.
36208 (FP_XSTATE_MAGIC2): Likewise.
36209 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36210 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36211 (struct _fpx_sw_bytes): New struct.
36212 (struct _xsave_hdr): Likewise.
36213 (struct _ymmh_state): Likewise.
36214 (struct _xstate): Likewise.
36215
68e408ab
L
36216 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36217 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36218 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36219 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36220 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36221 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36222
f3d1f93c
L
36223 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36224 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36225 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36226 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36227 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36228 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36229
d9dc34cd
TMQMF
362302012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36231
36232 [BZ #13743]
36233 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36234 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36235 (sysdep_headers): Include sys/platform/ppc.h.
36236 * sysdeps/powerpc/test-gettimebase.c: Test for
36237 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36238 * manual/Makefile (appendices): Include platform.texi.
36239 * manual/contrib.texi (Contributors): Update @node pointers.
36240 * manual/maint.texi (Maintenance): Likewise.
36241 (Platform): New node.
36242 * manual/platform.texi: New file. Document the new features.
36243
4af3879c
SP
362442012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36245 Jakub Jelinek <jakub@redhat.com>
36246
36247 [BZ #14188]
36248 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36249 where __builtin_expect is unavailable.
36250
2fd6ff13
DM
362512012-06-03 David S. Miller <davem@davemloft.net>
36252
36253 * stdlib/longlong.h: Updated from GCC.
36254
173f7220
AS
362552012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36256
36257 [BZ #14042]
36258 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36259 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36260 __mcount_internal.
36261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36262 (GLIBC_2.16): Likewise.
36263
f34a1c6f
L
362642012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36265
36266 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36267
88a4576f
JM
362682012-06-01 Joseph Myers <joseph@codesourcery.com>
36269
ea32bcdd
JM
36270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36271 (default-abi): New variable.
36272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36273 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36274 variable.
36275 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36276 Likewise.
36277 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36278 Likewise.
36279 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36280 Likewise.
36281
88a4576f
JM
36282 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36283 definition. Document in comment.
36284
402fe938
DM
362852012-06-01 David S. Miller <davem@davemloft.net>
36286
36287 * stdlib/longlong.h: Updated from GCC.
36288
3553723f
L
362892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36290
36291 [BZ #14117]
3bd872c4
L
36292 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36293 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36294 sys/debugreg.h sys/io.h here.
36295 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36296 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36297 sys/io.h.
36298 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36299 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36300 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36301 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36302 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36303 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36304
3553723f
L
36305 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36306 Define only if __x86_64__ is defined.
36307
4842e4fe
JM
363082012-06-01 Joseph Myers <joseph@codesourcery.com>
36309
c5bfe3d5
JM
36310 [BZ #14048]
36311 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36312 Use int64_t for variable i.
36313 * math/libm-test.inc (fmod_test): Add more tests.
36314
4842e4fe
JM
36315 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36316 z computation is not scheduled after fetestexcept.
36317 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36318 Use math_force_eval instead of asm to ensure calculation scheduled
36319 before exception test.
36320 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36321 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36322
efb73488
AJ
363232012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36324
36325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36326 computation is not scheduled after fetestexcept.
36327
29bcce7c
L
363282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36329
36330 [BZ #14117]
36331 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36332 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36333
73a68f94
AZ
363342012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36335
36336 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36337 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36338
67b6df78
L
363392012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36340
edf2933a 36341 [BZ #14117]
ebc64a18
L
36342 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36343 <bits/wordsize.h>.
36344 (__WCHAR_MIN): Support __WORDSIZE == 64.
36345 (__WCHAR_MAX): Likewise.
36346
edf2933a
L
36347 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36348 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36349
57c6cf40
L
36350 [BZ #14183]
36351 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36352 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36353
67b6df78 36354 [BZ #14117]
8eb6281e
L
36355 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36356 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36357
aac639f4
L
36358 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36359 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36360
67b6df78
L
36361 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36362 Defined to 1 if __x86_64__ isn't defined.
36363 (_STAT_VER_LINUX_OLD): New.
36364 (st_atime): Remove duplicate.
36365 (st_mtime): Likewise.
36366 (st_ctime): Likewise.
36367
1c2cfe81
DM
363682012-05-31 David S. Miller <davem@davemloft.net>
36369
36370 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36371 entries.
36372
5be8418c
AS
363732012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36374
e7725326
AS
36375 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36376 gen-libm-test.pl.
36377
5be8418c
AS
36378 [BZ #14132]
36379 * elf/dl-reloc.c: Include <_itoa.h>.
36380 (_dl_reloc_bad_type): Remove use of INTUSE.
36381 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36382 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36383 * stdio-common/psiginfo.c (psiginfo): Likewise.
36384 * stdio-common/psignal.c (psignal): Likewise.
36385 * string/strsignal.c (strsignal): Likewise.
36386 * include/signal.h (_sys_siglist): Declare hidden proto.
36387 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36388 INTVARDEF with libc_hidden_data_def.
36389 * stdio-common/itoa-udigits.c: Likewise.
36390 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36391 (_itoa_lower_digits_internal): Remove declaration.
36392 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36393 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36394 (_sys_sigabbrev_internal): Remove aliases.
36395 (_sys_siglist): Define hidden alias.
36396
507352f1
MT
363972012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36398
36399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36400 bits/sysctl.h.
36401
42bbb1c3
L
364022012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36403
36404 [BZ #14117]
6bd784b6
L
36405 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36406 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36407
8bca20f0
L
36408 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36409 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36410 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36411 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36412 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36413 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36414
f9e890a9
L
36415 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36416 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36417 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36418
471101a1
L
36419 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36420 with __addr.
36421 (insw): Likewise.
36422 (insl): Likewise.
36423 (outsb): Likewise.
36424 (outsw): Likewise.
36425 (outsl): Likewise.
36426
6451c862
L
36427 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36428 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36429 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36430
a254b8c9
L
36431 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36432 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36433 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36434 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36435 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36436 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36437
b8dfdd92
L
36438 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36439 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36440
578cd270
L
36441 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36442 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36443
de662f5f
L
36444 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36445 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36446 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36447
25653439
L
36448 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36449 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36450 to ...
36451 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36452
6bad24a0
L
36453 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36454 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36455 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36456
42bbb1c3
L
36457 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36458 for x86-64.
36459 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36460
2d10d547
JM
364612012-05-31 Joseph Myers <joseph@codesourcery.com>
36462
36463 * math/math.h (M_El): Use two more decimal places.
36464 (M_LOG2El): Likewise.
36465 (M_LOG10El): Likewise.
36466 (M_LN2l): Likewise.
36467 (M_LN10l): Likewise.
36468 (M_PIl): Likewise.
36469 (M_PI_2l): Likewise.
36470 (M_PI_4l): Likewise.
36471 (M_1_PIl): Likewise.
36472 (M_2_PIl): Likewise.
36473 (M_2_SQRTPIl): Likewise.
36474 (M_SQRT2l): Likewise.
36475 (M_SQRT1_2l): Likewise.
36476
f230c29b
DM
364772012-05-31 David S. Miller <davem@davemloft.net>
36478
36479 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36480 values between float registers.
36481 * sysdeps/sparc/sparc64/memset.S: Likewise.
36482 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36483
fed806c3
MF
364842012-05-31 Mike Frysinger <vapier@gentoo.org>
36485
36486 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36487 -D_FORTIFY_SOURCE=1.
36488 (CPPFLAGS-tst-longjmp_chk.c): Define.
36489 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36490 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36491 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36492 CFLAGS-tst-wchar-h.c.
36493
30917259
MP
364942012-05-31 Marek Polacek <polacek@redhat.com>
36495
36496 [BZ #14132]
36497 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36498 __endmntent_internal): Remove declaration.
36499 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36500 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36501 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36502
1c58d5dc
DM
365032012-05-30 David S. Miller <davem@davemloft.net>
36504
36505 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36506 (___Q_simulate_exceptions): Use real FP ops rather than writing
36507 into the %fsr.
36508 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36509 Likewise.
36510
7dc00e0d
L
365112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36512
36513 [BZ #14117]
0bd53985
L
36514 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36515 * sysdeps/x86/bits/xtitypes.h: This.
36516
3a257e66
L
36517 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36518 * sysdeps/x86/bits/wordsize.h: This.
36519
62f62904
L
36520 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36521 * sysdeps/x86/bits/huge_vall.h: This.
36522
404fe9d9
L
36523 * sysdeps/i386/bits/select.h: Removed.
36524 * sysdeps/x86_64/bits/select.h: Renamed to ...
36525 * sysdeps/x86/bits/select.h: This.
36526
d48d0446
L
36527 * sysdeps/i386/bits/setjmp.h: Removed.
36528 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36529 * sysdeps/x86/bits/setjmp.h: This.
36530
7dc00e0d
L
36531 * sysdeps/i386/bits/mathdef.h: Removed.
36532 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36533 * sysdeps/x86/bits/mathdef.h: This.
36534
03277f8f
AS
365352012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36536
36537 [BZ #14132]
36538 * include/sys/socket.h (__connect_internal)
36539 (__libc_sa_len_internal): Remove declaration.
36540 (__connect, __libc_sa_len): Declare hidden_proto.
36541 (SA_LEN): Remove use of INTUSE.
36542 * socket/connect.c: Add libc_hidden_def.
36543 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36544 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36545 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36546 alias.
36547 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36548 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36549 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36550 of adding _internal alias.
36551
13764867
L
365522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36553
36554 [BZ #14117]
6bd97696
L
36555 * sysdeps/i386/bits/link.h: Removed.
36556 * sysdeps/i386/bits/linkmap.h: Likewise.
36557 * sysdeps/x86_64/bits/link.h: Renamed to ...
36558 * sysdeps/x86/bits/link.h: This.
36559 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36560 * sysdeps/x86/bits/linkmap.h: This.
36561
f726f0bb
L
36562 * sysdeps/i386/bits/endian.h: Removed.
36563 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36564 * sysdeps/x86/bits/endian.h: This.
36565
13764867
L
36566 * sysdeps/i386/bits/byteswap.h: Removed.
36567 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36568 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36569 * sysdeps/x86/bits/byteswap.h: This.
36570 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36571 * sysdeps/x86/bits/byteswap-16.h: This.
36572 * sysdeps/i386/Implies: Add x86.
36573 * sysdeps/x86_64/Implies: Likewise.
36574
ae251b0b
DM
365752012-05-30 David S. Miller <davem@davemloft.net>
36576
36577 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36578 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36579 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36580 (FP_TRAPPING_EXCEPTIONS): Define.
36581 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36582 (FP_TRAPPING_EXCEPTIONS): Define.
36583 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36584 subnormals only when inexact has been signalled or underflow
36585 exceptions are enabled.
36586 (_FP_PACK_CANONICAL): Likewise.
36587
d5c90867
L
365882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36589
36590 [BZ #14183]
36591 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36592 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36593
63f1549e
RH
365942012-05-30 Richard Henderson <rth@twiddle.net>
36595
8d8f2279
RH
36596 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36597 with #ifndef NOT_IN_libc.
36598
63f1549e
RH
36599 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36600 marked to avoid plt entry.
36601
0ab0291b
L
366022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36603
36604 [BZ #14112]
36605 * Makeconfig (default-abi): New macro.
36606 (abi-includes): Likewise.
36607 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36608 $(abi-$(default-abi)-lib-soname) for soname if defined.
36609 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36610 abi-variants.
36611 * Makefile (installed-stubs): Likewise.
36612 * include/stubs-biarch.h: Removed.
36613 * scripts/lib-names.awk: Only handle one library at a time.
36614 * scripts/soversions.awk: Remove WORDSIZE support.
36615 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36616 entries.
36617 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36618 Removed.
36619 (syscall-list-default-condition): Likewise.
36620 (syscall-list-default-condition): Likewise.
36621 (syscall-list-includes): Likewise.
36622 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36623 syscall-list-* with abi-*. Handle undefined abi-variants.
36624 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36625 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36626 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36627 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36628 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36629 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36630 Removed.
36631 (syscall-list-32-options): Likewise.
36632 (syscall-list-32-condition): Likewise.
36633 (syscall-list-64-options): Likewise.
36634 (syscall-list-64-condition): Likewise.
36635 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36636 macro.
36637 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36638 Renamed to ...
36639 (abi-*): This.
36640 (abi-64-ld-soname): New macro.
36641 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36642 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36643 Renamed to ...
36644 (abi-*): This.
36645 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36646 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36647
4da0431d
JM
366482012-05-30 Joseph Myers <joseph@codesourcery.com>
36649
3a85279c
JM
36650 * sysdeps/unix/sysv/linux/kernel-features.h
36651 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36652 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36653 include <kernel-features.h>.
36654 [!__NR_ftruncate64]: Remove conditional code.
36655 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36656 [__NR_ftruncate64]: Make code unconditional.
36657 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36658 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36659 include <kernel-features.h>.
36660 [!__NR_ftruncate64]: Remove conditional code.
36661 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36662 [__NR_ftruncate64]: Make code unconditional.
36663 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36665 include <kernel-features.h>.
36666 [!__NR_ftruncate64]: Remove conditional code.
36667 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36668 [__NR_ftruncate64]: Make code unconditional.
36669 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36671 include <kernel-features.h>.
36672 [!__NR_ftruncate64]: Remove conditional code.
36673 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36674 [__NR_ftruncate64]: Make code unconditional.
36675 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36676
4da0431d
JM
36677 * configure.in (libc_cv_fpie): Weaken to a compile test using
36678 LIBC_TRY_CC_OPTION.
36679 * configure: Regenerated.
36680
11ef492c
AK
366812012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36682
36683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36687 Refreshed.
36688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36694 Refreshed.
36695
d66ef399
DM
366962012-05-27 David S. Miller <davem@davemloft.net>
36697
36698 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36699 (___Q_zero): New.
36700 (__Q_simulate_exceptions): Return void. Change to simulate
36701 exceptions by writing into the %fsr.
36702 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36703 (__Qp_handle_exceptions): Likewise.
36704 (numbers): Delete.
36705 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36706 __Qp_handle_exceptions.
36707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36708 __Qp_handle_exceptions.
36709 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36710 as unused and give dummy FP_RND_NEAREST initializer.
36711 (FP_INHIBIT_RESULTS): Define.
36712 (___Q_simulate_exceptions): Update declaration.
36713 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36714 formatting.
36715 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36716 as unused and give dummy FP_RND_NEAREST initializer.
36717 (__Qp_handle_exceptions): Update declaration.
36718 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36719 formatting.
36720
04fb54b5
TS
367212012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36722
36723 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36724 the temporary FPU control word.
36725 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36726 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36727 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36728 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36729 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36730 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36731 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36732 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36733 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36734 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36735 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36736
3f99608f
KK
367372012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36738
36739 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36740 fields.
36741
65a4de4e
CLT
367422012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36743
36744 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36745 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36746 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36747 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36748 Likewise.
36749 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36750 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36751 Likewise.
36752
15749d40
UD
367532012-05-27 Ulrich Drepper <drepper@gmail.com>
36754
36755 * po/h.po: Update from translation team.
36756
25dbcb27
AS
367572012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36758
3d3f8e55
AS
36759 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36760
25dbcb27
AS
36761 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36762 handling of denormals.
36763 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36764 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36765 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36766 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36767 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36768 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36769 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36770 Likewise.
36771
7ad47a80 367722012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36773
36774 [BZ #14152]
36775 * math/libm-test.inc (fma_test): Don't always expect underflow
36776 exception.
36777
9c6ea9fa
SP
367782012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36779
36780 [BZ #12416]
36781 * elf/tst-execstack.c: Include stackinfo.h.
36782 (do_test): Adjust test case to ensure that pthread_getattr_np
36783 behaviour remains the same after marking stack executable.
36784
a8239222
JM
367852012-05-25 Joseph Myers <joseph@codesourcery.com>
36786
36787 * sysdeps/unix/sysv/linux/kernel-features.h
36788 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36789 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36790 kernel-features.h.
36791 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36792 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36793 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36794 kernel-features.h.
36795 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36796 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36797
918b5606
L
367982012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36799
36800 * configure.in: Define the default includes to being none.
36801 * configure: Regenerated.
36802
3a097cc7
RM
368032012-05-25 Roland McGrath <roland@hack.frob.com>
36804
8422c9a5
RM
36805 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36806 * sysdeps/x86_64/setjmp.S: Likewise.
36807 * sysdeps/i386/bsd-setjmp.S: Likewise.
36808 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36809 * sysdeps/i386/setjmp.S: Likewise.
36810 * sysdeps/i386/__longjmp.S: Likewise.
36811 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36812 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36813
3a097cc7
RM
36814 * include/stap-probe.h: New file.
36815 * configure.in: Handle --enable-systemtap.
36816 * configure: Regenerated.
36817 * config.h.in (USE_STAP_PROBE): New #undef.
36818 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36819 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36820 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36821
21708942
JM
368222012-05-25 Joseph Myers <joseph@codesourcery.com>
36823
36824 [BZ #13717]
36825 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36826 to 2.4.0 where earlier.
36827 * sysdeps/unix/sysv/linux/configure: Regenerated.
36828 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36829 <kernel-features.h>.
36830 [__ASSUME_32BITUIDS]: Make code unconditional.
36831 [!__ASSUME_32BITUIDS]: Remove conditional code.
36832 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36833 <kernel-features.h>.
36834 [__ASSUME_32BITUIDS]: Make code unconditional.
36835 [!__ASSUME_32BITUIDS]: Remove conditional code.
36836 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36837 [__ASSUME_32BITUIDS]: Make code unconditional.
36838 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36839 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36840 <kernel-features.h>.
36841 [__ASSUME_32BITUIDS]: Make code unconditional.
36842 [!__ASSUME_32BITUIDS]: Remove conditional code.
36843 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36844 <kernel-features.h>.
36845 [__ASSUME_32BITUIDS]: Make code unconditional.
36846 [!__ASSUME_32BITUIDS]: Remove conditional code.
36847 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36848 <kernel-features.h>.
36849 [__ASSUME_32BITUIDS]: Make code unconditional.
36850 [!__ASSUME_32BITUIDS]: Remove conditional code.
36851 * sysdeps/unix/sysv/linux/i386/getgroups.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/i386/getresgid.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/i386/getresuid.c: Do not include
36860 <kernel-features.h>.
36861 [__ASSUME_32BITUIDS]: Make code unconditional.
36862 [!__ASSUME_32BITUIDS]: Remove conditional code.
36863 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36864 <kernel-features.h>.
36865 [__ASSUME_32BITUIDS]: Make code unconditional.
36866 [!__ASSUME_32BITUIDS]: Remove conditional code.
36867 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36868 <kernel-features.h>.
36869 [__ASSUME_32BITUIDS]: Make code unconditional.
36870 [!__ASSUME_32BITUIDS]: Remove conditional code.
36871 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36872 <kernel-features.h>.
36873 [__ASSUME_32BITUIDS]: Make code unconditional.
36874 [!__ASSUME_32BITUIDS]: Remove conditional code.
36875 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36876 <kernel-features.h>.
36877 [__ASSUME_32BITUIDS]: Make code unconditional.
36878 [!__ASSUME_32BITUIDS]: Remove conditional code.
36879 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36880 <kernel-features.h>.
36881 [__NR_setresgid] (__setresgid): Do not declare.
36882 [__ASSUME_32BITUIDS]: Make code unconditional.
36883 [!__ASSUME_32BITUIDS]: Remove conditional code.
36884 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36885 <kernel-features.h>.
36886 [__NR_setresuid] (__setresuid): Do not declare.
36887 [__ASSUME_32BITUIDS]: Make code unconditional.
36888 [!__ASSUME_32BITUIDS]: Remove conditional code.
36889 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36890 <kernel-features.h>.
36891 [__ASSUME_32BITUIDS]: Make code unconditional.
36892 [!__ASSUME_32BITUIDS]: Remove conditional code.
36893 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36894 <kernel-features.h>.
36895 [__ASSUME_32BITUIDS]: Make code unconditional.
36896 [!__ASSUME_32BITUIDS]: Remove conditional code.
36897 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36898 <kernel-features.h>.
36899 [__ASSUME_32BITUIDS]: Make code unconditional.
36900 [!__ASSUME_32BITUIDS]: Remove conditional code.
36901 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36902 <kernel-features.h>.
36903 [__ASSUME_32BITUIDS]: Make code unconditional.
36904 [!__ASSUME_32BITUIDS]: Remove conditional code.
36905 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36906 <kernel-features.h>.
36907 [__ASSUME_32BITUIDS]: Make code unconditional.
36908 [!__ASSUME_32BITUIDS]: Remove conditional code.
36909 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36910 <kernel-features.h>.
36911 [__ASSUME_32BITUIDS]: Make code unconditional.
36912 [!__ASSUME_32BITUIDS]: Remove conditional code.
36913 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36914 <kernel-features.h>.
36915 [__ASSUME_32BITUIDS]: Make code unconditional.
36916 [!__ASSUME_32BITUIDS]: Remove conditional code.
36917 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36918 <kernel-features.h>.
36919 [__ASSUME_32BITUIDS]: Make code unconditional.
36920 [!__ASSUME_32BITUIDS]: Remove conditional code.
36921 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36922 <kernel-features.h>.
36923 [__ASSUME_32BITUIDS]: Make code unconditional.
36924 [!__ASSUME_32BITUIDS]: Remove conditional code.
36925 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36926 <kernel-features.h>.
36927 [__ASSUME_32BITUIDS]: Make code unconditional.
36928 [!__ASSUME_32BITUIDS]: Remove conditional code.
36929 * sysdeps/unix/sysv/linux/kernel-features.h
36930 (__ASSUME_SETRESUID_SYSCALL): Remove.
36931 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36932 (__ASSUME_32BITUIDS): Likewise.
36933 (__ASSUME_LDT_WORKS): Likewise.
36934 (__ASSUME_O_DIRECTORY): Likewise.
36935 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36936 architecture but not kernel version.
36937 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36938 (__ASSUME_MMAP2_SYSCALL): Likewise.
36939 (__ASSUME_STAT64_SYSCALL): Likewise.
36940 (__ASSUME_IPC64): Likewise.
36941 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36942 <kernel-features.h>.
36943 [__ASSUME_32BITUIDS]: Make code unconditional.
36944 [!__ASSUME_32BITUIDS]: Remove conditional code.
36945 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36946 <kernel-features.h>.
36947 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36948 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36949 132096]: Remove conditional code.
36950 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36951 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36952 <kernel-features.h>.
36953 [__ASSUME_32BITUIDS]: Make code unconditional.
36954 [!__ASSUME_32BITUIDS]: Remove conditional code.
36955 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36956 <kernel-features.h>.
36957 [__ASSUME_32BITUIDS]: Make code unconditional.
36958 [!__ASSUME_32BITUIDS]: Remove conditional code.
36959 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36960 <kernel-features.h>.
36961 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36962 unconditional.
36963 (__setresgid): Do not declare.
36964 [__ASSUME_32BITUIDS]: Make code unconditional.
36965 [!__ASSUME_32BITUIDS]: Remove conditional code.
36966 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36967 <kernel-features.h>.
36968 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36969 unconditional.
36970 (__setresuid): Do not declare.
36971 [__ASSUME_32BITUIDS]: Make code unconditional.
36972 [!__ASSUME_32BITUIDS]: Remove conditional code.
36973 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36974 <kernel-features.h>.
36975 [__ASSUME_32BITUIDS]: Make code unconditional.
36976 [!__ASSUME_32BITUIDS]: Remove conditional code.
36977 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36978 <kernel-features.h>.
36979 [__ASSUME_32BITUIDS]: Make code unconditional.
36980 [!__ASSUME_32BITUIDS]: Remove conditional code.
36981
a386f1cc
RH
369822012-05-25 Richard Henderson <rth@twiddle.net>
36983
36984 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36985 dl_hwcap to ifunc resolver.
36986 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36987 elf_ifunc_invoke.
36988 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36989 dl_hwcap to ifunc resolver.
36990 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36991
b6550497
JM
369922012-05-24 Joseph Myers <joseph@codesourcery.com>
36993
36994 [BZ #14153]
36995 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36996 for |x| <= 2**-26, not 2**-57.
36997 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36998 exception.
36999
b0bc23a1
JL
370002012-05-24 Jeff Law <law@redhat.com>
37001
37002 * stdio-common/Makefile (tests): Add bug25.
37003 * stdio-common/bug25.c: New test.
37004
347c92e9
L
370052012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37006
37007 [BZ #13576]
37008 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37009 multiple of MALLOC_ALIGNMENT in size.
37010 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37011
6bcc8b3f
JM
370122012-05-24 Joseph Myers <joseph@codesourcery.com>
37013
37014 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37015 Require >= 256.
37016 (FILENAME_MAX): Use macro-int-constant.
37017 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37018 (_IOFBF): Use macro-int-constant.
37019 (_IOLBF): Likewise.
37020 (_IONBF): Likewise.
37021 (SEEK_CUR): Likewise.
37022 (SEEK_END): Likewise.
37023 (SEEK_SET): Likewise.
37024 (TMP_MAX): Likewise.
37025 (EOF): Use macro-int-constant. Require < 0.
37026 (NULL): Use macro-constant. Require == 0.
37027 (stdin): Require type to be FILE *.
37028 (stdout): Likewise.
37029 (stderr): Likewise.
37030 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37031 macro-int-constant.
37032 (EXIT_SUCCESS): Likewise.
37033 (NULL): Use macro-constant. Require == 0.
37034 (RAND_MAX): Use macro-int-constant.
37035 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37036 [C99-based standards] (strtof): Require function.
37037 [C99-based standards] (strtold): Likewise.
37038 [C99-based standards] (strtoll): Likewise.
37039 [C99-based standards] (strtoull): Likewise.
37040 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37041 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37042 [ISO || ISO99 || ISO11] (math.h): Likewise.
37043 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37044 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37045 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37046
d18ea0c5
AS
370472012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37048
37049 [BZ #14132]
56d25bb8
AS
37050 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37051 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37052 * intl/dgettext.c (DCGETTEXT): Likewise.
37053 * intl/gettext.c (DCGETTEXT): Likewise.
37054 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37055 * posix/regex_internal.h (gettext): Likewise.
37056 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37057 Remove declaration.
37058 * include/argz.h (__argz_count_internal)
37059 (__argz_stringify_internal): Remove declaration.
37060 (__argz_count, __argz_stringify): Declare hidden proto.
37061 * intl/dcgettext.c: Remove use of INTDEF.
37062 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37063 * string/argz-stringify.c: Likewise.
37064 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37065 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37066 Declare hidden proto.
d18ea0c5
AS
37067 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37068 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37069 Declare hidden proto.
37070 * include/stdio.h (__asprintf_internal): Don't declare.
37071 (__asprintf): Don't define as macro. Declare hidden proto.
37072 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37073 (__fsetlocking): Declare hidden proto.
37074 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37075 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37076 hidden proto.
37077 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37078 (_IO_setlinebuf): Remove use of INTUSE.
37079 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37080 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37081 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37082 Remove declaration.
37083 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37084 (_IO_do_flush): Remove use of INTUSE.
37085 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37086 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37087 (_IO_adjust_column, _IO_least_wmarker)
37088 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37089 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37090 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37091 (_IO_default_doallocate, _IO_wdefault_doallocate)
37092 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37093 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37094 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37095 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37096 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37097 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37098 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37099 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37100 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37101 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37102 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37103 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37104 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37105 proto.
37106 (_IO_flush_all_internal, _IO_adjust_column_internal)
37107 (_IO_default_uflow_internal, _IO_default_finish_internal)
37108 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37109 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37110 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37111 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37112 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37113 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37114 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37115 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37116 (_IO_file_close_internal, _IO_file_close_it_internal)
37117 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37118 (_IO_file_init_internal, _IO_file_attach_internal)
37119 (_IO_file_fopen_internal, _IO_file_read_internal)
37120 (_IO_file_sync_internal, _IO_file_seek_internal)
37121 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37122 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37123 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37124 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37125 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37126 (_IO_list_all_internal, _IO_link_in_internal)
37127 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37128 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37129 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37130 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37131 (_IO_do_write_internal, _IO_padn_internal)
37132 (_IO_getline_info_internal, _IO_getline_internal)
37133 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37134 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37135 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37136 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37137 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37138 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37139 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37140 with libc_hidden_ver, remove use of INTUSE.
37141 * libio/genops.c: Likewise.
37142 * libio/freopen.c: Likewise.
37143 * libio/freopen64.c: Likewise.
37144 * libio/iofclose.c: Likewise.
37145 * libio/iofdopen.c: Likewise.
37146 * libio/iofflush.c: Likewise.
37147 * libio/iofflush_u.c: Likewise.
37148 * libio/iofgets.c: Likewise.
37149 * libio/iofgets_u.c: Likewise.
37150 * libio/iofopen.c: Likewise.
37151 * libio/iofopncook.c: Likewise.
37152 * libio/iofread.c: Likewise.
37153 * libio/iofread_u.c: Likewise.
37154 * libio/ioftell.c: Likewise.
37155 * libio/iofwrite.c: Likewise.
37156 * libio/iogetline.c: Likewise.
37157 * libio/iogets.c: Likewise.
37158 * libio/iogetwline.c: Likewise.
37159 * libio/iopadn.c: Likewise.
37160 * libio/iopopen.c: Likewise.
37161 * libio/ioseekoff.c: Likewise.
37162 * libio/ioseekpos.c: Likewise.
37163 * libio/iosetbuffer.c: Likewise.
37164 * libio/iosetvbuf.c: Likewise.
37165 * libio/ioungetc.c: Likewise.
37166 * libio/ioungetwc.c: Likewise.
37167 * libio/iovdprintf.c: Likewise.
37168 * libio/iovsprintf.c: Likewise.
37169 * libio/iovsscanf.c: Likewise.
37170 * libio/memstream.c: Likewise.
37171 * libio/obprintf.c: Likewise.
37172 * libio/oldfileops.c: Likewise.
37173 * libio/oldiofclose.c: Likewise.
37174 * libio/oldiofdopen.c: Likewise.
37175 * libio/oldiofopen.c: Likewise.
37176 * libio/oldiopopen.c: Likewise.
37177 * libio/oldstdfiles.c: Likewise.
37178 * libio/putc.c: Likewise.
37179 * libio/setbuf.c: Likewise.
37180 * libio/setlinebuf.c: Likewise.
37181 * libio/stdfiles.c: Likewise.
37182 * libio/strops.c: Likewise.
37183 * libio/vasprintf.c: Likewise.
37184 * libio/vscanf.c: Likewise.
37185 * libio/vsnprintf.c: Likewise.
37186 * libio/vswprintf.c: Likewise.
37187 * libio/wfiledoalloc.c: Likewise.
37188 * libio/wfileops.c: Likewise.
37189 * libio/wgenops.c: Likewise.
37190 * libio/wmemstream.c: Likewise.
37191 * libio/wstrops.c: Likewise.
37192 * libio/__fpurge.c: Likewise.
37193 * libio/__fsetlocking.c: Likewise.
37194 * assert/assert.c: Likewise.
37195 * debug/fgets_chk.c: Likewise.
37196 * debug/fgets_u_chk.c: Likewise.
37197 * debug/fread_chk.c: Likewise.
37198 * debug/fread_u_chk.c: Likewise.
37199 * debug/gets_chk.c: Likewise.
37200 * debug/obprintf_chk.c: Likewise.
37201 * debug/vasprintf_chk.c: Likewise.
37202 * debug/vdprintf_chk.c: Likewise.
37203 * debug/vsnprintf_chk.c: Likewise.
37204 * debug/vsprintf_chk.c: Likewise.
37205 * malloc/mtrace.c: Likewise.
37206 * misc/error.c: Likewise.
37207 * misc/syslog.c: Likewise.
37208 * stdio-common/asprintf.c: Likewise.
37209 * stdio-common/fxprintf.c: Likewise.
37210 * stdio-common/getw.c: Likewise.
37211 * stdio-common/isoc99_fscanf.c: Likewise.
37212 * stdio-common/isoc99_scanf.c: Likewise.
37213 * stdio-common/isoc99_vfscanf.c: Likewise.
37214 * stdio-common/isoc99_vscanf.c: Likewise.
37215 * stdio-common/isoc99_vsscanf.c: Likewise.
37216 * stdio-common/printf-prs.c: Likewise.
37217 * stdio-common/printf_fp.c: Likewise.
37218 * stdio-common/printf_fphex.c: Likewise.
37219 * stdio-common/printf_size.c: Likewise.
37220 * stdio-common/putw.c: Likewise.
37221 * stdio-common/scanf.c: Likewise.
37222 * stdio-common/sprintf.c: Likewise.
37223 * stdio-common/tmpfile.c: Likewise.
37224 * stdio-common/vfprintf.c: Likewise.
37225 * stdio-common/vfscanf.c: Likewise.
37226 * stdlib/strfmon_l.c: Likewise.
37227 * sunrpc/openchild.c: Likewise.
37228 * sunrpc/xdr_stdio.c: Likewise.
37229 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37230 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37231
d6c33fda
RM
372322012-05-24 Roland McGrath <roland@hack.frob.com>
37233
c1487492
RM
37234 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37235
37236 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37237 in the third column, to generate for the shared library an IFUNC
37238 that uses _dl_vdso_vsym.
37239 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37240 * Makeconfig (object-suffixes-noshared): New variable.
37241
37242 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37243 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37244 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37245 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37246
d6c33fda
RM
37247 [BZ #14132]
37248 * include/sys/time.h (__gettimeofday): Remove macro.
37249 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37250 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37251 Remove INTDEF.
37252 (__gettimeofday): Add libc_hidden_def.
37253 (gettimeofday): Add libc_hidden_weak.
37254 * sysdeps/mach/gettimeofday.c: Likewise.
37255 * sysdeps/posix/gettimeofday.c: Likewise.
37256 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37257 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37258 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37259 (__gettimeofday_internal): Remove strong_alias.
37260 (__gettimeofday): Add libc_hidden_def.
37261 (gettimeofday): Add libc_hidden_weak.
37262 * sysdeps/unix/syscalls.list (gettimeofday):
37263 Remove __gettimeofday_internal alias.
37264
b5a2bbe6
L
372652012-05-24 Daniel Jacobowitz <drow@false.org>
37266 H.J. Lu <hongjiu.lu@intel.com>
37267
37268 [BZ #12495]
37269 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37270 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37271 (largebin_index_32_big): New.
37272 (largebin_index): Use it for 16-byte alignment.
37273 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37274 correction with front_misalign.
37275
cfba4fda
L
372762012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37277
7f907421
L
37278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37280 Likewise.
37281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37282 Likewise.
37283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37284 Likewise.
37285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37286 Likewise.
37287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37288 Likewise.
37289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37290 Likewise.
37291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37292 Likewise.
37293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37294 Likewise.
37295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37296 Likewise.
37297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37298 Likewise.
37299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37300 Likewise.
37301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37302 Likewise.
37303
cfba4fda
L
37304 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37305 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37306
80bad0cc
JM
373072012-05-24 Joseph Myers <joseph@codesourcery.com>
37308
7a25eb06
JM
37309 [BZ #10846]
37310 [BZ #14036]
37311 * math/libm-test.inc (exp_test): Add test from bug 14036.
37312 (pow_test): Add test from bug 10846.
37313
795405f9
JM
37314 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37315 and other flags.
37316 (special_function): Do not include flags in test name.
37317 (parse_args): Likewise.
37318 * sysdeps/i386/fpu/libm-test-ulps: Update.
37319 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37320 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37321 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37323
80bad0cc
JM
37324 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37325 exceptions.
37326 * math/libm-test.inc ("Philosophy"): Update comment about
37327 exception testing.
37328 (UNDERFLOW_EXCEPTION): New macro.
37329 (UNDERFLOW_EXCEPTION_OK): Likewise.
37330 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37331 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37332 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37333 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37334 (INVALID_EXCEPTION_OK): Update value.
37335 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37336 (OVERFLOW_EXCEPTION_OK): Likewise.
37337 (IGNORE_ZERO_INF_SIGN): Likewise.
37338 (test_exceptions): Handle underflow exceptions.
37339 (acos_test): Update for underflow exception expectations.
37340 (cexp_test): Likewise.
37341 (clog_test): Likewise.
37342 (clog10_test): Likewise.
37343 (csqrt_test): Likewise.
37344 (ctan_test): Likewise.
37345 (ctanh_test): Likewise.
37346 (exp_test): Likewise.
37347 (exp10_test): Likewise.
37348 (exp2_test): Likewise.
37349 (expm1_test): Likewise.
37350 (fma_test): Likewise.
37351 (j0_test): Likewise.
37352 (jn_test): Likewise.
37353 (nexttoward_test): Likewise.
37354 (pow_test): Likewise.
37355 (scalbn_test): Likewise.
37356 (scalbln_test): Likewise.
37357 (tan_test): Likewise.
37358 (y1_test): Likewise.
37359 * sysdeps/i386/fpu/libm-test-ulps: Update.
37360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37361
9e0e3d0b
DM
373622012-05-23 David S. Miller <davem@davemloft.net>
37363
37364 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37365 (__libc_sigaction): Remove unused local variables.
37366
ccd0a08f
L
373672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37368
37369 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37370
62bdf9a6
PE
373712012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37372
f8591f80
PE
37373 mktime: avoid signed integer overflow
37374 * time/mktime.c (__mktime_internal): Do not mishandle the case
37375 where diff == INT_MIN.
37376
94c7d826
PE
37377 mktime: simplify computation of average
37378 * time/mktime.c (ranged_convert): Use new time_t_avg function
37379 instead of rolling our own (probably-slower) code.
37380
ce73d683
PE
37381 mktime: do not assume signed right shift propagates sign bit
37382 * time/mktime.c (isdst_differ): New static function.
37383 (__mktime_internal): No need to normalize tm_isdst now.
37384 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37385 tm_isdst values.
37386
72a22e59
PE
37387 mktime: merge another wrapv change from gnulib
37388 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37389 from some compilers.
37390
68605433
PE
37391 mktime: remove incorrect attempt at unusual arithmetics
37392 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37393 The code didn't really work on such machines anyway.
37394 (TYPE_MINIMUM): Assume two's complement.
37395 (twos_complement_arithmetic): Verify that long_int and time_t
37396 are two's complement (or unsigned, in the latter case).
37397
03cf7fe3
PE
37398 mktime: check signed shifts on long_int and time_t, too
37399 * time/mktime.c (SHR): Check that shifts work as desired
37400 on the types long_int and time_t too, as SHR is used on
37401 such types.
37402
f04dfbc2
PE
37403 mktime: do not assume 'long' is wide enough
37404 * time/mktime.c (verify): Move decl up.
37405 (long_int): New type.
37406 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37407 to remove assumption in the code that 'long' is wide enough to
37408 store year values. This assumption is not true on x32 and on
37409 some non-glibc platforms.
37410
62bdf9a6
PE
37411 mktime: merge wrapv change from gnulib
37412 * time/mktime.c (WRAPV): New macro.
37413 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37414 (guess_time_tm, __mktime_internal): Do not assume that signed
37415 integer overflow wraps around; modern compilers generate code
37416 where this assumption is no longer valid.
37417
5e292e4f
L
374182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37419
37420 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37421 Replace "jmp L(pseudo_end)" with "ret".
37422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37423 Likewise.
37424
8caf8c87
AJ
374252012-05-23 Andreas Jaeger <aj@suse.de>
37426
37427 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37428 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37429
1a09dc56
AJ
374302012-05-23 Andreas Jaeger <aj@suse.de>
37431 Maximilian Attems <max@stro.at>
37432
37433 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37434 New macros.
37435
1c87aba0
L
374362012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37437
37438 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37439 code so that pseudo_end is just ret and the stack pointer is
37440 correct also for static library in error case.
37441
40e45bd5
JM
374422012-05-23 Joseph Myers <joseph@codesourcery.com>
37443
c2670533
JM
37444 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37445 move to syscalls.list.
37446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37450
40e45bd5
JM
37451 * manual/install.texi (Running make install): Do not mention Linux
37452 kernel version for which pt_chown is not needed.
37453 (Linux): Do not mention problems with nscd with 2.0 kernels.
37454 * INSTALL: Regenerated.
37455
be08eda5
AJ
374562012-05-23 Andreas Jaeger <aj@suse.de>
37457
37458 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37459 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37460 macro.
37461 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37462 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37463 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37464 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37465 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37466 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37467 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37468 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37469 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37470 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37471 * sysdeps/unix/sysv/linux/bits/in.h
37472 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37473
a6a056bb
RM
374742012-05-22 Roland McGrath <roland@hack.frob.com>
37475
37476 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37477 (PREPARE_VERSION): Just use assert instead, it will be elided
37478 under [NDEBUG] anyway.
37479
c9009328
L
374802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37481
37482 * sysdeps/unix/sysv/linux/Makefile: Include
37483 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 37484 (sysdep_routines): Remove sysctl.
c9009328
L
37485 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37486 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37487 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37488 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37489 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37490
73338355
AJ
374912012-05-22 Andreas Jaeger <aj@suse.de>
37492
37493 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37494 that pseudo_end is just ret and the stack pointer is correct also
37495 for static library in error case.
37496
d44638b0
PP
374972012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37498
37499 [BZ #14122]
37500 * nss/nsswitch.c (defconfig_entries): New variable.
37501 (__nss_database_lookup): Don't leak defconfig entries.
37502 (nss_parse_service_list): Don't leak on error paths.
37503 (free_database_entries): New function.
37504 (free_defconfig): New function.
37505 (free_mem): Move common code to free_database_entries.
37506
31a39bd8
L
375072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37508
da0331a8
L
37509 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37510 Add arch_prctl.
37511 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37512
31a39bd8
L
37513 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37514 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37515 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37516 New macro.
37517 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37518 (INTERNAL_SYSCALL_TYPES): Likewise.
37519 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37520 (LOAD_REGS_TYPES_[1-6]): Likewise.
37521 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37522 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37523
45470df3
AZ
375242012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37525
37526 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37527 copysignl for GLIBC_2_0.
37528 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37529 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37530 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37531 logbl for GLIBC_2_0.
37532 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37533 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37534
98a61bcb
L
375352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37536
a4f6e481
L
37537 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37538 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37539
f63d5db6
L
37540 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37541 Use "neg %eax".
37542
98a61bcb
L
37543 * time/mktime.c: Update copyright years.
37544
95770f14
PE
375452012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37546
6226efbd
PE
37547 mktime: merge comment-quoting-style change from gnulib
37548 * time/mktime.c: Quote 'like this' in comments.
37549 The GNU coding standards suggest that we no longer quote `like this',
37550 as "`" and "'" are typically rendered asymmetrically nowadays.
37551 The typical gnulib style is to quote 'like this' when quoting
37552 code, and "like this" when quoting English.
37553
b99e4f78
PE
37554 * time/mktime.c (compile-command): Add "-I.".
37555
643e01e6
PE
37556 mktime: merge mktime-internal.h change from gnulib
37557 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37558
2554247d
PE
37559 mktime: merge time_r change from gnulib
37560 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37561
826dd0ab
PE
37562 mktime: merge DEBUG change from gnulib
37563 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37564 case system <time.h> has a #define.
37565
bd83aabe
PE
37566 mktime: merge <sys/types.h> change from gnulib
37567 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37568 since <time.t> is now guaranteed to define time_t.
37569
95770f14
PE
37570 mktime: merge HAVE_CONFIG_H change from gnulib
37571 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37572
5e1a27a9
L
375732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37574
0e44a77e
L
37575 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37576 Use "neg %eax".
37577
5e1a27a9
L
37578 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37579 __rlim_t cast.
37580 (struct rusage): Use anonymous union to pad each field to
37581 __syscall_slong_t.
37582
46259bec
DM
375832012-05-21 David S. Miller <davem@davemloft.net>
37584
37585 * Makefules (o-iterator): Remove .s cases.
37586 (compile-command.s): Delete.
37587 (COMPILE.s): Delete.
37588 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37589
59f0c22e
JM
375902012-05-21 Joseph Myers <joseph@codesourcery.com>
37591
37592 * configure.in (libc_cv_predef_stack_protector): Only consider
37593 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37594 * configure: Regenerated.
37595
20c07380
L
375962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37597
bbb3154b
L
37598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37599 New macro. Use R*LP on int and pointer.
37600 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37601 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37602 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37603 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37604
20c07380
L
37605 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37606 [__WORDSIZE_TIME64_COMPAT32] instead of
37607 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37608 (struct utmp): Likewise.
37609 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37610 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37611 Renamed to ...
37612 (__WORDSIZE_TIME64_COMPAT32): This.
37613 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37614 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37615 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37616 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37617 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37618 (__WORDSIZE_TIME64_COMPAT32): New macro.
37619
d8d1017e
AJ
376202012-05-21 Andreas Jaeger <aj@suse.de>
37621
37622 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37623 only if [SHARED]. Add prototype for __wcschr_ia32.
37624
6c7fb145
RM
376252012-05-21 Roland McGrath <roland@hack.frob.com>
37626
37627 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37628 of %rbp unmolested in the jmp_buf while mangling the low bits.
37629 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37630 unmolested high bits of %rbp while demangling the low bits.
37631 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37632
66274218
AJ
376332012-05-21 Andreas Jaeger <aj@suse.de>
37634
07c58f8f
AJ
37635 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37636 * sunrpc/svc_simple.c: Use it for registerrpc.
37637 * sunrpc/xcrypt.c: Use it for passwd2des.
37638
66274218
AJ
37639 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37640
61f65140
L
376412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37642
37643 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37644 Don't define if [__SYSCALL_WORDSIZE != 32].
37645 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37646 New macro.
37647
5fefb436
AJ
376482012-05-21 Bruno Haible <bruno@clisp.org>
37649 Andreas Jaeger <aj@suse.de>
37650
37651 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37652 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37653 inptr and inend for must_buffer_ch.
37654 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37655 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37656 * stdio-common/Makefile (tests): Remove bug15.
37657 (bug15-ENV): Remove macro.
37658 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37659 anymore.
37660
d8e272ab
AJ
376612012-05-19 Andreas Jaeger <aj@suse.de>
37662 Roland McGrath <roland@hack.frob.com>
37663
37664 * manual/contrib.texi: Completely rewritten. It contains now an
37665 alphabetical list of contributors and their contributions.
37666
4a56a162
RH
376672012-05-21 Richard Henderson <rth@twiddle.net>
37668
37669 * misc/getauxval.c (__getauxval): Use unsigned long int.
37670 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37671 (getauxval): Use unsigned long int.
37672
d024d23c
L
376732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37674
37675 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37676
cbc00a03
RM
376772012-05-21 Roland McGrath <roland@hack.frob.com>
37678
37679 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37680 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37681 __alignof__ (long double).
37682
478143fa
AZ
376832012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37684
37685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37686
c7683a6d
RH
376872012-05-20 Richard Henderson <rth@twiddle.net>
37688
37689 * misc/getauxval.c: New file.
37690 * misc/sys/auxv.h: New file.
37691 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37692 (routines): Add getauxval.
37693 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37694 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37695 * elf/dl-sysdep.c (_dl_auxv): Remove.
37696 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37697 * elf/dl-support.c (_dl_auxv): New variable.
37698 (_dl_aux_init): Initialize it.
37699 * manual/startup.texi (Auxiliary Vector): New node.
37700 * sysdeps/generic/bits/hwcap.h: New file.
37701 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37702 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37703 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37704 * sysdeps/sparc/sysdep.h: ... here. Include it.
37705 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37706 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37708 Update.
c7683a6d
RH
37709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37712 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37717
a6f1845d
AZ
377182012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37719
37720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37721
cbcbe830
DM
377222012-05-19 David S. Miller <davem@davemloft.net>
37723
37724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37725
e0b16cc2
JM
377262012-05-19 Joseph Myers <joseph@codesourcery.com>
37727
37728 [BZ #14123]
37729 * math/s_ccosh.c: Include <float.h>
37730 (__ccosh): Avoid internal overflow calculating sinh and cosh
37731 values before multiplying by sin and cos values.
37732 * math/s_ccoshf.c: Likewise.
37733 * math/s_ccoshl.c: Likewise.
37734 * math/s_csin.c: Likewise.
37735 * math/s_csinf.c: Likewise.
37736 * math/s_csinl.c: Likewise.
37737 * math/s_csinh.c: Likewise.
37738 * math/s_csinhf.c: Likewise.
37739 * math/s_csinhl.c: Likewise.
37740 * math/libm-test.inc (ccos_test): Add more tests.
37741 (ccosh_test): Likewise.
37742 (csin_test): Likewise.
37743 (csinh_test): Likewise.
37744 * sysdeps/i386/fpu/libm-test-ulps: Update.
37745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37746
6ad13e08
L
377472012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37748
f66f0ce8
L
37749 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37750 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37751
6ad13e08
L
37752 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37753
b1d072a7
JM
377542012-05-19 Joseph Myers <joseph@codesourcery.com>
37755
37756 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37757 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37758 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37759 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37760 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37761 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37762 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37763 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37764 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37765 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37766 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37767 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37768 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37769 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37770 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37771 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37772 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37773 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37774 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37775 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37776 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37777 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37778 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37779 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37780 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37781 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37782 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37783 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37784 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37785 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37786 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37787
9eae47cb
AJ
377882012-05-18 Andreas Jaeger <aj@suse.de>
37789
37790 * csu/.gitignore: Delete.
37791
bb07f69f
L
377922012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37793
37794 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37795 (timex): Use __syscall_slong_t.
37796
e6bdb741
AJ
377972012-05-18 Andreas Jaeger <aj@suse.de>
37798 Carlos O'Donell <carlos_odonell@mentor.com>
37799
37800 * manual/install.texi (Configuring and compiling): Update
37801 description about files modified in the source directory.
d6c33fda 37802 * INSTALL: Regenerated.
e6bdb741 37803
1b74487e
L
378042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37805
37806 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37807 value. Use "or" to set return value to -1.
37808 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37809 negate return value.
37810
a88b64b9
TMQMF
378112012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37812
57f41c40
AS
37813 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37814 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37815 failure if the compiler has Graphite support disabled.
37816 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37817 Likewise.
57f41c40
AS
37818 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37819 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37820 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37821 Likewise.
37822
3707636e
L
378232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37824
610b8622
L
37825 * sysdeps/x86_64/x32/_itoa.h: New file.
37826
7cd195df
L
37827 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37828 getdents system call only if kernel and user dirents have the
37829 same d_ino and d_off.
37830
94b07d20
L
37831 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37832 LLONG_MAX != LONG_MAX.
37833 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37834 (_fitoa_word): Likewise.
37835
18298070
L
37836 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37837 years.
37838 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37839 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37840 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37841
553c7ea4
L
37842 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37843 include <bits/wordsize.h>. Check __x86_64__ instead of
37844 __WORDSIZE.
37845 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37846 if __x86_64__ is defined. Use anonymous union on fpstate.
37847
3707636e
L
37848 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37849 anonymous union.
37850
b53ef01a
AS
378512012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37852
37fb1dc0
AS
37853 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37854 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37855 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37856 Refer to _rtld_local_ro instead of _rtld_global_ro.
37857 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37858 Likewise.
37859 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37860 Likewise.
37861 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37862 Likewise.
37863 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37864 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37865 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37866
b53ef01a
AS
37867 * sysdeps/powerpc/powerpc32/dl-machine.c
37868 (__elf_machine_runtime_setup) [PROF]: Don't reference
37869 _dl_prof_resolve.
37870
7a185db2
AJ
378712012-05-18 Andreas Jaeger <aj@suse.de>
37872
37873 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37874 function only available for GCCs before 3.4 since GCC 3.4
37875 introduced a builtin.
37876 (lrint): Likewise.
37877 (llrintf): Likewise.
37878 (llrint): Likewise.
37879 (fmaxf): Likewise.
37880 (fmax): Likewise.
37881 (fminf): Likewise.
37882 (fmin): Likewise.
37883 (rint): Likewise.
37884 (rintf): Likewise.
37885 (nearbyint): Likewise.
37886 (nearbyintf): Likewise.
37887 (ceil): Likewise.
37888 (ceilf): Likewise.
37889 (floor): Likewise.
37890 (floorf): Likewise.
37891
3e5aef87
L
378922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37893
428bd707
L
37894 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37895 on both fields and cast pointer to __syscall_ulong_t.
37896
3e5aef87
L
37897 * bits/types.h (__fsword_t): New type.
37898 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37899 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37900 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37901 (__FSWORD_T_TYPE): Likewise.
37902 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37903 (__FSWORD_T_TYPE): Likewise.
37904 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37905 (__FSWORD_T_TYPE): Likewise.
37906 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37907 (__FSWORD_T_TYPE): Likewise.
37908 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37909 __SWORD_TYPE with __fsword_t.
37910 (statfs64): Likewise.
37911
1ba7c3dc
DM
379122012-05-17 David S. Miller <davem@davemloft.net>
37913
37914 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37915
59910343
AJ
379162012-05-17 Andreas Jaeger <aj@suse.de>
37917
37918 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37919 warning.
37920
2e4c1e9e
L
379212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37922
37923 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37924
de7f5ce7
AJ
379252012-05-17 Andreas Jaeger <aj@suse.de>
37926
37927 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37928 when it is used.
37929
286abc3d
CM
379302012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37931
37932 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37933
477cc68e
L
379342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37935
37936 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37937 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37938
1a0994f5
CD
379392012-05-17 Andreas Jaeger <aj@suse.de>
37940 Carlos O'Donell <carlos_odonell@mentor.com>
37941
37942 [BZ #14059]
37943 * sysdeps/x86_64/multiarch/init-arch.h
37944 (bit_YMM_Usable): Rename to...
37945 (bit_AVX_Usable): ... this.
37946 (bit_FMA4_Usable): New macro.
37947 (bit_XMM_state): New macro.
37948 (bit_YMM_state): New macro.
37949 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37950 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37951 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37952 (CPUID_OSXSAVE): New macro.
37953 (CPUID_AVX): New macro.
37954 (CPUID_FMA4): New macro.
37955 (index_YMM_Usable): Rename to...
37956 (index_AVX_Usable): ... this.
37957 (HAS_AVX): Use HAS_ARCH_FEATURE.
37958 (HAS_FMA4): Likewise.
37959 (HAS_YMM_USABLE): Remove.
37960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37961 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37962 are present.
37963 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37964 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37965 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37966 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37967 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37968
0af797de
CM
379692012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37970
37971 * math/libm-test.c: Support platforms without multiple rounding modes.
37972 * math/bug-nextafter.c: Support platforms without FP exceptions.
37973 * math/bug-nexttoward.c: Likewise.
37974 * math/test-fenv.c: Likewise.
37975 * math/test-misc.c: Likewise.
37976 * stdlib/bug-getcontext.c: Likewise.
37977
e39745ff
AJ
379782012-05-17 Andreas Jaeger <aj@suse.de>
37979
37980 * manual/examples/search.c (critter_cmp): Change signature to
37981 avoid warnings.
37982 * manual/string.texi (Collation Functions): Likewise.
37983
48970aba
L
379842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37985
37986 * bits/types.h: Fold copyright years.
37987 * bits/typesizes.h: Likewise.
37988 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37989 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37990 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37991 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37992 * time/time.h: Likewise.
37993
bedee953
PP
379942012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37995
37996 [BZ #208]
37997 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37998 in instead of returning them. Return void.
37999 (__libc_mallinfo): Accumulate over all arenas.
38000 (__malloc_stats): Adjust for change in int_mallinfo interface.
38001
61653dfb
RM
380022012-05-16 Roland McGrath <roland@hack.frob.com>
38003
30b99d79
RM
38004 [BZ #10375]
38005 * configure.in (NM): Add AC_CHECK_TOOL for it.
38006 (libc_extra_cflags): New substituted variable.
38007 Check for -fstack-protector being used implicitly.
38008 * configure: Regenerated.
38009 * config.make.in (config-extra-cflags): New variable,
38010 gets @libc_extra_cflags@.
38011 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38012
61653dfb
RM
38013 [BZ #10375]
38014 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38015 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38016 * configure: Regenerated.
38017 * config.make.in (CPPUNDEFS): New substituted variable.
38018 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38019 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38020 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38021
661768bb
L
380222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38023
38024 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38025 (mq_attr): Use __syscall_slong_t.
38026
d4261567
L
380272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38028
38029 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38030 Check __x86_64__ instead of __WORDSIZE.
38031 (_STAT_VER_LINUX): Likewise.
38032 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38033 __syscall_ulong_t and __syscall_slong_t.
38034 (stat64): Likewise.
38035
cf3ff365
L
380362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38037
38038 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38039
76cf3e4d
L
380402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38041
38042 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38043
a637753a
L
380442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38045
38046 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38047 __syscall_ulong_t.
38048
d5e05119
L
38049 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38050 include <bits/wordsize.h>. Check __x86_64__ instead of
38051 __WORDSIZE.
38052 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38053 defined.
38054 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38055
f62ee380
L
38056 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38057 include <bits/wordsize.h>. Check __x86_64__ instead of
38058 __WORDSIZE.
38059 (user_regs_struct): Use "__extension__ unsigned long long"
38060 instead of "unsigned long" if __x86_64__ is defined.
38061 (user): Likewise. Pad after pointer field if __ILP32__ is
38062 defined.
38063
4e124ced
JM
380642012-05-16 Joseph Myers <joseph@codesourcery.com>
38065
6a3951a0
JM
38066 * configure.in (makeinfo): Require version 4.5 or later. Allow
38067 versions 5 to 9.
38068 * configure: Regenerated.
38069 * manual/install.texi (texinfo): Increase version requirement to
38070 4.5 or later.
38071 * INSTALL: Regenerated.
38072
4e124ced
JM
38073 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38074
953ca31a
L
380752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38076
38077 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38078
617aca05
L
38079 * sysdeps/x86_64/x32/ffs.c: New file.
38080
5762f7ae
L
38081 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38082 __syscall_ulong_t.
38083 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38084 defined. Use __syscall_ulong_t.
38085 (shminfo): Use __syscall_ulong_t.
38086 (shm_info): Likewise.
38087
a26b6856
L
38088 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38089 __syscall_ulong_t.
38090
cb2b9ef7
L
38091 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38092 <bits/wordsize.h>.
38093 (msgqnum_t): Use __syscall_ulong_t.
38094 (msglen_t): Likewise.
38095 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38096 __syscall_ulong_t.
38097
34683bb0
L
38098 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38099 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38100
84a68786
L
38101 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38102
48baa5f1
L
38103 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38104 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38105
180be88b
L
38106 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38107 __syscall_slong_t.
38108
5e90c8ad
L
38109 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38110 include <bits/wordsize.h>. Check __x86_64__ instead of
38111 __WORDSIZE.
38112
23dfb58b
L
38113 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38114 "unsigned long long int" if __x86_64__ is defined.
38115 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38116
ce5d54b0
L
38117 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38118 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38119 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38120
13dc9eac
L
38121 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38122 <stdint.h>.
38123 (GET_PC): Cast to uintptr_t first.
38124 (GET_FRAME): Likewise.
38125 (GET_STACK): Likewise.
38126
a7895d15
L
38127 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38128 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38129 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38130 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38131 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38132 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38133 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38134 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38135 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38136 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38137 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38138 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38139 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38140 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38141 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38142 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38143 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38144 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38145 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38146 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38147 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38148 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38149 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38150 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38151 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38152 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38153 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38154 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38155 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38156
656416c9
AS
381572012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38158
5bd66283
AS
38159 * Makerules (+depfiles): Also collect depfiles from .oS in
38160 $(extra-objs).
38161 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38162 .oS, $(libnldbl-routines)).
38163
656416c9
AS
38164 * Makerules (native-compile-mkdep-flags): Define.
38165 * sunrpc/Makefile (extra-objs): Add $(addprefix
38166 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38167 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38168 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38169 calling $(make-target-directory).
38170
a46f2169
L
381712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38172
38173 * bits/types.h (__snseconds_t): Removed.
38174 * time/time.h (struct timespec): Replace __snseconds_t with
38175 __syscall_slong_t.
38176 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38177 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38178 Likewise.
38179 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38180 (__SNSECONDS_T_TYPE): Likewise.
38181 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38182 (__SNSECONDS_T_TYPE): Likewise.
38183 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38184 (__SNSECONDS_T_TYPE): Likewise.
38185
6af6528b
L
381862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38187
38188 * sysdeps/mach/hurd/bits/typesizes.h
38189 (__SYSCALL_SLONG_TYPE): New macro.
38190 (__SYSCALL_ULONG_TYPE): Likewise.
38191
de986b56
L
381922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38193
38194 * bits/types.h (__syscall_slong_t): New type.
38195 (__syscall_ulong_t): Likewise.
38196
38197 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38198 (__SYSCALL_ULONG_TYPE): Likewise.
38199 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38200 (__SYSCALL_SLONG_TYPE): Likewise.
38201 (__SYSCALL_ULONG_TYPE): Likewise.
38202 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38203 (__SYSCALL_SLONG_TYPE): Likewise.
38204 (__SYSCALL_ULONG_TYPE): Likewise.
38205 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38206 (__SYSCALL_SLONG_TYPE): Likewise.
38207 (__SYSCALL_ULONG_TYPE): Likewise.
38208
85736dc7
L
382092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38210
38211 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38212 Add sigaltstack-offsets.sym.
38213 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38214 <sigaltstack-offsets.h>.
38215 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38216 longjmp_msg pointer.
38217 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38218 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38219 signal stack.
38220 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38221
cc03b296
JM
382222012-05-15 Joseph Myers <joseph@codesourcery.com>
38223
a9538892
JM
38224 * elf/stackguard-macros.h: Remove file.
38225 * sysdeps/generic/stackguard-macros.h: New file.
38226 * sysdeps/i386/stackguard-macros.h: Likewise.
38227 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38228 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38229 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38230 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38231 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38232 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38233 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38234 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38235 <elf/stackguard-macros.h>.
38236
cc03b296
JM
38237 [BZ #14109]
38238 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38239 __aligned__ in attribute.
38240 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38241 (gregset_t): Likewise.
38242
93171016
L
382432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38244
38245 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38246 * sysdeps/x86_64/64/Implies-after: Here. New file.
38247 * sysdeps/x86_64/x32/Implies-after: New file.
38248
d86813a0
L
382492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38250
38251 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38252 and access return value for _dl_profile_fixup. Use R10_LP to
38253 load frame size.
38254
2953ec75
L
382552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38256
38257 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38258
3b550e9e
L
382592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38260
38261 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38262 * sysdeps/x86_64/x32/sysdep.h: New file.
38263
eda41706
L
382642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38265
38266 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38267 * sysdeps/x86_64/setjmp.S: Likewise.
38268
9ea01d93
AZ
382692012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38270
38271 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38272 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38273 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38274 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38275 remove unused global constant.
38276
02a91938
CM
382772012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38278
38279 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38280 include of <not-cancel.h>.
38281
6540185f
RM
382822012-05-15 Roland McGrath <roland@hack.frob.com>
38283
38284 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38285
509072a0
AJ
382862012-05-15 Jeff Law <law@redhat.com>
38287 Andreas Jaeger <aj@suse.de>
38288
38289 [BZ #13594]
38290 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38291 out from...
38292 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38293 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38294 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38295 code changing __hst_map_handle.map.
38296
ba75122d
RM
382972012-05-15 Roland McGrath <roland@hack.frob.com>
38298
38299 * configure.in (sysnames): Look for Implies-before and Implies-after
38300 files.
38301 * configure: Regenerated.
38302
890d8bd8
L
383032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38304
38305 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38306 8-byte data alignment with LP_SIZE alignment.
38307
f6ee6623
L
383082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38309
38310 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38311 into R10_LP.
38312
ea2626f6
L
383132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38314
38315 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38316
085f715e
L
383172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38318
38319 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38320 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38321 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38322 Likewise.
38323 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38324
be8498fc
L
383252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38326
38327 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38328 (stackinfo_sub_sp): Likewise.
38329
70bc83b9
L
383302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38331
38332 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38333 RAX_LP.
38334
9bc0b730
L
383352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38336
38337 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38338 into R*_LP.
38339
6d2850e7
L
383402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38341
38342 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38343 sizes into R*_LP.
38344
3cb84561
L
383452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38346
38347 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38348
54e2ed81
L
383492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38350
38351 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38352 into R11_LP and load __x86_64_shared_cache_size_half into
38353 R8_LP.
38354
8a17f349
L
383552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38356
38357 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38358 R8_LP.
38359
777b1eea
AZ
383602012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38361
38362 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38363 logb for POWER7.
38364 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38365 logbf for POWER7.
38366 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38367 logbl for POWER7.
38368 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38369 powerpc32/power7/fpu/s_logb.c via #include.
38370 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38371 powerpc32/power7/fpu/s_logbf.c via #include.
38372 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38373 powerpc32/power7/fpu/s_logbl.c via #include.
38374
d20d4ac2
JM
383752012-05-15 Joseph Myers <joseph@codesourcery.com>
38376
38377 * README.libm: Remove file.
38378
6cdef1ab
L
383792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38380
38381 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38382 count for x32. Use R*_LP and omit operand-size suffix.
38383
0b254d8f
L
383842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38385
38386 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38387 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38388 * sysdeps/x86_64/x32/shlib-versions: New file.
38389
ceb809dc
RM
383902012-05-14 Roland McGrath <roland@hack.frob.com>
38391
38392 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38393 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38394 Use _dl_fatal_printf instead.
38395
37f1abd4
JM
383962012-05-14 Joseph Myers <joseph@codesourcery.com>
38397
38398 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38399 set if not set by the user. Do not allow for being unset.
38400 * sysdeps/unix/sysv/linux/configure: Regenerated.
38401
11de3a33
L
384022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38403
38404 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38405 the `q' suffix from lea and replace .quad with ASM_ADDR.
38406
e02f153a
L
384072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38408
38409 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38410 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38411 instead of $17.
38412 (PTR_DEMANGLE): Likewise.
38413
520ae0fd
L
384142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38415
38416 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38417 (LP_OP): Likewise.
38418 (ASM_ADDR): Likewise.
38419 (RAX_LP): Likewise.
38420 (RBP_LP): Likewise.
38421 (RBX_LP): Likewise.
38422 (RCX_LP): Likewise.
38423 (RDI_LP): Likewise.
38424 (RSI_LP): Likewise.
38425 (RSP_LP): Likewise.
38426 (R8_LP): Likewise.
38427 (R9_LP): Likewise.
38428 (R10_LP): Likewise.
38429 (R10_LP): Likewise.
38430 (R11_LP): Likewise.
38431 (R12_LP): Likewise.
38432 (R13_LP): Likewise.
38433 (R14_LP): Likewise.
38434 (R15_LP): Likewise.
38435
b985be81
L
384362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38437
38438 * sysdeps/x86_64/x32/dl-machine.h: New file.
38439
6a4888ff
AJ
384402012-05-14 Andreas Jaeger <aj@suse.de>
38441
38442 * manual/Makefile (subdir): Remove export of subdir.
38443 (all): Remove target.
38444 (.PHONY): Remove all from list.
38445 (mkinstalldirs): Remove.
38446 (.PHONY): Remove installdirs from list.
38447 ($(inst_infodir)/libc.info): Use make-target-directory.
38448 (installdirs): Remove.
38449 (subdir_%): Remove.
38450 (glibc-targets): Remove.
38451 (lib): Remove.
38452 (stubs): Remove.
38453 ($(objpfx)stubs ../po/manual.pot): Remove.
38454 ($(objpfx)stamp%): Remove.
38455 (make-target-directory): Remove.
38456 (subdir_install): Remove.
38457 (routines): Remove.
38458 (aux): Remove.
38459 (sources): Remove.
38460 (objects): Remove.
38461 (headers): Remove.
38462
38463 [BZ #13750]
38464 * manual/.gitignore: Remove, it's not needed anymore.
38465 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38466 all files in it.
38467 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38468 directory.
38469 (texis): Renamed to $(objpfx)texis.
38470 (texis-path): New, contains path to generated files.
38471 (chapters.%): Use texis-path for complete path, add extra argument
38472 libc-texinfo.sh.
38473 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38474 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38475 (summary,texi, stamp-summary): Use complete path of
38476 files. Generate files in build dir.
38477 (dir-add.texi): Build in build dir.
38478 (libm-err.texi,stamp-libm-err): Likewise.
38479 (version.texi, stamp-version): Likewise.
38480 (.%c.texi): Likewise.
38481 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38482 (mostlyclean): Remove target.
38483 (realclean): Remove target.
38484 (generated): Add new variable with contents from mostlyclean and
38485 realclean, remove entries duplicated in common-mostlyclean, add
38486 stamp-libm-err and stamp-version.
38487 (generated-dirs): Add libc directory.
38488 ($(inst_infodir)/libc.info): Install files from build dir.
38489
38490 * manual/install.texi (Configuring and compiling): Adjust since
38491 the info files are not part of the tar ball anymore.
38492
7ac77294
AJ
384932012-05-14 Andreas Jaeger <aj@suse.de>
38494
38495 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38496 variable.
38497
ffb7875d
JM
384982012-05-14 Joseph Myers <joseph@codesourcery.com>
38499
38500 [BZ #13717]
38501 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38502 to 2.2.0 where earlier.
38503 * sysdeps/unix/sysv/linux/configure: Regenerated.
38504 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38505 Remove conditional code.
38506 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38507 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38508 Remove conditional code.
38509 [!__NR_lchown]: Likewise.
38510 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38511 [__NR_lchown]: Likewise.
38512 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38513 comment referencing __ASSUME_LCHOWN_SYSCALL.
38514 * sysdeps/unix/sysv/linux/i386/sigaction.c
38515 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38516 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38517 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38518 Remove conditional code.
38519 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38520 (__protocol_available): Remove #if 0 code.
38521 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38522 conditional code.
38523 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38524 * sysdeps/unix/sysv/linux/kernel-features.h
38525 (__ASSUME_GETCWD_SYSCALL): Don't define.
38526 (__ASSUME_REALTIME_SIGNALS): Likewise.
38527 (__ASSUME_PREAD_SYSCALL): Likewise.
38528 (__ASSUME_PWRITE_SYSCALL): Likewise.
38529 (__ASSUME_POLL_SYSCALL): Likewise.
38530 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38531 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38532 non-SPARC.
38533 (__ASSUME_SIOCGIFNAME): Don't define.
38534 (__ASSUME_MSG_NOSIGNAL): Likewise.
38535 (__ASSUME_SENDFILE): Define unconditionally.
38536 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38537 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38538 conditional code.
38539 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38540 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38541 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38542 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38543 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38544 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38545 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38547 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38548 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38550 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38551 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38553 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38554 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38556 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38557 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38559 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38560 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38562 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38563 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38565 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38566 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38568 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38569 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38570 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38571 Remove conditional code.
38572 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38573 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38574 Remove conditional code.
38575 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38576 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38577 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38578 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38579 Remove conditional code.
38580 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38581 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38582 Remove conditional code.
38583 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38584 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38585 Remove conditional code.
38586 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38587 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38588 Remove conditional code.
38589 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38590 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38591 Remove conditional code.
38592 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38593 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38594 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38595 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38596 * sysdeps/unix/sysv/linux/sigaction.c
38597 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38598 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38599 * sysdeps/unix/sysv/linux/sigpending.c
38600 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38601 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38602 * sysdeps/unix/sysv/linux/sigprocmask.c
38603 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38604 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38605 * sysdeps/unix/sysv/linux/sigsuspend.c
38606 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38607 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38608 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38609 (__libc_missing_rt_sigs): Remove.
38610 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38611 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38612 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38613 Remove conditional code.
38614 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38615 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38616 return 1.
38617 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38618 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38619 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38620 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38621
1bfb7291
AJ
386222012-05-14 Andreas Jaeger <aj@suse.de>
38623
caae5a81
AJ
38624 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38625 it's not used in glibc.
38626 (__coshm1): Likewise.
38627 (__acosh1p): Likewise.
38628 (__sgn): Likewise.
38629
1bfb7291
AJ
38630 * manual/string.texi (Copying and Concatenation): Add missing
38631 variable in concat example.
38632 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38633
c044d724
L
386342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38635
144c5467 38636 [BZ #14103]
c044d724
L
38637 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38638 __builtin_clzl with __builtin_clzll.
38639
2523c62b
L
386402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38641
38642 [BZ #14104]
38643 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38644 libc_freeres_ptr.
38645
d7bb4c42
LD
386462012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38647
38648 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38649 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38650 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38651 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38652
9dc4e1fb
MF
386532012-05-14 Mike Frysinger <vapier@gentoo.org>
38654
38655 * NEWS: Update ia64 info.
38656
c7df0112
AS
386572012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38658
38659 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38660 used as bcopy.
38661
dc70356c
TS
386622012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38663
38664 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38665 * sysdeps/unix/syscalls.list (dup3): Likewise.
38666 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38667 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38668
9fb1a21f
L
386692012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38670
38671 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38672 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38673
4822a2a5
L
386742012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38675
38676 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38677 thread pointer.
38678 (TLS_IE): Use mov/add instead of movq/addq to load thread
38679 pointer.
38680 (TLS_GD_PREFIX): New.
38681 (TLS_GD): Use it.
38682
842b81d6
DM
386832012-05-11 David S. Miller <davem@davemloft.net>
38684
38685 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38686 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38687 (_FPU_SETCW): Likewise.
38688
1cf463cd
L
386892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38690
38691 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38692 is 32-byte aligned.
38693
60cc4a18
AS
386942012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38695
38696 [BZ #11837]
38697 * iconvdata/gb18030.c: Update tables.
38698 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38699 characters specially.
38700 (BODY for TO_LOOP): Add encoding of missing ranges.
38701
febb44a4
TS
387022012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38703
38704 [BZ #13673]
38705 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38706 * sysdeps/mach/hurd/dup3.c: Likewise.
38707 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38708 * sysdeps/powerpc/memmove.c:: Likewise.
38709
0a10fb9e
L
387102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38711
38712 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38713 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38714
df8a552f
L
387152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38716
38717 * elf/elf.h (R_X86_64_RELATIVE64): New.
38718 (R_X86_64_NUM): Updated.
38719 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38720 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38721 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38722 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38723 tst-quad1pie tst-quad2pie
38724 (modules-names): Add tst-quadmod1 tst-quadmod2.
38725 ($(objpfx)tst-quad1): New dependency.
38726 ($(objpfx)tst-quad2): Likewise.
38727 ($(objpfx)tst-quad1pie): Likewise.
38728 ($(objpfx)tst-quad2pie): Likewise.
38729 * sysdeps/x86_64/tst-quad1.c: New file.
38730 * sysdeps/x86_64/tst-quad1pie.c: New file.
38731 * sysdeps/x86_64/tst-quad2.c: Likewise.
38732 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38733 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38734 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38735 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38736 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38737
f34d6f84
ST
387382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38739
f42d41d1
ST
38740 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38741 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38742 * streams/stropts.h (t_scalar_t): Define type.
38743
3c3571fc
ST
38744 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38745 (_PATH_PRESERVE): Set to "/var/lib".
38746 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38747
61f06bd3
ST
38748 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38749 instead of int.
38750
918d4d71
ST
38751 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38752 if __dir_mkfile succeeded.
38753
f34d6f84
ST
38754 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38755 checking for _hurd_dtablesize. Unlock it right after having
38756 finished _hurd_dtable allocation.
38757
10589b4a
TS
387582012-05-10 Thomas Schwinge <thomas@schwinge.name>
38759
674cdbc7
TS
38760 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38761 * sysdeps/mach/hurd/configure: Regenerated.
38762 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38763 special-casing to...
38764 * sysdeps/gnu/configure.in: ... this new file.
38765 * sysdeps/unix/sysv/linux/configure: Regenerated.
38766 * sysdeps/gnu/configure: New generated file.
38767
8e41b99f
TS
38768 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38769 for Linux: use nsec instead of usec, as well as:
38770 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38771 members of type struct timespec.
38772 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38773 New macros.
38774 (struct stat64): Likewise.
38775 (_STATBUF_ST_NSEC): New macro.
38776 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38777
10589b4a
TS
38778 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38779 __strtoul_internal rather than strtoul.
38780
63643c85
PT
387812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38782
38783 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38784 and reject them.
38785
3faebe6a
ST
387862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38787
38788 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38789 which preserves existing values.
38790 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38791
c6474b07
PT
387922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38793
38794 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38795 TIMEOUT values. Return EINVAL for NFDS values either negative or
38796 greater than FD_SETSIZE.
38797
1043890b
ST
387982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38799
38800 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38801 allocated, call __vm_protect to finish enabling the existing space, and
38802 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38803 allocate the remainder.
38804
37ed8b9b
PT
388052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38806
38807 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38808 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38809
db653660
ST
388102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38811
37ed8b9b
PT
38812 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38813 sysdeps/mach/hurd/readlink.c.
b29d4053 38814
db653660
ST
38815 * posix/tst-sysconf.c (posix_options): Only use
38816 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38817 _POSIX_SYNCHRONIZED_IO when they are defined
38818 * sysdeps/mach/hurd/bits/posix_opt.h:
38819 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38820 (_XOPEN_REALTIME): Undefine macro.
38821 (_XOPEN_REALTIME_THREADS): Undefine macro.
38822 (_XOPEN_SHM): Undefine macro.
38823 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38824 macro to -1.
38825 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38826 macro to -1.
38827 (_POSIX_ASYNC_IO): Undefine macro.
38828 (_POSIX_PRIORITIZED_IO): Undefine macro.
38829 (_POSIX_SPIN_LOCKS): Define macro to -1.
38830
ee16e894
ST
38831 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38832 SA_NODEFER, SA_RESETHAND.
38833 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38834 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38835 F_DUPFD_CLOEXEC.
38836
6103ae3b
TS
388372012-05-10 Thomas Schwinge <thomas@schwinge.name>
38838
38839 * elf/Makefile (pldd-modules): Define unconditionally.
38840
80b4e5f3
TS
388412012-05-10 Thomas Schwinge <thomas@schwinge.name>
38842
38843 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38844
edadcbd6
ST
388452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38846
38847 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38848 Return ENOENT when name is empty.
38849 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38850
80694780
TS
388512012-05-10 Thomas Schwinge <thomas@schwinge.name>
38852
1792c087
TS
38853 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38854
80694780
TS
38855 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38856
6b645f0d
ST
388572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38858
80694780
TS
38859 Fix mlock in all cases except non-readable pages.
38860 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38861 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38862
6b645f0d
ST
38863 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38864 (__mkdir): When path is `/', just fail with EEXIST.
38865 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38866
e468f8a3
TS
388672012-05-10 Thomas Schwinge <thomas@schwinge.name>
38868
38869 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38870 <sys/uio.h> (for writev).
38871 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38872 and <sys/param.h> (for MIN).
38873
a4186cff
PT
388742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38875
38876 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38877 REQUESTED_TIME. Properly set the remaining time and return EINTR
38878 if interrupted.
38879
510bbf14
TS
388802012-05-10 Thomas Schwinge <thomas@schwinge.name>
38881
38882 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38883 Depend on against $(link-rpcuserlibs).
38884
5d5722e8
ST
388852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38886
a4186cff
PT
38887 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38888 (__libc_stack_end): Do not use attribute_relro.
38889 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38890 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38891 to libthread-provided value.
a4186cff
PT
38892 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38893 attribute_relro.
5d5722e8 38894
37233df9
TS
388952012-05-10 Thomas Schwinge <thomas@schwinge.name>
38896
be971a2b
TS
38897 [BZ #3748]
38898 * bits/libc-lock.h (__libc_once_get): New macro.
38899 * sysdeps/mach/bits/libc-lock.h: Likewise.
38900 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38901 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38902 instead of using implementation details.
38903
37233df9
TS
38904 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38905 * libio/freopen.c: Likewise.
38906 * libio/freopen64.c: Likewise.
38907 * misc/syslog.c: Likewise.
38908 * nscd/connections.c: Likewise.
38909 * nscd/netgroupcache.c: Likewise.
38910 * sysdeps/posix/getcwd.c: Likewise.
38911
38de94a5
RM
389122012-05-10 Roland McGrath <roland@hack.frob.com>
38913
38914 * math/w_ilogbf.c: Add #include <limits.h>.
38915
67530489
ST
389162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38917
a4186cff 38918 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
38919 path instead of returning without unlocking.
38920
67530489
ST
38921 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38922 immediate-write ioctls.
38923 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38924
5aa3a74a
TS
389252012-05-10 Thomas Schwinge <thomas@schwinge.name>
38926
18bad2ae
TS
38927 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38928 __builtin_frame_address instead of making assumptions about the
38929 location of the return address relative to DATA. Force early load of
38930 the return address.
38931 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38932 __builtin_frame_address.
38933
5aa3a74a
TS
38934 dup3 for GNU Hurd.
38935 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38936 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38937 implement dup3 and do some further code clean-ups.
38938 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38939 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38940
ecd0de9a
ST
389412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38942
cd9fa985
ST
38943 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38944
a4186cff
PT
38945 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38946 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38947 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38948 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38949 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38950 d->port.lock.
802ca5a5 38951
a4186cff
PT
38952 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38953 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38954 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 38955
bcf55240
TS
389562012-05-10 Thomas Schwinge <thomas@schwinge.name>
38957
6960eb42
TS
38958 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38959 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38960 definitions.
38961
eb43375f
TS
38962 accept4 for GNU Hurd.
38963 * include/sys/socket.h (__libc_accept4): New prototype.
38964 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38965 to implement __libc_accept4.
38966 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38967 __libc_accept4.
38968 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38969
bcf55240
TS
38970 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38971 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38972 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38973 signal-defines.sym.
38974
6178c55b
ST
389752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38976
a4186cff 38977 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 38978
6f080c2f
TS
389792012-05-10 Thomas Schwinge <thomas@schwinge.name>
38980
38981 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38982 assertion on O_CLOEXEC flag.
38983 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38984 * hurd/intern-fd.c: Likewise.
38985 * hurd/port2fd.c: Likewise.
38986
bcfe3a54
ST
389872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38988
38989 [BZ #3906]
38990 * bits/in.h (IPV6_PKTINFO): Define new macro.
38991 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38992
89c9aa49
AZ
389932012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38994
38995 [BZ #13954]
38996 [BZ #13955]
38997 [BZ #13956]
38998 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38999 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39000 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39001 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39002 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39003 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39004 * math/libm-test.inc (logb_test) : Additional logb tests.
39005
021db4be
AJ
390062012-05-09 Andreas Schwab <schwab@linux-m68k.org>
39007 Andreas Jaeger <aj@suse.de>
39008
39009 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39010 * configure: Regenerated.
39011 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39012 * config.make.in (link-obsolete-rpc): New substituted variable.
39013 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39014 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39015 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39016 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39017 so that libc.a contains the symbols.
39018 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39019 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39020 * sunrpc/auth_none.c: Likewise.
39021 * sunrpc/auth_unix.c: Likewise.
39022 * sunrpc/authdes_prot.c: Likewise.
39023 * sunrpc/authuxprot.c: Likewise.
39024 * sunrpc/clnt_gen.c: Likewise.
39025 * sunrpc/clnt_perr.c: Likewise.
39026 * sunrpc/clnt_raw.c: Likewise.
39027 * sunrpc/clnt_simp.c: Likewise.
39028 * sunrpc/clnt_tcp.c: Likewise.
39029 * sunrpc/clnt_udp.c: Likewise.
39030 * sunrpc/clnt_unix.c: Likewise.
39031 * sunrpc/des_crypt.c: Likewise.
39032 * sunrpc/des_soft.c: Likewise.
39033 * sunrpc/get_myaddr.c: Likewise.
39034 * sunrpc/key_call.c: Likewise.
39035 * sunrpc/key_prot.c: Likewise.
39036 * sunrpc/netname.c: Likewise.
39037 * sunrpc/pm_getmaps.c: Likewise.
39038 * sunrpc/pm_getport.c: Likewise.
39039 * sunrpc/pmap_clnt.c: Likewise.
39040 * sunrpc/pmap_prot.c: Likewise.
39041 * sunrpc/pmap_prot2.c: Likewise.
39042 * sunrpc/pmap_rmt.c: Likewise.
39043 * sunrpc/publickey.c: Likewise.
39044 * sunrpc/rpc_cmsg.c: Likewise.
39045 * sunrpc/rpc_common.c: Likewise.
39046 * sunrpc/rpc_dtable.c: Likewise.
39047 * sunrpc/rpc_prot.c: Likewise.
39048 * sunrpc/rpc_thread.c: Likewise.
39049 * sunrpc/rtime.c: Likewise.
39050 * sunrpc/svc.c: Likewise.
39051 * sunrpc/svc_auth.c: Likewise.
39052 * sunrpc/svc_raw.c: Likewise.
39053 * sunrpc/svc_run.c: Likewise.
39054 * sunrpc/svc_tcp.c: Likewise.
39055 * sunrpc/svc_udp.c: Likewise.
39056 * sunrpc/svc_unix.c: Likewise.
39057 * sunrpc/svcauth_des.c: Likewise.
39058 * sunrpc/xcrypt.c: Likewise.
39059 * sunrpc/xdr.c: Likewise.
39060 * sunrpc/xdr_array.c: Likewise.
39061 * sunrpc/xdr_float.c: Likewise.
39062 * sunrpc/xdr_intXX_t.c: Likewise.
39063 * sunrpc/xdr_mem.c: Likewise.
39064 * sunrpc/xdr_rec.c: Likewise.
39065 * sunrpc/xdr_ref.c: Likewise.
39066 * sunrpc/xdr_sizeof.c: Likewise.
39067 * sunrpc/xdr_stdio.c: Likewise.
39068
b5c086a2
RM
390692012-05-10 Roland McGrath <roland@hack.frob.com>
39070
39071 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39072 change. Update copyright years.
39073
6d74dd09
JM
390742012-05-10 Joseph Myers <joseph@codesourcery.com>
39075
39076 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39077
28e72501
MK
390782012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39079 Joseph Myers <joseph@codesourcery.com>
39080 Paul Pluzhnikov <ppluzhnikov@google.com>
39081
39082 [BZ #14012]
39083 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39084 requiring rpcgen.
39085 [cross-compiling] (extra-libs): Likewise.
39086 [cross-compiling] (extra-libs-others): Likewise.
39087 [cross-compiling] (librpcsvc-routines): Likewise.
39088 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39089 [cross-compiling] (omit-deps): Likewise.
39090 (sunrpc-CPPFLAGS): New variable.
39091 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39092 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39093 (cross-rpcgen-objs): New variable.
39094 (extra-objs): Append $(cross-rpcgen-objs).
39095 ($(cross-rpcgen-objs)): New rule.
39096 ($(objpfx)cross-rpcgen): Likewise.
39097 (rpcgen-cmd): Define to use $(built-program-file). Expand
39098 comment.
39099 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39100 ($(objpfx)x%.stmp): Likewise.
39101 * sunrpc/proto.h [IS_IN_build] (_): Define.
39102 [IS_IN_build] (_libc_intl_domainname): Likewise.
39103
c8c59454
L
391042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39105
39106 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39107 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39108 and R_X86_64_TPOFF64.
39109
6f27cd16
JM
391102012-05-10 Joseph Myers <joseph@codesourcery.com>
39111
39112 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39113 sysdeps/unix/sysv/syscalls.list.
39114 (stime): Likewise.
39115 (utime): Likewise.
39116 * sysdeps/unix/sysv/syscalls.list: Remove file.
39117
02467e1c
PE
391182012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39119
39120 [BZ #3440]
39121 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39122 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39123 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39124 (__LC_IDENTIFICATION): Make these macros useful in #if
39125 expressions, as required by C99.
39126
da392631
AS
391272012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39128
39129 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39130 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39131 after this.
39132
8115f29b
L
391332012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39134
39135 * stdlib/longlong.h: Updated from GCC.
39136
bdd74070
AJ
391372012-05-09 Andreas Jaeger <aj@suse.de>
39138
edfe0dbe
AJ
39139 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39140 default is first entry.
39141 (run_mode): Set type.
39142 (main): Remove informal message about syslog.
39143 (options): Fix typo.
39144
bcfe3a54
ST
39145 [BZ #14053]
39146 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 39147 to asm.
bcfe3a54
ST
39148 (lrint): Likewise.
39149 (llrintf): Likewise.
39150 (llrint): Likewise.
39151 (rint): Likewise.
39152 (rintf): Likewise.
39153 (nearbyint): Likewise.
39154 (nearbyintf): Likewise.
bdd74070 39155
91d8d69e
AJ
391562012-05-09 Andreas Jaeger <aj@suse.de>
39157 Pedro Alves <palves@redhat.com>
39158
39159 * nscd/nscd.c (run_mode): Use enum.
39160 (main): Cleanup coding style issue.
39161
bb90b80b
AJ
391622012-05-09 Alexandre Oliva <aoliva@redhat.com>
39163 Andreas Jaeger <aj@suse.de>
39164
bcfe3a54
ST
39165 * nscd/nscd.c (go_background): Replaced with...
39166 (run_mode): ... this.
bb90b80b 39167 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
39168 (options): Add -F --foreground.
39169 (main): Implement it.
39170 (parse_opt): Parse it.
bb90b80b 39171
1a4b75a1
AJ
391722012-05-09 Andreas Jaeger <aj@suse.de>
39173
39174 [BZ #14083]
39175 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39176 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39177 -Wconversion warning.
39178 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39179 Likewise.
39180
b1cc2472
JM
391812012-05-09 Joseph Myers <joseph@codesourcery.com>
39182
39183 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39184 == 0.
39185 (LC_ALL): Use macro-int-constant.
39186 (LC_COLLATE): Likewise.
39187 (LC_CTYPE): Likewise.
39188 (LC_MESSAGES): Likewise.
39189 (LC_MONETARY): Likewise.
39190 (LC_NUMERIC): Likewise.
39191 (LC_TIME): Likewise.
39192 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39193 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39194 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39195 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39196 Specify type.
39197 [C99-based standards] (float_t): Expect type.
39198 [C99-based standards] (double_t): Expect type.
39199 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39200 type.
39201 [C99-based standards] (HUGE_VALL): Likewise.
39202 [C99-based standards] (INFINITY): Likewise.
39203 [C99-based standards] (NAN): Likewise.
39204 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39205 [C99-based standards] (FP_NAN): Likewise.
39206 [C99-based standards] (FP_NORMAL): Likewise.
39207 [C99-based standards] (FP_SUBNORMAL): Likewise.
39208 [C99-based standards] (FP_ZERO): Likewise.
39209 [C99-based standards] (FP_FAST_FMA): Use
39210 optional-macro-int-constant. Specify type. Require == 1.
39211 [C99-based standards] (FP_FAST_FMAF): Likewise.
39212 [C99-based standards] (FP_FAST_FMAL): Likewise.
39213 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39214 [C99-based standards] (FP_ILOGBNAN): Likewise.
39215 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39216 Specify type.
39217 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39218 [C99-based standards] (math_errhandling): Specify type.
39219 [ISO99 || ISO11] (signgam): Do not allow.
39220 [non-C99-based standards] (copysignf): Do not allow.
39221 [non-C99-based standards] (exp2f): Likewise.
39222 [non-C99-based standards] (log2f): Likewise.
39223 [non-C99-based standards] (modff): Allow.
39224 [non-C99-based standards] (erff): Do not allow.
39225 [non-C99-based standards] (erfcf): Likewise.
39226 [non-C99-based standards] (gammaf): Likewise.
39227 [non-C99-based standards] (hypotf): Likewise.
39228 [non-C99-based standards] (j0f): Likewise.
39229 [non-C99-based standards] (j1f): Likewise.
39230 [non-C99-based standards] (jnf): Likewise.
39231 [non-C99-based standards] (lgammaf): Likewise.
39232 [non-C99-based standards] (tgammaf): Likewise.
39233 [non-C99-based standards] (y0f): Likewise.
39234 [non-C99-based standards] (y1f): Likewise.
39235 [non-C99-based standards] (ynf): Likewise.
39236 [non-C99-based standards] (isnanf): Likewise.
39237 [non-C99-based standards] (acoshf): Likewise.
39238 [non-C99-based standards] (asinhf): Likewise.
39239 [non-C99-based standards] (atanhf): Likewise.
39240 [non-C99-based standards] (cbrtf): Likewise.
39241 [non-C99-based standards] (expm1f): Likewise.
39242 [non-C99-based standards] (ilogbf): Likewise.
39243 [non-C99-based standards] (log1pf): Likewise.
39244 [non-C99-based standards] (logbf): Likewise.
39245 [non-C99-based standards] (nextafterf): Likewise.
39246 [non-C99-based standards] (remainderf): Likewise.
39247 [non-C99-based standards] (rintf): Likewise.
39248 [non-C99-based standards] (scalbf): Likewise.
39249 [non-C99-based standards] (copysignl): Likewise.
39250 [non-C99-based standards] (exp2l): Likewise.
39251 [non-C99-based standards] (log2l): Likewise.
39252 [non-C99-based standards] (modfl): Allow.
39253 [non-C99-based standards] (erfl): Do not allow.
39254 [non-C99-based standards] (erfcl): Likewise.
39255 [non-C99-based standards] (gammal): Likewise.
39256 [non-C99-based standards] (hypotl): Likewise.
39257 [non-C99-based standards] (j0l): Likewise.
39258 [non-C99-based standards] (j1l): Likewise.
39259 [non-C99-based standards] (jnl): Likewise.
39260 [non-C99-based standards] (lgammal): Likewise.
39261 [non-C99-based standards] (tgammal): Likewise.
39262 [non-C99-based standards] (y0l): Likewise.
39263 [non-C99-based standards] (y1l): Likewise.
39264 [non-C99-based standards] (ynl): Likewise.
39265 [non-C99-based standards] (isnanl): Likewise.
39266 [non-C99-based standards] (acoshl): Likewise.
39267 [non-C99-based standards] (asinhl): Likewise.
39268 [non-C99-based standards] (atanhl): Likewise.
39269 [non-C99-based standards] (cbrtl): Likewise.
39270 [non-C99-based standards] (expm1l): Likewise.
39271 [non-C99-based standards] (ilogbl): Likewise.
39272 [non-C99-based standards] (log1pl): Likewise.
39273 [non-C99-based standards] (logbl): Likewise.
39274 [non-C99-based standards] (nextafterl): Likewise.
39275 [non-C99-based standards] (remainderl): Likewise.
39276 [non-C99-based standards] (rintl): Likewise.
39277 [non-C99-based standards] (scalbl): Likewise.
39278 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39279 [non-C99-based standards] (FP_*): Do not allow.
39280 [C99-based standards] (FP_*): Change to
39281 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39282 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39283 allow.
39284 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39285 (SIG_ERR): Likewise.
39286 [X/Open-based standards] (SIG_HOLD): Likewise.
39287 (SIG_IGN): Likewise.
39288 (SIGABRT): Use macro-int-constant. Specify type. Require
39289 positive value.
39290 (SIGFPE): Likewise.
39291 (SIGILL): Likewise.
39292 (SIGINT): Likewise.
39293 (SIGSEGV): Likewise.
39294 (SIGTER): Likewise.
39295 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39296 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39297 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39298 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39299 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39300 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39301 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39302 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39303 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39304 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39305 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39306 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39307 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39308 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39309 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39310 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39311 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39312 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39313 [X/Open-based standards] (SIGTRAP): Likewise.
39314 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39315 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39316 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39317 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39318 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39319 allow.
39320
b9f1922d
IW
393212012-05-08 Ian Wienand <ianw@vmware.com>
39322
39323 [BZ #14080]
39324 * time/tzset.c (__tzset_parse_tz): Update default rules for
39325 daylight time changes in the Energy Policy Act of 2005.
39326
1db86e88
AJ
393272012-05-09 Andreas Jaeger <aj@suse.de>
39328
39329 [BZ #13983]
39330 * elf/ldconfig.c (parse_conf): Change string to make clear that
39331 ldconfig only issued a warning if ld.so.conf does not exist.
39332
dee4a4e3
DM
393332012-05-08 David S. Miller <davem@davemloft.net>
39334
ee0db190
DM
39335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39336 movxtod instead of popping the value on the stack.
39337
dee4a4e3
DM
39338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39339
6a43ec98
CD
393402012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39341
39342 * config.h.in: Add HAVE_ARM_PCS_VFP.
39343
05c2c961
RMG
393442012-05-08 Roland Mc Grath <roland@hack.frob.com>
39345
bcfe3a54
ST
39346 [BZ #13979]
39347 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39348 checking but the checks are disabled for any reason.
05c2c961 39349
4b30f61a
L
393502012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39351
39352 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39353 and ELF64_R_TYPE with ELFW(R_TYPE).
39354
eee2bc67
JM
393552012-05-08 Joseph Myers <joseph@codesourcery.com>
39356
7ea5391a
JM
39357 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39358 (ulimit): Likewise.
39359
eee2bc67
JM
39360 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39361 (settimeofday): Likewise.
39362
abb66a67
MF
393632012-05-08 Mike Frysinger <vapier@gentoo.org>
39364
39365 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39366 a struct th_u2 inside the union, and move tu_block/tu_code into
39367 a new th_u3 union of tu_block/tu_code inside of that. Move
39368 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39369 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39370 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39371 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39372 (th_stuff): Change to th_u1.tu_stuff.
39373 (th_data): Define.
39374 (th_msg): Change to th_u1.th_u2.tu_data.
39375
7f18b530
DM
393762012-05-07 David S. Miller <davem@davemloft.net>
39377
05760585
DM
39378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39379
7f18b530
DM
39380 [BZ #14074]
39381 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39382 (SETUP_PIC_REG): Use it.
39383 (SETUP_PIC_REG_LEAF): Use it.
39384
495fd99f
JM
393852012-05-07 Joseph Myers <joseph@codesourcery.com>
39386
39387 [BZ #13885]
39388 [BZ #13923]
39389 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39390 USE_AS_EXPM1L.
39391 (EXPL_FINITE): Likewise.
39392 (FLDLOG): Likewise.
39393 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39394 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39395 e_expl.S.
39396 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39397 USE_AS_EXPM1L.
39398 (EXPL_FINITE): Likewise.
39399 (FLDLOG): Likewise.
39400 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39401 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39402 e_expl.S.
39403 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39404 test of -max_value argument for long double.
39405 * sysdeps/i386/fpu/libm-test-ulps: Update.
39406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39407
6693d694
DM
394082012-05-06 David S. Miller <davem@davemloft.net>
39409
39410 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39411 quad soft-float symbols whose references which are compiler
39412 generated.
39413 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39414
6c23e11c
JM
394152012-05-06 Joseph Myers <joseph@codesourcery.com>
39416
d8b82cad
JM
39417 [BZ #13884]
39418 [BZ #13914]
39419 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39420 USE_AS_EXP10L.
39421 (EXPL_FINITE): Likewise.
39422 (FLDLOG): Likewise.
39423 (c0): Likewise.
39424 (c1): Likewise.
39425 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39426 Adjust comments for base varying.
39427 (__expl_finite): Change alias to EXPL_FINITE.
39428 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39429 e_expl.S.
39430 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39431 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39432 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39433 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39434 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39435 USE_AS_EXP10L.
39436 (EXPL_FINITE): Likewise.
39437 (FLDLOG): Likewise.
39438 (c0): Likewise.
39439 (c1): Likewise.
39440 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39441 Adjust comments for base varying.
39442 (__expl_finite): Change alias to EXPL_FINITE.
39443 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39444 tests for bugs.
39445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39446
6c23e11c
JM
39447 [BZ #14064]
39448 * math/libm-test.inc (check_float_internal): Correct ulp
39449 calculation for subnormal expected results.
39450
29ba805c
AJ
394512012-05-06 Andreas Jaeger <aj@suse.de>
39452
39453 * Makeconfig (+math-flags): New, set to -frounding-math.
39454 (+cflags): Add +math-flags so that all of glibc gets compiled with
39455 it.
39456
39457 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39458
7b17aeda
JM
394592012-05-05 Joseph Myers <joseph@codesourcery.com>
39460
5779f134
JM
39461 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39462 Disable one test.
39463
41498f4d
JM
39464 [BZ #13787]
39465 [BZ #13922]
39466 [BZ #14036]
39467 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39468 (__ieee754_expl): Allow for and saturate large arguments.
39469 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39470 (u_threshold): Likewise.
39471 (__exp): Call __ieee754_exp before checking for overflow and
39472 underflow.
39473 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39474 (u_threshold): Likewise.
39475 (__expf): Call __ieee754_expf before checking for overflow and
39476 underflow.
39477 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39478 (u_threshold): Likewise.
39479 (__expl): Call __ieee754_expl before checking for overflow and
39480 underflow.
39481 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39482 (__ieee754_expl): Allow for and saturate large arguments.
39483 * math/libm-test.inc (exp_test): Add another test. Do not allow
39484 missing overflow exception on overflow.
39485 (expm1_test): Do not allow missing overflow exception on overflow.
39486
6698b8bf
JM
39487 * sysdeps/i386/fpu/e_expl.c: Move to ...
39488 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39489 rather than using inline asm.
39490 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39491 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39492 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39493
7b17aeda
JM
39494 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39495 (nice): Likewise.
39496 (poll): Likewise.
39497 (signal): Likewise.
39498 (time): Likewise.
39499 (times): Likewise.
39500
f7c85819
JM
395012012-05-04 Joseph Myers <joseph@codesourcery.com>
39502
39503 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39504 sysdeps/unix/common/syscalls.list.
39505 (fchmod): Likewise.
39506 (fchown): Likewise.
39507 (ftruncate): Likewise.
39508 (getrusage): Likewise.
39509 (gettimeofday): Likewise.
39510 (setpgid): Likewise.
39511 (setregid): Likewise.
39512 (setreuid): Likewise.
39513 (sigaction): Likewise.
39514 (truncate): Likewise.
39515 (vhangup): Likewise.
39516 * sysdeps/unix/common/syscalls.list: Remove file.
39517 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39518 * sysdeps/unix/sysv/linux/Implies: Likewise.
39519
336270d0
L
395202012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39521
39522 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39524 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39525 Moved to ...
39526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39527 Here.
39528 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39529 to ...
39530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39531 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39532 to ...
39533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39534 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39535 to ...
39536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39537 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39538 to ...
39539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39540 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39541 to ...
39542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39543 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39544 to ...
39545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39546 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39547 to ...
39548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39549 Here.
39550 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39551 to ...
39552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39553 Here.
39554 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39555 to ...
39556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39557 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39558 Moved to ...
39559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39560 Here.
39561 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39562 to ...
39563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39564
d128e450
JM
395652012-05-04 Joseph Myers <joseph@codesourcery.com>
39566
fa8ee516
JM
39567 * sysdeps/unix/common/bits/dirent.h: Remove file.
39568 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39569
d128e450
JM
39570 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39571 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39572 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39573 * sysdeps/unix/bsd/isatty.c: Likewise.
39574 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39575 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39576 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39577
ff8faaf0 395782012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39579
62881be4 39580 [BZ #13563]
31dc8730
AZ
39581 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39582 long double comparison inaccuracies.
39583 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39585
6fef930c
AS
395862012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39587
39588 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39589 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39590
8f203e6c
JM
395912012-05-04 Joseph Myers <joseph@codesourcery.com>
39592
39593 [BZ #14049]
39594 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39595 nonzero digits before rounding a hex value.
39596 * stdlib/tst-strtod.c (tests): Add another test.
39597
5197d9c2
AK
395982012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39599
39600 * sysdeps/s390/fpu/libm-test-ulps: Update.
39601
f0c1dedf
AJ
396022012-05-03 Andreas Jaeger <aj@suse.de>
39603
39604 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39605 does not get optimized out.
39606 (malloc_opt_barrier): New.
39607
a65ef2ae 396082012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39609 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39610
2b942cb7 39611 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39612 intermediate file deletion.
2b942cb7 39613 (generated): Add .symlist files.
a65ef2ae 39614
54b71e02
JM
396152012-05-03 Joseph Myers <joseph@codesourcery.com>
39616
39617 [BZ #13775]
39618 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39619 Redirect under this condition.
39620 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39621 [__USE_GNU] (__dprintf_chk): Not under this condition.
39622 [__USE_GNU] (__vdprintf_chk): Likewise.
39623 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39624 under this condition.
39625 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39626 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39627 [__USE_XOPEN2K8] (vdprintf): Likewise.
39628 [__USE_GNU] (__dprintf_chk): Not under this condition.
39629 [__USE_GNU] (__vdprintf_chk): Likewise.
39630 [__USE_GNU] (dprintf): Likewise.
39631 [__USE_GNU] (vdprintf): Likewise.
39632
d3dfcc41
RM
396332012-05-03 Roland McGrath <roland@hack.frob.com>
39634
39635 * elf/Makefile (common-generated): Set this instead of generated for
39636 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39637 $(all-built-dso)-derived lists.
39638
7ac30cc5
AJ
396392012-05-03 Andreas Jaeger <aj@suse.de>
39640
0c51e550
AJ
39641 * sysdeps/i386/fpu/libm-test-ulps: Update.
39642
7ac30cc5
AJ
39643 * FAQ: Removed.
39644 * FAQ.in: Likewise.
39645 * scripts/gen-FAQ.pl: Likewise.
39646 * manual/install.texi (Installation): Point to online location of
39647 FAQ.
39648 * Makefile (files-for-dist): Remove FAQ.
39649 (FAQ): Remove.
39650
d4c2917f
AM
396512012-05-02 Allan McRae <allan@archlinux.org>
39652
39653 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39654 (LDFLAGS-reldepmod5.so): Likewise.
39655 (LDFLAGS-reldep6mod1.so): Likewise.
39656 (LDFLAGS-reldep6mod4.so): Likewise.
39657 (LDFLAGS-reldep8mod3.so): Likewise.
39658 (LDFLAGS-unload4mod1.so): Likewise.
39659 (LDFLAGS-unload4mod2.so): Likewise.
39660 (LDFLAGS-tst-initorder): Likewise.
39661 (LDFLAGS-tst-initordera2.so): Likewise.
39662 (LDFLAGS-tst-initordera3.so): Likewise.
39663 (LDFLAGS-tst-initordera4.so): Likewise.
39664 (LDFLAGS-tst-initorderb2.so): Likewise.
39665 (LDFLAGS-noload): Likewise.
39666 (LDFLAGS-next): Likewise.
39667 (LDFLAGS-order2mod1.so): Likewise.
39668 (LDFLAGS-order2mod2.so): Likewise.
39669 (LDFLAGS-tst-initorder2): Likewise.
39670 (LDFLAGS-tst-initorder2a.so): Likewise.
39671 (LDFLAGS-tst-initorder2b.so): Likewise.
39672 (LDFLAGS-tst-initorder2c.so): Likewise.
39673 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39674
d77f993f
DM
396752012-05-02 David S. Miller <davem@davemloft.net>
39676
39677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39678
171a70b4
PP
396792012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39680
39681 [BZ #14055]
39682 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39683
0be196ad
AJ
396842012-05-02 Andreas Jaeger <aj@suse.de>
39685
39686 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39687 since we manipulate rounding mode.
39688 (CPPFLAGS-test-idouble.c): Likewise.
39689 (CPPFLAGS-test-ifloat.c): Likewise.
39690 (CFLAGS-test-ldouble.c): Likewise.
39691 (CFLAGS-test-double.c): Likewise.
39692 (CFLAGS-test-float.c): Likewise.
39693 (CFLAGS-test-misc.c): Likewise.
39694 (CFLAGS-test-test-fenv.c): Likewise.
39695
4f9d04aa
AZ
396962012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39697
2b942cb7
RM
39698 [BZ #2550]
39699 [BZ #2570]
39700 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39701 comparisons to determine direction to adjust input.
4f9d04aa 39702
82a79e7d
RM
397032012-05-01 Roland McGrath <roland@hack.frob.com>
39704
f5a01ca9
RM
39705 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39706 output to the target.
39707
90fe4186
RM
39708 * scripts/localplt.awk: New file.
39709 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39710 (check-localplt-CFLAGS): Variable removed.
39711 ($(all-built-dso:=.jmprel)): New static pattern rule.
39712 (generated): Add those targets.
39713 (localplt-built-dso): New variable.
39714 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39715
39716 * elf/check-localplt.c: File removed.
39717
82397ed6
RM
39718 * scripts/check-execstack.awk: New file.
39719 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39720 (check-execstack-CFLAGS): Variable removed.
39721 ($(objpfx)check-execstack.h): Target removed.
39722 ($(objpfx)execstack-default): New target.
39723 (generated): Add that instead of check-execstack.h.
39724 ($(all-built-dso:=.phdr)): New static pattern rule.
39725 (generated): Add those targets.
39726 * elf/check-execstack.c: File removed.
39727
82a79e7d
RM
39728 * scripts/check-textrel.awk: New file.
39729 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39730 (check-textrel-CFLAGS): Variable removed.
39731 (all-built-dso): Use := to define.o
39732 ($(all-built-dso:=.dyn)): New static pattern rule.
39733 (generated): Add those targets.
39734 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39735 * config.make.in (READELF): New substituted variable.
39736 * elf/check-textrel.c: File removed.
39737
62fde54f 397382012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39739
615605c9
JM
39740 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39741 allow.
39742 * conform/data/ctype.h-data [C99-based standards] (isblank):
39743 Expect function.
39744 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39745 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39746 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39747 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39748 Specify type. Require positive value.
39749 (EILSEQ): Likewise.
39750 (ERANGE): Likewise.
39751 [ISO || POSIX] (EILSEQ): Do not expect.
39752 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39753 Specify type. Require positive value.
39754 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39755 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39756 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39757 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39758 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39759 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39760 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39761 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39762 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39763 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39764 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39765 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39766 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39767 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39768 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39769 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39770 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39771 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39772 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39773 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39774 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39775 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39776 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39777 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39778 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39779 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39780 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39781 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39782 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39783 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39784 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39785 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39786 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39787 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39788 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39789 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39790 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39791 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39792 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39793 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39794 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39795 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39796 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39797 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39798 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39799 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39800 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39801 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39802 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39803 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39804 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39805 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39806 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39807 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39808 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39809 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39810 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39811 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39812 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39813 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39814 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39815 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39816 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39817 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39818 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39819 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39820 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39821 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39822 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39823 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39824 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39825 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39826 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39827 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39828 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39829 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39830 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39831 Require >= 2.
39832 (FLT_ROUNDS): Expect as macro, not constant.
39833 (FLT_MANT_DIG): Use macro-int-constant.
39834 (DBL_MANT_DIG): Likewise.
39835 (LDBL_MANT_DIG): Likewise.
39836 (FLT_DIG): Likewise.
39837 (DBL_DIG): Likewise.
39838 (LDBL_DIG): Likewise.
39839 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39840 (DBL_MIN_EXP): Likewise.
39841 (LDBL_MIN_EXP): Likewise.
39842 (FLT_MAX_EXP): Use macro-int-constant.
39843 (DBL_MAX_EXP): Likewise.
39844 (LDBL_MAX_EXP): Likewise.
39845 (FLT_MAX_10_EXP): Likewise.
39846 (DBL_MAX_10_EXP): Likewise.
39847 (LDBL_MAX_10_EXP): Likewise.
39848 (FLT_MAX): Use macro-constant.
39849 (DBL_MAX): Likewise.
39850 (LDBL_MAX): Likewise.
39851 (FLT_EPSILON): Use macro-constant. Give upper bound.
39852 (DBL_EPSILON): Likewise.
39853 (LDBL_EPSILON): Likewise.
39854 (FLT_MIN): Likewise.
39855 (DBL_MIN): Likewise.
39856 (LDBL_MIN): Likewise.
39857 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39858 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39859 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39860 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39861 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39862 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39863 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39864 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39865 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39866 [ISO11] (FLT_TRUE_MIN): Likewise.
39867 [ISO11] (LDBL_TRUE_MIN): Likewise.
39868 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39869 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39870 (SCHAR_MIN): Use macro-int-constant. Specify type.
39871 (SCHAR_MAX): Likewise.
39872 (UCHAR_MAX): Likewise.
39873 (CHAR_MIN): Likewise.
39874 (CHAR_MAX): Likewise.
39875 (MB_LEN_MAX): Use macro-int-constant.
39876 (SHRT_MIN): Use macro-int-constant. Specify type.
39877 (SHRT_MAX): Likewise.
39878 (USHRT_MAX): Likewise.
39879 (INT_MAX): Likewise.
39880 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39881 bound negative.
39882 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39883 bound with "U".
39884 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39885 bound with "L".
39886 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39887 bound negative. Suffix upper bound with "L".
39888 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39889 bound with "UL".
39890 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39891 Specify type.
39892 [C99-based standards] (LLONG_MAX): Likewise.
39893 [C99-based standards] (ULLONG_MAX): Likewise.
39894 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39895 == 0.
39896 [ISO11] (max_align_t): Require type.
39897 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39898
c9140a62
JM
39899 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39900 from $CFLAGS, without defining away __attribute__ calls.
39901 (checknamespace): Use $CFLAGS_namespace.
39902
9af0bf29
JM
39903 * conform/conformtest.pl (@keywords): Only include C99 keywords
39904 for standards based on C99 or C11.
39905
343222a2
JM
39906 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39907 Disable tests.
39908 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39909 UNIX98]: Likewise.
39910
661f8cf0
JM
39911 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39912 usability of symbols in #if.
39913
ee74b9cb
JM
39914 * conform/conformtest.pl: If macro or constant types start
39915 "promoted:", expect the symbol to be of the following type
39916 promoted by the integer promotions.
62fde54f 39917
aafc49b3
JM
39918 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39919 in one place. Also handle "macro-constant".
39920
fefdf574
JM
39921 * conform/conformtest.pl: Only accept expected macro values with
39922 "==". Parse all "macro" lines in one place.
39923 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39924
f2d922fe
JM
39925 * conform/conformtest.pl: Handle braced types on "constant" lines
39926 instead of handling "typed-constant".
39927 * conform/data/signal.h-data: Use "constant" instead of
39928 "typed-constant".
39929
d22956c9
JM
39930 * conform/conformtest.pl: Handle "optional-" at start of lines in
39931 one place rather than duplicating several cases. Handle each
39932 format of "macro" line with initial "optional-".
39933
028e2e38
JM
39934 * conform/conformtest.pl: Only accept expected constant or
39935 optional-constant values with "==". Parse all "constant" lines in
39936 one place. Parse all "optional-constant" lines in one place.
39937 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39938 * conform/data/fmtmsg.h-data: Likewise.
39939 * conform/data/netinet/in.h-data: Likewise.
39940 * conform/data/tar.h-data: Likewise.
39941 * conform/data/limits.h-data: Use "==" form on "constant" and
39942 "optional-constant" lines.
39943
1b8f2850
JM
39944 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39945 Use -std=c99 for XOPEN2K.
39946 (@knownproblems): Remove.
39947 (newtoken): Don't check %isknown.
39948
a05a144b
JM
39949 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39950 Do not expect macro.
39951 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39952 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39953 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39954 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39955 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39956 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39957 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39958 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39959 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39960 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39961 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39962 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39963 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39964 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39965 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39966 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39967 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39968 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39969 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39970 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39971 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39972 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39973 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39974 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39975 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39976 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39977 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39978 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39979 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39980 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39981 [XPG3] (acosh): Likewise.
39982 [XPG3] (asinh): Likewise.
39983 [XPG3] (atanh): Likewise.
39984 [XPG3] (cbrt): Likewise.
39985 [XPG3] (expm1): Likewise.
39986 [XPG3] (ilogb): Likewise.
39987 [XPG3] (log1p): Likewise.
39988 [XPG3] (logb): Likewise.
39989 [XPG3] (nextafter): Likewise.
39990 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39991 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39992 [XPG3] (remainder): Likewise.
39993 [XPG3] (rint): Likewise.
39994 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39995 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39996 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39997 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39998 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39999 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40000 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40001 [UNIX98 || XOPEN2K] (scalb): Expect.
40002 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40003 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40004 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40005 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40006 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40007 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40008 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40009 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40010 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40011 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40012 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40013 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40014 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40015 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40016 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40017 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40018 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40019 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40020 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40021 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40022 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40023 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40024 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40025 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40026 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40027 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40028 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40029 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40030 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40031 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40032 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40033 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40034 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40035 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40036 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40037 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40038 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40039 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40040 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40041 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40042 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40043 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40044 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40045 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40046 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40047 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40048 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40049 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40050 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40051 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40052 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40053 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40054 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40055 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40056 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40057 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40058 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40059 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40060 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40061 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40062 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40063 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40064 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40065 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40066 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40067 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40068 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40069 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40070 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40071 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40072 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40073 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40074 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40075 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40076 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40077 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40078 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40079 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40080 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40081 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40082 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40083 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40084 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40085 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40086 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40087 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40088 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40089 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40090 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40091 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40092 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40093 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40094 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40095 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40096 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40097 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40098 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40099 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40100 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40101 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40102 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40103 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40104 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40105 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40106 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40107 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40108 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40109 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40110 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40111 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40112 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40113 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40114 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40115 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40116 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40117 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40118 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40119 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40120 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40121 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40122 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40123 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40124 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40125 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40126 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40127 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40128 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40129 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40130 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40131 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40132 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40133 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40134 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40135 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40136 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40137 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40138 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40139
73c5ebe3
JM
40140 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40141 _XOPEN_SOURCE_EXTENDED for XPG4.
40142
39c33b6c
JM
40143 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40144
62fde54f
JM
40145 * Makeconfig (localtime): Remove variable.
40146 (inst_localtime-file): Likewise.
40147
0741d64c
AS
401482012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40149
40150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40151 Update.
40152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40153 Update.
40154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40155 Update.
40156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40157 Update.
40158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40159 Update.
40160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40161 Update.
40162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40163 Update.
40164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40165 Update.
40166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40167 Update.
40168
7cb029ee
JM
401692012-05-01 Joseph Myers <joseph@codesourcery.com>
40170
40171 [BZ #2550]
40172 [BZ #2570]
40173 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40174 comparisons to determine direction to adjust input.
40175 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40176 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40177 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40178 Likewise.
40179 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40180 Likewise.
40181 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40182 Likewise.
40183 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40184 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40185 Likewise.
40186 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40187 Likewise.
40188 * math/libm-test.inc (nexttoward_test): Add more tests.
40189
412bd966
AS
401902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40191
40192 [BZ #14040]
40193 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40194 in version GLIBC_2.1, not GLIBC_2.0.
40195 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40196 Likewise.
40197
9568c0c2
JM
401982012-04-30 Joseph Myers <joseph@codesourcery.com>
40199
adfbc8ac
JM
40200 [BZ #13942]
40201 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40202 (1 - x) * (1 + x).
40203 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40204 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40205 * math/libm-test.inc (acos_test): Add more tests.
40206 (asin_test): Likewise.
40207 * sysdeps/i386/fpu/libm-test-ulps: Update.
40208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40209
5ba3cc69
JM
40210 [BZ #14034]
40211 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40212 of square root.
40213 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40214 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40215 * math/libm-test.inc (acos_test_tonearest): New function.
40216 (acos_test_towardzero): Likewise.
40217 (acos_test_downward): Likewise.
40218 (acos_test_upward): Likewise.
40219 (asin_test_tonearest): Likewise.
40220 (asin_test_towardzero): Likewise.
40221 (asin_test_downward): Likewise.
40222 (asin_test_upward): Likewise.
40223 (main): Call the new functions.
40224 * sysdeps/i386/fpu/libm-test-ulps: Update.
40225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40226
9568c0c2
JM
40227 [BZ #13884]
40228 [BZ #13924]
40229 * math/e_exp10.c: Include <float.h>.
40230 (__ieee754_exp10): Handle underflow here rather than multiplying
40231 large negative argument by M_LN10.
40232 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40233 of __ieee754_expf.
40234 * math/e_exp10l.c: Include <float.h>.
40235 (__ieee754_exp10l): Handle underflow here rather than multiplying
40236 large negative argument by M_LN10l.
40237 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40238 spurious overflow exception on underflow.
40239
5ac3ea17
MP
402402012-04-29 Marek Polacek <polacek@redhat.com>
40241
40242 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40243 (__fortify_function): New macro.
40244 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40245 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40246 __extern_always_inline.
40247 * libio/bits/stdio2.h: Likewise.
40248 * libio/bits/stdio.h: Likewise.
40249 * string/string.h: Likewise.
40250 * string/bits/string3.h: Likewise.
40251 * include/stdio.h: Likewise.
40252 * stdlib/bits/stdlib.h: Likewise.
40253 * stdlib/stdlib.h: Likewise.
40254 * rt/bits/mqueue2.h: Likewise.
40255 * rt/mqueue.h: Likewise.
40256 * posix/bits/unistd.h: Likewise.
40257 * posix/unistd.h: Likewise.
40258 * io/bits/poll2.h: Likewise.
40259 * io/bits/fcntl2.h: Likewise.
40260 * io/fcntl.h: Likewise.
40261 * io/sys/poll.h: Likewise.
40262 * misc/bits/syslog.h: Likewise.
40263 * misc/bits/syslog-ldbl.h: Likewise.
40264 * misc/sys/syslog.h: Likewise.
40265 * socket/bits/socket2.h: Likewise.
40266 * socket/sys/socket.h: Likewise.
40267 * debug/tst-chk1.c: Likewise.
40268 * wcsmbs/bits/wchar2.h: Likewise.
40269 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40270 * wcsmbs/wchar.h: Likewise.
40271
ecf0ebfb
AJ
402722012-04-29 Andreas Jaeger <aj@suse.de>
40273
40274 * Makerules (tests): Remove enable-check-abi protection.
40275 (check-abi-warn): Remove.
40276 (check-abi-%): Remove check-abi-warn usage.
40277
40278 * configure.in: Remove check-abi configure option.
40279 * configure: Regenerated.
40280 * config.make.in (enable-check-abi): Remove.
40281
6d5c57fa
AS
402822012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40283
24c5d07e 40284 [BZ #14033]
ded5180a
AS
40285 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40286 double functions to double *_finite functions.
40287
7e0d315d
AS
40288 [BZ #13941]
40289 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40290 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40291 LDBL_MIN_EXP.
40292 * stdio-common/Makefile (tests): Add tst-sprintf3.
40293 * stdio-common/tst-sprintf3.c: New file.
40294
6d5c57fa
AS
40295 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40296 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40297
0749ff8b
JM
402982012-04-28 Joseph Myers <joseph@codesourcery.com>
40299
40300 * conform/conformtest.pl: Remove duplicate typed-constant
40301 handling.
40302
8dbd5d7b
DM
403032012-04-28 David S. Miller <davem@davemloft.net>
40304
40305 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40306 (check-abi-%): Remove AWK script prerequisite and explicit
40307 abilist directory.
40308 (check-abi): Rewrite to just diff the symlist with the abilist.
40309 (config-tls, config-abi-config): Delete, no longer used.
40310 (update-abi-%): Remove AWK script and explicit abilist directory.
40311 (update-abi): Rewrite to simply compare and conditionally copy the
40312 symlist and the sysdep abilist file. Remove update-abi-config
40313 checks.
40314 * abilist/ld.abilist: Remove.
40315 * abilist/libBrokenLocale.abilist: Remove.
40316 * abilist/libanl.abilist: Remove.
40317 * abilist/libcrypt.abilist: Remove.
40318 * abilist/libdl.abilist: Remove.
40319 * abilist/librt.abilist: Remove.
40320 * abilist/libthread_db.abilist: Remove.
40321 * abilist/libutil.abilist: Remove.
40322 * scripts/extract-abilist.awk: Remove.
40323 * scripts/merge-abilist.awk: Remove.
40324 * sysdeps/generic/libcidn.abilist: New file.
40325 * sysdeps/generic/libnss_compat.abilist: New file.
40326 * sysdeps/generic/libnss_db.abilist: New file.
40327 * sysdeps/generic/libnss_dns.abilist: New file.
40328 * sysdeps/generic/libnss_files.abilist: New file.
40329 * sysdeps/generic/libnss_hesiod.abilist: New file.
40330 * sysdeps/generic/libnss_nis.abilist: New file.
40331 * sysdeps/generic/libnss_nisplus.abilist: New file.
40332 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40333 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40334 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40335 file.
40336 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40337 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40338 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40339 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40340 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40341 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40342 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40343 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40344 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40345 file.
40346 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40347 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40348 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40349 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40350 file.
40351 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40352 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40353 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40354 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40355 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40356 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40357 file.
40358 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40359 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40360 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40361 file.
40362 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40363 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40364 New file.
40365 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40366 New file.
40367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40368 New file.
40369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40370 New file.
40371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40372 New file.
40373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40374 New file.
40375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40376 New file.
40377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40378 New file.
40379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40380 New file.
40381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40382 New file.
40383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40384 New file.
40385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40386 New file.
40387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40388 New file.
40389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40390 file.
40391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40392 New file.
40393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40394 New file.
40395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40396 file.
40397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40398 New file.
40399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40400 New file.
40401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40402 file.
40403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40404 New file.
40405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40406 New file.
40407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40408 New file.
40409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40410 New file.
40411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40412 New file.
40413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40414 New file.
40415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40417 file.
40418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40419 New file.
40420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40421 file.
40422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40423 file.
40424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40425 file.
40426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40427 file.
40428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40429 file.
40430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40431 New file.
40432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40433 file.
40434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40435 file.
40436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40437 New file.
40438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40439 file.
40440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40442 file.
40443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40444 New file.
40445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40446 file.
40447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40448 file.
40449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40450 file.
40451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40452 file.
40453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40454 file.
40455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40456 New file.
40457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40458 file.
40459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40460 file.
40461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40462 New file.
40463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40464 file.
40465 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40466 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40467 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40468 file.
40469 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40470 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40471 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40472 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40473 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40474 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40475 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40476 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40477 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40478 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40481 file.
40482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40483 New file.
40484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40485 file.
40486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40487 file.
40488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40489 file.
40490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40491 file.
40492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40493 file.
40494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40495 New file.
40496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40497 New file.
40498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40499 file.
40500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40501 New file.
40502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40503 file.
40504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40506 file.
40507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40508 New file.
40509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40510 file.
40511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40512 file.
40513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40514 file.
40515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40516 file.
40517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40518 file.
40519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40520 New file.
40521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40522 New file.
40523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40524 file.
40525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40526 New file.
40527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40528 file.
40529
41d73a1b
JM
405302012-04-28 Joseph Myers <joseph@codesourcery.com>
40531
40532 * conform/conformtest.pl: Fix typo in handling typed-constant from
40533 allow-header.
40534
28aeeda4
JM
405352012-04-27 Joseph Myers <joseph@codesourcery.com>
40536
adae8f5e
JM
40537 * README: Cut down references to pre-2.6 Linux kernels and
40538 Linuxthreads. Update lists of configurations in libc and ports
40539 and sort alphabetically. Say "or newer" with Linux kernel version
40540 requirements.
40541
28aeeda4
JM
40542 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40543
a462cb63
RA
405442012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40545
40546 [BZ #887]
40547 * math/libm-test.inc (logb_test_downward): New test to expose
40548 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40549 rounding mode.
40550
6ad3493e
JM
405512012-04-27 Joseph Myers <joseph@codesourcery.com>
40552
40553 [BZ #14027]
40554 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40555 to be done.
40556 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40557 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40558
2ce4f015
JM
405592012-04-26 Joseph Myers <joseph@codesourcery.com>
40560
5aeb141a
JM
40561 * sysdeps/unix/i386/brk.S: Remove file.
40562 * sysdeps/unix/i386/dl-brk.S: Likewise.
40563 * sysdeps/unix/i386/pipe.S: Likewise.
40564 * sysdeps/unix/i386/sigreturn.S: Likewise.
40565 * sysdeps/unix/i386/syscall.S: Likewise.
40566 * sysdeps/unix/i386/vfork.S: Likewise.
40567 * sysdeps/unix/i386/wait.S: Likewise.
40568
7143acae
JM
40569 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40570 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40571
2ce4f015
JM
40572 * configure.in (arm*-none*): Do not allow without
40573 --enable-hacker-mode.
40574 (netbsd*): Remove case setting base_os.
40575 (386bsd*): Likewise.
40576 (freebsd*): Likewise.
40577 (bsdi*): Likewise.
40578 (osf*): Likewise.
40579 (sunos*): Likewise.
40580 (ultrix*): Likewise.
40581 (newsos*): Likewise.
40582 (dynix*): Likewise.
40583 (*bsd*): Likewise.
40584 (sysv*): Likewise.
40585 (isc*): Likewise.
40586 (esix*): Likewise.
40587 (sco*): Likewise.
40588 (minix*): Likewise.
40589 (irix4*): Likewise.
40590 (irix6*): Likewise.
40591 (solaris[2-9]*): Likewise.
40592 (none): Likewise.
40593 * configure: Regenerated.
40594
0ac229c8
AZ
405952012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40596
40597 [BZ #11521]
40598 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40599 overflow or cancellation in calculating denominator.
40600 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40601 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40602 down expression to avoid unexpected rounding in newer GCCs.
40603 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40604
33f244f4
DM
406052012-04-26 David S. Miller <davem@davemloft.net>
40606
40607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40608 long-double compat symbols.
40609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40622
cfa1f3e8
DM
406232012-04-25 David S. Miller <davem@davemloft.net>
40624
40625 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40626 HWCAP_* values only after the memory barriers have been defined.
40627 (atomic_full_barrier): Define.
40628 (atomic_read_barrier): Define.
40629 (atomic_write_barrier): Define.
40630
6e236b92
SP
406312012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40632
40633 * shlib-versions: Add libgcc_s version information.
40634 * sysdeps/generic/libgcc_s.h: Remove.
40635 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40636 libgcc_s.h.
40637 * sysdeps/gnu/unwind-resume.c: Likewise.
40638 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40639
aab39a09
DM
406402012-04-25 David S. Miller <davem@davemloft.net>
40641
40642 * sysdeps/unix/sparc/brk.S: Delete.
40643 * sysdeps/unix/sparc/dl-brk.S: Delete.
40644 * sysdeps/unix/sparc/pipe.S: Delete.
40645 * sysdeps/unix/sparc/sysdep.S: Delete.
40646 * sysdeps/unix/sparc/sysdep.h: Delete.
40647 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40648 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40649 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40650 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40651 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40652 (JUMPTARGET): Remove.
40653 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40654 sysdeps/unix/sparc/sysdep.h
40655 (ENTRY, END): Remove.
40656 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40657
a3cc4f48
JM
406582012-04-25 Joseph Myers <joseph@codesourcery.com>
40659
2ed8cda2
JM
40660 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40661 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40662 -DIS_IN_build.
40663
35d76d59
JM
40664 * timezone/README: Update upstream location and email address for
40665 tzcode and tzdata.
40666 * timezone/zdump.c: Update from tzcode 2012b.
40667 * timezone/zic.c: Likewise.
40668
a3cc4f48
JM
40669 * configure.in (libc_cv_as_needed): Remove test.
40670 * configure: Regenerated.
40671 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40672 conditional definition.
40673 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40674 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40675 * config.make.in (have-as-needed): Remove variable.
40676
ceab42c3
SP
406772012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40678 Paul Pluzhnikov <ppluzhnikov@google.com>
40679
40680 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40681 strings correctly.
40682
3ce2865f
CLT
406832012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40684
40685 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40686 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40687 * sysdeps/sh/strlen.S: Likewise.
40688
f37e0d68
JM
406892012-04-24 Joseph Myers <joseph@codesourcery.com>
40690
ae186e9a
JM
40691 * sysdeps/unix/fork.S: Remove file.
40692 * sysdeps/unix/i386/fork.S: Likewise.
40693 * sysdeps/unix/sparc/fork.S: Likewise.
40694
b96914af
JM
40695 * sysdeps/unix/system.c: Remove file.
40696 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40697
f37e0d68
JM
40698 * sysdeps/unix/getegid.S: Remove file.
40699 * sysdeps/unix/geteuid.S: Likewise.
40700
87ef29ca
RM
407012012-04-24 Roland McGrath <roland@hack.frob.com>
40702
83bcd236
RM
40703 * scripts/check-localplt.awk: New file.
40704 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40705 of diff.
40706 * scripts/data/localplt-generic.data: Add a comment.
40707
87ef29ca
RM
40708 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40709 NODE when __dir_mkfile failed.
40710 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40711 Reported by Ludovic Courtès <ludo@gnu.org>.
40712
e5a6e567
AJ
407132012-04-24 Andreas Jaeger <aj@suse.de>
40714
40715 * Makerules (common-clean): Also remove gen-as-const-headers
40716 files.
40717
c1820385
JM
407182012-04-24 Joseph Myers <joseph@codesourcery.com>
40719
40720 * Makerules (native-compile): Do not change working directory for
40721 build. Use $(OUTPUT_OPTION) in command.
40722 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40723
94e02fc4
AZ
407242012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40725
40726 [BZ #13886]
40727 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40728 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40729 * math/libm-test.inc (floor_test): Add more tests.
40730 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40731
3a533ca3
JM
407322012-04-24 Joseph Myers <joseph@codesourcery.com>
40733
940ab4b3
JM
40734 * sysdeps/unix/getdents.c: Remove file.
40735 * sysdeps/unix/sysv/getdents.c: Likewise.
40736 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40737
90e037bd
JM
40738 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40739 sysdeps/unix/mman/syscalls.list.
40740 (mmap): Likewise.
40741 (mprotect): Likewise.
40742 (msync): Likewise.
40743 (munmap): Likewise.
40744 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40745 * sysdeps/unix/mman/syscalls.list: Remove.
40746 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40747
3a533ca3
JM
40748 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40749 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40750 * configure: Regenerated.
40751 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40752 $(libgcc_s_suffix).
40753 * config.make.in (libgcc_s_suffix): Remove variable.
40754
1ad743de
JM
407552012-04-23 Joseph Myers <joseph@codesourcery.com>
40756
4ad451e2
JM
40757 * sysdeps/unix/sysv/gethostname.c: Move to ...
40758 * sysdeps/posix/gethostname.c: ... here.
40759
5e37ce39
JM
40760 * sysdeps/unix/execve.S: Remove file.
40761
1ad743de
JM
40762 * sysdeps/unix/_exit.S: Remove file.
40763
4e681b5b
AJ
407642012-04-23 Andreas Jaeger <aj@suse.de>
40765
40766 [BZ #13739]
40767 * manual/Makefile: Remove make dist support, there's no
40768 need for a stand-alone documentation tar ball.
40769 (TEXI2DVI): Define always, it's not in Makeconfig.
40770 (dist): Removed.
40771 (tar-it): Removed.
40772 (edition): Removed.
40773 (glibc-doc-$(edition).tar): Removed
40774 (%.Z): Removed.
40775 (%.gz): Removed.
40776 (%.uu): Removed.
40777 (ETAGS): Remove, it's in Makeconfig.
40778 (move-if-change): Remove, it's in Makeconfig.
40779
38686a03 407802012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40781
40782 [BZ #13970]
40783 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40784 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40785 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40786 (strtod_l, strtof_l, strtold_l): Remove __wur.
40787 It is not necessarily an error to ignore strtol's return value.
40788 One can reliably look at the stored endptr to decide whether
40789 the number had valid syntax.
40790
7c0616fa
AJ
407912012-04-21 Andreas Jaeger <aj@suse.de>
40792
803cb6b7 40793 [BZ #13739]
7c0616fa
AJ
40794 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40795
b0fe253f
JM
407962012-04-21 Joseph Myers <joseph@codesourcery.com>
40797
40798 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40799 * sysdeps/unix/sysv/Versions: Remove file.
40800
8280f22d
MT
408012012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40802
40803 [BZ #13927]
40804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40805
75ce411f 408062012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40807
40808 [BZ #7064]
40809 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40810 version from __vm86.
40811
097d59fa
JM
408122012-04-20 Joseph Myers <joseph@codesourcery.com>
40813
a90f3bcb
JM
40814 * sysdeps/unix/common/lxstat.c: Remove file.
40815 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40816
edc7ea78
JM
40817 * sysdeps/unix/sysv/Makefile: Remove file.
40818
cb78c221
JM
40819 * sysdeps/unix/sysv/direct.h: Remove file.
40820
efa6a45f
JM
40821 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40822 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40823 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40824 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40825 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40826 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40827 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40828
9c9f2d0c
JM
40829 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40830
4541c83b
JM
40831 * sysdeps/unix/xmknod.c: Remove file.
40832 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40833
f5d153a0
JM
40834 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40835
aa746595
JM
40836 * sysdeps/unix/sysv/i386/time.S: Remove file.
40837
cce5905e
JM
40838 * sysdeps/unix/fxstat.c: Remove file.
40839 * sysdeps/unix/xstat.c: Likewise.
40840 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40841
37fa3841
JM
40842 * sysdeps/unix/sysv/sigaction.c: Remove file.
40843
ff1962a3
JM
40844 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40845 (sysdep_headers): Remove variable.
40846 [termio.h not in sysdep_headers] (generated): Likewise.
40847 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40848 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40849 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40850 * sysdeps/unix/sysv/tcflow.c: Likewise.
40851 * sysdeps/unix/sysv/tcflush.c: Likewise.
40852 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40853 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40854 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40855 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40856 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40857
e7740d31
JM
40858 * sysdeps/unix/siglist.c: Remove file.
40859
ee06f18b
JM
40860 * sysdeps/unix/getppid.S: Remove file.
40861
097d59fa
JM
40862 * sysdeps/unix/mkdir.c: Remove file.
40863 * sysdeps/unix/rmdir.c: Likewise.
40864
ff3d51ec
AS
408652012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40866
40867 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40868 ERR_MAX value.
40869 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40870 errlist-compat value.
40871
50f81fd7
DM
408722012-04-18 David S. Miller <davem@davemloft.net>
40873
40874 * sysdeps/generic/memcopy.h (reg_char): Delete.
40875 * debug/strcat_chk.c: Use char, not reg_char.
40876 * debug/strcpy_chk.c: Likewise.
40877 * debug/strncat_chk.c: Likewise.
40878 * debug/strncpy_chk.c: Likewise.
40879 * string/memchr.c: Likewise.
40880 * string/memrchr.c: Likewise.
40881 * string/rawmemchr.c: Likewise.
40882 * string/strcat.c: Likewise.
40883 * string/strchr.c: Likewise.
40884 * string/strchrnul.c: Likewise.
40885 * string/strcmp.c: Likewise.
40886 * string/strcpy.c: Likewise.
40887 * string/strncat.c: Likewise.
40888 * string/strncmp.c: Likewise.
40889 * string/strncpy.c: Likewise.
40890
8ff41c46
WS
408912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40892
40893 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40894 __builtin_memcopy is called when src and dest ranges are known to not
40895 overlap.
40896
6b652f46
WS
408972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40898
40899 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40900 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40901 fwd_align_merge macro call.
40902 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40903 bwd_align_merge macro call.
40904 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40905
b282631e
WS
409062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40907
40908 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40909 bwd_align_merge macros.
40910 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40911 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40912 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40913
95aa737c
DM
409142012-04-18 David S. Miller <davem@davemloft.net>
40915
40916 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40917
7a99a614
AJ
409182012-04-18 Andreas Jaeger <aj@suse.de>
40919
40920 [BZ# 6794]
40921 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40922 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40923 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40924
40925 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40926 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40927 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40928
40929 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40930 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40931 Adjust for changed ldbl-128 files.
40932
40933 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40934 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40935 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40936
e5270c23
DM
409372012-04-17 David S. Miller <davem@davemloft.net>
40938
40939 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40940
fb5e92c9
AS
409412012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40942
40943 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40944 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40945 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40946 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40947 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40948 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40949
76da7265
AZ
409502012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40951
40952 [BZ #6794]
40953 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40954 * math/libm-test.inc: Add ilogb errno and exception tests.
40955 * math/w_ilogb.c: New file: ilogb wrapper.
40956 * math/w_ilogbf.c: New file: ilogbf wrapper.
40957 * math/w_ilogbl.c: New file: ilogbl wrapper.
40958 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40959 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40960 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40961 exception being thrown with 0.0 as argument.
40962 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40963 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40964 exception being thrown with 0.0 as argument.
40965 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40966 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40967 exception being thrown with 0.0 as argument.
40968 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40969 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40970 exception being thrown with 0.0 as argument.
40971 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40972 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 40973 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
40974 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40975 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40976 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40977 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40978 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40979 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40980
0396e69d
PB
409812012-04-17 Petr Baudis <pasky@ucw.cz>
40982
40983 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40984 with altivec.
40985
750b5926
MP
409862012-04-16 Marek Polacek <polacek@redhat.com>
40987
40988 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40989
751728a1
MP
409902012-04-16 Marek Polacek <polacek@redhat.com>
40991
40992 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40993 operands of fdivp instruction.
40994
34a27407
L
409952012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40996
40997 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40998 * elf/tst-auditmod3b.c: Likewise.
40999 * elf/tst-auditmod4b.c: Likewise.
41000 * elf/tst-auditmod5b.c: Likewise.
41001 * elf/tst-auditmod6b.c: Likewise.
41002 * elf/tst-auditmod6c.c: Likewise.
41003 * elf/tst-auditmod7b.c: Likewise.
41004 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41005 * sysdeps/x86_64/preconfigure.in: Likewise.
41006 * sysdeps/x86_64/preconfigure: Regenerated.
41007
7e73e17d
L
410082012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41009
41010 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41011 __ILP32__.
41012
c7a6ab72
AB
410132012-04-13 Antoine Balestrat <merkil33@gmail.com>
41014
41015 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41016 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41017
a9e8e0e0
CL
410182012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41019
41020 [BZ #13973]
41021 * locale/iso-639.def: Fix gl language name. Spotted by
41022 Yaron Shahrabani.
41023
ec98af7d
RM
410242012-04-12 Roland McGrath <roland@hack.frob.com>
41025
41026 [BZ #2074]
41027 * libio/libio.h (__io_write_fn): Update comment.
41028
247c3ede
PB
410292012-04-12 Petr Baudis <pasky@ucw.cz>
41030
41031 [BZ #2074]
41032 * stdio.texi (Hook Functions): The user provided writer function
41033 is not allowed to return -1.
41034
55939d6d
DM
410352012-04-11 David S. Miller <davem@davemloft.net>
41036
41037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41038
90020f5a
MF
410392012-04-11 Mike Frysinger <vapier@gentoo.org>
41040
41041 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41042 Add a leading slash to rtkaio.
41043
288f9098
JM
410442012-04-11 Jim Meyering <meyering@redhat.com>
41045
90020f5a
MF
41046 [BZ #11959]
41047 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41048 It is not necessarily an error to ignore fwrite's return
41049 value. One can reliably use ferror to test for errors after
41050 the fact.
288f9098 41051
4be2b570
L
410522012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41053
41054 * bits/types.h (__snseconds_t): New type.
41055 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41056
41057 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41058 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41059 (__SNSECONDS_T_TYPE): Likewise.
41060 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41061 (__SNSECONDS_T_TYPE): Likewise.
41062 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41063 (__SNSECONDS_T_TYPE): Likewise.
41064
288f9098 410652012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
41066
41067 [BZ #2636]
41068 * manual/time.texi (Processor Time): Return type of times is
41069 elapsed real time since an arbitrary point in the past.
41070 (CPU Time): Move CLK_TCK from here...
41071 (Processor Time): ...to here. Correct description.
41072 * manual/conf.texi (Constants for Sysconf): Correct description of
41073 _SC_CLK_TCK.
41074
d7dd4413
DM
410752012-04-10 David S. Miller <davem@davemloft.net>
41076
41077 [BZ #13967]
41078 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41079 where the is a gap between DT_REL(A) and DT_JMPREL.
41080
b46068fc
L
410812012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41082
41083 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41084 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41085 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41086
73d65cc3
SP
410872012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41088
41089 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41090 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41091 (dl_main): Handle --inhibit-cache.
41092 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41093 _dl_inhibit_cache.
41094 * elf/dl-load.c (_dl_map_object): Use it.
41095 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41096
bcc8d661
JM
410972012-04-09 Joseph Myers <joseph@codesourcery.com>
41098
8f9a2fae
JM
41099 [BZ #13872]
41100 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41101 (__ieee754_powl): Saturate large exponents rather than testing for
41102 overflow of y*log2(x).
41103 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41104 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41105 exceptions.
41106
bcc8d661
JM
41107 [BZ #11521]
41108 * math/s_ctan.c: Include <float.h>.
41109 (__ctan): Avoid internal overflow or cancellation in calculating
41110 denominator.
41111 * math/s_ctanf.c: Likewise.
41112 * math/s_ctanl.c: Likewise.
41113 * math/s_ctanh.c: Likewise.
41114 * math/s_ctanhf.c: Likewise.
41115 * math/s_ctanhl.c: Likewise.
41116 * math/libm-test.inc (ctan_test): Add more tests.
41117 (ctanh_test): Likewise.
41118 * sysdeps/i386/fpu/libm-test-ulps: Update.
41119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41120
823fbbb4
AJ
411212012-04-09 Andreas Jaeger <aj@suse.de>
41122
03879793
AJ
41123 [BZ #6894]
41124 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41125 is an optional BSD extension.
41126
823fbbb4
AJ
41127 [BZ #10254]
41128 * manual/stdio.texi (Opening Streams): Document additional fopen
41129 parameters.
41130
8de131cb
RM
411312012-04-09 Roland McGrath <roland@hack.frob.com>
41132
41133 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41134 %eax without telling the compiler.
41135
c0ed9d7d
CD
411362012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41137
41138 [BZ # 13963]
41139 * manual/install.texi: Use sourceware.org.
41140
c483f6b4
JM
411412012-04-09 Joseph Myers <joseph@codesourcery.com>
41142
d7dd9453
JM
41143 [BZ #13873]
41144 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41145 (__ieee754_pow): Generate overflow and underflow using huge*huge
41146 and tiny*tiny rather than just returning constant infinity or zero
41147 for large exponents.
41148 * math/libm-test.inc (pow_test): Require overflow exceptions for
41149 applicable cases of large exponents.
41150
c483f6b4
JM
41151 [BZ #706]
41152 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41153 (__ieee754_pow): Use iterative multiplication algorithm only for
41154 integer exponents with absolute value below 1024. Check for odd
41155 integer exponents when using algorithm for real exponents.
41156 * math/libm-test.inc (pow_test): Add more tests.
41157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41158
d2de7579
JM
411592012-04-08 Joseph Myers <joseph@codesourcery.com>
41160
41161 [BZ #13705]
41162 * math/libm-test.inc (exp_test): Do not allow overflow exception
41163 on underflow test.
41164
f77f1232
AJ
411652012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41166
41167 [BZ #13705]
41168 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41169 instead of __kernel_standard_f.
41170
3884932b
MF
411712012-04-08 Mike Frysinger <vapier@gentoo.org>
41172
41173 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41174 * sysdeps/x86_64/memset_chk.S: Likewise.
41175
54472e9c
AJ
411762012-04-08 Andreas Jaeger <aj@suse.de>
41177
6ab0fbfc
AJ
41178 [BZ #10153]
41179 * manual/startup.texi (Environment Access): Describe return value
41180 for putenv and setenv.
41181
61efba8c
AJ
41182 [BZ #6895]
41183 * manual/filesys.texi (Directory Entries): Add description for
41184 DT_LNK.
41185
95c3f29a
AJ
41186 [BZ #6890]
41187 * manual/filesys.texi (Directory Entries): Clarify that it's file
41188 system not operating system in the description of DT_UNKNOWN.
41189
54472e9c
AJ
41190 [BZ #6578]
41191 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41192
624254b1
SC
411932012-04-08 Stephen Compall <s11@member.fsf.org>
41194
41195 [BZ #6649]
41196 * manual/llio.texi (Opening and Closing Files): Add cross
41197 reference to explain mode argument.
41198
1e4920e0
MF
411992012-04-07 Mike Frysinger <vapier@gentoo.org>
41200
41201 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41202 * sysdeps/x86_64/memset_chk.S: Likewise.
41203
5ed848f3
DM
412042012-04-07 David S. Miller <davem@davemloft.net>
41205
41206 * elf/elf.h (R_SPARC_WDISP10): Define.
41207 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41208 R_SPARC_SIZE32.
41209 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41210 R_SPARC_SIZE64 and R_SPARC_H34.
41211
96154cd8
CD
412122012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41213
41214 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41215 conditions and remove no longer applicable assertion.
41216
9904dc47
L
412172012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41218
41219 * bits/byteswap.h: Include <features.h>.
41220 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41221 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41222
f8887d0a
L
412232012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41224
41225 * bits/byteswap.h (__bswap_16): Removed.
41226 Include <bits/byteswap-16.h> to get __bswap_16.
41227 * sysdeps/i386/bits/byteswap.h: Likewise.
41228 * sysdeps/s390/bits/byteswap.h: Likewise.
41229 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41230 * bits/byteswap-16.h: New file.
41231 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41232 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41233 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41234 * string/Makefile (headers): Add bits/byteswap-16.h.
41235
62470f60
PP
412362012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41237
41238 [BZ #13895]
41239 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41240 extra indirection.
41241 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41242 * nss/tst-nss-static.c: New.
41243
4dad7bab
RM
412442012-04-06 Robert Millan <rmh@gnu.org>
41245
41246 [BZ #6486]
41247 * manual/llio.texi (File Position Primitive): lseek
41248 refers to WHENCE when it really means OFFSET.
41249
e9142a17
AJ
412502012-04-06 Andreas Jaeger <aj@suse.de>
41251
2c040eff
AJ
41252 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41253 strncmp declarations.
41254
e9142a17
AJ
41255 * abilist/libc.abilist: Add __poll and __ppoll.
41256
ff9f1c5f
DM
412572012-04-05 David S. Miller <davem@davemloft.net>
41258
dcd2ae90
DM
41259 * scripts/check-local-headers.sh: Accept a host triplet in the
41260 path matched by the exclude regexp.
41261
993eb054
DM
41262 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41263 definition.
41264 * sysdeps/powerpc/powerpc32/dl-machine.h
41265 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41266 * sysdeps/s390/s390-32/dl-machine.h
41267 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41268 * sysdeps/sparc/sparc32/dl-machine.h
41269 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41270 * sysdeps/sparc/sparc64/dl-machine.h
41271 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41272
ff9f1c5f
DM
41273 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41274 lazy binding.
48e2e132 41275 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
41276 undefined symbol errors.
41277
48e2e132 41278 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
41279 DT_NEEDED entries.
41280
e80d6f94
MM
412812012-04-05 Michael Matz <matz@suse.de>
41282
41283 [BZ #13592]
41284 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41285
349fa79f
AJ
412862012-04-05 Andreas Jaeger <aj@suse.de>
41287
41288 [BZ #13908]
41289 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41290 comment.
41291
f402708f
KK
412922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41293
41294 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41295 which ROUND is no valid rounding mode.
41296
2ecccfc9
KK
412972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41298
41299 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41300 read again.
41301 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41302
8a53f50f
KK
413032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41304
41305 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41306 an exception using FPU order intentionally.
41307
413082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41309
41310 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41311 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41312 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41313 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41314
d653abb7
SJ
413152012-04-05 Simon Josefsson <simon@josefsson.org>
41316
41317 [BZ #12340]
41318 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41319 EINVAL when BUFLEN is too smal.
41320
c3b1bf7d
TS
413212012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41322
41323 [BZ #13553]
41324 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41325 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41326
b1aa60f3
AJ
413272012-04-03 Andreas Jaeger <aj@suse.de>
41328
c3b1bf7d 41329 [BZ #13938]
67f60a26
AJ
41330 * manual/setjmp.texi (System V contexts): Fix sentence.
41331
b1aa60f3
AJ
41332 [BZ #13926]
41333 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41334 New macro for this case.
41335 [!__GNUC__] (__bswap_64): New inline function for this case.
41336 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41337 * bits/byteswap.h: Likewise.
41338 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41339 ull, guard with __GLIBC_HAVE_LONG_LONG.
41340
41341 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41342 __GLIBC_HAVE_LONG_LONG.
41343
41344 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41345 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41346
39c59c35
TMQMF
413472012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41348
41349 [BZ #13691]
41350 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41351 inptr and inend, rather than using last_ch.
41352
135ffda8
DM
413532012-04-02 David S. Miller <davem@davemloft.net>
41354
41355 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41356 * stdio-common/printf-parse.h (read_int): Change return type to
41357 'int', return -1 on INT_MAX overflow.
41358 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41359 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41360 overflows INT_MAX. Check for overflow of in-format-string precision
41361 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41362 SIZE_MAX not INT_MAX for integer overflow test.
41363 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41364 skip the construct in the format string but do not record anything.
41365 * stdio-common/bug22.c: Adjust to test both width/prevision
41366 INT_MAX overflow as well as total length INT_MAX overflow. Check
41367 explicitly for proper errno values.
41368
228c019e
TS
413692012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41370
302cadd3
TS
41371 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41372 CHAR_MAX.
41373 * string/test-strcmp.c [! WIDE]: Likewise.
41374 * time/tst-mktime2.c: Likewise for INT_MAX.
41375 * string/test-string.h: #include <sys/param.h> for MIN.
41376
228c019e
TS
41377 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41378 * sysdeps/i386/init-first.c (init): Likewise.
41379 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41380 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41381 * sysdeps/sh/init-first.c (init): Likewise.
41382
cfa633f5
UD
413832012-04-01 Ulrich Drepper <drepper@gmail.com>
41384
41385 * po/ru.po: Update from translation team.
d1635ef8 41386 * po/vi.po: Likewise.
cfa633f5 41387
6cd0a5ea
SP
413882012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41389
41390 * resolv/nss_dns/dns-host.c: Merge copyright years.
41391
4b43400f
LD
413922012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41393
41394 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41395 Optimize memcpy with prefetch if
41396 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41397 src, dst pointers have unequal 16 byte alignments.
41398
48c41d04
SP
413992012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41400
41401 [BZ #13928]
41402 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41403 from a CNAME entry and return the minimum ttl for the query.
41404 (gaih_getanswer_slice): Likewise.
41405
b8dc394d
JL
414062012-03-30 Jeff Law <law@redhat.com>
41407
41408 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41409 due to long keys.
41410 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41411 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41412
2f5a5ed0
JL
41413 * resolv/nss_dns/dns-host.c: Update copyright year.
41414
1d39e359
UD
414152012-03-30 Ulrich Drepper <drepper@gmail.com>
41416
c030f70c 41417 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 41418 requests to save a system call. Fix check that all bytes are sent.
c030f70c 41419
1d39e359
UD
41420 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41421 comments for sendmmsg.
41422
414232012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
41424
41425 [BZ #13691]
41426 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41427 with only 1 character between 0x0041 and 0x01b0.
41428 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41429 * wcsmbs/tst-mbsnrtowcs.c: New file.
41430
20fde227
DM
414312012-03-29 David S. Miller <davem@davemloft.net>
41432
41433 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41434 small copies by hand.
41435
984a4237
JL
414362012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41437
41438 [BZ #13761]
57f41c40
AS
41439 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41440 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41441 group memberships.
984a4237 41442
18c9d62b
DM
414432012-03-28 David S. Miller <davem@davemloft.net>
41444
88d85d4f
DM
41445 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41446 that branches into memcpy.
41447 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41448 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41449 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41450 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41451 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41452 bits.
41453 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41454 implementation too.
41455 * sysdeps/sparc/mempcpy.S: New file.
41456
e5aa83e1
DM
41457 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41458 the IFUNC routine in the libc case.
41459 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41460
88570753
DM
41461 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41462 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41463 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41464 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41465 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41466 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41467 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41468 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41469
249d7567
DM
41470 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41471 loop to 256 bytes instead of 64 bytes and fix test signedness.
41472
18c9d62b
DM
41473 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41474 * sysdeps/sparc/sparc32/Makefile: rather than here...
41475 * sysdeps/sparc/sparc64/Makefile: and here.
41476
05f3d1f6
UD
414772012-03-28 Ulrich Drepper <drepper@gmail.com>
41478
41479 * malloc/mallocbug.c: Avoid warnings about unused variables.
41480
86ae07a8
JL
414812012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41482
41483 [BZ #13760]
41484 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41485 in the right place. Discard and retry query if response is
41486 larger than input buffer size.
41487
41bf21a1
JM
414882012-03-28 Joseph Myers <joseph@codesourcery.com>
41489
d6270972
JM
41490 [BZ #369]
41491 [BZ #2678]
41492 [BZ #3866]
41493 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41494 x for large integer exponent.
41495 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41496 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41497 sign of result as needed afterwards.
41498 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41499 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41500 result for underflowing pow the same as for overflow.
41501 (__kernel_standard_l): Handle powl overflow and underflow here
41502 rather than calling __kernel_standard.
41503 * math/libm-test.inc (pow_test): Add more tests.
41504
414fca03 41505 [BZ #3868]
41bf21a1
JM
41506 [BZ #13879]
41507 [BZ #13910]
41508 [BZ #13911]
41509 [BZ #13912]
41510 [BZ #13913]
41511 [BZ #13915]
41512 [BZ #13916]
41513 [BZ #13917]
41514 [BZ #13918]
41515 [BZ #13919]
41516 [BZ #13920]
41517 [BZ #13921]
41518 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41519 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41520 (__kernel_standard_l): New function.
41521 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41522 __kernel_standard.
41523 * math/w_acosl.c (__acosl): Likewise.
41524 * math/w_asinl.c (__asinl): Likewise.
41525 * math/w_atan2l.c (__atan2l): Likewise.
41526 * math/w_atanhl.c (__atanhl): Likewise.
41527 * math/w_coshl.c (__coshl): Likewise.
41528 * math/w_exp10l.c (__exp10l): Likewise.
41529 * math/w_exp2l.c (__exp2l): Likewise.
41530 * math/w_fmodl.c (__fmodl): Likewise.
41531 * math/w_hypotl.c (__hypotl): Likewise.
41532 * math/w_j0l.c (__j0l, __y0l): Likewise.
41533 * math/w_j1l.c (__j1l, __y1l): Likewise.
41534 * math/w_jnl.c (__jnl, __ynl): Likewise.
41535 * math/w_lgammal.c (__lgammal): Likewise.
41536 * math/w_log10l.c (__log10l): Likewise.
41537 * math/w_log2l.c (__log2l): Likewise.
41538 * math/w_logl.c (__logl): Likewise.
41539 * math/w_powl.c (__powl): Likewise.
41540 * math/w_remainderl.c (__remainderl): Likewise.
41541 * math/w_scalbl.c (sysv_scalbl): Likewise.
41542 * math/w_sinhl.c (__sinhl): Likewise.
41543 * math/w_sqrtl.c (__sqrtl): Likewise.
41544 * math/w_tgammal.c (__tgammal): Likewise.
41545 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41546 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41547 * math/libm-test.inc (acos_test): Add more tests.
41548 (acosh_test): Likewise.
41549 (asin_test): Likewise.
41550 (atanh_test): Likewise.
41551 (exp_test): Likewise.
41552 (exp10_test): Likewise.
41553 (exp2_test): Likewise.
41554 (expm1_test): Likewise.
41555 (lgamma_test): Likewise.
41556 (log_test): Likewise.
41557 (log10_test): Likewise.
41558 (log1p_test): Likewise.
41559 (log2_test): Likewise.
41560 (pow_test): Do not allow some spurious overflow exceptions.
41561 (sqrt_test): Add more tests.
41562 (tgamma_test): Likewise.
41563 (y0_test): Likewise.
41564 (y1_test): Likewise.
41565 (yn_test): Likewise.
41566
dd62fda6
AB
415672012-03-27 Anton Blanchard <anton@samba.org>
41568
41569 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41570 MAP_HUGETLB.
41571 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41572 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41573 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41574
1e3cdfda
AJ
415752012-03-27 David S. Miller <davem@davemloft.net>
41576
b855ab85
DM
41577 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41578
1e3cdfda
AJ
41579 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41580 have-as-vis3 check.
41581
415822012-03-27 Andreas Jaeger <aj@suse.de>
41583
41584 * sysdeps/x86_64/elf/configure.in: Moved to ...
41585 * sysdeps/x86_64/configure.in: ... here.
41586 * sysdeps/x86_64/elf/start.S: Moved to ...
41587 * sysdeps/x86_64/start.S: ... here.
41588 * sysdeps/x86_64/elf/configure: Delete.
41589
41590 * sysdeps/x86_64/configure.in: Merge contents from
41591 sysdeps/i386/configure.in (without i686 check).
41592
41593 * sysdeps/i386/elf/Versions: Merge into ...
41594 * sysdeps/i386/Versions: ... this.
41595 * sysdeps/i386/elf/Versions: Delete file.
41596 * sysdeps/i386/elf/start.S: Moved to ...
41597 * sysdeps/i386/start.S: ...here.
41598 * sysdeps/i386/elf/configure.in: Merge into...
41599 * sysdeps/i386/configure.in: ...here.
41600 * sysdeps/i386/elf/configure.in: Delete file.
41601 * sysdeps/i386/elf/configure: Delete file.
41602
41603 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41604 * debug/backtracesyms.c: ... here.
41605 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41606 * debug/backtracesymsfd.c: ... here.
41607 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41608 * sysdeps/generic/ifunc-sel.h: ... here.
41609
41610 * sysdeps/unix/i386/start.c: Delete file.
41611 * sysdeps/unix/sparc/start.c: Delete file.
41612 * sysdeps/unix/start.c: Delete file.
41613
41614 * sysdeps/sh/elf/configure.in: Moved to ...
41615 * sysdeps/sh/configure.in: ... here.
41616 * sysdeps/sh/elf/start.S: Moved to ...
41617 * sysdeps/sh/start.S: ... here.
41618 * sysdeps/sh/elf/configure: Delete file.
41619
41620 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41621 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41622 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41623 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41624 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41625 * sysdeps/powerpc/powerpc64/start.S: here.
41626 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41627 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41628 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41629 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41630 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41631
41632 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41633 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41634 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41635 * sysdeps/powerpc/powerpc32/start.S: ... here.
41636 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41637 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41638 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41639
41640 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41641 * sysdeps/powerpc/ifunc-sel.h: ... here.
41642 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41643 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41644
41645 * sysdeps/sparc/elf/configure.in: Moved to ...
41646 * sysdeps/sparc/configure.in: ... here.
41647 * sysdeps/sparc/elf/configure: Delete file.
41648 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41649 * sysdeps/sparc/sparc32/start.S: ... here.
41650 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41651 * sysdeps/sparc/sparc64/start.S: ... here.
41652 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41653 * sysdeps/sparc/sparc32/Makefile: ... this.
41654 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41655 * sysdeps/sparc/sparc64/Makefile: ... this.
41656
41657 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41658 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41659 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41660 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41661 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41662 * sysdeps/s390/s390-32/setjmp.S: ... here.
41663 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41664 * sysdeps/s390/s390-32/configure.in: ... here.
41665 * sysdeps/s390/s390-32/elf/configure: Delete file.
41666 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41667 * sysdeps/s390/s390-32/start.S: ... here.
41668
41669 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41670 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41671 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41672 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41673 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41674 * sysdeps/s390/s390-64/setjmp.S: ... here.
41675 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41676 * sysdeps/s390/s390-64/configure.in: ... here
41677 * sysdeps/s390/s390-64/elf/configure: Delete file.
41678 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41679 * sysdeps/s390/s390-64/start.S: ... here.
41680 * sysdeps/s390/s390-64/elf/configure: Delete.
41681
41682 * configure.in: Remove support for elf directories in sysdeps.
41683
41684 * configure: Regenerated.
41685 * sysdeps/i386/configure: Regenerated.
41686 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41687 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41688 * sysdeps/s390/s390-32/configure: Regenerated.
41689 * sysdeps/s390/s390-64/configure: Regenerated.
41690 * sysdeps/sh/configure: Regenerated.
41691 * sysdeps/sparc/configure: Regenerated.
41692 * sysdeps/x86_64/configure: Regenerated.
41693
a3f61311
AS
416942012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41695
c876e002
AS
41696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41697
a3f61311
AS
41698 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41699 denormal result into account.
41700
ac4c54f0
RM
417012012-03-25 Roland McGrath <roland@hack.frob.com>
41702
41703 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41704 Reported by Allan McRae <allan@archlinux.org>.
41705
6a9b9c02
JL
417062012-03-23 Jeff Law <law@redhat.com>
41707
41708 * nss/getnssent.c (__nss_getent): Fix typo.
41709
4c42a0c1
DM
417102012-03-23 David S. Miller <davem@davemloft.net>
41711
41712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41713
1532c7ac
L
417142012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41715
41716 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41717 to pad to uint64_t for each field.
41718 (dl_tls_index): Replace unsigned long with uint64_t.
41719
3ff42526
PP
417202012-03-23 Daniel Jacobowitz <dmj@google.com>
41721 Paul Pluzhnikov <ppluzhnikov@google.com>
41722
41723 [BZ #6528]
41724 * grp/Makefile (otherlibs): Don't set it.
41725 * inet/Makefile (otherlibs): Likewise.
41726 * login/Makefile (otherlibs): Likewise.
41727 * nscd/Makefile (otherlibs): Likewise.
41728 * posix/Makefile (otherlibs): Likewise.
41729 * pwd/Makefile (otherlibs): Likewise.
41730 * rt/Makefile (otherlibs): Likewise.
41731 * sunrpc/Makefile (otherlibs): Likewise.
41732 * nss/Makefile (otherlibs): Likewise.
41733 Add libnss_files to routines and static-only-routines.
41734 ($(objpfx)getent): Remove rule.
41735 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41736 static-only-routines.
41737
7c69cd14
JM
417382012-03-22 Joseph Myers <joseph@codesourcery.com>
41739
41740 [BZ #13892]
41741 * math/s_cexp.c: Include <float.h>.
41742 (__cexp): Handle exp result overflowing not necessarily
41743 overflowing both real and imaginary parts of result.
41744 * math/s_cexpf.c: Likewise.
41745 * math/s_cexpl.c: Likewise.
41746 * math/libm-test.inc (cexp_test): Add more tests.
41747 * sysdeps/i386/fpu/libm-test-ulps: Update.
41748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41749
81b035fe
L
417502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41751
41752 * include/link.h (ELFW): New macro.
41753 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41754 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41755
1da7940c
L
417562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41757
41758 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41759 with uint64_t.
41760
b749dbb9
L
417612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41762
41763 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41764 declaration.
41765 (struct La_x32_retval): Likewise.
41766
2ff87f3f
L
417672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41768
41769 * sysdeps/x86_64/preconfigure.in: New file.
41770 * sysdeps/x86_64/preconfigure: New generated file.
41771
c0df8e69
JM
417722012-03-22 Joseph Myers <joseph@codesourcery.com>
41773
48e44791
JM
41774 [BZ #13824]
41775 * math/e_exp2l.c: Include <float.h>.
41776 (__ieee754_exp2l): Handle overflow and underflow cases
41777 separately. Only pass fractional part of argument to
41778 __ieee754_expl.
41779 * math/libm-test.inc (exp2_test): Add more tests.
41780
c0df8e69
JM
41781 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41782 negating x to take absolute value.
41783 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41784 Likewise.
41785 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41786 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41787 Likewise.
41788 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41789 computing low part if x was negated.
41790 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41791
c8e43ba7
L
417922012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41793
41794 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41795 la_x32_gnu_pltexit.
41796 (pltexit): Cast int_retval to ptrdiff_t.
41797 * elf/tst-auditmod3b.c: Likewise.
41798 * elf/tst-auditmod4b.c: Likewise.
41799 * elf/tst-auditmod5b.c: Likewise.
41800 * elf/tst-auditmod6b.c: Likewise.
41801 * elf/tst-auditmod6c.c: Likewise.
41802 * elf/tst-auditmod7b.c: Likewise.
41803
41804 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41805 and x32_gnu_pltexit.
41806
41807 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41808 __ELF_NATIVE_CLASS.
41809 (La_x32_regs): New macro.
41810 (La_x32_retval): Likewise.
41811 (la_x32_gnu_pltenter): New function prototype.
41812 (la_x32_gnu_pltexit): Likewise.
41813
7998fa78
AS
418142012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41815
dcb33988
AS
41816 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41817 exponent.
41818
233fc563
AS
41819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41820
7998fa78
AS
41821 * configure.in (libc_cv_cc_nofma): Check for option to disable
41822 generation of FMA instructions.
41823 * configure: Regenerate.
41824 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41825 * sysdeps/ieee754/dbl-64/Makefile: New file.
41826 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41827 Remove brandred-fma4.
41828 (CFLAGS-brandred-fma4.c): Remove.
41829 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41830 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41831 define.
41832 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41833 define.
41834
8e95c99a
L
418352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41836
41837 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41838 LLONG_MAX != LONG_MAX.
41839 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41840 (_fitoa_word): Likewise.
41841 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41842 LLONG_MAX != LONG_MAX.
41843 * stdio-common/_itowa.h: Include <_itoa.h>.
41844 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41845 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41846 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41847 only if not defined.
41848 (_ITOA_WORD_TYPE): Likewise.
41849 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41850 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41851
6f4db457
DM
418522012-03-21 David S. Miller <davem@davemloft.net>
41853
41854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41855
7785fe5a
L
418562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41857
41858 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41859 of x86_64 when setting libc_cv_slibdir, libdir and
41860 libc_cv_localedir.
41861 * sysdeps/unix/sysv/linux/configure: Regenerated.
41862
4535cd55
JM
418632012-03-21 Joseph Myers <joseph@codesourcery.com>
41864
41865 * manual/lang.texi (Old Varargs): Remove section.
41866 (How Variadic): Update menu.
41867 (va_start): Do not mention varargs.h.
41868
17228132
TS
418692012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41870 Joseph Myers <joseph@codesourcery.com>
41871
41872 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41873 link test.
41874 * configure: Regenerated.
41875
8149f976
TS
418762012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41877
05f3d1f6
UD
41878 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41879 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41880 conformtest.pl
8149f976 41881
1a4ac776
JM
418822012-03-21 Joseph Myers <joseph@codesourcery.com>
41883
be22ce65
JM
41884 * NOTES: Remove.
41885 * Makefile (files-for-dist): Remove NOTES.
41886 (NOTES): Remove rule.
41887 * README: Don't refer to NOTES.
41888 * manual/creature.texi: Don't include macros.texi.
41889 * manual/intro.texi (creature.texi): Remove comment referring to
41890 NOTES.
41891
40b601fb
JM
41892 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41893 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41894 * configure: Regenerated.
41895 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41896 LIBC_TRY_CC_OPTION.
41897 (libc_cv_as_i686): Likewise.
41898 (libc_cv_cc_avx): Likewise.
41899 (libc_cv_cc_sse2avx): Likewise.
41900 (libc_cv_cc_fma4): Likewise.
41901 (libc_cv_cc_novzeroupper): Likewise.
41902 * sysdeps/i386/configure: Regenerated.
41903
1a4ac776
JM
41904 [BZ #13883]
41905 * sysdeps/i386/fpu/s_cexp.S: Remove.
41906 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41907 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41908 * math/libm-test.inc (cexp_test): Add more tests.
41909 * sysdeps/i386/fpu/libm-test-ulps: Update.
41910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41911
a458e7fe
AM
419122012-03-21 Allan McRae <allan@archlinux.org>
41913
41914 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41915
0cb7efc5
JM
419162012-03-21 Joseph Myers <joseph@codesourcery.com>
41917
41918 [BZ #13871]
41919 * math/w_exp2.c: Do not include <float.h>.
41920 (o_threshold, u_threshold): Remove.
41921 (__exp2): Calculate result before checking finiteness and calling
41922 __kernel_standard.
41923 * math/w_exp2f.c: Likewise.
41924 * math/w_exp2l.c: Likewise.
41925 * math/libm-test.inc (exp2_test): Require overflow exception for
41926 1e6 input.
2460d3aa
JM
41927
41928 [BZ #3866]
41929 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41930 range of signed 64-bit integers before using fistpll. Remove
41931 checks for whether integers fit in mantissa bits.
41932 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41933 the range of signed 32-bit integers before using fistpl. Remove
41934 checks for whether integers fit in mantissa bits.
41935 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41936 (__ieee754_powl): Test for y outside the range of signed 64-bit
41937 integers before using fistpll. Reduce 64-bit values to 63-bit
41938 ones as needed.
41939 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41940 divide-by-zero is raised for zero to large negative powers.
41941 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41942 (__ieee754_powl): Test for y outside the range of signed 64-bit
41943 integers before using fistpll. Reduce 64-bit values to 63-bit
41944 ones as needed.
41945 * math/libm-test.inc (pow_test): Add more tests.
41946
eb96ffb0
L
419472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41948
41949 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41950 <stdio-common/_itoa.h>.
41951 * debug/segfault.c: Likewise.
41952 * elf/dl-cache.c: Likewise.
41953 * elf/dl-minimal.c: Likewise.
41954 * elf/dl-misc.c: Likewise.
41955 * elf/dl-sysdep.c: Likewise.
41956 * elf/dl-version.c: Likewise.
41957 * elf/rtld.c: Likewise.
41958 * hurd/hurdsock.c: Likewise.
41959 * hurd/lookup-retry.c: Likewise.
41960 * malloc/malloc.c: Likewise.
41961 * malloc/mtrace.c: Likewise.
41962 * nscd/nscd_getgr_r.c: Likewise.
41963 * nscd/nscd_getpw_r.c: Likewise.
41964 * nscd/nscd_getserv_r.c: Likewise.
41965 * posix/getopt_init.c: Likewise.
41966 * posix/wordexp.c: Likewise.
41967 * stdio-common/_itoa.c: Likewise.
41968 * stdio-common/printf_fphex.c: Likewise.
41969 * stdio-common/vfprintf.c: Likewise.
41970 * string/_strerror.c: Likewise.
41971 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41972 * sysdeps/i386/i686/hp-timing.h: Likewise.
41973 * sysdeps/mach/_strerror.c: Likewise.
41974 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41975 * sysdeps/mach/hurd/sethostid.c: Likewise.
41976 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41977 * sysdeps/mach/xpg-strerror.c: Likewise.
41978 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41979 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41980 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41981 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41982 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41983 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41984 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41985 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41986 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41987 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41988 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41989 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41990 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41991 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41992 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41993 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41994 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41995 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41996 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41997 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41998 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41999
42000 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42001
42002 * stdio-common/_itoa.h: Moved to ...
42003 * sysdeps/generic/_itoa.h: Here.
42004
42005 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42006
42007 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42008 instead of "_itoa.h" and "_itowa.h".
42009 * stdio-common/vfprintf.: Likewise.
42010
d1af992d
L
420112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42012
42013 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42014 <bits/wordsize.h>.
42015 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42016 (__signbit): Likwise.
42017 (llrintf): Likwise.
42018 (llrint): Likwise.
42019
114883e0
L
420202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42021
42022 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42023 __WORDSIZE != 64.
42024
c135cc1b
JM
420252012-03-20 Joseph Myers <joseph@codesourcery.com>
42026
42027 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42028 OVERFLOW_EXCEPTION_OK.
42029 * math/libm-test.inc ("Philosophy"): Update comment about
42030 exception testing.
42031 (OVERFLOW_EXCEPTION): Define.
42032 (OVERFLOW_EXCEPTION_OK): Likewise.
42033 (INVALID_EXCEPTION_OK): Renumber.
42034 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42035 (IGNORE_ZERO_INF_SIGN): Likewise.
42036 (test_exceptions): Handle FE_OVERFLOW.
42037 (exp10_test): Expect overflow exceptions.
42038 (exp2_test): Likewise.
42039 (expm1_test): Likewise.
42040 (nextafter_test): Likewise.
42041 (pow_test): Likewise.
42042 (scalbn_test): Likewise.
42043 (scalbln_test): Likewise.
42044
95443d88
L
420452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42046
42047 * sysdeps/x86_64/bits/atomic.h
42048 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42049 64bit integer.
42050 (atomic_exchange_acq): Likewise.
42051 (__arch_exchange_and_add_body): Likewise.
42052 (__arch_add_body): Likewise.
42053 (atomic_add_negative): Likewise.
42054 (atomic_add_zero): Likewise.
42055
490df6c4
L
420562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42057
c2722551 42058 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
42059 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42060
5e52b189
L
420612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42062
42063 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42064 Check __x86_64__ instead of __WORDSIZE.
42065
a9879d4c
L
420662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42067
42068 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42069
5df98260
DM
420702012-03-19 David S. Miller <davem@davemloft.net>
42071
e1497744
DM
42072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42073
5df98260
DM
42074 * sysdeps/sparc/fpu/fenv_private.h: New file.
42075 * sysdeps/sparc/fpu/math_private.h: Use it.
42076 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42077 Remove.
57f41c40 42078 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
42079 (libc_feholdexcept_setroundl): Remove.
42080 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42081 Remove.
42082 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42083 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42084
b4c35121
L
420852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42086
42087 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42088 int64_t instead of long int.
42089 (INSERT_WORDS64): Likwise.
42090
56965fd7
L
420912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42092
42093 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42094 _Unwind_GetCFA return to _Unwind_Ptr first.
42095
83d1aec8
JM
420962012-03-19 Joseph Myers <joseph@codesourcery.com>
42097
1897ad44
JM
42098 [BZ #13629]
42099 * math/s_clog.c: Include <float.h>.
42100 (__clog): Scale large or subnormal inputs.
42101 * math/s_clogf.c: Likewise.
42102 * math/s_clogl.c: Likewise.
42103 * math/s_clog10.c: Include <float.h>.
42104 (M_LOG10_2): Define.
42105 (__clog10): Scale large or subnormal inputs.
42106 * math/s_clog10f.c: Likewise.
42107 * math/s_clog10l.c: Likewise.
42108 * math/libm-test.inc (clog_test): Add more tests.
42109 (clog10_test): Likewise.
42110 * sysdeps/i386/fpu/libm-test-ulps: Update.
42111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42112
7726d6a9
JM
42113 [BZ #11451]
42114 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42115 x and y.
42116 * math/libm-test.inc (atan2_test): Add another test.
42117
83d1aec8
JM
42118 * Makerules (common-objdir-compile): Remove.
42119 * sysdeps/unix/Makefile (config-generated): Do not add
42120 $(unix-generated) to variable.
42121 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42122 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42123 Remove rule.
42124 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42125 Likewise.
42126 [generic bits/local_lim.h] (before-compile): Do not append to
42127 variable.
42128 [generic bits/local_lim.h] (common-generated): Likewise.
42129 [generic sys/param.h] (before-compile): Do not append to variable.
42130 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42131 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42132 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42133 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42134 include.
42135 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42136 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42137 [generic sys/param.h] ($(addprefix
42138 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42139 [generic sys/param.h] (common-generated): Do not append to
42140 variable.
42141 [generic sys/param.h] (sysdep_headers): Likewise.
42142 [generic bits/errno.h] (before-compile): Do not append to
42143 variable.
42144 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42145 rule.
42146 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42147 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42148 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42149 [generic bits/errno.h] (common-generated): Do not append to
42150 variable.
42151 [generic bits/ioctls.h] (before-compile): Do not append to
42152 variable.
42153 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42154 rule.
42155 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42156 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42157 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42158 rule.
42159 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42160 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42161 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42162 [generic bits/ioctls.h] (common-generated): Do not append to
42163 variable.
42164 [generic sys/syscall.h] (syscall.h): Remove variable.
42165 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42166 rule.
42167 [generic sys/syscall.h] (before-compile): Do not append to
42168 variable.
42169 [generic sys/syscall.h] (common-generated): Likewise.
42170 * sysdeps/unix/errnos-tmpl.c: Remove file.
42171 * sysdeps/unix/errnos.awk: Likewise.
42172 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42173 * sysdeps/unix/ioctls.awk: Likewise.
42174 * sysdeps/unix/mk-local_lim.c: Likewise.
42175 * sysdeps/unix/snarf-ioctls: Likewise.
42176
4851a949
RH
421772012-03-19 Richard Henderson <rth@twiddle.net>
42178
bd37f2ee
RH
42179 * sysdeps/i386/fpu/fenv_private.h: New file.
42180 * sysdeps/i386/fpu/math_private.h: Use it.
42181 (math_opt_barrier, math_force_eval): Remove.
42182 (libc_feholdexcept_setround_53bit): Remove.
42183 (libc_feupdateenv_53bit): Remove.
42184 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42185 (math_opt_barrier, math_force_eval): Remove.
42186 (libc_feholdexcept): Remove.
42187 (libc_feholdexcept_setround): Remove.
42188 (libc_fetestexcept, libc_fesetenv): Remove.
42189 (libc_feupdateenv_test): Remove.
42190 (libc_feupdateenv, libc_feholdsetround): Remove.
42191 (libc_feresetround): Remove.
42192
d0adc922
RH
42193 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42194 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42195
0fe0f1f8
RH
42196 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42197 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42198 (libc_feupdateenv_testl): New.
42199 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42200 (libc_feupdateenv_testf): New.
42201 (libc_feupdateenv): Use libc_feupdateenv_test.
42202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42203 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42204
eb92c487
RH
42205 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42206 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42207 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42208 (libc_feresetround_noex): New.
42209 (libc_feresetround_noexf): New.
42210 (libc_feresetround_noexl): New.
42211 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42212 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42213 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42214 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42215 SET_RESTORE_ROUND.
42216 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42217 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42218 (__cos): Likewise.
42219 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42220 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42221 SET_RESTORE_ROUND_NOEX.
42222 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42223 SET_RESTORE_ROUND_NOEXF.
42224 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42225 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42226 (libc_feholdsetroundf): New.
42227 (libc_feresetround, libc_feresetroundf): New.
42228
7d2e8012
RH
42229 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42230 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42231 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42232
b4dabbb4
RH
42233 * sysdeps/generic/math_private.h: Include <fenv.h>.
42234 (default_libc_feholdexcept): New.
42235 (default_libc_feholdexcept_setround): New.
42236 (default_libc_fesetenv, default_libc_feupdateenv): New.
42237 (libc_feholdexcept): Only define if undefined.
42238 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42239 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42240 (libc_feholdexcept_setroundl): Likewise.
42241 (libc_feholdexcept_setround_53bit): Likewise.
42242 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42243 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42244 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42245 (libc_feupdateenv_53bit): Likewise.
42246 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42247 (libc_feholdexcept): Convert from macro to inline function.
42248 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42249 (libc_fesetenv, libc_feupdateenv): Likewise.
42250
4851a949
RH
42251 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42252 not previously defined.
42253 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42254 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42255 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42256 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42257 * sysdeps/ieee754/flt-32/math_private.h: New file.
42258 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42259 math_private.h below SET_FLOAT_WORD.
42260 (__isnan, __isinf_ns, __finite): Remove.
42261 (__isnanf, __isinf_nsf, __finitef): Remove.
42262
e79d442e
AS
422632012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42264
42265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42266
90b80344
DM
422672012-03-17 David S. Miller <davem@davemloft.net>
42268
42269 [BZ #6471]
42270 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42271 for 2.16.
42272
edc21804
DM
422732012-03-16 David S. Miller <davem@davemloft.net>
42274
77e927af
DM
42275 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42276 warnings.
42277
374976dd
DM
42278 [BZ #6471]
42279 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42280 properly.
42281 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42282 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42283 sysdep_routines when subdir is sysvipc.
42284 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42285 __getshmlba helper.
42286
edc21804
DM
42287 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42288
473c3ef3
L
422892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42290
42291 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42292 [__LP64__].
42293
eb0f39b6
L
422942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42295
42296 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42297 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42298 (__lround): Renamed to ...
42299 (__llround): This. Replace long int with long long int.
42300 Define lround functions as aliases of llround functions.
42301 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42302
6b6cd74b
L
423032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42304
42305 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42306 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42307 adresses to uintptr_t. Replace "long int" and "unsigned long
42308 int" with "greg_t" on va_arg.
42309
f1a77b01
L
423102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42311
42312 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42313 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42314
42315 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42316 Move e_machine check before EI_CLASS check. Handle x32
42317 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42318 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42319 SKIP_EM_IA_64 and include
42320 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42321
42322 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42323 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42324 (add_system_dir): New macro.
42325
42326 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42327 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42328
11b90b9f
JM
423292012-03-16 Joseph Myers <joseph@codesourcery.com>
42330
c36e1d23
JM
42331 [BZ #2551]
42332 [BZ #2552]
42333 [BZ #2553]
42334 [BZ #2554]
42335 [BZ #2562]
42336 [BZ #2563]
42337 [BZ #2565]
42338 [BZ #2566]
42339 [BZ #2576]
42340 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42341 (y0): Likewise.
42342 * math/w_j0f.c (j0f): Likewise.
42343 (y0f): Likewise.
42344 * math/w_j0l.c (__j0l): Likewise.
42345 (__y0l): Likewise.
42346 * math/w_j1.c (j1): Likewise.
42347 (y1): Likewise.
42348 * math/w_j1f.c (j1f): Likewise.
42349 (y1f): Likewise.
42350 * math/w_j1l.c (__j1l): Likewise.
42351 (__y1l): Likewise.
42352 * math/w_jn.c (jn): Likewise.
42353 (yn): Likewise.
42354 * math/w_jnf.c (jnf): Likewise.
42355 (ynf): Likewise.
42356 * math/w_jnl.c (__jnl): Likewise.
42357 (__ynl): Likewise.
42358 * math/libm-test.inc (j0_test): Add more tests.
42359 (j1_test): Likewise.
42360 (jn_test): Likewise. Add trailing semicolon to existing test.
42361 (y0_test): Likewise.
42362 (y1_test): Likewise.
42363 * sysdeps/i386/fpu/libm-test-ulps: Update.
42364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42365
11b90b9f
JM
42366 [BZ #13851]
42367 [BZ #13854]
42368 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42369 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42370 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42371 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42372 (__tanl): Set errno for infinite argument.
42373 * sysdeps/i386/fpu/mptan.c: Remove.
42374 * sysdeps/i386/fpu/s_tan.S: Likewise.
42375 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42376 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42377 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42378 * math/libm-test.inc (tan_test): Add more tests and enable more
42379 tests for double and long double.
42380 * sysdeps/i386/fpu/libm-test-ulps: Update.
42381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42382
6a1bd2a1
JK
423832012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42384
42385 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42386 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42387
10a803e0
RM
423882012-03-16 Roland McGrath <roland@hack.frob.com>
42389
42390 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42391 * configure.in: Use it for both main tree and add-ons.
42392 * configure: Regenerated.
42393
f196c7f7
L
423942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42395
42396 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42397
8848d99d
JM
423982012-03-16 Joseph Myers <joseph@codesourcery.com>
42399
96cbe7f4
JM
42400 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42401 in comment.
42402
8848d99d
JM
42403 [BZ #13851]
42404 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42405 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42406 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42407 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42408 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42409 infinite argument.
42410 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42411 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42412 != 0 for prec == 2.
42413 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42414 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42415 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42416 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42417 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42418 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42419 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42420 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42421 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42422 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42423 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42424 * math/libm-test.inc (cos_test): Add more tests and enable more
42425 tests for long double.
42426 (sin_test): Likewise.
42427 (sincos_test): Likewise.
42428 * sysdeps/i386/fpu/libm-test-ulps: Update.
42429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42430
dd7f4703
DM
424312012-03-16 David S. Miller <davem@davemloft.net>
42432
42433 * sysdeps/sparc/fpu/math_private.h: New file.
42434
006f1daa
DM
424352012-03-15 David S. Miller <davem@davemloft.net>
42436
c0c83bc8
DM
42437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42438 file.
e6a62e18 42439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
42440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42441 file.
e6a62e18
DM
42442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42447 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42448 sysdep routines.
42449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42450
88cb87d9
DM
42451 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42452 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42453
006f1daa 42454 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
42455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42456 sparc-ifunc.h
006f1daa 42457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
42458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42459 Likewise.
42460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42461 Likewise.
006f1daa
DM
42462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
42465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42466 Likewise.
006f1daa
DM
42467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
42471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42472 Likewise.
42473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42474 Likewise.
006f1daa
DM
42475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42479 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42481 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42482 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42493 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42494 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42495 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42496 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42497 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42498 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42499
11e0098e
AS
425002012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42501
42502 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42503 scaling.
42504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42505
e85b09d0
AJ
425062012-03-15 Andreas Jaeger <aj@suse.de>
42507
42508 [BZ #13852]
42509 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42510 ieee754/flt-32 implementation for sin, cos and sincos.
42511 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42512 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42513 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42514 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42515 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42516 ieee754/flt-32 implementation for tan.
42517
42518 * math/libm-test.inc (cos_test): Enable some large input tests for
42519 float as well
42520 (sin_test): Likewise.
42521 (sincos_test): Likewise.
42522 (tan_test): Add tests for large input.
42523
42524 * sysdeps/i386/fpu/libm-test-ulps: Update.
42525
81c64153
AJ
425262012-03-15 Andreas Jaeger <aj@suse.de>
42527
42528 [BZ #13658]
42529 * math/libm-test.inc (cos_test): Add more test cases.
42530 (sin_test): Likewise.
42531 (sincos_test): Likewise.
42532
7bbfa5c6
AJ
425332012-03-15 Andreas Jaeger <aj@suse.de>
42534
42535 [BZ #13837]
42536 * math/libm-test.inc (cos_test): Add a test case for large input
42537 value.
42538 (sin_test): Likewise.
42539 (sincos_test): Likewise.
42540
57f41c40
AS
425412012-03-15 Andreas Jaeger <aj@suse.de>
42542 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
42543
42544 [BZ #13658]
0671f479 42545 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
42546 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42547 * sysdeps/i386/fpu/branred.c: Likewise.
42548 * sysdeps/i386/fpu/dosincos.c: Likewise.
42549 * sysdeps/i386/fpu/mpa.c: Likewise.
42550 * sysdeps/i386/fpu/s_cos.S: Likewise.
42551 * sysdeps/i386/fpu/s_sin.S: Likewise.
42552 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42553 * sysdeps/i386/fpu/sincos32.c: Likewise.
42554
42555 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42556 Define.
42557 (libc_feupdateenv_53bit): Define.
42558 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42559 Define.
42560 (libc_feupdateenv_53bit): Define.
42561
42562 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42563 53 bit (without extend i386 double precision).
42564
42565 * math/libm-test.inc (sincos_test): Add tests for large input.
42566 (sin): Likewise.
42567 (cos): Likewise.
42568
42569 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42570
9cad04ea
AS
425712012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42572
42573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42574
f7062b9a
DM
425752012-03-15 David S. Miller <davem@davemloft.net>
42576
42577 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42578 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42579 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42580 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42593 file.
f7062b9a 42594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42596 file.
f7062b9a 42597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42599 file.
f7062b9a 42600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42602 file.
f7062b9a
DM
42603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42604 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42605 fmin/fmax sysdep routines.
42606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42607
7bd951ff
DM
426082012-03-14 David S. Miller <davem@davemloft.net>
42609
559398ab
DM
42610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42613 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42614 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42615 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42616 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42617 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42630 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42632 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42633 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42634 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42635 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42636 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42637 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42638 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42639 routines.
42640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42641 file.
559398ab 42642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42644 file.
559398ab 42645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42647 file.
559398ab 42648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42650 file.
559398ab 42651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42653 file.
559398ab 42654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42656 file.
42657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42658 file.
42659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42660 file.
42661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42662 file.
42663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42664 New file.
42665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42666 file.
42667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42668 file.
559398ab 42669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42671 file.
559398ab 42672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42674 file.
559398ab 42675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42677 file.
559398ab 42678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42680 VIS3 routines.
559398ab
DM
42681
42682 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42683 New file.
42684
5a1c1e32
DM
42685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42686
eae47a36
DM
42687 * sysdeps/sparc/configure.in: New file.
42688 * sysdeps/sparc/configure: Generate.
42689 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42690 * configure: Regenerate.
42691 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42692 * config.make.in (have-as-vis3): New.
42693 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42694 available use -Av9d instead of -Av9a.
42695 * sysdeps/sparc/sparc64/Makefile: Likewise.
42696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42698 New file.
42699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42700 file.
42701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42702 New file.
42703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42704 file.
eae47a36
DM
42705 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42706 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42707 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42708 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42709 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42710
c0c83bc8
DM
42711 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42712 fzeros/fnegs to load 0x80000000 into a float register instead of
42713 using the stack.
7bd951ff
DM
42714 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42715
bd951ccb
JM
427162012-03-14 Joseph Myers <joseph@codesourcery.com>
42717
42718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42719 bits/syscall.h.
42720 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42721 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42722 ($(inst_includedir)/bits/syscall.h): Remove rule.
42723 ($(objpfx)bits/syscall.d): Include instead of
42724 $(objpfx)syscall-list.d.
42725 (generated): Change syscall-list.h and syscall-list.d to
42726 bits/syscall.h and bits/syscall.d.
42727
bb4e6db2
RM
427282012-03-14 Roland McGrath <roland@hack.frob.com>
42729
42730 [BZ #13846]
42731 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42732
aa4a2ae1
JM
427332012-03-14 Joseph Myers <joseph@codesourcery.com>
42734
e456826d
JM
42735 [BZ #13841]
42736 * math/s_csqrt.c: Include <float.h>.
42737 (__csqrt): Scale large or subnormal inputs.
42738 * math/s_csqrtf.c: Likewise.
42739 * math/s_csqrtl.c: Likewise.
42740 * math/libm-test.inc (csqrt_test): Add more tests.
42741 * sysdeps/i386/fpu/libm-test-ulps: Update.
42742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42743
aa4a2ae1
JM
42744 [BZ #13840]
42745 * math/libm-test.inc (hypot_test): Add more tests.
42746
7c10fd35
DM
427472012-03-13 David S. Miller <davem@davemloft.net>
42748
42749 [BZ #13840]
42750 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42751 double-precision for the calculation instead of scaling.
42752
f453b98b
JM
427532012-03-13 Joseph Myers <joseph@codesourcery.com>
42754
42755 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42756 manipulate bits before adding and subtracting TWO52[sx].
42757 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42758 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42759 Likewise.
42760 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42761
09a3453f
DM
427622012-03-13 David S. Miller <davem@davemloft.net>
42763
8e59da90
DM
42764 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42765 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42766 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42767 rtld-global-offsets.h
42768 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42769
2a8ab7f2
DM
42770 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42771 large parameters.
42772
10f62770
DM
42773 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42774
5f0bdb18
DM
42775 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42776 'err' in the ifdef scope in which it is actually used.
42777
09a3453f
DM
42778 * nss/nss_db/db-init.c: Include string.h
42779
b4b2eb5e
DM
427802012-03-12 David S. Miller <davem@davemloft.net>
42781
98bb2f1c
DM
42782 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42783 masking out of the most significant byte of random value used.
42784 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42785 Fix coding style in previous change.
42786
b4b2eb5e
DM
42787 * sysdeps/unix/sysv/linux/kernel-features.h
42788 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42789 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42790 expression.
42791 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42792 later.
42793
6e226b09
DM
427942012-03-11 David S. Miller <davem@davemloft.net>
42795
a1bcbd40
DM
42796 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42797 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42798 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42799 for 'resultvar' otherwise things get truncated on 64-bit.
42800
cb9d6174
DM
42801 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42802 Fix masking out of the most significant byte of random value used.
42803
6e226b09
DM
42804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42805
058c132d
AS
428062012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42807
42808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42809
2d2cd515
DM
428102012-03-09 David S. Miller <davem@davemloft.net>
42811
42812 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42813 variables with appropriate CPP guards.
57f41c40
AS
42814 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42815 from the frame pointer, not the stack pointer. Correct layout
42816 comments. Fix test on resulting framesize and the management of
42817 the outregs buffer for pltexit. Preserve floating point return
42818 values across _dl_call_pltexit call.
2d2cd515
DM
42819 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42820 framesize and the management of the outregs buffer for pltexit.
42821 Preserve floating point return values across _dl_call_pltexit
42822 call.
57f41c40
AS
42823 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42824 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42825 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42826 (print_exit): Fix format string for return register value.
42827
9a07f9d0
JM
428282012-03-10 Joseph Myers <joseph@codesourcery.com>
42829
42830 * sunrpc/Makefile (others): Add rpcgen.
42831 ($(objpfx)rpcgen): Remove special build rule and dependency on
42832 libc.
42833 * sunrpc/rpcgen.c: New file.
42834
547b5e30
PE
428352012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42836
c524201a
PE
42837 [BZ #13673]
42838 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42839 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42840 * sysdeps/i386/crti.S: Likewise.
42841 * sysdeps/i386/crtn.S: Likewise.
42842 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42843 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42844 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42845 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42846 * sysdeps/sh/crti.S: Likewise.
42847 * sysdeps/sh/crtn.S: Likewise.
42848 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42849
7b6235f2
PE
42850 [BZ #13673]
42851 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42852 with URL.
42853 * locale/programs/locfile-kw.gperf: Likewise.
42854 * locale/programs/charmap-kw.h: Regenerated.
42855 * locale/programs/locfile-kw.h: Likewise.
42856
547b5e30
PE
42857 [BZ #13673]
42858 * intl/plural.y: Replace FSF snail mail address with URL.
42859 * intl/plural.c: Regenerated.
42860
5f0a5dae
RH
428612012-03-09 Richard Henderson <rth@twiddle.net>
42862
42863 * include/math_private.h: Remove file.
42864 * math/math_private.h: Move file ...
42865 * sysdeps/generic/math_private.h: ... here.
42866
b8c03620
RH
42867 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42868 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42869 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42870
4e234f5d 42871 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42872 and <math_private.h>.
42873 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42874 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42875 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42876 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42877 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42878 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42879 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42880 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42881 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42882 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42883 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42884 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42885 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42886 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42887 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42888 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42889 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42890 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42891 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42892 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42894 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42895 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42896 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42897 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42898 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42899 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42900 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42901 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42902 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42903 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42904 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42905 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42906 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42907 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42908 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42909 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42910 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42911 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42912 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42913 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42914 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42915 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42916 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42917 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42918 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42919 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42920 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42921 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42922 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42923 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42924 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42925 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42926 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42927 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42928 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42929 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42930 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42931 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42932 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42933 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42934 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42935 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42936 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42937 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42938 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42939 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42940 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42941 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42942 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42943 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42944 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42945 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42946 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42947 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42948 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42949 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42950 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42951 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42952 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42953 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42954 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42955 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42956 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42957 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42958 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42959 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42960 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42961 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42962 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42963 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42964 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42965 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42966 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42967 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42968 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42969 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42970 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42971 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42972 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42973 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42974 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42975 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42976 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42977 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42978 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42979 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42980 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42981 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42982 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42983 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42984 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42985 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42986 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42987 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42988 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42989 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42990 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42991 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42992 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42993 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42994 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42995 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42996 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42997 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42998 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42999 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43000 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43001 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43002 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43003 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43004 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43005 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43006 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43007 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43008 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43009 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43010 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43011 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43012 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43013 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43014 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43015 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43016 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43017 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43018 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43019 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43020 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43021 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43022 * sysdeps/ieee754/k_standard.c: Likewise.
43023 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43024 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43025 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43026 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43027 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43028 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43029 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43030 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43031 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43032 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43033 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43034 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43035 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43036 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43037 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43038 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43039 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43040 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43041 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43042 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43043 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43044 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43045 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43046 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43047 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43048 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43049 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43050 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43051 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43052 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43053 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43054 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43055 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43056 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43057 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43058 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43059 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43060 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43061 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43062 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43063 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43064 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43065 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43066 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43067 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43068 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43069 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43070 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43071 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43072 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43073 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43074 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43075 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43076 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43077 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43078 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43079 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43080 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43081 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43082 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43083 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43084 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43085 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43086 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43087 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43088 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43089 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43090 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43091 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43092 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43093 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43094 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43095 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43096 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43097 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43098 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43099 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43100 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43101 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43102 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43103 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43104 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43105 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43106 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43107 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43108 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43109 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43110 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43111 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43112 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43113 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43114 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43115 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43116 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43117 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43118 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43119 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43120 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43121 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43122 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43123 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43124 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43125 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43126 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43127 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43128 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43129 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43130 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43131 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43132 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43133 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43134 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43135 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43136 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43137 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43138 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43139 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43140 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43141 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43142 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43143 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43144 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43145 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43146 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43147 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43148 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43149 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43150 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43151 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43152 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43153 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43154 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43155 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43156 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43157 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43158 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43159 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43160 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43161 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43162 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43163 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43164 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43165 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43166 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43167 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43168 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43169 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43170 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43171 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43172 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43173 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43174 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43175 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43176 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43177 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43178 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43179 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43180 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43181 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43182 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43183 * sysdeps/ieee754/s_lib_version.c: Likewise.
43184 * sysdeps/ieee754/s_matherr.c: Likewise.
43185 * sysdeps/ieee754/s_signgam.c: Likewise.
43186 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43187 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43188 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43189 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43190 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43191 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43192 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43193 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43194 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43195 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43196 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43197 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43198 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43199 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43200 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43201 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43202 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43203 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43204 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43205 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43206 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 43207
1991fa03
JM
432082012-03-09 Joseph Myers <joseph@codesourcery.com>
43209
43210 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43211 * sunrpc/rpc_main.c: Likewise.
43212 * sunrpc/rpc_svcout.c: Likewise.
43213
60d6f5a6
DM
432142012-03-09 David S. Miller <davem@davemloft.net>
43215
43216 * include/math_private.h: New file.
43217
4962050e
JM
432182012-03-09 Joseph Myers <joseph@codesourcery.com>
43219
02a6f887
JM
43220 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43221 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43222 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43223 from <bits/socket_type.h>.
43224 (enum __socket_type): Don't define here.
43225 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43227 bits/socket_type.h.
43228
c6e013c1
JM
43229 [BZ #13566]
43230 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43231 checking __USE_GNU.
43232
4962050e
JM
43233 * Makerules ($(inst_includedir)/%.h): New rule.
43234 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43235 (install-others): Remove variable setting.
43236 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43237
38842f45
RH
432382012-03-08 Richard Henderson <rth@twiddle.net>
43239
67bb6da6
RH
43240 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43241 from macro to inline function; merge with the
43242 !__LIBC_INTERNAL_MATH_INLINES version.
43243 (__ieee754_sqrtf): Likewise.
43244
15194b4b
RH
43245 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43246 to inline function.
43247 (__rintf, __floor, __floorf): Likewise.
43248
64e21ede
RH
43249 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43250 macro to inline function.
43251 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43252
38842f45
RH
43253 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43254 not <math/math_private.h>.
43255
c64bf5fe
DM
432562012-03-08 David S. Miller <davem@davemloft.net>
43257
43258 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43259 copyright year.
43260 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43261
82d86f28
TS
432622012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43263
43264 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43265 normalization.
43266 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43267 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43268
aea5d727
UD
432692012-03-08 Ulrich Drepper <drepper@gmail.com>
43270
43271 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43272 be defined individually, they must be defined as a block. Define
43273 S for printing a string instead of hidint the different by using a
43274 macro for adding the 'l'.
43275 * stdio-common/tst-fphex-wide.c: Adjust.
43276
70bca0a3
MP
432772012-03-07 Marek Polacek <polacek@redhat.com>
43278
43279 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43280
65b81130
MP
432812012-03-08 Marek Polacek <polacek@redhat.com>
43282
43283 [BZ #13806]
43284 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43285 * stdio-common/tst-fphex.c: Define a few macros to make the
43286 test reusable. Use them.
43287 * stdio-common/tst-fphex-wide.c: New file.
43288
07037eeb
JM
432892012-03-08 Joseph Myers <joseph@codesourcery.com>
43290
a7a93d50
JM
43291 [BZ #6911]
43292 * manual/macros.texi (gnusystems): New macro.
43293 (nongnusystems): Likewise.
43294 (gnulinuxhurdsystems): Likewise.
43295 (gnuhurdsystems): Likewise..
43296 (gnulinuxsystems): Likewise.
43297 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43298 variants of the GNU system, not "GNU system".
43299 * manual/conf.texi: Likewise.
43300 * manual/errno.texi: Likewise. Update example of errno macro
43301 expansion.
43302 * manual/filesys.texi: Likewise.
43303 (getumask): Document as specific to GNU/Hurd.
43304 * manual/install.texi: Likewise. Reword some references to
43305 GNU/Linux.
43306 * manual/intro.texi: Likewise.
43307 * manual/io.texi: Likewise.
43308 (File Name Portability): Detail which constraints are inapplicable
43309 to all GNU systems and which are only inapplicable to GNU/Hurd.
43310 * manual/job.texi: Likewise.
43311 * manual/llio.texi: Likewise.
43312 (O_NOCTTY): Document as present on GNU/Linux.
43313 * manual/maint.texi: Likewise.
43314 * manual/memory.texi: Likewise.
43315 * manual/pattern.texi: Likewise.
43316 * manual/pipe.texi: Likewise.
43317 * manual/process.texi: Likewise.
43318 * manual/resource.texi: Likewise.
43319 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43320 child on GNU/Hurd.
43321 * manual/setjmp.texi: Likewise.
43322 * manual/signal.texi: Likewise.
43323 * manual/startup.texi: Likewise.
43324 * manual/stdio.texi: Likewise.
43325 * manual/terminal.texi: Likewise.
43326 (ONLCR): Document as POSIX.
43327 (OXTABS): Document availability on GNU/Linux as XTABS.
43328 (ONOEOT): Document availability separately from other bits.
43329 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43330 * manual/time.texi: Likewise.
43331 * manual/users.texi: Likewise.
43332 * INSTALL: Regenerated.
43333 * sysdeps/gnu/errlist.c: Regenerated.
43334
07037eeb
JM
43335 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43336 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43337 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43338 puts.
43339 * configure: Regenerated.
43340
d1d3431a
JM
433412012-03-07 Joseph Myers <joseph@codesourcery.com>
43342
af6a1e37
JM
43343 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43344 default includes instead of AC_HEADER_CHECK.
43345 * sysdeps/i386/configure: Regenerated.
43346
d1d3431a
JM
43347 [BZ #10716]
43348 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43349 * math/s_cacoshf.c (__cacoshf): Likewise.
43350 * math/s_cacoshl.c (__cacoshl): Likewise.
43351 * math/s_casinh.c (__casinh): Set signs of result from argument.
43352 * math/s_casinhf.c (__casinhf): Likewise.
43353 * math/s_casinhl.c (__casinhl): Likewise.
43354 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43355 (casinh_test): Add more tests.
43356 * sysdeps/i386/fpu/libm-test-ulps: Update.
43357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43358
482ff4da
UD
433592012-03-07 Ulrich Drepper <drepper@gmail.com>
43360
872fda05
UD
43361 * po/zh_TW.po: Update from translation team.
43362
a4300c7a
UD
43363 * login/Makefile (distribute): Remove variable.
43364 * catgets/Makefile: Likewise.
43365 * mach/Makefile: Likewise.
43366 * malloc/Makefile: Likewise.
43367 * misc/Makefile: Likewise.
43368 * iconv/Makefile: Likewise.
43369 * nscd/Makefile: Likewise.
43370 * hurd/Makefile: Likewise.
43371 * manual/Makefile: Likewise.
43372 * locale/Makefile: Likewise.
43373 * intl/Makefile: Likewise.
43374 * conform/Makefile: Likewise.
43375 * nss/Makefile: Likewise.
43376 * time/Makefile: Likewise.
43377 * soft-fp/Makefile: Likewise.
43378 * dirent/Makefile: Likewise.
43379 * gmon/Makefile: Likewise.
43380 * po/Makefile: Likewise.
43381 * rt/Makefile: Likewise.
43382 * socket/Makefile: Likewise.
43383 * math/Makefile: Likewise.
43384 * signal/Makefile: Likewise.
43385 * debug/Makefile: Likewise.
43386 * elf/Makefile: Likewise.
43387 * timezone/Makefile: Likewise.
43388 * stdlib/Makefile: Likewise.
43389 * iconvdata/Makefile: Likewise.
43390 * sunrpc/Makefile: Likewise.
43391 * io/Makefile: Likewise.
43392 * argp/Makefile: Likewise.
43393 * inet/Makefile: Likewise.
43394 * hesiod/Makefile: Likewise.
43395 * grp/Makefile: Likewise.
43396 * csu/Makefile: Likewise.
43397 * wctype/Makefile: Likewise.
43398 * crypt/Makefile: Likewise.
43399 * libio/Makefile: Likewise.
43400 * string/Makefile: Likewise.
43401 * nis/Makefile: Likewise.
43402 * resolv/Makefile: Likewise.
43403 * stdio-common/Makefile: Likewise.
43404 * wcsmbs/Makefile: Likewise.
43405 * dlfcn/Makefile: Likewise.
43406 * posix/Makefile: Likewise.
43407
3b7c4e74 43408 [BZ #6959]
482ff4da
UD
43409 * timezone/Makefile: Don't install timezone files, just the programs
43410 and scripts.
43411
f72ed77d
UD
434122012-03-06 Ulrich Drepper <drepper@gmail.com>
43413
a000466f
UD
43414 * nss/databases.def: Add missing gshadow entry.
43415
f72ed77d
UD
43416 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43417
a53b7a4e
MP
434182012-03-06 Marek Polacek <polacek@redhat.com>
43419
43420 [BZ #13726]
43421 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43422 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43423 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43424 * stdio-common/tst-long-dbl-fphex.c: New file.
43425
e9258400
DM
434262012-03-06 David S. Miller <davem@davemloft.net>
43427
43428 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43429 (set_obp_int): New function.
43430 (get_obp_int): New function.
43431 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
43432 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43433 Avoid unused variable warnings on 'val' and use builtin_expect.
43434 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43435 __builtin_expect.
e9258400
DM
43436 (INLINE_CLONE_SYSCALL): Likewise.
43437
3bd2c723
DM
434382012-03-05 David S. Miller <davem@davemloft.net>
43439
43440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43441
bbb78d03
AS
434422012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43443
884c5db4
AS
43444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43445
bbb78d03
AS
43446 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43447 only for |x| >= 40.
43448 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43449
1c9f702a 434502012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
43451
43452 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43453 Replace gettimeofday with __vdso_gettimeofday.
43454
7be16f82
RM
43455 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43456 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43457 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
43458
43459 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43460 time with __vdso_time.
43461
ed58a00f
JM
434622012-03-05 Joseph Myers <joseph@codesourcery.com>
43463
43464 * manual/lang.texi (size_t): Note types to which size_t may be
43465 equivalent with the GNU C Library, but do not describe when
43466 differences between them are significant.
43467
30ee4ced
AJ
434682012-03-05 Andreas Jaeger <aj@suse.de>
43469
43470 * sysdeps/i386/fpu/libm-test-ulps: Update.
43471
b7cd39e8
JM
434722012-03-05 Joseph Myers <joseph@codesourcery.com>
43473
43474 [BZ #3976]
43475 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43476 (__ieee754_pow): Save and restore rounding mode and use
43477 round-to-nearest for main computations.
43478 * math/libm-test.inc (pow_test_tonearest): New function.
43479 (pow_test_towardzero): Likewise.
43480 (pow_test_downward): Likewise.
43481 (pow_test_upward): Likewise.
43482 (main): Call the new functions.
43483 * sysdeps/i386/fpu/libm-test-ulps: Update.
43484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
43485
43486 [BZ #3976]
43487 * math/libm-test.inc (cosh_test_tonearest): New function.
43488 (cosh_test_towardzero): Likewise.
43489 (cosh_test_downward): Likewise.
43490 (cosh_test_upward): Likewise.
43491 (sinh_test_tonearest): Likewise.
43492 (sinh_test_towardzero): Likewise.
43493 (sinh_test_downward): Likewise.
43494 (sinh_test_upward): Likewise.
43495 (main): Call the new functions.
43496 * sysdeps/i386/fpu/libm-test-ulps: Update.
43497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43498
6c6a98c9
TV
434992012-03-05 Tom de Vries <tom@codesourcery.com>
43500
43501 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43502 default stack guard is set in last bytes.
43503 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43504
21bb2d2e 435052012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 43506
21bb2d2e 43507 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 43508
21bb2d2e
AJ
43509 [BZ #13656]
43510 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43511 possibly allocate from heap instead of stack.
43512 * stdio-common/bug-vfprintf-nargs.c: New file.
43513 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 43514
c6922934
AS
435152012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43516
43517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43518
bc957d53
MP
435192012-03-03 Marek Polacek <polacek@redhat.com>
43520
43521 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43522 * math/math_private.h: Likewise.
43523 * stdlib/tst-strtod.c: Likewise.
43524 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43525 * sysdeps/x86_64/bits/atomic.h: Likewise.
43526
6358490d
DM
435272012-03-02 David S. Miller <davem@davemloft.net>
43528
43529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43533 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43534 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43535 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43536 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43537
01ae168d
RM
435382012-03-02 Roland McGrath <roland@hack.frob.com>
43539
d9a17c07
RM
43540 [BZ #13792]
43541 * manual/examples/README: New file, says the example source files
43542 can be used under GPL>=2.
43543 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43544 line containing just "*/".
43545 * manual/examples/add.c: Add copyright header (GPL>=2).
43546 * manual/examples/argp-ex1.c: Likewise.
43547 * manual/examples/argp-ex2.c: Likewise.
43548 * manual/examples/argp-ex3.c: Likewise.
43549 * manual/examples/argp-ex4.c: Likewise.
43550 * manual/examples/atexit.c: Likewise.
43551 * manual/examples/db.c: Likewise.
43552 * manual/examples/dir.c: Likewise.
43553 * manual/examples/dir2.c: Likewise.
43554 * manual/examples/execinfo.c: Likewise.
43555 * manual/examples/filecli.c: Likewise.
43556 * manual/examples/filesrv.c: Likewise.
43557 * manual/examples/fmtmsgexpl.c: Likewise.
43558 * manual/examples/genpass.c: Likewise.
43559 * manual/examples/inetcli.c: Likewise.
43560 * manual/examples/inetsrv.c: Likewise.
43561 * manual/examples/isockad.c: Likewise.
43562 * manual/examples/longopt.c: Likewise.
43563 * manual/examples/memopen.c: Likewise.
43564 * manual/examples/memstrm.c: Likewise.
43565 * manual/examples/mkfsock.c: Likewise.
43566 * manual/examples/mkisock.c: Likewise.
43567 * manual/examples/mygetpass.c: Likewise.
43568 * manual/examples/pipe.c: Likewise.
43569 * manual/examples/popen.c: Likewise.
43570 * manual/examples/rprintf.c: Likewise.
43571 * manual/examples/search.c: Likewise.
43572 * manual/examples/select.c: Likewise.
43573 * manual/examples/setjmp.c: Likewise.
43574 * manual/examples/sigh1.c: Likewise.
43575 * manual/examples/sigusr.c: Likewise.
43576 * manual/examples/stpcpy.c: Likewise.
43577 * manual/examples/strdupa.c: Likewise.
43578 * manual/examples/strftim.c: Likewise.
43579 * manual/examples/strncat.c: Likewise.
43580 * manual/examples/subopt.c: Likewise.
43581 * manual/examples/swapcontext.c: Likewise.
43582 * manual/examples/termios.c: Likewise.
43583 * manual/examples/testopt.c: Likewise.
43584 * manual/examples/testpass.c: Likewise.
43585 * manual/examples/timeval_subtract.c: Likewise.
43586
01ae168d
RM
43587 [BZ #13792]
43588 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43589 function to ...
43590 * manual/timeval_subtract.c.texi: ... here, new file.
43591
49efa33d
DM
435922012-03-02 David S. Miller <davem@davemloft.net>
43593
43594 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43595
28afd92d
JM
435962012-03-02 Joseph Myers <joseph@codesourcery.com>
43597
804360ed
JM
43598 [BZ #3976]
43599 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43600 (__sin): Save and restore rounding mode and use round-to-nearest
43601 for all computations.
43602 (__cos): Save and restore rounding mode and use round-to-nearest
43603 for all computations.
43604 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43605 <fenv.h>.
43606 (tan): Save and restore rounding mode and use round-to-nearest for
43607 all computations.
43608 * math/libm-test.inc (cos_test_tonearest): New function.
43609 (cos_test_towardzero): Likewise.
43610 (cos_test_downward): Likewise.
43611 (cos_test_upward): Likewise.
43612 (sin_test_tonearest): Likewise.
43613 (sin_test_towardzero): Likewise.
43614 (sin_test_downward): Likewise.
43615 (sin_test_upward): Likewise.
43616 (tan_test_tonearest): Likewise.
43617 (tan_test_towardzero): Likewise.
43618 (tan_test_downward): Likewise.
43619 (tan_test_upward): Likewise.
43620 (main): Call the new functions.
43621 * sysdeps/i386/fpu/libm-test-ulps: Update.
43622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43623
a6d06d7b
JM
43624 [BZ #10135]
43625 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43626 small n, then large n, before computing and testing k+n.
43627 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43628 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43629 Likewise.
43630 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43631 Likewise.
43632 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43633 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43634 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43635 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43636 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43637 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43638 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43639 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43640 * math/libm-test.inc (scalbn_test): Add more tests.
43641 (scalbln_test): Likewise.
43642
07e12bb3
JM
43643 * manual/filesys.texi (mode_t): Describe constraints on size and
43644 signedness, not exact equivalence to a particular type.
43645 (ino_t): Likewise.
43646 (ino64_t): Likewise.
43647 (dev_t): Likewise.
43648 (nlink_t): Likewise.
43649 (blkcnt_t): Likewise.
43650 (blkcnt64_t): Likewise.
43651 * manual/llio.texi (off_t): Likewise.
43652
28afd92d
JM
43653 [BZ #3976]
43654 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43655 (__ieee754_exp): Save and restore rounding mode and use
43656 round-to-nearest for all computations.
43657 * math/libm-test.inc (exp_test_tonearest): New function.
43658 (exp_test_towardzero): Likewise.
43659 (exp_test_downward): Likewise.
43660 (exp_test_upward): Likewise.
43661 (main): Call the new functions.
43662 * sysdeps/i386/fpu/libm-test-ulps: Update.
43663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43664
b1eeb65d
CD
436652012-03-01 Chris Demetriou <cgd@google.com>
43666
43667 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43668 have predictable order.
43669
53362a4b
DM
436702012-03-01 David S. Miller <davem@davemloft.net>
43671
3c969083
DM
43672 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43673
759707de
DM
43674 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43675 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43676 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43677 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43678
dfdb8ff2
DM
43679 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43680 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43681 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43683 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43684 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43685 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43686 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43687 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43688
ead89f96
DM
43689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43690
7f66bd07
DM
43691 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43692 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43693 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43694
53362a4b
DM
43695 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43696 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43697 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43698 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43699 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43700 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43701 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43702 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43703 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43704 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43705 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43706 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43707 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43708 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43709 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43710 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43711 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43712 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43713 * sysdeps/sparc/elf/configure: Regenerated.
43714
7b1902cb
JM
437152012-03-01 Joseph Myers <joseph@codesourcery.com>
43716
bec039bc
JM
43717 * configure.in (AS, LD): Require binutils 2.20 or later.
43718 * configure: Regenerated.
43719 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43720 as required minimum version.
43721 * INSTALL: Regenerated.
43722
7b1902cb
JM
43723 [BZ #2541]
43724 [BZ #4108]
43725 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43726 before squaring exponent.
43727 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43728 bottom long double and 27 bits of top long double before squaring
43729 exponent.
43730 * math/libm-test.inc (erfc_test): Add more tests.
43731 * sysdeps/i386/fpu/libm-test-ulps: Update.
43732 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43734
f775c276
KT
437352012-03-01 Kai Tietz <ktietz@redhat.com>
43736
43737 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43738 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43739 containing bit-fields.
43740 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43741 * soft-fp/single.h (_FP_UNION_S): Likewise.
43742 * soft-fp/double.h (_FP_UNION_D): Likewise.
43743
5b8a4d4a
JM
437442012-02-29 Joseph Myers <joseph@codesourcery.com>
43745
0bab47b6
JM
43746 [BZ #13786]
43747 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43748 not include ../strcmp.S.
43749 [USE_AS_STRNCASECMP_L]: Likewise.
43750 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43751 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43752 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43753 (__strncasecmp_l_ia32): Define as alias to
43754 __strncasecmp_l_nonascii.
43755
0fcad3e2
JM
43756 [BZ #5794]
43757 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43758 * sysdeps/i386/fpu/libm-test-ulps: Update.
43759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43760
5b8a4d4a
JM
43761 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43763
8fdceb2e
JL
437642012-02-29 Jeff Law <law@redhat.com>
43765
43766 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43767 out of bounds read.
43768
1f393a11
MP
437692012-02-29 Marek Polacek <polacek@redhat.com>
43770
43771 [BZ #13706]
43772 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43773 * elf/Makefile: Add rules to run tst-unused-dep.out.
43774
8847f037
DM
437752012-02-28 David S. Miller <davem@davemloft.net>
43776
43777 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43778 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43779 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43780 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43781 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43782 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43783
169d7f11
JM
437842012-02-29 Joseph Myers <joseph@codesourcery.com>
43785
43786 * math/libm-test.inc (llround_test): Move one test from
43787 lround_test. Use TEST_f_L in moved test.
43788 (lround_test): Move misplaced test to llround_test. Add testcase
43789 from bug 2561.
43790
39adf059
UD
437912012-02-28 Ulrich Drepper <drepper@gmail.com>
43792
43793 * sysdeps/x86_64/fpu/e_expf.S: New file.
43794 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43795
71b5d1c5
SB
437962012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43797
43798 [BZ #13637]
43799 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43800 of remain_len that may cause incomplete multi-byte character and
43801 false match.
43802 * posix/bug-regex33.c: New file.
43803 * posix/Makefile (tests): Add bug-regex33.
43804
1f77f049
JM
438052012-02-28 Joseph Myers <joseph@codesourcery.com>
43806
43807 * manual/macros.texi: New file.
43808 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43809 * manual/libc.texinfo: Include macros.texi.
43810 * manual/creatute.texi: Likewise.
43811 * manual/install.texi: Likewise.
43812 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43813 @glibcadj{} in references to the GNU C Library.
43814 * manual/charset.texi: Likewise.
43815 * manual/conf.texi: Likewise.
43816 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43817 when not using those macros.
43818 * manual/creature.texi: Likewise.
43819 * manual/crypt.texi: Likewise.
43820 * manual/errno.texi: Likewise.
43821 * manual/filesys.texi: Likewise.
43822 * manual/header.texi: Likewise.
43823 * manual/install.texi: Likewise.
43824 * manual/intro.texi: Likewise.
43825 * manual/io.texi: Likewise.
43826 * manual/job.texi: Likewise.
43827 * manual/lang.texi: Likewise.
43828 * manual/libc.texiinfo: Likewise.
43829 * manual/llio.texi: Likewise.
43830 * manual/locale.texi: Likewise.
43831 * manual/maint.texi: Likewise.
43832 * manual/math.texi: Likewise.
43833 * manual/memory.texi: Likewise.
43834 * manual/message.texi: Likewise.
43835 * manual/nss.texi: Likewise.
43836 * manual/pattern.texi: Likewise.
43837 * manual/process.texi: Likewise.
43838 * manual/resource.texi: Likewise.
43839 * manual/search.texi: Likewise.
43840 * manual/setjmp.texi: Likewise.
43841 * manual/signal.texi: Likewise.
43842 * manual/socket.texi: Likewise.
43843 * manual/startup.texi: Likewise.
43844 * manual/stdio.texi: Likewise.
43845 * manual/string.texi: Likewise.
43846 * manual/sysinfo.texi: Likewise.
43847 * manual/syslog.texi: Likewise.
43848 * manual/terminal.texi: Likewise.
43849 * manual/time.texi: Likewise.
43850 * manual/users.texi: Likewise.
43851 * INSTALL: Regenerated.
43852 * NOTES: Regenerated.
d40c5d54 43853 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43854
450bf206
AS
438552012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43856
43857 * include/dirent.h: Include <dirstream.h> before
43858 <dirent/dirent.h>.
43859
741a235b
DM
438602012-02-28 David S. Miller <davem@davemloft.net>
43861
43862 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43863 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43864 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43865 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43866
d6b5aa58
DM
438672012-02-27 David S. Miller <davem@davemloft.net>
43868
1aff59a3
DM
43869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43871 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43872 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43873
d6b5aa58
DM
43874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43875 frame pointer instead of stack pointer relative arg slot.
43876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43877 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43878 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43879
433f48bf
CD
438802012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43881
43882 [BZ #3992]
43883 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43884
d674b76d
DM
438852012-02-27 David S. Miller <davem@davemloft.net>
43886
43887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43891 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43892 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43893 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43894 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43895
0e7727f7
JM
438962012-02-27 Joseph Myers <joseph@codesourcery.com>
43897
43898 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43899 later. Allow versions 5-9.
43be4ca2 43900 * configure: Regenerated.
0e7727f7
JM
43901 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43902 required minimum version and 4.6 as recommended version. Do not
43903 mention bugs in GCC 2.7 and 2.8.
43be4ca2 43904 * INSTALL: Regenerated.
0e7727f7 43905
a78bc654
DM
439062012-02-27 David S. Miller <davem@davemloft.net>
43907
428d5830
DM
43908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43912 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43913 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43914 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43915 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43916
a78bc654
DM
43917 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43918 manipulate bits before adding and subtracting TWO112[sx].
43919 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43920
4579f81c
RM
439212012-02-27 Roland McGrath <roland@hack.frob.com>
43922
36c8acb4
RM
43923 [BZ #13775]
43924 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43925 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43926 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43927 being in POSIX, because they are in 1003.1-2008.
43928
84ad622b
RM
43929 * rt/tst-aio.c: Include <fcntl.h>.
43930 * rt/tst-aio7.c: Likewise.
43931 * rt/tst-aio64.c: Likewise.
43932
4579f81c
RM
43933 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43934
abd923db
JM
439352012-02-27 Joseph Myers <joseph@codesourcery.com>
43936
43937 * manual/install.texi (--with-headers): Describe headers as
43938 interface headers, not private headers.
43939 (Specific advice for GNU/Linux systems): Describe use of headers
43940 from "make headers_install", not private headers from older
43941 kernels.
43be4ca2 43942 * INSTALL: Regenerated.
abd923db
JM
43943 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43944 Change to 2.6.19.
43945 * sysdeps/unix/sysv/linux/configure: Regenerated.
43946
6664049b
JM
43947 * manual/llio.texi (fclean): Remove documentation.
43948
bb8b6697
JM
43949 * manual/Makefile (libc-texi-generated): New variable. Include
43950 version.texi.
43951 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43952 $(libc-texi-generated), not duplicated list of files.
43953 (version.texi, stamp-version): New rules.
43954 (realclean): Remove $(libc-texi-generated), not individual files
43955 from that list. Do not remove dir-add.texinfo.
43956 * manual/libc.texinfo: Comment out uses of edition numbers and
43957 references to printed manual. Remove last-updated dates.
43958 (EDITION): Comment out.
43959 (ISBN): Likewise.
43960 (VERSION, UPDATED): Remove.
43961 (version.texi): Include.
43962
12e5c3b9
AS
439632012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43964
43965 * sysdeps/posix/spawni.c: Include <signal.h>.
43966 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43967 * sysdeps/pthread/aio_fsync.c: Likewise.
43968
4efeffc1 439692012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 43970
ba63ba08
UD
43971 * conform/Makefile (tests): Run only when not cross-compiling and
43972 when fast-check is not defined.
43973
d94a4670
UD
43974 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43975 * conform/data/limits.h-data: Fixes for POSIX2008.
43976 * conform/run-conformtest.sh: Run all tests.
43977 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43978 headers.
43979 * include/bits/dlfcn.h: Likewise.
43980 * include/langinfo.h: Likewise.
43981 * include/monetary.h: Likewise.
43982 * include/sys/poll.h: Likewise.
43983
43984 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43985 for __USE_GNU.
43986 * posix/spawn.h: Define __need_sigset_t.
43987 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43988 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43989 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43990 to get sigevent_t only.
43991 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43992 only for __USE_GNU.
43993 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43994 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43995 process_vm_writev only for __USE_GNU.
43996 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
43997
43998 * conform/Makefile: For now ignore errors from run-conformtest.
43999 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
44000 POSIX to avoid namespace pollution. Don't prepend headers.
44001 * conform/data/aio.h-data: Fixes for POSIX testing.
44002 * conform/data/fcntl.h-data: Likewise.
44003 * conform/data/glob.h-data: Likewise.
44004 * conform/data/grp.h-data: Likewise.
44005 * conform/data/pthread.h-data: Likewise.
44006 * conform/data/pwd.h-data: Likewise.
44007 * conform/data/signal.h-data: Likewise.
44008 * conform/data/spawn.h-data: Likewise.
44009 * conform/data/stdio.h-data: Likewise.
44010 * conform/data/stdlib.h-data: Likewise.
44011 * conform/data/stropts.h-data: Likewise.
44012 * conform/data/sys/mman.h-data: Likewise.
44013 * conform/data/sys/stat.h-data: Likewise.
44014 * conform/data/sys/types.h-data: Likewise.
44015 * conform/data/sys/wait.h-data: Likewise.
44016 * conform/data/time.h-data: Likewise.
44017 * conform/data/unistd.h-data: Likewise.
44018 * conform/data/utime.h-data: Likewise.
44019
44020 * io/sys/stat.h: fchmod was always in POSIX.
44021 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44022 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44023 * rt/aio.h: Define __need_timespec before including <time.h>.
44024 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44025 struct. Add forward declaration of pthread_attr_t and use it in
44026 sigevent.
44027 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44028 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44029 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44030 always remove CLK_TCK definition.
44031
c20105c3
AS
440322012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44033
44034 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44035
7a270350
UD
440362012-02-25 Ulrich Drepper <drepper@gmail.com>
44037
31341567
UD
44038 * conform/run-conformtest.sh: New file.
44039 * conform/Makefile: Run run-conformtest for tests.
44040 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44041 support.
44042
44043 * conform/data/uchar.h-data: New file.
44044 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44045 * conform/data/arpa/inet.h-data: Likewise.
44046 * conform/data/assert.h-data: Likewise.
44047 * conform/data/complex.h-data: Likewise.
44048 * conform/data/cpio.h-data: Likewise.
44049 * conform/data/ctype.h-data: Likewise.
44050 * conform/data/dirent.h-data: Likewise.
44051 * conform/data/dlfcn.h-data: Likewise.
44052 * conform/data/errno.h-data: Likewise.
44053 * conform/data/fcntl.h-data: Likewise.
44054 * conform/data/float.h-data: Likewise.
44055 * conform/data/fmtmsg.h-data: Likewise.
44056 * conform/data/fnmatch.h-data: Likewise.
44057 * conform/data/ftw.h-data: Likewise.
44058 * conform/data/glob.h-data: Likewise.
44059 * conform/data/grp.h-data: Likewise.
44060 * conform/data/iconv.h-data: Likewise.
44061 * conform/data/inttypes.h-data: Likewise.
44062 * conform/data/langinfo.h-data: Likewise.
44063 * conform/data/libgen.h-data: Likewise.
44064 * conform/data/limits.h-data: Likewise.
44065 * conform/data/locale.h-data: Likewise.
44066 * conform/data/math.h-data: Likewise.
44067 * conform/data/monetary.h-data: Likewise.
44068 * conform/data/mqueue.h-data: Likewise.
44069 * conform/data/ndbm.h-data: Likewise.
44070 * conform/data/net/if.h-data: Likewise.
44071 * conform/data/netdb.h-data: Likewise.
44072 * conform/data/netinet/in.h-data: Likewise.
44073 * conform/data/nl_types.h-data: Likewise.
44074 * conform/data/poll.h-data: Likewise.
44075 * conform/data/pthread.h-data: Likewise.
44076 * conform/data/pwd.h-data: Likewise.
44077 * conform/data/regex.h-data: Likewise.
44078 * conform/data/sched.h-data: Likewise.
44079 * conform/data/search.h-data: Likewise.
44080 * conform/data/semaphore.h-data: Likewise.
44081 * conform/data/setjmp.h-data: Likewise.
44082 * conform/data/signal.h-data: Likewise.
44083 * conform/data/spawn.h-data: Likewise.
44084 * conform/data/stdarg.h-data: Likewise.
44085 * conform/data/stdio.h-data: Likewise.
44086 * conform/data/stdlib.h-data: Likewise.
44087 * conform/data/string.h-data: Likewise.
44088 * conform/data/strings.h-data: Likewise.
44089 * conform/data/stropts.h-data: Likewise.
44090 * conform/data/sys/ipc.h-data: Likewise.
44091 * conform/data/sys/mman.h-data: Likewise.
44092 * conform/data/sys/msg.h-data: Likewise.
44093 * conform/data/sys/resource.h-data: Likewise.
44094 * conform/data/sys/select.h-data: Likewise.
44095 * conform/data/sys/sem.h-data: Likewise.
44096 * conform/data/sys/shm.h-data: Likewise.
44097 * conform/data/sys/socket.h-data: Likewise.
44098 * conform/data/sys/stat.h-data: Likewise.
44099 * conform/data/sys/statvfs.h-data: Likewise.
44100 * conform/data/sys/time.h-data: Likewise.
44101 * conform/data/sys/timeb.h-data: Likewise.
44102 * conform/data/sys/times.h-data: Likewise.
44103 * conform/data/sys/types.h-data: Likewise.
44104 * conform/data/sys/uio.h-data: Likewise.
44105 * conform/data/sys/un.h-data: Likewise.
44106 * conform/data/sys/utsname.h-data: Likewise.
44107 * conform/data/sys/wait.h-data: Likewise.
44108 * conform/data/syslog.h-data: Likewise.
44109 * conform/data/tar.h-data: Likewise.
44110 * conform/data/termios.h-data: Likewise.
44111 * conform/data/utime.h-data: Likewise.
44112 * conform/data/utmpx.h-data: Likewise.
44113 * conform/data/varargs.h-data: Likewise.
44114 * conform/data/wchar.h-data: Likewise.
44115 * conform/data/wctype.h-data: Likewise.
44116 * conform/data/wordexp.h-data: Likewise.
44117
44118 * include/stropts.h: New file.
44119 * include/uchar.h: New file.
44120 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44121 * include/assert.h: Likewise.
44122 * include/ctype.h: Likewise.
44123 * include/dirent.h: Likewise.
44124 * include/dlfcn.h: Likewise.
44125 * include/fcntl.h: Likewise.
44126 * include/fnmatch.h: Likewise.
44127 * include/glob.h: Likewise.
44128 * include/grp.h: Likewise.
44129 * include/libio.h: Likewise.
44130 * include/locale.h: Likewise.
44131 * include/math.h: Likewise.
44132 * include/net/if.h: Likewise.
44133 * include/netdb.h: Likewise.
44134 * include/netinet/in.h: Likewise.
44135 * include/pthread.h: Likewise.
44136 * include/pwd.h: Likewise.
44137 * include/regex.h: Likewise.
44138 * include/sched.h: Likewise.
44139 * include/search.h: Likewise.
44140 * include/setjmp.h: Likewise.
44141 * include/signal.h: Likewise.
44142 * include/stdio.h: Likewise.
44143 * include/stdlib.h: Likewise.
44144 * include/string.h: Likewise.
44145 * include/sys/cdefs.h: Likewise.
44146 * include/sys/mman.h: Likewise.
44147 * include/sys/msg.h: Likewise.
44148 * include/sys/resource.h: Likewise.
44149 * include/sys/select.h: Likewise.
44150 * include/sys/socket.h: Likewise.
44151 * include/sys/stat.h: Likewise.
44152 * include/sys/statvfs.h: Likewise.
44153 * include/sys/time.h: Likewise.
44154 * include/sys/times.h: Likewise.
44155 * include/sys/uio.h: Likewise.
44156 * include/sys/utsname.h: Likewise.
44157 * include/sys/wait.h: Likewise.
44158 * include/termios.h: Likewise.
44159 * include/time.h: Likewise.
44160 * include/ulimit.h: Likewise.
44161 * include/unistd.h: Likewise.
44162 * include/utime.h: Likewise.
44163 * include/wchar.h: Likewise.
44164 * include/wctype.h: Likewise.
44165 * include/wordexp.h: Likewise.
44166
44167 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44168
7a270350
UD
44169 * time/time.h: TIME_UTC must be a macro.
44170 Make timespec_get available for ISO C11 only as well.
44171
7724defc
UD
441722012-02-24 Ulrich Drepper <drepper@gmail.com>
44173
44174 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44175 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44176
6b1d1d46
JM
441772012-02-24 Joseph Myers <joseph@codesourcery.com>
44178
44179 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 44180
0f8bbd69
JM
441812012-02-24 Joseph Myers <joseph@codesourcery.com>
44182
44183 * manual/texinfo.tex: Update to version 2012-01-19.16.
44184
66ab80bc
JM
441852012-02-24 Joseph Myers <joseph@codesourcery.com>
44186
44187 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44188
74981cc5
RM
441892012-02-24 Roland McGrath <roland@hack.frob.com>
44190
ee968201
RM
44191 [BZ #13738]
44192 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44193 * manual/fdl-1.3.texi: New file.
44194 * manual/fdl-1.1.texi: File removed.
44195
74981cc5
RM
44196 [BZ #13738]
44197 * manual/libc.texinfo (FDL_VERSION): New @set.
44198 Use it for mention of FDL in cover text.
44199 (Documentation License): Use it in @include file name.
44200
7bb764bc
JM
442012012-02-22 Joseph Myers <joseph@codesourcery.com>
44202 Roland McGrath <roland@hack.frob.com>
44203
44204 [BZ #5461]
57f41c40
AS
44205 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44206 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
44207 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44208 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44209 name.
44210 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44211
6cbeae47
JM
442122012-02-22 Joseph Myers <joseph@codesourcery.com>
44213
44214 [BZ #2547]
44215 [BZ #11365]
44216 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44217 manipulate bits before adding and subtracting TWO23[sx].
44218 * math/libm-test.inc (nearbyint_test): Add more tests.
44219
fe45ce09
JM
442202012-02-22 Joseph Myers <joseph@codesourcery.com>
44221
44222 [BZ #2548]
44223 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44224 bits before adding and subtracting TWO23[sx].
44225 * math/libm-test.inc (rint_test): Add more tests.
44226 (rint_test_tonearest): Likewise.
44227 (rint_test_towardzero): Likewise.
44228 (rint_test_downward): Likewise.
44229 (rint_test_upward: Likewise.
44230
ff3b3d82
JM
442312012-02-22 Joseph Myers <joseph@codesourcery.com>
44232
44233 [BZ #10110]
44234 * include/stdc-predef.h: New file. Extracted from features.h.
44235 * include/features.h: Include stdc-predef.h.
44236 * Makefile (headers): Add stdc-predef.h.
44237 * CONFORMANCE (Compiler limitations): Update.
44238
ef0aab35
JM
442392012-02-22 Joseph Myers <joseph@codesourcery.com>
44240
44241 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44242
58639409
DM
442432012-02-21 David S. Miller <davem@davemloft.net>
44244
44245 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44246 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44247
c0e70b25
DM
442482012-02-20 David S. Miller <davem@davemloft.net>
44249
44250 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44251 using a normal save/restore sequence, rather than allocating a
44252 dummy stack frame just to store a frame pointer and restore.
44253 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44254
fb06851d
JM
442552012-02-21 Joseph Myers <joseph@codesourcery.com>
44256
44257 * manual/install.texi: Fix stray word in line-wrapped comment.
44258
7a8b71c3
DM
442592012-02-20 David S. Miller <davem@davemloft.net>
44260
d510c123
DM
44261 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44262 both binutils and gcc support GOTDATA.
44263
0722d7c2
DM
44264 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44265 "rd %pc" in the PIC register setup sequences.
44266
3d2b3019
DM
44267 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44268 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44269 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44270 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44271 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44272 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44273 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44274 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44275 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44276 (SYSCALL_ERROR_HANDLER): Likewise.
44277 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44278 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44280 (SYSCALL_ERROR_HANDLER): Likewise.
44281
c80098a9
DM
44282 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44283 (HAVE_GCC_GOTDATA): New.
44284 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44285 relocation support in both binutils and gcc.
44286 * sysdeps/sparc/elf/configure: Regenerate.
44287
3a2545a0
DM
44288 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44289 * sysdeps/sparc/sparc32/elf/configure: Delete.
44290 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44291 * sysdeps/sparc/sparc64/elf/configure: Delete.
44292 * sysdeps/sparc/elf/configure.in: New file.
44293 * sysdeps/sparc/elf/configure: Generate.
44294
7a8b71c3
DM
44295 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44296 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44297 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44298 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44299 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44300
f1e86fca
JM
443012012-02-21 Joseph Myers <joseph@codesourcery.com>
44302
44303 * manual/install.texi: Do not mention specific glibc version
44304 numbers.
44305 * manual/libc.texinfo (VERSION, UPDATED): Update.
44306 (@copying): Use @copyright{} and range of years.
44307
0e7dfaef
JM
443082012-02-21 Joseph Myers <joseph@codesourcery.com>
44309
44310 [BZ #13695]
44311 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44312 [crti.S not in sysdirs] (generated): Do not append.
44313 [crti.S not in sysdirs] (omit-deps): Likewise.
44314 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44315 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44316 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44317 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44318 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44319 Likewise.
44320 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44321 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44322 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44323 * csu/defs.awk: Remove file.
44324 * sysdeps/generic/initfini.c: Likewise.
44325 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44326 variable.
44327 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44328 Likewise.
44329
599af3ca
JM
443302012-02-20 Joseph Myers <joseph@codesourcery.com>
44331
44332 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44333 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44334 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44335 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44336 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44337 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44338 <bits/epoll.h>.
44339 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44340 (__EPOLL_PACKED): Define to empty if not defined by
44341 <bits/epoll.h>.
44342 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44344 bits/epoll.h.
44345
0e499750
JM
443462012-02-20 Joseph Myers <joseph@codesourcery.com>
44347
44348 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44349 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44350 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44351 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44352 <bits/timerfd.h>.
44353 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44355 bits/timerfd.h.
44356
5ad91f6e
JM
443572012-02-20 Joseph Myers <joseph@codesourcery.com>
44358
44359 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44360 in C locale.
44361 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44362 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44363 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44365
06b99b02
AJ
443662012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44367
44368 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44369 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44370
7638c0fd
AS
443712012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44372
44373 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44374 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44375 defined.
44376 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44377 Likewise.
44378 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44379 entry for 2.16.
44380
92221550
AJ
443812012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44382
44383 * math/w_acos.c: Use non-signaling floating-point comparisons.
44384 * math/w_acosf.c: Likewise.
44385 * math/w_acosh.c: Likewise.
44386 * math/w_acoshf.c: Likewise.
44387 * math/w_acoshl.c: Likewise.
44388 * math/w_acosl.c: Likewise.
44389 * math/w_asin.c: Likewise.
44390 * math/w_asinf.c: Likewise.
44391 * math/w_asinl.c: Likewise.
44392 * math/w_atanh.c: Likewise.
44393 * math/w_atanhf.c: Likewise.
44394 * math/w_atanhl.c: Likewise.
44395 * math/w_exp2.c: Likewise.
44396 * math/w_exp2f.c: Likewise.
44397 * math/w_exp2l.c: Likewise.
44398 * math/w_j0.c: Likewise.
44399 * math/w_j0f.c: Likewise.
44400 * math/w_j0l.c: Likewise.
44401 * math/w_j1.c: Likewise.
44402 * math/w_j1f.c: Likewise.
44403 * math/w_j1l.c: Likewise.
44404 * math/w_jn.c: Likewise.
44405 * math/w_jnf.c: Likewise.
44406 * math/w_log.c: Likewise.
44407 * math/w_log10.c: Likewise.
44408 * math/w_log10f.c: Likewise.
44409 * math/w_log10l.c: Likewise.
44410 * math/w_log2.c: Likewise.
44411 * math/w_log2f.c: Likewise.
44412 * math/w_log2l.c: Likewise.
44413 * math/w_logf.c: Likewise.
44414 * math/w_logl.c: Likewise.
44415 * math/w_sqrt.c: Likewise.
44416 * math/w_sqrtf.c: Likewise.
44417 * math/w_sqrtl.c: Likewise.
44418 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44419 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44420 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44421 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44422 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44423
ebaf36eb
JM
444242012-02-19 Joseph Myers <joseph@codesourcery.com>
44425
44426 [BZ #9739]
44427 * manual/string.texi (strnlen): Use correct parameter name in
44428 equivalent expression.
44429
71c254a6
JM
444302012-02-19 Joseph Myers <joseph@codesourcery.com>
44431
44432 [BZ #11174]
44433 * manual/users.texi (seteuid): Consistently use neweuid for
44434 argument name.
44435
16d2c631
JM
444362012-02-19 Joseph Myers <joseph@codesourcery.com>
44437
44438 [BZ #13704]
44439 * manual/nss.texi (Services in the NSS configuration): Correct
44440 list of services in example configuration file.
44441
cd837b09
NB
444422012-02-19 Nick Bowler <nbowler@draconx.ca>
44443
44444 [BZ #11322]
44445 * manual/arith.texi: Remove statements about negative zero
44446 behaving identically to zero.
44447
02c4bbad
JM
444482012-02-18 Joseph Myers <joseph@codesourcery.com>
44449
44450 [BZ #5993]
44451 * manual/install.texi: Do not document upgrading from libc5.
44452
366842e7
JM
444532012-02-18 Joseph Myers <joseph@codesourcery.com>
44454
44455 [BZ #4596]
44456 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44457
dd54084d
DM
444582012-02-18 David S. Miller <davem@davemloft.net>
44459
44460 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44461 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44462 %o7 across the call.
44463 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44464 instead.
44465 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44466 SETUP_PIC_REG_LEAF.
44467 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44468 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44469 * sysdeps/sparc/crtn.S: Likewise.
44470
2bcc53a3
UD
444712012-02-17 Ulrich Drepper <drepper@gmail.com>
44472
44473 * aout/Makefile: Remove.
44474
09c093b5
RK
444752012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44476
44477 [BZ #13058]
44478 * manual/examples/argp-ex1.c (main): Format definition in GNU
44479 style.
44480 * manual/examples/argp-ex2.c (main): Likewise.
44481 * manual/examples/argp-ex3.c (main): Likewise.
44482 * manual/examples/argp-ex4.c (main): Likewise.
44483 * manual/examples/longopt.c (main): Use new-style prototype
44484 definition.
44485 * manual/examples/strncat.c (main): Specify return type and use
44486 (void) for arguments.
44487 * manual/examples/subopt.c (main): Use char **argv argument.
44488
2ee633a2
JM
444892012-02-17 Joseph Myers <joseph@codesourcery.com>
44490
44491 [BZ #5077]
44492 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44493 rounding modes.
44494
0520adde
FB
444952012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44496
44497 [BZ #6907]
44498 * manual/string.texi (strchr): Change when strchrnul is
44499 recommended.
44500
3f4081cd
DGM
445012012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44502
44503 [BZ #174]
44504 * manual/locale.texi (setlocale): Document LOCPATH.
44505
d1b10e78
JM
445062012-02-17 Joseph Myers <joseph@codesourcery.com>
44507
44508 [BZ #10210]
44509 * manual/process.texi (execle): Move @dots{} before last argument.
44510
79c6869c
PB
445112012-02-17 Paul Bolle <pebolle@tiscali.nl>
44512
44513 [BZ #12047]
44514 * manual/charset.texi (Generic Charset Conversion): Fix typo
44515 (LC_TYPE -> LC_CTYPE).
44516
cc6e48bc
NB
445172012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44518
44519 [BZ #5805]
44520 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44521 (scalbnf): Likewise.
44522 (scalbnl): Likewise.
44523 (scalbln): Likewise.
44524 (scalblnf): Likewise.
44525 (scalblnl): Likewise.
44526 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44527 (vwarnx): Likewise.
44528 (verr): Likewise.
44529 (verrx): Likewise.
44530 * manual/filesys.texi (telldir): Use braces around return type.
44531 * manual/llio.texi (mmap): Add space after comma.
44532 (mmap64): Likewise.
44533 * manual/math.texi (jn): Use @var{} on parameter names.
44534 (jnf): Likewise.
44535 (jnl): Likewise.
44536 (yn): Likewise.
44537 (ynf): Likewise.
44538 (ynl): Likewise.
44539 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44540 line.
44541 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44542 "...".
44543 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44544 (sched_get_priority_max): Likewise.
44545 * manual/signal.texi (sigvec): Add space after comma.
44546 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44547 names.
44548 (if_indextoname): Likewise.
44549 (if_freenameindex): Likewise.
44550 (sendto): Use ',' instead of '.' in prototype.
44551 * manual/startup.texi (syscall): Use @dots{} instead of literal
44552 "...".
44553 * manual/stdio.texi (__fpending): Separate initial words of
44554 paragraph from @deftypefun line.
44555 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44556 "...".
44557 (vsyslog): Use @var{} on parameter names.
44558 * manual/terminal.texi (stty): Use @var{} on parameter names.
44559 * manual/users.texi (getutmp): Use @var{} on parameter names.
44560 (getutmpx): Likewise.
44561
5b23062f
JM
445622012-02-17 Joseph Myers <joseph@codesourcery.com>
44563
44564 [BZ #6884]
44565 * manual/stdio.texi (fopen): Fix typos in description of
44566 ",ccs=STRING".
44567
8dee4833
AJ
445682012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44569
44570 [BZ #4026]
44571 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44572 get clock_id definition.
44573
9078ce93
TS
445742012-02-17 Thomas Schwinge <thomas@schwinge.name>
44575
44576 [BZ #4822]
44577 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44578 (madvise): Cast every argument to void on its own.
44579
3835c55f
JM
445802012-02-17 Joseph Myers <joseph@codesourcery.com>
44581
44582 [BZ #9902]
44583 * manual/startup.texi (Exit Status): Fix typo.
44584
35c47e37
JM
445852012-02-17 Joseph Myers <joseph@codesourcery.com>
44586
44587 [BZ #10140]
44588 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44589 * manual/examples/argp-ex2.c: Likewise.
44590 * manual/examples/argp-ex3.c: Likewise.
44591
e3b69ca7
RH
445922012-02-16 Richard Henderson <rth@redhat.com>
44593
44594 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44595 * sysdeps/s390/s390-32/initfini.c: Remove.
44596 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44597 * sysdeps/s390/s390-64/initfini.c: Remove.
44598
df83af67
KK
445992012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44600
44601 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44602 compiler output for sysdeps/generic/initfini.c.
44603 * sysdeps/sh/elf/initfini.c: Remove file.
44604
f63f3380
DM
446052012-02-16 David S. Miller <davem@davemloft.net>
44606
fb59b3a4
DM
44607 [BZ #11494]
44608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44609
f63f3380
DM
44610 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44611 * sysdeps/sparc/crti.S: New file.
44612 * sysdeps/sparc/crtn.S: New file.
44613 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44614 * sysdeps/sparc/sparc64/Makefile: Likewise.
44615
df6a4a4a
MF
446162012-02-15 Mike Frysinger <vapier@gentoo.org>
44617
6dd8f3dc 44618 [BZ #3335]
df6a4a4a
MF
44619 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44620
1cac7236
RM
446212012-02-15 Roland McGrath <roland@hack.frob.com>
44622
d2c736f8
RM
44623 [BZ #4822]
44624 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44625
1cac7236
RM
44626 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44627 (write, read, close): Likewise.
44628 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44629
8e475601
JM
446302012-02-15 Joseph Myers <joseph@codesourcery.com>
44631
44632 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44633 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44634 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44635 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44636 <bits/signalfd.h>.
44637 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44639 bits/signalfd.h.
44640
ed656b40
MP
446412012-02-14 Marek Polacek <polacek@redhat.com>
44642
44643 * sysdeps/x86_64/crti.S: New file.
44644 * sysdeps/x86_64/crtn.S: New file.
44645 * sysdeps/x86_64/elf/initfini.c: Remove file.
44646
2a979d3a
JM
446472012-02-13 Joseph Myers <joseph@codesourcery.com>
44648
44649 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44650 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44651 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44652 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44653 <bits/inotify.h>.
44654 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44656 bits/inotify.h.
44657
2a418ac3
JM
446582012-02-13 Joseph Myers <joseph@codesourcery.com>
44659
44660 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44661 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44662 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44663 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44664 <bits/eventfd.h>.
44665 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44667 bits/eventfd.h.
44668
fb779be7
TS
446692012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44670
e19e83c5
RM
44671 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44672 __feraiseexcept instead of feraiseexcept.
7c35ffed 44673
fb779be7
TS
44674 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44675 nanosleep invocations.
44676 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44677 strings, and add error checking for a nanosleep invocations.
44678
59ba27a6
PE
446792012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44680
44681 Replace FSF snail mail address with URLs, as per GNU coding standards.
44682 Most of the snail mail addresses were wrong anyway, and omitting
44683 them makes the source code easier to maintain. Almost all of the
44684 changes are to license notices and to locale LC_IDENTIFICATION
44685 addresses, except for this one:
44686 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44687 not its snail mail address.
44688
57b957eb
RH
446892012-02-09 Richard Henderson <rth@twiddle.net>
44690
af850b1c
RH
44691 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44692 of kernel-features.h.
44693
57b957eb
RH
44694 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44695
6b73181a
MP
446962012-02-08 Marek Polacek <polacek@redhat.com>
44697
44698 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44699 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44700 * sysdeps/gnu/_G_config.h: Likewise.
44701 * sysdeps/generic/_G_config.h: Likewise.
44702
26ecc33a
AS
447032012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44704
6c6dbc63
AS
44705 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44706 tests.
44707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44708
e216c012
AS
44709 * sysdeps/powerpc/powerpc32/crti.S: New file.
44710 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44711 * sysdeps/powerpc/powerpc64/crti.S: New file.
44712 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44713
26ecc33a
AS
44714 * Makeconfig (have-initfini): Don't set.
44715 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44716 * configure.in (nopic_initfini): Don't substitute.
44717 * config.h.in (HAVE_INITFINI): Don't #undef.
44718 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44719 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44720
3add8e13
JM
447212012-02-08 Joseph Myers <joseph@codesourcery.com>
44722
44723 Support crti.S and crtn.S provided directly by architectures.
44724 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44725 [crti.S in sysdirs] (omit-deps): Likewise.
44726 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44727 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44728 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44729 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44730 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44731 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44732 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44733 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44734 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44735 compiler output for sysdeps/generic/initfini.c.
44736 * sysdeps/i386/elf/Makefile: Remove file.
44737 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44738
a22f12b4
MP
447392012-02-07 Marek Polacek <polacek@redhat.com>
44740
44741 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44742 * sysdeps/gnu/_G_config.h: Likewise.
44743 * sysdeps/mach/hurd/_G_config.h: Likewise.
44744
148cf100
MP
447452012-02-07 Marek Polacek <polacek@redhat.com>
44746
44747 * math/Makefile (tests): Add tst-CMPLX2.
44748 * math/tst-CMPLX2.c: New file.
44749
cfdc0dd7
AS
447502012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44751
84ba42c4
AS
44752 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44753
cfdc0dd7
AS
44754 * math/libm-test.inc (jn_test): Add missing L suffix.
44755
622c86f4
MP
447562012-02-06 Marek Polacek <polacek@redhat.com>
44757
44758 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44759 * sysdeps/i386/fpu/e_powf.S: Likewise.
44760 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44761 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44762 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44763 * sysdeps/i386/fpu/e_pow.S: Likewise.
44764 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44765 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44766 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44767 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44768 * sysdeps/i386/fpu/e_log2.S: Likewise.
44769 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44770 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44771 * sysdeps/i386/fpu/e_powl.S: Likewise.
44772 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44773 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44774 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44775 * sysdeps/i386/fpu/e_logl.S: Likewise.
44776 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44777 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44778 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44779 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44780 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44781 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44782 * sysdeps/i386/fpu/e_log.S: Likewise.
44783 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44784 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44785 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44786 * sysdeps/i386/fpu/e_logf.S: Likewise.
44787 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44788 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44789 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44790 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44791 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44792 * sysdeps/i386/fpu/e_log10.S: Likewise.
44793 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44794 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44795 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44796 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44797 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44798 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44799 * sysdeps/i386/asm-syntax.h: Likewise.
44800 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44801 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44802 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44803 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44804 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44805 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44806 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44807 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44808 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44809 * sysdeps/powerpc/sysdep.h: Likewise.
44810 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44811 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44812
d4a54ac6
JM
448132012-02-06 Joseph Myers <joseph@codesourcery.com>
44814
44815 [BZ #411]
44816 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44817
314054ea
JM
448182012-02-06 Joseph Myers <joseph@codesourcery.com>
44819
44820 * sysdeps/i386/sysdep.h: Include <features.h>.
44821 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44822 version.
44823
d8e0ca50
JM
448242012-02-05 Joseph Myers <joseph@codesourcery.com>
44825
44826 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44827 Define.
44828 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44829 LOAD_PIC_REG_STR.
44830
b1da7dd9
JM
448312012-02-03 Joseph Myers <joseph@codesourcery.com>
44832
44833 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44834 (SETUP_PIC_REG): Use GET_PC_THUNK.
44835 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44836 macro.
44837
9a1d9254
JM
448382012-02-03 Joseph Myers <joseph@codesourcery.com>
44839
44840 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44841 for non-PIC compilation.
44842 (SETUP_PIC_REG): Add .p2align directive.
44843 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44844 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44845 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44846 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44847 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44848 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44849 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44850 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44851 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44852 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44853 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44854 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44855 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44856 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44857 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44858 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44859 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44860 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44861 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44862 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44863 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44864 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44865 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44866 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44867 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44868 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44869 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44870 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44871 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44872 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44873 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44874 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44875 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44876 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44877 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44878 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44879 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44880 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44881 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44882 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44883 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44884
65dc3b75
JM
448852012-02-03 Joseph Myers <joseph@codesourcery.com>
44886
44887 * math/tst-CMPLX.c: Include <stdio.h>.
44888
d55bf177
JM
448892012-01-31 Joseph Myers <joseph@codesourcery.com>
44890
44891 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44892 float.
44893 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44894 * sysdeps/sparc/bits/mathdef.h: Likewise.
44895
69db4f8f
MP
448962012-01-31 Marek Polacek <polacek@redhat.com>
44897
44898 * libio/libio.h: Don't define _PARAMS.
44899 * locale/programs/config.h: Don't define PARAMS.
44900 * stdlib/strtol_l.c: Likewise.
44901 (__strtol_l): Remove PARAMS from the prototype.
44902
41b81892
UD
449032012-01-31 Ulrich Drepper <drepper@gmail.com>
44904
3b49edc0
UD
44905 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44906 names. Just use the correct names. Remove unnecessary wrapper
44907 functions.
44908 * malloc/arena.c: Likewise.
44909 * malloc/hooks.c: Likewise.
44910
41b81892
UD
44911 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44912 ARENA_TEST says not to. Simplify test for creation of a new arena.
44913 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44914
27a25b6e
UD
449152012-01-30 Ulrich Drepper <drepper@gmail.com>
44916
44917 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44918 into tail calls.
44919 (update_get_addr): New function.
44920 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44921 GET_ADDR_MODULE parameter.
44922
c8a89e7d
JM
449232012-01-30 Joseph Myers <joseph@codesourcery.com>
44924
44925 * crypt/cert.c: Remove __STDC__ conditionals.
44926 * crypt/crypt-entry.c: Likewise.
44927 * crypt/crypt_util.c: Likewise.
44928 * libio/filedoalloc.c: Likewise.
44929 * libio/fileops.c: Likewise.
44930 * libio/genops.c: Likewise.
44931 * libio/iofclose.c: Likewise.
44932 * libio/iofdopen.c: Likewise.
44933 * libio/iofopen.c: Likewise.
44934 * libio/iofopen64.c: Likewise.
44935 * libio/iogetdelim.c: Likewise.
44936 * libio/iopopen.c: Likewise.
44937 * libio/obprintf.c: Likewise.
44938 * libio/oldfileops.c: Likewise.
44939 * libio/oldiofclose.c: Likewise.
44940 * libio/oldiofdopen.c: Likewise.
44941 * libio/oldiofopen.c: Likewise.
44942 * libio/oldiopopen.c: Likewise.
44943 * libio/wfiledoalloc.c: Likewise.
44944 * libio/wgenops.c: Likewise.
44945 * locale/programs/xmalloc.c: Likewise.
44946 * misc/syslog.c: Likewise.
44947 * stdio-common/xbug.c: Likewise.
44948 * string/memchr.c: Likewise.
44949 * string/memcmp.c: Likewise.
44950 * string/memrchr.c: Likewise.
44951 * string/rawmemchr.c: Likewise.
44952 * sysdeps/posix/getcwd.c: Likewise.
44953 * time/strftime_l.c: Likewise.
44954
3b100462
JM
449552012-01-30 Joseph Myers <joseph@codesourcery.com>
44956
44957 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
44958 * config.make.in (config-cflags-sse2avx): Define.
44959 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44960 Fix typo.
44961
607998af
CM
449622012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44963
44964 * scripts/config.guess: Update from upstream config git repository.
44965 * scripts/config.sub: Likewise.
44966
3601428f
CM
449672012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44968
3ac8b282
CM
44969 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44970 (EM_NUM): Update.
44971 (R_TILEPRO_*, R_TILEGX_*): New macros.
44972
e034841e
CM
44973 * scripts/firstversions.awk: Fix bug in version range handling.
44974
540d7568
CM
44975 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44976
3601428f
CM
44977 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44978
463de862
CM
44979 * include/sys/epoll.h: New file.
44980 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44981 libc_hidden_def.
44982
73139a76
UD
449832012-01-28 Ulrich Drepper <drepper@gmail.com>
44984
96bc5b45
UD
44985 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44986 Avoid unnecessary __WORDSIZE == 64 test.
44987 (fmaxf): Use VEX format if possible.
44988 (fmax): Likewise.
44989 (fminf): Likewise.
44990 (fmin): Likewise.
44991
56f6f6a2
UD
44992 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44993 * math/math_private.h: Remove libc_fegetround* and
44994 libc_fesetround*.
44995 * sysdeps/i386/configure.in: Check for -msse2avx.
44996 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44997 also if SSE2AVX is defined.
44998 Remove libc_fegetround* and libc_fesetround*.
44999 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45000 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
45001 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45002 of HAS_YMM_USABLE.
45003 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45004 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45005 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45006 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45007 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45008
73139a76
UD
45009 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45010
d73f93a4
AZ
450112012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45012
45013 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45014 size is not set.
45015 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45016
6ee65ed6
UD
450172012-01-27 Ulrich Drepper <drepper@gmail.com>
45018
45019 [BZ #13618]
45020 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45021 relocation.
45022 * Makeconfig (libm): Define.
45023 * elf/Makefile: Add rules to build and run tst-relsort1.
45024 * elf/tst-relsort1.c: New file.
45025 * elf/tst-relsort1mod1.c: New file.
45026 * elf/tst-relsort1mod2.c: New file.
45027
8db21882
JM
450282012-01-27 Joseph Myers <joseph@codesourcery.com>
45029
45030 * math/s_ldexp.c: Remove __STDC__ conditionals.
45031 * math/s_ldexpf.c: Likewise.
45032 * math/s_ldexpl.c: Likewise.
45033 * math/s_nextafter.c: Likewise.
45034 * math/s_nexttowardf.c: Likewise.
45035 * math/s_significand.c: Likewise.
45036 * math/s_significandf.c: Likewise.
45037 * math/s_significandl.c: Likewise.
45038 * math/w_jnl.c: Likewise.
45039 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45040 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45041 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45042 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45043 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45044 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45045 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45046 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45047 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45048 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45049 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45050 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45051 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45052 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45053 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45054 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45055 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45056 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45057 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45058 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45059 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45060 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45061 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45062 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45063 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45064 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45065 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45066 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45067 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45068 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45069 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45070 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45071 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45072 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45073 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45074 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45075 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45076 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45077 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45078 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45079 * sysdeps/ieee754/k_standard.c: Likewise.
45080 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45081 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45082 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45083 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45084 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45085 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45086 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45087 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45088 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45089 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45090 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45091 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45092 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45093 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45094 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45095 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45096 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45097 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45098 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45099 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45100 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45101 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45102 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45103 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45104 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45105 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45106 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45107 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45108 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45109 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45110 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45111 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45112 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45113 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45114 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45115 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45116 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45117 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45118 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45119 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45120 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45121 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45122 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45123 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45124 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45125 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45126 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45127 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45128 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45129 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45130 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45131 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45132 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45133 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45134 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45135 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45136 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45137 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45138 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45139 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45140 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45141 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45142 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45143 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45144 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45145 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45146 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45147 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45148 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45149 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45150 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45151 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45152 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45153 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45154 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45155 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45156 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45157 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45158 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45159 * sysdeps/ieee754/s_matherr.c: Likewise.
45160 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45161 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45162 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45163 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45164
965a54a4
JM
451652012-01-26 Joseph Myers <joseph@codesourcery.com>
45166
45167 * crypt/md5.h: Remove __STDC__ conditionals.
45168 * libio/libioP.h: Likewise.
45169 * locale/programs/config.h: Likewise.
45170 * sysdeps/generic/sysdep.h: Likewise.
45171 * sysdeps/i386/asm-syntax.h: Likewise.
45172 * sysdeps/s390/asm-syntax.h: Likewise.
45173 * sysdeps/unix/sysdep.h: Likewise.
45174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45176
7071ad79
JM
451772012-01-26 Joseph Myers <joseph@codesourcery.com>
45178
45179 * libio/libio.h: Remove __STDC__ conditionals.
45180 * malloc/obstack.h: Likewise.
45181 * math/complex.h: Likewise.
45182 * math/math.h: Likewise.
45183 * sysdeps/generic/_G_config.h: Likewise.
45184 * sysdeps/gnu/_G_config.h: Likewise.
45185 * sysdeps/mach/hurd/_G_config.h: Likewise.
45186 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45187 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45188 * sysdeps/sparc/bits/mathdef.h: Likewise.
45189
afc5ed09
UD
451902012-01-26 Ulrich Drepper <drepper@gmail.com>
45191
45192 [BZ #13583]
45193 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 45194 Clean up HAS_* macros.
afc5ed09 45195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
45196 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45197 possible.
45198 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45199 HAS_AVX.
45200 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45201 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45202 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45203 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45204 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 45205
bdb6de1d
JM
452062012-01-25 Joseph Myers <joseph@codesourcery.com>
45207
45208 * elf/tst-unique3.cc (gets): Remove declaration.
45209 * elf/tst-unique3lib.cc (gets): Likewise.
45210 * elf/tst-unique3lib2.cc (gets): Likewise.
45211 * elf/tst-unique4.cc (gets): Likewise.
45212
b15549e6
UD
452132012-01-24 Ulrich Drepper <drepper@gmail.com>
45214
45215 * include/stdio.h: Add C++ protection. Add gets declarations and
45216 definitions.
45217 * debug/tst-chk1.c: Don't declare gets here.
45218 * stdio-common/tst-gets.c: Likewise.
45219
a037381f
JM
452202012-01-24 Joseph Myers <joseph@codesourcery.com>
45221
45222 * posix/glob: Remove directory.
45223
f1d4aa75
JM
452242012-01-24 Joseph Myers <joseph@codesourcery.com>
45225
45226 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45227
81c0c964
PT
452282012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45229
45230 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45231 of the non-standard EPFNOSUPPORT.
45232
0ea698ae
ST
452332011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45234
45235 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45236 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45237 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45238
d220b117
UD
452392012-01-21 Ulrich Drepper <drepper@gmail.com>
45240
45241 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45242
3e1aa84e
UD
452432012-01-20 Ulrich Drepper <drepper@gmail.com>
45244
45245 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45246 transient errors.
45247 * nscd/grpcache.c (cache_addgr): Likewise.
45248 * nscd/hstcache.c (cache_addhst): Likewise.
45249 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45250 * nscd/pwdcache.c (cache_addpw): Likewise.
45251 * nscd/servicescache.c (cache_addserv): Likewise.
45252
400aa020
UD
452532012-01-16 Ulrich Drepper <drepper@gmail.com>
45254
d77e7869
UD
45255 * malloc/malloc.c: Various cleanups.
45256 * malloc/hooks.c: Likewise.
45257
400aa020
UD
45258 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45259 * stdlib/bug-fmtmsg1.c: New file.
45260
45261 * stdlib/fmtmsg.c (init): Add missing unlock.
45262 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45263
e0a309cf
MP
452642012-01-12 Marek Polacek <polacek@redhat.com>
45265
45266 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45267 and _GNU_SOURCE.
45268
929d11c7
WS
452692012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45270
45271 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45272 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45273 macro to ensure uniqueness of label name.
45274 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45275 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45276
41d0e869
UD
452772012-01-11 Ulrich Drepper <drepper@gmail.com>
45278
0cc5ed3b
UD
45279 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45280
41d0e869
UD
45281 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45282 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45283 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45284 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45285
a47a831a
UD
452862012-01-10 Ulrich Drepper <drepper@gmail.com>
45287
daa891c0
UD
45288 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45289
45290 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45291 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45292 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45293
e58ef0f2
UD
45294 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45295
a47a831a 45296 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
45297 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45298 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 45299 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
45300
45301 * math/bits/math-finite.h: Add ldexp support.
45302
a0bfc9c7
MP
453032012-01-10 Marek Polacek <polacek@redhat.com>
45304
45305 * locale/programs/localedef.h (show_archive_content): Add noreturn
45306 attribute.
45307
d6e97a1d
UD
453082012-01-09 Ulrich Drepper <drepper@gmail.com>
45309
45310 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45311
d5835c26
UD
453122012-01-08 Ulrich Drepper <drepper@gmail.com>
45313
e5f484c6
UD
45314 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45315
d5835c26
UD
45316 * io/Makefile (headers): Add bits/poll2.h.
45317
d1f741e9
WS
453182011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45319
45320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45321 typo #include statement.
45322
ec09c1c4
UD
453232012-01-08 Ulrich Drepper <drepper@gmail.com>
45324
45325 * include/sys/cdefs.h: Define __attribute_alloc_size.
45326 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45327 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45328 * elf/pldd.c: Likewise.
45329 * iconv/iconv_charmap.c: Likewise.
45330 * iconv/iconvconfig.c: Likewise.
45331 * iconv/strtab.c: Likewise.
45332 * locale/programs/locale.c: Likewise.
45333 * locale/programs/localedef.h: Likewise.
45334 * locale/programs/simple-hash.c: Likewise.
45335 * nscd/nscd.h: Likewise.
45336 * nss/makedb.c: Likewise.
45337 * sysdeps/generic/ldconfig.h: Likewise.
45338 * locale/programs/localedef.c: Remove xmalloc prototype.
45339 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45340
20b38e03
PP
453412012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45342
45343 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45344 appropriate.
45345
a0da5fe1
UD
453462012-01-08 Ulrich Drepper <drepper@gmail.com>
45347
1d5a644a 45348 * math/Makefile (tests): Add tst-CMPLX.
669704fd 45349 * math/tst-CMPLX.c: New file.
1d5a644a 45350
8784a6db
UD
45351 * math/complex.h (CMPLXL): Fix typo.
45352
d9a216c0
UD
45353 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45354 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45355 GLIBC_2.16.
45356 * debug/tst-chk1.c: Add poll and ppoll tests.
45357 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45358 * include/sys/poll.h: Add hidden proto for ppoll.
45359 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45360 * sysdeps/mach/hurd/ppoll.c: Likewise.
45361 * io/ppoll.c: Likewise.
45362 * debug/poll_chk.c: New file.
45363 * debug/ppoll_chk.c: New file.
45364 * include/bits/poll2.h: New file.
45365 * io/bits/poll2.h: New file.
45366
ac097f5c
UD
45367 [BZ #1350]
45368 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45369
2119dcfa
UD
45370 * configure.in: static is always set to yes. Remove.
45371 * config.make.in: Don't set build-static.
45372 * Makeconfig: Remove use of build-static.
45373 * dlfcn/Makefile: Likewise.
45374 * elf/Makefile: Likewise.
45375 * math/Makefile: Likewise.
45376 * misc/Makefile: Likewise.
45377 * nptl/Makefile: Likewise.
45378 * sysdeps/mach/hurd/Makefile: Likewise.
45379
121766a9
UD
45380 * configure.in: PWD_P is not used anymore.
45381 * config.make.in: Remove PWD_P entry.
45382
51a1d39c 45383 * configure.in: Remove last remnants of RANLIB.
8720d066 45384 No need to check for signed size_t anymore.
215f4bdc
UD
45385 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45386 and IA-64.
3857022a 45387 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
45388 * aclocal.m4: Likewise.
45389
d3ed7225
UD
45390 * wcsmbs/mbrtoc16.c: Implement using towc function.
45391 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45392 * wcsmbs/wcsmbsload.c: Likewise.
45393 * iconv/gconv_simple.c: Likewise.
45394 * iconv/gconv_int.h: Likewise.
45395 * iconv/gconv_builtin.h: Likewise.
45396 * iconv/iconv_prog.c: Remove CHAR16 handling.
45397
45398 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45399
45400 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45401
a0da5fe1
UD
45402 * configure.in: Remove --with-elf and --enable-bounded options.
45403 Dont set base_machine for ia64. More non-ELF conditions removed.
45404 Remove testing and setting of leading underscore information.
45405 * config.make.in (build-bounded): Set to no.
45406 * config.h.in: Remove NO_UNDERSCORES entry.
45407 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45408 them.
45409 * csu/start.c: Remove !NO_UNDERSCORE code.
45410 * locale/localeinfo.h: Likewise.
45411 * sysdeps/generic/machine-gmon.h: Likewise.
45412 * sysdeps/generic/sysdep.h: Likewise.
45413 * sysdeps/i386/sysdep.h: Likewise.
45414 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45415 * sysdeps/mach/sysdep.h: Likewise.
45416 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45417 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45418 * sysdeps/sh/sysdep.h: Likewise.
45419 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45420 * sysdeps/unix/i386/sysdep.S: Likewise.
45421 * sysdeps/unix/sparc/start.c: Likewise.
45422 * sysdeps/unix/sparc/sysdep.S: Likewise.
45423 * sysdeps/unix/sparc/sysdep.h: Likewise.
45424 * sysdeps/unix/start.c: Likewise.
45425 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45426 * sysdeps/x86_64/sysdep.h: Likewise.
45427
df78418a
UD
454282012-01-07 Ulrich Drepper <drepper@gmail.com>
45429
a784e502
UD
45430 [BZ #13553]
45431 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45432 for non-gcc.
45433 * argp/argp-fmtstream.h: Use const instead __const.
45434 * argp/argp.h: Likewise.
45435 * assert/assert.h: Likewise.
45436 * bits/fenv.h: Likewise.
45437 * bits/sched.h: Likewise.
45438 * bits/sigset.h: Likewise.
45439 * bits/sigthread.h: Likewise.
45440 * catgets/nl_types.h: Likewise.
45441 * conform/data/pthread.h-data: Likewise.
45442 * crypt/crypt-private.h: Likewise.
45443 * crypt/crypt.h: Likewise.
45444 * crypt/crypt_util.c: Likewise.
45445 * ctype/ctype.h: Likewise.
45446 * debug/execinfo.h: Likewise.
45447 * debug/mbsnrtowcs_chk.c: Likewise.
45448 * debug/mbsrtowcs_chk.c: Likewise.
45449 * debug/wcsnrtombs_chk.c: Likewise.
45450 * debug/wcsrtombs_chk.c: Likewise.
45451 * debug/wcstombs_chk.c: Likewise.
45452 * dirent/dirent.h: Likewise.
45453 * dlfcn/dlfcn.h: Likewise.
45454 * elf/neededtest4.c: Likewise.
45455 * grp/grp.h: Likewise.
45456 * gshadow/gshadow.h: Likewise.
45457 * iconv/gconv.h: Likewise.
45458 * iconv/gconv_int.h: Likewise.
45459 * iconv/gconv_simple.c: Likewise.
45460 * iconv/iconv.h: Likewise.
45461 * iconv/loop.c: Likewise.
45462 * iconv/skeleton.c: Likewise.
45463 * include/aio.h: Likewise.
45464 * include/aliases.h: Likewise.
45465 * include/argz.h: Likewise.
45466 * include/arpa/inet.h: Likewise.
45467 * include/assert.h: Likewise.
45468 * include/dirent.h: Likewise.
45469 * include/dlfcn.h: Likewise.
45470 * include/execinfo.h: Likewise.
45471 * include/fcntl.h: Likewise.
45472 * include/fenv.h: Likewise.
45473 * include/glob.h: Likewise.
45474 * include/grp.h: Likewise.
45475 * include/libintl.h: Likewise.
45476 * include/mntent.h: Likewise.
45477 * include/netdb.h: Likewise.
45478 * include/pwd.h: Likewise.
45479 * include/rpc/netdb.h: Likewise.
45480 * include/sched.h: Likewise.
45481 * include/search.h: Likewise.
45482 * include/shadow.h: Likewise.
45483 * include/signal.h: Likewise.
45484 * include/stdio.h: Likewise.
45485 * include/stdlib.h: Likewise.
45486 * include/string.h: Likewise.
45487 * include/sys/socket.h: Likewise.
45488 * include/sys/stat.h: Likewise.
45489 * include/sys/statfs.h: Likewise.
45490 * include/sys/statvfs.h: Likewise.
45491 * include/sys/syslog.h: Likewise.
45492 * include/sys/time.h: Likewise.
45493 * include/sys/uio.h: Likewise.
45494 * include/time.h: Likewise.
45495 * include/unistd.h: Likewise.
45496 * include/utmp.h: Likewise.
45497 * include/wchar.h: Likewise.
45498 * include/wctype.h: Likewise.
45499 * inet/aliases.h: Likewise.
45500 * inet/arpa/inet.h: Likewise.
45501 * inet/netinet/ether.h: Likewise.
45502 * inet/netinet/in.h: Likewise.
45503 * intl/libintl.h: Likewise.
45504 * io/bits/fcntl2.h: Likewise.
45505 * io/fcntl.h: Likewise.
45506 * io/ftw.h: Likewise.
45507 * io/sys/poll.h: Likewise.
45508 * io/sys/stat.h: Likewise.
45509 * io/sys/statfs.h: Likewise.
45510 * io/sys/statvfs.h: Likewise.
45511 * io/utime.h: Likewise.
45512 * libio/bits/stdio.h: Likewise.
45513 * libio/bits/stdio2.h: Likewise.
45514 * libio/libio.h: Likewise.
45515 * libio/libioP.h: Likewise.
45516 * libio/stdio.h: Likewise.
45517 * locale/lc-ctype.c: Likewise.
45518 * locale/locale.h: Likewise.
45519 * login/utmp.h: Likewise.
45520 * malloc/arena.c: Likewise.
45521 * malloc/malloc.c: Likewise.
45522 * malloc/malloc.h: Likewise.
45523 * malloc/mcheck.c: Likewise.
45524 * malloc/mtrace.c: Likewise.
45525 * math/bits/mathcalls.h: Likewise.
45526 * math/fenv.h: Likewise.
45527 * math/math_private.h: Likewise.
45528 * misc/bits/error.h: Likewise.
45529 * misc/bits/syslog.h: Likewise.
45530 * misc/err.h: Likewise.
45531 * misc/error.h: Likewise.
45532 * misc/fstab.h: Likewise.
45533 * misc/mntent.h: Likewise.
45534 * misc/regexp.h: Likewise.
45535 * misc/search.h: Likewise.
45536 * misc/sgtty.h: Likewise.
45537 * misc/sys/mman.h: Likewise.
45538 * misc/sys/syslog.h: Likewise.
45539 * misc/sys/uio.h: Likewise.
45540 * misc/sys/xattr.h: Likewise.
45541 * misc/ttyent.h: Likewise.
45542 * nis/rpcsvc/ypclnt.h: Likewise.
45543 * nss/nss.h: Likewise.
45544 * posix/bits/unistd.h: Likewise.
45545 * posix/fnmatch.h: Likewise.
45546 * posix/glob.h: Likewise.
45547 * posix/sched.h: Likewise.
45548 * posix/spawn.h: Likewise.
45549 * posix/sys/wait.h: Likewise.
45550 * posix/unistd.h: Likewise.
45551 * posix/wordexp.h: Likewise.
45552 * pwd/pwd.h: Likewise.
45553 * resolv/netdb.h: Likewise.
45554 * resource/sys/resource.h: Likewise.
45555 * rt/aio.h: Likewise.
45556 * rt/bits/mqueue2.h: Likewise.
45557 * rt/mqueue.h: Likewise.
45558 * shadow/shadow.h: Likewise.
45559 * signal/signal.h: Likewise.
45560 * socket/send.c: Likewise.
45561 * socket/sendto.c: Likewise.
45562 * socket/sys/socket.h: Likewise.
45563 * stdio-common/printf.h: Likewise.
45564 * stdlib/bits/stdlib.h: Likewise.
45565 * stdlib/fmtmsg.h: Likewise.
45566 * stdlib/monetary.h: Likewise.
45567 * stdlib/stdlib.h: Likewise.
45568 * stdlib/ucontext.h: Likewise.
45569 * streams/stropts.h: Likewise.
45570 * string/argz.h: Likewise.
45571 * string/bits/string2.h: Likewise.
45572 * string/string.h: Likewise.
45573 * string/strings.h: Likewise.
45574 * sunrpc/rpc/auth.h: Likewise.
45575 * sunrpc/rpc/auth_des.h: Likewise.
45576 * sunrpc/rpc/clnt.h: Likewise.
45577 * sunrpc/rpc/netdb.h: Likewise.
45578 * sunrpc/rpc/pmap_clnt.h: Likewise.
45579 * sunrpc/rpc/xdr.h: Likewise.
45580 * sysdeps/generic/inttypes.h: Likewise.
45581 * sysdeps/generic/net/if.h: Likewise.
45582 * sysdeps/generic/sys/swap.h: Likewise.
45583 * sysdeps/gnu/net/if.h: Likewise.
45584 * sysdeps/gnu/utmpx.h: Likewise.
45585 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45586 * sysdeps/i386/i486/bits/string.h: Likewise.
45587 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45588 * sysdeps/s390/bits/string.h: Likewise.
45589 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45590 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45591 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45592 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45593 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45594 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45595 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45596 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45597 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45598 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45599 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45600 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45601 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45602 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45603 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45604 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45605 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45606 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45607 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45608 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45609 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45610 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45611 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45612 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45613 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45614 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45615 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45616 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45617 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45618 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45619 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45620 * sysvipc/sys/ipc.h: Likewise.
45621 * sysvipc/sys/msg.h: Likewise.
45622 * sysvipc/sys/sem.h: Likewise.
45623 * sysvipc/sys/shm.h: Likewise.
45624 * termios/termios.h: Likewise.
45625 * time/sys/time.h: Likewise.
45626 * time/time.h: Likewise.
45627 * wcsmbs/bits/wchar2.h: Likewise.
45628 * wcsmbs/uchar.h: Likewise.
45629 * wcsmbs/wchar.h: Likewise.
45630 * wctype/wctype.h: Likewise.
45631
0269750c
UD
45632 [BZ #13551]
45633 * Makeconfig: Remove all but ELF support including AIX support.
45634 * Makerules: Likewise.
45635 * config.h.in: Likewise.
45636 * config.make.in: Likewise.
45637 * configure: Likewise.
45638 * configure.in: Likewise.
45639 * csu/Makefile: Likewise.
45640 * csu/version.c: Likewise.
45641 * debug/Makefile: Likewise.
45642 * dlfcn/Makefile: Likewise.
45643 * elf/Makefile: Likewise.
45644 * extra-lib.mk: Likewise.
45645 * iconv/Makefile: Likewise.
45646 * include/libc-symbols.h: Likewise.
45647 * include/shlib-compat.h: Likewise.
45648 * resolv/Makefile: Likewise.
45649 * resolv/res_libc.c: Likewise.
45650 * rt/Makefile: Likewise.
45651 * sysdeps/i386/asm-syntax.h: Likewise.
45652 * sysdeps/i386/sysdep.h: Likewise.
45653 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45654 * sysdeps/mach/sysdep.h: Likewise.
45655 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45656 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45657 * sysdeps/s390/asm-syntax.h: Likewise.
45658 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45659 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45660 * sysdeps/sh/sysdep.h: Likewise.
45661 * sysdeps/unix/sparc/sysdep.h: Likewise.
45662 * sysdeps/wordsize-32/divdi3.c: Likewise.
45663 * sysdeps/x86_64/sysdep.h: Likewise.
45664
00bbd29b
UD
45665 * argp/Versions: Remove _argp_unlock_xxx.
45666
45667 [BZ #13559]
45668 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45669 * abilist/libBrokenLocale.abilist: Likewise.
45670 * abilist/libanl.abilist: Likewise.
45671 * abilist/libc.abilist: Likewise.
45672 * abilist/libcrypt.abilist: Likewise.
45673 * abilist/libdl.abilist: Likewise.
45674 * abilist/libm.abilist: Likewise.
45675 * abilist/libnsl.abilist: Likewise.
45676 * abilist/libpthread.abilist: Likewise.
45677 * abilist/libresolv.abilist: Likewise.
45678 * abilist/librt.abilist: Likewise.
45679 * abilist/libthread_db.abilist: Likewise.
45680 * abilist/libutil.abilist: Likewise.
45681 * abilist/libnss_db.abilist: New file.
45682
45683 * scripts/abilist.awk: Add support for indirect functions.
45684
a2693a0e
UD
45685 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45686
3f05895f
UD
45687 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45688
ecb6fb48
UD
45689 * shlib-versions: Remove entries for ports architectures.
45690
664f8cb9
UD
45691 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45692 files in ports.
45693 * elf/stackguard-macros.h: Remove support for IA-64.
45694 * elf/tst-auditmod1.c: Likewise.
45695 * sysdeps/generic/ldsodefs.h: Likewise.
45696
7ae81d88
UD
45697 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45698 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45699 configure files.
45700
bdeba135
UD
45701 [BZ #13552]
45702 * configure.in: Remove --enable-omitfp support.
45703 * FAQ.in: Adjust.
45704 * config.make.in: Likewise.
45705 * Makeconfig: Likewise.
45706 * manual/install.texi: Likewise.
45707
d75a0a62
UD
45708 In case anyone cares, the IA-64 architecture could move to ports.
45709 * sysdeps/ia64/*: Removed.
45710 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45711 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45712
dcc9756b
UD
45713 [BZ #13555]
45714 * configure.in: Remove entries for unsupported architectures.
45715
d3761ebc 45716 [BZ #13533]
9954432e
UD
45717 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45718 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45719 routines.
45720 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45721 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45722 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45723 fall back to using wcrtomb.
45724 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45725 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45726 renaming.
45727 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45728 * wcsmbs/tst-c16c32-1.c: New file.
45729
45730 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45731 local variable.
45732
c3a87236
UD
45733 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45734
28926a1b
UD
45735 * elf/tst-unique3.cc: Add explicit declaration of gets.
45736 * elf/tst-unique3lib.cc: Likewise.
45737 * elf/tst-unique3lib2.cc: Likewise.
45738 * elf/tst-unique4.cc: Likewise.
45739
df78418a
UD
45740 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45741
8ecd6b2a
JM
457422012-01-06 Joseph Myers <joseph@codesourcery.com>
45743
45744 [BZ #13566]
45745 * assert/assert.h (static_assert): Don't define for C++.
45746 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45747 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45748
9f115170
UD
457492012-01-03 Ulrich Drepper <drepper@gmail.com>
45750
5e0d0300
UD
45751 * iconv/loop.c (single loop): Fix assertion in storing of
45752 remaining bytes.
45753
9f115170
UD
45754 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45755
81fb02b0
UD
457562012-01-01 Ulrich Drepper <drepper@gmail.com>
45757
45758 * posix/getconf.c: Update copyright year.
45759 * nss/getent.c: Likewise.
a316c1f6 45760 * nss/makedb.c: Likewise.
81fb02b0
UD
45761 * iconv/iconvconfig.c: Likewise.
45762 * iconv/iconv_prog.c: Likewise.
45763 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45764 * elf/pldd.c: Likewise.
45765 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45766 * catgets/gencat.c: Likewise.
45767 * csu/version.c: Likewise.
45768 * elf/ldd.bash.in: Likewise.
45769 * elf/sprof.c (print_version): Likewise.
45770 * locale/programs/locale.c: Likewise.
45771 * locale/programs/localedef.c: Likewise.
a316c1f6 45772 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45773 * nscd/nscd.c (print_version): Likewise.
45774 * debug/xtrace.sh: Likewise.
45775 * malloc/memusage.sh: Likewise.
45776 * malloc/mtrace.pl: Likewise.
45777 * debug/catchsegv.sh: Likewise.
45778
2ba92745
JJ
457792011-12-30 Jakub Jelinek <jakub@redhat.com>
45780
45781 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45782 pure attribute.
45783
dadebdae
UD
457842011-12-24 Ulrich Drepper <drepper@gmail.com>
45785
d3761ebc 45786 [BZ #13533]
db6af3eb
UD
45787 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45788 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45789 transformations.
45790 * iconv/gconv_int.h: Likewise.
45791 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45792 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45793 from libc for GLIBC_2.16.
45794 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45795 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45796 * wcsmbs/uchar.h: Really define mbstate_t.
45797 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45798 * wcsmbs/c16rtomb.c: New file.
45799 * wcsmbs/mbrtoc16.c: New file.
45800 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45801 for C/POSIX locale.
45802 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45803 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45804
dadebdae
UD
45805 * wcsmbs/wchar.h: Add missing __restrict.
45806
67371b56
UD
458072011-12-23 Ulrich Drepper <drepper@gmail.com>
45808
74033a25
UD
45809 [BZ #13532]
45810 * time/Makefile (routines): Add timespec_get.
45811 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45812 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45813 timespec for ISO C11.
45814 * time/timespec_get.c: New file.
45815 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45816 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45817
380d7e87
UD
45818 [BZ #13531]
45819 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45820 * stdlib/stdlib.h: Declare aligned_alloc.
45821 * Versions.def: Add GLIBC_2.16 for libc.
45822 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45823
4e9e7a35
UD
45824 [BZ 13527]
45825 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45826 ISO C11.
45827
380d7e87 45828 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45829 code.
45830
03a71829
UD
45831 [BZ #13528]
45832 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45833
839e283e
UD
45834 [BZ #13529]
45835 * assert/assert.h (static_assert): Define.
45836
ce5294e2 45837 * version.h: Update for 2.16 development version.
90fa7312 45838
8d44e150 45839 [BZ #13526]
d7809905
UD
45840 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45841 _ISOC11_SOURCE.
45842
c0da14cd
UD
45843 * version.h (RELEASE): Bump for 2.15 release.
45844 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45845
530a3249
MP
45846 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45847 Patch by Marek Polacek <mpolacek@redhat.com>.
45848
67371b56
UD
45849 * bits/byteswap.h: Protect long long constants with __extension__.
45850 * sysdeps/i386/bits/byteswap.h: Likewise.
45851 * sysdeps/ia64/bits/byteswap.h: Likewise.
45852 * sysdeps/s390/bits/byteswap.h: Likewise.
45853 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45854
15db4de1
LD
458552011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45856
45857 [BZ #13540]
bbe315ea
LD
45858 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45859 destination buffer.
15db4de1
LD
45860 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45861
2b2596b1
MP
458622011-12-23 Marek Polacek <polacek@redhat.com>
45863
45864 * elf/dl-addr.c (determine_info): Add inline keyword.
45865 * elf/tst-auditmod4b.c (check_avx): Likewise.
45866 * elf/tst-auditmod6b.c (check_avx): Likewise.
45867 * elf/tst-auditmod6c.c (check_avx): Likewise.
45868 * elf/tst-auditmod7b.c (check_avx): Likewise.
45869
70c6c246
UD
458702011-12-23 Ulrich Drepper <drepper@gmail.com>
45871
45872 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45873 !__SSE_MATH__.
45874
c044cf14
LD
458752011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45876
15db4de1 45877 [BZ #13540]
c044cf14
LD
45878 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45879 processing for last bytes.
45880
6b13d9d9
BH
458812011-08-06 Bruno Haible <bruno@clisp.org>
45882
d455f537
BH
45883 [BZ #13061]
45884 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45885 U+0385, not to U+1FEE.
45886
6b13d9d9
BH
45887 [BZ #13062]
45888 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45889 entry for U+00A5 U+0301.
45890
db910efd
UD
458912011-12-22 Ulrich Drepper <drepper@gmail.com>
45892
27deeafc
UD
45893 [BZ #13166]
45894 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45895 buffer for the output is too small.
45896
aed9d171
UD
45897 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45898 optimization.
45899
db910efd
UD
45900 [BZ #13185]
45901 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45902 SSE flags if possible.
45903
2bd779ae
LD
459042011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45905
e7f9dac3 45906 [BZ #13540]
2bd779ae
LD
45907 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45908 processing for last bytes.
45909
154bfc16
JM
459102011-12-22 Joseph Myers <joseph@codesourcery.com>
45911
45912 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45913 (syscall-list-default-options, syscall-list-default-condition)
45914 (syscall-list-includes): Define.
45915 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45916 list of ABIs and options and #if conditions for each ABI. Do not
45917 handle common syscalls between ABIs specially.
45918 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45919 Remove.
45920 (syscall-list-variants, syscall-list-32bit-options)
45921 (syscall-list-32bit-condition, syscall-list-64bit-options)
45922 (syscall-list-64bit-condition): Define.
45923 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45924 (syscall-list-variants, syscall-list-32bit-options)
45925 (syscall-list-32bit-condition, syscall-list-64bit-options)
45926 (syscall-list-64bit-condition): Define.
45927 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45928 Remove.
45929 (syscall-list-variants, syscall-list-32bit-options)
45930 (syscall-list-32bit-condition, syscall-list-64bit-options)
45931 (syscall-list-64bit-condition): Define.
45932 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45933 Remove.
45934 (syscall-list-variants, syscall-list-32bit-options)
45935 (syscall-list-32bit-condition, syscall-list-64bit-options)
45936 (syscall-list-64bit-condition): Define.
45937
21eaf3a5
UD
459382011-12-22 Ulrich Drepper <drepper@gmail.com>
45939
16c6f992
UD
45940 * locale/iso-639.def: Add brx entry.
45941
41043168
UD
45942 [BZ #13328]
45943 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45944 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45945
21eaf3a5
UD
45946 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45947 __feraiseexcept_renamed.
45948
e3a851a2
UD
459492011-12-21 Ulrich Drepper <drepper@gmail.com>
45950
4920765e
UD
45951 [BZ #13538]
45952 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45953 EPOLLET with unsigned values.
45954 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45955 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45956
e3a851a2
UD
45957 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45958 to large cancellation.
45959 * math/s_cacoshf.c: Likewise.
45960 * math/s_cacoshl.c: Likewise.
45961
b27e24b8
RK
459622011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45963
45964 [BZ #13305]
aebefeee 45965 [BZ #12786]
b27e24b8
RK
45966 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45967 * math/s_cacoshf.c: Likewise.
45968 * math/s_cacoshl.c: Likewise.
45969
ee190f67
UD
459702011-12-21 Ulrich Drepper <drepper@gmail.com>
45971
45972 [BZ #13439]
45973 * iconv/gconv.h: Define __GCONV_SWAP.
45974 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45975 * iconvdata/utf-16.c: Likewise.
45976 * iconvdata/utf-32.c: Likewise.
45977
707f25df
AS
459782011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45979
45980 [BZ #13524]
45981 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45982 numerator after shifting it by one limb.
45983
d2daaa1e
RÁE
459842011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45985
45986 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45987 under [__USE_EXTERN_INLINES].
45988
a4647e72
UD
459892011-12-17 Ulrich Drepper <drepper@gmail.com>
45990
45991 [BZ #13446]
45992 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45993
f0b264f1
AZ
459942011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45995
45996 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45997 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45998 optimized code.
45999 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46000 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46001 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46002 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46003 for strncasecmp/strncasecmp_l compilation.
46004 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46005 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46006
8ef4f244
MP
460072011-12-08 Marek Polacek <mpolacek@redhat.com>
46008
46009 [BZ #13484]
46010 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46011 of __asm__.
46012
97ac2654
UD
460132011-12-17 Ulrich Drepper <drepper@gmail.com>
46014
46015 [BZ #13506]
46016 * time/tzfile.c (__tzfile_read): Check values from file header.
46017
91d2a845
WS
460182011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46019
46020 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46021 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46022 * powerpc/powerpc32/dl-start.S: Likewise.
46023 * powerpc/powerpc32/elf/start.S: Likewise.
46024 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46025 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46026 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46027 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46028 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46029 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46030 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46031 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46032 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46033 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46034 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46035 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46036 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46037 * powerpc/powerpc32/memset.S: Likewise.
46038 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46039 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46040 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46041 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46042 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46043 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46044 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46045 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46046 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46047 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46048 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46049 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46050 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46051
a1267ba1
AZ
460522011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46053
46054 * math/libm-test.inc: Added more nearbyint tests.
46055 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46056 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46057 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46058 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46059
ad8ac1bd
RL
460602011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46061
46062 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46063 FD_CLOEXEC.
46064
1d3e4b61
UD
460652011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46066
46067 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46068 Add wcscpy-ssse3 wcscpy-c.
46069 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46070 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46071 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46072 * sysdeps/x86_64/wcschr.S: New file.
46073 * sysdeps/x86_64/wcsrchr.S: New file.
46074 * string/test-strcmp.c: Remove checking of wcscmp function for
46075 wrong alignments.
46076 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46077 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46078 wcsrchr-sse2 wcsrchr-c.
46079 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46080 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46081 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46082 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46083 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46084 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46085 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46086 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46087 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46088 * wcsmbc/wcschr.c (WCSCHR): New macro.
46089
5b330a2d
UD
460902011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46091
46092 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46093 * wcsmbs/test-wcsrchr.c: New file.
46094 * string/test-strrchr.c: Add wcsrchr support.
46095 (WIDE): New macro.
46096 * wcsmbs/test-wcscpy.c: New file.
46097 * string/test-strcpy.c: Add wcscpy support.
46098 (WIDE): New macro.
26428b7c 46099
f039c043
UD
461002011-12-10 Ulrich Drepper <drepper@gmail.com>
46101
46102 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46103 the inner loop.
46104
850fb039
AS
461052011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46106
46107 [BZ #13472]
46108 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46109
4efbd5cb
UD
461102011-12-04 Ulrich Drepper <drepper@gmail.com>
46111
52ff5dd0 46112 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 46113 Minor optimizations.
52ff5dd0 46114
4efbd5cb
UD
46115 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46116 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46117 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46118
8a426e12
UD
461192011-12-03 Ulrich Drepper <drepper@gmail.com>
46120
aff2453d
UD
46121 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46122 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46123 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46124 for gcc to avoid warnings.
46125 * inet/Makefile (tests): Add tst-checks.
46126 * inet/tst-checks.c: New file.
46127
46128 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46129 warning.
46130
46131 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46132 __wmemcmp_sse2.
46133
46134 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46135 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46136
8a426e12
UD
46137 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46138
9bea3473
UD
461392011-12-02 Ulrich Drepper <drepper@gmail.com>
46140
3a965496
UD
46141 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46142 problem.
46143
9bea3473
UD
46144 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46145
f101631b
UD
461462011-11-29 Joseph Myers <joseph@codesourcery.com>
46147
46148 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46149 conditional on GCC version.
46150 (__arch_compare_and_exchange_val_8_acq)
46151 (__arch_compare_and_exchange_val_16_acq)
46152 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46153 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46154 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46155
a98275aa
UD
461562011-12-02 Joseph Myers <joseph@codesourcery.com>
46157
46158 * sysdeps/sh/backtrace.c: New file.
46159
d4cc29a2
AS
461602011-12-02 Andreas Schwab <schwab@redhat.com>
46161
46162 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46163 parenthesis.
46164
6257af2d
AS
461652011-12-01 Andreas Schwab <schwab@redhat.com>
46166
46167 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46168 falling back to utime.
46169
b5f44c1a
AS
461702011-11-30 Andreas Schwab <schwab@redhat.com>
46171
46172 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46173 expectations for float.
46174
f3a6cc0a
AS
461752011-11-29 Andreas Schwab <schwab@redhat.com>
46176
46177 * locale/weight.h (findidx): Add parameter len.
46178 * locale/weightwc.h (findidx): Likewise.
46179 * posix/fnmatch_loop.c (FCT): Adjust caller.
46180 * posix/regcomp.c (build_equiv_class): Likewise.
46181 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46182 * posix/regexec.c (check_node_accept_bytes): Likewise.
46183 * string/strcoll_l.c (STRCOLL): Likewise.
46184 * string/strxfrm_l.c (STRXFRM): Likewise.
46185
9d65ea3a
UD
461862011-11-17 Ulrich Drepper <drepper@gmail.com>
46187
46188 * Makefile.in: Remove CVSOPT handling.
46189 * configure.in: Remove use of AC_REVISION.
46190 * iconvdata/Makefile (distribute): No need to filter out CVS.
46191 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46192 handling.
46193
5583a086
AS
461942011-11-16 Andreas Schwab <schwab@redhat.com>
46195
46196 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46197 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46198 [USE_AS_STRNCASECMP_L]: Likewise.
46199 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46200 NO_TLS_DIRECT_SEG_REFS.
46201 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46202 Fix argument offsets for non-PIC.
46203 [USE_AS_STRNCASECMP_L]: Likewise.
46204 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46205 NO_TLS_DIRECT_SEG_REFS.
46206
d62a8200
UD
462072011-11-15 Ulrich Drepper <drepper@gmail.com>
46208
9d65ea3a 46209 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
46210 O_CLOEXEC.
46211 * locale/loadlocale.c (_nl_load_locale): Likewise.
46212
09f93bd3
AS
462132011-11-15 Andreas Schwab <schwab@redhat.com>
46214
446514f9
AS
46215 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46216 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46217 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46218 (SYSCALL_GETTIME): Set errno on error.
46219
09f93bd3
AS
46220 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46221 count references to noai6ai_cached.
46222
312be3f9
UD
462232011-11-15 Ulrich Drepper <drepper@gmail.com>
46224
46225 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46226
46227 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46228 FD_CLOEXEC for /proc/self/maps.
46229
46230 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46231 FD_CLOEXEC for /proc/meminfo.
46232
46233 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46234 gai.conf.
46235
46236 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46237 FD_CLOEXEC for given file.
46238
46239 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46240
46241 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46242 FD_CLOEXEC for /etc/hosts.
46243 (_gethtent): Likewise.
46244
46245 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46246
46247 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46248 cancellation and set FD_CLOEXEC for /etc/netgroup.
46249
46250 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46251 reading /etc/publickey.
46252
46253 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46254 allow cancellation when reading /etc/group.
46255
46256 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46257 cancellation.
46258 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46259
46260 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46261 when using data file.
46262
46263 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46264
46265 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46266 (write_nis_obj): Use "c" and "e" in fopen.
46267
46268 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46269
46270 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46271
46272 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46273
46274 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46275
46276 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46277 locale.alias.
46278
46279 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46280
46281 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46282
46283 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46284
46285 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46286 file parsing and set FD_CLOEXEC.
46287
82af0fa8
UD
462882011-11-14 Ulrich Drepper <drepper@gmail.com>
46289
46290 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46291
a5fb313c
AS
462922011-11-14 Andreas Schwab <schwab@redhat.com>
46293
46294 * malloc/arena.c (arena_get2): Don't call reused_arena when
46295 _int_new_arena failed.
46296
6abf3465
UD
462972011-11-14 Ulrich Drepper <drepper@gmail.com>
46298
46299 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46300 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46301 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46302 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46303 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46304 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46305 to compile strcasecmp and strncasecmp.
46306 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46307 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46308
46309 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46310
76e3966e
UD
463112011-11-13 Ulrich Drepper <drepper@gmail.com>
46312
46313 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46314 locale-defines.sym to gen-as-const-headers.
46315 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46316 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46317 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46318 to compile strcasecmp and strncasecmp.
46319 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46320 strcasecmp_l and strncasecmp_l.
46321 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46322 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46323 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46324 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46325 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46326 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46327 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46328 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46329 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46330 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46331 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46332
ab26144e
UD
463332011-11-12 Ulrich Drepper <drepper@gmail.com>
46334
7edb22ef
UD
46335 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46336 result of SYSDEP_GETTIME_CPU to retval.
46337 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46338 parameter list to macro. Remove trailing semicolon. Adjust users.
46339
9694fc44
UD
46340 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46341 variable.
46342
8ad89ef8
UD
46343 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46344 mantissa words.
46345 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46346
0c822ef9
UD
46347 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46348 from unused variable.
46349
874e0564
UD
46350 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46351 DWARF definitions.
46352 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46353 for assembling.
46354
3a2edc79
UD
46355 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46356 over namespaces.
46357
f3c2577f
UD
46358 * sunrpc/rpc_prot.c (rejected): Fix case value.
46359
294ce126
UD
46360 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46361 unsigned long long int to avoid warnings in shift.
46362
5e2b63c6
UD
46363 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46364 of use of trans.
46365 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46366 variable tmp.
46367
e7f4b08e
UD
46368 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46369 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46370 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46371
ab26144e
UD
46372 * nis/nis_table.c (nis_list): Use variable of correct type for
46373 result of __follow_path call.
46374
8a6d5255
AZ
463752011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46376
46377 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46378 of math functions ceil, trunc, floor, round, and sqrt, when
46379 avaliable on the platform.
46380 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46381 name clash.
46382 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46383 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46384 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46385
aaddc98c
MP
463862011-10-30 Marek Polacek <mpolacek@redhat.com>
46387
46388 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46389 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46390
95b7042b
RM
463912011-11-11 Roland McGrath <roland@hack.frob.com>
46392
46393 * include/unistd.h: Fix __readlink return type.
46394 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46395
57769839
UD
463962011-11-11 Ulrich Drepper <drepper@gmail.com>
46397
46398 * stdlib/ucontext.h: Undo last change for makecontext.
46399
edc5984d
AS
464002011-11-11 Andreas Schwab <schwab@redhat.com>
46401
98591e58
AS
46402 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46403
edc5984d
AS
46404 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46405 * setjmp/setjmp.h: Mark functions as non-leaf.
46406 * setjmp/bits/setjmp2.h: Likewise.
46407 * stdlib/ucontext.h: Likewise.
46408
77cdc054
AS
464092011-11-10 Andreas Schwab <schwab@redhat.com>
46410
46411 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46412 (reused_arena): Don't check arena limit.
46413 (arena_get2): Atomically check arena limit.
46414
fe72eebd
UD
464152011-11-08 Ulrich Drepper <drepper@gmail.com>
46416
5f078c32
UD
46417 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46418 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46419
fe72eebd
UD
46420 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46421 instructions.
46422
ae1bc2fa
AS
464232011-11-07 Andreas Schwab <schwab@redhat.com>
46424
7583a88d
AS
46425 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46426 handler when locking.
46427
ae1bc2fa
AS
46428 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46429 Fix size of allocated buffer.
46430
10fb0bfa
AS
464312011-11-04 Andreas Schwab <schwab@redhat.com>
46432
998832a4
AS
46433 [BZ #10103]
46434 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46435 declarations for long double functions.
46436 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46437
10fb0bfa
AS
46438 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46439
3d7ba52b
AS
464402011-11-03 Andreas Schwab <schwab@redhat.com>
46441
a9ae54a1
AS
46442 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46443 installed.
46444
3d7ba52b
AS
46445 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46446 is disabled.
46447
bc8db248
ST
464482011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46449
46450 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46451
45b96dd6
AS
464522011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46453
647776f6
AS
46454 * include/alloca.h (stackinfo_alloca_round): Define.
46455 (extend_alloca): Use it.
46456 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46457 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46458 here.
46459
d91a8b93
AS
46460 * scripts/check-local-headers.sh: Ignore libaudit.h.
46461
45b96dd6
AS
46462 * nscd/Makefile (extra-objs): Make recursively expanded.
46463
432d41ce
UD
464642011-11-01 Ulrich Drepper <drepper@gmail.com>
46465
34372fc6
UD
46466 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46467 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46468
fadb59f8
UD
46469 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46470 * posix/tst-rfc3484-2.c: Likewise.
46471 * posix/tst-rfc3484-3.c: Likewise.
46472
78239589
UD
46473 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46474 process_vm_writev.
46475 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46476 process_vm_writev.
46477 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46478 process_vm_writev from libc using GLIBC_2.15 version.
46479
432d41ce
UD
46480 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46481
02f9c6cf
PP
464822011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46483
46484 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46485 stack usage.
46486
3a2c0242
UD
464872011-10-31 Ulrich Drepper <drepper@gmail.com>
46488
f4ec4833
UD
46489 [BZ #13367]
46490 * nss/getent.c (initgroups_keys): Show error message in case no group
46491 names are given.
46492
3a2c0242
UD
46493 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46494 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46495 __bump_nl_timestamp.
46496 * nscd/connections (nscd_init): When host database is served open
46497 netlink socket and request notification about configuration changes.
46498 (main_loop_poll): Track netlink file descriptor and bump timestamp
46499 in case data becomes available.
46500 (main_loop_epoll): Likewise.
46501 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46502 (database_pers_head): Add extra_data fileds.
46503 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46504 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46505 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46506 Adjust caller.
46507 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46508 in6ai data, call __free_in6ai.
46509 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46510 Add -DHAVE_NETLINK.
46511 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46512 interface information. Reuse previous data if netlink timestamp
46513 is not changed.
46514 (__bump_nl_timestamp): New function.
46515 (__free_in6ai): New function.
46516
636064eb
UD
465172011-10-30 Ulrich Drepper <drepper@gmail.com>
46518
46519 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46520 close_not_cancel_no_status here.
46521 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46522
9beb2334
UD
465232011-10-29 Ulrich Drepper <drepper@gmail.com>
46524
6ef76f3b
UD
46525 [BZ #13276]
46526 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46527 return value.
46528
0ffc4f3e 46529 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
46530 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46531 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46532
cb95113e
UD
465332011-07-03 Andreas Jaeger <aj@suse.de>
46534
46535 [BZ #10709]
46536 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46537 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46538 * math/libm-test.inc (sin_test): Add test case.
46539
a1b560ff
UD
465402011-10-29 Ulrich Drepper <drepper@gmail.com>
46541
c9aaface
UD
46542 [BZ #13337]
46543 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46544 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46545
d272e7f1
UD
46546 * elf/chroot_canon.c (chroot_canon): Cleanups.
46547
1bc33071
UD
46548 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46549
1760874d
TJ
46550 [BZ #13335]
46551 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46552 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46553
51d91b18
UD
46554 * string/test-strchr.c: Make usable for strchrnul testing.
46555 * string/test-strchrnul.c: New file.
46556 * string/Makefile (strop-tests): Add strchrnul.
46557
a1b560ff 46558 * po/it.po: Update from translation team.
b611fb81 46559 * po/es.po: Likewise.
a1b560ff 46560
a5b81e1f
UD
465612011-10-28 Ulrich Drepper <drepper@gmail.com>
46562
fd52bc6d
UD
46563 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46564 the three constants needed as parameters. Drop the others.
46565 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46566 __m128i_strloadu_tolower.
52e4b9eb
UD
46567 Create and initialize variable zero and use it in all the places
46568 where _mm_setzero_si128 was used.
fd52bc6d 46569
a5b81e1f
UD
46570 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46571 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46572 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46573 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46574 anymore.
46575 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46576 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46577 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46578 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46579 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46580 __mpranred, __mptan.
46581 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46582 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46583 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46584 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46585 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46586 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46587 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46588 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46589 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46590
b4343346
AS
465912011-10-28 Andreas Schwab <schwab@redhat.com>
46592
0c92d8a8
AS
46593 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46594 redefine if SHARED.
46595 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46596
b4343346
AS
46597 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46598 wide char related routines to wcsmbs subdir.
46599
3871f58f
AS
466002011-10-27 Andreas Schwab <schwab@redhat.com>
46601
46602 [BZ #13344]
46603 * misc/sys/cdefs.h (__THROWNL): Define.
46604 * posix/unistd.h: Use __THREADNL instead of __THREAD
46605 for memory synchronization functions.
46606
94d44d9f
RM
466072011-10-26 Roland McGrath <roland@hack.frob.com>
46608
21b64b15 46609 [BZ #13349]
94d44d9f
RM
46610 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46611 doesn't exist.
46612 * manual/stdio.texi (Obstack Streams): Node removed.
46613
f6ce9294
AS
466142011-10-26 Andreas Schwab <schwab@redhat.com>
46615
80479147
AS
46616 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46617 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46618 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46619
f6ce9294
AS
46620 * math/math_private.h (math_force_eval): Allow non-addressable
46621 arguments.
46622 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46623
618280a1
UD
466242011-10-25 Ulrich Drepper <drepper@gmail.com>
46625
e0016b11
UD
46626 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46627 file is not needed.
46628
46629 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46630 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46631 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46632 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46633 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46634 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46635 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46636 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46637 Add AVX variants.
46638 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46639 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46640 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46641 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46642 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46643 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46644 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46645 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46646 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46647 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46648 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46649 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46650 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46651 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46652 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46653 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46654 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46655 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46656 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46657
46658 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46659 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46660
618280a1
UD
46661 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46662 place. Use VEX encoding when compiling for AVX.
46663
37822576
AS
466642011-10-25 Andreas Schwab <schwab@redhat.com>
46665
1f1e1947
AS
46666 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46667 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46668
37822576
AS
46669 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46670
31ea014d
UD
466712011-10-25 Ulrich Drepper <drepper@gmail.com>
46672
d7826aa1 46673 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46674 useless if() expression.
d7826aa1
UD
46675 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46676 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46677 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46678 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46679 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46680 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46681 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46682 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46683 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46684 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46685 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46686 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46687 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46688 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46689 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46690 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46691 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46692 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46693 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46694
31ea014d
UD
46695 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46696
16437fec
AS
466972011-10-25 Andreas Schwab <schwab@redhat.com>
46698
46699 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46700 condition.
46701 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46702
31d3cc00
UD
467032011-10-25 Ulrich Drepper <drepper@gmail.com>
46704
46705 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46706 .text section. Avoid duplicate constants.
46707 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46708 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46709 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46710 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46711 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46712 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46713 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46714 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46715 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46716 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46717 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46718 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46719 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46720 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46721 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46722 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46723 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46724 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46725 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46726 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46727 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46728 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46729 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46730 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46731 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46732 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46733 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46734 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46735 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46736 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46737 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46738 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46739 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46740 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46741 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46742 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46743 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46744 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46745 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46746 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46747 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46748 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46749 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46750 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46751 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46752
58985aa9
UD
467532011-10-24 Ulrich Drepper <drepper@gmail.com>
46754
202c9deb
UD
46755 * sysdeps/x86_64/dla.h: Move to ...
46756 * sysdeps/x86_64/fpu/dla.h: ...here.
46757 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46758 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46759
af968f62
UD
46760 * config.make.in: Add have-mfma4 entry.
46761 * configure.in: Substitute libc_cv_cc_fma4.
46762 * math/Makefile (dbl-only-routines): Add sincostab.
46763 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46764 Use __sincostab not sincos.
46765 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46766 name is a macro.
46767 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46771 using __copysign.
46772 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46773 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46774 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46775 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46776 and __inv.
46777 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46778 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46779 __copysign.
46780 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46781 define aliases when function name is a macro.
46782 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46783 sysdeps/ieee754/dbl-64/sincos.tbl.
46784 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46785 fma4-enabled routines.
46786 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46787 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46788 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46789 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46790 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46791 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46792 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46793 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46794 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46795 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46796 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46797 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46798 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46799 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46800 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46801 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46802 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46803 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46804 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46805 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46806 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46807 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46808 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46809 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46810 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46811 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46812 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46813 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46814 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46815 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46816
58985aa9
UD
46817 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46818 rename.
46819 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46820 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46821 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46822 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46824 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46825 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46826 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46827
a201fbcf
AS
468282011-10-24 Andreas Schwab <schwab@redhat.com>
46829
46830 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46831
fc2ee42a
LD
468322011-10-23 Ulrich Drepper <drepper@gmail.com>
46833
bb3129bd
UD
46834 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46835
0275fff8
UD
46836 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46837 prediction.
46838 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46839
2fa2ae85
UD
46840 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46841 Remove unused variable magic_bits.
46842 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46843
fc2ee42a
LD
46844 * string/strnlen.c: Define and use STRNLEN macro.
46845 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46846 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46847 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46848 * wcsmbs/wcslen.c: Define and use WCSLEN.
46849 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46850 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46851 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46852 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46853 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46854 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46855 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46856
ce7dd29f
LD
468572011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46858
46859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46860 strnlen-sse2-no-bsf.
46861 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46862 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46863 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46864 Add strnlen support.
46865 (USE_AS_STRNLEN): New macro.
46866 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46867 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46868 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46869 * sysdeps/x86_64/wcslen.S: New file.
46870
979c70a3
MZ
468712011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46872
46873 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46874 XMM-moves are used for copying on small sizes.
46875
2d09f82f
LD
468762011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46877
46878 * wcsmbs/Makefile (strop-tests): Add wcschr.
46879 * wcsmbs/test-wcschr.c: New file.
46880 * string/test-strchr.c: Update.
46881 Add wcschr support.
46882 (WIDE): New macro.
46883
619fccca
LD
468842011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46885
2d09f82f 46886 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46887 * wcsmbs/test-wcslen.c: New file.
46888 * string/test-strlen.c: Update.
46889 Add wcslen support.
46890 (WIDE): New macro.
46891
09f699ea
UD
468922011-10-23 Ulrich Drepper <drepper@gmail.com>
46893
46894 * po/it.po: Update from translation team.
46895
95584d3b
LD
468962011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46897
46898 * sysdeps/x86_64/wcscmp.S: Update.
46899 Fix wrong comparison semantics.
46900 wcscmp shall use signed comparison not unsigned.
46901 Don't use substraction to avoid overflow bug.
46902 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46903 * wcsmbc/wcscmp.c: Likewise.
46904 * string/test-strcmp.c: Likewise.
46905 Add new tests to check cases with negative values.
46906
c8b3296b
UD
469072011-10-23 Ulrich Drepper <drepper@gmail.com>
46908
46909 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46910 * sysdeps/x86_64/dla.h: ...here. New file.
46911 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46913 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46914 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46915 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46916 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46917 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46918 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46919 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46920
246ad57a
AS
469212011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46922
46923 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46924 __ynl_finite aliases.
46925
a1a87169
UD
469262011-10-22 Ulrich Drepper <drepper@gmail.com>
46927
0d355eb7
UD
46928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46929
a1a87169
UD
46930 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46931 define DLA_FMA.
46932 [DLA_FMA] (EMULV): Use DLA_FMA.
46933 [DLA_FMA] (MUL12): Use EMULV.
46934 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46935 that are not needed.
46936 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46937 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46938 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46939 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46940 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46941 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46942 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46943
ee2aafe0
AS
469442011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46945
46946 * math/s_nan.c: Undef __nan.
46947 * math/s_nanf.c: Undef __nanf.
46948 * math/s_nanl.c: Undef __nanl.
46949 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46950 "math_private.h".
46951
bc62c2fb
UD
469522011-10-22 Ulrich Drepper <drepper@gmail.com>
46953
77425c63
UD
46954 * math/s_catan.c: Add branch predictions.
46955 * math/s_catanf.c: Likewise.
46956 * math/s_catanh.c: Likewise.
46957 * math/s_catanhf.c: Likewise.
46958 * math/s_catanhl.c: Likewise.
46959 * math/s_catanl.c: Likewise.
46960 * math/s_cexp.c: Likewise.
46961 * math/s_cexpf.c: Likewise.
46962 * math/s_cexpl.c: Likewise.
46963 * math/s_clog.c: Likewise.
46964 * math/s_clog10.c: Likewise.
46965 * math/s_clog10f.c: Likewise.
46966 * math/s_clog10l.c: Likewise.
46967 * math/s_clogf.c: Likewise.
46968 * math/s_clogl.c: Likewise.
46969 * math/s_csqrt.c: Likewise.
46970 * math/s_csqrtf.c: Likewise.
46971 * math/s_csqrtl.c: Likewise.
46972 * math/s_ctanf.c: Likewise.
46973 * math/s_ctanh.c: Likewise.
46974 * math/s_ctanhf.c: Likewise.
46975 * math/s_ctanhl.c: Likewise.
46976 * math/s_ctanl.c: Likewise.
46977
bc62c2fb
UD
46978 * math/math_private.h: Define __nan, __nanf, __nanl.
46979 * math/s_cacosh.c: Include <math_private.h>.
46980 * math/s_cacoshl.c: Likewise.
46981 * math/s_casinh.c: Likewise.
46982 * math/s_casinhf.c: Likewise.
46983 * math/s_casinhl.c: Likewise.
46984 * math/s_ccos.c: Rely entire on ccosh.
46985 * math/s_ccosf.c: Rely entire on ccoshf.
46986 * math/s_ccosl.c: Rely entirely on ccoshl.
46987 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46988 Remove tests for FE_INVALID.
46989 * math/s_ccoshf.c: Likewise.
46990 * math/s_ccoshl.c: Likewise.
46991 * math/s_csin.c: Likewise.
46992 * math/s_csinf.c: Likewise.
46993 * math/s_csinh.c Likewise.
46994 * math/s_csinhf.c: Likewise.
46995 * math/s_csinhl.c: Likewise.
46996 * math/s_csinl.c: Likewise.
46997 * math/s_ctan.c: Likewise.
46998 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46999 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47000 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47001
8ec250a4
UD
470022011-10-21 Ulrich Drepper <drepper@gmail.com>
47003
c196fed8
UD
47004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47005 compilation problems.
47006
8ec250a4
UD
47007 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47008 __builtin_expect.
47009
8d4f46c6
UD
470102011-10-20 Ulrich Drepper <drepper@gmail.com>
47011
ed72b654
UD
47012 * sysdeps/i386/configure.in: Test for -mfma4 option.
47013 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47014 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47015 COMMON_CPUID_INDEX_80000001.
47016 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47017 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47018 use it if FMA3 is not supported.
47019 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47020
8d4f46c6
UD
47021 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47022 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47023
d45c60c2
AS
470242011-10-20 Andreas Schwab <schwab@redhat.com>
47025
47026 [BZ #12892]
47027 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47028 it would create a cycle with a link time dependency.
47029
d9a4d2ab
UD
470302011-10-19 Ulrich Drepper <drepper@gmail.com>
47031
855d1560
UD
47032 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47033 instruction.
47034 * string/Makefile (strop-tests): Add rawmemchr.
47035 * string/test-rawmemchr.c: New file.
47036
d9a4d2ab
UD
47037 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47038 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47039 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47040 when compiling str{,n}casecmp and when AVX is available. Hook up
47041 new optimized code in initializers.
47042
8f3b1ffe
AS
470432011-10-19 Andreas Schwab <schwab@redhat.com>
47044
47045 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47046 __feraiseexcept instead of feraiseexcept.
47047
d38f1dba
UD
470482011-10-18 Ulrich Drepper <drepper@gmail.com>
47049
d9a8d0ab
UD
47050 * math/math_private.h: Define defaults for libc_fetestexcept and
47051 libc_feupdateenv.
47052 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47053 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47054 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47055 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47056 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47057 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47058 libc_fetestexcept and libc_feupdateenv.
47059
4855e3dd
UD
47060 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47061 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47062 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47063 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47064 libc_feholdexcept_setround.
47065
581d30e3
UD
47066 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47067 Add s_nearbyint-c and s_nearbyintf-c.
47068 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47069 nearbyintf inlines.
47070 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47071 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47072 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47073 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47074
d38f1dba
UD
47075 * math/math_private.h: Define defaults for libc_fegetround,
47076 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47077 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47078 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47079 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47080 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47081 standard functions.
47082 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47083 Remove comments and hacks for old compiler versions.
47084 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47085 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47086 libc_feholdexceptl.
47087
caa6c9d8
AS
470882011-10-18 Andreas Schwab <schwab@redhat.com>
47089
47090 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
47091 (__feraiseexcept_renamed): Add __NTH.
47092 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
47093 namespace violations.
47094
97c066e6
UD
470952011-10-17 Ulrich Drepper <drepper@gmail.com>
47096
99ce7b04
UD
47097 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47098
1004d182
UD
47099 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47100
228a984d
UD
47101 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47102 recently added interfaces.
47103 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47104
c8553a6a
UD
47105 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47106 about macro parameter expansion.
47107
ed22dcf6
UD
47108 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47109 __NO_MATH_INLINES is defined. Cleanups.
47110
47111 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47112 and __floorf is target has SSE4.1.
47113 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47114 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47115 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47116 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47117
b171c137
UD
47118 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47119 name.
47120 (floorf): Likewise.
47121
97c066e6
UD
47122 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47123
629f62ef
AS
471242011-10-17 Andreas Schwab <schwab@redhat.com>
47125
49a43d80
AS
47126 * misc/sys/cdefs.h: Fix last change.
47127
629f62ef
AS
47128 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47129 database lookup.
47130
e453f6cd
UD
471312011-10-16 Ulrich Drepper <drepper@gmail.com>
47132
aa78043a
UD
47133 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47134
ad0f5cad
UD
47135 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47136 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47137 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47138 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47139 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47140 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47141 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47142 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47143 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47144 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47145 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47146 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47147 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47148 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47149 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47150 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47151 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47152 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47153 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47154 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47155 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47156 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47157
47158 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47159 ceil, ceilf, floor, floorf.
47160
47161 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47162 Perform IRELATIVE relocations last.
47163
e453f6cd
UD
47164 * elf/do-rel.h: Add another parameter nrelative, replacing the
47165 local variable with the same name. Change name of the function
47166 to end in Rel or Rela (uppercase).
47167 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47168 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47169 elf_dynamic_do_##reloc function.
47170
fd5bdc09
UD
471712011-10-15 Ulrich Drepper <drepper@gmail.com>
47172
79b195b5
UD
47173 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47174 is sufficient, at least on modern CPUs.
47175
d4a28569
UD
47176 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47177
b61099b5
UD
47178 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47179 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47180
bcf01e6d
UD
47181 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47182 __expl_finite.
47183 * math/bits/math-finite.h: Add entries for exp.
47184 * math/e_expl.c: Add __*_finite alias.
47185 * sysdeps/i386/fpu/e_exp.S: Likewise.
47186 * sysdeps/i386/fpu/e_expf.S: Likewise.
47187 * sysdeps/i386/fpu/e_expl.c: Likewise.
47188 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47189 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47190 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47191 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47192 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47193 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47194 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47195
ba1a0d59
UD
47196 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47197 is sufficient, at least on modern CPUs.
47198
fd5bdc09
UD
47199 * ctype/ctype-info.c (__ctype_init): Define.
47200 * include/ctype.h (__ctype_init): Declare.
47201 (__ctype_b_loc): The variable is always initialized.
47202 (__ctype_toupper_loc): Likewise.
47203 (__ctype_tolower_loc): Likewise.
47204 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47205 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47206
7872cfb0
AS
472072011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47208
b468825a
AS
47209 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47210
7872cfb0
AS
47211 * configure.in: Also look in $cxxmachine/include for C++ system
47212 headers.
47213
be13f7bf
LD
472142011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47215
47216 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47217 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47218 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47219 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47220 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47221 (USE_AS_WMEMCMP): New macro.
47222 Fixing indents.
47223 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47224 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47225 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47226 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47227 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47228 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47229 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47230 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47231 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47232 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47233 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47234 (USE_AS_WMEMCMP): New macro.
47235 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47236 * sysdeps/string/test-memcmp.c: Update.
47237 Fix simple_wmemcmp.
47238 Add new tests.
47239 * wcsmbs/wmemcmp.c: Update.
47240 (WMEMCMP): New macro.
47241 Fix overflow bug.
47242
556a2007
AJ
472432011-10-12 Andreas Jaeger <aj@suse.de>
47244
47245 [BZ #13268]
47246 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47247
538faaa7
UD
472482011-10-15 Ulrich Drepper <drepper@gmail.com>
47249
ab6737ff
UD
47250 * libio/iofwide.c (do_length): Avoid warning.
47251
538faaa7
UD
47252 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47253
396a21b1
UD
472542011-10-14 Ulrich Drepper <drepper@gmail.com>
47255
cdf2901f
UD
47256 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47257
38ad40ce
UD
47258 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47259 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47260 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47261 * sysdeps/i386/i686/fpu/e_log.S: New file.
47262 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47263 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47264
396a21b1
UD
47265 * ctype/ctype.h: Add support for inlined isXXX functions when
47266 compiling C++ code.
47267
6b1f68c9
AS
472682011-10-14 Andreas Schwab <schwab@redhat.com>
47269
349290c0
AS
47270 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47271
6b1f68c9
AS
47272 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47273
f2282d42
RM
472742011-10-13 Roland McGrath <roland@hack.frob.com>
47275
47276 [BZ #13291]
47277 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47278
5298ffa8
AS
472792011-10-13 Andreas Schwab <schwab@redhat.com>
47280
714fad23
AS
47281 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47282 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47283 feraiseexcept.
47284
81dcc7fb
AS
47285 * sysdeps/x86_64/memrchr.S: Check for zero size.
47286
5298ffa8
AS
47287 * string/stratcliff.c: Add memrchr tests.
47288
951fbcec
LD
472892011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47290
47291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47292 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47293 rawmemchr-sse2 rawmemchr-sse2-bsf.
47294 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47295 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47296 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47297 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47298 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47299 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47300 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47301 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47302 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47303 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47304 * string/memrchr.c (MEMRCHR): New macro.
47305
0ac5ae23
UD
473062011-10-12 Ulrich Drepper <drepper@gmail.com>
47307
47308 Add integration with gcc's -ffinite-math-only and optimize wrapper
47309 functions in libm.
47310 * Versions.def: Define GLIBC_2.15 version for libm.
47311 * math/Makefile (headers): Add bits/math-finite.h.
47312 * math/bits/math-finite.h: New file.
47313 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47314 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47315 * math/e_acoshl.c: Add __*_finite alias.
47316 * math/e_acosl.c: Likewise.
47317 * math/e_asinl.c: Likewise.
47318 * math/e_atan2l.c: Likewise.
47319 * math/e_atanhl.c: Likewise.
47320 * math/e_coshl.c: Likewise.
47321 * math/e_exp10.c: Likewise.
47322 * math/e_exp10f.c: Likewise.
47323 * math/e_exp10l.c: Likewise.
47324 * math/e_exp2l.c: Likewise.
47325 * math/e_fmodl.c: Likewise.
47326 * math/e_gammal_r.c: Likewise.
47327 * math/e_hypotl.c: Likewise.
47328 * math/e_j0l.c: Likewise.
47329 * math/e_j1l.c: Likewise.
47330 * math/e_jnl.c: Likewise.
47331 * math/e_lgammal_r.c: Likewise.
47332 * math/e_log10l.c: Likewise.
47333 * math/e_log2l.c: Likewise.
47334 * math/e_logl.c: Likewise.
47335 * math/e_powl.c: Likewise.
47336 * math/e_sinhl.c: Likewise.
47337 * math/e_sqrtl.c: Likewise.
47338 * math/e_scalb.c: Completely rewritten and optimized.
47339 * math/e_scalbf.c: Likewise.
47340 * math/e_scalbl.c: Likewise.
47341 * math/w_acos.c: Likewise.
47342 * math/w_acosf.c: Likewise.
47343 * math/w_acosl.c: Likewise.
47344 * math/w_acosh.c: Likewise.
47345 * math/w_acoshf.c: Likewise.
47346 * math/w_acoshl.c: Likewise.
47347 * math/w_asin.c: Likewise.
47348 * math/w_asinf.c: Likewise.
47349 * math/w_asinl.c: Likewise.
47350 * math/w_atan2.c: Likewise.
47351 * math/w_atan2f.c: Likewise.
47352 * math/w_atan2l.c: Likewise.
47353 * math/w_atanh.c: Likewise.
47354 * math/w_atanhf.c: Likewise.
47355 * math/w_atanhl.c: Likewise.
47356 * math/w_exp10.c: Likewise.
47357 * math/w_exp10f.c: Likewise.
47358 * math/w_exp10l.c: Likewise.
47359 * math/w_fmod.c: Likewise.
47360 * math/w_fmodf.c: Likewise.
47361 * math/w_fmodl.c: Likewise.
47362 * math/w_j0.c: Likewise.
47363 * math/w_j0f.c: Likewise.
47364 * math/w_j0l.c: Likewise.
47365 * math/w_j1.c: Likewise.
47366 * math/w_j1f.c: Likewise.
47367 * math/w_j1l.c: Likewise.
47368 * math/w_jn.c: Likewise.
47369 * math/w_jnf.c: Likewise.
47370 * math/w_log.c: Likewise.
47371 * math/w_logf.c: Likewise.
47372 * math/w_logl.c: Likewise.
47373 * math/w_log10.c: Likewise.
47374 * math/w_log10f.c: Likewise.
47375 * math/w_log10l.c: Likewise.
47376 * math/w_log2.c: Likewise.
47377 * math/w_log2f.c: Likewise.
47378 * math/w_log2l.c: Likewise.
47379 * math/w_pow.c: Likewise.
47380 * math/w_powf.c: Likewise.
47381 * math/w_powl.c: Likewise.
47382 * math/w_remainder.c: Likewise.
47383 * math/w_remainderf.c: Likewise.
47384 * math/w_remainderl.c: Likewise.
47385 * math/w_scalb.c: Likewise.
47386 * math/w_scalbf.c: Likewise.
47387 * math/w_scalbl.c: Likewise.
47388 * math/w_sqrt.c: Likewise.
47389 * math/w_sqrtf.c: Likewise.
47390 * math/w_sqrtl.c: Likewise.
47391 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47392 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47393 used.
47394 * math/math_private.h: Declare __kernel_standard_f.
47395 * math/w_cosh.c: Remove cruft and optimize a bit.
47396 * math/w_coshf.c: Likewise.
47397 * math/w_coshl.c: Likewise.
47398 * math/w_exp2.c: Likewise.
47399 * math/w_exp2f.c: Likewise.
47400 * math/w_exp2l.c: Likewise.
47401 * math/w_hypot.c: Likewise.
47402 * math/w_hypotf.c: Likewise.
47403 * math/w_hypotl.c: Likewise.
47404 * math/w_lgamma.c: Likewise.
47405 * math/w_lgamma_r.c: Likewise.
47406 * math/w_lgammaf.c: Likewise.
47407 * math/w_lgammaf_r.c: Likewise.
47408 * math/w_lgammal.c: Likewise.
47409 * math/w_lgammal_r.c: Likewise.
47410 * math/w_sinh.c: Likewise.
47411 * math/w_sinhf.c: Likewise.
47412 * math/w_sinhl.c: Likewise.
47413 * math/w_tgamma.c: Likewise.
47414 * math/w_tgammaf.c: Likewise.
47415 * math/w_tgammal.c: Likewise.
47416 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47417 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47418 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47419 Minor optimizations. Pretty printing. Remove cruft.
47420 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47421 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47422 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47423 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47424 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47425 * sysdeps/i386/fpu/e_asin.S: Likewise.
47426 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47427 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47428 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47429 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47430 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47431 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47432 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47433 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47434 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47435 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47436 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47437 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47438 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47439 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47440 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47441 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47442 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47443 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47444 * sysdeps/i386/fpu/e_log.S: Likewise.
47445 * sysdeps/i386/fpu/e_log10.S: Likewise.
47446 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47447 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47448 * sysdeps/i386/fpu/e_log2.S: Likewise.
47449 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47450 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47451 * sysdeps/i386/fpu/e_logf.S: Likewise.
47452 * sysdeps/i386/fpu/e_logl.S: Likewise.
47453 * sysdeps/i386/fpu/e_pow.S: Likewise.
47454 * sysdeps/i386/fpu/e_powf.S: Likewise.
47455 * sysdeps/i386/fpu/e_powl.S: Likewise.
47456 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47457 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47458 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47459 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47460 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47461 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47462 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47463 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47464 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47465 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47466 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47467 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47468 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47469 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47470 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47471 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47472 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47473 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47474 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47475 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47476 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47477 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47478 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47479 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47480 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47481 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47482 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47483 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47484 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47485 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47486 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47487 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47488 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47489 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47490 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47491 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47492 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47493 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47494 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47495 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47496 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47497 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47498 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47499 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47500 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47501 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47502 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47503 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47504 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47505 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47506 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47507 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47508 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47509 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47510 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47511 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47512 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47513 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47514 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47515 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47516 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47517 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47518 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47519 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47520 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47521 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47522 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47523 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47524 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47525 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47526 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47527 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47528 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47529 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47530 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47531 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47532 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47533 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47534 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47535 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47536 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47537 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47538 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47539 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47540 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47541 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47542 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47543 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47544 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47545 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47546 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47547 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47548 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47549 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47550 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47551 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47552 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47553 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47554 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47555 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47556 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47557 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47558 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47559 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47560 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47561 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47562 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47563 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47564 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47565 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47566 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47567 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47568 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47569 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47570 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47571 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47572 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47573 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47574 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47575 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47576 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47577 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47578 (__isnanf): Likewise.
47579 (__isinf_ns): Likewise.
47580 (__isinf_nsf): Likewise.
47581 (__finite): Likewise.
47582 (__finitef): Likewise.
47583 (__ieee754_sqrt): Define as macro.
47584 (__ieee754_sqrtf): Define as macro.
47585 (__ieee754_sqrtl): Define as macro.
47586 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47587 inlined copy.
47588 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47589 __FINITE_MATH_ONLY__ consistent.
47590 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47591
12cc2fcd
AS
475922011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47593
a843a204
AS
47594 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47595 of rawmemchr.
47596
12cc2fcd
AS
47597 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47598
c853acd5
UD
475992011-10-09 Ulrich Drepper <drepper@gmail.com>
47600
47601 * po/ja.po: Update from translation team.
47602
c658d255
RM
476032011-10-08 Roland McGrath <roland@hack.frob.com>
47604
110946e4
RM
47605 * locale/programs/locarchive.c (prepare_address_space): New function.
47606 (create_archive, enlarge_archive, open_archive): Use it.
47607
50604220
RM
47608 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47609 inside [SHARED], where it is used.
47610
c658d255
RM
47611 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47612
47613 * nss/getent.c (netgroup_keys): Remove unused variable.
47614 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47615
6a621eb7
UD
476162011-10-08 Ulrich Drepper <drepper@gmail.com>
47617
7edb55ce
UD
47618 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47619 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47620 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47621 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47622 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47623 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47624 * math/Makefile (libm-calls): Add s_isinf_ns.
47625 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47626 * math/multc3.c: Likewise.
47627 * math/s_casin.c: Likewise.
47628 * math/s_casinf.c: Likewise.
47629 * math/s_casinl.c: Likewise.
47630 * math/s_ccos.c: Likewise.
47631 * math/s_ccosf.c: Likewise.
47632 * math/s_ccosl.c: Likewise.
47633 * math/s_ctan.c: Likewise.
47634 * math/s_ctanf.c: Likewise.
47635 * math/s_ctanh.c: Likewise.
47636 * math/s_ctanhf.c: Likewise.
47637 * math/s_ctanhl.c: Likewise.
47638 * math/s_ctanl.c: Likewise.
47639 * math/w_fmod.c: Likewise.
47640 * math/w_fmodf.c: Likewise.
47641 * math/w_fmodl.c: Likewise.
47642 * math/w_remainder.c: Likewise.
47643 * math/w_remainderf.c: Likewise.
47644 * math/w_remainderl.c: Likewise.
47645 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47646 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47647 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47648 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47649 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47650 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47651 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47652 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47653
187da0ae
UD
47654 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47655 of the number.
47656 * stdio-common/printf_fphex.c: Likewise.
47657 * stdio-common/printf_size.c: Likewise.
47658
9277c064
UD
47659 * math/e_exp10.c: Include math_private.h using <...> not "...".
47660 * math/e_exp10f.c: Likewise.
47661 * math/e_exp10l.c: Likewise.
47662 * math/e_exp2l.c: Likewise.
47663 * math/e_j0l.c: Likewise.
47664 * math/e_j1l.c: Likewise.
47665 * math/e_jnl.c: Likewise.
47666 * math/e_lgammal_r.c: Likewise.
47667 * math/e_rem_pio2l.c: Likewise.
47668 * math/e_scalb.c: Likewise.
47669 * math/e_scalbf.c: Likewise.
47670 * math/e_scalbl.c: Likewise.
47671 * math/k_cosl.c: Likewise.
47672 * math/k_sinl.c: Likewise.
47673 * math/k_tanl.c: Likewise.
47674 * math/s_cacoshf.c: Likewise.
47675 * math/s_catan.c: Likewise.
47676 * math/s_catanf.c: Likewise.
47677 * math/s_catanh.c: Likewise.
47678 * math/s_catanhf.c: Likewise.
47679 * math/s_catanhl.c: Likewise.
47680 * math/s_catanl.c: Likewise.
47681 * math/s_ccosh.c: Likewise.
47682 * math/s_ccoshf.c: Likewise.
47683 * math/s_ccoshl.c: Likewise.
47684 * math/s_cexp.c: Likewise.
47685 * math/s_cexpf.c: Likewise.
47686 * math/s_cexpl.c: Likewise.
47687 * math/s_clog.c: Likewise.
47688 * math/s_clog10.c: Likewise.
47689 * math/s_clog10f.c: Likewise.
47690 * math/s_clog10l.c: Likewise.
47691 * math/s_clogf.c: Likewise.
47692 * math/s_clogl.c: Likewise.
47693 * math/s_csin.c: Likewise.
47694 * math/s_csinf.c: Likewise.
47695 * math/s_csinh.c: Likewise.
47696 * math/s_csinhf.c: Likewise.
47697 * math/s_csinhl.c: Likewise.
47698 * math/s_csinl.c: Likewise.
47699 * math/s_csqrt.c: Likewise.
47700 * math/s_csqrtf.c: Likewise.
47701 * math/s_csqrtl.c: Likewise.
47702 * math/s_ctan.c: Likewise.
47703 * math/s_ctanf.c: Likewise.
47704 * math/s_ctanh.c: Likewise.
47705 * math/s_ctanhf.c: Likewise.
47706 * math/s_ctanhl.c: Likewise.
47707 * math/s_ctanl.c: Likewise.
47708 * math/s_ldexp.c: Likewise.
47709 * math/s_ldexpf.c: Likewise.
47710 * math/s_ldexpl.c: Likewise.
47711 * math/s_significand.c: Likewise.
47712 * math/s_significandf.c: Likewise.
47713 * math/s_significandl.c: Likewise.
47714 * math/w_acos.c: Likewise.
47715 * math/w_acosf.c: Likewise.
47716 * math/w_acosh.c: Likewise.
47717 * math/w_acoshf.c: Likewise.
47718 * math/w_acoshl.c: Likewise.
47719 * math/w_acosl.c: Likewise.
47720 * math/w_asin.c: Likewise.
47721 * math/w_asinf.c: Likewise.
47722 * math/w_asinl.c: Likewise.
47723 * math/w_atan2.c: Likewise.
47724 * math/w_atan2f.c: Likewise.
47725 * math/w_atan2l.c: Likewise.
47726 * math/w_atanh.c: Likewise.
47727 * math/w_atanhf.c: Likewise.
47728 * math/w_atanhl.c: Likewise.
47729 * math/w_cosh.c: Likewise.
47730 * math/w_coshf.c: Likewise.
47731 * math/w_coshl.c: Likewise.
47732 * math/w_dremf.c: Likewise.
47733 * math/w_exp10.c: Likewise.
47734 * math/w_exp10f.c: Likewise.
47735 * math/w_exp10l.c: Likewise.
47736 * math/w_exp2.c: Likewise.
47737 * math/w_exp2f.c: Likewise.
47738 * math/w_fmod.c: Likewise.
47739 * math/w_fmodf.c: Likewise.
47740 * math/w_fmodl.c: Likewise.
47741 * math/w_hypot.c: Likewise.
47742 * math/w_hypotf.c: Likewise.
47743 * math/w_hypotl.c: Likewise.
47744 * math/w_j0.c: Likewise.
47745 * math/w_j0f.c: Likewise.
47746 * math/w_j0l.c: Likewise.
47747 * math/w_j1.c: Likewise.
47748 * math/w_j1f.c: Likewise.
47749 * math/w_j1l.c: Likewise.
47750 * math/w_jn.c: Likewise.
47751 * math/w_jnf.c: Likewise.
47752 * math/w_jnl.c: Likewise.
47753 * math/w_lgamma.c: Likewise.
47754 * math/w_lgamma_r.c: Likewise.
47755 * math/w_lgammaf.c: Likewise.
47756 * math/w_lgammaf_r.c: Likewise.
47757 * math/w_lgammal.c: Likewise.
47758 * math/w_lgammal_r.c: Likewise.
47759 * math/w_log.c: Likewise.
47760 * math/w_log10.c: Likewise.
47761 * math/w_log10f.c: Likewise.
47762 * math/w_log10l.c: Likewise.
47763 * math/w_log2.c: Likewise.
47764 * math/w_log2f.c: Likewise.
47765 * math/w_log2l.c: Likewise.
47766 * math/w_logf.c: Likewise.
47767 * math/w_logl.c: Likewise.
47768 * math/w_pow.c: Likewise.
47769 * math/w_powf.c: Likewise.
47770 * math/w_powl.c: Likewise.
47771 * math/w_remainder.c: Likewise.
47772 * math/w_remainderf.c: Likewise.
47773 * math/w_remainderl.c: Likewise.
47774 * math/w_scalb.c: Likewise.
47775 * math/w_scalbf.c: Likewise.
47776 * math/w_scalbl.c: Likewise.
47777 * math/w_sinh.c: Likewise.
47778 * math/w_sinhf.c: Likewise.
47779 * math/w_sinhl.c: Likewise.
47780 * math/w_sqrt.c: Likewise.
47781 * math/w_sqrtf.c: Likewise.
47782 * math/w_sqrtl.c: Likewise.
47783 * math/w_tgamma.c: Likewise.
47784 * math/w_tgammaf.c: Likewise.
47785 * math/w_tgammal.c: Likewise.
47786
6a621eb7
UD
47787 * po/ja.po: Update from translation team.
47788
bf582445
AJ
477892011-09-29 Andreas Jaeger <aj@suse.de>
47790
f9efbf3a
AJ
47791 [BZ #13179]
47792 * sunrpc/netname.c (netname2host): Fix logic.
47793
bf582445
AJ
47794 [BZ #6779]
47795 [BZ #6783]
47796 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47797 correctly.
47798 * math/w_remainder.c (__remainder): Likewise.
47799 * math/w_remainderf.c (__remainderf): Likewise.
47800 * math/libm-test.inc (remainder_test): Add test cases.
47801
48693bea
AK
478022011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47803
47804 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47805 sdiv_qrnnd.
47806
42622229
LD
478072011-10-07 Ulrich Drepper <drepper@gmail.com>
47808
47809 * string/test-memcmp.c: Avoid unncessary #defines.
47810 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47811
093ecf92
LD
478122011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47813
47814 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47815 Use new sse2 version for core i3 - i7 as it's faster
47816 than sse42 version.
47817 (bit_Prefer_PMINUB_for_stringop): New.
47818 * sysdeps/x86_64/rawmemchr.S: Update.
47819 Replace with faster SSE2 version.
47820 * sysdeps/x86_64/memrchr.S: New file.
47821 * sysdeps/x86_64/memchr.S: Update.
47822 Replace with faster SSE2 version.
47823
fde56e5c
MP
478242011-09-12 Marek Polacek <mpolacek@redhat.com>
47825
47826 * elf/dl-load.c (lose): Add cast to avoid warning.
47827
21fd49a9
UD
478282011-10-07 Ulrich Drepper <drepper@gmail.com>
47829
5a06e643
UD
47830 * po/ca.po: Update from translation team.
47831
684ae515
UD
47832 * inet/getnetgrent_r.c: Hook up nscd.
47833 * nscd/Makefile (routines): Add nscd_netgroup.
47834 (nscd-modules): Add netgroupcache.
47835 (CFLAGS-netgroupcache.c): Define.
47836 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47837 (cache_search): Add const to second parameter.
47838 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47839 INNETGR.
47840 (dbs): Add netgrdb entry.
47841 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47842 (verify_persistent_db): Handle netgrdb.
47843 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47844 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47845 GETFDNETGR.
47846 (netgroup_response_header): Define.
47847 (innetgroup_response_header): Define.
47848 (datahead): Add netgroup_response_header and innetgroup_response_header
47849 elements.
47850 * nscd/nscd.conf: Add entries for netgroup cache.
47851 * nscd/nscd.h (dbtype): Add netgrdb.
47852 (_PATH_NSCD_NETGROUP_DB): Define.
47853 (netgroup_iov_disabled): Declare.
47854 (xmalloc, xcalloc, xrealloc): Move declarations here.
47855 (cache_search): Adjust prototype.
47856 Add netgroup-related prototypes.
47857 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47858 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47859 (__nscd_innetgr): Declare.
47860 * nscd/selinux.c (perms): Use access_vector_t as element type and
47861 add netgroup-related initializers.
47862 * nscd/netgroupcache.c: New file.
47863 * nscd/nscd_netgroup.c: New file.
47864 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47865 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47866 For four parameters use innetgr.
47867 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47868 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47869 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47870 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47871
21fd49a9
UD
47872 * nscd/connections.c (register_traced_file): Don't register file
47873 for disabled databases.
47874
054c0457
UD
478752011-10-06 Ulrich Drepper <drepper@gmail.com>
47876
32b63198
UD
47877 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47878
054c0457
UD
47879 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47880 from tree and freeing node.
47881
64031225
JO
478822011-09-25 Jiri Olsa <jolsa@redhat.com>
47883
47884 * nss/nsswitch.c (__nss_database_lookup): Handle
47885 nss_parse_service_list out of memory case.
47886
0490345c
JO
478872011-09-15 Jiri Olsa <jolsa@redhat.com>
47888
47889 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47890 out of memory case.
47891
3a62d00d
AS
478922011-10-04 Andreas Schwab <schwab@redhat.com>
47893
47894 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47895 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47896 pass it down.
47897 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47898 elf_machine_rela, elf_machine_lazy_rel.
47899 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47900 (ELF_DYNAMIC_DO_REL): Likewise.
47901 (ELF_DYNAMIC_DO_RELA): Likewise.
47902 (ELF_DYNAMIC_RELOCATE): Likewise.
47903 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47904 to ELF_DYNAMIC_DO_REL.
47905 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47906 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47907 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47908 elf_machine_rela.
47909 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47910 skip_ifunc, don't call ifunc function if non-zero.
47911 (elf_machine_rela): Likewise.
47912 (elf_machine_lazy_rel): Likewise.
47913 (elf_machine_lazy_rela): Likewise.
47914 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47915 (elf_machine_lazy_rel): Likewise.
47916 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47917 Likewise.
47918 (elf_machine_lazy_rel): Likewise.
47919 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47920 Likewise.
47921 (elf_machine_lazy_rel): Likewise.
47922 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47923 (elf_machine_lazy_rel): Likewise.
47924 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47925 (elf_machine_lazy_rel): Likewise.
47926 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47927 (elf_machine_lazy_rel): Likewise.
47928 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47929 (elf_machine_lazy_rel): Likewise.
47930 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47931 (elf_machine_lazy_rel): Likewise.
47932 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47933 (elf_machine_lazy_rel): Likewise.
47934
68577918
UD
479352011-09-28 Ulrich Drepper <drepper@gmail.com>
47936
47937 * nss/nss_files/files-init.c (_nss_files_init): Use static
47938 initialization for all the *_traced_file variables.
47939
68822d74
AS
479402011-09-28 Andreas Schwab <schwab@redhat.com>
47941
47942 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47943
2056100b
RM
479442011-09-27 Roland McGrath <roland@hack.frob.com>
47945
47946 [BZ #13226]
47947 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47948
32c76b63
AS
479492011-09-27 Andreas Schwab <schwab@redhat.com>
47950
47951 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47952 Reread the line before reparsing it.
47953
bf972c9d
AS
479542011-09-26 Andreas Schwab <schwab@redhat.com>
47955
47956 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47957
e057a1b5
JM
479582011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47959 Maxim Kuvyrkov <maxim@codesourcery.com>
47960 Joseph Myers <joseph@codesourcery.com>
47961
47962 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47963 if needed for __stack_chk_guard.
47964
bc7e1c36
RM
479652011-09-19 Roland McGrath <roland@hack.frob.com>
47966
ecb1482f
RM
47967 * sysdeps/posix/spawni.c (script_execute): Always define it.
47968 It will be optimized away if unused.
47969 (maybe_script_execute): New function.
47970 (__spawni): Call it.
47971
bc7e1c36
RM
47972 * Makerules: Don't include tls.make.
47973 (config-tls): Always set to thread.
47974 * tls.make.c: File removed.
47975
1c3b002b
MF
479762011-09-19 Mike Frysinger <vapier@gentoo.org>
47977
47978 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47979 * config.make.in (CPPFLAGS-config): New substituted variable.
47980
2840865d
UD
479812011-09-15 Ulrich Drepper <drepper@gmail.com>
47982
88738eb6
UD
47983 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47984
cbf645a6 47985 [BZ #13192]
2840865d
UD
47986 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47987 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47988
b402e91a
RM
479892011-09-15 Roland McGrath <roland@hack.frob.com>
47990
47991 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47992 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47993 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47994 (CALL_FAIL): Likewise.
47995 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47996 (CALL_FAIL): Macro removed.
47997 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47998
4c1a1f71
UD
479992011-09-15 Ulrich Drepper <drepper@gmail.com>
48000
48001 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48002 for __FINITE_MATH_ONLY__ == 1.
48003
edc121be
AS
480042011-09-15 Andreas Schwab <schwab@redhat.com>
48005
48006 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48007 __ieee754_sqrt instead of sqrt.
48008 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48009 __ieee754_sqrtf instead of sqrtf.
48010 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48011 __floorf instead of floorf.
48012 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48013 __floorf, __truncf instead of floorf, truncf.
48014
cd205654
UD
480152011-09-14 Ulrich Drepper <drepper@gmail.com>
48016
ee4d0315
UD
48017 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48018
cd205654
UD
48019 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48020 __extern_always_inline.
48021 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48022 32-bit.
48023
48b67d71
AS
480242011-09-14 Andreas Schwab <schwab@redhat.com>
48025
48026 * elf/rtld.c (dl_main): Also relocate in dependency order when
48027 doing symbol dependency testing.
48028
1ae12c75
AS
480292011-09-13 Andreas Schwab <schwab@linux-m68k.org>
48030
48031 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48032 Always define `refsym'.
48033
995a80df
AS
480342011-09-13 Andreas Schwab <schwab@redhat.com>
48035
e529793b
AS
48036 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48037 (__FD_ELT): Renamed from __FDELT.
48038 * misc/bits/select2.h (__FD_ELT): Likewise.
48039 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48040 __FD_MASK instead of __FDELT, __FDMASK.
48041 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48042 Likewise.
48043 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48044 Likewise.
48045
52d4fef8
AS
48046 * elf/Makefile (gen-ldd): Fix pattern.
48047
995a80df
AS
48048 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48049 (init_tls): Likewise.
48050
8682f8b0
UD
480512011-09-12 Ulrich Drepper <drepper@gmail.com>
48052
48053 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48054
de82006d
AS
480552011-09-12 Andreas Schwab <schwab@redhat.com>
48056
a7c8e6a1
AS
48057 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48058 `struct cmsghdr *' instead of `void *'.
48059 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48060 Likewise.
48061
0f31fe77
AS
480622011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48063
48064 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48065 if non-absolute.
48066 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48067 ldd_rewrite_script.
0f31fe77 48068
32b4c839
UD
480692011-09-11 Ulrich Drepper <drepper@gmail.com>
48070
83cd1420
UD
48071 * configure.in: Remove --with-tls option.
48072 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48073 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48074 out in case it is missing.
48075 * sysdeps/ia64/elf/configure.in: Likewise.
48076 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48077 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48078 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48079 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48080 * sysdeps/sh/elf/configure.in: Likewise.
48081 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48082 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48083 * sysdeps/x86_64/elf/configure.in: Likewise.
48084 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48085 * sysdeps/mach/hurd/tls.h: Likewise.
48086
633f745d
UD
48087 [BZ #13067]
48088 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48089
f318beb8
UD
48090 [BZ #13090]
48091 * configure.in: Fix use of AC_INIT.
48092
32b4c839
UD
48093 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48094
3ce1f295
UD
480952011-09-10 Ulrich Drepper <drepper@gmail.com>
48096
bb016596
UD
48097 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48098 __set_errno.
8e58439c
UD
48099 * malloc/hooks.c: Likewise.
48100
aebae053 48101 [BZ #11929]
02d46fc4
UD
48102 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48103 variables statically.
48104 (narenas): Initialize.
48105 (list_lock): Initialize.
bb016596
UD
48106 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48107 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
48108 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48109 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48110 Add initializers to main_arena and mp_.
48111 (malloc_state): Remove pagesize member. Change all users to use
48112 GLRO(dl_pagesize).
48113
48114 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48115 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48116 is always initialized.
48117
22a89187
UD
48118 * malloc/malloc.c: Removed unused configurations and dead code.
48119 * malloc/arena.c: Likewise.
48120 * malloc/hooks.c: Likewise.
02d46fc4 48121 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 48122
d063d164
UD
48123 * include/tls.h: Removed. USE___THREAD must always be defined.
48124 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48125 * elf/dl-libc.c: Likewise.
48126 * elf/dl-tsd.c: Likewise.
48127 * include/errno.h: Likewise.
48128 * include/netdb.h: Likewise.
48129 * include/resolv.h: Likewise.
48130 * inet/herrno-loc.c: Likewise.
48131 * inet/herrno.c: Likewise.
48132 * malloc/arena.c: Likewise.
48133 * malloc/hooks.c: Likewise.
48134 * malloc/malloc.c: Likewise.
48135 * resolv/res-state.c: Likewise.
48136 * resolv/res_libc.c: Likewise.
48137 * sysdeps/i386/dl-machine.h: Likewise.
48138 * sysdeps/ia64/dl-machine.h: Likewise.
48139 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48140 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48141 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48142 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48143 * sysdeps/sh/dl-machine.h: Likewise.
48144 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48145 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48146 * sysdeps/unix/i386/sysdep.S: Likewise.
48147 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48148 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48149 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48150 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48151 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48153 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48154 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48157 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48158 * sysdeps/x86_64/dl-machine.h: Likewise.
48159 * tls.make.c: Likewise.
48160
3ce1f295
UD
48161 * configure.in: Remove --with-__thread option. Make tests for
48162 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48163 tls_model attribute fail if no support is available. Remove
48164 USE_IN_LIBIO.
48165 * Makeconfig: Adjust for dropped configure option. All features are
48166 now mandatory.
48167 * Makerules: Likewise.
48168 * Versions.def: Likewise.
48169 * argp/argp-fmtstream.c: Likewise.
48170 * argp/argp-fmtstream.h: Likewise.
48171 * argp/argp-help.c: Likewise.
48172 * assert/assert.c: Likewise.
48173 * config.h.in: Likewise.
48174 * config.make.in: Likewise.
48175 * configure: Likewise.
48176 * configure.in: Likewise.
48177 * csu/Versions: Likewise.
48178 * csu/init.c: Likewise.
48179 * elf/tst-audit2.c: Likewise.
48180 * elf/tst-tls10.c: Likewise.
48181 * elf/tst-tls10.h: Likewise.
48182 * elf/tst-tls11.c: Likewise.
48183 * elf/tst-tls12.c: Likewise.
48184 * elf/tst-tls14.c: Likewise.
48185 * elf/tst-tlsmod11.c: Likewise.
48186 * elf/tst-tlsmod12.c: Likewise.
48187 * elf/tst-tlsmod13.c: Likewise.
48188 * elf/tst-tlsmod13a.c: Likewise.
48189 * elf/tst-tlsmod14a.c: Likewise.
48190 * elf/tst-tlsmod15b.c: Likewise.
48191 * elf/tst-tlsmod16a.c: Likewise.
48192 * elf/tst-tlsmod16b.c: Likewise.
48193 * elf/tst-tlsmod7.c: Likewise.
48194 * elf/tst-tlsmod8.c: Likewise.
48195 * elf/tst-tlsmod9.c: Likewise.
48196 * gmon/gmon.c: Likewise.
48197 * grp/fgetgrent_r.c: Likewise.
48198 * grp/putgrent.c: Likewise.
48199 * hurd/fopenport.c: Likewise.
48200 * include/libc-symbols.h: Likewise.
48201 * include/tls.h: Likewise.
48202 * intl/gettextP.h: Likewise.
48203 * intl/loadinfo.h: Likewise.
48204 * locale/global-locale.c: Likewise.
48205 * locale/localeinfo.h: Likewise.
48206 * mach/devstream.c: Likewise.
48207 * malloc/arena.c: Likewise.
48208 * malloc/set-freeres.c: Likewise.
48209 * misc/err.c: Likewise.
48210 * misc/getttyent.c: Likewise.
48211 * misc/mntent_r.c: Likewise.
48212 * posix/getopt.c: Likewise.
48213 * posix/wordexp.c: Likewise.
48214 * pwd/fgetpwent_r.c: Likewise.
48215 * resolv/Versions: Likewise.
48216 * resolv/res_hconf.c: Likewise.
48217 * shadow/fgetspent_r.c: Likewise.
48218 * shadow/putspent.c: Likewise.
48219 * stdio-common/printf_fphex.c: Likewise.
48220 * stdio-common/tmpfile.c: Likewise.
48221 * stdlib/abort.c: Likewise.
48222 * stdlib/fmtmsg.c: Likewise.
48223 * sunrpc/auth_unix.c: Likewise.
48224 * sunrpc/clnt_perr.c: Likewise.
48225 * sunrpc/clnt_tcp.c: Likewise.
48226 * sunrpc/clnt_udp.c: Likewise.
48227 * sunrpc/clnt_unix.c: Likewise.
48228 * sunrpc/openchild.c: Likewise.
48229 * sunrpc/svc_simple.c: Likewise.
48230 * sunrpc/svc_tcp.c: Likewise.
48231 * sunrpc/svc_udp.c: Likewise.
48232 * sunrpc/svc_unix.c: Likewise.
48233 * sunrpc/xdr.c: Likewise.
48234 * sunrpc/xdr_array.c: Likewise.
48235 * sunrpc/xdr_rec.c: Likewise.
48236 * sunrpc/xdr_ref.c: Likewise.
48237 * sunrpc/xdr_stdio.c: Likewise.
48238
1248c1c4
PB
482392011-09-09 Ulrich Drepper <drepper@gmail.com>
48240
48241 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48242
482432011-07-03 Andreas Jaeger <aj@suse.de>
48244
48245 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48246 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48247 regenerate with gen-libm-tests.pl.
48248
482492010-05-12 Petr Baudis <pasky@suse.cz>
48250
48251 [BZ #11589]
48252 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48253 around j0() zero points by switching to j1().
48254 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48255 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48257 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48258
f22e1074
UD
482592011-09-09 Ulrich Drepper <drepper@gmail.com>
48260
f19009c1
UD
48261 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48262 instead of 0.
48263 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 48264 instead of 0.
f19009c1
UD
48265 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48266 Patch in part by Pavel Roskin <proski@gnu.org>.
48267
3f8cc204
UD
48268 [BZ #13138]
48269 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48270 realloc.
48271 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48272 Free memory block if necessary.
48273
f22e1074
UD
48274 [BZ #12847]
48275 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48276 be NULL. Don't lock in this case.
48277
0a2349f9
RM
482782011-09-09 Roland McGrath <roland@hack.frob.com>
48279
48280 * elf/elf.h (ELFOSABI_GNU): New macro.
48281 (ELFOSABI_LINUX): Define to that.
48282
f3cdd467
DZ
482832011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48284
48285 * string/strncat.c (strncat): Undef the symbol in case it has been
48286 defined in bits/string.h.
48287
74718d13
UD
482882011-09-09 Ulrich Drepper <drepper@gmail.com>
48289
633e9e0f
UD
48290 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48291
0a2349f9 48292 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
48293 link map.
48294
f9924780
AJ
482952011-08-17 Andreas Jaeger <aj@suse.de>
48296
48297 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48298
7f5517aa
PP
482992011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48300 Ian Lance Taylor <iant@google.com>
48301
48302 * math/libm-test.inc (lround_test): New testcase.
48303 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48304
762011fe
UD
483052011-09-08 Ulrich Drepper <drepper@gmail.com>
48306
92963737
UD
48307 * Makefile: Remove support for automatic cvs check-ins.
48308 * Makerules: Likewise.
48309 * config.make.in: Likewise.
48310 * configure.in: Likewise.
48311 * intl/Makefile: Likewise.
48312 * locale/Makefile: Likewise.
48313 * po/Makefile: Likewise.
48314 * posix/Makefile: Likewise.
48315 * sysdeps/gnu/Makefile: Likewise.
48316 * sysdeps/mach/hurd/Makefile: Likewise.
48317 * sysdeps/sparc/sparc32/Makefile: Likewise.
48318
b0727fd8
JS
48319 [BZ #13118]
48320 * posix/Makefile (bug-regex32-ENV): Define.
48321 Patch by John Stanley <jpsinthemix@verizon.net>.
48322
a0f33f99
UD
48323 * misc/Makefile (headers): Add bits/select2.h.
48324 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48325 * misc/bits/select2.h: New file.
48326 * include/bits/select2.h: New file.
48327 * debug/Makefile (routines): Add fdelt_chk.
48328 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48329 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48330 FD_ISSET.
48331 * debug/fdelt_chk.c: New file.
48332
762011fe
UD
48333 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48334 * wcsmbs/test-wmemcmp.c: Likewise.
48335 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 48336 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
48337
483382011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48339
48340 * string/Makefile (strop-tests): Add memcmp.
48341 * string/test-wmemcmp.c: New file.
48342 * string/test-memcmp.c: Add wmemcmp support.
48343
7f513ec8
RM
483442011-09-08 Roland McGrath <roland@hack.frob.com>
48345
0442afb4
RM
48346 [BZ #13153]
48347 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48348 2011-07-19 change.
48349
7f513ec8
RM
48350 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48351 garbage value in a __mach_port_mod_refs call in the cases of the
48352 task-self and thread-self ports.
48353
a12b2239
ST
483542011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48355
48356 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48357
610f9ab4
AS
483582011-09-08 Andreas Schwab <schwab@redhat.com>
48359
7f513ec8 48360 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 48361
48882a1a
LD
483622011-09-07 Ulrich Drepper <drepper@gmail.com>
48363
b49865be
UD
48364 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48365
fdc86bc9
UD
48366 * elf/dl-libc.c (dlerror_run): Pass back error code from
48367 dl_catch_error.
48368
c966526a
UD
48369 [BZ #13123]
48370 * elf/dl-load.c (lose): Free l_origin if it is valid.
48371
48882a1a
LD
48372 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48373 names.
48374 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48375 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48376 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48377 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48378 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48379 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48380
77a2a8b4
AZ
483812011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48382
48383 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48384 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48385 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48386 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48387 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48388 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48389 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48390 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48391 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48392 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48393
24f579d8
AM
483942011-08-15 Alan Modra <amodra@gmail.com>
48395
48396 [BZ #13092]
48397 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48398 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48399 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48400 ppc_mcount to static-only-routines.
48401 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48402 __mcount_internal.
48403 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48404 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48405
3d4837df
UD
484062011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48407
48408 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48409 for finite and infinity parameters.
48410
22700377
WS
484112011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48412
48413 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48414 and add nop instructions for throughput optimization.
48415 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48416
5025581e
WS
484172011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48418
48419 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48420 aligned copy for power7 with vector-scalar instructions.
48421 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48422
08a300c9
L
484232011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48424
48425 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48426 AVX check.
48427
59178ef9
AS
484282011-09-07 Andreas Schwab <schwab@redhat.com>
48429
48430 [BZ #13144]
48431 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48432 last change.
48433
e38ba7ab
UD
484342011-09-07 Ulrich Drepper <drepper@gmail.com>
48435
48436 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48437 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48438 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48439 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48440 clock_gettime.
48441
d53a73ac
UD
484422011-09-06 Ulrich Drepper <drepper@gmail.com>
48443
fc8bffcc
UD
48444 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48445 Forgot to demangle the pointer.
48446
ceaa0c5d
UD
48447 * sysdeps/i386/sysdep.h: Define atom_text_section.
48448 * sysdeps/x86_64/sysdep.h: Likewise.
48449 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48450 section with atom_text_section.
48451 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48452 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48453 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48455 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48456
a77d3c17
UD
48457 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48458 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48459 already be defined. Change to take two parameters and don't assign
48460 result to variable. Adjust all users.
48461 Define INTERNAL_GETTIME if not already defined.
48462 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48463 call.
48464 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48465 HAVE_CLOCK_GETTIME_VSYSCALL.
48466 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48467
d53a73ac
UD
48468 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48469 gettimeofday vsyscall, just use time.
48470
a8f84144
AS
484712011-09-06 Andreas Schwab <schwab@redhat.com>
48472
48473 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48474 <errno.h>.
48475
ef606249
UD
484762011-09-06 Ulrich Drepper <drepper@gmail.com>
48477
48478 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48479 syscall on x86-64.
48480 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48481 syscall.
48482 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48483 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48484 syscall if possible.
48485
6585cb60
UD
484862011-09-05 Ulrich Drepper <drepper@gmail.com>
48487
48488 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48489 e_ident. Don't pass to find_mapsXX.
48490 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48491
a5f524e4
LD
484922011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48493
48494 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48495 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48496 * sysdeps/x86_64/multiarch/strchr.S: Update.
48497 Check bit_slow_BSF bit.
48498 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48499 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48500 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48501
554881ef
UD
485022011-09-05 Ulrich Drepper <drepper@gmail.com>
48503
d96de963
UD
48504 [BZ #13134]
48505 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48506 before glibc 2.15.
48507 (tryshell): Define.
48508 (__spawni): Change last parameter to be flag. Test
48509 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48510 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48511 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48512 * posix/spawni.c: Likewise.
48513 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48514 * posix/spawnp.c: Likewise. Change normal version to use
48515 SPAWN_XFLAGS_USE_PATH.
48516 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48517 SPAWN_XFLAGS_TRY_SHELL.
48518
d48e5868
UD
48519 [BZ #13150]
48520 * posix/glob.h: Remove gcc 1.x support.
48521
554881ef
UD
48522 [BZ #13068]
48523 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48524
693fb948
LD
485252011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48526
48527 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48528 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48529 strrchr-sse2-bsf
48530 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48531 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48532 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48533 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48534 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48535 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48536
1b48c537
UD
485372011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48538
49d42c37
UD
48539 * sysdeps/x86_64/wcscmp.S: New file.
48540
1b48c537
UD
48541 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48542 wcscmp-c wcscmp-sse2
48543 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48544 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48545 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48546 * wcsmbs/wcscmp.c: Allow renaming.
48547
15c95c5d
DM
485482011-09-05 David S. Miller <davem@davemloft.net>
48549
48550 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48551 stack slot, rather than the struct return pointer slot.
48552 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48553 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48555 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48556
2f0ad8f3
UD
485572011-09-05 Ulrich Drepper <drepper@gmail.com>
48558
d88ae418
UD
48559 * po/ja.po: Update from translation team.
48560
2f0ad8f3
UD
48561 [BZ #13144]
48562 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48563 kernel in 64-bit binaries.
48564
5f4318d1
DM
485652011-09-01 David S. Miller <davem@davemloft.net>
48566
48567 * elf/elf.h (HWCAP_SPARC_*): Move to..
48568 * sysdeps/sparc/sysdep.h: this new file and add new values.
48569 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48570 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48571 _DL_HWCAP_COUNT to 24.
48572 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48573 entries.
48574 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48575 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48576 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48578 instead of magic constants.
48579 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48580
3ba57516
DM
485812011-08-31 David S. Miller <davem@davemloft.net>
48582
48583 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48584 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48585 Reimplement to do errno handling inline.
48586 (SYSCALL_ERROR_HANDLER): New macro.
48587 (__SYSCALL_STRING): Do not do errno handling in asm.
48588 (__CLONE_SYSCALL_STRING): Delete.
48589 (__INTERNAL_SYSCALL_STRING): Delete.
48590 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48591 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48592 (PSEUDO): Reimplement to do errno handling inline.
48593 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48594 (SYSCALL_ERROR_HANDLER): New macro.
48595 (__SYSCALL_STRING): Do not do errno handling in asm.
48596 (__CLONE_SYSCALL_STRING): Delete.
48597 (__INTERNAL_SYSCALL_STRING): Delete.
48598 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48599 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48600 i386.
48601 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48602 (inline_syscall*): Add 'err' argument.
48603 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48604 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48605 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48606 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48607
48608 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48609 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48610
2bc17433
AS
486112011-08-30 Andreas Schwab <schwab@redhat.com>
48612
48613 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48614
fbeb5f4d
JO
486152011-08-29 Jiri Olsa <jolsa@redhat.com>
48616
48617 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48618 directive.
48619
ad69cc26
DM
486202011-08-24 David S. Miller <davem@davemloft.net>
48621
48622 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48623
39dd69df
AS
486242011-08-24 Andreas Schwab <schwab@redhat.com>
48625
48626 * elf/Makefile: Add rules to build and run unload8 test.
48627 * elf/unload8.c: New file.
48628 * elf/unload8mod1.c: New file.
48629 * elf/unload8mod1x.c: New file.
48630 * elf/unload8mod2.c: New file.
48631 * elf/unload8mod3.c: New file.
48632
48633 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48634 it wasn't used.
48635
2c0b250a
DM
486362011-08-23 David S. Miller <davem@davemloft.net>
48637
48638 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48639 subtract stack bias.
48640 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48641 %sp not %fp in calculations.
48642 (_JMPBUF_UNWINDS_ADJ): Likewise.
48643
22044b48
DM
48644 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48645 (aio_suspend): Call it to force an exception region around the
48646 AIO_MISC_WAIT() invocation.
48647
2cae4995
AS
486482011-08-23 Andreas Schwab <schwab@redhat.com>
48649
48650 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48651 backslash.
48652
873a772e
AJ
486532011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48654
48655 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48656 protection macro.
48657 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48658 and <dl-machine.h>.
48659 (Elf64_FuncDesc): Remove.
48660
25ad0df1
DM
486612011-08-22 David S. Miller <davem@davemloft.net>
48662
48663 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48664 sigaltstack check, add missing cfi directives.
48665 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48666 missing cfi directives, and sigaltstack handling.
48667
e888bcbe
AS
486682011-08-16 Andreas Schwab <schwab@redhat.com>
48669
48670 [BZ #11724]
48671 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48672 object is seen twice.
48673 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48674
48675 * elf/Makefile (distribute): Add tst-initorder2.c.
48676 (tests): Add tst-initorder2.
48677 (modules-names): Add tst-initorder2a tst-initorder2b
48678 tst-initorder2c tst-initorder2d. Add rules to build them.
48679 ($(objpfx)tst-initorder2.out): New rule.
48680 * elf/tst-initorder2.c: New file.
48681 * elf/tst-initorder2.exp: New file.
48682
87162f46
AS
486832011-08-22 Andreas Schwab <schwab@redhat.com>
48684
70538b7f
AS
48685 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48686
f55ffe58
AS
48687 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48688 dependencies back to end of function.
48689
87162f46
AS
48690 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48691 $(elfobjdir)/ld.so.
48692
91b392a4
UD
486932011-08-21 Ulrich Drepper <drepper@gmail.com>
48694
48695 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48696 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48697 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48698 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48699 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48700 of __vdso_gettimeofday.
48701 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48702 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48703 attribute_hidden.
48704 (_libc_vdso_platform_setup): Remove initialization of
48705 __vdso_gettimeofday and __vdso_time.
48706
5c43483f
UD
487072011-08-20 Ulrich Drepper <drepper@gmail.com>
48708
775a77e7
UD
48709 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48710 and fgetc_unlocked.
48711 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48712 getc_unlocked.
89f447ed 48713
49c74ba9
UD
48714 * elf/dl-open.c (add_to_global): Report additions to the global scope
48715 for LD_DEBUG=scopes.
48716 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48717 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48718
5c43483f
UD
48719 [BZ #13114]
48720 * stdio-common/Makefile (tests): Add bug24.
48721 * stdio-common/bug24.c: New file.
48722
a101b025
AJ
487232011-08-19 Andreas Jaeger <aj@suse.de>
48724
48725 [BZ #13114]
48726 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48727 non-existant file when using close-on-exec mode.
48728
c88f1766
UD
487292011-08-20 Ulrich Drepper <drepper@gmail.com>
48730
0276a718
UD
48731 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48732 the very first instruction.
48733
c88f1766
UD
48734 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48735 the CFI state in the end.
48736 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48737 inclusion of dl-trampoline.h.
48738 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48739
51ccffa0
AS
487402011-08-19 Andreas Schwab <schwab@redhat.com>
48741
94d7165f
AS
48742 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48743 expectations for long double.
48744
51ccffa0
AS
48745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48746 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48747
fd708658 487482011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48749
48750 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48751 artificual limit depends upon the system page size.
48752
44f0a71e
UD
487532011-08-17 Ulrich Drepper <drepper@gmail.com>
48754
48755 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48756 * resolv/Makefile: Define CFLAGS-libresolv.
48757
8de79a24
AS
487582011-08-17 Andreas Schwab <schwab@redhat.com>
48759
48760 * nss/makedb.c (compute_tables): Make variables used in nested
48761 function static.
48762
27724598
UD
487632011-08-17 Ulrich Drepper <drepper@gmail.com>
48764
c5305d88
UD
48765 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48766 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48767 if buffer was too small.
48768
27724598
UD
48769 * elf/pldd.c (main): Attach to all threads in the process.
48770 Rewrite /proc handling to use *at functions.
48771
076fe015
UD
487722011-08-16 Ulrich Drepper <drepper@gmail.com>
48773
174baab3
UD
48774 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48775 specifies first scope to show.
48776 (dl_open_worker): Update callers. Move printing scope of new
48777 object to before the relocation.
44f0a71e 48778 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48779 * sysdeps/generic/ldsodefs.h: Update declaration.
48780
076fe015
UD
48781 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48782 string for the scope number.
48783
a60df2c3
UD
487842011-08-14 Ulrich Drepper <drepper@gmail.com>
48785
48786 * nscd/servicescache.c (cache_addserv): Make sure written is always
48787 initialized.
48788
5e4287d1
RM
487892011-08-14 Roland McGrath <roland@hack.frob.com>
48790
85ae0589
RM
48791 * sysdeps/i386/i486/bits/atomic.h
48792 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48793 statement expression, so as to suppress "set but not used" warning.
48794 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48795
69f63097
RM
48796 * string/strncat.c (STRNCAT): Use prototype definition.
48797
675456ef
RM
48798 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48799 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48800 -Iprograms here.
48801 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48802 (localedef-modules): Add localedef.
48803 (locale-modules): Add locale.
48804
5e4287d1
RM
48805 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48806 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48807 to avoid a warning.
48808
9c96ff23
DM
488092011-08-14 David S. Miller <davem@davemloft.net>
48810
48811 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48812 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48813
f9ddf089
UD
488142011-08-13 Ulrich Drepper <drepper@gmail.com>
48815
44f0a71e 48816 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48817 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48818 * elf/rtld.c (dl_main): Set l_name of vDSO.
48819 Call _dl_show_scope when DL_DEBUG_SCOPES.
48820 (process_dl_debug): Recognize scopes flag and also set it for all.
48821 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48822 Declare _dl_show_scope.
48823
1dc27704
UD
48824 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48825 (do_dlopen): Pass caller_dlopen to dl_open.
48826 (__libc_dlopen_mode): Initialize caller_dlopen.
48827
f9ddf089
UD
48828 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48829 of libc. Make tolower call locale-independent. Optimize a bit by
48830 using isdigit instead of isalnum.
48831 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48832
9ac533d3
UD
488332011-08-12 Ulrich Drepper <drepper@gmail.com>
48834
48835 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48836 was a dependency or dynamically loaded.
48837
89edf2e9
UD
488382011-08-11 Ulrich Drepper <drepper@gmail.com>
48839
8e999d29
UD
48840 * intl/l10nflist.c: Allow architecture-specific pop function.
48841 * sysdeps/x86_64/l10nflist.c: New file.
48842
89edf2e9
UD
48843 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48844 classification.
48845
14d96785
AS
488462011-08-10 Andreas Schwab <schwab@redhat.com>
48847
48848 * include/dirent.h: Add libc_hidden_proto for scandirat and
48849 scandirat64. Don't declare __scandirat64.
48850 * dirent/scandirat.c: Add libc_hidden_def.
48851 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48852 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48853
6761ac04
DM
488542011-08-10 David S. Miller <davem@davemloft.net>
48855
48856 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48857 enum.
48858 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48859 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48860 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48861
c55fbd1e
UD
488622011-08-09 Ulrich Drepper <drepper@gmail.com>
48863
48864 * Versions.def [libc]: Add GLIBC_2.15.
48865 * dirent/Makefile (routines): Add scandirat and scandirat64.
48866 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48867 GLIBC_2.15.
48868 * dirent/dirent.h: Declare scandirat and scandirat64.
48869 * dirent/scandirat.c: New file.
48870 * dirent/scandirat64.c: New file.
48871 * sysdeps/wordsize-64/scandirat.c: New file.
48872 * sysdeps/wordsize-64/scandirat64.c: New file.
48873 * dirent/opendir.c: Define opendirat.
48874 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48875 using scandirat.
48876 * dirent/scandir64.c: Adjust for scandir.c change.
48877 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48878 __scandirat64, and __scandir_cancel_handler.
48879 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48880 additional parameter and use openat instead of open (outside of ld.so).
48881 Add new __opendir as wrapper around __opendirat.
48882 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48883 here without requiring old scandirat implementation.
48884
879165f2
UD
488852011-08-08 Ulrich Drepper <drepper@gmail.com>
48886
48887 * dirent/scandir.c (cancel_handler): Renamed to
48888 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48889 defined. Adjust users.
48890 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48891 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48892
cb7e923b
UD
488932011-08-04 Ulrich Drepper <drepper@gmail.com>
48894
16292edd
UD
48895 * string/test-string.h (IMPL): Use __STRING to expand name and then
48896 stringify it.
48897
cb7e923b
UD
48898 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48899 of cleanups.
48900
cff82933
LD
489012011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48902
48903 * string/Makefile: Update.
48904 (strop-tests): Append strncat.
48905 * string/test-wcscmp.c: New file.
48906 New comprehensive test for wcscmp.
48907 * string/test-strcmp.c: Update.
48908 (WIDE): New define.
48909
9be9bfcc
AS
489102011-07-22 Andreas Schwab <schwab@redhat.com>
48911
48912 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48913 line.
48914
2e96f1c7
AS
489152011-07-26 Andreas Schwab <schwab@redhat.com>
48916
48917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48918 encoding to ACE if AI_IDN.
48919
85188888
JJ
489202011-08-01 Jakub Jelinek <jakub@redhat.com>
48921
48922 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48923 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48924
5fa16e9b
LD
489252011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48926
48927 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48928 Fix overflow bug in strncat.
48929 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48930
48931 * string/test-strncat.c: Update.
48932 Add new tests for checking overflow bugs.
48933
489342011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48935
48936 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48937 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48938 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48939 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48940 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48941 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48942 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48943 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48944 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48945
48946 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48947 (USE_AS_STRCAT): Define.
48948 Add strcat and strncat support.
48949 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48950
8c1a459f
AS
489512011-07-25 Andreas Schwab <schwab@redhat.com>
48952
48953 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48954 __n bigger than INT_MAX+1.
48955 (__strncmp_g): Likewise.
48956
bba33c28
UD
489572011-07-23 Ulrich Drepper <drepper@gmail.com>
48958
798be72d
UD
48959 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48960 * libio/stido.h: Likewise.
48961
8accd4dc
UD
48962 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48963 (AF_NFC): Define.
48964 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48965 (AF_NFC): Define.
48966
cbff0d96
UD
48967 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48968 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48969 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48970 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48971 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48972
9191c04a
UD
48973 [BZ #13021]
48974 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48975 installed.
48976
bba33c28
UD
48977 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48978 typo.
48979 (_dl_x86_64_save_sse): Likewise.
48980
90f139dd
UD
489812011-07-22 Ulrich Drepper <drepper@gmail.com>
48982
1aae088a
UD
48983 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48984 OSXSAVE.
48985 (_dl_x86_64_save_sse): Likewise.
48986
8e2045f5
UD
48987 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48988
90f139dd
UD
48989 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48990
1d002f25
AS
489912011-07-21 Andreas Schwab <schwab@redhat.com>
48992
48993 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48994 change.
48995 (_dl_x86_64_save_sse): Use correct AVX check.
48996
21137f89
UD
489972011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48998
48999 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49000 bug in strncpy/strncat.
49001 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49002
a65c0b7a
UD
490032011-07-21 Ulrich Drepper <drepper@gmail.com>
49004
49005 * string/tester.c (test_strcat): Add tests for different alignments
49006 of source and destination.
49007 (test_strncat): Likewise.
49008
6986b98a
UD
490092011-07-20 Ulrich Drepper <drepper@gmail.com>
49010
90bb2039
UD
49011 [BZ #12852]
49012 * posix/glob.c (glob): Check passed in values before using them in
49013 expressions to avoid some overflows.
49014 (glob_in_dir): Likewise.
49015
5644ef54
UD
49016 [BZ #13007]
49017 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49018 check for AVX enablement so that we don't crash with old kernels and
49019 new hardware.
49020 * elf/tst-audit4.c: Add same checks here.
49021 * elf/tst-audit6.c: Likewise.
49022
49023 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 49024
bfc9dc9b
AS
490252011-07-09 Andreas Schwab <schwab@linux-m68k.org>
49026
49027 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49028
702e64bb
UD
490292011-07-20 Ulrich Drepper <drepper@gmail.com>
49030
49031 * po/cs.po: Update from translation team.
49032 * po/bg.po: Likewise.
49033
295e904f
MP
490342011-07-12 Marek Polacek <mpolacek@redhat.com>
49035
49036 * misc/sys/cdefs.h: Add support for const attribute.
49037 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49038 to gnu_dev_{major,minor,makedev} functions.
49039
3ff94596
MP
490402011-07-20 Marek Polacek <mpolacek@redhat.com>
49041
49042 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49043
28b59fca
AS
490442011-07-20 Andreas Schwab <schwab@redhat.com>
49045
49046 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49047 strlen results.
49048
19df733e
AK
490492011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49050
49051 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49052 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49053 register in order to avoid conflicts with the soft frame pointer
49054 being held in r11 when necessary.
49055 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49056 (INTERNAL_VSYSCALL_NCS): Likewise.
49057
c8835729
MP
490582011-07-14 Marek Polacek <mpolacek@redhat.com>
49059
49060 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49061 * elf/dl-fini.c (_dl_fini): Adjust caller.
49062 * elf/dl-close.c (_dl_close_worker): Likewise.
49063 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49064
b902330c
MP
490652011-07-15 Marek Polacek <mpolacek@redhat.com>
49066
8991e135
MP
49067 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49068 "aux_cache->nlibs < 0".
49069
b902330c
MP
49070 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49071 in the reload-count case.
49072
99710781
LD
490732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49074
49075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49076 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49077 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49078 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49079 * sysdeps/x86_64/multiarch/strcat.S: New file.
49080 * sysdeps/x86_64/multiarch/strncat.S: New file.
49081 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49082 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49083 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49084 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49085 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49086 (USE_AS_STRCAT): Define.
49087 Add strcat and strncat support.
49088 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49089 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49090 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49091 * string/strncat.c: Update.
49092 (USE_AS_STRNCAT): Define.
49093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49094 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49095 and i7.
49096 * sysdeps/x86_64/multiarch/init-arch.h
49097 (bit_Prefer_PMINUB_for_stringop): New.
49098 (index_Prefer_PMINUB_for_stringop): Likewise.
49099 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49100 bit_Prefer_PMINUB_for_stringop.
49101
7dc6bd90
UD
491022011-07-19 Ulrich Drepper <drepper@gmail.com>
49103
49104 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49105 buffer64.
49106 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49107 of casting of buffer.
49108 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49109 buffer32 and buffer64.
49110 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49111 writes instead of casting of buffer.
49112 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49113 buffer32.
49114 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49115 casting of buffer.
49116
e0e72284
AS
491172011-07-19 Andreas Schwab <schwab@redhat.com>
49118
49119 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49120
feb1eb0b
UD
491212011-07-19 Ulrich Drepper <drepper@gmail.com>
49122
49123 * nscd/nscd.c (termination_handler): Don't do anything for a database
49124 if it has not yet been initialized.
49125
298711ff
UD
491262011-07-18 Ulrich Drepper <drepper@gmail.com>
49127
49128 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49129
491302011-07-15 Marek Polacek <mpolacek@redhat.com>
49131
49132 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49133
f9d68389
UD
491342011-07-18 Ulrich Drepper <drepper@gmail.com>
49135
49136 * po/nl.po: Update from translation team.
49137 * po/sv.po: Likewise.
49138
db290cf5
RM
491392011-07-16 Roland McGrath <roland@hack.frob.com>
49140
49141 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49142 now disallowed by GCC.
5c550700 49143
fd5e21c7
RM
49144 * configure.in (use-default-link): Default to yes if a test -shared
49145 link meets our qualifications.
49146 * configure: Regenerated.
49147
5c550700
RM
49148 * config.make.in (output-format): New variable.
49149 * configure.in: Check for ld --print-output-format support.
49150 * configure: Regenerated.
49151 * Makerules ($(common-objpfx)format.lds)
49152 [$(output-format) != unknown]: Just use $(output-format),
49153 instead of the linker-script munging.
49154
9fa2c032
RM
491552011-07-14 Roland McGrath <roland@hack.frob.com>
49156
a6928d51
RM
49157 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49158 of $(common-objpfx)shlib.lds.
49159 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49160
661607b3
RM
49161 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49162 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49163
9fa2c032
RM
49164 * configure.in (-z relro check): Adjust test code to add a large
49165 writable data section after it.
49166 * configure: Regenerated.
49167
defe9061
RM
491682011-07-11 Roland McGrath <roland@hack.frob.com>
49169
49170 * configure.in (-z relro check): Fix test code to make the variable
49171 truly const.
49172 * configure: Regenerated.
49173
319b9ad4
UD
491742011-07-11 Ulrich Drepper <drepper@gmail.com>
49175
49176 * nscd/nscd.h (struct traced_file): Define.
49177 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49178 elements. Add traced_files.
49179 (inotify_fd): Declare.
49180 (register_traced_file): Declare.
49181 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49182 (inotify_fd): Export.
49183 (resolv_conf_descr): Remove.
49184 (nscd_init): Move inotify descriptor creation to main.
49185 Don't register files for notification here.
49186 (register_traced_file): New function.
49187 (invalidate_cache): Don't use reset_res to determine whether to call
49188 res_init, go through the list of registered files.
49189 (main_loop_poll): The inotify descriptors are now stored in the
49190 structures for the traced files.
49191 (main_loop_epoll): Likewise
49192 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49193 to __nss_disable_nscd.
49194 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49195 for a database anymore. Check the records for all the registered
49196 files instead.
49197 * nss/Makefile (libnss_files-routines): Add files-init.
49198 (libnss_db-routines): Add db-init.
49199 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49200 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49201 * nss/nss_db/db-init.c: New file.
49202 * nss/nss_files/files-init.c: New file.
49203 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49204 __nss_lookup_function.
49205 (__nss_lookup_function): Call nss_load_library.
49206 (nss_load_all_libraries): New function.
49207 (__nss_disable_nscd): Take parameter with callback function for files
49208 to register. Set is_nscd. Load all the DSOs for the NSS modules
49209 used for the cached services.
49210 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49211 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49212 options for features to all the files in nscd.
49213
49214 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49215
23bee3e8
RM
492162011-07-10 Roland McGrath <roland@hack.frob.com>
49217
49218 * csu/elf-init.c (__libc_csu_init): Comment typo.
49219
46a5b7f0
UD
492202011-07-09 Ulrich Drepper <drepper@gmail.com>
49221
49222 * po/pl.po: Update from translation team.
49223 * po/ja.po: Likewise.
49224 * po/ru.po: Likewise.
49225 * po/ko.po: Likewise.
49226 * po/fr.po: Likewise.
49227
d30cf5bb
RM
492282011-07-09 Roland McGrath <roland@hack.frob.com>
49229
113ddea4
RM
49230 * configure.in (.ctors/.dtors header and trailer check):
49231 Use an empirical test on a built program.
49232 * configure: Regenerated.
49233
574920b4
RM
49234 * configure.in (-z relro check): Use an empirical test on a built DSO.
49235 Detect, but do not require, on ia64.
49236 * configure: Regenerated.
49237
d30cf5bb
RM
49238 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49239 Update tests that use readelf to use $READELF instead.
49240 * configure: Regenerated.
49241
8538fdb3
UD
492422011-07-08 Ulrich Drepper <drepper@gmail.com>
49243
49244 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49245 if the result is not used.
49246
04d08991
AJ
492472011-07-05 Andreas Jaeger <aj@suse.de>
49248
49249 [BZ#9696]
49250 * stdlib/tst-strtod.c: Add testcase.
49251
de283087
AD
492522011-07-07 Ulrich Drepper <drepper@gmail.com>
49253
4e5f31c8 49254 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 49255 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
49256 The latter has a higher limit. Take additional parameter to pass to
49257 the new function.
49258 (__pathconf): Pass file to __statfs_link_max.
49259 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49260 __statfs_link_max.
49261 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49262 __statfs_link_max.
49263
de283087
AD
49264 [BZ #12868]
49265 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49266 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49267 Handle Lustre.
49268 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49269 (__statfs_filesize_max): Likewise.
49270 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49271
c75fa153
AJ
492722011-07-05 Andreas Jaeger <aj@suse.de>
49273
49274 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49275
1a544854
UD
492762011-07-06 Marek Polacek <mpolacek@redhat.com>
49277
49278 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49279 `status' variable.
49280 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49281 Likewise.
49282
6f0eec67
UD
492832011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49284
49285 * Makefile (strop-tests): Add strncat.
49286 * string/test-strncat.c: New file.
49287
aae30307
UD
492882011-06-30 Marek Polacek <mpolacek@redhat.com>
49289
49290 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49291
c0cfb5eb
UD
492922011-06-21 Andreas Jaeger <aj@suse.de>
49293
49294 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49295 Copy rule from iconvdata/Makefile.
49296
01636b21
UD
492972011-07-06 Ulrich Drepper <drepper@gmail.com>
49298
49299 [BZ #12922]
49300 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49301 but no long options are defined, just return 'W'.
49302
9895c8bc
UD
493032011-06-22 Marek Polacek <mpolacek@redhat.com>
49304
49305 [BZ #9696]
49306 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49307
5d4cf042
UD
493082011-07-06 Ulrich Drepper <drepper@gmail.com>
49309
49310 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49311 netgroups to read.
960e5535 49312 (innetgr): Likewise.
5d4cf042 49313
751eb97e
RM
493142011-07-05 Roland McGrath <roland@hack.frob.com>
49315
49316 * config.make.in (install_root): Default to $(DESTDIR).
49317
f15f1e45
UD
493182011-07-05 Ulrich Drepper <drepper@gmail.com>
49319
49320 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49321
4e34ac6a
RM
493222011-07-02 Roland McGrath <roland@hack.frob.com>
49323
5e9b6af4
RM
49324 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49325
84f9ea0f
RM
49326 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49327 containing directory rather than embedding absolute directory names.
49328
ea5ee9f7
RM
49329 * scripts/check-local-headers.sh: Rewritten using awk.
49330 Match by word, not by line. Print error messages for matches.
49331 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49332
1b74661a
RM
49333 * Makerules [shlib-lds-flags empty]:
49334 ($(common-objpfx)libc_pic.opts): New target.
49335 ($(common-objpfx)libc_pic.os.clean): New target.
49336 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49337
49338 * config.make.in (OBJCOPY): New variable.
49339 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49340 * configure: Regenerated.
49341
f781ef40
RM
49342 * config.make.in (use-default-link): New variable.
49343 * configure.in (use_default_link): Grok --with-default-link to set it.
49344 * configure: Regenerated.
49345 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49346 (shlib-lds, shlib-lds-flags): Define to empty.
49347
2d4fa81e
RM
49348 * Makerules (shlib-lds): New variable.
49349 (shlib-lds-flags): New variable.
49350 (build-shlib, build-moduile, build-module-asneeded): Use it.
49351 ($(common-objpfx)libc.so): Use $(shlib-lds).
49352 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49353 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49354
31fffa6b
RM
49355 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49356 DT_FLAGS/DT_FLAGS_1 with zero flags.
49357
4e34ac6a
RM
49358 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49359 linker script munging.
49360
fcfc776b
UD
493612011-07-02 Ulrich Drepper <drepper@gmail.com>
49362
49363 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49364 as 128-bit value.
49365 * crypt/sha512.c (sha512_process_block): Perform total addition using
49366 128-bit if possible.
49367 (__sha512_finish_ctx): Likewise.
49368 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49369 as 64-bit value.
49370 * crypt/sha256.c (SWAP64): Define.
49371 (sha256_process_block): Perform total addition using 64-bit if
49372 possible.
49373 (__sha256_finish_ctx): Likewise.
49374
99231d9a
UD
493752011-07-01 Ulrich Drepper <drepper@gmail.com>
49376
49377 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49378 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49379 * nscd/hstcache.c (cache_addhst): Likewise.
49380 * nscd/grpcache.c (cache_addgr): Likewise.
49381 * nscd/aicache.c (addhstaiX): Likewise
49382 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49383
445b4a53
TK
493842011-07-01 Thorsten Kukuk <kukuk@suse.de>
49385
49386 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49387 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49388 * nscd/hstcache.c (cache_addhst): Likewise.
49389 * nscd/grpcache.c (cache_addgr): Likewise.
49390 * nscd/aicache.c (addhstaiX): Likewise
49391
6d4d8e8e
AS
493922011-07-01 Andreas Schwab <schwab@redhat.com>
49393
49394 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49395 domain only when needed.
49396
89f654c5
AS
493972011-06-30 Andreas Schwab <schwab@redhat.com>
49398
49399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49400 is always restored.
49401
cf3b23ff
UD
494022011-06-29 Ulrich Drepper <drepper@gmail.com>
49403
49404 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49405 are re-adding the entry.
49406 * nscd/servicescache.c (cache_addserv): Likewise.
49407
751626f9
AJ
494082011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49409
49410 * sysdeps/generic/dl-irel.h: fix protection against multiple
49411 inclusions.
49412 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49413
9113ea1f
UD
494142011-06-28 Ulrich Drepper <drepper@gmail.com>
49415
5c0b8d90
UD
49416 [BZ #12935]
49417 * malloc/memusage.sh: Fix quoting in message.
49418 * debug/xtrace.sh: Likewise.
49419
9113ea1f
UD
49420 * configure.in: Remove support for --experimental-malloc option, make
49421 it the default.
49422 * config.make.in: Likewise.
49423 * malloc/Makefile: Likewise.
49424
a4172181
AS
494252011-06-27 Andreas Schwab <schwab@redhat.com>
49426
49427 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49428 two-byte characters.
49429
78a7eee7
RM
494302011-06-27 Roland McGrath <roland@hack.frob.com>
49431
62bede13
RM
49432 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49433 AC_CACHE_CHECK invocation.
49434 * configure: Regenerated.
49435
78a7eee7
RM
49436 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49437
5ce33a62
UD
494382011-06-27 Ulrich Drepper <drepper@gmail.com>
49439
034807a9
UD
49440 [BZ #12350]
49441 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49442 bit from old_res_options.
49443
4902da17
UD
49444 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49445
5ce33a62
UD
49446 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49447 value type for setfct.
49448
c2344f56
L
494492011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49450
49451 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49452 __gettimeofday instead of gettimeofday.
49453
68468076
UD
494542011-06-26 Ulrich Drepper <drepper@gmail.com>
49455
49456 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49457
acb0d739
L
494582011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49459
49460 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49461
49462 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49463 info.
49464
8912479f
L
494652011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49466
49467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49468 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49469 strcpy-sse2-unaligned strncpy-sse2-unaligned
49470 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49471 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49472 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49473 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49474 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49475 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49476 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49477 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49478 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49479 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49480 (STRCPY): Support SSE2 and SSSE3 versions.
49481
d5495a11
UD
494822011-06-24 Ulrich Drepper <drepper@gmail.com>
49483
49484 [BZ #12874]
49485 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49486 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49487 kernels which artificially limit size of requests.
49488
0b1cbaae
L
494892011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49490
49491 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49492 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49493 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49494 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49495 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49496 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49497 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49498 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49499 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49500 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49501 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49502 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49503 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49504 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49505 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49507 Enable unaligned load optimization for Intel Core i3, i5 and i7
49508 processors.
49509 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49510 Define.
49511 (index_Fast_Unaligned_Load): Define.
49512 (HAS_FAST_UNALIGNED_LOAD): Define.
49513
07f494a0
MP
495142011-06-23 Marek Polacek <mpolacek@redhat.com>
49515
49516 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49517
fa3fc0fe
UD
495182011-06-22 Ulrich Drepper <drepper@gmail.com>
49519
49520 [BZ #12907]
49521 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49522 until it is clear that the information is realy needed.
49523 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49524
e12df166
AS
495252011-06-22 Andreas Schwab <schwab@redhat.com>
49526
49527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49528
852eb34d
UD
495292011-06-22 Ulrich Drepper <drepper@gmail.com>
49530
84e2a551
UD
49531 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49532 /sys/devices/system/cpu/online if it is usable.
49533
852eb34d
UD
49534 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49535 reading the information from the /proc filesystem to once a second.
49536
6e502e19
UD
495372011-06-21 Andreas Jaeger <aj@suse.de>
49538
49539 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49540 NULL after inclusion of kernel headers.
49541
75d39ff2
UD
495422011-06-21 Ulrich Drepper <drepper@gmail.com>
49543
51f9aa6a
UD
49544 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49545 calls to internal_setent.
49546
c0244a9d
UD
49547 [BZ #12885]
49548 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49549 addresses using gethostbyname4_r ignore IPv4 addresses.
49550
c5e3c2ae
UD
49551 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49552 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49553
75d39ff2
UD
49554 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49555
42675c6f
DM
495562011-06-20 David S. Miller <davem@davemloft.net>
49557
49558 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49559 inclusions.
49560 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49561
49562 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49563 (elf_irel): Use it.
49564 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49565 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49566 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49567 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49568 * sysdeps/x86_64/dl-irel.h: Likewise.
49569
49570 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49571 * elf/dl-sym.c: Likewise.
49572
57912a71
UD
495732011-06-15 Ulrich Drepper <drepper@gmail.com>
49574
49575 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49576 need to dereference resplen2.
49577
ee22793d
AS
495782011-06-14 Andreas Schwab <schwab@redhat.com>
49579
49580 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49581
a9e836b0
UD
495822011-06-15 Ulrich Drepper <drepper@gmail.com>
49583
77fb9117
UD
49584 * Makeconfig: Define vardbdir and inst_vardbdir.
49585 * nss/Makefile: Add rules to install db-Makefile.
49586
40c1b22c
UD
49587 * nss/nss_db/db-XXX.c: Cleanup.
49588
9f2da732
UD
49589 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49590 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49591 GLIBC_PRIVATE.
49592 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49593 * nss/makedb.c: Implement -g option to specify that value strings
49594 are generated and should not be added to table iterated over for
49595 get*ent calls.
49596 * nss/nss_db/db-initgroups.c: New file.
49597
82e9a1f7
UD
49598 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49599 interface.
49600
c41af17e
UD
49601 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49602 (internal_getgrouplist): Adjust to name change.
49603 Update use_initgroups_entry if this is not the first call.
49604 * nss/databases.def: Add initgroups entry.
49605
a9e836b0
UD
49606 * nss/makedb.c (compute_tables): Check result of multiple hash table
49607 sizes to minimize maximum chain length.
49608
2666d441
UD
496092011-06-14 Ulrich Drepper <drepper@gmail.com>
49610
49611 * Versions.def: Add entry for libnss_db.
49612 * shlib-versions: Likewise.
49613 * nss/Makefile: Add rules to build libnss_db.
49614 * nss/Versions: Add libnss_db information. Organize libnss_files
49615 entries better.
49616 * nss/db-Makefile: Add gshadow support. Change rules for the new
49617 makedb progra. Some minor improvements to generate smaller files.
49618 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49619 here from...
49620 * nss/makedb.c: ...here.
49621 Improve database format to be smaller and require less memory at
49622 runtime.
49623 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49624 db anymore.
49625 * nss/nss_db/db-netgrp.c: Likewise.
49626 * nss/nss_db/db-open.c: Likewise.
49627 * nss/nss_files/flies-XXX.x: Adjust comments.
49628 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49629 * nss/nss_files/files-grp.c: Likewise.
49630 * nss/nss_files/files-hosts.c: Likewise.
49631 * nss/nss_files/files-network.c: Likewise.
49632 * nss/nss_files/files-proto.c: Likewise.
49633 * nss/nss_files/files-pwd.c: Likewise.
49634 * nss/nss_files/files-rpc.c: Likewise.
49635 * nss/nss_files/files-service.c: Likewise.
49636 * nss/nss_files/files-sgrp.c: Likewise.
49637 * nss/nss_files/files-spwd.c: Likewise.
49638 * nss/nss_db/db-alias.c: Removed.
49639 * nss/nss_db/dummy-db.h: Removed.
49640
9ee76b5a
UD
496412011-06-02 Ulrich Drepper <drepper@gmail.com>
49642
49643 * nss/makedb.c: Rewritten to not use database library.
49644 * nss/Makefile: Update to build new makedb program.
49645
c71ca1f8
AJ
496462011-06-14 Andreas Jaeger <aj@suse.de>
49647
49648 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49649 memset declaration.
49650
3154bfb8
UD
496512011-06-10 Andreas Schwab <schwab@redhat.com>
49652
49653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49654 tmpbuf.
49655
b350afab
RM
496562011-06-10 Roland McGrath <roland@hack.frob.com>
49657
decd4e50
RM
49658 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49659 * elf/Makefile ($(objpfx)ld.so): Likewise.
49660
5615eaf2
RM
49661 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49662 Don't list ld.so twice in dependencies.
49663
49664 * posix/bug-regex31.c: Include <stdlib.h>.
49665
49666 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49667
49668 * nis/nss_compat/compat-spwd.c
49669 (getspent_next_nss_netgr): Remove unused variable.
49670 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49671
49672 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49673 nonmembers" output to use the right array.
49674
49675 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49676
49677 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49678
49679 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49680 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49681 * catgets/gencat.c (read_input_file): Likewise.
49682 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49683
49684 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49685 variable definition inside #if's controlling its use.
49686
49687 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49688
49689 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49690
49691 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49692
49693 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49694 unreachable code.
49695
49696 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49697
b68e08db
RM
49698 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49699 * configure: Regenerated.
49700
b350afab
RM
49701 * Makerules: Revert last change.
49702 * elf/Makefile: Likewise.
49703
28368601
RM
497042011-06-09 Roland McGrath <roland@hack.frob.com>
49705
49706 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49707 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49708 (reloc-link): Likewise.
49709
11988f8f
UD
497102011-06-09 Ulrich Drepper <drepper@gmail.com>
49711
49712 * elf/Makefile: Add rules to build pldd.
49713 * elf/pldd.c: New file.
49714 * elf/pldd-xx.c: New file.
49715
e80fab37
UD
497162011-06-07 Ulrich Drepper <drepper@gmail.com>
49717
49718 * version.h: Update for 2.15 development version.
49719
9b849836
DM
497202011-06-07 David S. Miller <davem@davemloft.net>
49721
49722 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49723 ifuncs.
49724 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49725 elf_machine_lazy_rel): Likewise.
49726 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49727 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49728 elf_machine_lazy_rel): Likewise.
49729 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49730 dl_hwcap via passed in argument.
49731 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49732 Likewise.
49733
5a31b283
AK
497342011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49735
49736 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49737
069e52f8
RM
497382011-06-06 Roland McGrath <roland@hack.frob.com>
49739
49740 [BZ #12849]
49741 * manual/fdl-1.1.texi: New file, verbatim from:
49742 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49743 * manual/lgpl-2.1.texi: New file, verbatim from:
49744 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49745 * manual/Makefile (licenses): New variable, list those new file names.
49746 (texis): Use it.
49747 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49748
49749 * manual/fdl.texi: File removed.
49750 * manual/lesser.texi: File removed.
49751 * manual/libc.texinfo (Copying, Documentation License):
49752 Use new @include file names, put @appendix directive before @include.
49753
f16846a5
JJ
497542011-06-04 Jakub Jelinek <jakub@redhat.com>
49755
49756 [BZ #12841]
49757 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49758 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49759 (mq_open): Add __NTH.
49760
3d29045b
L
497612011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49762
49763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49764 Assume Intel Core i3/i5/i7 processor if AVX is available.
49765
8c297311
UD
497662011-05-31 Ulrich Drepper <drepper@gmail.com>
49767
49768 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49769 typo.
49770
c8fc0c91
UD
497712011-05-31 Andreas Schwab <schwab@redhat.com>
49772
49773 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49774 memory. Use alloca_account. Fix memory leak when retrying.
49775
5b27a807
UD
497762011-05-31 Ulrich Drepper <drepper@gmail.com>
49777
356f8bc6
UD
49778 * version.h (RELEASE): Bump for 2.14 release.
49779 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49780
5b27a807
UD
49781 * config.make.in (RANLIB): Remove entry.
49782
01f16ab0
UD
497832011-05-30 Ulrich Drepper <drepper@gmail.com>
49784
41fce8bd
UD
49785 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49786 (libc.pot): Work around missing support for .ksh extension in xgettext.
49787
4769ae77
UD
49788 [BZ #12684]
49789 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49790 if both request failed.
49791 (send_dg): In case of server errors clear resplen or *resplen2.
49792
6b1e7d19
UD
49793 [BZ #12454]
49794 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49795 when there are multiple maps.
49796 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49797 (_dl_fini): Remove test here.
49798
01f16ab0
UD
49799 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49800
b1ebd700
UD
498012011-05-29 Ulrich Drepper <drepper@gmail.com>
49802
7ae22829
UD
49803 [BZ #12350]
49804 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49805 bit from old_res_options.
49806 (gaih_inet): Likewise.
49807
553149f6 49808 [BZ #11099]
18a84741 49809 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49810 as signed.
49811
652ffab1
UD
49812 * resolv/res_init.c (res_setoptions): Make the code more compact.
49813
16985fd0
UD
49814 [BZ #11558]
49815 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49816 set RES_USEVC.
49817
0464f746
UD
49818 [BZ #11634]
49819 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49820
7d17596c
UD
49821 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49822
cf6bbbd7
UD
49823 [BZ #11781]
49824 * malloc/malloc.h: Declare malloc hook variables as volatile.
49825
13f1ab36
UD
49826 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49827 in last patch.
49828
b1ebd700
UD
49829 [BZ #11799]
49830 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49831 raise in the comment.
80e2212d
UD
49832 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49833 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49834 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49835
ce67228d
UD
498362011-05-28 Ulrich Drepper <drepper@gmail.com>
49837
8887a920
UD
49838 [BZ #12811]
49839 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49840 grow the buffers more if it already has to be sufficient.
49841 (build_wcs_upper_buffer): Likewise.
49842 * posix/regexec.c (check_matching): Likewise.
49843 (clean_state_log_if_needed): Likewise.
49844 (extend_buffers): Don't enlarge buffers beyond size of the input
49845 buffer.
49846 Patches mostly by Emil Wojak <emil@wojak.eu>.
49847 * posix/bug-regex32.c: New file.
49848 * posix/Makefile (tests): Add bug-regex32.
49849
4f031072
UD
49850 * locale/findlocale.c (_nl_find_locale): Return right away if
49851 _nl_explode_name failed.
49852 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49853
d0478f0c
UD
49854 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49855
de81b246
UD
49856 * debug/xtrace.sh: Unify messages.
49857 * malloc/memusage.sh: Likewise.
49858
c738465a
UD
49859 [BZ #12813]
49860 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49861 time symbol from vDSO. Substitute with vsyscall if not available.
49862 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49863 __vdso_time.
49864
f1f929d7
UD
49865 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49866 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49867 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49868 Add sendmmsg and internal_sendmmsg.
49869 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49870 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49871 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49872
ce67228d
UD
49873 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49874 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49875 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49876
e57420c6
UD
498772011-05-27 Ulrich Drepper <drepper@gmail.com>
49878
a8509ca5
UD
49879 [BZ #12813]
49880 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49881 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49882 available.
49883 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49884 __vdso_getcpu.
49885
e57420c6
UD
49886 [BZ #12814]
49887 * iconvdata/Makefile (tests): Add bug-iconv9.
49888 * iconvdata/bug-iconv9.c: New file.
49889
4d07db15
AS
498902011-05-27 Andreas Schwab <schwab@redhat.com>
49891
49892 [BZ #12814]
49893 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49894
ea486f69
JJ
498952011-05-25 Jakub Jelinek <jakub@redhat.com>
49896
49897 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49898 (struct user_regs_struct): Change intcs field back to cs.
49899
6f038433
UD
499002011-05-25 Ulrich Drepper <drepper@gmail.com>
49901
49902 * po/ja.po: Update from translation team.
49903
67f86a25
UD
499042011-05-23 Ulrich Drepper <drepper@gmail.com>
49905
49906 [BZ #12795]
49907 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49908 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49909
def7fbd6
AS
499102011-05-20 Andreas Schwab <schwab@redhat.com>
49911
49912 * stdlib/longlong.h: Update from GCC.
49913
f50ef8f1
AS
499142011-05-23 Andreas Schwab <schwab@redhat.com>
49915
49916 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49917 parameter name.
49918 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49919 Add parameter name.
49920 (__sysconf): Pass it down.
49921
de7ce8f1
UD
499222011-05-22 Ulrich Drepper <drepper@gmail.com>
49923
f2962a71
UD
49924 [BZ #12671]
49925 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49926 some situations.
49927 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49928 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49929 add in in __libc_use_alloca calls. Adjust callers.
49930 (glob): Use malloc in some situations.
49931
de7ce8f1
UD
49932 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49933 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49934 pltexit.
49935
aec84f53
UD
499362011-05-21 Ulrich Drepper <drepper@gmail.com>
49937
05bb4a68
UD
49938 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49939 and CLOCK_BOOTTIME_ALARM.
49940
7ea72f99
UD
49941 [BZ #12782]
49942 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49943 is returned.
49944
7e4afad5
UD
49945 * string/_strerror.c (__strerror_r): Print negative errors as signed
49946 numbers.
49947
8e211fec
UD
49948 [BZ #12777]
49949 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49950 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49951 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49952
f7d82dc9
UD
49953 * configure.in: Fix typo in redirection and correct removal of test
49954 files in two cases.
49955
cc9e536d
UD
49956 [BZ #12788]
49957 * locale/setlocale.c (new_composite_name): Fix test to check for
49958 identical name of all categories.
49959
aec84f53
UD
49960 [BZ #12792]
49961 * libio/filedoalloc.c (local_isatty): New function.
49962 (_IO_file_doallocate): Use local_isatty.
49963 * stdio-common/perror.c (perror): In case a new stream is used
49964 forward the stream error.
49965 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49966 error flag.
49967
78e64fdc
RT
499682011-05-20 Ulrich Drepper <drepper@gmail.com>
49969
34a9094f
UD
49970 [BZ #11869]
49971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49972 alloca.
49973 * include/alloca.h (extend_alloca_account): Define.
49974
78e64fdc
RT
49975 [BZ #11857]
49976 * posix/regex.h: Fix comments with documentation of user-accessible
49977 fields after compilation and describe correct free'ing of pattern
49978 after re_compile_pattern.
49979 Patch by Reuben Thomas <rrt@sc3d.org>.
49980
457bddfc
RA
499812011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49982
49983 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49984 and -mno-altivec to prevent the compiler from using Altivec and/or
49985 VSX instructions when the corresponding registers are not available.
49986
a4527b51
AS
499872011-05-19 Andreas Schwab <schwab@redhat.com>
49988
49989 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49990
ed690b2f
UD
499912011-05-19 Ulrich Drepper <drepper@gmail.com>
49992
49993 * libio/freopen.c (freopen): Use __dup2, not dup2.
49994 * libio/freopen64.c (freopen64): Likewise.
49995
8db73634
L
499962011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49997
49998 [BZ #12775]
49999 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50000 * math/Makefile (tests): Add test-powl.
50001 (CFLAGS-test-powl.c): Define.
50002 * math/test-powl.c: New file.
50003
0a197a9d
L
500042011-05-16 H.J. Lu <hongjiu.lu@intel.com>
50005
50006 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50007
ee30c380
UD
500082011-05-17 Ulrich Drepper <drepper@gmail.com>
50009
50010 [BZ #11837]
50011 * iconvdata/gb18030.c: Update to GB18020-2005.
50012
6ce75379
UD
500132011-05-16 Ulrich Drepper <drepper@gmail.com>
50014
a4b89fd8
AR
50015 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50016 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50017 Patch by Aharon Robbins <arnold@skeeve.com>.
50018
ea389b12
UD
50019 [BZ #11892]
50020 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50021 on the stack.
50022
68a3f91f
UD
50023 [BZ #11895]
50024 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50025 through underflows.
50026
15cc7dd1
UD
50027 [BZ #12766]
50028 * misc/error.c (error_at_line): Ensure file_name and old_file_name
50029 point to strings before performing equality test for error_one_per_line
50030 mode.
50031
f3799213
UD
50032 [BZ #11697]
50033 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50034
d79a9c94
UD
50035 [BZ #11820]
50036 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50037 (struct user_fpregs_struct): Avoid __uint*_t types.
50038
56e5eb46
UD
50039 [BZ #6420]
50040 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50041 symbol info. Use it instead of calling _dl_addr locally.
50042 (lock_and_info): New function.
50043 (tr_freehook): Call lock_and_info and pass symbol info as additional
50044 parameter to tr_where.
50045 (tr_mallochook): Likewise.
50046 (tr_reallochook): Likewise.
50047 (tr_memalignhook): Likewise.
50048
6ce75379
UD
50049 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50050 used and couldn't be at all thread-safe.
50051
f8a3b5bf
UD
500522011-05-15 Ulrich Drepper <drepper@gmail.com>
50053
94b7cc37
UD
50054 * libio/freopen.c (freopen): Don't close old file descriptor
50055 before the new one is opened. Instead dup the new file descriptor
50056 to the old one after the new stream is created.
50057 * libio/freopen64.c (freopen64): Likewise.
50058 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50059 * libio/fileops.c (_IO_new_file_close_it): Handle new
50060 _IO_FLAGS2_NOCLOSE flag.
50061 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50062 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50063 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50064 _IO_FLAGS2_NOCLOSE flag.
50065 * include/unistd.h: Add hidden_proto for dup3.
50066 Define __have_dup3.
50067 * io/dup3.c: Define hidden symbol.
50068 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50069
bd25564e
UD
50070 [BZ #7101]
50071 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50072 when an incomplete long option is used.
50073 * posix/tst-getopt_long1.c: New file.
50074 * posix/Makefile (tests): Add tst-getopt_long1.
50075
c84cfef4
UD
50076 [BZ #10138]
50077 * scripts/config.guess: Update from autoconf-2.68.
50078 * scripts/config.sub: Likewise.
50079
3b85df27
UD
50080 [BZ #10157]
50081 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50082 tests into ...
50083 (has_cpuclock): ...this. New function.
50084 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50085 macro here based on has_cpuclock code.
50086
15a856b1
UD
50087 [BZ #10149]
50088 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50089 First byte (not low byte) is now always NUL.
50090 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50091
05f399e6
UD
50092 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50093 Use non-cancelable interfaces.
50094
10a52685 50095 [BZ #9809]
94ecc67d
UD
50096 * locale/iso-639.def: Add entry for Sorani.
50097
f8a3b5bf
UD
50098 [BZ #11901]
50099 * include/stdlib.h: Move include protection to the right place.
50100 Define abort_msg_s. Declare __abort_msg with it.
50101 * stdlib/abort.c (__abort_msg): Adjust type.
50102 * assert/assert.c (__assert_fail_base): New function. Majority
50103 of code from __assert_fail. Allocate memory for __abort_msg with
50104 mmap.
50105 (__assert_fail): Now call __assert_fail_base.
50106 * assert/assert-perr.c: Remove bulk of implementation. Use
50107 __assert_fail_base.
50108 * include/assert.hL Declare __assert_fail_base.
50109 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50110 mmap.
50111 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50112
1af4e298
UD
501132011-05-14 Ulrich Drepper <drepper@gmail.com>
50114
f8a3b5bf 50115 [BZ #11952]
d26dfc60
MG
50116 [BZ #12453]
50117 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50118 until all modules are registered in the DTV.
50119 * elf/Makefile: Add rules to build and run tst-tls19.
50120 * elf/tst-tls19.c: New file.
50121 * elf/tst-tls19mod1.c: New file.
50122 * elf/tst-tls19mod2.c: New file.
50123 * elf/tst-tls19mod3.c: New file.
50124 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50125
2fc54d6f
UD
50126 [BZ #12083]
50127 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50128 correctly.
50129
98d76b46
UD
50130 [BZ #12601]
50131 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50132 two-byte sequence errors.
50133 * iconvdata/Makefile (tests): Add bug-iconv8.
50134 * iconvdata/bug-iconv8.c: New file.
50135
da3c19ef
UD
50136 [BZ #12626]
50137 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50138 buf2 definition.
50139
ca408c15
UD
50140 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50141
d6f67f7d
UD
50142 [BZ #12432]
50143 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50144 (dummy_getcfa): New function.
50145 (init): Get _Unwind_GetCFA address, use dummy if not found.
50146 (backtrace_helper): In recursion check, also check whether CFA changes.
50147 (__backtrace): Completely initialize arg.
50148
1af4e298 50149 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
50150 storing incomplete byte sequence in state object. Avoid testing for
50151 guaranteed too small input if we know there is enough data available.
1af4e298 50152
da62f81b
AS
501532011-05-11 Andreas Schwab <schwab@redhat.com>
50154
50155 * Makeconfig (+link-pie): Indent.
50156 * Rules (binaries-pie): Define if $(have-fpie) and
50157 $(build-shared).
50158 (binaries-shared): Also filter out $(binaries-pie).
50159 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50160 * nscd/Makefile (others-pie): Add nscd.
50161 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50162 ($(objpfx)nscd): Remove command override.
50163 * login/Makefile (others-pie): Add pt_chown.
50164 ($(objpfx)pt_chown): Remove command override.
50165 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50166 remove command overrides.
50167
fcabc0f8
UD
501682011-05-13 Ulrich Drepper <drepper@gmail.com>
50169
20030ae6
UD
50170 * libio/tst_putwc.c: Fix error messages.
50171
fcabc0f8
UD
50172 [BZ #12724]
50173 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50174 currently writing and seek to current position when not.
50175 * libio/Makefile (tests): Add bug-fclose1.
50176 * libio/bug-fclose1.c: New file.
50177
320a5dc0
PB
501782011-05-12 Ulrich Drepper <drepper@gmail.com>
50179
50180 [BZ #12511]
50181 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50182 don't set DF_1_NODELETE here.
50183 (do_lookup_x): When entering new entry test for copy relocation
50184 and if necessary set DF_1_NODELETE flag.
50185 * elf/tst-unique4.cc: New file.
50186 * elf/tst-unique4.h: New file.
50187 * elf/tst-unique4lib.cc: New file.
50188 * elf/Makefile: Add rules to build and run tst-unique4.
50189 Patch by Piotr Bury <pbury@goahead.com>.
50190
22836f52
UD
501912011-05-11 Ulrich Drepper <drepper@gmail.com>
50192
f574184a
UD
50193 [BZ #12052]
50194 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50195
e1fb097f
UD
50196 [BZ #12625]
50197 * misc/mntent_r.c (addmntent): Flush the stream after the output
50198
22836f52
UD
50199 [BZ #12393]
50200 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50201 (is_trusted_path_normalize): Skip initial colon. Append slash
50202 to empty buffer. Duplicate is_trusted_path code but allow
50203 constructed patch to be prefix.
50204 (is_dst): Allow $ORIGIN followed by /.
50205 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50206 Correct testing of result of is_trusted_path_normalize
50207 (decompose_rpath): Fix warning.
50208
7b3b0b2a
UD
502092011-05-10 Ulrich Drepper <drepper@gmail.com>
50210
50211 [BZ #11257]
50212 * grp/initgroups.c (internal_getgrouplist): When we found the service
50213 list through the initgroups entry in nsswitch.conf do not always
50214 continue on a successful lookup. Don't always use the
eac80ce2 50215 __nss_group_database value if it is set.
7b3b0b2a
UD
50216 * nss/nsswitch.conf (initgroups): Change action for successful db
50217 lookup to continue for compatibility.
50218
2a81eaa5
UD
502192011-05-09 Ulrich Drepper <drepper@gmail.com>
50220
be97a69e
UD
50221 [BZ #11532]
50222 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50223 and CP774 modules.
50224 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50225 and CP774 modules.
50226 * iconvdata/tst-tables.sh: Likewise.
50227 * iconvdata/cp770.c: New file.
50228 * iconvdata/cp771.c: New file.
50229 * iconvdata/cp772.c: New file.
50230 * iconvdata/cp773.c: New file.
50231 * iconvdata/cp774.c: New file.
50232 * iconvdata/testdata/CP770: New file.
50233 * iconvdata/testdata/CP770..UTF8: New file.
50234 * iconvdata/testdata/CP771: New file.
50235 * iconvdata/testdata/CP771..UTF8: New file.
50236 * iconvdata/testdata/CP772: New file.
50237 * iconvdata/testdata/CP772..UTF8: New file.
50238 * iconvdata/testdata/CP773: New file.
50239 * iconvdata/testdata/CP773..UTF8: New file.
50240 * iconvdata/testdata/CP774: New file.
50241 * iconvdata/testdata/CP774..UTF8: New file.
50242
50243 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50244 END CHARMAP line.
50245 * iconvdata/gen-8bit-gap.sh: Likewise.
50246 * iconvdata/gen-8bit.sh: Likewise.
50247
c1e9e399
UD
50248 * locale/iso-639.def: Add ary entry.
50249
24c55fb3 50250 [BZ #11258]
96b4b1b0
UD
50251 * locale/C-translit.h.in: Add U20A1 transliteration.
50252
bdc2f971
KB
50253 [BZ #12178]
50254 * locale/iso-639.def: Add wae entry.
50255 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50256
2952b117
UD
50257 [BZ #12545]
50258 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50259 for n.
50260
2a81eaa5
UD
50261 [BZ #12711]
50262 * locale/C-translit.h.in: Add entry for U20B9.
50263 Patch by pravin.d.s@gmail.com.
50264
28377d1b
UD
502652011-05-08 Ulrich Drepper <drepper@gmail.com>
50266
7fb90fb8
UD
50267 [BZ #12713]
50268 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50269 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
50270 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50271 in rtld. Use *stat64.
7fb90fb8 50272 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 50273 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 50274 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
50275 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50276 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50277 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50278 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50279 __fstatat64 macros.
7fb90fb8
UD
50280 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50281 * dirent/rewinddir.c: Add libc_hidden_def.
50282 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 50283 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 50284
28377d1b
UD
50285 * include/dirent.h (__alloc_dir): Add flags parameter.
50286 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50287 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50288 __alloc_dir.
50289 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50290 from fdopendir if O_CLOEXEC is already set.
50291
66bdbaa4
AM
502922011-03-15 Alan Modra <amodra@gmail.com>
50293
50294 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50295 l_tls_firstbyte_offset non-zero. Save padding offset in
50296 l_tls_firstbyte_offset for later use.
50297 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50298 freeing static tls block.
50299
95721191
JN
503002011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50301
50302 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50303 where #ifdef was intended. The intent is to prevent ARG_MAX from
50304 being defined by the kernel headers.
50305
f87dfb1f
UD
503062011-05-07 Ulrich Drepper <drepper@gmail.com>
50307
50308 [BZ #12734]
50309 * resolv/resolv.h: Define RES_NOTLDQUERY.
50310 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50311 no-tld-query and set RES_NOTLDQUERY.
50312 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50313 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50314 modern BIND to search name as TLD unless forbidden.
50315
47c3cd7a
UD
503162011-05-07 Petr Baudis <pasky@suse.cz>
50317 Ulrich Drepper <drepper@gmail.com>
50318
50319 [BZ #12393]
50320 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50321 (is_trusted_path): ...to here.
c1e9ea35 50322 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 50323 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 50324 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 50325
8a35c912
PP
503262011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50327
50328 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50329 __BEGIN/__END_DECLS.
50330
acd41f47
UD
503312011-05-06 Ulrich Drepper <drepper@gmail.com>
50332
50333 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50334 NSS_STATUS_NOTFOUND if no record was found.
50335
597df647
AS
503362011-05-05 Andreas Schwab <schwab@redhat.com>
50337
50338 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50339 (headers-not-in-tirpc): Remove rpc/netdb.h
50340 * resolv/netdb.h: Revert last change.
50341
b9af1301
PP
503422011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50343
50344 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50345 circular dependency between libgcc.a and libc.a.
50346
4e34d5f5
AS
503472011-05-05 Andreas Schwab <schwab@redhat.com>
50348
50349 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50350 * nis/Makefile: Don't install rpcsvc/*.
50351 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50352 instead of <rpc/types.h>.
50353 (MAXHOSTNAMELEN): Define.
50354
00ee369c
AS
503552011-05-03 Andreas Schwab <schwab@redhat.com>
50356
50357 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50358
0b592a30
MB
503592011-04-28 Maciej Babinski <mbabinski@google.com>
50360
50361 [BZ #12714]
50362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50363 gethostbyname4_r when IPv6 results are possible.
50364
6e04cbbe
UD
503652011-05-02 Ulrich Drepper <drepper@gmail.com>
50366
50367 [BZ #12723]
50368 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50369 _PC_PIPE_BUF handling.
50370
e4ecafe0
BH
503712011-04-30 Bruno Haible <bruno@clisp.org>
50372
50373 [BZ #12717]
50374 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50375 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50376 to 'int'.
50377 * inet/getnameinfo.c (getnameinfo): Likewise.
50378
125ee683
UD
503792011-04-29 Ulrich Drepper <drepper@gmail.com>
50380
50381 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50382 to groups setting in database lookup.
50383 * nss/nsswitch.conf: Add initgroups entry.
50384
b722481a
EB
503852011-04-22 Ulrich Drepper <drepper@gmail.com>
50386
50387 [BZ #12685]
50388 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50389 mode string.
50390 Patch by Eric Blake <eblake@redhat.com>.
50391
4df46dbd
L
503922011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50393
50394 * sunrpc/Makefile (need-export-routines): Add svc_run.
50395 (routines): Remove svc_run.
50396 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50397 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50398 * sunrpc/svc_run.c (svc_run): Likewise.
50399 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50400
e84142d2
UD
504012011-04-21 Ulrich Drepper <drepper@gmail.com>
50402
50403 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50404 problem in reallocation in last patch.
50405
877175d8
UD
504062011-04-20 Ulrich Drepper <drepper@gmail.com>
50407
50408 * sunrpc/Makefile: Move inclusion of Rules.
50409
ab8eed78
UD
504102011-04-19 Ulrich Drepper <drepper@gmail.com>
50411
50412 * nss/nss_files/files-initgroups.c: New file.
50413 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50414 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50415 _nss_files_initgroups_dyn.
50416
e3d8f584
RS
504172011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50418
50419 * elf/elf.h (R_ARM_IRELATIVE): Define.
50420
af190f45
UD
504212011-04-19 Ulrich Drepper <drepper@gmail.com>
50422
50423 * po/ru.po: Update from translation team.
50424
53cf59ef
UD
504252011-04-17 Ulrich Drepper <drepper@gmail.com>
50426
50427 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50428 dependencies.
50429
4c559bcd
MF
504302011-02-06 Mike Frysinger <vapier@gentoo.org>
50431
50432 [BZ #12653]
50433 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50434 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50435 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50436 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50437 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50438
4420675c
AS
504392011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50440
50441 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50442 differing bytes.
50443 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50444 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50445 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50446
75ea32ab
UD
504472011-04-17 Ulrich Drepper <drepper@gmail.com>
50448
50449 [BZ #12420]
50450 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50451 storing it.
50452 * stdlib/bug-getcontext.c: New file.
50453 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50454
27390476
AK
504552011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50456
50457 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50458 instructions into .machine "z9-109".
50459 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50460 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50461
10442705
AK
504622011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50463
50464 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50465 between environment variables and auxiliary vector.
50466
7b57bfe5
UD
504672011-04-16 Ulrich Drepper <drepper@gmail.com>
50468
50469 * Makefile: Add rules to build linkobj/libc.so.
50470 * include/libc-symbols.h: Define libc_hidden_nolink.
50471 * include/rpc/auth.h: Mark functions which are to be hidden.
50472 * include/rpc/auth_des.h: Likewise.
50473 * include/rpc/auth_unix.h: Likewise.
50474 * include/rpc/clnt.h: Likewise.
50475 * include/rpc/des_crypt.h: Likewise.
50476 * include/rpc/key_prot.h: Likewise.
50477 * include/rpc/pmap_clnt.h: Likewise.
50478 * include/rpc/pmap_prot.h: Likewise.
50479 * include/rpc/pmap_rmt.h: Likewise.
50480 * include/rpc/rpc_msg.h: Likewise.
50481 * include/rpc/svc.h: Likewise.
50482 * include/rpc/svc_auth.h: Likewise.
50483 * include/rpc/xdr.h: Likewise.
50484 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50485 * nss/Makefile: Likewise.
50486 * sunrpc/Makefile: Don't install headers. Build library with normal
50487 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50488 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50489 for the compat linking library. Remove use of INTDEF/INTUSE.
50490 * sunrpc/auth_none.c: Likewise.
50491 * sunrpc/auth_unix.c: Likewise.
50492 * sunrpc/authdes_prot.c: Likewise.
50493 * sunrpc/authuxprot.c: Likewise.
50494 * sunrpc/clnt_gen.c: Likewise.
50495 * sunrpc/clnt_perr.c: Likewise.
50496 * sunrpc/clnt_raw.c: Likewise.
50497 * sunrpc/clnt_simp.c: Likewise.
50498 * sunrpc/clnt_tcp.c: Likewise.
50499 * sunrpc/clnt_udp.c: Likewise.
50500 * sunrpc/clnt_unix.c: Likewise.
50501 * sunrpc/des_crypt.c: Likewise.
50502 * sunrpc/des_soft.c: Likewise.
50503 * sunrpc/get_myaddr.c: Likewise.
50504 * sunrpc/key_call.c: Likewise.
50505 * sunrpc/key_prot.c: Likewise.
50506 * sunrpc/netname.c: Likewise.
50507 * sunrpc/pm_getmaps.c: Likewise.
50508 * sunrpc/pm_getport.c: Likewise.
50509 * sunrpc/pmap_clnt.c: Likewise.
50510 * sunrpc/pmap_prot.c: Likewise.
50511 * sunrpc/pmap_prot2.c: Likewise.
50512 * sunrpc/pmap_rmt.c: Likewise.
50513 * sunrpc/publickey.c: Likewise.
50514 * sunrpc/rpc_cmsg.c: Likewise.
50515 * sunrpc/rpc_common.c: Likewise.
50516 * sunrpc/rpc_dtable.c: Likewise.
50517 * sunrpc/rpc_prot.c: Likewise.
50518 * sunrpc/rpc_thread.c: Likewise.
50519 * sunrpc/rtime.c: Likewise.
50520 * sunrpc/svc.c: Likewise.
50521 * sunrpc/svc_auth.c: Likewise.
50522 * sunrpc/svc_authux.c: Likewise.
50523 * sunrpc/svc_raw.c: Likewise.
50524 * sunrpc/svc_run.c: Likewise.
50525 * sunrpc/svc_simple.c: Likewise.
50526 * sunrpc/svc_tcp.c: Likewise.
50527 * sunrpc/svc_udp.c: Likewise.
50528 * sunrpc/svc_unix.c: Likewise.
50529 * sunrpc/svcauth_des.c: Likewise.
50530 * sunrpc/xcrypt.c: Likewise.
50531 * sunrpc/xdr.c: Likewise.
50532 * sunrpc/xdr_array.c: Likewise.
50533 * sunrpc/xdr_float.c: Likewise.
50534 * sunrpc/xdr_intXX_t.c: Likewise.
50535 * sunrpc/xdr_mem.c: Likewise.
50536 * sunrpc/xdr_rec.c: Likewise.
50537 * sunrpc/xdr_ref.c: Likewise.
50538 * sunrpc/xdr_sizeof.c: Likewise.
50539 * sunrpc/xdr_stdio.c: Likewise.
50540
e6c61494
UD
505412011-04-10 Ulrich Drepper <drepper@gmail.com>
50542
50543 [BZ #12650]
50544 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50545 * sysdeps/ia64/dl-tls.h: Likewise.
50546 * sysdeps/powerpc/dl-tls.h: Likewise.
50547 * sysdeps/s390/dl-tls.h: Likewise.
50548 * sysdeps/sh/dl-tls.h: Likewise.
50549 * sysdeps/sparc/dl-tls.h: Likewise.
50550 * sysdeps/x86_64/dl-tls.h: Likewise.
50551 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50552
34fe483e
AS
505532011-03-14 Andreas Schwab <schwab@redhat.com>
50554
50555 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50556 rpath element also skip the following colon.
50557 (expand_dynamic_string_token): Add is_path parameter and pass
50558 down to DL_DST_REQUIRED and _dl_dst_substitute.
50559 (decompose_rpath): Call expand_dynamic_string_token with
50560 non-zero is_path. Ignore empty rpaths.
50561 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50562 with zero is_path.
50563
f12a32e6
AS
505642011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50565
50566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50567 Make cancelable.
50568
38a7d692
UD
505692011-04-09 Ulrich Drepper <drepper@gmail.com>
50570
50571 [BZ #12655]
50572 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50573 Patch by Filipe David Manana <fdmanana@apache.org>.
50574
e451d22b
AS
505752011-04-07 Andreas Schwab <schwab@redhat.com>
50576
50577 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50578 Maintain aligned stack.
50579 (CHECK_RSP): Remove unused macro.
50580
dedc7c7b
UD
505812011-04-03 Ulrich Drepper <drepper@gmail.com>
50582
50583 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50584 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50585
94521213
UD
505862011-04-02 Ulrich Drepper <drepper@gmail.com>
50587
50588 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50589
8cb700c0 50590 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50591
0354e355
L
505922011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50593
50594 [BZ #12518]
50595 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50596 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50597 * sysdeps/x86_64/memmove.c: New file.
50598 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50599 (memcpy): Renamed to ...
50600 (__new_memcpy): This.
50601 (memcpy): Provide GLIBC_2_14 memcpy.
50602 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50603 (memcpy): Provide GLIBC_2_2_5 memcpy.
50604
8593482f
UD
506052011-04-01 Ulrich Drepper <drepper@gmail.com>
50606
50607 [BZ #12631]
50608 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50609
81a5726b
AS
506102011-03-30 Andreas Schwab <schwab@redhat.com>
50611
50612 * misc/syncfs.c: New file.
50613 * misc/Makefile (routines): Add syncfs.
50614 * posix/unistd.h: Declare syncfs.
50615 * sysdeps/unix/syscalls.list: Add syncfs.
50616
00e5419f
AS
506172011-04-01 Andreas Schwab <schwab@redhat.com>
50618
50619 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50620 open_by_handle_at.
50621 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50622 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50623 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50624 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50625 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50626 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50627 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50628
748876bf
UD
506292011-04-01 Ulrich Drepper <drepper@gmail.com>
50630
658e451d
UD
50631 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50632 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50633 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50634 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50635 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50637 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50638
748876bf
UD
50639 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50640 sync_file_range.c with -fexceptions.
50641 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50642 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50643 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50644 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50645 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50646 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50647 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50648 sync_file_range as cancellation point
50649 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50650 now a wrapper around __call_sync_file_range with cancellation handling.
50651 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50652 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50653 function name to __call_sync_file_range.
50654 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50655 Add call_sync_file_range.
748876bf 50656
6e63d5e1
AS
506572011-04-01 Andreas Schwab <schwab@redhat.com>
50658
50659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50660 bits/timex.h.
6e63d5e1 50661
46998f74
UD
506622011-04-01 Ulrich Drepper <drepper@gmail.com>
50663
4c1423ed
UD
50664 * iconv/iconv.h: Fix typo in comment.
50665 * io/fcntl.h: Likewise.
50666 * libio/stdio.h: Likewise.
50667 * posix/spawn.h: Likewise.
50668 * posix/unistd.h: Likewise.
50669 * stdlib/stdlib.h: Likewise.
50670 * time/time.h: Likewise.
50671 * wcsmbs/wchar.h: Likewise.
50672
158648c0
UD
50673 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50674 open_by_handle): Add.
50675 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50676 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50677 Augment a few comments.
50678 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50679 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50680 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50681 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50682 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50683 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50684 open_by_handle.
50685
46998f74
UD
50686 * io/fcntl.h (AT_EMPTY_PATH): Define.
50687
83fe108b
UD
506882011-03-30 Ulrich Drepper <drepper@gmail.com>
50689
50690 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50691 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50692 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50693 to...
50694 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50695 * Versions.def: Add GLIBC_2.14.
50696 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50697 Export.
83fe108b 50698
bb242059
UD
506992011-03-22 Ulrich Drepper <drepper@gmail.com>
50700
50701 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50702 round counter.
50703 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50704
c97a1282
L
507052011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50706
50707 [BZ #12597]
50708 * string/test-strncmp.c (do_page_test): New function.
50709 (check2): Likewise.
50710 (test_main): Call check2.
50711 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50712
2a115601
UD
507132011-03-20 Ulrich Drepper <drepper@gmail.com>
50714
50715 [BZ #12587]
50716 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50717 Handle cache information in CPU leaf 4.
50718 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50719
8126d904
UD
507202011-03-18 Ulrich Drepper <drepper@gmail.com>
50721
042c49c6 50722 [BZ #12583]
8126d904
UD
50723 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50724 character representation.
50725 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50726
ccfe366e
RA
507272011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50728
50729 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50730 END(__isnan) to END(__isnanf) to match function entry point/label
50731 EALIGN(__isnanf,...).
50732
c6e13027
JJ
507332011-03-10 Jakub Jelinek <jakub@redhat.com>
50734
50735 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50736
33f85a3f
UD
507372011-03-10 Ulrich Drepper <drepper@gmail.com>
50738
028478fa
UD
50739 [BZ #12510]
50740 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50741 copy from the symbol referenced in the relocation to initialize the
50742 used variable.
50743 Patch by Piotr Bury <pbury@goahead.com>.
50744 * elf/Makefile: Add rules to build and tst-unique3.
50745 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50746 * elf/tst-unique3.cc: New file.
50747 * elf/tst-unique3.h: New file.
50748 * elf/tst-unique3lib.cc: New file.
50749 * elf/tst-unique3lib2.cc: New file.
50750
33f85a3f
UD
50751 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50752
03592fc7
MF
507532011-03-10 Mike Frysinger <vapier@gentoo.org>
50754
50755 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50756 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50757 to _start.
03592fc7 50758
6a5ee102
UD
507592011-03-06 Ulrich Drepper <drepper@gmail.com>
50760
50761 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50762 to-be-loaded object along a path to loader is ld.so.
50763
7e4ba49c
HJ
507642011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50765 Ulrich Drepper <drepper@gmail.com>
50766
50767 * sysdeps/x86_64/memset.S: After aligning destination, code
50768 branches to different locations depending on the value of
50769 misalignment, when multiarch is enabled. Fix this.
50770
507712011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50772
50773 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50774 Set _x86_64_preferred_memory_instruction for AMD processsors.
50775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50776 Set bit_Prefer_SSE_for_memop for AMD processors.
50777
13a804de
UD
507782011-03-04 Ulrich Drepper <drepper@gmail.com>
50779
50780 * libio/fmemopen.c (fmemopen): Optimize a bit.
50781
9d25c392
AS
507822011-03-03 Andreas Schwab <schwab@redhat.com>
50783
50784 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50785
a5543c6a
RM
507862011-03-03 Roland McGrath <roland@redhat.com>
50787
50788 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50789
012d35f7
DM
507902011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50791
7e4ba49c 50792 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50793 __bzero_ultra1 instead of __memset_ultra1.
50794
4bff6e01
AS
507952011-02-23 Andreas Schwab <schwab@redhat.com>
50796 Ulrich Drepper <drepper@gmail.com>
50797
50798 [BZ #12509]
50799 * include/link.h (struct link_map): Add l_orig_initfini.
50800 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50801 returning unsuccessfully.
50802 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50803 close of a file loaded at startup, restore the original l_initfini
50804 list.
50805 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50806 list, store the pointer.
50807 * elf/Makefile ($(objpfx)noload-mem): New rule.
50808 (noload-ENV): Define.
50809 (tests): Add $(objpfx)noload-mem.
50810 * elf/noload.c: Include <memcheck.h>.
50811 (main): Call mtrace. Close all opened handles.
50812
f2092faf
AS
508132011-02-17 Andreas Schwab <schwab@redhat.com>
50814
50815 [BZ #12454]
50816 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50817 dependencies are missing.
50818
6c8a2e88
ST
508192011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50820
f2092faf 50821 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50822 Hurd needs munmap.
50823 * sysdeps/mach/hurd/ifreq.h: New file.
50824
84a42118
PB
508252011-01-27 Petr Baudis <pasky@suse.cz>
50826 Ulrich Drepper <drepper@gmail.com>
50827
071f805e 50828 [BZ 12445]#
84a42118
PB
50829 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50830 to extend_alloca().
50831 * stdio-common/bug23.c: New file.
50832 * stdio-common/Makefile (tests): Add bug23.
50833
e23fe25b
AS
508342010-09-28 Andreas Schwab <schwab@redhat.com>
50835 Ulrich Drepper <drepper@gmail.com>
50836
50837 [BZ #12489]
50838 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50839 before performing relro protection. At old place add assertion
50840 to make sure nothing changed.
50841
d3f02e10
NS
508422011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50843 Glauber de Oliveira Costa <glommer@gmail.com>
50844
50845 * elf/elf.h: Add new ARM TLS relocs.
50846
d55fd7a5
RA
508472011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50848
50849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50850 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50851 cast from r3.
50852 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50853 'tests' variable.
50854 * sysdeps/wordsize-64/tst-writev.c: New file.
50855
2206397e
RA
508562011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50857
50858 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50859 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50860 insns in _dl_start to prevent a TOC reference before relocs are
50861 resolved.
50862
e9433893
UD
508632011-02-15 Ulrich Drepper <drepper@gmail.com>
50864
50865 [BZ #12469]
50866 * Makeconfig: Remove RANLIB definition.
50867 * Makerules: Don't use RANLIB.
50868 * aclocal.m4: Remove ranlib test.
50869 * configure.in: No need to check for ranlib.
50870 * elf/rtld-Rules: Don't use RANLIB.
50871
f75286c6
ST
508722011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50873
8e31c82d
ST
50874 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50875 protection macro.
50876 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50877 inclusion protection macro.
50878
f75286c6
ST
50879 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50880 SIGRTMIN and SIGRTMAX and print information in that case only when
50881 SIGRTMIN is defined.
50882
c1d0e639
JJ
508832011-02-11 Jakub Jelinek <jakub@redhat.com>
50884
50885 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50886 arginfo fn returning -1.
50887
50888 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50889 and thousands string is zero terminated.
50890
edf9294e
AS
508912011-02-03 Andreas Schwab <schwab@redhat.com>
50892
50893 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50894 sysdeps/unix/sysv/linux/bits/socket.h.
50895
2b7e92df
ST
508962011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50897
edf9294e
AS
50898 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50899 (__CPU_COUNT): Remove old macros.
50900 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50901 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50902 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
50903 (__sched_cpualloc, __sched_cpufree): Add declarations.
50904
a4c7ea7b
UD
509052011-02-05 Ulrich Drepper <drepper@gmail.com>
50906
50907 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50908 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50909 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50910 (readdhstai): Return value of addhstaiX call.
50911 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50912 (addgrbyX): Return value returned by cache_addgr.
50913 (readdgrbyname): Return value returned by addgrbyX.
50914 (readdgrbygid): Likewise.
50915 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50916 (addpwbyX): Return value returned by cache_addpw.
50917 (readdpwbyname): Return value returned by addhstbyX.
50918 (readdpwbyuid): Likewise.
50919 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50920 (addservbyX): Return value returned by cache_addserv.
50921 (readdservbyname): Return value returned by addservbyX:
50922 (readdservbyport): Likewise.
50923 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50924 (addhstbyX): Return value returned by cache_addhst.
50925 (readdhstbyname): Return value returned by addhstbyX.
50926 (readdhstbyaddr): Likewise.
50927 (readdhstbynamev6): Likewise.
50928 (readdhstbyaddrv6): Likewise.
50929 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50930 (readdinitgroups): Return value returned by addinitgroupsX.
50931 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50932 (prune_cache): Keep track of timeout value of re-added entries.
50933 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50934 * nscd/nscd.h: Adjust prototypes of readd* functions.
50935
a0bf67cc
RM
509362011-02-04 Roland McGrath <roland@redhat.com>
50937
50938 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50939 (nis_stats): Likewise.
50940 * nis/nis_modify.c (nis_modify): Likewise.
50941 * nis/nis_remove.c (nis_remove): Likewise.
50942 * nis/nis_add.c (nis_add): Likewise.
50943
50944 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50945
50946 * posix/fnmatch_loop.c: Add some consts.
50947
50948 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50949
435b95eb
L
509502011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50951
50952 [BZ #12460]
50953 * config.make.in (config-cflags-novzeroupper): Define.
50954 * configure.in: Substitute libc_cv_cc_novzeroupper.
50955 * elf/Makefile (AVX-CFLAGS): Define.
50956 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50957 (CFLAGS-tst-auditmod4a.c): Likewise.
50958 (CFLAGS-tst-auditmod4b.c): Likewise.
50959 (CFLAGS-tst-auditmod6b.c): Likewise.
50960 (CFLAGS-tst-auditmod6c.c): Likewise.
50961 (CFLAGS-tst-auditmod7b.c): Likewise.
50962 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50963
8517b15e
UD
509642011-02-02 Ulrich Drepper <drepper@gmail.com>
50965
50966 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50967 function to the callback.
50968 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50969
10a656fe
AS
509702011-02-02 Andreas Schwab <schwab@redhat.com>
50971
50972 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50973 of errno.
50974
968dad0a
UD
509752011-01-19 Ulrich Drepper <drepper@gmail.com>
50976
9f94d2ea 50977 [BZ #11724]
968dad0a
UD
50978 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50979 of constructors.
50980 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50981 of destructors.
50982 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50983
50984 [BZ #11724]
50985 * elf/Makefile: Add rules to build and run new test.
50986 * elf/tst-initorder.c: New file.
50987 * elf/tst-initorder.exp: New file.
50988 * elf/tst-initordera1.c: New file.
50989 * elf/tst-initordera2.c: New file.
50990 * elf/tst-initordera3.c: New file.
50991 * elf/tst-initordera4.c: New file.
50992 * elf/tst-initorderb1.c: New file.
50993 * elf/tst-initorderb2.c: New file.
50994 * elf/tst-order-a1.c: New file.
50995 * elf/tst-order-a2.c: New file.
50996 * elf/tst-order-a3.c: New file.
50997 * elf/tst-order-a4.c: New file.
50998 * elf/tst-order-b1.c: New file.
50999 * elf/tst-order-b2.c: New file.
51000 * elf/tst-order-main.c: New file.
51001 New test case by George Gensure <werkt0@gmail.com>.
51002
86e92359
UD
510032010-10-01 Andreas Schwab <schwab@redhat.com>
51004
51005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51006 decoding ACE if AI_CANONIDN.
51007
5d5732b0
UD
510082011-01-18 Ulrich Drepper <drepper@gmail.com>
51009
51010 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51011
a77e8cbc
UD
510122011-01-17 Ulrich Drepper <drepper@gmail.com>
51013
6392473f
UD
51014 * version.h (RELEASE): Bump for 2.13 release.
51015 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51016
620a0529
UD
51017 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51018
18ba70a5
UD
51019 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51020 MADV_NOHUGEPAGE.
32465c3e
UD
51021 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51022 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51023 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51024 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51025 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51026 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51027
c0dafcf1
UD
51028 * posix/getconf.c: Update copyright year.
51029 * catgets/gencat.c: Likewise.
51030 * csu/version.c: Likewise.
51031 * debug/catchsegv.sh: Likewise.
51032 * debug/xtrace.sh: Likewise.
51033 * elf/ldconfig.c: Likewise.
51034 * elf/ldd.bash.in: Likewise.
51035 * elf/sprof.c (print_version): Likewise.
51036 * iconv/iconv_prog.c: Likewise.
51037 * iconv/iconvconfig.c: Likewise.
51038 * locale/programs/locale.c: Likewise.
51039 * locale/programs/localedef.c: Likewise.
51040 * malloc/memusage.sh: Likewise.
51041 * malloc/mtrace.pl: Likewise.
51042 * nscd/nscd.c (print_version): Likewise.
51043 * nss/getent.c: Likewise.
51044
a77e8cbc
UD
51045 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51046 PF_CAIF, and PF_ALG.
51047 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51048
77e8bddf
AS
510492011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51050
1f20b93a
AS
51051 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51052 (modules-names): Use them.
51053 (ifunc-test-modules, ifunc-pie-tests): Define.
51054 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51055 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51056 (test-extras): Likewise.
51057 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51058 $(compile-command.c).
51059 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51060 (all-built-dso): Define.
51061 (check-textrel.out, check-execstack.out): Depend on it.
51062
77e8bddf
AS
51063 * configure.in: Don't override --enable-multi-arch.
51064
bc425b33
UD
510652011-01-15 Ulrich Drepper <drepper@gmail.com>
51066
51067 [BZ #6812]
51068 * nscd/hstcache.c (tryagain): Define.
51069 (cache_addhst): Return tryagain not notfound for temporary errors.
51070 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51071 failed.
51072
794c3ad3
UD
510732011-01-14 Ulrich Drepper <drepper@gmail.com>
51074
70181fdd
UD
51075 [BZ #10563]
51076 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51077 to make the syscall.
51078 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51079
794c3ad3
UD
51080 [BZ #12378]
51081 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51082 and fall back to matching as normal character if the string ends before
51083 the matching ']' is found. This is what POSIX requires.
51084 * posix/testfnm.c: Adjust test result.
51085 * posix/globtest.sh: Adjust test result. Add new test.
51086 * posix/tst-fnmatch.input: Likewise.
51087 * posix/tst-fnmatch2.c: Add new test.
51088
68dc9497
AS
510892010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51090
51091 * elf/Makefile (check-execstack): Revert last change. Depend on
51092 check-execstack.h.
51093 (check-execstack.h): New target.
51094 (generated): Add check-execstack.h.
51095 * elf/check-execstack.c: Include "check-execstack.h".
51096 (main): Revert last change.
51097 (handle_file): Return zero if GNU_STACK is absent and
51098 DEFAULT_STACK_PERMS doesn't include PF_X.
51099
451f001b
UD
511002011-01-13 Ulrich Drepper <drepper@gmail.com>
51101
cfa28e56
UD
51102 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51103 in child fails because the descriptor is already closed.
8cf8ce17
UD
51104 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51105 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51106 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 51107
1086d70d
UD
51108 [BZ #12397]
51109 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51110 syscall.
51111
451f001b
UD
51112 [BZ #10484]
51113 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51114 temporary buffer used to handle multi lookups locally.
a85b5cb4 51115 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 51116
08769175
UD
511172011-01-12 Ulrich Drepper <drepper@gmail.com>
51118
51119 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51120 loader is ld.so.
51121
5e49c52e
UD
511222011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51123
51124 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51125 alignment for SSE2.
51126
60522a5f
UD
511272011-01-12 Ulrich Drepper <drepper@gmail.com>
51128
51129 [BZ #12394]
51130 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51131 characters. When rounding increased number of integer digits recompute
51132 number of groups.
51133 * stdio-common/tst-grouping.c: New file.
51134 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51135
f257bbd7
UD
511362011-01-09 Ulrich Drepper <drepper@gmail.com>
51137
51138 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51139 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51140
51141 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51142 void.
51143 * bits/select.h: Likewise.
51144
fa9c15cb
UD
511452011-01-08 Ulrich Drepper <drepper@gmail.com>
51146
51147 * po/ja.po: Update from translation team.
51148
16c2895f
DM
511492011-01-04 David S. Miller <davem@sunset.davemloft.net>
51150
51151 [BZ #11155]
51152 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51153 implementation just like for lxstat, fxstatat, et al.
51154
2543fef2
JM
511552010-12-27 Jim Meyering <meyering@redhat.com>
51156
51157 [BZ #12348]
51158 * posix/regexec.c (build_trtable): Return failure indication upon
51159 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51160
98727dbe
UD
511612010-12-25 Ulrich Drepper <drepper@gmail.com>
51162
5bd6dc5c
UD
51163 [BZ #12201]
51164 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51165 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51166 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51167 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51168
97983464
UD
51169 [BZ #12207]
51170 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51171
98727dbe
UD
51172 [BZ #12204]
51173 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51174 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51175
4a531bb0
L
511762010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51177
51178 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51179 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51180 script has SORT_BY_INIT_PRIORITY.
51181 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51182 NO_CTORS_DTORS_SECTIONS is defined.
51183 * elf/soinit.c: Likewise.
51184 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51185 NO_CTORS_DTORS_SECTIONS is defined.
51186 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51187 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51188 * sysdeps/sh/init-first.c: Likewise.
51189 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51190
07eb4b71
UD
511912010-12-24 Ulrich Drepper <drepper@gmail.com>
51192
51193 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51194 always use the slow path.
51195
30950a5f
RA
511962010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51197
51198 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51199 similar rule which adds the sysdep directories to the header search in
51200 order to pick up the correct platform stackinfo.h.
51201 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51202 perform test if it is, otherwise return successfully without testing.
51203 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51204 DEFAULT_STACK_PERMS define in stackinfo.h.
51205 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51206 defined in stackinfo.h.
51207 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51208 DEFAULT_STACK_PERMS defined in stackinfo.h.
51209 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51210 * sysdeps/ia64/stackinfo.h: Likewise.
51211 * sysdeps/s390/stackinfo.h: Likewise.
51212 * sysdeps/sh/stackinfo.h: Likewise.
51213 * sysdeps/sparc/stackinfo.h: Likewise.
51214 * sysdeps/x86_64/stackinfo.h: Likewise.
51215 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51216 PF_X for powerpc64. Retain PF_X for powerpc32.
51217
db753e2c
UD
512182010-12-19 Ulrich Drepper <drepper@gmail.com>
51219
14b697f7
UD
51220 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51221 accurately.
db753e2c
UD
51222 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51223 GETDENTS_64BIT_ALIGNED.
51224
28300719
UD
512252010-12-14 Ulrich Drepper <dreper@gmail.com>
51226
14b697f7 51227 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 51228
4f197237
AS
512292010-12-10 Andreas Schwab <schwab@redhat.com>
51230
dbb0472f
AS
51231 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51232 _GNU_SOURCE.
51233
4f197237
AS
51234 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51235 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51236 Remove __restrict.
51237 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51238 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51239
fb88ac72
UD
512402010-12-09 Ulrich Drepper <drepper@gmail.com>
51241
51242 [BZ #11655]
51243 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51244 are initialized.
51245
42acbb92
JJ
512462010-12-09 Jakub Jelinek <jakub@redhat.com>
51247
51248 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51249
c038d98d
UD
512502010-12-03 Ulrich Drepper <drepper@gmail.com>
51251
51252 * po/it.po: Update from translation team.
51253
3a4a2499
L
512542010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51255
51256 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51257 unused codes.
51258
1e24cf6e
UD
512592010-11-30 Ulrich Drepper <drepper@gmail.com>
51260
51261 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51262
a7690819
AS
512632010-11-24 Andreas Schwab <schwab@redhat.com>
51264
51265 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51266 specially.
51267 (gaih_getanswer_slice): Likewise.
51268
3bf8d1b1
JJ
512692010-10-20 Jakub Jelinek <jakub@redhat.com>
51270
51271 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51272
6db52fbb
PB
512732010-05-31 Petr Baudis <pasky@suse.cz>
51274
51275 [BZ #11149]
51276 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51277 silently even in the chroot mode.
51278
eaca7569
UD
512792010-11-22 Ulrich Drepper <drepper@gmail.com>
51280
51281 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51282 last patch a bit. Pretty printing
51283
3056dcdb
UD
512842010-05-31 Petr Baudis <pasky@suse.cz>
51285
51286 [BZ #10085]
51287 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51288 initialization of skip_initgroups_dyn.
51289
cf7c9078
UD
512902010-11-19 Ulrich Drepper <drepper@gmail.com>
51291
51292 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51293 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51294
a1fb5e3e
UD
512952010-11-16 Ulrich Drepper <drepper@gmail.com>
51296
51297 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51298
3540d66b
AS
512992010-11-11 Andreas Schwab <schwab@redhat.com>
51300
51301 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51302 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51303 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51304 ($(objpfx)tst-fnmatch-mem): New rule.
51305 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51306 * posix/tst-fnmatch.c (main): Call mtrace.
51307
13b69574
L
513082010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51309
51310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51311 Support Intel processor model 6 and model 0x2c.
51312
da93d214
LM
513132010-11-10 Luis Machado <luisgpm@br.ibm.com>
51314
51315 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51316 signed comparison.
51317
8ca52c6e
L
513182010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51319
51320 [BZ #12205]
51321 * string/test-strncasecmp.c (check_result): New function.
51322 (do_one_test): Use it.
51323 (check1): New function.
51324 (test_main): Use it.
51325 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51326 Support strcasecmp and strncasecmp.
51327
69da074d
UD
513282010-11-08 Ulrich Drepper <drepper@gmail.com>
51329
51330 [BZ #12194]
51331 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51332 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51333
ff02d528
L
513342010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51335
51336 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51337 IFUNC support.
51338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51339 memset-x86-64.
51340 * sysdeps/x86_64/multiarch/bzero.S: New file.
51341 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51342 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51343 * sysdeps/x86_64/multiarch/memset.S: New file.
51344 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51345 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51346 Set bit_Prefer_SSE_for_memop for Intel processors.
51347 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51348 Define.
51349 (index_Prefer_SSE_for_memop): Define.
51350 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51351
344d0b54
LM
513522010-11-04 Luis Machado <luisgpm@br.ibm.com>
51353
51354 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51355 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51356
c0dde15b
UD
513572010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51358
51359 [BZ #12191]
51360 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51361 (__x86_64_raw_data_cache_size_half): Likewise.
51362 (__x86_64_raw_shared_cache_size): Likewise.
51363 (__x86_64_raw_shared_cache_size_half): Likewise.
51364
51365 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51366 (__x86_64_raw_data_cache_size_half): Likewise.
51367 (__x86_64_raw_shared_cache_size): Likewise.
51368 (__x86_64_raw_shared_cache_size_half): Likewise.
51369 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51370 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51371 and __x86_64_raw_shared_cache_size_half. Round
51372 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51373 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51374 to multiple of 256 bytes.
51375
0e516e0e
MS
513762010-11-03 Ulrich Drepper <drepper@gmail.com>
51377
51378 [BZ #12167]
51379 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51380 of inacessible symlinks. Verify result of symlink before returning it.
51381 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51382 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51383
0e012e87
ER
513842010-10-28 Erich Ritz <erichritz@gmail.com>
51385
51386 * math/math.h (isinf): Fix typo in comment.
51387
de0ff7bc
UD
513882010-11-01 Ulrich Drepper <drepper@gmail.com>
51389
51390 * po/da.po: Update from translation team.
51391
fa41c84d
UD
513922010-10-26 Ulrich Drepper <drepper@gmail.com>
51393
51394 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51395 is added to the list.
51396
f0967738
AK
513972010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51398 Ulrich Drepper <drepper@gmail.com>
51399
51400 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51401 the global list here. Move code to...
51402 (_dl_add_to_namespace_list): ...here. New function.
51403 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51404 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51405 * elf/dl-load.c (lose): Don't remove the element from the list.
51406 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51407 (_dl_map_object): Likewise.
51408
514092010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
51410
51411 [BZ #12159]
51412 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51413 into all bytes of SSE register.
51414 Patch by Richard Li <richardpku@gmail.com>.
51415
f0967738 514162010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
51417
51418 [BZ #12140]
51419 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51420 perturbing.
51421
d0b9e94f
MB
514222010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51423
51424 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51425 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51426 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51427 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51429 submachine.
51430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51431
8e9f92e9
AS
514322010-10-22 Andreas Schwab <schwab@redhat.com>
51433
51434 * include/dlfcn.h (__RTLD_SECURE): Define.
51435 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51436 mode & __RTLD_SECURE instead.
51437 (open_path): Rename preloaded parameter to secure.
51438 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51439 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51440 * elf/dl-deps.c (openaux): Likewise.
51441 * elf/rtld.c (struct map_args): Remove is_preloaded.
51442 (map_doit): Don't use it.
51443 (dl_main): Likewise.
51444 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51445 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51446
bc96fbda
AS
514472010-09-09 Andreas Schwab <schwab@redhat.com>
51448
51449 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51450 (sysd-rules-targets): Remove duplicates.
51451 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51452 rtld-%.$o dependency.
51453
22cd1c9b
AS
514542010-10-18 Andreas Schwab <schwab@redhat.com>
51455
51456 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51457 _dl_map_object do it.
51458
18edac48
UD
514592010-10-19 Ulrich Drepper <drepper@gmail.com>
51460
51461 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51462 fast fma builtins, define the macros in the C99 standard.
51463 (FP_FAST_FMAF): Likewise.
51464 (FP_FAST_FMAL): Likewise.
51465 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51466
51467 * bits/mathdef.h: Update copyright year.
51468 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51469
d2050124
MM
514702010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51471
51472 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51473 builtins, define the macros in the C99 standard.
51474 (FP_FAST_FMAF): Likewise.
51475 (FP_FAST_FMAL): Likewise.
51476 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51477 multiply/add.
51478 (FP_FAST_FMAF): Likewise.
51479
475facd1
JJ
514802010-10-15 Jakub Jelinek <jakub@redhat.com>
51481
51482 [BZ #3268]
51483 * math/libm-test.inc (fma_test): Some new testcases.
51484 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51485 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51486 y and infinite z. Do multiplication by C already in long double.
51487 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51489 y and infinite z. Do bitwise or of inexact bit into u.d.
51490 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51491 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51492 * sysdeps/i386/fpu/s_fma.S: Removed.
51493 * sysdeps/i386/fpu/s_fmal.S: Removed.
51494
7c08a05c
JJ
514952010-10-16 Jakub Jelinek <jakub@redhat.com>
51496
51497 [BZ #3268]
51498 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51499 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51500 computation is not scheduled after fetestexcept. Fix value
51501 of minimum denormal long double.
51502
f3f7372d
JJ
515032010-10-14 Jakub Jelinek <jakub@redhat.com>
51504
51505 [BZ #3268]
51506 * math/libm-test.inc (fma_test): Add some more tests.
51507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51508 correctly.
51509
14d43591
AS
515102010-10-15 Andreas Schwab <schwab@redhat.com>
51511
51512 * scripts/data/localplt-s390-linux-gnu.data: New file.
51513 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51514
5e908464
JJ
515152010-10-13 Jakub Jelinek <jakub@redhat.com>
51516
51517 [BZ #3268]
51518 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51519 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51520 instead of dbl-64.
51521 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51522 inlines.
51523 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51525 if one of x and y is very large and the other is subnormal.
51526 * sysdeps/s390/fpu/s_fmaf.c: New file.
51527 * sysdeps/s390/fpu/s_fma.c: New file.
51528 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51529 * sysdeps/powerpc/fpu/s_fma.S: New file.
51530 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51531 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51532 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51533
515342010-10-12 Jakub Jelinek <jakub@redhat.com>
51535
51536 [BZ #3268]
51537 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51538 fma tests.
51539 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51540 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51541 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51542 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51543 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51544 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51545 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51546
b833d51f
UD
515472010-10-12 Ulrich Drepper <drepper@redhat.com>
51548
51549 [BZ #12078]
51550 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51551 * posix/bug-regex31.input: Add test case.
51552
1751705d
UD
515532010-10-11 Ulrich Drepper <drepper@gmail.com>
51554
e9b9cbf5
UD
51555 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51556 * posix/bug-regex31.input: New file.
51557
51558 [BZ #12078]
51559 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51560 (parse_sub_exp): Fix last change, use postorder.
51561
ef06edbe
UD
51562 * posix/bug-regex31.c: New file.
51563 * posix/Makefile: Add rules to build and run bug-regex31.
51564
a129c80d
UD
51565 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51566
51567 [BZ #12078]
51568 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51569
b76b818e
UD
51570 [BZ #12108]
51571 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51572 to have entries in sys_siglist.
51573
1751705d
UD
51574 [BZ #12093]
51575 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51576 be NULL.
51577
9ff8d36f
JJ
515782010-10-07 Jakub Jelinek <jakub@redhat.com>
51579
51580 [BZ #3268]
51581 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51582 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51583 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51584 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51585 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51586 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51587 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51588 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51589 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51590 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51591 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51592 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51593 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51594 * math/ftestexcept.c (fetestexcept): Likewise.
51595 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51596 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51597 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51598 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51599 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51600 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51601 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51602
af325969
UD
516032010-10-11 Ulrich Drepper <drepper@gmail.com>
51604
c579b202 51605 [BZ #12107]
af325969
UD
51606 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51607 newline.
51608
67a67b95
UD
516092010-10-06 Ulrich Drepper <drepper@gmail.com>
51610
51611 * string/bug-strstr1.c: New file.
51612 * string/Makefile: Add rules to build and run bug-strstr1.
51613
5fb308bc
EB
516142010-10-05 Eric Blake <eblake@redhat.com>
51615
51616 [BZ #12092]
51617 * string/str-two-way.h (two_way_long_needle): Always clear memory
51618 when skipping input due to the shift table.
51619
45db99c7
UD
516202010-10-03 Ulrich Drepper <drepper@gmail.com>
51621
3b111893
UD
51622 [BZ #12005]
51623 * malloc/mcheck.c: Handle large requests.
51624
45db99c7
UD
51625 [BZ #12077]
51626 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51627 for strncmp and strncasecmp.
51628 * string/stratcliff.c: Add tests for strcmp and strncmp.
51629 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51630
cf7a1eb8
NI
516312010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51632
51633 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51634 __set_fpscr.
51635
6484ba5e
AJ
516362010-09-30 Andreas Jaeger <aj@suse.de>
51637
51638 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51639 (CGROUP_SUPER_MAGIC): Define.
51640 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51641 Handle btrfs and cgroup file systems.
51642 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51643 Likewise.
51644
91c42559
LM
516452010-09-27 Luis Machado <luisgpm@br.ibm.com>
51646
51647 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51648 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51649
87a97932
AK
516502010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51651
51652 [BZ #12067]
51653 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51654 trying to locate the ELF header.
51655
c21cc9bc
AS
516562010-09-27 Andreas Schwab <schwab@redhat.com>
51657
51658 [BZ #11611]
51659 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51660 Mask out sign-bit copies when constructing f_fsid.
51661
315970f6
PB
516622010-09-24 Petr Baudis <pasky@suse.cz>
51663
51664 * debug/stack_chk_fail_local.c: Add missing licence exception.
51665 * debug/warning-nop.c: Likewise.
51666
1ac7a2c7
JM
516672010-09-15 Joseph Myers <joseph@codesourcery.com>
51668
51669 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51670 implementing getdents64 using getdents syscall, set d_type if
51671 __ASSUME_GETDENTS32_D_TYPE.
51672
56801c50
AS
516732010-09-16 Andreas Schwab <schwab@redhat.com>
51674
51675 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51676 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51677
dda51327
UD
516782010-09-21 Ulrich Drepper <drepper@redhat.com>
51679
51680 [BZ #12037]
51681 * posix/unistd.h: Undo change of feature selection for ftruncate from
51682 2010-01-11.
51683
8ffcee4a
UD
516842010-09-20 Ulrich Drepper <drepper@redhat.com>
51685
a545ecd9 51686 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51687 detection.
51688
e24f0a8b
AS
516892010-09-20 Andreas Schwab <schwab@redhat.com>
51690
51691 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51692 fanotify_mark.
51693 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51694
7291c56f
AS
516952010-09-14 Andreas Schwab <schwab@redhat.com>
51696
51697 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51698 variables after CHECK_SP call.
51699 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51700
bc5fb037
AS
517012010-09-13 Andreas Schwab <schwab@redhat.com>
51702 Ulrich Drepper <drepper@redhat.com>
51703
51704 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51705 re-relocationg ld.so.
51706 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51707 _dl_init_paths call.
51708 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51709 here anymore.
51710
e66e7419
UD
517112010-09-14 Ulrich Drepper <drepper@redhat.com>
51712
51713 * resolv/res_init.c (__res_vinit): Count the default server we added.
51714
c044aa75
CLT
517152010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51716 Ulrich Drepper <drepper@redhat.com>
51717
51718 [BZ #11968]
51719 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51720 (____longjmp_chk): Use %ebx for saving value across system call.
51721 Add unwind info.
51722
32cf4069
AS
517232010-09-06 Andreas Schwab <schwab@redhat.com>
51724
51725 * manual/Makefile: Don't mix pattern rules with normal rules.
51726
817328ee
AS
517272010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51728
51729 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51730 operation.
51731 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51732 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51733 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51734 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51735 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51736 Likewise.
51737
29fddf61
UD
517382010-09-04 Ulrich Drepper <drepper@redhat.com>
51739
51740 [BZ #11979]
51741 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51742 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51743
0959ffc9
UD
517442010-09-02 Ulrich Drepper <drepper@redhat.com>
51745
51746 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51747 * sysdeps/x86_64/addmul_1.S: Likewise.
51748 * sysdeps/x86_64/lshift.S: Likewise.
51749 * sysdeps/x86_64/mul_1.S: Likewise.
51750 * sysdeps/x86_64/rshift.S: Likewise.
51751 * sysdeps/x86_64/sub_n.S: Likewise.
51752 * sysdeps/x86_64/submul_1.S: Likewise.
51753
ece29840
ST
517542010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51755
0959ffc9
UD
51756 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51757 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51758 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51759 * bits/sched.h [__need_schedparam]
ece29840 51760 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51761 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51762 (__defined_schedparam): Define to 1.
ece29840
ST
51763 (__sched_param): New structure, identical to sched_param.
51764 (__need_schedparam): Undefine.
51765
e53a31fe
MF
517662010-08-31 Mike Frysinger <vapier@gentoo.org>
51767
fdc0c10d
MF
51768 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51769 (epoll_create1): Declare.
51770
e53a31fe
MF
51771 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51772
a726d796
AS
517732010-08-31 Andreas Schwab <schwab@redhat.com>
51774
51775 [BZ #7066]
51776 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51777 shifting retval into place.
51778
2f3e3dc7
UD
517792010-09-01 Ulrich Drepper <drepper@redhat.com>
51780
f2933da9
UD
51781 * nis/rpcsvc/nis.h: Update copyright notice.
51782 * nis/rpcsvc/nis.x: Likewise.
51783 * nis/rpcsvc/nis_callback.h: Likewise.
51784 * nis/rpcsvc/nis_callback.x: Likewise.
51785 * nis/rpcsvc/nis_object.x: Likewise.
51786 * nis/rpcsvc/nis_tags.h: Likewise.
51787 * nis/rpcsvc/yp.h: Likewise.
51788 * nis/rpcsvc/yp.x: Likewise.
51789 * nis/rpcsvc/ypupd.h: Likewise.
51790 * nis/yp_xdr.c: Likewise.
51791 * nis/ypupdate_xdr.c: Likewise.
51792
2f3e3dc7
UD
51793 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51794 mainly the body of pmap_getport. Add parameters to specify timeouts.
51795 (pmap_getport): Use __libc_rpc_getport.
51796 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51797 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51798 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51799
f3dcc2f9
AS
518002010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51801
51802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51803 fanotify_mark.
51804
6d34eb5b
RM
518052010-08-27 Roland McGrath <roland@redhat.com>
51806
51807 * sysdeps/i386/i686/multiarch/Makefile
51808 (CFLAGS-varshift.c): New variable.
51809
9ea3de11
UD
518102010-08-27 Ulrich Drepper <drepper@redhat.com>
51811
c96d23fc
UD
51812 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51813 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51814
9ea3de11
UD
51815 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51816
51817 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51818
623aac7f
L
518192010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51820
51821 * sysdeps/x86_64/strlen.S: Unroll the loop.
51822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51823 strlen-sse2 strlen-sse2-bsf.
51824 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51825 __strlen_no_bsf if bit_Slow_BSF is set.
51826 (__strlen_sse42): Removed.
51827 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51828 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51829
8b2b7715
RM
518302010-08-25 Roland McGrath <roland@redhat.com>
51831
51832 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51833 * sysdeps/x86_64/multiarch/varshift.c: New file.
51834 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51835 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51836 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51837 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51838
e73015f2
L
518392010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51840
51841 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51842 strlen-sse2 strlen-sse2-bsf.
51843 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51844 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51845 (__strlen_sse2): Removed.
51846 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51847 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51849 bit_Slow_BSF for Atom.
51850 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51851 (index_Slow_BSF): Define.
51852 (HAS_SLOW_BSF): Define.
51853
df24a73e
UD
518542010-08-25 Ulrich Drepper <drepper@redhat.com>
51855
51856 [BZ #10851]
51857 * resolv/res_init.c (__res_vinit): When no server address at all
51858 is given default to loopback.
51859
f2ac4868
RM
518602010-08-24 Roland McGrath <roland@redhat.com>
51861
09055553
RM
51862 * configure.in: Remove config-name.h generation.
51863 * configure: Regenerated.
51864 * config-name.in: File removed.
51865 * scripts/config-uname.sh: New file.
51866 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51867 ($(objdir)config-name.h): New target.
51868
f2ac4868
RM
51869 * sunrpc/rpc_parse.h: Avoid nested comment.
51870
73f27d5e
RH
518712010-08-24 Richard Henderson <rth@redhat.com>
51872 Ulrich Drepper <drepper@redhat.com>
51873 H.J. Lu <hongjiu.lu@intel.com>
51874
51875 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51877 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51878 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51879 _mm_alignr_epi8 with _mm_loadu_si128.
51880 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51881 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51882 (__m128i_shift_right): Removed.
51883 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51884 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51885 * sysdeps/x86_64/multiarch/varshift.h: New file.
51886 * sysdeps/x86_64/multiarch/varshift.S: New file.
51887
84b9230c
MF
518882010-08-21 Mike Frysinger <vapier@gentoo.org>
51889
51890 * configure.in: Move assembler checks to before sysdep dir checking.
51891
9bbd0ddc
PB
518922010-08-20 Petr Baudis <pasky@suse.cz>
51893
51894 * LICENSES: Sync the sunrpc license.
51895
9da4bb31
UD
518962010-08-19 Ulrich Drepper <drepper@redhat.com>
51897
a7ab6ec8
UD
51898 * sunrpc/auth_des.c: Update copyright notice once again.
51899 * sunrpc/auth_none.c: Likewise.
51900 * sunrpc/auth_unix.c: Likewise.
51901 * sunrpc/authdes_prot.c: Likewise.
51902 * sunrpc/authuxprot.c: Likewise.
51903 * sunrpc/bindrsvprt.c: Likewise.
51904 * sunrpc/clnt_gen.c: Likewise.
51905 * sunrpc/clnt_perr.c: Likewise.
51906 * sunrpc/clnt_raw.c: Likewise.
51907 * sunrpc/clnt_simp.c: Likewise.
51908 * sunrpc/clnt_tcp.c: Likewise.
51909 * sunrpc/clnt_udp.c: Likewise.
51910 * sunrpc/clnt_unix.c: Likewise.
51911 * sunrpc/des_crypt.c: Likewise.
51912 * sunrpc/des_soft.c: Likewise.
51913 * sunrpc/get_myaddr.c: Likewise.
51914 * sunrpc/getrpcport.c: Likewise.
51915 * sunrpc/key_call.c: Likewise.
51916 * sunrpc/key_prot.c: Likewise.
51917 * sunrpc/openchild.c: Likewise.
51918 * sunrpc/pm_getmaps.c: Likewise.
51919 * sunrpc/pm_getport.c: Likewise.
51920 * sunrpc/pmap_clnt.c: Likewise.
51921 * sunrpc/pmap_prot.c: Likewise.
51922 * sunrpc/pmap_prot2.c: Likewise.
51923 * sunrpc/pmap_rmt.c: Likewise.
51924 * sunrpc/rpc/auth.h: Likewise.
51925 * sunrpc/rpc/auth_unix.h: Likewise.
51926 * sunrpc/rpc/clnt.h: Likewise.
51927 * sunrpc/rpc/des_crypt.h: Likewise.
51928 * sunrpc/rpc/key_prot.h: Likewise.
51929 * sunrpc/rpc/netdb.h: Likewise.
51930 * sunrpc/rpc/pmap_clnt.h: Likewise.
51931 * sunrpc/rpc/pmap_prot.h: Likewise.
51932 * sunrpc/rpc/pmap_rmt.h: Likewise.
51933 * sunrpc/rpc/rpc.h: Likewise.
51934 * sunrpc/rpc/rpc_des.h: Likewise.
51935 * sunrpc/rpc/rpc_msg.h: Likewise.
51936 * sunrpc/rpc/svc.h: Likewise.
51937 * sunrpc/rpc/svc_auth.h: Likewise.
51938 * sunrpc/rpc/types.h: Likewise.
51939 * sunrpc/rpc/xdr.h: Likewise.
51940 * sunrpc/rpc_clntout.c: Likewise.
51941 * sunrpc/rpc_cmsg.c: Likewise.
51942 * sunrpc/rpc_common.c: Likewise.
51943 * sunrpc/rpc_cout.c: Likewise.
51944 * sunrpc/rpc_dtable.c: Likewise.
51945 * sunrpc/rpc_hout.c: Likewise.
51946 * sunrpc/rpc_main.c: Likewise.
51947 * sunrpc/rpc_parse.c: Likewise.
51948 * sunrpc/rpc_parse.h: Likewise.
51949 * sunrpc/rpc_prot.c: Likewise.
51950 * sunrpc/rpc_sample.c: Likewise.
51951 * sunrpc/rpc_scan.c: Likewise.
51952 * sunrpc/rpc_scan.h: Likewise.
51953 * sunrpc/rpc_svcout.c: Likewise.
51954 * sunrpc/rpc_tblout.c: Likewise.
51955 * sunrpc/rpc_util.c: Likewise.
51956 * sunrpc/rpc_util.h: Likewise.
51957 * sunrpc/rpcinfo.c: Likewise.
51958 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51959 * sunrpc/rpcsvc/key_prot.x: Likewise.
51960 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51961 * sunrpc/rpcsvc/mount.x: Likewise.
51962 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51963 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51964 * sunrpc/rpcsvc/rex.x: Likewise.
51965 * sunrpc/rpcsvc/rstat.x: Likewise.
51966 * sunrpc/rpcsvc/rusers.x: Likewise.
51967 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51968 * sunrpc/rpcsvc/spray.x: Likewise.
51969 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51970 * sunrpc/rtime.c: Likewise.
51971 * sunrpc/svc.c: Likewise.
51972 * sunrpc/svc_auth.c: Likewise.
51973 * sunrpc/svc_authux.c: Likewise.
51974 * sunrpc/svc_raw.c: Likewise.
51975 * sunrpc/svc_run.c: Likewise.
51976 * sunrpc/svc_simple.c: Likewise.
51977 * sunrpc/svc_tcp.c: Likewise.
51978 * sunrpc/svc_udp.c: Likewise.
51979 * sunrpc/svc_unix.c: Likewise.
51980 * sunrpc/svcauth_des.c: Likewise.
51981 * sunrpc/xcrypt.c: Likewise.
51982 * sunrpc/xdr.c: Likewise.
51983 * sunrpc/xdr_array.c: Likewise.
51984 * sunrpc/xdr_float.c: Likewise.
51985 * sunrpc/xdr_mem.c: Likewise.
51986 * sunrpc/xdr_rec.c: Likewise.
51987 * sunrpc/xdr_ref.c: Likewise.
51988 * sunrpc/xdr_sizeof.c: Likewise.
51989 * sunrpc/xdr_stdio.c: Likewise.
51990
9da4bb31
UD
51991 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51992 handling.
51993
bdaa77bc
AS
519942010-08-19 Andreas Schwab <schwab@redhat.com>
51995
51996 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51997
fe2f79db
LM
519982010-08-19 Luis Machado <luisgpm@br.ibm.com>
51999
52000 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52001 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52002 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52003 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52004 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52005 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52006 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52007 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52008 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52009 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52010 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52011 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52012 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52013 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52014
b9b42ee0
AB
520152010-07-26 Anton Blanchard <anton@samba.org>
52016
52017 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52018 * malloc/arena.c (heap_trim): Likewise.
52019
1c06ba31
UD
520202010-08-16 Ulrich Drepper <drepper@redhat.com>
52021
52022 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52023 here. Not...
52024 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52025 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52026
f8392f40
L
520272010-08-12 H.J. Lu <hongjiu.lu@intel.com>
52028
52029 * sysdeps/i386/elf/Makefile: New file.
52030
3162f12e
AS
520312010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52032
52033 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52034 from fanotify_init.
52035 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52036 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52037
28c90b2c
UD
520382010-08-15 Ulrich Drepper <drepper@redhat.com>
52039
52040 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52041 of strncasecmp_l.
1feccb6c 52042 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 52043
ca6bb004
UD
520442010-08-14 Ulrich Drepper <drepper@redhat.com>
52045
e9f82e0d
UD
52046 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52047 strncase_l-nonascii.
52048 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52049 Add strncase_l-ssse3.
52050 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52051 * sysdeps/x86_64/strcmp.S: Likewise.
52052 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52053 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52054 * sysdeps/x86_64/strncase.S: New file.
52055 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52056 * sysdeps/x86_64/strncase_l.S: New file.
52057 * string/Makefile (strop-tests): Add strncasecmp.
52058 * string/test-strncasecmp.c: New file.
52059
52060 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52061 warning.
52062
ca6bb004
UD
52063 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52064 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52065
052fa7b3
AS
520662010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52067
52068 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52069
962dba78
UD
520702010-08-12 Ulrich Drepper <drepper@redhat.com>
52071
52072 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52073 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52074 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52075
bebff237
AM
520762010-05-01 Alan Modra <amodra@gmail.com>
52077
52078 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52079 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52080 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52081 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52082 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52083 tidying. Don't tail-call __sigjmp_save for static lib.
52084 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52085 save location.
52086 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52087 (CALL_MCOUNT): Add eh info, and nop after bl.
52088 (TAIL_CALL_SYSCALL_ERROR): New macro.
52089 (PSEUDO_RET): Use it.
52090 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52091 Correct save location of integer regs and cr.
52092 (_dl_profile_resolve): Correct cr save location. Delete nops
52093 after bl when SHARED. Reduce cfi size a little by better
52094 placement of cfi directives.
52095 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52096 make a stack frame. Instead use parm save area as a temp.
52097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52098 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52100 Don't make a stack frame for parent, use parm save area.
52101 Increase child stack frame to 112 bytes. Don't save unused reg,
52102 and adjust reg usage. Set up cfi on error recovery and
52103 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52105 (__makecontext): Add dummy nop after jump to exit.
52106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52107 Use correct parm save area and cr save, reduce stack frame.
52108 Correct cfi for possible PSEUDO_RET frame setup.
52109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52110 Branch to local label emitted by PSEUDO_RET rather than
52111 __syscall_error.
52112
02637374
AS
521132010-08-12 Andreas Schwab <schwab@redhat.com>
52114
52115 [BZ #11904]
52116 * locale/programs/locale.c (print_assignment): New function.
52117 (show_locale_vars): Use it.
52118
c3e2f19b
UD
521192010-08-11 Ulrich Drepper <drepper@redhat.com>
52120
3cdaa6ad
UD
52121 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52122 field.
52123 (struct statfs64): Likewise.
52124 (_STATFS_F_FLAGS): Define.
52125 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52126 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52127 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52128 (ST_VALID): Define locally.
52129 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52130 __statvfs_getflags, use the provided value.
52131 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52132 __ASSUME_STATFS_F_FLAGS.
52133
754f7da3
UD
52134 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52135
10b3bedc
UD
52136 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52137 Add sys/fanotify.h.
52138 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52139 fanotify_mask for GLIBC_2.13.
52140 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52141 fanotify_init and fanotify_mark.
52142 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52143 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52144
c08fb0d7
UD
52145 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52146 Add prlimit.
52147 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52148 prlimit64 for GLIBC_2.13.
52149 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52150 prlimit64.
52151 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52152 syscall.
52153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52154 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52155 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52156 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52157 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52158 add prlimit alias.
52159 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52160
15bac72b
UD
52161 [BZ #11903]
52162 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52163 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52164
c3e2f19b
UD
52165 * nss/Makefile: Add rules to build and run tst-nss-test1.
52166 * shlib-versions: Add entry for libnss_test1.
52167 * nss/nss_test1.c: New file.
52168 * nss/tst-nss-test1.c: New file.
52169
52170 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52171 (__nss_configure_lookup): Set appropriate entry in
52172 __nss_configure_lookup to true.
52173 * nss/nsswitch.h: Define enum with indeces of databases in
52174 databases and __nss_database_custom arrays. Declare
52175 __nss_database_custom.
52176 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52177 to avoid using nscd when custom rules are installed.
52178 * nss/getXXbyYY_r.c: Likewise.
52179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52180
52181 * nss/nss_files/files-parse.c: Whitespace fixes.
52182
f15ce4d8
UD
521832010-08-09 Ulrich Drepper <drepper@redhat.com>
52184
52185 [BZ #11883]
52186 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52187 * posix/fnmatch_loop.c: Likewise.
52188
d22e4cc9
AK
521892010-07-17 Andi Kleen <ak@linux.intel.com>
52190
52191 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52192 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52193 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52194 * Versions.def [GLIBC_2.13]: Add.
52195
805bc17d
UD
521962010-08-06 Ulrich Drepper <drepper@redhat.com>
52197
52198 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52199 Also fail if tpwd after pwuid call is NULL.
52200
5a42321d
ST
522012010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52202
52203 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52204 when converting to ms.
52205
fd3ebeda
ST
522062010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52207
52208 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52209 EOPNOTSUPP errors with ENOTTY.
52210 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52211 EOPNOTSUPP errors with ENOTTY.
52212
73507d3a
UD
522132010-07-31 Ulrich Drepper <drepper@redhat.com>
52214
52215 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52216 Add strcasecmp_l-ssse3.
52217 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52218 strcasecmp.
52219 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52220 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52221 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52222
fe36dd02
UD
522232010-07-30 Ulrich Drepper <drepper@redhat.com>
52224
66f6765a
UD
52225 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52226
42e08a54
UD
52227 * string/Makefile (strop-tests): Add strcasecmp.
52228 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52229 strcasecmp_l-nonascii.
52230 (gen-as-const-headers): Add locale-defines.sym.
52231 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52232 * sysdeps/x86_64/strcasecmp.S: New file.
52233 * sysdeps/x86_64/strcasecmp_l.S: New file.
52234 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52235 * sysdeps/x86_64/locale-defines.sym: New file.
52236 * string/test-strcasecmp.c: New file.
52237
fe36dd02
UD
52238 * string/test-strcasestr.c: Test both ends of the range of characters.
52239 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52240
48cbc0d6
RM
522412010-07-29 Roland McGrath <roland@redhat.com>
52242
76e6d6bc 52243 [BZ #11856]
48cbc0d6
RM
52244 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52245
880113d9
UD
522462010-07-27 Ulrich Drepper <drepper@redhat.com>
52247
52248 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52249 for ld.so.
52250
deb9cabb
AS
522512010-07-27 Andreas Schwab <schwab@redhat.com>
52252
52253 * manual/memory.texi (Malloc Tunable Parameters): Document
52254 M_PERTURB.
52255
1c7570ff
RM
522562010-07-26 Roland McGrath <roland@redhat.com>
52257
52258 [BZ #11840]
52259 * configure.in (-fgnu89-inline check): Set and substitute
52260 gnu89_inline, not libc_cv_gnu89_inline.
52261 * configure: Regenerated.
52262 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52263
24fb0f88
UD
522642010-07-26 Ulrich Drepper <drepper@redhat.com>
52265
52266 * string/test-strnlen.c: New file.
52267 * string/Makefile (strop-tests): Add strnlen.
52268 * string/tester.c (test_strnlen): Add a few more test cases.
52269 * string/tst-strlen.c: Better error reporting.
52270
52271 * sysdeps/x86_64/strnlen.S: New file.
52272
8e96b93a
UD
522732010-07-24 Ulrich Drepper <drepper@redhat.com>
52274
52275 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52276 lower-latency instructions.
52277
dbc676d4
UD
522782010-07-23 Ulrich Drepper <drepper@redhat.com>
52279
52280 * string/test-strcasestr.c: New file.
52281 * string/test-strstr.c: New file.
52282 * string/Makefile (strop-tests): Add strstr and strcasestr.
52283 * string/str-two-way.h: Don't undefine MAX.
52284 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52285
f6a31e0e
AS
522862010-07-21 Andreas Schwab <schwab@redhat.com>
52287
52288 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52289 strcasestr-nonascii.
52290 (CFLAGS-strcasestr-nonascii.c): Define.
52291 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52292 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52293 Remove unused attribute.
52294
5dbc3b6c
RM
522952010-07-20 Roland McGrath <roland@redhat.com>
52296
52297 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52298 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52299 ld.so.cache was broken. With it, there is no way to disable dsocaps
52300 like LD_HWCAP_MASK can disable hwcaps.
52301
23d101d8
EPM
523022010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52303
52304 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52305
cc9f2e47
UD
523062010-07-16 Ulrich Drepper <drepper@redhat.com>
52307
52308 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52309 call in strcasestr.
52310 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52311 __strcasestr_sse42_nonascii.
52312 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52313 strcasestr-nonascii.c.
52314 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52315
77c1b069
LM
523162010-06-15 Luis Machado <luisgpm@br.ibm.com>
52317
52318 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52319 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52320 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52321 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52322
440566c3
UD
523232010-07-09 Ulrich Drepper <drepper@redhat.com>
52324
52325 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52326 fcntl.
52327
5be9d05d
AS
523282010-07-06 Andreas Schwab <schwab@redhat.com>
52329
c30b7ee2 52330 [BZ #11577]
5be9d05d
AS
52331 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52332 dl_signal_cerror.
52333
8a492a67
UD
523342010-07-06 Ulrich Drepper <drepper@redhat.com>
52335
52336 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52337 _PC_PIPE_BUF using F_GETPIPE_SZ.
52338
713df3d5
RM
523392010-07-05 Roland McGrath <roland@redhat.com>
52340
52341 * manual/arith.texi (Rounding Functions): Fix rint description
52342 implicit in round description.
52343
702e8f14
UD
523442010-07-02 Ulrich Drepper <drepper@redhat.com>
52345
52346 * elf/Makefile: Fix linking for a few tests to make recent linker
52347 happy.
52348
52ed8be9
AS
523492010-06-30 Andreas Schwab <schwab@redhat.com>
52350
52351 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52352 $(common-objpfx)libc_nonshared.a.
52353
f47c9a11
LM
523542010-06-21 Luis Machado <luisgpm@br.ibm.com>
52355
52356 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52357 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52358 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52359 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52360 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52361 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52362 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52363 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52378 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52379 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52380 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52381 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52382 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52383 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52384 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52385 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52386 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52387 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52388 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52389 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52404
6fb8cbcb
L
524052010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52406
52407 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52408 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52409 * string/memmove.c (memmove): Renamed to ...
52410 (MEMMOVE): ...this. Default to memmove.
52411 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52412 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52413 (END_CHK): Define.
52414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52415 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52416 mempcpy-ssse3-back memmove-ssse3-back.
52417 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52418 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52419 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52420 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52421 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52422 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52423 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52424 * sysdeps/x86_64/multiarch/memmove.c: New file.
52425 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52426 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52427 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52428 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52429 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52430 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52431 Define.
52432 (index_Fast_Copy_Backward): Define.
52433 (HAS_ARCH_FEATURE): Define.
52434 (HAS_FAST_REP_STRING): Define.
52435 (HAS_FAST_COPY_BACKWARD): Define.
52436
4e733bac 524372010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
52438
52439 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52440 Restore proper fallback handling.
52441
63c4ed22
UD
524422010-06-19 Ulrich Drepper <drepper@redhat.com>
52443
ac2b484c
UD
52444 [BZ #11701]
52445 * posix/group_member.c (__group_member): Correct checking loop.
52446
63c4ed22
UD
52447 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52448 OOM in getpwuid_r correctly. Return error number when the caller
52449 should return, otherwise -1.
52450 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52451 call returning > 0 value.
52452 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52453
765ade4b
AS
524542010-06-07 Andreas Schwab <schwab@redhat.com>
52455
52456 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52457 libc_nonshared.a from targets in modules-names.
52458
80da2e09
KS
524592010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52460
52461 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52462 requires it.
52463
158db122
LM
524642010-06-10 Luis Machado <luisgpm@br.ibm.com>
52465
52466 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52467 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52468 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52469 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52470
caa78cf8
AS
524712010-06-02 Andreas Schwab <schwab@redhat.com>
52472
52473 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52474
b2ef2c01
UD
524752010-06-14 Ulrich Drepper <drepper@redhat.com>
52476
52477 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52478 and F_GETPIPE_SZ.
52479 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52480 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52481 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52482 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52483 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52484 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52485
fbd643b6
RM
524862010-06-14 Roland McGrath <roland@redhat.com>
52487
52488 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52489
f32f2869
JJ
524902010-06-07 Jakub Jelinek <jakub@redhat.com>
52491
52492 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52493 __REDIRECT followed by __THROW.
52494 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52495 * posix/getopt.h (getopt): Likewise.
52496
2a50c078
EPM
524972010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52498
52499 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52500 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52501 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52502 in AT_FLAGS.
52503 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52504 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52505
eb5ad2eb
LM
525062010-05-28 Luis Machado <luisgpm@br.ibm.com>
52507
52508 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52509
3c88fe1e
L
525102010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52511
52512 [BZ #11640]
52513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52514 Properly check family and model.
52515
d2f73151
TY
525162010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52517
52518 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52519
ebd2e13d
LM
525202010-05-24 Luis Machado <luisgpm@br.ibm.com>
52521
52522 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52523
b32b8b45
UD
525242010-05-21 Ulrich Drepper <drepper@redhat.com>
52525
52526 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52527 symbol reference.
52528
9acbe24d
AS
525292010-05-19 Andreas Schwab <schwab@redhat.com>
52530
52531 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52532 symbol reference.
52533
f0ccf6ea
AS
525342010-05-21 Andreas Schwab <schwab@redhat.com>
52535
3d04ff3a
AS
52536 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52537 and internal_recvmmsg.
52538 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52539 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52540 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52541 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52542
f0ccf6ea
AS
52543 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52544 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52545 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52546
5b08ac57
AS
525472010-05-20 Andreas Schwab <schwab@redhat.com>
52548
52549 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52550
4828935d
LM
525512010-05-17 Luis Machado <luisgpm@br.ibm.com>
52552
52553 POWER7 optimizations.
52554 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52555 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52556
373d545e
UD
525572010-05-19 Ulrich Drepper <drepper@redhat.com>
52558
52559 * version.h: Update for 2.13 development version.
52560
21a2b1ae
AS
525612010-05-12 Andrew Stubbs <ams@codesourcery.com>
52562
52563 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52564 exceptions. Return 0.
52565
3f7dcb2b
RM
525662010-05-07 Roland McGrath <roland@redhat.com>
52567
52568 * elf/ldconfig.c (main): Add a const.
52569
5f24d53a 525702010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52571
a160f8d8
UD
52572 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52573 (args_options): Add no-idn option.
52574 (ahosts_keys_int): Add idn_flags to ai_flags.
52575 (parse_option): Handle 'i' option to clear idn_flags.
52576
5f24d53a
UD
52577 * malloc/malloc.c (_int_free): Possible race in the most recently
52578 added check. Only act on the data if no current modification
52579 happened.
265bb1ce
UD
52580
52581See ChangeLog.17 for earlier changes.