]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
NPTL: Refactor scheduler setup in pthread_create.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f214ff74
RM
12014-11-20 Roland McGrath <roland@hack.frob.com>
2
3 * nptl/default-sched.h: New file.
4 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5 * nptl/pthread_create.c: Include it.
6 (__pthread_create_2_1): Use collect_default_sched instead of making
7 Linux syscalls here directly.
8
e37c91d4
TR
92014-11-20 Torvald Riegel <triegel@redhat.com>
10
11 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12 __pthread_once): Use C11 atomics.
13
1eccfecd
TR
142014-11-20 Torvald Riegel <triegel@redhat.com>
15
16 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
17
ff871426
TR
182014-11-20 Torvald Riegel <triegel@redhat.com>
19
20 * include/atomic.h (__atomic_link_error, __atomic_check_size,
21 atomic_thread_fence_acquire, atomic_thread_fence_release,
22 atomic_thread_fence_seq_cst, atomic_load_relaxed,
23 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
24 atomic_compare_exchange_weak_relaxed,
25 atomic_compare_exchange_weak_acquire,
26 atomic_compare_exchange_weak_release,
27 atomic_exchange_acquire, atomic_exchange_release,
28 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
29 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
30 atomic_fetch_and_acquire,
31 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
32
1ea339b6
TR
332014-11-20 Torvald Riegel <triegel@redhat.com>
34
35 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
36 USE_ATOMIC_COMPILER_BUILTINS): Define.
37 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
38 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
40 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
42 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
44 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
45 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
46 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
47 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
48 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
49 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
50 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
51 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
52 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
53 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
54 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
55 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
56 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
57 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
58 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
59 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
60 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
61 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
62 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
63 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
64 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
65 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
66 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
67 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
68 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
69 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
70 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
71 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
72 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
73 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
74 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
75 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
76 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
77
cbd463e2
RM
782014-11-19 Roland McGrath <roland@hack.frob.com>
79
d960211f
RM
80 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
81 the sched_priority value here. It was already checked when the user
82 called pthread_attr_setschedparam.
83
cbd463e2
RM
84 * nptl/tst-bad-schedattr.c: New file.
85 * nptl/Makefile (tests): Add it.
86
a39208bd
CD
872014-11-19 Carlos O'Donell <carlos@redhat.com>
88 Florian Weimer <fweimer@redhat.com>
89 Joseph Myers <joseph@codesourcery.com>
90 Adam Conrad <adconrad@0c3.net>
91 Andreas Schwab <schwab@suse.de>
92 Brooks <bmoses@google.com>
93
94 [BZ #17625]
95 * wordexp-test.c (__dso_handle): Add prototype.
96 (__register_atfork): Likewise.
97 (__app_register_atfork): New function.
98 (registered_forks): New global.
99 (register_fork): New function.
100 (test_case): Add 3 new tests for WRDE_CMDSUB.
101 (main): Call __app_register_atfork.
102 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
103 fork count is non-zero fail the test.
104 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
105 is set.
106 (parse_dollars): Remove check for WRDE_NOCMD.
107 (parse_dquote): Likewise.
108
9cd47470
SP
1092014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
110
130ac68c
SP
111 * Makeconfig (built-modules): List non-library modules to be
112 built.
113 (module-cppflags): Include libc-modules.h for
114 everything except shlib-versions.v.i.
115 (CPPFLAGS): Use it.
116 (before-compile): Add libc-modules.h.
117 ($(common-objpfx)libc-modules.h,
118 $(common-objpfx)libc-modules.stmp): New targets.
119 (common-generated): Add libc-modules.h and libc-modules.stmp.
120 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
121 * include/libc-symbols.h: Don't include libc-modules.h.
122 * include/libc-modules.h: Remove file.
123 * scripts/gen-libc-modules.awk: New script to generate
124 libc-modules.h.
125 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
126 Depend on libc-modules.stmp.
127
286663c3
SP
128 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
129
9cd47470
SP
130 * Makeconfig (in-module): Get value of libof set for the
131 translation unit.
132 (CPPFLAGS): Use $(in-module).
133 * Makerules: Don't suffix routine names for nonlib.
134 * include/libc-modules.h: New file.
135 * include/libc-symbols.h: Include libc-modules.h
136 (IS_IN): New macro to replace IS_IN_* macros.
137 * elf/Makefile: Set libof-* for each routine.
138 * elf/rtld-Rules: Likewise.
139 * extra-modules.mk: Likewise.
140 * iconv/Makefile: Likewise.
141 * iconvdata/Makefile: Likewise.
142 * locale/Makefile: Likewise.
143 * malloc/Makefile: Likewise.
144 * nss/Makefile: Likewise.
145 * sysdeps/gnu/Makefile: Likewise.
146 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
147 * sysdeps/unix/sysv/linux/Makefile: Likewise.
148 * sysdeps/s390/s390-64/Makefile: Likewise.
149 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
150 CPPFLAGS for nscd instead of nonlib.
151
32fed10f
RM
1522014-11-18 Roland McGrath <roland@hack.frob.com>
153
d71035bd
RM
154 * nptl/createthread.c: New file.
155
6540b991
RM
156 * nptl/createthread.c: Moved ...
157 * sysdeps/unix/sysv/linux/createthread.c: ... here.
158
32fed10f
RM
159 * nptl/createthread.c: Add proper top-line comment.
160 (do_clone): Folded into ...
161 (create_thread): ... here. Take new arguments STOPPED_START and
162 THREAD_RAN. Always set PD->stopped_start to something here. Don't
163 increment __nptl_threads, do event-reporting logic, do
164 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
165 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
166 resource cleanup if sched_setaffinity or sched_setscheduler fails,
167 just send SIGCANCEL.
168 * nptl/pthread_create.c: Forward-declare create_thread before
169 including createthread.c.
170 (start_thread): Use new macro START_THREAD_DEFN to replace defining
171 declaration, and new macro START_THREAD_SELF to replace argument.
172 Remove return statement.
173 (report_thread_creation): New function.
174 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
175 synchronization logic, and __nptl_nthreads increment here, around
176 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
177 PD->parent_cancelhandling here, before create_thread. When
178 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
179 __deallocate_stack, and ENOMEM translation here.
180
107a5bf0
JM
1812014-11-18 Joseph Myers <joseph@codesourcery.com>
182
183 [BZ #17616]
184 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
185 (mptwo): Rename to __mptwo.
186 (__inv): Use __mptwo instead of mptwo.
187 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
188 (mptwo): Rename to __mptwo.
189 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
190 of mpone and __mptwo instead of mptwo.
191 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
192 instead of mpone.
193 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
194 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
195 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
196 of mpone and __mptwo instead of mptwo.
197 (__mpranred): Use __mpone instead of mpone.
198 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
199 variable.
200 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
201 (test-xfail-ISO99/math.h/linknamespace): Likewise.
202 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
203 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
204 (test-xfail-ISO11/math.h/linknamespace): Likewise.
205 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
206 (test-xfail-XPG3/math.h/linknamespace): Likewise.
207 (test-xfail-XPG4/math.h/linknamespace): Likewise.
208 (test-xfail-POSIX/math.h/linknamespace): Likewise.
209 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
210 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
211 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
212 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
213 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
214 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
215 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
216 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
217 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
218 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
219
3b679ab3
TV
2202014-11-18 Tom de Vries <tom@codesoucery.com>
221
222 * manual/signal.texi (Primitives Interrupted by Signals): In section,
223 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
224
2252014-11-17 Richard Henderson <rth@redhat.com>
226
227 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
228 (_FP_PACK_RAW_2): Remove.
229 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
230 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
231 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
232 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
233 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
234 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
235 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
236 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
237 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
238 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
239 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
240 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
241 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
242 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
243 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
244 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
245
0781a777
RM
2462014-11-14 Roland McGrath <roland@hack.frob.com>
247
248 * signal/signal.h [__USE_MISC]
249 (struct sigvec): Remove type.
250 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
251 (sigvec): Remove declaration.
252 * sysdeps/posix/sigvec.c: Moved ...
253 * signal/sigvec.c: ... here, replacing old file.
254 (struct sigvec): New type, copied from old signal.h definition.
255 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
256 (__sigvec): Convert definition to prototype.
257 (sigvec): Replace weak_alias with compat_symbol.
258 * signal/Versions (libc: GLIBC_2.21): New version set.
259 * include/signal.h: Remove __sigvec declaration.
260 * sysdeps/unix/bsd/sigvec.c: Remove file.
261 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
262 * manual/signal.texi (BSD Handler): Remove subsection.
263 Move siginterrupt up to ...
264 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
265 (Blocking in BSD): Fold subsection into its parent.
266 * NEWS: Mention sigvec removal.
267
a4733812
JM
2682014-11-14 Joseph Myers <joseph@codesourcery.com>
269
5ae4fe60
JM
270 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
271 (DLA_FMS): Make definition conditional only on [__FMA4__].
272 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
273 definition.
274
6a0dd472
JM
275 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
276 Make definition conditional only on [PROF].
277 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
278 definition.
279 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
280 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
281
a4733812
JM
282 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
283 !__GNUC__].
284 * include/signal.h (__sigpause): Move declaration above call to
285 libc_hidden_proto.
286 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
287 variable.
288 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
289 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
290
cf7246dd
DM
2912014-11-14 David S. Miller <davem@davemloft.net>
292
293 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
294 Define before including <string/memcpy.c> and <string/mempcpy.c>.
295
c1b0aadc
JM
2962014-11-14 Joseph Myers <joseph@codesourcery.com>
297
4863355a
JM
298 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
299 * configure: Regenerated.
300 * manual/install.texi (Tools for Compilation): Document a
301 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
302 compiler verified to work.
303 * INSTALL: Regenerated.
304
c1b0aadc
JM
305 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
306 redeclare with asm name.
307 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
308 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
309 including <string.h>.
310 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
311 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
312 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
313 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
314 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
315 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
316 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
317
2a1cfd94
JM
3182014-11-13 Joseph Myers <joseph@codesourcery.com>
319
bf438382
JM
320 * stdlib/strtol.c (__strtol): Use prototype definition.
321
2a1cfd94
JM
322 [BZ #17594]
323 * stdlib/strtol.c (SYM__): New macro.
324 (SYM__1): Likewise.
325 (__strtol): Likewise.
326 (strtol): Rename to __strtol and define as weak alias of
327 __strtol. Use libc_hidden_weak.
328
20ed0d26
SL
3292014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
330
331 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
332 Use numbered labels in inline assembly.
333
53244a4e
SL
3342014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
335
336 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
337 Add setjmp LIBC_PROBE.
338 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
339 Likewise.
340 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
341 Add longjmp, longjmp_target LIBC_PROBE.
342 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
343 Likewise.
344
47df8251
SL
3452014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
346
347 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
348 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
349 to get rid of unused variable warning.
350
618cebef
SL
3512014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
352
353 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
354 Check for unwind_backtrace == NULL only in SHARED case.
355 (__backchain_backtrace): Compile only in SHARED case.
356 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
357 Likewise.
358 (__backchain_backtrace): Declare as static.
359
c6aab2cb
RM
3602014-11-12 Roland McGrath <roland@hack.frob.com>
361
362 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
363 (__libc_multiple_threads_ptr): Variable moved ...
364 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
365
5a6fa4d7
JM
3662014-11-12 Joseph Myers <joseph@codesourcery.com>
367
24f4f825
JM
368 * conform/GlibcConform.pm: New file.
369 * conform/conformtest.pl: Use GlibcConform module.
370 * conform/linknamespace.pl: New file.
371 * conform/list-header-symbols.pl: Likewise.
372 * conform/Makefile (linknamespace-symlists-base): New variable.
373 (linknamespace-symlists-tests): Likewise.
374 (linknamespace-header-base): Likewise.
375 (linknamespace-header-tests): Likewise.
376 (tests-special): Add new tests.
377 ($(linknamespace-symlists-tests)): New rule.
378 (linknamespace-libs): New variable.
379 ($(objpfx)symlist-stdlibs): New rule.
380 ($(linknamespace-header-tests)): Likewise.
381 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
382 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
383 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
384 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
385 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
386 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
387 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
388 (test-xfail-ISO/math.h/linknamespace): Likewise.
389 (test-xfail-ISO/signal.h/linknamespace): Likewise.
390 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
391 (test-xfail-ISO/time.h/linknamespace): Likewise.
392 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
393 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
394 (test-xfail-ISO99/math.h/linknamespace): Likewise.
395 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
396 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
397 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
398 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
399 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
400 (test-xfail-ISO11/math.h/linknamespace): Likewise.
401 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
402 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
403 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
404 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
405 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
406 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
407 (test-xfail-XPG3/math.h/linknamespace): Likewise.
408 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
409 (test-xfail-XPG3/search.h/linknamespace): Likewise.
410 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
411 (test-xfail-XPG3/time.h/linknamespace): Likewise.
412 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
413 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
414 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
415 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
416 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
417 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
418 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
419 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
420 (test-xfail-XPG4/math.h/linknamespace): Likewise.
421 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
422 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
423 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
424 (test-xfail-XPG4/search.h/linknamespace): Likewise.
425 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
426 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
427 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
428 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
429 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
430 (test-xfail-XPG4/time.h/linknamespace): Likewise.
431 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
432 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
433 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
434 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
435 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
436 (test-xfail-POSIX/math.h/linknamespace): Likewise.
437 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
438 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
439 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
440 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
441 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
442 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
443 (test-xfail-POSIX/time.h/linknamespace): Likewise.
444 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
445 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
446 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
447 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
448 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
449 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
450 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
451 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
452 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
453 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
454 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
455 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
456 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
457 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
458 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
459 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
460 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
461 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
462 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
463 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
464 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
465 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
466 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
467 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
468 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
469 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
470 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
471 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
472 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
473 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
474 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
475 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
476 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
477 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
478 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
479 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
480 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
481 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
482 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
483 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
484 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
485 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
486 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
487 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
488 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
489 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
490 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
491 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
492 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
493 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
494 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
495 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
496 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
497 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
498 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
499 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
500 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
501 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
502 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
503 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
504 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
505 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
506 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
507 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
508 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
509 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
510 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
511 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
512 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
513 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
514 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
515 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
516 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
517 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
518 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
519 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
520 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
521 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
522 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
523 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
524 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
525 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
526 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
527 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
528 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
529 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
530 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
531 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
532 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
533 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
534 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
535 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
536 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
537 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
538 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
539 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
540 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
541 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
542
cc67478e
JM
543 [BZ #17589]
544 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
545 of fgets_unlocked.
546
9975e3d3
JM
547 [BZ #17585]
548 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
549 (memmem): Rename to __memmem and define as weak alias of
550 __memmem. Use libc_hidden_weak.
551 (__memmem): Use libc_hidden_def.
552 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
553 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
554 memmem.
555
c4eae752
JM
556 [BZ #17582]
557 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
558 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
559 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
560 and define as weak alias of __fgets_unlocked. Use
561 libc_hidden_weak.
562 (__fgets_unlocked): Use libc_hidden_def.
563 * include/stdio.h (__fgets_unlocked): Declare. Use
564 libc_hidden_proto.
565 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
566 __fgets_unlocked instead of fgets_unlocked.
567 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
568 (GET_NPROCS_CONF_PARSER): Likewise.
569 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
570 (GET_NPROCS_CONF_PARSER): Likewise.
571
01cad84e
JM
572 [BZ #17574]
573 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
574 weak alias of __wmemset. Use libc_hidden_weak.
575 (__wmemset): Use libc_hidden_def.
576 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
577 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
578 of wmemset.
579
939da411
JM
580 [BZ #17573]
581 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
582 with asm name __mempcpy.
583 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
584
293d9a41
JM
585 [BZ #17572]
586 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
587 and define as weak alias of __rawmemchr.
588 (__rawmemchr): Do not define as strong alias of rawmemchr.
589
bef8fd60
JM
590 [BZ #17571]
591 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
592 alias of __qsort_r.
593 (qsort): Call __qsort_r instead of qsort_r.
594 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
595 (__qsort_r): Declare. Call libc_hidden_proto.
596 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
597 instead of qsort_r.
598 * nscd/gai.c (__qsort_r): Define to qsort_r.
599 * posix/tst-rfc3484.c (__qsort_r): Likewise.
600 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
601 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
602
c52ff39e
JM
603 [BZ #17570]
604 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
605 define as weak alias of __malloc_info.
606
2f5c1b00
JM
607 [BZ #17584]
608 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
609 as weak alias of __rewinddir. Don't use libc_hidden_def.
610 (__rewinddir): Use libc_hidden_def.
611 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
612 as weak alias of __rewinddir. Don't use libc_hidden_def.
613 (__rewinddir): Use libc_hidden_def.
614 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
615 weak alias of __rewinddir. Don't use libc_hidden_def.
616 (__rewinddir): Use libc_hidden_def.
617 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
618 (__rewinddir): Use libc_hidden_proto.
619 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
620 rewinddir.
621 (__getcwd): Use __rewinddir instead of rewinddir.
622
5a6fa4d7
JM
623 [BZ #17583]
624 * libio/fileno.c (fileno): Rename to __fileno and define as weak
625 alias of __fileno. Use libc_hidden_weak.
626 (__fileno): Use libc_hidden_def.
627 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
628 * libio/ftello.c (ftello): Rename to __ftello and define as weak
629 alias of __ftello.
630 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
631 __ftello.
632 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
633 (__fread_unlocked): Define as strong alias of _IO_fread. Use
634 libc_hidden_def.
635 (fread_unlocked): Don't use libc_hidden_ver.
636 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
637 and define as weak alias of __fread_unlocked. Don't use
638 libc_hidden_def.
639 (__fread_unlocked): Use libc_hidden_def.
640 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
641 (ftello): Don't use libc_hidden_proto.
642 (__ftello): Declare. Use libc_hidden_proto.
643 (fread_unlocked): Don't use libc_hidden_proto.
644 (__fread_unlocked): Declare. Use libc_hidden_proto.
645 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
646 and __ftello instead of fileno, fread_unlocked and ftello.
647
2581b98e
SP
6482012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
649
650 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
651 GOT12.
652 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
653 Likewise.
654 (_dl_start_user): Likewise.
655 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
656
533bb7c2
SP
6572014-11-12 Carlos O'Donell <carlos@redhat.com>
658 Siddhesh Poyarekar <siddhesh@redhat.com>
659
660 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
661 Move argv and envp down instead of moving argc up.
662 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
663
fffa1cf8
LH
6642014-11-12 Leonhard Holz <leonhard.holz@web.de>
665
666 [BZ #17506]
667 * test-skeleton.c (main): Return successful if one of
668 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
669 * string/tst-strcoll-overflow.c: Define expected status.
670
fb89b46d
TU
6712014-11-12 Tatiana Udalova <t.udalova@samsung.com>
672
673 [BZ #17475]
674 * locale/iso-639.def: Define Bhili and Tulu language codes.
675
5c40c3ba
AH
6762014-11-11 Alan Hayward <alan.hayward@arm.com>
677
678 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
679
b17fe01b 6802014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
681
682 [BZ #17555]
683 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
684
bd805071
AS
6852014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
686
687 * configure.ac: Updated check of minimal required version to
688 2.22.
689 * manual/install.texi (Tools for Compilation): Updated version
690 number.
691 * configure: Regenerated.
692 * INSTALL: Likewise.
693
1400983e
AS
6942014-11-07 Andreas Schwab <schwab@linux-m68k.org>
695
696 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
697 __tls_get_addr.
698
2c46a66a
JM
6992014-11-07 Joseph Myers <joseph@codesourcery.com>
700
701 * include/sys/wait.h (__libc_waitpid): Remove declaration.
702 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
703 (__waitpid): Don't define as alias. Use libc_hidden_def not
704 libc_hidden_weak.
705 (waitpid): Define as alias of __waitpid.
706 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
707 __waitpid.
708 (__waitpid): Don't define as alias. Use libc_hidden_def not
709 libc_hidden_weak.
710 (waitpid): Define as alias of __waitpid.
711 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
712 __libc_waitpid alias.
713 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
714 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
715 Likewise.
716 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
717 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
718 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
719 alias.
720 * sysdeps/unix/sysv/linux/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
da53d6db
CD
7262014-11-06 Carlos O'Donell <carlos@redhat.com>
727
a2887bdb
CD
728 * manual/llio.texi: Add comment that write safety has been
729 fixed in Linux.
730
da53d6db
CD
731 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
732 (localplt-build-dso): Add elf/ld.so.
733 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
734 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
735 and free for ld.so.
736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
737 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
739 Likewise.
740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
741 Likewise.
742 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
743 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
744 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
745 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
746 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
747 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
748 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
749 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
750 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
751 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
752 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
753
9cf27b8d
JM
7542014-11-05 Joseph Myers <joseph@codesourcery.com>
755
756 [BZ #14132]
757 * include/libc-symbols.h (INTUSE): Remove macro.
758 (INTDEF): Likewise.
759 (INTVARDEF): Likewise.
760 (_INTVARDEF): Likewise.
761 (INTDEF2): Likewise.
762 (INTVARDEF2): Likewise.
763 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
764 rtld_hidden_def instead of INTVARDEF.
765 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
766 (_dl_starting_up_internal): Remove declaration.
767 (_dl_starting_up): Use rtld_hidden_proto.
768 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
769 declaration.
770 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
771 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
772 _dl_starting_up.
773 * elf/dl-writev.h (_dl_writev): Likewise.
774 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
775 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
776 _dl_starting_up_internal.
777
af83568d
AZ
7782014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
779
780 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
781 test-skeleton.c.
782
b01ee67c
WN
7832014-11-05 Will Newton <will.newton@linaro.org>
784
785 * benchtests/Makefile: (bench-malloc): Add malloc thread
786 scalability benchmark.
787 * benchtests/bench-malloc-threads.c: New file.
788
be9d4ccc
RE
7892014-11-05 Richard Earnshaw <rearnsha@arm.com>
790
791 * sysdeps/aarch64/strchrnul.S: New file.
792
7110166d
AZ
7932014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
794
795 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
796 definition.
797 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
798 Likwise.
799 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
800 Likewise.
801 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
802 Likewise.
803 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
804 Likewise.
805 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
806 Likewise.
807
8082014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
809
810 * catgets/test-gencat.c: Use test-skeleton.c.
811 * catgets/tst-catgets.c: Likewise.
812 * csu/tst-empty.c: Likewise.
813 * elf/tst-audit2.c: Likewise.
814 * elf/tst-global1.c: Likewise.
815 * elf/tst-pathopt.c: Likewise.
816 * elf/tst-piemod1.c: Likewise.
817 * elf/tst-tls10.c: Likewise.
818 * elf/tst-tls11.c: Likewise.
819 * elf/tst-tls12.c: Likewise.
820 * gnulib/tst-gcc.c: Likewise.
821 * iconvdata/tst-e2big.c: Likewise.
822 * iconvdata/tst-loading.c: Likewise.
823 * iconv/tst-iconv1.c: Likewise.
824 * iconv/tst-iconv2.c: Likewise.
825 * inet/test-inet6_opt.c: Likewise.
826 * inet/tst-gethnm.c: Likewise.
827 * inet/tst-network.c: Likewise.
828 * inet/tst-ntoa.c: Likewise.
829 * intl/tst-codeset.c: Likewise.
830 * intl/tst-gettext2.c: Likewise.
831 * intl/tst-gettext3.c: Likewise.
832 * intl/tst-ngettext.c: Likewise.
833 * intl/tst-translit.c: Likewise.
834 * io/test-stat.c: Likewise.
835 * libio/test-fmemopen.c: Likewise.
836 * libio/tst-freopen.c: Likewise.
837 * libio/tst-sscanf.c: Likewise.
838 * libio/tst-ungetwc1.c: Likewise.
839 * libio/tst-ungetwc2.c: Likewise.
840 * libio/tst-widetext.c: Likewise.
841 * localedata/tst-ctype.c: Likewise.
842 * localedata/tst-digits.c: Likewise.
843 * localedata/tst-leaks.c: Likewise.
844 * localedata/tst-mbswcs1.c: Likewise.
845 * localedata/tst-mbswcs2.c: Likewise.
846 * localedata/tst-mbswcs3.c: Likewise.
847 * localedata/tst-mbswcs4.c: Likewise.
848 * localedata/tst-mbswcs5.c: Likewise.
849 * localedata/tst-setlocale.c: Likewise.
850 * localedata/tst-trans.c: Likewise.
851 * localedata/tst-wctype.c: Likewise.
852 * localedata/tst-xlocale1.c: Likewise.
853 * login/tst-grantpt.c: Likewise.
854 * malloc/tst-calloc.c: Likewise.
855 * malloc/tst-malloc.c: Likewise.
856 * malloc/tst-mallocstate.c: Likewise.
857 * malloc/tst-mcheck.c: Likewise.
858 * malloc/tst-mtrace.c: Likewise.
859 * malloc/tst-obstack.c: Likewise.
860 * math/atest-exp2.c: Likewise.
861 * math/atest-exp.c: Likewise.
862 * math/atest-sincos.c: Likewise.
863 * math/test-matherr.c: Likewise.
864 * math/test-misc.c: Likewise.
865 * math/test-powl.c: Likewise.
866 * math/tst-definitions.c: Likewise.
867 * misc/tst-dirname.c: Likewise.
868 * misc/tst-efgcvt.c: Likewise.
869 * misc/tst-fdset.c: Likewise.
870 * misc/tst-hsearch.c: Likewise.
871 * misc/tst-mntent2.c: Likewise.
872 * nptl/tst-sem7.c: Likewise.
873 * nptl/tst-sem8.c: Likewise.
874 * nptl/tst-sem9.c: Likewise.
875 * nss/test-netdb.c: Likewise.
876 * posix/tst-fnmatch.c: Likewise.
877 * posix/tst-getlogin.c: Likewise.
878 * posix/tst-gnuglob.c: Likewise.
879 * posix/tst-mmap.c: Likewise.
880 * pwd/tst-getpw.c: Likewise.
881 * resolv/tst-inet_ntop.c: Likewise.
882 * rt/tst-timer.c: Likewise.
883 * stdio-common/test-fseek.c: Likewise.
884 * stdio-common/test-popen.c: Likewise.
885 * stdio-common/test-vfprintf.c: Likewise.
886 * stdio-common/tst-cookie.c: Likewise.
887 * stdio-common/tst-fileno.c: Likewise.
888 * stdio-common/tst-gets.c: Likewise.
889 * stdio-common/tst-obprintf.c: Likewise.
890 * stdio-common/tst-perror.c: Likewise.
891 * stdio-common/tst-sprintf2.c: Likewise.
892 * stdio-common/tst-sprintf3.c: Likewise.
893 * stdio-common/tst-sprintf.c: Likewise.
894 * stdio-common/tst-swprintf.c: Likewise.
895 * stdio-common/tst-tmpnam.c: Likewise.
896 * stdio-common/tst-unbputc.c: Likewise.
897 * stdio-common/tst-wc-printf.c: Likewise.
898 * stdlib/tst-environ.c: Likewise.
899 * stdlib/tst-fmtmsg.c: Likewise.
900 * stdlib/tst-limits.c: Likewise.
901 * stdlib/tst-rand48-2.c: Likewise.
902 * stdlib/tst-rand48.c: Likewise.
903 * stdlib/tst-random2.c: Likewise.
904 * stdlib/tst-random.c: Likewise.
905 * stdlib/tst-strtol.c: Likewise.
906 * stdlib/tst-strtoll.c: Likewise.
907 * stdlib/tst-tls-atexit.c: Likewise.
908 * stdlib/tst-xpg-basename.c: Likewise.
909 * string/test-ffs.c: Likewise.
910 * string/tst-bswap.c: Likewise.
911 * string/tst-inlcall.c: Likewise.
912 * string/tst-strtok.c: Likewise.
913 * string/tst-strxfrm.c: Likewise.
914 * sysdeps/x86_64/tst-audit10.c: Likewise.
915 * sysdeps/x86_64/tst-audit3.c: Likewise.
916 * sysdeps/x86_64/tst-audit4.c: Likewise.
917 * sysdeps/x86_64/tst-audit5.c: Likewise.
918 * time/tst-ftime_l.c: Likewise.
919 * time/tst-getdate.c: Likewise.
920 * time/tst-mktime3.c: Likewise.
921 * time/tst-mktime.c: Likewise.
922 * time/tst-posixtz.c: Likewise.
923 * time/tst-strptime2.c: Likewise.
924 * time/tst-strptime3.c: Likewise.
925 * wcsmbs/tst-btowc.c: Likewise.
926 * wcsmbs/tst-mbrtowc.c: Likewise.
927 * wcsmbs/tst-mbsrtowcs.c: Likewise.
928 * wcsmbs/tst-wchar-h.c: Likewise.
929 * wcsmbs/tst-wcpncpy.c: Likewise.
930 * wcsmbs/tst-wcrtomb.c: Likewise.
931 * wcsmbs/tst-wcsnlen.c: Likewise.
932 * wcsmbs/tst-wcstof.c: Likewise.
933
2004e7fb
JM
9342014-11-04 Joseph Myers <joseph@codesourcery.com>
935
ab97ee8f
JM
936 [BZ #14132]
937 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
938 INTDEF.
939 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
940 declaration.
941 (_dl_mcount): Use rtld_hidden_proto.
942 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
943 _dl_mcount.
944 * elf/rtld.c (_rtld_global_ro): Likewise.
945
c5684fdb
JM
946 [BZ #14132]
947 * elf/dl-init.c (_dl_init): Don't use INTDEF.
948 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
949 of _dl_init_internal.
950 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
951 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
952 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
953 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
954 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
955 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
956 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
957 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
958 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
959 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
960 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
961 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
962 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
963 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
964 * sysdeps/tile/dl-start.S (_start): Likewise.
965 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
966 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
967
4243cbea
JM
968 [BZ #14132]
969 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
970 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
971 (rtld_progname): Make macro definition unconditional.
972 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
973 INTDEF.
974 (dlmopen_doit): Do not use INTUSE with _dl_argv.
975 (dl_main): Likewise.
976 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
977 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
978 instead of _dl_argv_internal.
979 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
980 __GI__dl_argv instead of INTUSE(_dl_argv).
981 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
982 __GI__dl_argv instead of _dl_argv_internal.
983
2004e7fb
JM
984 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
985 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
986 macro.
987 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
988 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
989 New macro.
990 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
991 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
992 macro.
993 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
994 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
995
97827bfc
AS
9962014-11-04 Andreas Schwab <schwab@suse.de>
997
998 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
999
5e4df284
AZ
10002014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1001
1002 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1003 mtvsrd instruction in binary form.
1004
04b76b5a
AS
10052014-11-03 Andreas Schwab <schwab@suse.de>
1006
1007 [BZ #17522]
1008 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1009 for less than MB_LEN_MAX use a local buffer of that size.
1010 * libio/tst-fputws.c: New file.
1011 * libio/Makefile (tests): Add tst-fputws.
1012
4c6da7da
JM
10132014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
1014
1015 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1016 the size of the fpu_fr.fpu_dregs[] array.
1017
1679ba8e
JM
10182014-11-01 Joseph Myers <joseph@codesourcery.com>
1019
1020 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1021 (__nanosleep): Do not define as alias.
1022 (nanosleep): Define as alias of __nanosleep.
1023 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1024 __libc_nanosleep name.
1025
2626c183
JM
10262014-10-31 Joseph Myers <joseph@codesourcery.com>
1027
1028 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1029 install.texi in comment.
1030
7f981fc2
TR
10312014-10-31 Torvald Riegel <triegel@redhat.com>
1032
1033 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1034 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1035 ... add here and use lwsync or sync ...
1036 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1037 ... and add here using lwsync.
1038
d6f373d2
MF
10392014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1040
1041 * elf/dl-machine-reject-phdr.h: New file.
1042 * elf/dl-load.c: #include that.
1043 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1044 if that returned true.
1045
67c37987
RM
10462014-10-31 Roland McGrath <roland@hack.frob.com>
1047
1048 [BZ #17496]
1049 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1050 gen-as-const-headers chunk. Add a big scare comment after the last
1051 safe place to touch before-compile.
1052
94a42455 10532014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 1054
f3f5d895
JM
1055 * manual/install.texi (Tools for Compilation): Update autoconf
1056 version requirements.
1057 * INSTALL: Regenerated.
1058
f62ff286
JM
1059 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1060 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1061 (__libc_pselect): Likewise.
94a42455
JM
1062
1063 [BZ #14138]
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1068
ff9dbdc0
TR
10692014-10-31 Torvald Riegel <triegel@redhat.com>
1070
1071 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1072 correct barrier instruction.
1073 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1074 Likewise.
1075 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1076 Likewise.
1077
b4f66884
RM
10782014-10-30 Roland McGrath <roland@hack.frob.com>
1079
1080 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1081 after defining inlines. Instead, just use parens to defeat macro
1082 expansion of __isctype in its declaration.
1083
e19c95fd
JM
10842014-10-30 Joseph Myers <joseph@codesourcery.com>
1085
1086 * include/sys/uio.h (__libc_readv): Remove declaration.
1087 (__libc_writev): Likewise.
1088 * misc/readv.c (__libc_readv): Rename to __readv.
1089 (__readv): Do not define as alias.
1090 (readv): Define as alias of __readv.
1091 * misc/writev.c (__libc_writev): Rename to __writev.
1092 (__writev): Do not define as alias.
1093 (writev): Define as alias of __writev.
1094 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1095 (__readv): Do not define as alias.
1096 (readv): Define unconditionally as alias of __readv.
1097 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1098 (__writev): Do not define as alias.
1099 (writev): Define unconditionally as alias of __writev.
1100 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1101 name.
1102 (writev): Do not define __libc_writev name.
1103
65b00b6c
RM
11042014-10-30 Roland McGrath <roland@hack.frob.com>
1105
1106 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1107 (convert_charseq): New function, broken out of ...
1108 (use_from_charmap): ... here. Call it.
1109 (use_to_charmap): Use convert_charseq and free instead of duplicating
1110 its code with a variable-length stack struct.
1111
d4e157aa
JM
11122014-10-30 Joseph Myers <joseph@codesourcery.com>
1113
1114 * include/fcntl.h (__libc_creat): Remove declaration.
1115 * io/creat.c (__libc_creat): Rename to creat.
1116 (creat): Do not define as alias.
1117 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1118 of creat instead of __libc_creat.
1119 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1120 to creat.
1121 (creat): Do not define as alias.
1122 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1123 __libc_creat.
1124 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1125 __libc_creat name.
1126 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1127 Likewise.
1128
0c6891a0
CD
11292014-10-29 Carlos O'Donell <carlos@redhat.com>
1130
1131 * manual/llio.texi: Add comments discussing why write() may be
1132 considered MT-unsafe on Linux.
1133
cc00cece
CD
11342014-10-28 Carlos O'Donell <carlos@redhat.com>
1135
1136 * dl-load.c (local_strdup): Remove.
1137 (expand_dynamic_string_token): Use __strdup.
1138 (decompose_rpath): Likewise.
1139 (_dl_map_object): Likewise.
1140
51e623f2
JM
11412014-10-28 Joseph Myers <joseph@codesourcery.com>
1142
1143 [BZ #14132]
1144 * sysdeps/generic/unwind-dw2-fde.c
1145 (__register_frame_info_bases_internal): Do not declare.
1146 (__register_frame_info_table_bases_internal): Likewise.
1147 (__deregister_frame_info_bases_internal): Likewise.
1148 (__register_frame_info_bases): Declare and use hidden_proto before
1149 definition. Use hidden_def instead of INTDEF.
1150 (__register_frame_info_table_bases): Likewise.
1151 (__deregister_frame_info_bases): Likewise.
1152 (__register_frame_info): Do not use INTUSE.
1153 (__register_frame): Likewise.
1154 (__register_frame_info_table): Likewise.
1155 (__register_frame_table): Likewise.
1156 (__deregister_frame_info): Likewise.
1157 (__deregister_frame): Likewise.
1158
03d41216
GC
11592014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1160
1161 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1162 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1163 not undefine.
1164 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1165 Likewise.
1166 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1167 Likewise.
1168
a4b3624d
JM
11692014-10-27 Joseph Myers <joseph@codesourcery.com>
1170
1171 [BZ #14138]
1172 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1173 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1174 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1175 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1176 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1177 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1178 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1179 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1180 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1181 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1182 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1183 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1184 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1185 syscall.
1186 (setfsuid): Likewise.
1187 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1188 (setfsuid): Likewise.
1189 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1190 (setfsuid): Likewise.
1191 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1192 Likewise.
1193 (setfsuid): Likewise.
1194 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1195 (setfsuid): Likewise.
1196 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1197 Likewise.
1198 (setfsuid): Likewise.
1199
3574f2fd
AS
12002014-10-27 Andreas Schwab <schwab@suse.de>
1201
1202 [BZ #17501]
1203 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1204 check for Slow_SSE4_2 feature bit.
1205 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1206 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1207 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1208 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1209
70996a37
RM
12102014-10-24 Roland McGrath <roland@hack.frob.com>
1211
461a7b1e
RM
1212 * configure.ac: Validate compiler version with a empirical test of
1213 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1214 $CC -v output.
1215 * configure: Regenerated.
1216
70996a37
RM
1217 * inet/htons.c (htons): Prototypify.
1218 * inet/htonl.c (htonl): Likewise.
1219
e80514b5
WD
12202014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1221
1222 * string/strncat.c (strncat): Improve performance by using strlen.
1223
6e46de42
WD
12242014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1225
1226 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1227
6a9ad2fa
WD
12282014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1229
1230 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1231 Call libc_fetestexcept_aarch64.
1232
1c8810ed
WD
12332014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1234
1235 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1236 Call libc_feholdexcept_aarch64.
1237
8b1af712
WD
12382014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1239
1240 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1241 Call get_rounding_mode.
1242
a7b00c11
WD
12432014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1244
1245 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1246 Simplify logic.
1247
3a84f1a6
WD
12482014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1249
1250 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1251 Simplify logic.
1252
48eb7a94
JM
12532014-10-24 Joseph Myers <joseph@codesourcery.com>
1254
c8bc4038
JM
1255 [BZ #14138]
1256 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1257 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1258 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1259 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1260 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1261 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1262 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1263 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1264 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1265 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1266 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1267 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1268 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1269 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1270 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1271 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1272 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1273 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1274 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1275 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1276 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1277 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1278 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1279 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1280 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1281 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1282 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1283 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1284 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1285 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1286 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1287 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1288 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1289 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1290 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1291 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1292 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1293 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1294 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1295 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1296 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1297 syscall.
1298 (geteuid): Likewise.
1299 (getgid): Likewise.
1300 (getuid): Likewise.
1301 (getresgid): Likewise.
1302 (getresuid): Likewise.
1303 (getgroups): Likewise.
1304 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1305 (geteuid): Likewise.
1306 (getgid): Likewise.
1307 (getuid): Likewise.
1308 (getresgid): Likewise.
1309 (getresuid): Likewise.
1310 (getgroups): Likewise.
1311 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1312 (geteuid): Likewise.
1313 (getgid): Likewise.
1314 (getuid): Likewise.
1315 (getresgid): Likewise.
1316 (getresuid): Likewise.
1317 (getgroups): Likewise.
1318 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1319 Likewise.
1320 (geteuid): Likewise.
1321 (getgid): Likewise.
1322 (getuid): Likewise.
1323 (getresgid): Likewise.
1324 (getresuid): Likewise.
1325 (getgroups): Likewise.
1326 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1327 (geteuid): Likewise.
1328 (getgid): Likewise.
1329 (getuid): Likewise.
1330 (getresgid): Likewise.
1331 (getresuid): Likewise.
1332 (getgroups): Likewise.
1333 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1334 Likewise.
1335 (geteuid): Likewise.
1336 (getgid): Likewise.
1337 (getuid): Likewise.
1338 (getgroups): Likewise.
1339
48eb7a94
JM
1340 [BZ #14138]
1341 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1342 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1343 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1344 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1345 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1346 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1347 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1348 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1349 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1350 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1351 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1352 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1353 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1354 __chown.
1355 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1356 (lchown): Likewise.
1357 (fchown): Likewise.
1358 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1359 Likewise.
1360 (lchown): Likewise.
1361 (fchown): Likewise.
1362 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1363 (lchown): Likewise.
1364 (fchown): Likewise.
1365 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1366 Likewise.
1367 (lchown): Likewise.
1368 (fchown): Likewise.
1369
ea9a7c8b
WD
13702014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1371
1372 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1373 Simplify logic.
1374
e226de33
WD
13752014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1376
1377 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1378 Cleanup logic.
1379
6e3d8ed3
WD
13802014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1381
1382 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1383 Remove unused include.
1384
eb04247d
WD
13852014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1386
1387 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1388 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1389 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1390 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1391
13d84554
CD
13922014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1393 Helge Deller <deller@gmx.de>
1394
1395 [BZ #17508]
1396 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1397 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1398 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1399
15f9c5df
JM
14002014-10-23 Joseph Myers <joseph@codesourcery.com>
1401
1402 [BZ #14132]
1403 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1404 Remove macro definition.
1405 (__ashrdi3_v_glibc20): Likewise.
1406 (__lshrdi3_v_glibc20): Likewise.
1407 (__cmpdi2_v_glibc20): Likewise.
1408 (__ucmpdi2_v_glibc20): Likewise.
1409 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1410 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1411 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1412 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1413 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1414 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1415
c6dfed24
RM
14162014-10-22 Roland McGrath <roland@hack.frob.com>
1417
1418 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1419 old GNU extension [0] syntax.
1420 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1421 alloca rather than an array member with variable length.
1422 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1423 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1424 (parse_opt): ... here. Likewise use alloca there.
1425 Validate the -i argument before checking for rootness.
1426 (send_shutdown): New function, broken out of ...
1427 (parse_opt): ... here.
1428
8c2b1ed8
RM
14292014-10-22 Roland McGrath <roland@hack.frob.com>
1430
1431 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1432 macro to get at the _rt_local_ro field.
1433 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1434 ([PIC] case) or _dl_hwcap ([!PIC] case).
1435 * sysdeps/arm/setjmp.S: Likewise.
1436
1437 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1438 * sysdeps/arm/configure.ac: New check to define it.
1439 * sysdeps/arm/configure: Regenerated.
1440 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1441 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1442 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1443 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1444 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1445 Use move/movt pair instead of a load.
1446 (LDST_GLOBAL): Macro removed.
1447 (LDR_GLOBAL): New macro replaces it.
1448 (LDR_HIDDEN): New macro.
1449 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1450 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1451
1452 * setjmp/tst-setjmp-static.c: New file.
1453 * setjmp/Makefile (tests): Add it.
1454 (tests-static): New variable.
1455
b5af9297
MR
14562014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1457
1458 [BZ #17485]
1459 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1460
a13d0d74
JM
14612014-10-21 Joseph Myers <joseph@codesourcery.com>
1462
1463 [BZ #14132]
1464 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1465
f05e73f6
RM
14662014-10-21 Roland McGrath <roland@hack.frob.com>
1467
1468 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1469
6ab1d1ea
RM
14702014-10-20 Roland McGrath <roland@hack.frob.com>
1471
1472 * io/fts.c (dirent_not_directory): New function.
1473 (fts_build): Call it.
1474
ab49e763
RM
14752014-10-20 Roland McGrath <roland@hack.frob.com>
1476
e436eb79
RM
1477 * nptl/version.c (__nptl_main): Use normal __write rather than
1478 INTERNAL_SYSCALL.
1479 (banner): Update copyright years.
1480
6af246cf
RM
1481 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1482 gettimeofday.
1483 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1484 * nptl/pthread_cond_timedwait.c: Likewise.
1485 * nptl/pthread_mutex_timedlock.c: Likewise.
1486 * nptl/sem_timedwait.c: Likewise.
1487
ab49e763
RM
1488 * sysdeps/nptl/bits/libc-lock.h
1489 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1490 (__libc_lock_init_recursive): Return void, not 0.
1491 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1492 (__libc_rwlock_init): Likewise.
1493 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1494
f50277c1
TR
14952014-10-20 Torvald Riegel <triegel@redhat.com>
1496
1497 [BZ #15215]
1498 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1499 (__pthread_once_slow): ... here.
1500 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1501 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1502
63668b70
TR
15032014-10-20 Torvald Riegel <triegel@redhat.com>
1504
1505 [BZ #15215]
1506 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1507 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1508 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1509 * nptl/pthread_once.c (__pthread_once): Likewise.
1510 Update comments.
1511
42b7f5d4
JM
15122014-10-20 Joseph Myers <joseph@codesourcery.com>
1513
1514 [BZ #14138]
1515 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1516 name.
1517 (writev): Use __libc_writev as strong name.
1518 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1519 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1520
b0643088
RM
15212014-10-17 Roland McGrath <roland@hack.frob.com>
1522
114c4e09
RM
1523 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1524
674b8978
RM
1525 * sysdeps/i386/nptl/tls.h
1526 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1527 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1528 New macros.
1529 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1530 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1531 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1532 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1533 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1534 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1535
184ee940
RM
1536 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1537 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1538 on [__NR_futex].
1539 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1540 broken out of ...
1541 (__pthread_mutex_init): ... here. Call it.
1542 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1543 Conditionalize PI cases on [__NR_futex].
1544 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1545 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1546 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1547
327ae257
RM
1548 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1549 conditional on [SIGSETXID].
1550 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1551 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1552 is defined. Likewise for SIGSETXID.
1553 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1554 Conditionalize definitions on [SIGSETXID].
1555 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1556 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1557 unblocking on [SIGCANCEL].
1558
b0643088
RM
1559 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1560 [__NR_set_robust_list].
1561
33cc770b
SP
15622014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1563
1564 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1565 (do_compare): Likewise.
1566
0742aef6
LH
15672014-10-17 Leonhard Holz <leonhard.holz@web.de>
1568
1569 [BZ #15884]
1570 * string/strcoll_l.c: Don't include stdio.h.
1571 (coll_seq): Remove members idxarr and rulearr.
1572 (get_next_seq_cached): Remove function.
1573 (get_next_seq): Likewise.
1574 (get_next_seq_nocache): Rename to get_next_seq.
1575 (do_compare): Remove function.
1576 (do_compare_nocache): Rename to do_compare.
1577 (STRCOLL): Remove weight and rules cache.
1578
ee54ce44
RM
15792014-10-16 Roland McGrath <roland@hack.frob.com>
1580
1581 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1582 * sysdeps/arm/sfp-machine.h: ... to here.
1583 * sysdeps/arm/Implies: Remove arm/soft-fp.
1584
a75d3b02
JM
15852014-10-14 Joseph Myers <joseph@codesourcery.com>
1586
1587 * conform/data/sys/utsname.h-data (*_t): Allow.
1588 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1589 [POSIX] (WEXITED): Do not expect constant.
1590 [POSIX] (WSTOPPED): Likewise.
1591 [POSIX] (WNOHANG): Likewise.
1592 [POSIX] (WNOWAIT): Likewise.
1593 [POSIX] (siginfo_t): Do not expect type or elements.
1594 [POSIX] (pid_t): Do not expect type.
1595 [POSIX] (signal.h): Do not allow header.
1596 [POSIX] (sys/resource.h): Likewise.
1597 [POSIX] (si_*): Do not allow pattern.
1598 [POSIX] (W*): Likewise.
1599 [POSIX] (P_*): Likewise.
1600 [POSIX] (BUS_*): Likewise.
1601 [POSIX] (CLD_*): Likewise.
1602 [POSIX] (FPE_*): Likewise.
1603 [POSIX] (ILL_*): Likewise.
1604 [POSIX] (POLL_*): Likewise.
1605 [POSIX] (SEGV_*): Likewise.
1606 [POSIX] (SI_*): Likewise.
1607 [POSIX] (TRAP_*): Likewise.
1608 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1609 variable.
1610
fda389c8
SP
16112014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1612
1613 [BZ #12926]
1614 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1615 infinite loop when __recvmsg returns 0.
1616
6bc6bd3b
JM
16172014-10-10 Joseph Myers <joseph@codesourcery.com>
1618
fcb32af1
JM
1619 * CANCEL-FCT-WAIVE: Remove file.
1620 * CANCEL-FILE-WAIVE: Likewise.
1621
6bc6bd3b
JM
1622 [BZ #14132]
1623 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1624 instead of INTVARDEF.
1625 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1626 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1627 rtld_hidden_data_def instead of INTVARDEF.
1628 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1629 * elf/dl-deps.c (expand_dst): Likewise.
1630 * elf/dl-load.c (_dl_dst_count): Likewise.
1631 (_dl_dst_substitute): Likewise.
1632 (decompose_rpath): Likewise.
1633 (_dl_init_paths): Likewise.
1634 (open_path): Likewise.
1635 (_dl_map_object): Likewise.
1636 * elf/rtld.c (dl_main): Likewise.
1637 (process_dl_audit): Likewise.
1638 (process_envvars): Likewise.
1639 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1640 Remove declaration.
1641 (__libc_enable_secure): Use rtld_hidden_proto.
1642
b8c80a7e
KS
16432014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1644
1645 * elf/dl-load.c
1646 (add_path): New function broken out of _dl_rtld_di_serinfo.
1647 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1648
ff12c11f
JM
16492014-10-09 Joseph Myers <joseph@codesourcery.com>
1650
5c0508a3
JM
1651 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1652 parentheses around macro arguments.
1653 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1654 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1655 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1656 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1657 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1658 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1659 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1660 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1661 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1662 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1663 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1664 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1665 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1666 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1667 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1668 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1669 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1670 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1671 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1672 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1673 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1674 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1675 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1676 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1677 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1678 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1679 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1680 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1681 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1682 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1683 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1684 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1685 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1686 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1687 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1688 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1689 Likewise.
1690 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1691 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1692 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1693 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1694 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1695 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1696 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1697 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1698 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1699 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1700 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1701 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1702 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1703 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): 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 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1718 (_FP_FRAC_SRS_1): Likewise.
1719 (_FP_FRAC_CLZ_1): Likewise.
1720 (_FP_MUL_MEAT_1_imm): Likewise.
1721 (_FP_MUL_MEAT_1_wide): Likewise.
1722 (_FP_MUL_MEAT_1_hard): Likewise.
1723 (_FP_SQRT_MEAT_1): Likewise.
1724 (_FP_FRAC_ASSEMBLE_1): Likewise.
1725 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1726 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1727 (__FP_CLZ_2): Likewise.
1728 (_FP_MUL_MEAT_2_wide): Likewise.
1729 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1730 (_FP_MUL_MEAT_2_gmp): Likewise.
1731 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1732 (_FP_SQRT_MEAT_2): Likewise.
1733 (_FP_FRAC_ASSEMBLE_2): Likewise.
1734 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1735 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1736 (_FP_FRAC_CLZ_4): Likewise.
1737 (_FP_MUL_MEAT_4_wide): Likewise.
1738 (_FP_MUL_MEAT_4_gmp): Likewise.
1739 (_FP_SQRT_MEAT_4): Likewise.
1740 (_FP_FRAC_ASSEMBLE_4): Likewise.
1741 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1742 * soft-fp/op-common.h (_FP_CMP): Likewise.
1743 (_FP_CMP_EQ): Likewise.
1744 (_FP_CMP_UNORD): Likewise.
1745 (_FP_TO_INT): Likewise.
1746 (_FP_FROM_INT): Likewise.
1747 [!__FP_CLZ] (__FP_CLZ): Likewise.
1748 (_FP_DIV_HELP_imm): Likewise.
1749 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1750 Likewise.
1751 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1752 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1753 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1754 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1755 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1756 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1757 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1758 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1759 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1760 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1761 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1762 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1763 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1764 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1765 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1766 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1767 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1768 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1769 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1770 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1771 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1772 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1773 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1774 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1775 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1776 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1777 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1778 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1779 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1780 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1781 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1782 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1783 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1784 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1785 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1786 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1787 (FP_UNPACK_RAW_SP): Likewise.
1788 (FP_PACK_RAW_S): Likewise.
1789 (FP_PACK_RAW_SP): Likewise.
1790 (FP_UNPACK_S): Likewise.
1791 (FP_UNPACK_SP): Likewise.
1792 (FP_UNPACK_SEMIRAW_S): Likewise.
1793 (FP_UNPACK_SEMIRAW_SP): Likewise.
1794 (FP_PACK_S): Likewise.
1795 (FP_PACK_SP): Likewise.
1796 (FP_PACK_SEMIRAW_S): Likewise.
1797 (FP_PACK_SEMIRAW_SP): Likewise.
1798 (_FP_SQRT_MEAT_S): Likewise.
1799 (FP_CMP_S): Likewise.
1800 (FP_CMP_EQ_S): Likewise.
1801 (FP_CMP_UNORD_S): Likewise.
1802 (FP_TO_INT_S): Likewise.
1803 (FP_FROM_INT_S): Likewise.
1804
a736ec37
JM
1805 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1806
ff12c11f
JM
1807 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1808 (FP_EX_INVALID_IMZ): Likewise.
1809 (FP_EX_INVALID_IMZ_FMA): Likewise.
1810 (FP_EX_INVALID_ISI): Likewise.
1811 (FP_EX_INVALID_ZDZ): Likewise.
1812 (FP_EX_INVALID_IDI): Likewise.
1813 (FP_EX_INVALID_SQRT): Likewise.
1814 (FP_EX_INVALID_CVI): Likewise.
1815 (FP_EX_INVALID_VC): Likewise.
1816 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1817 "invalid" exceptions.
1818 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1819 (_FP_ADD_INTERNAL): Likewise.
1820 (_FP_MUL): Likewise.
1821 (_FP_FMA): Likewise.
1822 (_FP_DIV): Likewise.
1823 (_FP_CMP_CHECK_NAN): Likewise.
1824 (_FP_SQRT): Likewise.
1825 (_FP_TO_INT): Likewise.
1826 (FP_EXTEND): Likewise.
1827
b6dcfe8c
AM
18282014-10-09 Allan McRae <allan@archlinux.org>
1829
1830 * po/fr.po: Update French translation from translation project.
1831
2d6a47ba
JM
18322014-10-09 Joseph Myers <joseph@codesourcery.com>
1833
cb831245
JM
1834 [BZ #14132]
1835 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1836 of INTDEF.
1837 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1838 (__cxa_atexit): Use libc_hidden_proto.
1839 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1840
5deeb190
JM
1841 [BZ #14132]
1842 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1843 declaration.
1844 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1845 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1846 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1847 [!_ISOMAC] (__iswctype_internal): Likewise.
1848 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1849 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1850 alias.
1851 (fcntl): Remove __fcntl_internal alias.
1852 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1853 __connect_internal alias.
1854 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1855 Likewise.
1856
454ac701
JM
1857 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1858 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1859 FP_DENORM_ZERO.
1860 (_FP_CHECK_FLUSH_ZERO): New macro.
1861 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1862 (_FP_CMP): Likewise.
1863 (_FP_CMP_EQ): Likewise.
1864 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1865 FP_DENORM_ZERO.
1866 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1867 (FP_TRUNC): Likewise.
1868
0022e688
JM
1869 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1870 treated as invalid conversion, not as normal exponent.
1871
73e28d9c
JM
1872 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1873 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1874 (_FP_CMP_EQ): Likewise.
1875 (_FP_CMP_UNORD): Likewise.
1876 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1877 (FP_CMP_EQ_D): Likewise.
1878 (FP_CMP_UNORD_D): Likewise.
1879 * soft-fp/extended.h (FP_CMP_E): Likewise.
1880 (FP_CMP_EQ_E): Likewise.
1881 (FP_CMP_UNORD_E): Likewise.
1882 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1883 (FP_CMP_EQ_Q): Likewise.
1884 (FP_CMP_UNORD_Q): Likewise.
1885 * soft-fp/single.h (FP_CMP_S): Likewise.
1886 (FP_CMP_EQ_S): Likewise.
1887 (FP_CMP_UNORD_S): Likewise.
1888 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1889 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1890 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1891 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1892 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1893 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1894 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1895 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1896 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1897 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1898 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1899 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1900 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1901 to FP_CMP_Q.
1902 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1903 FP_CMP_Q.
1904 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1905 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1906 FP_CMP_EQ_Q.
1907 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1908 FP_CMP_Q.
1909 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1910 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1911 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1912 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1913 FP_CMP_EQ_Q.
1914 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1915 FP_CMP_Q.
1916 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1917 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1918 FP_CMP_EQ_Q.
1919 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1920 FP_CMP_Q.
1921 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1922 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1923 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1924 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1925 FP_CMP_EQ_Q.
1926
43059f42
JM
1927 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1928 a subnormal result, set the underflow exception if trapping on
1929 underflow is enabled.
1930 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1931 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1932 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1933 redefine to 0.
1934 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1935 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1936 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1937 * soft-fp/extendxftf2.c (__extendxftf2): Use
1938 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1939
2d6a47ba
JM
1940 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1941 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1942 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1943 FP_HANDLE_EXCEPTIONS.
1944 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1945 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1946 FP_HANDLE_EXCEPTIONS.
1947 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1948 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1949 FP_HANDLE_EXCEPTIONS.
1950 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1951 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1952 FP_HANDLE_EXCEPTIONS.
1953
620f462e
JM
19542014-10-08 Joseph Myers <joseph@codesourcery.com>
1955
1956 [BZ #14132]
1957 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1958 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1959 use INTUSE.
1960 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1961 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1962 Remove alias.
1963 (__adjtimex): Define using libc_hidden_ver.
1964 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1965 Remove declaration.
1966 (ntp_gettime): Call __adjtimex directly.
1967 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1968 Remove declaration.
1969 (ntp_gettimex): Call __adjtimex directly.
1970 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1971 __adjtimex_internal alias.
1972
c763c5d2
RM
19732014-10-08 Roland McGrath <roland@hack.frob.com>
1974
1975 [BZ #17460]
1976 * nscd/nscd.c (more_help): Rewrite list of tables collection
1977 using xstrdup and asprintf.
1978
1979 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1980
7b8fb2b8
RM
19812014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1982 Roland McGrath <roland@hack.frob.com>
1983
1984 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1985 (do_lookup_unique): ... local function 'enter' here; update callers.
1986
abb280f7
JM
19872014-10-06 Joseph Myers <joseph@codesourcery.com>
1988
f7b42517
JM
1989 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1990 compat_symbol calls on [SHARED].
1991 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1992 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1993 Remove.
1994 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1995 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1996 (oldsetrlimit): Remove.
1997 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1999 (lchown): New syscall entry.
2000 (oldsetrlimit): Remove.
2001 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2002 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2003 (oldsetrlimit): Remove.
2004 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2005
abb280f7
JM
2006 [BZ #14138]
2007 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2008 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2009 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2010 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2011 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2012 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2013 (fchown): Likewise.
2014 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2015 (fchown): Likewise.
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2017 Likewise.
2018
47d46237
AZ
20192014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2020
2021 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2022 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2023 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2024 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2025 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2026 Likewise.
2027 (__old_sem_post): Likewise.
2028
20292014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 2030
845a7343
CM
2031 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2032 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2033 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2034 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2035 Use INLINE_VSYSCALL macro.
2036 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2037 __vdso_clock_gettime.
2038 * sysdeps/unix/sysv/linux/tile/init-first.c
2039 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2040 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2041 __vdso_clock_gettime.
2042
83d641ef
CM
2043 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2044 to set up frame more cleanly.
2045
d9cd52e6
CM
2046 * sysdeps/tile/memcmp.c: New file.
2047
4b68ea11
CM
2048 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2049
c86f7b80
CM
2050 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2051 * sysdeps/tile/tilegx/strcasestr.c: New file.
2052 * sysdeps/tile/tilegx/strnlen.c: New file.
2053 * sysdeps/tile/tilegx/strstr.c: New file.
2054
1c4c1a6f
CM
2055 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2056
99d86ea3
AS
20572014-10-06 Arjun Shankar <arjun.is@lostca.se>
2058
2059 * nptl/tst-setuid3.c: Write errors to stdout.
2060
06210a44
KS
20612014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2062
2063 * elf/dl-deps.c
2064 (preload): New functions broken out of _dl_map_object_deps.
2065 (_dl_map_object_deps): Remove a nested function. Update call sites.
2066
6268f532
JM
20672014-10-01 Joseph Myers <joseph@codesourcery.com>
2068
2069 [BZ #14138]
2070 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2071 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2072
b925285f
SE
20732014-10-01 Steve Ellcey <sellcey@mips.com>
2074
2075 * sysdeps/mips/strcmp.S: New.
2076
754a15c6
JM
20772014-09-30 Joseph Myers <joseph@codesourcery.com>
2078
2079 [BZ #14138]
2080 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2081 (linkat): Likewise.
2082 (mkdirat): Likewise.
2083 (readlinkat): Likewise.
2084 (renameat): Likewise.
2085 (symlinkat): Likewise.
2086 (unlinkat): Likewise.
2087 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2088 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2089 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2090 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2091 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2092 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2093 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2094
85bb81c9
WN
20952014-09-30 Will Newton <will.newton@linaro.org>
2096
dc6fe23b
WN
2097 * math/math.h: Define long double math functions if
2098 _LIBC_TEST is defined.
2099 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2100
85bb81c9
WN
2101 * localedata/Makefile: Move assignment to tests-special
2102 into an ifdef testing run-built-tests.
2103 * timezone/Makefile: Likewise.
2104
b7e02da4
JM
21052014-09-29 Joseph Myers <joseph@codesourcery.com>
2106
2107 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2108 with $(BASH) not $(SHELL).
2109
62058ce6
CD
21102014-09-29 Carlos O'Donell <carlos@redhat.com>
2111 Matthew LeGendre <legendre1@llnl.gov>
2112
2113 [BZ #17411]
2114 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2115 l_reloc_result.
2116
8e257a29
KS
21172014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2118
2119 * stdio-common/printf_fp.c
2120 (hack_digit): New function, broken out of ...
2121 (__printf_fp): ... local function here. Update call sites.
2122 hack_digit now takes an additional parameter that is a pointer
2123 to a struct of the referenced locals. Those locals moved inside
2124 the struct and references updated.
2125
f4a58f0d
L
21262014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2127
2128 * aclocal.m4: Require autoconf 2.69.
2129 * configure: Regenerated.
2130 * sysdeps/aarch64/configure: Likewise.
2131 * sysdeps/alpha/configure: Likewise.
2132 * sysdeps/arm/armv7/configure: Likewise.
2133 * sysdeps/arm/configure: Likewise.
2134 * sysdeps/ia64/configure: Likewise.
2135 * sysdeps/mach/configure: Likewise.
2136 * sysdeps/mips/configure: Likewise.
2137 * sysdeps/s390/configure: Likewise.
2138 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2140
2141 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2142 file.
2143 * sysdeps/ia64/configure.ac: Likewise.
2144
93ae1eba
JM
21452014-09-26 Joseph Myers <joseph@codesourcery.com>
2146
1810d3ab
JM
2147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2148 specify symbol version for ld.so. Do not include entry for
2149 libpthread.
2150 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2151 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2152 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2153
93ae1eba
JM
2154 [BZ #14171]
2155 * Makeconfig [$(build-shared) = yes]
2156 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2157 makefiles.
2158 [$(build-shared) = yes && $(soversions.mk-done) = t]
2159 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2160 [$(build-shared) = yes && $(soversions.mk-done) = t]
2161 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2162 to Makerules.
2163 [$(build-shared) = yes && $(soversions.mk-done) = t]
2164 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2165 here.
2166 [$(build-shared) = yes && $(soversions.mk-done) = t]
2167 (common-generated): Don't append gnu/lib-names.h and
2168 gnu/lib-names.stmp here.
2169 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2170 (lib-names-h-abi): New variable.
2171 [$(build-shared) = yes && $(soversions.mk-done) = t]
2172 (lib-names-stmp-abi): Likewise.
2173 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2174 abi-variants] (before-compile): Append
2175 $(common-objpfx)$(lib-names-h-abi).
2176 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2177 abi-variants] (common-generated): Append gnu/lib-names.h.
2178 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2179 abi-variants] (install-others-nosubdir): Depend on
2180 $(inst_includedir)/$(lib-names-h-abi).
2181 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2182 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2183 [$(build-shared) = yes && $(soversions.mk-done) = t]
2184 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2185 [$(build-shared) = yes && $(soversions.mk-done) = t]
2186 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2187 [$(build-shared) = yes && $(soversions.mk-done) = t]
2188 (common-generated): Append $(lib-names-h-abi) and
2189 $(lib-names-stmp-abi).
2190 * scripts/lib-names.awk: Do not handle multi being set.
2191 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2192 Remove variable.
2193 (abi-lp64_be-ld-soname): Likewise.
2194 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2195 Likewise.
2196 (abi-hard-ld-soname): Likewise.
2197 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2198 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2199 Remove variable.
2200 (abi-o32_hard-ld-soname): Likewise.
2201 (abi-o32_soft_2008-ld-soname): Likewise.
2202 (abi-o32_hard_2008-ld-soname): Likewise.
2203 (abi-n32_soft-ld-soname): Likewise.
2204 (abi-n32_hard-ld-soname): Likewise.
2205 (abi-n32_soft_2008-ld-soname): Likewise.
2206 (abi-n32_hard_2008-ld-soname): Likewise.
2207 (abi-n64_soft-ld-soname): Likewise.
2208 (abi-n64_hard-ld-soname): Likewise.
2209 (abi-n64_soft_2008-ld-soname): Likewise.
2210 (abi-n64_hard_2008-ld-soname): Likewise.
2211 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2212 Likewise.
2213 (abi-64-v2-ld-soname): Likewise.
2214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2215 ld.so entries.
2216 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2217 variable.
2218 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2219 entry.
2220 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2221 variable.
2222 (abi-64-ld-soname): Likewise.
2223 (abi-x32-ld-soname): Likewise.
2224 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2225 entry.
2226 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2227
68870f12
JM
22282014-09-23 Joseph Myers <joseph@codesourcery.com>
2229
2230 [BZ #14138]
2231 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2232 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2233 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2234 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2235 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2236 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2237 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2238 syscall entry for GLIBC_2.2 symbol version.
2239 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2240 Likewise.
2241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2242 (setrlimit): Likewise.
2243 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2244 Likewise.
2245
ea58f202
WN
22462014-09-23 Will Newton <will.newton@linaro.org>
2247
2248 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2249 _LINUX_ARM_SYSDEP_H include guard too.
2250 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2251 define.
2252
69eb9a18
RV
22532014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2254
2255 * sysdeps/unix/sysv/linux/eventfd.c:
2256 Make first argument unsigned.
2257 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2258 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2259
20e5a5f7
OB
22602014-09-20 Ondřej Bílka <neleai@seznam.cz>
2261
2262 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2263 * socket/sys/socket.h: Likewise
2264 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2265
d3c827e7
AK
22662014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2267
2268 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2269
fe1cc35a
AS
22702014-09-17 Arjun Shankar <arjun.is@lostca.se>
2271
2272 * time/tst-ftime.c: New test.
2273 * time/Makefile (tests): Add tst-ftime.
2274
4e8afe69
JM
22752014-09-17 Joseph Myers <joseph@codesourcery.com>
2276
c4fe3ea7
JM
2277 * soft-fp/extended.h: Fix comment formatting.
2278 * soft-fp/op-1.h: Likewise.
2279 * soft-fp/op-2.h: Likewise.
2280 * soft-fp/op-4.h: Likewise.
2281 * soft-fp/op-8.h: Likewise.
2282 * soft-fp/op-common.h: Likewise.
2283 * soft-fp/soft-fp.h: Likewise.
2284
4e8afe69
JM
2285 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2286
af296fcd
JM
22872014-09-16 Joseph Myers <joseph@codesourcery.com>
2288
2289 [BZ #6652]
2290 * Makeconfig (soversions-default-setname): Remove variable.
2291 ($(common-objpfx)soversions.i): Don't pass default_setname to
2292 soversions.awk.
2293 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2294 oldest_abi to abi-versions.awk.
2295 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2296 * config.make.in (oldest-abi): Remove variable.
2297 * configure.ac (--enable-oldest-abi): Remove configure option.
2298 * configure: Regenerated.
2299 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2300 text.
2301 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2302 * scripts/soversions.awk: Do not handle default_setname variable.
2303 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2304 variable.
2305 * sysdeps/mach/hurd/configure: Regenerated.
2306 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2307 variable.
2308 * sysdeps/unix/sysv/linux/configure: Regenerated.
2309
545583d6
SP
23102014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2311
d330b980
SP
2312 * elf/Makefile (CFLAGS-interp.c): Remove.
2313 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2314 path string.
2315 * elf/interp.c: Include generated runtime-linker.h
2316
02657da2
SP
2317 * Makerules (lib%.so): Don't include $(+interp) in
2318 prerequisites.
2319 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2320 * dlfcn/eval.c: Remove file.
2321
653b1080
SP
2322 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2323 macros.
2324
602f80ec
SP
2325 [BZ #17266]
2326 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2327 4.2 and newer.
2328
545583d6
SP
2329 [BZ #17370]
2330 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2331
884ddc50
SP
23322014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2333 Jakub Jelinek <jakub@redhat.com>
2334
2335 [BZ #17266]
2336 * libio/stdio.h: Check definition of __fortify_function
2337 instead of __extern_always_inline to include bits/stdio2.h.
2338 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2339 check if __extern_always_inline is defined.
2340 [__USE_MISC || __USE_XOPEN]: Likewise.
2341 [__USE_ISOC99] Likewise.
2342 * misc/sys/cdefs.h (__fortify_function): Define only if
2343 __extern_always_inline is defined.
2344 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2345 __extern_always_inline and __extern_inline only for g++-4.3
2346 and newer or a compatible gcc.
2347
a7b87268
AS
23482014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2349
2350 [BZ #17371]
2351 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2352 last change to handle zero prefix length.
2353
3f41521d
SP
23542014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2355
61fe374a
SP
2356 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2357 _SC_REGEX_VERSION.
2358
3f41521d
SP
2359 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2360 _POSIX_RAW_SOCKETS.
2361
d8f879ee
AM
23622014-09-13 Allan McRae <allan@archlinux.org>
2363
2364 * po/ru.po: Update Russian translation from translation project.
2365
c079afb7
RM
23662014-09-12 Roland McGrath <roland@hack.frob.com>
2367
a62b3c15
RM
2368 * locale/programs/locale.c (show_locale_vars): Inline local function
2369 into its sole call site. Clean up some style nits.
2370 (print_item): New function, broken out of ...
2371 (show_info): ... local function here. Clean up style nits.
2372
d7e49b19
RM
2373 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2374 out of ...
2375 (set_class_defaults): ... local function set_default here.
2376 Define set_default as a macro locally to pass constant parameters.
2377 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2378 rather than a shared local.
2379
c079afb7
RM
2380 * stdlib/rpmatch.c (try): New function, broken out of ...
2381 (rpmatch): ... local function here. Also, prototypify definition.
2382
0bd72468
JM
23832014-09-12 Joseph Myers <joseph@codesourcery.com>
2384
ba90e050
JM
2385 * scripts/soversions.awk: Do not handle configuration names.
2386 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2387 vendor and os variables to soversions.awk.
2388 * configure.ac: Do not modify gnu-* host_os.
2389 * configure: Regenerated
2390 * shlib-versions: Remove first column with configuration names.
2391 * nptl/shlib-versions: Likewise.
2392 * nptl_db/shlib-versions: Likewise.
2393 * sysdeps/hppa/shlib-versions: Likewise.
2394 * sysdeps/m68k/shlib-versions: Likewise.
2395 * sysdeps/mach/hurd/shlib-versions: Likewise.
2396 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2397 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2398 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2399 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2400 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2401 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2402 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2403 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2405 Likewise.
2406 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2407 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2408 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2409 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2410 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2411 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2412 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2413 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2414
73a39112
JM
2415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2416 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2418 Regenerated.
2419 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2421 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2422
c729e7c1
JM
2423 * shlib-versions: Remove OS-specific entries. Moved to files in
2424 sysdeps.
2425 * sysdeps/mach/hurd/shlib-versions: New file.
2426 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2427
dc932a24
JM
2428 * nptl/shlib-versions: Remove architecture-specific entries.
2429 Moved to files in sysdeps.
2430 * shlib-versions: Likewise.
2431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2432 file.
2433 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2434 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2435 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2436 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2437
0bd72468
JM
2438 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2439 (UDP_NO_CHECK6_RX): Likewise.
2440
920238e0
SP
24412014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2442
2443 * sysdeps/posix/sysconf.c (__sysconf): Spell
2444 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2445
ba7b4d29
FW
24462014-08-12 Florian Weimer <fweimer@redhat.com>
2447
2448 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2449 loading.
2450 * iconv/Versions (__gconv_transliterate): Export for use from
2451 gconv modules.
2452 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2453 (struct __gconv_trans_data, __gconv_trans_fct,
2454 __gconv_trans_context_fct, __gconv_trans_query_fct,
2455 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2456 definitions.
2457 (struct __gconv_step_data): Remove __trans member.
2458 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2459 longer hidden. Remove unused trans_data argument.
2460 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2461 (__gconv_translit_find): Remove declaration.
2462 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2463 prototype.
2464 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2465 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2466 trans_data argument. Add hidden definition.
2467 (__gconv_translit_find): Remove.
2468 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2469 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2470 * iconv/skeleton.c: Remove transliteration initialization.
2471 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2472 __gconv_step_data initialization.
2473 * libio/iofwide.c (__libio_translit_): Remove.
2474 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2475 * wcsmbs/btowc.c (__btowc): Likewise.
2476 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2477 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2478 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2479 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2480 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2481 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2482 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2483 * wcsmbs/wctob.c (wctob): Likewise.
2484
5379aebd
SP
24852014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2486
2487 [BZ #16194]
2488 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2489 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2490 register usage.
2491 * sysdeps/x86/Makefile: Adjust.
2492
8c0ab919
RM
24932014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2494 Roland McGrath <roland@hack.frob.com>
2495
2496 * locale/weight.h: Add include guard.
2497 (findidx): Make static rather than auto; take new parameters
2498 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2499 * locale/weightwc.h: Likewise.
2500 * posix/fnmatch_loop.c
2501 (FCT): Change type of EXTRA from int32_t to wint_t.
2502 Don't include either header inside the function.
2503 Call FINDIDX rather than findidx, and pass new arguments.
2504 #undef FINDIDX at the end of the file.
2505 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2506 FINDIDX before including fnmatch_loop.c for the non-wide version.
2507 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2508 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2509 for the wide version.
2510 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2511 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2512 Pass new arguments to findidx.
2513 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2514 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2515 Don't #include it inside the function. Pass new arguments to findidx.
2516 * posix/regex_internal.h
2517 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2518 (re_string_elem_size_at): Don't #include it inside the function.
2519 Pass new arguments to findidx.
2520 * string/strcoll_l.c: #include WEIGHT_H at top level.
2521 (get_next_seq): Don't #include it inside the function.
2522 Pass new arguments to findidx.
2523 (get_next_seq_nocache): Likewise.
2524 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2525 (STRXFRM): Don't #include it inside the function.
2526 Pass new arguments to findidx.
2527
52ffbdf2
FW
25282014-09-11 Florian Weimer <fweimer@redhat.com>
2529
2530 [BZ #17344]
2531 * malloc/malloc.c (unlink): Turn asserts into a call to
2532 malloc_printerr.
2533
984c0ea9
TL
25342014-09-11 Tim Lammens <tim.lammens@gmail.com>
2535
2536 [BZ #17370]
2537 * libio/wfileops (do_ftell_wide): Free OUT.
2538
3daee107
CM
25392014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2540
2541 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2542
58b930ae
SP
25432014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2544
2545 [BZ #17363]
2546 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2547 group if the current group is empty.
2548
3b473fec
AZ
25492014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2550
71ae8647
AZ
2551 * benchtests/bench-memset.c (test_main): Add more test from size
2552 from 32 to 512 bytes.
2553 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2554 Add POWER8 memset object.
2555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2556 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2557 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2558 implementation.
2559 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2560 Likewise.
2561 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2562 multiarch POWER8 memset optimization.
2563 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2564 POWER8 memset optimization.
2565
3b473fec
AZ
2566 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2567 Remove bzero multiarch objects.
2568 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2569 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2570 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2571 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2572 Remove define.
2573 [__bzero]: Redefine to specific name.
2574 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2575 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2576 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2577 define.
2578 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2579 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2580
e6fb9587
FW
25812014-09-10 Florian Weimer <fweimer@redhat.com>
2582
2583 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2584 warnings into errors.
2585
2586 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2587 __cxa_thread_atexit_impl prototype.
2588
9d3a350b
SE
25892014-09-09 Steve Ellcey <sellcey@mips.com>
2590
2591 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2592 Fix capitalization of error message.
2593
0febba23
SE
25942014-09-09 Steve Ellcey <sellcey@mips.com>
2595
2596 * sysdeps/mips/preconfigure: Modify ABI tests.
2597
645a0e9c
CD
25982014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2599
2600 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2601
d83f0734
CD
26022014-09-07 Roland McGrath <roland@hack.frob.com>
2603 Carlos O'Donell <carlos@systemhalted.org>
2604
2605 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2606 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2607 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2608 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2609 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2610 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2611 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2612 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2613 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2614 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2615 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2616 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2617 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2618 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2619 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2620 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2621 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2622 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2623 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2624 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2625 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2626 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2627 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2628 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2629 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2630 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2631 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2632 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2633 Deconditionalize the code that was previously under [RESET_PID].
2634 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2635 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2636 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2637 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2638 include sysdep.h.
2639
21c83793
AM
26402014-09-08 Allan McRae <allan@archlinux.org>
2641
2642 * version.h (RELEASE): Set to "development".
2643 (VERSION): Set to "2.20.90"
2644
1cd9b65c
AM
26452014-09-07 Allan McRae <allan@archlinux.org
2646
b8079dd0
AM
2647 * version.h (RELEASE): Set to "stable".
2648 (VERSION): Set to "2.20"
2649 * include/features.h (__GLIBC_MINOR__): Set to 20.
2650
c46303ef
AM
2651 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2652 Liebler.
2653
1cd9b65c
AM
2654 * po/ko.po: Update Korean translation from translation project.
2655
8622092d
CM
26562014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2657
2658 [BZ #17354]
2659 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2660 macro for handling signed relocations.
2661
41488498
FW
26622014-09-03 Florian Weimer <fweimer@redhat.com>
2663
2664 [BZ #17325]
2665 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2666 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2667 assert.
2668 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2669 * iconvdata/ibm935.c (BODY): Likewise.
2670 * iconvdata/ibm937.c (BODY): Likewise.
2671 * iconvdata/ibm939.c (BODY): Likewise.
2672 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2673 assert.
2674 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2675 script.
2676 * iconvdata/run-iconv-test.sh: New test loop for checking for
2677 decoder crashers.
2678
a78b712d
KR
26792014-09-02 Khem Raj <raj.khem@gmail.com>
2680
2681 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2682 libm_hidden_ver.
2683
cb08abc6
AM
26842014-09-01 Allan McRae <allan@archlinux.org>
2685
2c31e102
AM
2686 * po/eo.po: Update Esperanto translation from translation project.
2687
cb08abc6
AM
2688 * po/ca.po: Update Catalan translation from translation project.
2689
17a62de1
ST
26902014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2691
2692 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2693 __proc_dostop call.
2694
9570bc53
MW
26952014-08-27 Mark Wielaard <mjw@redhat.com>
2696
2697 [BZ #17319]
2698 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2699 to call set_thread_area instead of hand written asm.
2700 (__NR_set_thread_area): Removed define.
2701 (TLS_FLAG_WRITABLE): Likewise.
2702 (__ASSUME_SET_THREAD_AREA): Remove check.
2703 (TLS_EBX_ARG): Remove define.
2704 (TLS_LOAD_EBX): Likewise.
2705
b0f955c9
ST
27062014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2707
2708 Simplify atomicity of socket creation in bind.
2709
2710 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2711 looking up the name after linking the file.
2712
529bf515
AM
27132014-08-27 Allan McRae <allan@archlinux.org>
2714
2715 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2716
a1a6a401
FW
27172014-08-26 Florian Weimer <fweimer@redhat.com>
2718
2719 [BZ #17187]
2720 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2721 trans_compare, open_translit, __gconv_translit_find):
2722 Remove module loading code.
2723
686ab290
AM
27242014-08-26 Allan McRae <allan@archlinux.org>
2725
e4e7cfd2
AM
2726 * po/vi.po: Update Vietnamese translation from translation project.
2727
6aa09f71
AM
2728 * po/uk.po: Update Ukrainian translation from translation project.
2729
edc0660e
AM
2730 * po/fr.po: Update French translation from translation project.
2731
7eea72ac
AM
2732 * po/ru.po: Update Russian translation from translation project.
2733
93c49eff
AM
2734 * po/pl.po: Update Polish translation from translation project.
2735
46acaf63
AM
2736 * po/cs.po: Update Czech translation from translation project.
2737
a9f5ce98
AM
2738 * po/de.po: Update German translation from translation project.
2739
373f2b78
AM
2740 * po/bg.po: Update Bulgarian translation from translation project.
2741
e7548bd8
AM
2742 * po/sv.po: Update Sweedish translation from translation project.
2743
c526bf4d
AM
2744 * po/nl.po: Update Dutch translation from translation project.
2745
686ab290
AM
2746 * po/es.po: Update Spanish translation from translation project.
2747
eb72478a
SP
27482014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2749
dd763fdb
SP
2750 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2751
318c7a58
SP
2752 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2753 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2754 (CPPFLAGS-iconvconfig): Likewise.
2755 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2756
eb72478a
SP
2757 * include/libc-symbols.h: Remove unnecessary check for
2758 NOT_IN_libc.
2759 * nptl/pthreadP.h: Likewise.
2760 * sysdeps/aarch64/setjmp.S: Likewise.
2761 * sysdeps/alpha/setjmp.S: Likewise.
2762 * sysdeps/arm/sysdep.h: Likewise.
2763 * sysdeps/i386/setjmp.S: Likewise.
2764 * sysdeps/m68k/setjmp.c: Likewise.
2765 * sysdeps/posix/getcwd.c: Likewise.
2766 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2767 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2768 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2769 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2770 * sysdeps/sh/sh3/setjmp.S: Likewise.
2771 * sysdeps/sh/sh4/setjmp.S: Likewise.
2772 * sysdeps/unix/alpha/sysdep.h: Likewise.
2773 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2774 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2775 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2776 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2779 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2780 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2781 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2782 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2783 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2784 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2786 * sysdeps/x86_64/setjmp.S: Likewise.
2787
d44a052c
JM
27882014-08-13 Joseph Myers <joseph@codesourcery.com>
2789
2790 [BZ #17263]
2791 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2792 <stdint.h>.
2793 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2794 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2795
508ce3ac
SP
27962014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2797
e44c8b0e
SP
2798 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2799
508ce3ac
SP
2800 [BZ #17262]
2801 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2802 and __x86_64__ when disabling x87 inline functions.
2803
b4acef1f
L
28042014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2805
2806 [BZ #17259]
2807 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2808 asm statement with __cpuid_count.
2809
61b1ef6e
MF
28102014-08-12 Mike Frysinger <vapier@gentoo.org>
2811
2812 * configure.ac: Change __ehdr_start code to dereference the struct.
2813 Run readelf on the output to look for relocations.
2814 * configure: Regenerated.
2815
898c62f4
JM
28162014-08-12 Joseph Myers <joseph@codesourcery.com>
2817
2818 [BZ #17261]
2819 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2820 value to 0.
2821 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2822
9a8a5720
RM
28232014-08-12 Roland McGrath <roland@hack.frob.com>
2824
2825 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2826
4e75751c
BO
28272014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2828
2829 [BZ #16892]
2830 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2831 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2832
bb2ce416
SA
28332014-08-12 Sean Anderson <seanga2@gmail.com>
2834
2835 * malloc/malloc.c: Fix typo in comment.
2836
7950a4ee
AM
28372014-08-09 Allan McRae <allan@archlinux.org>
2838
2839 * Regenerate libc.po.
2840
f469c49f
MF
28412014-08-08 Mike Frysinger <vapier@gentoo.org>
2842
2843 * intl/tst-gettext2.sh: Check every lang file for creation.
2844
656b84c2
WD
28452014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2846
2847 * sysdeps/aarch64/fpu/math_private.h
2848 (libc_feholdsetround_noex_aarch64_ctx): New function.
2849
538e9e45
W
28502014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2851
2852 * sysdeps/arm/armv6/strcpy.S (strcpy):
2853 Fix performance issue in misaligned cases.
2854
d4795e4a
AZ
28552014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2856
2857 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2858 Move definition from termios.h.
2859 (struct termio): Likewise.
2860 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2861 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2862 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2863 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2864 Likewise.
2865 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2866 Move definition to ioctl-types.h
2867 (struct termio): Likewise.
2868 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2869 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2870 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2871 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2872 Likewise.
2873
64accb62
RH
28742014-08-05 Richard Henderson <rth@redhat.com>
2875
27bb6dc0
RH
2876 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2877 exceptions.
2878 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2879 Add fraiseexcpt.
2880 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2881 Use __feraiseexcept.
2882 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2883 Protect libm symbols with IS_IN_libm.
2884
64accb62
RH
2885 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2886
e5292691
BO
28872014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2888
2889 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2890
5b4bd2d4
WN
28912014-08-04 Will Newton <will.newton@linaro.org>
2892
2893 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2894 file.
2895
fcadaeef
MF
28962014-08-04 Mike Frysinger <vapier@gentoo.org>
2897
2898 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2899 variants for each function.
2900
43a94c64
RM
29012014-08-04 Roland McGrath <roland@hack.frob.com>
2902
2903 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2904 appended ...
2905 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2906 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2907 appended ...
2908 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2909 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2910 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2911 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2912 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2913 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2914 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2915 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2916 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2917 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2918 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2919 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2920 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2921 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2922 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2923 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2924 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2925 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2926 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2927 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2928 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2929 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2930 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2931 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2932 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2933 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2934 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2935 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2936 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2937 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2938 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2939 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2940 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2941 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2942 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2943 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2944 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2945 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2946 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2947 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2948 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2949 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2950 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2951 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2952 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2953 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2954 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2955 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2956 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2957 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2958 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2959 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2960 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2961 Update #include.
2962 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2963 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2964
8f3c1fa4
RM
29652014-08-04 Roland McGrath <roland@hack.frob.com>
2966
2967 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2968 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2969 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2970 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2971 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2972 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2973
ca08746f
RM
29742014-08-04 Roland McGrath <roland@hack.frob.com>
2975
2976 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2977 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2978 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2979 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2980
9c925ff9
RM
29812014-08-04 Roland McGrath <roland@hack.frob.com>
2982
2983 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2984 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2985 (__libc_vfork): Define function under this name.
2986 (__vfork): Define as an alias.
2987 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2988 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2989
e641054c
RM
29902014-08-04 Roland McGrath <roland@hack.frob.com>
2991
2992 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2993 that was previously under [RESET_PID].
2994 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2995
dacdc867
AS
29962014-08-04 Andreas Schwab <schwab@suse.de>
2997
2998 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2999
41f725ff
MF
30002014-08-03 Mike Frysinger <vapier@gentoo.org>
3001
3002 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3003 (main): Likewise.
3004
277cfb31
RM
30052014-08-01 Roland McGrath <roland@hack.frob.com>
3006
3007 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3008
4896f049
RH
30092014-08-01 Richard Henderon <rth@redhat.com>
3010
3011 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3012 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3013 typo in exact zero test.
3014 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3015 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3016 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3017
6f64e7d7
RM
30182014-08-01 Roland McGrath <roland@hack.frob.com>
3019
3020 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3021 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3022 * sysdeps/arm/sysdep.h: ... here.
3023 [!__ASSEMBLER__]: Include <stdint.h>.
3024
3f3dd810
SP
30252014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3026
a476ac4b
SP
3027 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3028 (HAVE_WCTYPE_H): Likewise.
3029 (HAVE_ISWCTYPE): Likewise.
3030 (ENABLE_NLS): Likewise.
3031 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3032 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3033
78dd658a
SP
3034 * posix/regex_internal.c: Check if DEBUG is defined and is
3035 set.
3036
3f3dd810
SP
3037 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3038 (HAVE_MBSRTOWCS): Likewise.
3039 * posix/fnmatch.c: Include string.h unconditionally.
3040
95ee7fb1
SL
30412014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3042
3043 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3044 reversal.
3045
23fe486b
RM
30462014-07-31 Roland McGrath <roland@hack.frob.com>
3047
f61a113f
RM
3048 * sysdeps/generic/safe-fatal.h: New file.
3049 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3050 * nptl/forward.c: Include it.
3051 (__pthread_unwind): Use __safe_fatal as default action, rather
3052 than a bogus use of INTERNAL_SYSCALL that could never work.
3053
9fe7e787
RM
3054 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3055 * configure.ac (libc_cv_builtin_trap): New test.
3056 * configure: Regenerated.
3057 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3058 (ABORT_INSTRUCTION): Define using __builtin_trap.
3059
23fe486b
RM
3060 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3061 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3062 * sysdeps/nptl/nptl-signals.h: New file.
3063 * nptl/pthreadP.h: Include <nptl-signals.h>.
3064
f349489e
SL
30652014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3066
3067 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3068 (ONE_DIRECTION): Define.
3069 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3070 (ONE_DIRECTION): Define.
3071 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3072 (ONE_DIRECTION): Define.
3073
2f438e20
SL
30742014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3075
3076 * sysdeps/s390/Makefile: Delete file.
3077 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3078 * sysdeps/s390/__longjmp.c: Delete file.
3079 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3080 Remove fields __flags and __reserved.
3081 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3082 and add versioning.
3083 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3084 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3085 * sysdeps/s390/rtld-setjmp.S: Likewise.
3086 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3087 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3088 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3089 * sysdeps/s390/s390-32/setjmp.S: ... here.
3090 Add versioning.
3091 (__sigsetjmp): Remove setting __flags field.
3092 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3093 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3094 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3095 * sysdeps/s390/s390-64/setjmp.S: ... here.
3096 Add versioning.
3097 (__sigsetjmp): Remove setting __flags field.
3098 * sysdeps/s390/setjmp.S: Delete file.
3099 * sysdeps/s390/sigjmp.c: Likewise.
3100 * sysdeps/s390/v1-longjmp.c: Likewise.
3101 * sysdeps/s390/v1-setjmp.h: Likewise.
3102 * sysdeps/s390/v1-sigjmp.c: Likewise.
3103 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3104 Remove v1-longjmp_chk.
3105 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3106 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3107 Include debug/longjmp_chk.c and add versioning.
3108 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3109 Include nptl/pt-longjmp.c and add versioning.
3110 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3111 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3112 Include __longjmp.c.
3113 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3114 Move to ...
3115 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3116 (__getcontext): Remove setting __flags field.
3117 Add versioning.
3118 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3119 Don't restore upper high grps.
3120 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3121 Likewise.
3122 (__swapcontext): Remove setting uc_flags field.
3123 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3124 Delete file.
3125 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3126 Include __longjmp.c.
3127 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3128 Move to ...
3129 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3130 (__getcontext): Remove setting __flags field.
3131 Add versioning.
3132 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3133 (__swapcontext): Remove setting uc_flags field.
3134 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3135 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3136 Remove fields uc_high_gprs and __reserved.
3137 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3138 New file with reverted content.
3139 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3140 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3141 Regenerated.
3142 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3143 Regenerated.
3144
6c9578a2
AS
31452014-07-31 Andreas Schwab <schwab@suse.de>
3146
3147 * config.h.in (HAVE_IFUNC): Define to 0.
3148 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3149 definedness.
3150
05f3633d
LM
31512014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3152
3153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3154 memmove-avx-unaligned, memcpy-avx-unaligned and
3155 mempcpy-avx-unaligned.
3156 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3157 Add tests for AVX memcpy functions.
3158 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3159 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3160 memcpy_chk.
3161 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3162 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3163 memmove_chk.
3164 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3165 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3166 mempcpy_chk.
3167 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3168 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3169 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3170
a53fbd8e
AZ
31712013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3172
3173 [BZ #17213]
3174 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3175 powerpc64le.
3176
0961f7e1
JL
31772014-07-29 Jeff Layton <jlayton@poochiereds.net>
3178
3179 [BZ #16839]
3180 * manual/llio.texi: Add section about open file description locks.
3181 * manual/examples/ofdlocks.c: Example of open file description
3182 lock usage.
3183 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3184 F_OFD_SETLK, and F_OFD_SETLKW.
3185
cc5fb300
AM
31862014-07-23 Allan McRae <allan@archlinux.org>
3187
3188 * po/es.po: Update Spanish translation from translation project.
3189
23329dca
AS
31902014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3191
3192 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3193
9c82da17
MR
31942014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3195
3196 [BZ #17078]
3197 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3198 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3199 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3200
29c4f53e
JM
32012014-07-17 Joseph Myers <joseph@codesourcery.com>
3202
831b9896
JM
3203 [BZ #17088]
3204 * math/fesetenv.c (__fesetenv)
3205 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3206 * math/feupdateenv.c (__feupdateenv)
3207 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3208
b21c2d50
JM
3209 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3210 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3211 (__ASSUME_SOCKETCALL): Do not define.
3212
067764ef
JM
3213 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3214 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3215 (__ASSUME_SOCKETCALL): Do not define.
3216 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3217 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3218 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3219 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3220 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3221 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3222 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3223 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3224
642530c1
JM
3225 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3226 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3227 (__ASSUME_SOCKETCALL): Do not define.
3228 (__ASSUME_IPC64): Define unconditionally.
3229 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3230 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3231 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3232 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3233 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3234 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3235 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3236 Likewise.
3237
03f77315
JM
3238 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3239 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3240 (__ASSUME_SOCKETCALL): Do not define.
3241 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3242 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3243 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3244 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3245 (__ASSUME_REQUEUE_PI): Define unconditionally.
3246 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3247 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3248 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3249 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3250 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3251 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3252
083b1f7c
JM
3253 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3254 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3255 (__ASSUME_SOCKETCALL): Do not define.
3256 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3257 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3258 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3259 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3260 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3261 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3262
5be44ea6
JM
3263 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3264 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3265 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3266 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3267 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3268 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3269 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3270 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3271 (__ASSUME_GETCPU_SYSCALL): Likewise.
3272
d95ffd4c
JM
3273 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3274 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3275 cases for individual architectures.
3276 * sysdeps/gnu/configure: Regenerated.
3277 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3278 LIBC_SLIBDIR_RTLDDIR.
3279 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3280 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3281 LIBC_SLIBDIR_RTLDDIR.
3282 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3284 LIBC_SLIBDIR_RTLDDIR.
3285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3286 Regenerated.
3287 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3288 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3289 file.
3290 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3291 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3292 file.
3293 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3294 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3295 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3296 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3297
29c4f53e
JM
3298 * sysdeps/aarch64/shlib-versions: Move to ...
3299 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3300 * sysdeps/alpha/shlib-versions: Move to ...
3301 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3302 * sysdeps/arm/shlib-versions: Move to ...
3303 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3304 * sysdeps/hppa/shlib-versions: Move all contents except for
3305 libgcc_s entry to ...
3306 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3307 entry from ...
3308 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3309 * sysdeps/ia64/shlib-versions: Move to ...
3310 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3311 entry from ...
3312 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3313 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3314 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3315 * sysdeps/microblaze/shlib-versions: Move to ...
3316 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3317 * sysdeps/mips/shlib-versions: Move to ...
3318 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3319 entry from ...
3320 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3321 * sysdeps/tile/shlib-versions: Move to ...
3322 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3323 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3324 from ...
3325 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3326 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3327 entry from ...
3328 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3329
32bead5b
WN
33302014-07-17 Will Newton <will.newton@linaro.org>
3331
57977c4b
WN
3332 * sysdeps/arm/bits/atomic.h
3333 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3334 (__arch_compare_and_exchange_bool_16_int): Likewise.
3335 (__arch_compare_and_exchange_bool_64_int): Likewise.
3336
32bead5b
WN
3337 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3338 into an #else block.
3339
37fccd41
RM
33402014-07-16 Roland McGrath <roland@hack.frob.com>
3341
3342 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3343 just Linux configurations. Test empirically that the compiler sets
3344 __ARM_EABI__, rather than using the tuple to decide.
3345 * sysdeps/arm/preconfigure: Regenerated.
3346 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3347 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3348 contents appended ...
3349 * sysdeps/arm/configure.ac: ... here.
3350 * sysdeps/arm/configure: Regenerated.
3351
b365f3ec
RM
33522014-07-15 Roland McGrath <roland@hack.frob.com>
3353
8badf496
RM
3354 * nptl/pthread_kill.c: New file.
3355 * nptl/pthread_sigmask.c: New file.
3356 * nptl/pthread_sigqueue.c: New file.
3357
3df6f22e
RM
3358 * sysdeps/nptl/lowlevellock.h: New file.
3359 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3360 * sysdeps/nptl/lowlevellock-futex.h: New file.
3361
b365f3ec
RM
3362 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3363 Remove dead declarations.
3364
f2fef657
L
33652014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3366
3367 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3368 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3369 config-cflags-avx2.
3370 * sysdeps/x86_64/configure.ac: Likewise.
3371 * sysdeps/i386/configure: Regenerated.
3372 * sysdeps/x86_64/configure: Likewise.
3373 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3374 memset-avx2 only if config-cflags-avx2 is yes.
3375 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3376 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3377 defined.
3378 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3379 only if HAVE_AVX2_SUPPORT is defined.
3380 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3381
f6c44d47
AM
33822014-07-14 Alan Modra <amodra@gmail.com>
3383
3384 [BZ #17153]
3385 * elf/elf.h (DT_PPC64_NUM): Correct value.
3386 * NEWS: Add to fixed bug list.
3387
7ee03f00
JM
33882014-07-13 Jim Meyering <meyering@fb.com>
3389
3390 [BZ 17150]
3391 regex: don't deref NULL upon heap allocation failure
3392 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3393 failure in one more place.
3394 To trigger the segfault, configure grep -with-included-regex,
3395 build it, and run these commands:
3396 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3397
9d39d517
AS
33982014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3399
3400 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3401
a75b89b7
RH
34022014-07-11 Richard Henderson <rth@redhat.com>
3403
3404 * sysdeps/aarch64/libm-test-ulps: Update.
3405
771eb141
FW
34062014-07-10 Florian Weimer <fweimer@redhat.com>
3407
3408 [BZ #17135]
3409 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3410 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3411 (__nptl_setxid): Initialize error member. Call
3412 __nptl_setxid_error.
3413 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3414 * nptl/descr.h (struct xid_command): Add error member.
3415 * nptl/tst-setuid3.c: New file.
3416 * nptl/Makefile (tests): Add it.
3417
bc1da176
AZ
34182014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3419
3420 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3421 New define.
3422 (__lll_trylock): Use __lll_base_trylock.
3423 (__lll_cond_trylock): Likewise.
3424
887865fc
RM
34252014-07-10 Roland McGrath <roland@hack.frob.com>
3426
c0c6bac9
RM
3427 * nptl/pthread_create.c (start_thread): Use atomic_or and
3428 lll_futex_wake directly rather than lll_robust_dead.
3429 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3430 (lll_robust_dead): Macro removed.
6a42be57 3431 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
3432 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3433 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3434 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3435 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3436 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3437 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3438 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3439 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3440 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3441 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3442 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3443 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3444 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3445 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3446
887865fc
RM
3447 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3448 Use atomic_compare_and_exchange_val_acq directly rather than
3449 lll_robust_trylock.
3450 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3451 (__lll_robust_trylock, lll_robust_trylock): Removed.
3452 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3453 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3454 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3455 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3456 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3457 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3458 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3459 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3460 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3461 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3462 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3463 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3464 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3465 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3466
58536726
FW
34672014-07-02 Florian Weimer <fweimer@redhat.com>
3468
3469 * manual/locale.texi (Locale Names): New section documenting
3470 locale name syntax. Adjust menu and node chaining accordingly.
3471 (Choosing Locale): Reference Locale Names, Locale Categories.
3472 Mention setting LC_ALL=C. Reflect that name syntax is now
3473 documented.
3474 (Locale Categories): New section title. Reference Locale Names.
3475 LC_ALL is an environment variable, but not a category.
3476 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3477 description, now in Locale Name. Reference that section. Locale
3478 name syntax is now documented.
3479
4e8f95a0
FW
34802014-07-02 Florian Weimer <fweimer@redhat.com>
3481
3482 [BZ #17137]
3483 * locale/findlocale.c (name_present, valid_locale_name): New
3484 functions.
3485 (_nl_find_locale): Use the loc_name variable to store name
3486 candidates. Call name_present and valid_locale_name to check and
3487 validate locale names. Return an error if the locale is invalid.
3488
d1836456
FW
34892014-07-02 Florian Weimer <fweimer@redhat.com>
3490
3491 * locale/setlocale.c (setlocale): Use strdup for allocating
3492 composite name copy.
3493
d69b7f5a
SP
34942014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3495
888c679b
SP
3496 Sync up with gnulib.
3497 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3498 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3499 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3500 and _GL_ARG_NONNULL.
3501 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3502 [!_LIBC]: Include code for Windows and Cygwin.
3503 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3504 Include prototype for int strerror_r.
3505 [!_LIBC] (is_open): New function.
3506 (flush_stdout): New function.
3507 (print_errno_message): Use it.
3508 (error): Likewise.
3509 (error_at_line): Likewise.
3510 (error_tail) Add function attribute macros. Use
3511 __builtin_expect.
3512
180e0e4b
SP
3513 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3514
d22f1fe2
SP
3515 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3516
12f2254b
SP
3517 * io/ftw.c: Include sys/param.h unconditionally.
3518
c3c7c360
SP
3519 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3520
d62aa75a
SP
3521 [BZ #17125]
3522 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3523 libc_freeres_ptr.
3524 (freecache): New function to free CACHE on exit.
3525
d69b7f5a
SP
3526 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3527 initialization.
3528
5efe06a1
DM
35292014-07-09 David S. Miller <davem@davemloft.net>
3530
3531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3532
7000d82e
DM
3533 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3534 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3535 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3536 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3537 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3538 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3539 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3540 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3541 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3542 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3543 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3544 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3545 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3546
c213442d
AS
35472014-07-09 Andreas Schwab <schwab@suse.de>
3548
4a2552c3
AS
3549 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3550 output.
3551 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3552 (do_test): Likewise.
3553
c213442d
AS
3554 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3555
82374e65
WN
35562014-07-09 Will Newton <will.newton@linaro.org>
3557
3558 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3559 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3560 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3561 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3562 * sysdeps/hppa/start.S (_start): Likewise.
3563
6680738a
SP
35642014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3565
6ee3eab4
SP
3566 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3567
6680738a
SP
3568 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3569 defined.
3570
80b5c505
SP
35712014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3572
e35c53e3
SP
3573 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3574 after checking that it is non-NULL.
3575
80b5c505
SP
3576 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3577
91f4b564
AZ
35782014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3579
27b75f56
AZ
3580 * sysdeps/powerpc/memmove.c: Remove file.
3581 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3582 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3583 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3584 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3585 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3586 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3587 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3588 string memmove instead of removed powerpc one.
3589
e7f95bb5
AZ
3590 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3591 [weak_alias]: Fix compiler warning due trailing data.
3592 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3593 [weak_alias]: Likewise.
3594 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3595 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3596
91f4b564
AZ
3597 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3598 (__libc_ifunc_impl_list): Add memmove functions.
3599
7c33f1e5
SP
36002014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3601
3602 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3603 Remove code.
3604 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3605 Likewise
3606 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3607 Likewise
3608 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3609 Likewise
3610 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3611 Likewise
3612 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3613 Likewise
3614 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3615 Likewise
3616 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3617 Likewise
3618 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3619 Likewise
3620 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3621 Likewise
3622 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3623 Likewise
3624 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3625 Likewise
3626 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3627 Likewise
3628 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3629 Likewise
3630 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3631 Likewise
3632 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3633 Likewise
3634 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3635 Likewise
3636
3f17b03b
AZ
36372014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3638
87868c24
AZ
3639 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3640 to avoid alignment traps in non-cacheable memory.
3641 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3642
07aedd78
AZ
3643 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3644 multiarch objects.
3645 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3646 file: multiarch power7 memmove.
3647 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3648 multiarch default memmove.
3649 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3650 multiarch memove for powerpc32/power4.
3651
17762f66
AZ
3652 * string/bcopy.c: Use full path to include memmove.c.
3653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3654 multiarch objects.
3655 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3656 bcopy for powerpc64.
3657 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3658 bcopy for powerpc64.
3659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3660 and memmove implementations.
3661 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3662 optimized multiarch memmove for POWER7/powerpc64.
3663 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3664 default multiarch memmove for powerpc64.
3665 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3666 multiarch for powerpc64.
3667 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3668 for POWER7/powerpc64.
3669 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3670 memmove for POWER7/powerpc64.
3671
d6f68bbe
AZ
3672 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3673 glibc default one.
3674
3f17b03b
AZ
3675 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3676 __ELF_NATIVE_CLASS equal to 64.
3677
08192659
RM
36782014-07-07 Roland McGrath <roland@hack.frob.com>
3679
f4c4021b
RM
3680 * sysdeps/nptl/lowlevellock.h: File removed.
3681
f083450f
RM
3682 * NEWS: NPTL is no longer an add-on!
3683 * nptl/internaltypes.h: Moved ...
3684 * sysdeps/nptl/internaltypes.h: ... here.
3685 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3686 * sysdeps/nptl/fork.c: Likewise.
3687 * sysdeps/nptl/gai_misc.h: Likewise.
3688 * sysdeps/nptl/librt-cancellation.c: Likewise.
3689 * sysdeps/nptl/jmp-unwind.c: Likewise.
3690 * sysdeps/nptl/setxid.h: Likewise.
3691 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3692 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3693 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3694 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3695 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3696 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3697 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3698 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3699 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3700 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3701 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3702 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3703 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3704 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3705 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3706 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3707 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3708 * nptl/Makeconfig: Moved ...
3709 * sysdeps/nptl/Makeconfig: ... here.
3710 * nptl/configure: File removed.
3711 * nptl/ANNOUNCE: File removed.
3712 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3713 * sysdeps/unix/sysv/linux/configure: Regenerated.
3714
08192659
RM
3715 * nptl/Makefile (routines): Add libc_pthread_init,
3716 libc_multiple_threads, register-atfork and unregister-atfork.
3717 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3718 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3719 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3720 pthread-pi-defines.sym, structsem.sym.
3721 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3722 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3723 [$(subdir) = nptl] (tests): Add tst-setgetname.
3724 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3725 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3726 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3727 [!LIBC_SIGACTION]: Remove aliases.
3728 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3729 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3730 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3731 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3732 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3733 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3734 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3735 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3736 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3737 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3738 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3739 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3740 __libc_allocate_rtsig_private.
3741 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3742 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3743 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3744 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3745 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3746 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3747 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3748 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3749 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3750 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3751 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3752 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3753 * nptl/internaltypes.h: ... here.
3754 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3755 * sysdeps/nptl/jmp-unwind.c: ... here.
3756 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3757 * nptl/libc-lowlevellock.c: ... here.
3758 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3759 * nptl/libc_multiple_threads.c: ... here.
3760 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3761 * nptl/libc_pthread_init.c: ... here.
3762 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3763 * nptl/lowlevelbarrier.sym: ... here.
3764 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3765 * nptl/lowlevelcond.sym: ... here.
3766 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3767 * nptl/lowlevellock.c: ... here.
3768 * nptl/lowlevellock.h: Moved ...
3769 * sysdeps/nptl/lowlevellock.h: ... here.
3770 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3771 * nptl/lowlevelrobustlock.c: ... here.
3772 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3773 * nptl/lowlevelrobustlock.sym: ... here.
3774 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3775 * nptl/lowlevelrwlock.sym: ... here.
3776 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3777 * nptl/pt-fork.c: ... here.
3778 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3779 * nptl/pthread-pi-defines.sym: ... here.
3780 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3781 * nptl/pthread_attr_getaffinity.c: ... here.
3782 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3783 * nptl/pthread_attr_setaffinity.c: ... here.
3784 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3785 * nptl/pthread_mutex_cond_lock.c: ... here.
3786 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3787 Update #include.
3788 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3789 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3790 * nptl/pthread_once.c: ... here, replacing old file.
3791 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3792 * nptl/pthread_yield.c: ... here.
3793 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3794 * nptl/register-atfork.c: ... here.
3795 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3796 * nptl/sem_post.c: ... here.
3797 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3798 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3799 * nptl/sem_timedwait.c: ... here.
3800 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3801 * nptl/sem_trywait.c: ... here.
3802 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3803 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3804 * nptl/sem_wait.c: ... here.
3805 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3806 * nptl/structsem.sym: ... here.
3807 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3808 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3809 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3810 * nptl/unregister-atfork.c: ... here.
3811 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3812 * nptl/unwindbuf.sym: ... here.
3813 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3814 * sysdeps/nptl/fork.c: ... here.
3815 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3816 * sysdeps/nptl/fork.h: ... here.
3817 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3818 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3819 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3820 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3821 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3822 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3823 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3824 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3825 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3826 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3827 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3828 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3829 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3830 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3831 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3832 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3833 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3834 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3835 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3836 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3837 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3838 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3839 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3840 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3841 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3842 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3843 * sysdeps/unix/sysv/linux/raise.c: ... here.
3844 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3845 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3846 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3847 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3848 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3849 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3850 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3851 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3852 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3853 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3854 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3855 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3856 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3857 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3858 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3859
96baf6ff
SP
38602014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3861
3862 * sysdeps/generic/memcopy.h: Add comment for
3863 MEMCPY_OK_FOR_FWD_MEMMOVE.
3864
6b7b14b2
WN
38652014-07-04 Will Newton <will.newton@linaro.org>
3866
1570a72b
WN
3867 * string/memchr.c: Merge from gnulib.
3868 [_LIBC]: Remove conditionals.
3869 (__ptr_t): Remove define.
3870 (LONG_MAX_32_BITS): Likewise.
3871 (LONG_MAX): Likewise.
3872 (MEMCHR): Use ANSI prototype and optimize algorithm.
3873
6b7b14b2
WN
3874 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3875
38851324
SP
38762014-07-03 Roland McGrath <roland@hack.frob.com>
3877
3d9eb57c
RM
3878 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3879 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3880
78b984ae
RM
3881 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3882 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3883 in a bare environment with no <stdlib.h> installed.
3884 * sysdeps/nptl/configure: Regenerated.
3885
2d5976a5
RM
3886 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3887
c1f5acd4
RM
3888 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3889 AC_EGREP_CPP for kernel header checks, so they only succeed if
3890 including <linux/version.h> actually works right.
3891 * sysdeps/unix/sysv/linux/configure: Regenerated.
3892
4d614fe5
RM
3893 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3894 value so it's not diagnosed as unused.
3895
38851324
SP
3896 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3897 thing) with "ifeq ($(subdir),rt)".
3898
b3ec00e5
RH
38992014-07-03 Richard Henderson <rth@redhat.com>
3900
69862e25
RH
3901 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3902 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3903 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3904
d5e16ade
RH
3905 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3906 (math_force_eval): New.
3907
ca7b945c
RH
3908 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3909 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3910
cd1175a3
RH
3911 * sysdeps/alpha/fpu/s_round.c: Remove file.
3912 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3913
b3ec00e5
RH
3914 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3915 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3916 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3917 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3918 (_dl_start, print_statistics): Likewise.
3919 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3920 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3921
3922 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3923 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3924 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3925 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3926 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3927 (HP_SMALL_TIMING_AVAIL): Define.
3928 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3929 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3930 (HP_SMALL_TIMING_AVAIL): Define.
3931 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3932 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3933
3934 * sysdeps/aarch64/hp-timing.h: New file.
3935
3936 * sysdeps/generic/hp-timing.h: Remove dead comment.
3937 * sysdeps/generic/hp-timing-common.h: New file.
3938 * sysdeps/alpha/hp-timing.h: Include it.
3939 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3940 * sysdeps/i386/i686/hp-timing.h: Likewise.
3941 * sysdeps/ia64/hp-timing.h: Likewise.
3942 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3943 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3944 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3945 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3946 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3947 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3948 (hp_timing_t): New.
3949
3950 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3951 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3952 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3953 * elf/rtld.c (_dl_start_final): Likewise.
3954 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3955 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3956 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3957 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3958 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3959 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3960 (HP_TIMING_DIFF_INIT): Remove.
3961 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3962 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3963 (HP_TIMING_DIFF_INIT): Remove.
3964 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3965 * sysdeps/i386/i686/hp-timing.c: Remove file.
3966 * sysdeps/x86_64/hp-timing.c: Remove file.
3967 * sysdeps/ia64/hp-timing.c: Remove file.
3968 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3969 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3970 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3971 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3972
3973 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3974 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3975 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3976 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3977 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3978 (HP_TIMING_ACCUM): Remove.
3979 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3980 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3981 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3982
3983 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3984 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3985 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3986 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3987 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3988 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3989 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3990 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3991
3992 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3993
225f410f
MR
39942014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3995
3996 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3997
3247f285
SP
39982014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3999
4000 Sync up with gettext.
4001 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4002 [_MSC_VER]: Include malloc.h
4003 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4004 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4005 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4006 TEMP_FAILURE_RETRY. Cast return of alloca.
4007 [!_LIBC] Call gl_rwlock_init.
4008 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4009
d12704c7
SP
40102014-07-02 Roland McGrath <roland@hack.frob.com>
4011
4012 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4013 before checking its value.
4014
99f8dc92
SP
40152014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4016
05fdac77
SP
4017 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4018
99f8dc92
SP
4019 * debug/memcpy_chk.c: Don't include pagecopy.h.
4020 * debug/mempcpy_chk.c: Likewise.
4021 * string/memcpy.c: Likewise.
4022 * string/memmove.c: Likewise.
4023 * sysdeps/powerpc/memmove.c: Likewise.
4024 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4025 definition of PAGE_COPY_FWD_MAYBE here...
4026 * sysdeps/generic/pagecopy.h: ... from here.
4027 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4028
bc8ea385
VR
40292014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4030 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4031
4032 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4034 optimizations.
4035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4036 (__libc_ifunc_impl_list): Likewise.
4037 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4038 multiarch strcat for PPC64.
4039 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4040 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4041
fe5f34e4
RM
40422014-07-02 Roland McGrath <roland@hack.frob.com>
4043
4044 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4045
256aa665
SP
40462014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4047
d4eb8195
SP
4048 * intl/loadmsgcat.c: Remove declaration of
4049 get_sysdep_segment_value.
4050 (get_sysdep_segment_value): Use ISO C style.
4051 (_nl_load_domain): Use ISO C style. Get rid of redundant
4052 semicolon. Fix typo and formatting in comment.
4053 (_nl_unload_domain): Use ISO C style.
4054
256aa665
SP
4055 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4056
b100f9aa
WN
40572014-07-02 Will Newton <will.newton@linaro.org>
4058
4059 * malloc/obstack.c: Merge from gnulib master.
4060 [HAVE_CONFIG_H]: Remove conditional code.
4061 [!_LIBC]: Include config.h.
4062 [!ELIDE_CODE]: Don't include inttypes.h, include
4063 stdint.h unconditionally.
4064 (print_and_abort): Mark as _Noreturn.
4065 (_obstack_allocated_p): Mark as __attribute_pure__.
4066 (obstack_free): Rename to __obstack_free.
4067 [!__attribute__]: Remove conditional code.
4068 * malloc/obstack.h: Merge from gnulib master.
4069 [__cplusplus]: Move conditional down.
4070 [!__attribute_pure__]: Define __attribute_pure__ here
4071 if it is not already defined.
4072 (_obstack_memory_used): Mark as __attribute_pure__.
4073 [!__obstack_free]: Define as obstack_free.
4074 [__GNUC__]: Remove check for ancient NeXT gcc.
4075
c4c41244
PE
40762014-07-02 Will Newton <will.newton@linaro.org>
4077 Paul Eggert <eggert@cs.ucla.edu>
4078
4079 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4080
e1e041c4
SP
40812014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4082
4083 * resolv/gethnamaddr.c: Add comment warning that the file is
4084 not maintained.
4085
ccf431ff
CD
40862014-07-01 Carlos O'Donell <carlos@redhat.com>
4087
d34570a6
CD
4088 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4089 entries.
4090
ccf431ff
CD
4091 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4092 entry for aio_cancel and aio_cancel64.
4093 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4094 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4095 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4096 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4097 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4098 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4099 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4100 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4101 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4102 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4103 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4104 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4105 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4106
ca06321d
RM
41072014-07-01 Roland McGrath <roland@hack.frob.com>
4108
4109 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4110 * nptl/pthread_mutex_lock.c: Likewise.
4111 * nptl/pthread_mutex_timedlock.c: Likewise.
4112 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4113
a1ac3184
RH
41142014-07-01 Richard henderson <rth@redhat.com>
4115
631021e0
RH
4116 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4117 (__isnan, __isnanl): Remove.
4118 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4119
a1ac3184
RH
4120 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4121
0c1d731f
SL
41222014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4123
4124 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4125
76985d3e
SP
41262014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4127
4128 * resolv/nss_dns/dns-host.c (getanswer_r)
4129 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4130
b0cb3096
JM
41312014-07-01 Joseph Myers <joseph@codesourcery.com>
4132
4133 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4134 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4135 undefine.
4136 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4137 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4138
4d76cb39
RM
41392014-07-01 Roland McGrath <roland@hack.frob.com>
4140
4141 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4142 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4143
4144 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4145 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4146
4147 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4148 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4149 ... here.
4150 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4151 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4152
4153 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4154 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4155 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4156 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4157
4158 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4159 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4160 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4161 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4162 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4163 Moved ...
4164 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4165 ... here.
4166 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4167 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4168 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4169 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4170 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4171 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4172 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4173 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4174 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4175 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4176 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4177 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4178 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4179 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4180 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4181 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4182 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4183 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4184 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4185 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4186 ... here.
4187 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4188 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4189 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4190 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4191 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4192 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4193 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4194 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4195
0cdcad17
DH
41962014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4197
4198 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4199 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4200 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4201 Add sysdep.
4202
9b71d0e3
AZ
42032014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4204
4205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4206
665390c2
JM
42072014-06-30 Joseph Myers <joseph@codesourcery.com>
4208
ae05a9d7
JM
4209 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4210 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4211
a7672a2f
JM
4212 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4213
665390c2
JM
4214 * sysdeps/arm/libm-test-ulps: Regenerated.
4215
d7a05d07
MR
42162014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4217 Roland McGrath <roland@hack.frob.com>
4218
4219 * test-skeleton.c (signal_handler): Kill the whole process group
4220 before killing the child individually.
4221 (main): Report any failure on `setpgid'.
4222
46f1d8a6
RM
42232014-06-30 Roland McGrath <roland@hack.frob.com>
4224
4225 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4226 from _TLS_H to _ARM_NPTL_TLS_H.
4227 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4228 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4229
9c37ec0b
JM
42302014-06-30 Joseph Myers <joseph@codesourcery.com>
4231
ce9c5b3e
JM
4232 [BZ #16539]
4233 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4234 (__expm1l): Return argument unchanged when small but not
4235 subnormal.
4236
3a6e9887
JM
4237 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4238 include macro name.
4239 (_FP_UNPACK_RAW_1_P): Likewise.
4240 (_FP_PACK_RAW_1): Likewise.
4241 (_FP_PACK_RAW_1_P): Likewise.
4242 (_FP_MUL_MEAT_1_wide): Likewise.
4243 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4244 (_FP_MUL_MEAT_1_hard): Likewise.
4245 (_FP_DIV_MEAT_1_imm): Likewise.
4246 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4247 (_FP_DIV_MEAT_1_udiv): Likewise.
4248 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4249 (_FP_UNPACK_RAW_2): Likewise.
4250 (_FP_UNPACK_RAW_2_P): Likewise.
4251 (_FP_PACK_RAW_2): Likewise.
4252 (_FP_PACK_RAW_2_P): Likewise.
4253 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4254 (_FP_MUL_MEAT_2_wide): Likewise.
4255 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4256 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4257 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4258 (_FP_MUL_MEAT_2_gmp): Likewise.
4259 (_FP_DIV_MEAT_2_udiv): Likewise.
4260 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4261 (_FP_FRAC_SRL_4): Likewise.
4262 (_FP_FRAC_SRST_4): Likewise.
4263 (_FP_FRAC_SRS_4): Likewise.
4264 (_FP_UNPACK_RAW_4): Likewise.
4265 (_FP_UNPACK_RAW_4_P): Likewise.
4266 (_FP_PACK_RAW_4): Likewise.
4267 (_FP_PACK_RAW_4_P): Likewise.
4268 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4269 (_FP_MUL_MEAT_4_wide): Likewise.
4270 (_FP_MUL_MEAT_4_gmp): Likewise.
4271 (umul_ppppmnnn): Likewise.
4272 (_FP_DIV_MEAT_4_udiv): Likewise.
4273 (__FP_FRAC_ADD_4): Likewise.
4274 (__FP_FRAC_SUB_3): Likewise.
4275 (__FP_FRAC_SUB_4): Likewise.
4276 (__FP_FRAC_DEC_3): Likewise.
4277 (__FP_FRAC_DEC_4): Likewise.
4278 (__FP_FRAC_ADDI_4): Likewise.
4279 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4280 (_FP_FRAC_SRL_8): Likewise.
4281 (_FP_FRAC_SRS_8): Likewise.
4282
9c37ec0b
JM
4283 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4284 include macro name.
4285 (FP_UNPACK_RAW_EP): Likewise.
4286 (FP_PACK_RAW_E): Likewise.
4287 (FP_PACK_RAW_EP): Likewise.
4288 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4289 (_FP_ISSIGNAN): Likewise.
4290 (_FP_ADD_INTERNAL): Likewise.
4291 (_FP_FMA): Likewise.
4292 (_FP_CMP): Likewise.
4293 (_FP_SQRT): Likewise.
4294 (_FP_TO_INT): Likewise.
4295 (_FP_FROM_INT): Likewise.
4296 (FP_EXTEND): Likewise.
4297 (_FP_DIV_MEAT_N_loop): Likewise.
4298
2125f674
MR
42992014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4300
4301 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4302 throughout.
4303
edea4028
JM
43042014-06-29 Joseph Myers <joseph@codesourcery.com>
4305
4306 [BZ #17097]
4307 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4308 result with correct sign in case of exponents that produce
4309 overflow except for X very close to 1.
4310
dd0ba018
PE
43112014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4312
4313 mktime: merge #if/#ifdef usage from glibc
4314 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4315 as that works with both Glibc's and Gnulib's style.
4316 See thread starting at Siddhesh Poyarekar's bug report at:
4317 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4318
64df73c2
SP
43192014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4320
4321 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4322 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4323 * sysdeps/tile/tilegx/memmove.c: Remove file.
4324
f1eafb41
JM
43252014-06-27 Joseph Myers <joseph@codesourcery.com>
4326
4327 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4328 abi-name definition.
4329 * scripts/soversions.awk: Do not handle or generate ABI lines.
4330 * shlib-versions: Remove ABI entries.
4331 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4332 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4333
58eb0862
RM
43342014-06-27 Roland McGrath <roland@hack.frob.com>
4335
37caf178
RM
4336 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4337 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4338 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4339 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4340 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4341 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4342 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4343 Moved ...
4344 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4345 ... here.
4346 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4347 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4348 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4349 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4350 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4351 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4352 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4353 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4354 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4355 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4356 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4357 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4358 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4359 Moved ...
4360 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4361 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4362 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4363 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4364 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4365 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4366 Moved ...
4367 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4369 Moved ...
4370 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4371 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4372 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4373 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4374 Moved ...
4375 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4376 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4377 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4378 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4379 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4380 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4381 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4382 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4383 Moved ...
4384 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4385 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4386 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4387 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4388 Moved ...
4389 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4390 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4391 Moved ...
4392 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4393 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4394 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4395 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4396 Moved ...
4397 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4398 ... here.
4399 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4400 Identical file removed.
4401 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4402 Moved ...
4403 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4404 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4405 Identical file removed.
4406 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4407 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4408 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4409 Moved ...
4410 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4411 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4412 Identical file removed.
4413 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4414 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4415 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4416 Identical file removed.
4417 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4418 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4419 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4420 Identical file removed.
4421 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4422 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4423 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4424 Identical file removed.
4425 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4426 Moved ...
4427 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4428 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4429 Identical file removed.
4430 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4431 Moved ...
4432 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4433 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4434 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4435 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4436 Identical file removed.
4437 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4438 Moved ...
4439 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4440 ... here.
4441 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4442 Identical file removed.
4443 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4444 Moved ...
4445 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4446 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4447 Identical file removed.
4448 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4449 Moved ...
4450 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4451 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4452 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4453 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4454 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4455 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4456 Moved ...
4457 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4458 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4459 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4460
58eb0862
RM
4461 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4462 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4463 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4464 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4465 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4466
6f12d062
AS
44672014-06-27 Arjun Shankar <arjun.is@lostca.se>
4468
4469 [BZ #17092]
4470 * nscd/nscd.c (monitor_child): Return exit status of child
4471 instead of return value from wait syscall.
4472
be254932
JM
44732014-06-27 Joseph Myers <joseph@codesourcery.com>
4474
cb403c34
JM
4475 * configure.ac (libc_commonpagesize): Remove variable.
4476 (libc_relro_required): Likewise.
4477 (libc_cv_z_relro): Remove configure test.
4478 * configure: Regenerated.
4479 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4480 variable.
4481 (libc_relro_required): Likewise.
4482 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4483 (libc_relro_required): Likewise.
4484 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4485 (libc_relro_required): Likewise.
4486 * sysdeps/arm/preconfigure: Regenerated.
4487 * sysdeps/ia64/preconfigure: Remove file.
4488 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4489 variable.
4490 (libc_relro_required): Likewise.
4491
be254932
JM
4492 [BZ #16561]
4493 [BZ #16562]
4494 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4495 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4496 recompute overflowing results in original rounding mode.
4497 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4498 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4499 recompute overflowing results in original rounding mode.
4500 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4501 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4502 recompute overflowing results in original rounding mode.
4503 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4504 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4505 recompute overflowing results in original rounding mode.
4506 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4507 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4508 recompute overflowing results in original rounding mode.
4509 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4510 (libc_feholdsetround_ctx): New macro.
4511 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4512 * sysdeps/i386/fpu/libm-test-ulps: Update.
4513 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4514
b351d85a
JM
45152014-06-26 Joseph Myers <joseph@codesourcery.com>
4516
4517 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4518 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4519 corresponding .cpsetup call.
4520
3cb4de47
RM
45212014-06-26 Roland McGrath <roland@hack.frob.com>
4522
4523 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4524 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4525 * sysdeps/arm/Makefile [$(subdir) = csu]
4526 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4527 (static-only-routines): Add aeabi_read_tp here.
4528 (shared-only-routines): Add libc-aeabi_read_tp here.
4529 (CFLAGS-libc-start.c): Add -fexceptions here.
4530 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4531 (sysdep_routines, static-only-routines, shared-only-routines):
4532 Don't add to these here.
4533 (CFLAGS-libc-start.c): Likewise.
4534
4535 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4536 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4537 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4538 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4539 * sysdeps/arm/Makefile [$(subdir) = rt]
4540 (librt-sysdep_routines, librt-shared-only-routines):
4541 Append rt-aeabi_unwind_cpp_pr1 here.
4542 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4543 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4544 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4545 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4546 Append nptl-aeabi_unwind_cpp_pr1 here.
4547 (tests): Filter out tst-cleanupx4 here.
4548 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4549 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4550 Don't do those here.
4551
354426bb
JM
45522014-06-26 Joseph Myers <joseph@codesourcery.com>
4553
4554 * scripts/list-sources.sh: Do not handle ports specially.
4555
28b0a8c9
RM
45562014-06-26 Roland McGrath <roland@hack.frob.com>
4557
a3dd035d
RM
4558 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4559 * sysdeps/arm/feupdateenv.c: Likewise.
4560
28b0a8c9
RM
4561 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4562
e66a8203
JM
45632014-06-26 Joseph Myers <joseph@codesourcery.com>
4564
4565 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4566 trailing whitespace removed.
4567 * scripts/config.guess: Update to version 2014-03-23.
4568 * scripts/config.sub: Update to version 2014-05-01
4569 * scripts/install-sh: Update to version 2013-12-25.23.
4570 * scripts/move-if-change: Update from gnulib.
4571
74171115
SP
45722014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4573
b97c9ce5
SP
4574 * debug/memmove_chk.c: Remove pagecopy.h include.
4575
4000f892
SP
45762014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4577
74171115
SP
4578 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4579 identical to gnulib mktime.
4580
a8779c28
JM
45812014-06-26 Joseph Myers <joseph@codesourcery.com>
4582
e64708de
JM
4583 * configure.ac: Do not test for machine being rs6000. Do not test
4584 for powerpc*-*soft.
4585 * configure: Regenerated.
4586
a8779c28
JM
4587 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4588 test.
4589 * configure: Regenerated.
4590 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4591 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4592 Remove configure test.
4593 * sysdeps/arm/configure: Regenerated.
4594 * sysdeps/nptl/configure.ac: Do not check
4595 libc_cv_asm_cfi_directives.
4596 * sysdeps/nptl/configure: Regenerated.
4597 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4598 * sysdeps/x86_64/nptl/configure: Remove generated file.
4599 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4600 unconditional.
4601 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4602
2aac0a86
SP
46032014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4604
059bf913
SP
4605 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4606 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4607 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4608 it is defined.
4609
4cf5b6d0
SP
4610 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4611 instead of whether it is defined.
4612 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4613 * sysdeps/hppa/dl-machine.h: Likewise.
4614 * sysdeps/ia64/dl-machine.h: Likewise.
4615 * sysdeps/m68k/dl-machine.h: Likewise.
4616 * sysdeps/microblaze/dl-machine.h: Likewise.
4617 * sysdeps/mips/dl-machine.: Likewise.
4618 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4619 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4620 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4621 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4622 * sysdeps/sh/dl-machine.h: Likewise.
4623 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4624 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4625 * sysdeps/tile/dl-machine.h: Likewise.
4626 * sysdeps/x86_64/dl-machine.h: Likewise.
4627
2aac0a86
SP
4628 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4629 code.
4630 (verify_persistent_db): Likewise.
4631
6ad2df0b
RM
46322014-06-26 Roland McGrath <roland@hack.frob.com>
4633
d8a483f3
RM
4634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4635 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4637 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4639 Moved ...
4640 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4641 ... here.
4642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4643 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4645 Identical file removed.
4646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4647 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4649 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4651 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4653 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4655 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4657 Moved ...
4658 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4660 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4662 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4664 Moved ...
4665 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4667 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4669 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4671 Identical file removed.
4672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4673 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4675 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4677 Moved ...
4678 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4679 ... here.
4680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4681 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4683 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4685 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4687 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4689 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4691 Moved ...
4692 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4694 Moved ...
4695 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4697 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4699 Moved ...
4700 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4702 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4703
52ae23b4
RM
4704 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4705 folded into ...
4706 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4707 * sysdeps/unix/sysv/linux/s390/Versions
4708 (libpthread: GLIBC_2.19): New version set.
4709 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4710 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4711 (librt: GLIBC_2.3.3): New version set.
4712 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4713 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4714 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4715 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4716 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4717 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4718 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4719 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4720 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4721 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4722 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4723 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4724 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4725 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4726 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4727 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4728 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4729 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4730 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4731 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4732 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4733 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4734 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4735 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4736 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4737 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4738 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4739 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4740 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4741 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4742 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4743 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4744 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4745 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4746 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4747 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4748 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4749 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4750 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4751 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4752 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4753 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4754 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4755 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4756 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4757
39507e4a
RM
4758 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4759 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4760 (__libc_vfork): Define the function under this name.
4761 [!NOT_IN_libc] (__vfork): Make this an alias.
4762 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4763 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4764 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4765 (__libc_vfork): Define the function under this name.
4766 [!NOT_IN_libc] (__vfork): Make this an alias.
4767 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4768 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4769 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4770 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4771 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4772 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4773
e549ee56
RM
4774 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4775 code that was previously under [RESET_PID].
4776 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4777 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4778 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4779
6ad2df0b
RM
4780 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4781 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4782 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4783 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4784 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4785 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4786 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4787 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4788 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4789 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4790 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4791 Moved ...
4792 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4793 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4794 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4795 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4796 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4797 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4798 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4799 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4800 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4801 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4802 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4803 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4804 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4805 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4806 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4807 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4808 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4809 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4810 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4811 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4812 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4813 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4814 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4815 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4816 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4817 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4818 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4819 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4820 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4821
7c1c1d8e
RM
48222014-06-25 Roland McGrath <roland@hack.frob.com>
4823
4824 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4825 that was previously under [RESET_PID].
4826 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4827
3e239be6
JM
48282014-06-25 Joseph Myers <joseph@codesourcery.com>
4829
74385da5
JM
4830 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4831 not undefine and redefine.
4832 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4833 [O_CLOEXEC]: Make code unconditional.
4834 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4835 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4836 <kernel-features.h>.
4837 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4838 conditional variable definition.
4839 (shm_open) [O_CLOEXEC]: Make code unconditional.
4840 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4841 code.
4842
c2570a0b
JM
4843 * configure.ac (USE_REGPARMS): Don't define here.
4844 * configure: Regenerated.
4845 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4846 * sysdeps/i386/configure: Regenerated.
4847
11b076bb
JM
4848 * nptl/createthread.c: Don't include kernel-features.h.
4849 * nptl/pthread_cancel.c: Likewise.
4850 * nptl/pthread_condattr_setclock.c: Likewise.
4851 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4852 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4853 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4854 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4855 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4856 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4857 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4858 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4859 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4860 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4861 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4862 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4863 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4864 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4865 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4866 * nscd/gai.c: Likewise.
4867 * nss/nss_db/db-open.c: Likewise.
4868 * sysdeps/generic/ldsodefs.h: Likewise.
4869 * sysdeps/sh/nptl/tls.h: Likewise.
4870 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4871 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4872 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4873 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4874 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4875 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4876 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4877 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4878 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4879 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4880 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4881 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4882 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4883 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4884 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4885 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4886 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4887 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4888 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4889 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4890 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4891 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4892 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4893 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4894 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4895 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4896 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4897 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4898 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4899 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4900 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4901 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4902 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4903 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4904 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4905 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4906 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4907 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4908 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4909 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4910 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4911 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4912 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4913 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4914 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4915 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4916 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4917 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4918 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4919 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4920 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4921 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4922 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4923 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4924 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4925 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4926 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4927 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4950 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4951 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4952 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4953 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4954 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4955 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4956 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4957 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4958 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4959 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4960 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4961 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4962 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4963 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4964 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4965 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4966 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4967 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4968 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4969 * sysdeps/unix/sysv/linux/system.c: Likewise.
4970 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4971 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4972 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4973 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4974 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4975 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4976 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4977
92072d57
JM
4978 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4979 * configure: Regenerated.
4980 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4981
3e239be6
JM
4982 * configure.ac (base_machine): Do not set specially for particular
4983 machines here.
4984 * configure: Regenerated.
4985 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4986 settings from configure.ac.
4987 * sysdeps/i386/preconfigure: New file.
4988 * sysdeps/s390/preconfigure: Likewise.
4989 * sysdeps/sh/preconfigure: Likewise.
4990 * sysdeps/sparc/preconfigure: Likewise.
4991
06d50baa
RM
49922014-06-25 Roland McGrath <roland@hack.frob.com>
4993
74836003
RM
4994 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4995 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4996 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4997 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4998 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4999 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5000 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5001 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5002 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5003 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5004 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5005 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5006 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5007 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5008 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5009 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5010 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5011 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5012 * sysdeps/sparc/sparc64/Makefile: ... appended here.
5013
5014 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5015 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5016 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5017 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5018 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5019 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5020 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5021 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5022 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5023 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5024 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5025 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5026 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5027 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5028 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5029 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5030 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5031 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5032 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5033 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5034 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5035 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5036 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5037 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5038 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5039 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5040 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5041 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5042 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5043 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5044 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5045 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5046 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5047 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5048 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5049 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5050 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5051 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5052
06d50baa
RM
5053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5054 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5056 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5058 Moved ...
5059 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5060 ... here.
5061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5062 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5064 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5066 Moved ...
5067 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5069 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5071 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5073 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5075 Moved ...
5076 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5078 Moved ...
5079 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5081 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5083 Moved ...
5084 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5086 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5088 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5090 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5092 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5094 Moved ...
5095 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5096 ... here.
5097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5098 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5100 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5102 Moved ...
5103 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5105 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5107 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5109 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5111 Moved ...
5112 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5114 Moved ...
5115 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5117 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5119 Moved ...
5120 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5122 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5124 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5125
a4ccbc9b
JM
51262014-06-25 Joseph Myers <joseph@codesourcery.com>
5127
0828edbf
JM
5128 * timezone/checktab.awk: Update from tzcode 2014e.
5129 * timezone/private.h: Likewise.
5130 * timezone/tzfile.h: Likewise.
5131 * timezone/zdump.c: Likewise.
5132 * timezone/zic.c: Likewise.
5133
a4ccbc9b
JM
5134 * sysdeps/unix/sysv/linux/kernel-features.h
5135 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5136 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5137 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5138 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5139 Remove conditional code.
5140
9aea0cb8
WN
51412014-06-25 Will Newton <will.newton@linaro.org>
5142
5143 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5144 (_dl_arm_cap_flags): Add HWCAP2 values.
5145 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5146 (_DL_HWCAP_COUNT): Increase to 37.
5147 (_DL_HWCAP_LAST): New define.
5148 (_DL_HWCAP2_LAST): New define.
5149 (_dl_procinfo): Add support for printing
5150 AT_HWCAP2 entries.
5151 (_dl_string_hwcap): Use _dl_hwcap_string.
5152
6eaa65ce
AZ
51532014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5154
5155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5156
0f5b7185
JM
51572014-06-25 Joseph Myers <joseph@codesourcery.com>
5158
cfd2ea50
JM
5159 * README: Do not mention ports directory.
5160
cecf2ed4
JM
5161 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5162 Remove macro.
5163 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5164 <kernel-features.h>.
5165 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5166 conditional variable definition.
5167 (__futimes): Update comment.
5168 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5169 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5170
a638de82
JM
5171 [BZ #16560]
5172 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5173 arguments close to 0.
5174 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5175 Likewise.
5176 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5177 Likewise.
5178 * math/auto-libm-test-in: Add more tests of exp10.
5179 * math/auto-libm-test-out: Regenerated.
5180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5181
0f5b7185
JM
5182 * sysdeps/unix/sysv/linux/kernel-features.h
5183 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5184 * sysdeps/unix/sysv/linux/readv.c: Do not include
5185 <kernel-features.h>.
5186 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5187 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5188 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5189 unconditional.
5190 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5191 conditional code.
5192 * sysdeps/unix/sysv/linux/writev.c: Do not include
5193 <kernel-features.h>.
5194 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5195 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5196 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5197 unconditional.
5198 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5199 conditional code.
5200
c7aec4be
WN
52012014-06-25 Will Newton <will.newton@linaro.org>
5202
5203 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5204 comment changes throughout the file. Remove checks
5205 for HAVE_*_H definitions that are not required.
5206 (__gen_tempname): Call abort if an unknown kind value is
5207 passed.
5208
c5241f95
AS
52092014-06-25 Andreas Schwab <schwab@suse.de>
5210
5211 [BZ #17086]
5212 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5213 scalbln, scalblnf, scalblnl in libc.
5214
911422da
SP
52152014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5216
5217 [BZ #17086]
5218 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5219 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5220 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5221
0d749bbe
RM
52222014-06-24 Roland McGrath <roland@hack.frob.com>
5223
5224 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5225 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5226 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5227 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5228 Update #include.
5229 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5230 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5231 Update #include.
5232 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5233 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5234 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5235 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5236 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5237 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5238 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5239 * sysdeps/x86/bits/semaphore.h: ... here.
5240 * sysdeps/x86/nptl/elide.h: Moved ...
5241 * sysdeps/x86/elide.h: ... here.
5242 * sysdeps/x86_64/nptl/Implies: File removed.
5243 * sysdeps/i386/nptl/Implies: File removed.
5244
0ea5d373
JM
52452014-06-24 Joseph Myers <joseph@codesourcery.com>
5246
4060283d
JM
5247 [BZ #16539]
5248 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5249 return the argument for normal arguments with exponent below -64.
5250 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5251 Likewise.
5252 * math/auto-libm-test-in: Add another test of expm1.
5253 * math/auto-libm-test-out: Regenerated.
5254
e7dd3c8c
JM
5255 [BZ #16287]
5256 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5257 calling __erfcl for arguments at least 16.
5258 * math/auto-libm-test-in: Add more tests of erf.
5259 * math/auto-libm-test-out: Regenerated.
5260
0ea5d373
JM
5261 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5262 individual architectures.
5263 * sysdeps/unix/sysv/linux/configure: Regenerated.
5264 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5265 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5266 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5267 (ldd_rewrite_script): Define variable.
5268 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5270 file.
5271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5272 generated file.
5273 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5274 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5275 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5276 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5277 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5278 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5279 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5280 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5281
2307e126
SP
52822014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5283
5284 [BZ #17084]
5285 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5286 Rename member __data.d to __data.__elision_data.
5287
c0a4ed77
W
52882014-06-24 Wilco <wdijkstr@arm.com>
5289
5290 * NEWS: Add 16918 to fixed bug list.
5291
b8c00573
W
52922014-06-24 Wilco <wdijkstr@arm.com>
5293
5294 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5295
b5570d92
W
52962014-06-24 Wilco <wdijkstr@arm.com>
5297
5298 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5299 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5300 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5301 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5302 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5303 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5304 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5305 Use _FPU_MASK_RM.
5306
947bdca2
W
53072014-06-24 Wilco <wdijkstr@arm.com>
5308
5309 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5310
00f669ed
W
53112014-06-24 Wilco <wdijkstr@arm.com>
5312
5313 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5314 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5315 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5316 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5317
db59bad3
W
53182014-06-24 Wilco <wdijkstr@arm.com>
5319
5320 [BZ #16918]
5321 * sysdeps/arm/feupdateenv.c (feupdateenv):
5322 Rewrite to reduce FPSCR accesses and fix return value.
5323
001f7b77
W
53242014-06-24 Wilco <wdijkstr@arm.com>
5325
5326 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5327 Optimize to avoid unnecessary FPSCR writes.
5328 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5329 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5330 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5331 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5332
4841e6a6
W
53332014-06-24 Wilco <wdijkstr@arm.com>
5334
5335 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5336 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5337 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5338 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5339 Call libc_fetestexcept_vfp.
5340 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5341 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5342 __SOFTFP__ ifdef so that they can be built for softfp.
5343
0813022c
SP
53442014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5345
08e5862f
SP
5346 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5347 argument type signed char.
5348
0813022c
SP
5349 * Makerules (check-abi): Dump diff of symlist if the test
5350 fails.
5351
3fc7236a
RM
53522014-06-23 Roland McGrath <roland@hack.frob.com>
5353
aba8ef95
RM
5354 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5355 using abort.
5356
3fc7236a
RM
5357 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5358 Remove unused variable ST.
5359
4da6db51
JM
53602014-06-23 Joseph Myers <joseph@codesourcery.com>
5361
4648909d
JM
5362 [BZ #16354]
5363 [BZ #17061]
5364 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5365 small arguments before calling __expm1.
5366 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5367 small arguments before calling __expm1f.
5368 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5369 small arguments before calling __expm1l.
5370 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5371 Likewise.
5372 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5373 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5374 spurious underflow for some cosh tests.
5375 * math/auto-libm-test-out: Regenerated.
5376 * sysdeps/i386/fpu/libm-test-ulps: Update.
5377
46a3d3c7
JM
5378 [BZ #17050]
5379 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5380 (__ieee754_y1): Set errno if return value overflows.
5381 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5382 (__ieee754_y1f): Set errno if return value overflows.
5383 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5384 (__ieee754_y1l): Set errno if return value overflows.
5385 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5386 (__ieee754_y1l): Set errno if return value overflows.
5387 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5388 * math/auto-libm-test-out: Regenerated.
5389
863893ec
JM
5390 * math/gen-auto-libm-tests.c: Document use of
5391 ignore-zero-inf-sign.
5392 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5393 (input_flags): Add ignore-zero-inf-sign.
5394 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5395 * math/gen-libm-test.pl (generate_testfile): Handle
5396 ignore-zero-inf-sign.
5397 * math/auto-libm-test-in: Mark some cpow tests with
5398 ignore-zero-inf-sign and some with xfail-rounding.
5399 * math/auto-libm-test-out: Regenerated.
5400 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5401 * sysdeps/i386/fpu/libm-test-ulps: Update.
5402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5403
4da6db51
JM
5404 [BZ #16315]
5405 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5406 overflowing or underflowing operations take place with sign of
5407 result.
5408 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5409 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5410 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5411 (__ieee754_pow): Recompute overflowing and underflowing results in
5412 original rounding mode.
5413 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5414 (__powl_helper): Allow negative argument X and scale negated value
5415 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5416 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5417 overflowing or underflowing operations take place with sign of
5418 result.
5419 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5420 Include <math.h>.
5421 * math/auto-libm-test-in: Add more tests of pow.
5422 * math/auto-libm-test-out: Regenerated.
5423 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5424 (pow_tonearest_test_data): Remove.
5425 (pow_test_tonearest): Likewise.
5426 (pow_towardzero_test_data): Likewise.
5427 (pow_test_towardzero): Likewise.
5428 (pow_downward_test_data): Likewise.
5429 (pow_test_downward): Likewise.
5430 (pow_upward_test_data): Likewise.
5431 (pow_test_upward): Likewise.
5432 (main): Don't call removed functions.
5433 * sysdeps/i386/fpu/libm-test-ulps: Update.
5434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5435
5686b236
RM
54362014-06-23 Roland McGrath <roland@hack.frob.com>
5437
5438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5439 Moved ...
5440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5442 Moved ...
5443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5445 Moved ...
5446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5448 Moved ...
5449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5451 File removed.
5452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5453 File removed.
5454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5455 File removed.
5456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5457 File removed.
5458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5459 File removed.
5460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5461 File removed.
5462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5463 File removed.
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5465 File removed.
5466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5467 File removed.
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5469 File removed.
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5471 File removed.
5472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5473 File removed.
5474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5475 Moved ...
5476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5478 Moved ...
5479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5480 ... here.
5481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5482 Moved ...
5483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5485 Moved ...
5486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5488 Moved ...
5489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5491 Moved ...
5492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5494 Moved ...
5495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5497 Moved ...
5498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5500 Moved ...
5501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5504 ... here.
5505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5506 Moved ...
5507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5509 Moved ...
5510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5511 ... here.
5512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5513 Moved ...
5514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5515 ... here.
5516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5517 Moved ...
5518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5519 ... here.
5520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5521 Moved ...
5522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5524 Moved ...
5525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5529 Moved ...
5530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5531 ... here.
5532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5533 Moved ...
5534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5535 ... here.
5536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5537 Moved ...
5538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5540 Moved ...
5541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5543 Moved ...
5544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5546 Moved ...
5547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5549 Moved ...
5550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5551 ... here.
5552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5553 Moved ...
5554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5556 Moved ...
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5559 Moved ...
5560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5562 Moved ...
5563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5567 Moved ...
5568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5570 Moved ...
5571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5573 Moved ...
5574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5575 ... here.
5576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5577 Moved ...
5578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5579 ... here.
5580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5581 Moved ...
5582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5583 ... here.
5584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5585 Moved ...
5586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5588 Moved ...
5589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5591 Moved ...
5592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5594 Moved ...
5595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5596 ... here.
5597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5598 Moved ...
5599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5600 ... here.
5601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5602 Moved ...
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5604 ... here.
5605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5606 Moved ...
5607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5609 Moved ...
5610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5611
e6d90d67
WD
56122014-06-23 Will Newton <will.newton@linaro.org>
5613 Wilco <wdijkstr@arm.com>
5614
5615 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5616 implementation. Include get-rounding-mode.h.
5617 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5618 [!libc_feholdsetround_noex_ctx]: Define
5619 libc_feholdsetround_noex_ctx.
5620 [!libc_feholdsetround_noexf_ctx]: Define
5621 libc_feholdsetround_noexf_ctx.
5622 [!libc_feholdsetround_noexl_ctx]: Define
5623 libc_feholdsetround_noexl_ctx.
5624 (libc_feholdsetround_ctx): New function.
5625 (libc_feresetround_ctx): New function.
5626 (libc_feholdsetround_noex_ctx): New function.
5627 (libc_feresetround_noex_ctx): New function.
5628
d42df555
RM
56292014-06-23 Roland McGrath <roland@hack.frob.com>
5630
88a46474
RM
5631 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5632 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5633 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5634 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5635 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5636 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5637
15bed472
RM
5638 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5639 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5640 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5641 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5642 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5643 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5644 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5645 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5646 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5647 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5648 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5649 Moved ...
5650 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5651 ... here.
5652 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5653 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5654 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5655 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5656 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5657 Moved ...
5658 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5659 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5660 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5661 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5662 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5663 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5664 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5665 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5666 Moved ...
5667 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5668 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5669 Moved ...
5670 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5671 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5672 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5673 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5674 Moved ...
5675 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5676 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5677 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5678 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5679 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5680 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5681 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5682 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5683 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5684 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5685 Moved ...
5686 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5687 ... here.
5688 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5689 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5690 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5691 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5692 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5693 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5694 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5695 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5696 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5697 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5698 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5699 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5700 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5701 Moved ...
5702 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5703 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5704 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5705 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5706 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5707 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5708 Moved ...
5709 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5710 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5711 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5712 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5713 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5714
d42df555
RM
5715 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5716 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5717 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5718 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5719 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5720 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5721 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5722 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5723 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5724 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5725 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5726 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5727 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5728 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5729 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5730 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5731 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5732 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5733 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5734 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5735 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5736 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5737 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5738 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5739 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5740 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5741 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5742 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5743
76e5216e
JM
57442014-06-23 Joseph Myers <joseph@codesourcery.com>
5745
5746 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5747 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5748 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5749 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5750 (IPV6_PMTUDISC_INTERFACE): Likewise.
5751 (IPV6_PMTUDISC_OMIT): Likewise.
5752
7a81cbcc
AS
57532014-06-23 Andreas Schwab <schwab@suse.de>
5754
5755 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5756 Remove unused errout label.
5757
db224009
AZ
57582014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5759
5760 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5761 macro: hardware supports Vector Crypto instructions.
5762
f393b4aa
WN
57632014-06-23 Will Newton <will.newton@linaro.org>
5764
cc7d0447
WN
5765 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5766 rather than __builtin_expect.
5767
d6d06225
WN
5768 * elf/dl-lookup.c (undefined_msg): Remove variable.
5769 (_dl_lookup_symbol_x): Replace undefined_msg with string
5770 literal.
5771
f393b4aa
WN
5772 * elf/dl-lookup.c (do_lookup_unique): New function.
5773 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5774 to a separate function.
5775
ac60763e
AS
57762014-06-23 Andreas Schwab <schwab@suse.de>
5777
5778 [BZ #17079]
5779 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5780 before reading the next line.
5781
c5c13355
WN
57822014-06-23 Will Newton <will.newton@linaro.org>
5783
5784 * test-skeleton.c (signal_handler): Use printf and %m
5785 rather than perror. Use printf rather than fprintf to
5786 stderr. Use puts rather than fputs to stderr.
5787 (main): Likewise.
5788
bd3675f9
LC
57892014-06-22 Ludovic Courtès <ludo@gnu.org>
5790
5791 * nscd/nscd.c (thread_info_t): Remove typedef.
5792 (thread_info): Remove variable.
5793
d03efb2f
AM
57942014-06-21 Allan McRae <allan@archlinux.org>
5795
5796 * NEWS: Mention CVE-2014-4043.
5797
bc4a86fa
RM
57982014-06-20 Roland McGrath <roland@hack.frob.com>
5799
dc9a54f8
RM
5800 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5801 * nptl/smp.h: ... here.
5802
bd7022c4
RM
5803 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5804
26ffd5e6
RM
5805 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5806 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5807 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5808 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5809
93a6d082
RM
5810 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5811 * nptl/stack-aliasing.h: New file.
5812 * sysdeps/i386/i686/stack-aliasing.h: New file.
5813 * sysdeps/i386/i686/nptl/Makefile: File removed.
5814 * sysdeps/x86_64/stack-aliasing.h: New file.
5815 * sysdeps/x86_64/nptl/Makefile
5816 (CFLAGS-pthread_create.c): Variable removed.
5817
bc4a86fa
RM
5818 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5819 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5820 old file.
5821 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5822 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5823 old file.
5824
2272ffc1
JM
58252014-06-21 Joseph Myers <joseph@codesourcery.com>
5826
5827 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5828 (__ASSUME_SIGFRAME_V2): Remove macro.
5829 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5830 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5831 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5832 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5833 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5834 Declare as function. Remove conditional macro definitions.
5835 (__default_rt_sa_restorer): Likewise.
5836 (__default_sa_restorer_v1): Remove declaration.
5837 (__default_sa_restorer_v2): Likewise.
5838 (__default_rt_sa_restorer_v1): Likewise.
5839 (__default_rt_sa_restorer_v2): Likewise.
5840 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5841 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5842 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5843
4b88139b
RM
58442014-06-20 Roland McGrath <roland@hack.frob.com>
5845
5846 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5847 (libpthread-routines): Add sysdep.
5848 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5849 * sysdeps/unix/sysv/linux/sparc/Versions
5850 (libpthread: GLIBC_2.3.3): New version set.
5851 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5852 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5853 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5854 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5855 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5856 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5857 Moved ...
5858 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5859 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5860 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5861 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5862 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5863 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5864 * sysdeps/sparc/nptl/sem_init.c: ... here.
5865 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5866 * sysdeps/sparc/nptl/sem_post.c: ... here.
5867 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5868 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5869 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5870 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5871 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5872 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5873 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5874 (libpthread-routines): Add cpu_relax.
5875 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5876 File removed.
5877 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5878 (librt: GLIBC_2.3.3): New version set.
5879 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5880 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5881 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5882 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5883 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5885 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5886 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5887 Moved ...
5888 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5890 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5891 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5892 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5894 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5895 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5896 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5897 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5898 Moved ...
5899 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5900 Update #include.
5901 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5902 Moved ...
5903 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5904 Update #include.
5905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5906 Moved ...
5907 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5908 Update #include.
5909 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5910 Moved ...
5911 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5912 Update #include.
5913 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5914 Moved ...
5915 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5916 Update #include.
5917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5918 Moved ...
5919 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5920 Update #include.
5921 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5922 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5923 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5924 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5925 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5926 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5927 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5928 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5929 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5930 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5931 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5932 Moved ...
5933 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5935 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5936 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5937 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5938
d7109027
JM
59392014-06-20 Joseph Myers <joseph@codesourcery.com>
5940
9bc6103d
JM
5941 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5942 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5943 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5944 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5945 * nscd/nscd.c: Likewise.
5946 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5947 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5948 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5949 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5950
d7109027
JM
5951 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5952 <kernel-features.h>.
5953 (init_mq_netlink): Remove conditional have_sock_cloexec
5954 definitions. Remove code conditional on have_sock_cloexec < 0.
5955 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5956 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5957 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5958 <kernel-features.h>.
5959 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5960 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5961
d92d8f8a
L
59622014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5963
5964 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5965 Add tests for memset_chk and memset.
5966
5967 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5968 with AVX2_Usable.
5969
4e6d2347
MR
59702014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5971
257ce712
MR
5972 [BZ #16046]
5973 * elf/tst-dl-iter-static.c: New file.
5974 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5975
4e6d2347
MR
5976 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5977 error.
5978
a2a76afe
JM
59792014-06-20 Joseph Myers <joseph@codesourcery.com>
5980
7fd00f99
JM
5981 * sysdeps/unix/sysv/linux/kernel-features.h
5982 (__ASSUME_F_GETOWN_EX): Remove macro.
5983 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5984 <kernel-features.h>.
5985 (miss_F_GETOWN_EX): Remove variable or macro.
5986 (do_fcntl): Do not check miss_F_GETOWN_EX.
5987 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5988
4a103975
JM
5989 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5990 Remove macro.
5991 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5992 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5993 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5994
a2a76afe
JM
5995 * sysdeps/unix/sysv/linux/kernel-features.h
5996 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5997 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5998 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5999 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6000
90e5dd48
MR
60012014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6002
6003 [BZ #17075]
6004 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6005 Fix calculation of the symbol's value.
6006 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6007 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6008 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6009 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6010 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6011 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6012 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6013 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6014 (modules-names): Add `tst-armtlsdescmod',
6015 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6016 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6017 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6018 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6019 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6020 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6021 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6022 ($(objpfx)tst-armtlsdescloc): New dependency.
6023 ($(objpfx)tst-armtlsdescextnow): Likewise.
6024 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6025 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6026 TLS scheme support.
6027 * sysdeps/arm/configure: Regenerate.
6028
809fdf0d
JM
60292014-06-20 Joseph Myers <joseph@codesourcery.com>
6030
6031 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6032 (__atfct_seterrno_2): Likewise.
6033 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6034 <kernel-features.h>.
6035 (__ASSUME_ATFCTS): Do not undefine and redefine.
6036 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6037 (__have_atfcts): Remove conditional definition.
6038 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6039 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6040 unreachable if [__ASSUME_ATFCTS].
6041 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6042 not undefine and redefine.
6043 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6044 <kernel-features.h>.
6045 (faccessat) [__NR_faccessat]: Make code unconditional.
6046 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6047 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6048 <kernel-features.h>.
6049 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6050 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6051 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6052 <kernel-features.h>.
6053 (fchownat) [__NR_fchownat]: Make code unconditional.
6054 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6055 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6056 <kernel-features.h>.
6057 (futimesat) [__NR_futimesat]: Make code unconditional.
6058 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6059 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6060 <kernel-features.h>.
6061 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6062 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6063 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6064 <kernel-features.h>.
6065 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6066 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6067 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6068 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6069 <kernel-features.h>.
6070 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6071 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6072 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6073 <kernel-features.h>.
6074 (linkat) [__NR_linkat]: Make code unconditional.
6075 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6076 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6077 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6078 <kernel-features.h>.
6079 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6080 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6081 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6082 <kernel-features.h>.
6083 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6084 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6085 * sysdeps/unix/sysv/linux/openat.c: Do not include
6086 <kernel-features.h>.
6087 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6088 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6089 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6090 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6091 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6092 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6093 <kernel-features.h>.
6094 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6095 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6096 result of INLINE_SYSCALL directly, not via int variable.
6097 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6098 <kernel-features.h>.
6099 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6100 (renameat) [__NR_renameat]: Make code unconditional.
6101 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6102 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6103 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6104 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6105 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6106 (__ASSUME_ATFCTS): Do not undefine and redefine.
6107 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6108 <kernel-features.h>.
6109 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6110 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6111 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6112 <kernel-features.h>.
6113 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6114 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6115 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6116 (__ASSUME_ATFCTS): Do not undefine and redefine.
6117 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6118 <kernel-features.h>.
6119 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6120 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6121 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6122 <kernel-features.h>.
6123 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6124 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6125
224c6c51
L
61262014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6127
6128 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6129
aa6ec754
AS
61302014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6131
6132 [BZ #17069]
6133 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6134 constructed tree before returning error.
6135 * posix/bug-regexp36.c: Expand test case.
6136
d8c2869d
SL
61372014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6138
3ef6b850
SL
6139 [BZ #6803]
6140 * math/libm-test.inc (scalbln_test_date):
6141 Add errno expectations.
6142 * math/w_scalblnf.c: New File.
6143 Add wrapper which checks for setting errno to ERANGE.
6144 Add weak_alias for corresponding scalbln function.
6145 * math/w_scalbln.c: Likewise.
6146 * math/w_scalblnl.c: Likewise.
6147 * math/Makefile (libm-calls): Add w_scalbln.
6148 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6149 Remove weak_alias for corresponding scalbln function.
6150 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6151 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6152 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6153 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6154 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6155 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6156 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6157 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6158 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6159 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6160 Remove long_double_symbol for scalblnl function in libm, libc.
6161 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6162 Add wrapper which checks for setting errno to ERANGE.
6163 Add long_double_symbol for scalblnl function in libm, libc.
6164 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6165 Remove long_double_symbol for scalblnl in libm.
6166 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6167 Add wrapper which checks for setting errno to ERANGE.
6168 Add long_double_symbol for scalblnl function in libm.
6169 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6170 Do not use wrapper because of own implementation.
6171
c8daec5c
L
61722014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6173
6174 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6175 3 bytes for __pad1 for x32.
6176 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6177
5c74e47c
LM
61782014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6179 H.J. Lu <hongjiu.lu@intel.com>
6180
6181 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6182 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6183 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6184 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6185 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6186
4d43ef1e
AS
61872014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6188
6189 [BZ #17069]
6190 * posix/regcomp.c (parse_expression): Deallocate partially
6191 constructed tree before returning error.
6192 * posix/Makefile.c (tests): Add bug-regex36.
6193 (generated): Add bug-regex36.mtrace.
6194 (tests-special): Add $(objpfx)bug-regex36-mem.out
6195 (bug-regex36-ENV): New variable.
6196 ($(objpfx)bug-regex36-mem.out): New rule.
6197 * posix/bug-regex36.c: New file.
6198
51a7380b
WN
61992014-06-19 Will Newton <will.newton@linaro.org>
6200
6201 * malloc/malloc.c (systrim): If extra is zero then return
6202 early.
6203
91b84fe5
SP
62042014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6205
6206 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6207
f940b965
RE
62082014-06-19 Richard Earnshaw <rearnsha@arm.com>
6209
6210 * sysdeps/aarch64/strchr.S: New file.
6211
4ba7a00f
JM
62122014-06-18 Joseph Myers <joseph@codesourcery.com>
6213
6214 [BZ #17022]
6215 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6216 from arguments -2 or below.
6217 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6218 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6219
b3a9f56b
AS
62202014-06-18 Andreas Schwab <schwab@suse.de>
6221
6222 [BZ #17062]
6223 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6224 of a bracket expr not to run off the end of the string.
6225 * posix/Makefile (tests): Add tst-fnmatch3.
6226 * posix/tst-fnmatch3.c: New file.
6227
85d89278
JM
62282014-06-18 Joseph Myers <joseph@codesourcery.com>
6229
6230 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6231 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6232 [$(cross-compiling) = no]: Likewise.
6233 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6234 [$(cross-compiling) = no]: Likewise.
6235
754c5a08
RS
62362014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6237
6238 [BZ #17031]
6239 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6240 double, adjusted for any remainder from the high double.
6241 * math/libm-test.inc (nearbyint): Add tests.
6242 (rint): Likewise.
6243
556f529d
AZ
62442014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6245
6246 * nptl/sysdeps/powerpc/Makefile: Moved ...
6247 * sysdeps/powerpc/nptl/Makefile: ... here.
6248 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6249 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6250 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6251 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6252 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6253 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6254 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6255 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6256 * nptl/sysdeps/powerpc/tls.h: Moved ...
6257 * sysdeps/powerpc/nptl/tls.h: ... here.
6258
91c03c53
JM
62592014-06-16 Joseph Myers <joseph@codesourcery.com>
6260
6261 [BZ #16681]
6262 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6263 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6264 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6265 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6266 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6267 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6268 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6269 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6270 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6271
a76e63c5
AS
62722014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6273
6274 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6275
f2f6d82f
AS
62762014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6277
ea8a15f6
AS
6278 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6279 defined operator.
6280
f2f6d82f
AS
6281 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6282 $TIMEOUTFACTOR.
6283
a7291117
FW
62842014-06-16 Florian Weimer <fweimer@redhat.com>
6285
6286 [BZ #17058]
6287 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6288 non-executed part of the test.
6289
3d7c00e3
AS
62902014-06-16 Andreas Schwab <schwab@suse.de>
6291
6292 * string/bits/string2.h (strdup, strndup): Update feature guard.
6293
6957fb31
DM
62942014-06-14 David S. Miller <davem@davemloft.net>
6295
6296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6297
11b9e55b
AS
62982014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6299
1d2a0492
AS
6300 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6301 that was previously under [RESET_PID].
6302 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6303
11b9e55b
AS
6304 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6305 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6306 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6307 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6308 (__libc_vfork): New strong alias.
6309 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6310
0f6901d0
AK
63112014-06-14 Andi Kleen <ak@linux.intel.com>
6312
6313 * sysdeps/generic/elide.h: New file.
6314
38bbbb9f
SL
63152014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6316
6317 * Makefile (installed-headers): Adjust path of pthread.h header.
6318
45193bb8
RM
63192014-06-13 Roland McGrath <roland@hack.frob.com>
6320
9a25fd1e
RM
6321 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6322 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6323 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6324 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6325
4004f7e4
RM
6326 * nptl/sysdeps/s390/Makefile: Moved ...
6327 * sysdeps/s390/nptl/Makefile: ... here.
6328 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6329 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6330 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6331 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6332 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6333 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6334 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6335 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6336 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6337 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6338 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6339 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6340 * nptl/sysdeps/s390/tls.h: Moved ...
6341 * sysdeps/s390/nptl/tls.h: ... here.
6342
45193bb8
RM
6343 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6344 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6345
f6fdf533
DM
63462014-06-13 David S. Miller <davem@davemloft.net>
6347
6348 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6349 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6350 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6351 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6352 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6354 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6355 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6356 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6357 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6358 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6359 Remove RESET_PID cpp guards.
6360 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6361 Remove RESET_PID cpp guards.
6362 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6363
f5d71e14
AS
63642014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6365
6366 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6367 __sp to uintptr_t.
6368
b7aa8caa
AK
63692014-06-13 Andi Kleen <ak@linux.intel.com>
6370
4b266200
AZ
6371 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6372 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6373 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6374 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6375 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6376 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6377 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6378 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6379 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6380 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6381 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6382 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6383 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6384 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6385 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6386 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6387 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6388 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6389 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6390 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
6391
6392 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
6393 (pthread_rwlock_rdlock): Add elision.
6394 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6395 (pthread_rwlock_wrlock): Add elision.
6396 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6397 (pthread_rwlock_trywrlock): Add elision.
6398 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6399 (pthread_rwlock_tryrdlock): Add elision.
6400 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6401 (pthread_rwlock_tryrdlock): Add elision unlock.
6402 * nptl/sysdeps/pthread/pthread.h:
6403 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6404 (PTHREAD_RWLOCK_INITIALIZER,
6405 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6406 Handle new elision field.
6407 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6408 * sysdeps/arm/nptl/bits/pthreadtypes.h
6409 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6410 * sysdeps/sh/nptl/bits/pthreadtypes.h
6411 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6412 * sysdeps/tile/nptl/bits/pthreadtypes.h
6413 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6414 * sysdeps/a/nptl/bits/pthreadtypes.h
6415 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6416 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6417 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6418 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6419 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6420 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6421 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6422 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6423 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6424 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6425 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6426 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6427 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6428 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6429 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6430 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6431 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6432 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6433 (elision_init): Set try_xbegin to zero when no RTM.
6434 * sysdeps/x86/nptl/bits/pthreadtypes.h
6435 (pthread_rwlock_t): Change __pad1 to __rwelision.
6436 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 6437
a832bdd3
AK
64382014-06-13 Andi Kleen <ak@linux.intel.com>
6439
6440 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6441 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6442 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6443 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6444
995a46bb
MI
64452014-06-13 Meador Inge <meadori@codesourcery.com>
6446
6447 [BZ #16996]
03ed7738 6448 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
6449 that the cached result has been set before returning it.
6450
45262aee
RM
64512014-06-12 Roland McGrath <roland@hack.frob.com>
6452
febf6cc5
RM
6453 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6454 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6455 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6456 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6457 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6458 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6459
e2682246
RM
6460 * nptl/sysdeps/sparc/Makefile: Moved ...
6461 * sysdeps/sparc/nptl/Makefile: ... here.
6462 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6463 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6464 * nptl/sysdeps/sparc/tls.h: Moved ...
6465 * sysdeps/sparc/nptl/tls.h: ... here.
6466 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6467 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6468 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6469 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6470 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6471 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6472 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6473 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6474 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6475 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6476 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6477 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6478 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6479 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6480 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6481 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6482 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6483 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6484 Update #include.
6485 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6486 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6487 Update #include.
6488 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6489 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6490 Update #include.
6491 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6492 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6493 Update #include.
6494
b0725f43
RM
6495 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6496
b14368b8
RM
6497 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6498 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6499
c5620eb3
RM
6500 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6501 (struct list_links): Type removed.
6502 (struct thread_node, struct timer_node): Replace struct list_links
6503 with struct list_head.
6504 (list_unlink_ip): Likewise.
6505 * sysdeps/pthread/timer_routines.c
6506 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6507 (list_append, list_insbefore): Likewise.
6508 (list_init): Function removed.
6509 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
6510 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6511 * sysdeps/pthread/Makefile: ... here, new file.
6512
6513 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6514 * sysdeps/nptl/Implies: ... here.
6515 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6516 * nptl/sysdeps/pthread/list.h: Moved ...
6517 * include/list.h: ... here.
6518 * nptl/sysdeps/pthread/createthread.c: Moved ...
6519 * nptl/createthread.c: ... here.
6520 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6521 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6522 * nptl/pt-longjmp.c: ... here.
6523 * nptl/sysdeps/pthread/Makefile: Moved ...
6524 * sysdeps/nptl/Makefile: ... here.
6525 * nptl/sysdeps/pthread/Subdirs: Moved ...
6526 * sysdeps/nptl/Subdirs: ... here.
6527 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6528 * sysdeps/nptl/aio_misc.h: ... here.
6529 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6530 * sysdeps/nptl/bits/libc-lock.h: ... here.
6531 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6532 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6533 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6534 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6535 * nptl/sysdeps/pthread/configure: Moved ...
6536 * sysdeps/nptl/configure: ... here.
6537 * nptl/sysdeps/pthread/configure.ac: Moved ...
6538 * sysdeps/nptl/configure.ac: ... here.
6539 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6540 * sysdeps/nptl/gai_misc.h: ... here.
6541 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6542 * sysdeps/nptl/librt-cancellation.c: ... here.
6543 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6544 * sysdeps/nptl/malloc-machine.h: ... here.
6545 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6546 * sysdeps/nptl/pthread-functions.h: ... here.
6547 * nptl/sysdeps/pthread/pthread.h: Moved ...
6548 * sysdeps/nptl/pthread.h: ... here.
6549 * nptl/sysdeps/pthread/setxid.h: Moved ...
6550 * sysdeps/nptl/setxid.h: ... here.
6551 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6552 * sysdeps/nptl/sigfillset.c: ... here.
6553 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6554 * sysdeps/nptl/tcb-offsets.h: ... here.
6555 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6556 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6557 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6558 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6559 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6560 * sysdeps/pthread/allocalim.h: ... here.
6561 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6562 * sysdeps/pthread/bits/sigthread.h: ... here.
6563 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6564 * sysdeps/pthread/flockfile.c: ... here.
6565 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6566 * sysdeps/pthread/ftrylockfile.c: ... here.
6567 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6568 * sysdeps/pthread/funlockfile.c: ... here.
6569 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6570 * sysdeps/pthread/posix-timer.h: ... here.
6571 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6572 * sysdeps/pthread/timer_create.c: ... here.
6573 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6574 * sysdeps/pthread/timer_delete.c: ... here.
6575 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6576 * sysdeps/pthread/timer_getoverr.c: ... here.
6577 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6578 * sysdeps/pthread/timer_gettime.c: ... here.
6579 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6580 * sysdeps/pthread/timer_routines.c: ... here.
6581 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6582 * sysdeps/pthread/timer_settime.c: ... here.
6583 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6584 * sysdeps/pthread/tst-timer.c: ... here.
6585 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6586 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6587
e876b090
RM
6588 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6589 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6590
f6b07b3d
RM
6591 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6592 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6593 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6594 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6595 Update #include target.
6596 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6597 * sysdeps/i386/i686/nptl/Makefile: ... here.
6598 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6599 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6600 Update #include target.
6601 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6602 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6603 * nptl/sysdeps/i386/Makefile: Moved ...
6604 * sysdeps/i386/nptl/Makefile: ... here.
6605 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6606 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6607 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6608 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6609 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6610 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6611 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6612 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6613 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6614 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6615 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6616 * nptl/sysdeps/i386/tls.h: Moved ...
6617 * sysdeps/i386/nptl/tls.h: ... here.
6618
45262aee
RM
6619 * sysdeps/sh/Makefile [$(subdir) = csu]
6620 (gen-as-const-headers): Add tcb-offsets.sym.
6621 * nptl/sysdeps/sh/Makefile: File removed.
6622 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6623 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6624 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6625 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6626 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6627 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6628 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6629 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6630 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6631 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6632 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6633 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6634 * nptl/sysdeps/sh/tls.h: Moved ...
6635 * sysdeps/sh/nptl/tls.h: ... here.
6636 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6637 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6638 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6639 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6640 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6641 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6642 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6643 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6644 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6645 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6646 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6647 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6648 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6649 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6650 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6651 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6652 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6653 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6654 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6655 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6656 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6657 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6658 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6659 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6660 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6661 Moved ...
6662 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6663 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6664 Moved ...
6665 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6666 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6667 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6668 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6669 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6670 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6671 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6672 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6673 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6674 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6675 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6676 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6677 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6678 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6679 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6680 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6681 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6682 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6683 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6684
35a5e3e3
SL
66852014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6686
6687 * posix/spawn_faction_addopen.c: Include string.h.
6688
14642b85
RM
66892014-06-11 Roland McGrath <roland@hack.frob.com>
6690
6691 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6692 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6693 * nptl/sysdeps/x86_64/Makefile: Moved ...
6694 * sysdeps/x86_64/nptl/Makefile: ... here.
6695 * nptl/sysdeps/x86_64/configure: Moved ...
6696 * sysdeps/x86_64/nptl/configure: ... here.
6697 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6698 * sysdeps/x86_64/nptl/configure.ac: ... here.
6699 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6700 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6701 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6702 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6703 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6704 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6705 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6706 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6707 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6708 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6709 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6710 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6711 * nptl/sysdeps/x86_64/tls.h: Moved ...
6712 * sysdeps/x86_64/nptl/tls.h: ... here.
6713 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6714 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6715 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6716 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6717
6718 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6719
31c44fea
AZ
67202014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6721
6722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6723
e81a4f9a
JM
67242014-06-11 Joseph Myers <joseph@codesourcery.com>
6725
6726 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6727 type.
6728 [POSIX] (off_t): Likewise.
6729 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6730 [POSIX] (S_ISBLK): Require macro.
6731 [POSIX] (S_ISCHR): Likewise.
6732 [POSIX] (S_ISDIR): Likewise.
6733 [POSIX] (S_ISFIFO): Likewise.
6734 [POSIX] (S_ISREG): Likewise.
6735 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6736 optional-macro.
6737 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6738 type.
6739 [POSIX] (time_t): Likewise.
6740 [POSIX] (timer_t): Likewise.
6741
89e435f3
FW
67422014-06-11 Florian Weimer <fweimer@redhat.com>
6743
6744 [BZ #17048]
6745 * posix/spawn_int.h (struct __spawn_action): Make the path string
6746 non-const to support deallocation.
6747 * posix/spawn_faction_addopen.c
6748 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6749 * posix/spawn_faction_destroy.c
6750 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6751 path in all spawn_do_open actions.
6752 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6753 posix_spawn_file_actions_addopen.
6754
c3a2ebe1
CM
67552014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6756
6757 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6758 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6759 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6760 conditional code always true.
6761 (__libc_vfork): New alias.
6762
9503784a
RM
67632014-06-11 Roland McGrath <roland@hack.frob.com>
6764
c9cab3d2
RM
6765 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6766 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6767
d3996c79
RM
6768 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6769
ba5ec611
RM
6770 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6771 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6772
f12b4814
RM
6773 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6774 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6775
9503784a
RM
6776 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6777 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6778
e23d3d26
VR
67792014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6780
6781 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6782 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6783 multiarch strcmp for PPC64.
6784 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6785 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6786 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6787 multiarch optimizations.
6788 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6789 (__libc_ifunc_impl_list): Likewise.
6790
42b1161e
SP
67912014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6792
6793 * benchtests/scripts/validate_benchout.py: New script.
6794 * benchtests/Makefile (bench-func): Call it.
6795 * benchtests/scripts/benchout.schema.json: New file.
6796
2d0fc4dc
CM
67972014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6798
4a594c34
AZ
6799 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6800 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6801 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6802 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6803 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6804 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6805 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6806 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6807 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6808 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6809 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6810 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6811 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6812 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6813 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6814 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6816 Moved ...
4a594c34 6817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6818 ... here.
4a594c34 6819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6820 Moved ...
4a594c34
AZ
6821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6823 Moved ...
4a594c34 6824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6825 ... here.
4a594c34 6826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6827 Moved ...
4a594c34 6828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6829 ... here.
4a594c34 6830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6831 Moved ...
4a594c34
AZ
6832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6834 Moved ...
4a594c34 6835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6836 ... here.
4a594c34 6837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6838 Moved ...
4a594c34 6839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6840 ... here.
4a594c34 6841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6842 Moved ...
4a594c34
AZ
6843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6845 Moved ...
4a594c34 6846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6847 ... here.
4a594c34 6848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6849 Moved ...
4a594c34 6850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6851 ... here.
4a594c34 6852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6853 Moved ...
4a594c34 6854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6855 ... here.
4a594c34 6856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6857 Moved ...
4a594c34
AZ
6858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6860 Moved ...
4a594c34 6861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6862 ... here.
4a594c34 6863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6864 Moved ...
4a594c34 6865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6866 ... here.
4a594c34 6867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6868 Moved ...
4a594c34 6869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6870 ... here.
4a594c34 6871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6872 Moved ...
4a594c34
AZ
6873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6875 Moved ...
4a594c34 6876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6877 ... here.
4a594c34 6878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6879 Moved ...
4a594c34 6880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6881 ... here.
4a594c34 6882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 6883 Moved ...
4a594c34
AZ
6884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 6886 Moved ...
4a594c34 6887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 6888 ... here.
4a594c34 6889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 6890 Moved ...
4a594c34
AZ
6891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 6893 Moved ...
4a594c34
AZ
6894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 6896 Moved ...
4a594c34 6897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 6898 ... here.
4a594c34 6899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 6900 Moved ...
4a594c34 6901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 6902 ... here.
4a594c34 6903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 6904 Moved ...
4a594c34 6905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 6906 ... here.
4a594c34 6907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 6908 Moved ...
4a594c34
AZ
6909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 6911 Moved ...
4a594c34 6912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 6913 ... here.
4a594c34 6914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 6915 Moved ...
4a594c34 6916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 6917 ... here.
4a594c34
AZ
6918 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6919 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6920 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6921 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6922 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 6923 Moved ...
4a594c34 6924 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 6925 ... here.
4a594c34
AZ
6926 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6927 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6928 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6929 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6930 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6931 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6932 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6933 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6934 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6935 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6936 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6937 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6938 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 6939 Moved ...
4a594c34
AZ
6940 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6941 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 6942 Moved ...
4a594c34
AZ
6943 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6944 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6945 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6946 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 6947 Moved ...
4a594c34
AZ
6948 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6949 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6950 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6951 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6952 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6953 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6954 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 6955
0570cfed
W
69562014-06-10 Wilco <wdijkstr@arm.com>
6957
6958 * math/test-fenv-return.c: New file.
6959 * math/Makefile: Add new test test-fenv-return.
6960
f8ba1b56
JM
69612014-06-10 Joseph Myers <joseph@codesourcery.com>
6962
6963 [BZ #17042]
6964 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6965 when x - 1 is zero.
6966 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6967 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6968 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6969 0.0L for an argument of 1.0L.
6970 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6971 Likewise.
6972 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6973 value when x - 1 is zero.
6974 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6975 * sysdeps/i386/fpu/libm-test-ulps: Update.
6976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6977
2c3520d9
BO
69782014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6979
6980 [BZ #15119]
6981 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6982
acaa4d24
RM
69832014-06-09 Roland McGrath <roland@hack.frob.com>
6984
6985 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6986 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6987
962b744d
RM
69882014-06-09 Roland McGrath <roland@hack.frob.com>
6989
d752f0cc
RM
6990 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6991 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6992
34eda6d1
RM
6993 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6994 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6995
50f0a637
RM
6996 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6997 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6998
08f41f04
RM
6999 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7000 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7001
962b744d
RM
7002 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7003 if not already defined.
7004 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7005 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7006 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7007 (TLS_INIT_TP): Use it.
7008 (TLS_DEFINE_INIT_TP): New macro.
7009 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7010
09f19b05
JM
70112014-06-09 Joseph Myers <joseph@codesourcery.com>
7012
7013 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7014 constant.
7015 [POSIX] (IXANY): Likewise.
7016 [POSIX] (OLCUC): Likewise.
7017 [POSIX || POSIX2008] (CBAUD): Do not allow.
7018 [POSIX || POSIX2008] (DEFECHO): Likewise.
7019 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7020 [POSIX || POSIX2008] (ECHOKE): Likewise.
7021 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7022 [POSIX || POSIX2008] (EXTA): Likewise.
7023 [POSIX || POSIX2008] (EXTB): Likewise.
7024 [POSIX || POSIX2008] (FLUSHO): Likewise.
7025 [POSIX || POSIX2008] (LOBLK): Likewise.
7026 [POSIX || POSIX2008] (PENDIN): Likewise.
7027 [POSIX || POSIX2008] (SWTCH): Likewise.
7028 [POSIX || POSIX2008] (VDISCARD): Likewise.
7029 [POSIX || POSIX2008] (VDSUSP): Likewise.
7030 [POSIX || POSIX2008] (VLNEXT): Likewise.
7031 [POSIX || POSIX2008] (VREPRINT): Likewise.
7032 [POSIX || POSIX2008] (VSTATUS): Likewise.
7033 [POSIX || POSIX2008] (VWERASE): Likewise.
7034 (B*): Change to B[0123456789]*.
7035 * conform/data/time.h-data [POSIX || UNIX98]
7036 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7037 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7038 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7039 [POSIX] (tm_*): Do not allow.
7040
686554bf
JM
70412014-06-07 Joseph Myers <joseph@codesourcery.com>
7042
7043 * Makefile (install): Don't set LANGUAGE.
7044 * Makefile.in (install): Likewise.
7045 * assert/Makefile (test-assert-ENV): Remove variable.
7046 (test-assert-perr-ENV): Likewise.
7047 * elf/Makefile (neededtest4-ENV): Likewise.
7048 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7049 [$(cross-compiling) = no]: Don't set LANGUAGE.
7050 * io/ftwtest-sh (LANG): Remove variable.
7051 * libio/Makefile (tst-widetext-ENV): Likewise.
7052 * manual/install.texi (Running make install): Don't refer to
7053 environment settings for make install.
7054 * INSTALL: Regenerated.
7055 * nptl/tst-tls6.sh: Don't set LANG.
7056 * posix/globtest.sh (LANG): Remove variable.
7057 * string/Makefile (tester-ENV): Likewise.
7058 (inl-tester-ENV): Likewise.
7059 (noinl-tester-ENV): Likewise.
7060 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7061 [$(cross-compiling) = no]: Don't set LANGUAGE.
7062 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7063 without explicit environment settings.
7064
68e6b6b1
RM
70652014-06-06 Roland McGrath <roland@hack.frob.com>
7066
7067 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7068 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7069 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7070 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7071
4d3ae034
CM
70722014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7073
7074 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7075 other files in the crypt directory.
7076 * crypt/crypt.c: Remove duplicate includes.
7077 * crypt/crypt-entry.c: Likewise.
7078 * crypt/crypt_util.c: Likewise.
7079
8540f6d2
JM
70802014-06-06 Joseph Myers <joseph@codesourcery.com>
7081
7082 * Makeconfig (run-program-env): New variable.
7083 (run-program-prefix-before-env): Likewise.
7084 (run-program-prefix-after-env): Likewise.
7085 (run-program-prefix): Define in terms of new variables.
7086 (built-program-cmd-before-env): New variable.
7087 (built-program-cmd-after-env): Likewise.
7088 (built-program-cmd): Define in terms of new variables.
7089 (test-program-prefix-before-env): New variable.
7090 (test-program-prefix-after-env): Likewise.
7091 (test-program-prefix): Define in terms of new variables.
7092 (test-program-cmd-before-env): New variable.
7093 (test-program-cmd-after-env): Likewise.
7094 (test-program-cmd): Define in terms of new variables.
7095 * Rules (make-test-out): Use $(run-program-env).
7096 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7097 (help): Do not mention environment variables. Mention
7098 --timeoutfactor option.
7099 (timeoutfactor): New variable.
7100 (blacklist_exports): Remove function.
7101 (exports): Remove variable.
7102 (command): Do not include ${exports}.
7103 * manual/install.texi (Configuring and compiling): Do not mention
7104 test wrappers preserving environment variables. Mention that last
7105 assignment to a variable must take precedence.
7106 * INSTALL: Regenerated.
7107 * benchtests/Makefile (run-bench): Use $(run-program-env).
7108 * catgets/Makefile ($(objpfx)test1.cat): Use
7109 $(built-program-cmd-before-env), $(run-program-env) and
7110 $(built-program-cmd-after-env).
7111 ($(objpfx)test2.cat): Do not specify environment variables
7112 explicitly.
7113 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7114 $(run-program-env) and $(built-program-cmd-after-env).
7115 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7116 $(run-program-env) and $(test-program-cmd-after-env).
7117 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7118 explicitly.
7119 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7120 run_program_env and test_program_cmd_after_env arguments.
7121 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7122 * elf/tst-pathopt.sh: Use run_program_env argument.
7123 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7124 $(test-wrapper-env) and $(run-program-env).
7125 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7126 run_program_env arguments.
7127 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7128 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7129 $(test-program-prefix-before-env), $(run-program-env) and
7130 $(test-program-prefix-after-env).
7131 ($(objpfx)tst-gettext2.out): Likewise.
7132 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7133 run_program_env and test_program_prefix_after_env arguments.
7134 * intl/tst-gettext2.sh: Likewise.
7135 * intl/tst-gettext4.sh: Do not set environment variables
7136 explicitly.
7137 * intl/tst-gettext6.sh: Likewise.
7138 * intl/tst-translit.sh: Likewise.
7139 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7140 $(test-program-prefix-before-env), $(run-program-env) and
7141 $(test-program-prefix-after-env).
7142 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7143 run_program_env and test_program_prefix_after_env arguments.
7144 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7145 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7146 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7147 explicitly with each use of ${test_wrapper_env}.
7148 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7149 $(test-program-prefix-before-env), $(run-program-env) and
7150 $(test-program-prefix-after-env).
7151 * posix/tst-getconf.sh: Do not set environment variables
7152 explicitly.
7153 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7154 run_program_env and test_program_prefix_after_env arguments.
7155 * stdio-common/tst-printf.sh: Do not set environment variables
7156 explicitly.
7157 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7158 $(test-program-prefix-before-env), $(run-program-env) and
7159 $(test-program-prefix-after-env).
7160 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7161 run_program_env and test_program_prefix_after_env arguments.
7162 Split $test calls into $test_pre and $test.
7163 * timezone/Makefile (build-testdata): Use
7164 $(built-program-cmd-before-env), $(run-program-env) and
7165 $(built-program-cmd-after-env).
7166
ed36bfa1
AZ
71672014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7168
7169 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7170 strlen for non SHARED builds.
7171
fc75bf46
SP
71722014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7173
7174 * nptl/allocatestack.c (check_list): Inlined function...
7175 (__reclaim_stacks): ... here.
7176
d89b3d80
OB
71772014-06-05 Ondřej Bílka <neleai@seznam.cz>
7178
7179 [BZ #15698]
7180 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7181 memory overrun.
7182
2bf18041
JM
71832014-06-05 Joseph Myers <joseph@codesourcery.com>
7184
7185 * Rules (make-test-out): Include
7186 LOCPATH=$(common-objpfx)localedata in default environment.
7187 * debug/Makefile (tst-chk1-ENV): Remove variable.
7188 (tst-chk2-ENV): Likewise.
7189 (tst-chk3-ENV): Likewise.
7190 (tst-chk4-ENV): Likewise.
7191 (tst-chk5-ENV): Likewise.
7192 (tst-chk6-ENV): Likewise.
7193 (tst-lfschk1-ENV): Likewise.
7194 (tst-lfschk2-ENV): Likewise.
7195 (tst-lfschk3-ENV): Likewise.
7196 (tst-lfschk4-ENV): Likewise.
7197 (tst-lfschk5-ENV): Likewise.
7198 (tst-lfschk6-ENV): Likewise.
7199 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7200 (tst-iconv7-ENV): Likewise.
7201 * intl/Makefile (LOCPATH-ENV): Likewise.
7202 (tst-codeset-ENV): Likewise.
7203 (tst-gettext3-ENV): Likewise.
7204 (tst-gettext5-ENV): Likewise.
7205 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7206 (tst-fopenloc-ENV): Likewise.
7207 (tst-fgetws-ENV): Remove variable.
7208 (tst-ungetwc1-ENV): Likewise.
7209 (tst-ungetwc2-ENV): Likewise.
7210 (bug-ungetwc2-ENV): Likewise.
7211 (tst-swscanf-ENV): Likewise.
7212 (bug-ftell-ENV): Likewise.
7213 (tst-fgetwc-ENV): Likewise.
7214 (tst-fseek-ENV): Likewise.
7215 (tst-ftell-partial-wide-ENV): Likewise.
7216 (tst-ftell-active-handler-ENV): Likewise.
7217 (tst-ftell-append-ENV): Likewise.
7218 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7219 (tst-regexloc-ENV): Likewise.
7220 (bug-regex1-ENV): Likewise.
7221 (tst-regex-ENV): Likewise.
7222 (tst-regex2-ENV): Likewise.
7223 (bug-regex5-ENV): Likewise.
7224 (bug-regex6-ENV): Likewise.
7225 (bug-regex17-ENV): Likewise.
7226 (bug-regex18-ENV): Likewise.
7227 (bug-regex19-ENV): Likewise.
7228 (bug-regex20-ENV): Likewise.
7229 (bug-regex22-ENV): Likewise.
7230 (bug-regex23-ENV): Likewise.
7231 (bug-regex25-ENV): Likewise.
7232 (bug-regex26-ENV): Likewise.
7233 (bug-regex30-ENV): Likewise.
7234 (bug-regex32-ENV): Likewise.
7235 (bug-regex33-ENV): Likewise.
7236 (bug-regex34-ENV): Likewise.
7237 (bug-regex35-ENV): Likewise.
7238 (tst-rxspencer-ENV): Likewise.
7239 (tst-rxspencer-no-utf8-ENV): Likewise.
7240 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7241 (tst-sscanf-ENV): Likewise.
7242 (tst-swprintf-ENV): Likewise.
7243 (tst-swscanf-ENV): Likewise.
7244 (test-vfprintf-ENV): Likewise.
7245 (scanf13-ENV): Likewise.
7246 (bug14-ENV): Likewise.
7247 (tst-grouping-ENV): Likewise.
7248 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7249 (tst-strtod3-ENV): Likewise.
7250 (tst-strtod4-ENV): Likewise.
7251 (tst-strtod5-ENV): Likewise.
7252 (testmb2-ENV): Likewise./
7253 * string/Makefile (tst-strxfrm-ENV): Likewise.
7254 (tst-strxfrm2-ENV): Likewise.
7255 (bug-strcoll1-ENV): Likewise.
7256 (test-strcasecmp-ENV): Likewise.
7257 (test-strncasecmp-ENV): Likewise.
7258 * time/Makefile (tst-strptime-ENV): Likewise.
7259 (tst-ftime_l-ENV): Likewise.
7260 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7261 (tst-mbrtowc-ENV): Likewise.
7262 (tst-wcrtomb-ENV): Likewise.
7263 (tst-mbrtowc2-ENV): Likewise.
7264 (tst-c16c32-1-ENV): Likewise.
7265 (tst-mbsnrtowcs-ENV): Likewise.
7266
cd1fb604
OB
72672014-06-05 Ondřej Bílka <neleai@seznam.cz>
7268
7269 * manual/resource.texi (How to get information about the memory
7270 subsystem?): Fix typo.
7271 Reported by Peon de la Parra Ivan <peon@keba.com>
7272
b42eca7d
GY
72732014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7274
7275 [BZ #16882]
7276 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7277 (pthread_spin_lock): Branch out of spin loop to proper location.
7278 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7279 (pthread_spin_lock): Likewise.
7280
902b71f9
DM
7281 * nptl/tst-spin4.c: New test.
7282 * nptl/Makefile (tests): Add tst-spin4.
7283
f9d2d032
AS
72842014-06-03 Andreas Schwab <schwab@suse.de>
7285
7286 [BZ #15946]
7287 * resolv/res_send.c (send_dg): Reload file descriptor after
7288 calling reopen.
7289
cf7bfd28
SL
72902014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7291
7292 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7293
111cc714
RH
72942014-06-03 Richard Henderson <rth@redhat.com>
7295
89b4bd6b
RH
7296 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7297 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7298 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7299 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7300 in the SAVE_PID block.
7301 (__libc_vfork): New alias.
71840409 7302 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 7303
111cc714
RH
7304 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7305 child in registers, not on the stack. Remove RESET_PID conditionals.
7306 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7307
ccc39911
MS
73082014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7309
7310 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7311
693096cc
W
73122014-06-03 Wilco <wdijkstr@arm.com>
7313
7314 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7315 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7316 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7317 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7318 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7319 Likewise.
7320
0b4366bc
W
73212014-06-03 Wilco <wdijkstr@arm.com>
7322
7323 * sysdeps/aarch64/fpu/math_private.h
7324 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7325 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7326 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7327 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7328 Fix declarations.
7329
8747cd03
KS
73302014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7331
7332 * crypt/crypt-private.h: Include ufc-crypt.h.
7333 (__b64_from_24bit): Declare extern.
7334 * crypt/crypt_util.c(__b64_from_24bit): New function.
7335 (b64t): New static const variable.
7336 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7337 (b64t): Remove variable.
7338 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7339 * crypt/sha256-crypt.c: Include crypt-private.h.
7340 (b64t): Remove variable.
7341 (__sha256_crypt_r): Remove b64_from_24bit and replace
7342 with __b64_from_24bit.
7343 * crypt/sha512-crypt.c: Likewise.
7344
d936d379
RM
73452014-06-02 Roland McGrath <roland@hack.frob.com>
7346
7347 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7348 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7349 Label the code __libc_vfork rather than __vfork.
7350 [!NOT_IN_libc] (vfork): Define as weak alias.
7351 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7352 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7353 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7354
9fa76613
SP
73552014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7356
7357 * malloc/malloc.c (malloc_info): Fix format specifier for
7358 n_mmaps.
7359
a88dadbe
W
73602014-06-02 Wilco <wdijkstr@arm.com>
7361
7362 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7363 FPCR write.
7364
c95b3011
W
73652014-06-02 Wilco <wdijkstr@arm.com>
7366
7367 [BZ #17009]
7368 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7369 Rewrite to reduce FPCR/FPSR accesses.
7370
6b4d7a90
DM
73712014-06-01 David S. Miller <davem@davemloft.net>
7372
7373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7374
30f3d07c
DM
73752014-05-31 David S. Miller <davem@davemloft.net>
7376
7377 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7378 to occur in round to nearest mode when |x| >= 2.0
7379
74f31c18
RH
73802014-05-30 Richard Henderson <rth@twiddle.net>
7381
f0712b54
RH
7382 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7383 (PSEUDO_RET_NOERRNO): Remove.
7384 (ret): Don't redefine.
7385 (ret_NOERRNO): Define in terms of ret.
7386 (ret_ERRVAL): Likewise.
7387
74f31c18
RH
7388 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7389 use of PSEUDO_RET; perform the error check directly.
7390
30477995
MM
73912014-05-30 Marko Myllynen <myllynen@redhat.com>
7392
7393 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7394 with __int128_t.
7395
62a58816
SP
73962014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7397
7398 * malloc/malloc (malloc_info): Fix formatting.
7399
4d653a59
SP
74002014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7401 Roland McGrath <roland@hack.frob.com>
7402
7403 * malloc/malloc (malloc_info): Also print mmapped statistics.
7404
5190c17f
RM
74052014-05-30 Roland McGrath <roland@hack.frob.com>
7406
7407 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7408 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7409
987c0269
OB
74102014-05-30 Ondřej Bílka <neleai@seznam.cz>
7411
7412 * malloc/malloc.c (malloc_info): Inline mi_arena.
7413
af4e8ef9
RH
74142014-05-29 Richard Henderson <rth@twiddle.net>
7415
1670e207
RH
7416 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7417 Remove comma before expanding ASM_ARGS_##nr.
7418 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7419 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7420 of ASM_ARGS_##nr.
7421 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7422 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7423 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7424 (ASM_ARGS_1): Add leading comma.
7425
11a28aee
RH
7426 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7427 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7428 to __errno_location.
7429 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7430 Remove the expected plt for __errno_location.
7431
a17e5ffb 7432 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 7433 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
7434 call to __read_tp.
7435
b5be4597
RH
7436 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7437 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7438 it and break it down.
7439 (DOCARGS_0, DOCARGS_1): Do nothing.
7440 (DOCARGS_2): Update to store into the new stack frame.
7441 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7442 (UNDOCARGS_1): Update to restore from the new stack frame.
7443 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7444 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7445
645d44ab
RH
7446 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7447 (SINGLE_THREAD_P): New parameter for result regno.
7448 (PSEUDO): Update to match; use cbz instead of beq.
7449
a8b4f04a
RH
7450 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7451 Use ENTRY to define the _nocancel entry point. Share the syscall
7452 and syscall error check paths with the cancel path.
7453 (PSEUDO_END): New.
7454
af4e8ef9
RH
7455 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7456 whitespace; tabs before and after asm mnemonics.
7457
26b0d2e1
EW
74582014-05-29 Eric Wong <normalperson@yhbt.net>
7459
7460 [BZ #15132]
7461 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7462 Call fstat64 or stat64 internally, depending on arguments passed.
7463 Replace stat buffer argument with file descriptor argument.
7464 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7465 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7466 Pass fd to __internal_statvfs instead of calling fstat64.
7467 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7468 Pass fd to __internal_statvfs64 instead of calling fstat64.
7469 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7470 Pass -1 to __internal_statvfs instead of calling stat64.
7471 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7472 Pass -1 to __internal_statvfs64 instead of calling stat64.
7473
1efe2bd9
RM
74742014-05-28 Roland McGrath <roland@hack.frob.com>
7475
0d3b7a19
RM
7476 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7477 that was previously under [RESET_PID].
7478 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7479
1efe2bd9
RM
7480 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7481 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7482
a6bea3ca
RM
74832014-05-27 Roland McGrath <roland@hack.frob.com>
7484
30b6629e
RM
7485 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7486
a6bea3ca
RM
7487 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7488 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7489
3dfb9a5c
OB
74902014-05-27 Ondřej Bílka <neleai@seznam.cz>
7491
7492 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7493
774f9285
AS
74942014-05-27 Andreas Schwab <schwab@suse.de>
7495
7496 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7497 TLS_INIT_TP macro.
7498 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7499 * elf/rtld.c (init_tls, dl_main): Likewise.
7500 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7501 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7502 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7503 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7504 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7505 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7506 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7507 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7508 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7509 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7510 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7511 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7512 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7513 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7514 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7515 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7516 * sysdeps/generic/tls.h: Update description.
7517
36ffe739
WN
75182014-05-27 Will Newton <will.newton@linaro.org>
7519
7520 [BZ #16990]
7521 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7522 and restore r2 rather than just restoring.
7523
2482ae43
SP
75242014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7525
7526 [BZ #16724]
7527 * libio/tst-ftell-append.c: New test case.
7528 * libio/Makefile (tests): Add test case.
7529 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7530 append mode.
7531 * libio/wfileops.c (do_ftell_wide): Likewise.
7532
3d1024e8
AZ
75332014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7534
bab90016
AZ
7535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7536
c7a8d667
AZ
7537 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7538 ...
7539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7541 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7542 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7543 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7544 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7545 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7546 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7547 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7548 Moved ...
7549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7550 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7551 Moved ...
7552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7553 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7554 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7555 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7556 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7557 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7558 ...
7559 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7560 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7561 Moved ...
7562 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7563 here.
7564 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7565 ...
7566 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7567 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7568 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7569
daee7851
AZ
7570 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7571 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7572 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7573 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7574
50a40819
AZ
7575 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7576 merge into ...
7577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7578 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7579 ...
7580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7581 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7582 ...
7583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7584 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7585 Moved ...
7586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7587 here.
7588 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7589 Moved ...
7590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7591 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7592 Moved ...
7593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7594
8464c2a1
AZ
7595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7596 conditional [RESET_PID].
7597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7598 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7599 removed.
7600 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7601 removed.
7602
3d1024e8
AZ
7603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7604 <tcb-offsets.h>.
7605 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7606 (__libc_vfork): New strong alias.
7607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7608 removed.
7609 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7610 Removed.
7611
7612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7613 <tcb-offsets.h>.
7614 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7615 (__libc_vfork): New strong alias.
7616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7617 removed.
7618 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7619 removed.
7620
fdfd175d
CD
76212014-05-26 Carlos O'Donell <carlos@redhat.com>
7622
7623 * malloc/malloc.c (mi_arena): New function.
7624 (malloc_info): Remove nested function mi_arena. Call non-nosted
7625 function mi_arena.
7626
d298c416
AZ
76272014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7628
7629 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7630 by insrwi.
7631 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7632 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7633 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7634 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7635 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7636 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7637 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7638
b60ea6ff
AS
76392014-05-26 Andreas Schwab <schwab@suse.de>
7640
7641 [BZ #16984]
7642 * locale/programs/repertoire.c (repertoire_read): Add slash
7643 between I18NPATH element and file name.
7644 * locale/programs/locfile.c (locfile_read): Likewise.
7645
67365926
SL
76462014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7647
7648 * nptl/pthread_mutexattr_settype.c
7649 (__pthread_mutexattr_settype):
7650 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7651
f8bdf1f0
SL
76522014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7653
7654 * nptl/tst-mutex5 (do_test):
7655 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7656
15eaf6ff
SP
76572014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7658
7659 * benchtests/README: Document 'init' directive.
7660 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7661 BENCH_INIT.
7662 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7663 (parse_file): Recognize 'init' directive.
7664
75f11331
KM
76652014-05-26 Kyle McMartin <kyle@redhat.com>
7666
7667 [BZ #16796]
7668 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7669 alignment of struct pthread.
7670
c3ec475c
SP
76712014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7672
7673 [BZ #16878]
7674 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7675 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7676 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7677 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7678
82aab97c
RH
76792014-05-25 Richard Henderson <rth@twiddle.net>
7680
aa2f176d
RH
7681 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7682 (SINGLE_THREAD_P_PIC): Remove.
7683 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7684 (SINGLE_THREAD_P_PIC): Remove.
7685
ca3cfa40
RH
7686 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7687 branch to syscall error ...
7688 (PSEUDO): ... here.
7689 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7690 from __local_syscall_error to .Lsyscall_error.
7691 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7692 (SYSCALL_ERROR): Update label name.
7693
6e6c2d01
RH
7694 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7695 Do not use DOARGS/UNDOARGS.
7696 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7697 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7698 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7699 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7700 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7701
c69abcee
RH
7702 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7703 block comment.
7704
82aab97c
RH
7705 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7706 define if !NOT_IN_libc.
7707 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7708 define with non-default symbol versions.
7709
8820e3ac
RH
77102014-05-23 Richard Henderson <rth@twiddle.net>
7711
900e445f
RH
7712 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7713 (vfork, __vfork): Define via compat_symbol.
7714
8820e3ac
RH
7715 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7716 [!HAVE_IFUNC] (vfork_compat): Remove.
7717 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7718
e59252a5
JM
77192014-05-23 Joseph Myers <joseph@codesourcery.com>
7720
7721 [BZ #16978]
7722 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7723 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7724 variable.
7725
132c7f5f
RH
77262014-05-23 Richard Henderson <rth@twiddle.net>
7727
bc89e962
RH
7728 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7729 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7730 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7731 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7732
7733 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7734 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7735 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7736 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7737 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7738 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7739 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7740 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7741 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7742 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7743 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7744 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7745 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7746 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7747 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7748 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7749 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7750 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7751 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7752 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7753 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7754 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7755 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7756 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7757 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7758 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7759 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7760 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7761 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7762 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7763 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7764 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7765 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7766 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7767 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7768 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7769 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7770 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7771 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7772 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7773 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7774 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7775 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7776 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7777 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7778 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7779 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7780 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7781 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7782 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7783 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7784 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7785 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7786 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7787 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7788 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7789
e2fa4bc2
RH
7790 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7791 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7792 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7793 before exiting on error.
7794 (__libc_vfork): New strong alias.
7795 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7796 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7797
279b24e2
RH
7798 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7799 that was previously under [RESET_PID].
7800 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7801
132c7f5f
RH
7802 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7803
b72592e7
JM
78042014-05-23 Joseph Myers <joseph@codesourcery.com>
7805
7806 [BZ #16977]
7807 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7808 value when x - 1 is zero.
7809 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7810 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7811 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7812 0.0L for an argument of 1.0L.
7813 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7814 Likewise.
7815 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7816 value when x - 1 is zero.
7817 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7818 * sysdeps/i386/fpu/libm-test-ulps: Update.
7819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7820
2302d679
RV
78212014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7822
7823 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7824 alphasort and versionsort.
7825
32999d63
AZ
78262014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7827
7828 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7829 macro.
7830 [copysignf]: Likewise.
7831
019324d0
SP
78322014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7833
7834 * crypt/md5-crypt.c: Fix formatting.
7835
34fff5c2
KS
78362014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7837
7838 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7839 (b64_from_24bit): New function.
7840
3d2badac
AZ
78412014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7842
7843 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7844 libc_hidden_builtin_def to ifunc.
7845 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7846 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7847
f7bb179f 78482014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7849
7850 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7851 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7852
4134b50d
JM
78532014-05-21 Joseph Myers <joseph@codesourcery.com>
7854
bb7d0337
JM
7855 * nscd/Depend (linuxthreads): Remove.
7856 (nptl): Add.
7857 * resolv/Depend (linuxthreads): Remove.
7858 * rt/Depend (linuxthreads): Remove.
7859
4134b50d
JM
7860 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7861 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7862 $(common-objpfx)elf/.
7863 (link-libc-before-gnulib): Likewise.
7864 (elfobjdir): Remove variable.
7865 * Makefile (install): Use $(elf-objpfx) instead of
7866 $(common-objpfx)elf/.
7867 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7868 $(elfobjdir)/.
7869 (link-libc-deps): Likewise.
7870 ($(common-objpfx)libc.so): Likewise.
7871 ($(common-objpfx)linkobj/libc.so): Likewise.
7872 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7873 instead of $(common-objpfx)elf/.
7874 (symbolic-link-list): Likewise.
7875 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7876 [$(cross-compiling) = no]: Likewise.
7877 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7878 $(elfobjdir)/.
7879 (static-gnulib-arch): Likewise.
7880 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7881 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7882 $(common-objpfx)elf/.
7883
3612eb8f
RH
78842014-05-21 Richard Henderson <rth@redhat.com>
7885
a6b3657b
RH
7886 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7887 (SINGLE_THREAD_P): Use the correct width load. Fold
7888 into the ldr offset.
7889
3612eb8f
RH
7890 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7891 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7892
175cef41
JM
78932014-05-20 Joseph Myers <joseph@codesourcery.com>
7894
7895 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7896 (libgcc_s_resume): Use __attribute_used__.
7897 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7898 Likewise.
7899
e13bccd3
AZ
79002014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7901
7902 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7903 optimization when used with float constants.
7904
7c112a38
AZ
7905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7906
ae75a883
AJ
79072014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7908
7909 [BZ #16915]
7910 * locale/nl_langinfo_l.c: Make direct reference to every
7911 _nl_current_CATEGORY symbol.
7912 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7913 (tests-static): Add tst-langinfo-static.
7914 (tests-special): Add tst-langinfo-static.out.
7915 ($(objpfx)tst-langinfo.out): Redirect output.
7916 ($(objpfx)tst-langinfo-static.out): New.
7917 * localedata/tst-langinfo.sh: Send output to stdout.
7918 * localedata/tst-langinfo-static.c: New file.
7919
4406c41c
AJ
7920 [BZ #16965]
7921 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7922 when the shift amount is modulo the limb size.
7923
4c0a1e63
RH
79242014-05-20 Richard Henderson <rth@redhat.com>
7925
de9d8f20
RH
7926 [BZ #16967]
7927 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7928 Change type of sa_flags from unsigned int to int.
7929
4c0a1e63
RH
7930 [BZ #16966]
7931 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
7932
7933 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7934
a60339aa
WN
79352014-05-20 Will Newton <will.newton@linaro.org>
7936
7937 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7938 Test the return value of the system call in the nocancel case.
7939
7d05a816
YR
79402014-05-20 Will Newton <will.newton@linaro.org>
7941 Yvan Roux <yvan.roux@linaro.org>
7942
7943 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7944 #include of asm/ptrace.h.
7945 (PTRACE_GET_THREAD_AREA): Remove #undef.
7946 (PTRACE_GETHBPREGS): Likewise.
7947 (PTRACE_SETHBPREGS): Likewise.
7948 (struct user_regs_struct): New structure.
7949 (struct user_fpsimd_struct): New structure.
7950 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7951 #include of asm/ptrace.h and second #include of sys/user.h.
7952 (PTRACE_GET_THREAD_AREA): Remove #undef.
7953 (PTRACE_GETHBPREGS): Likewise.
7954 (PTRACE_SETHBPREGS): Likewise.
7955 (ELF_NGREG): Use new struct user_regs_struct.
7956 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7957
af121e37
AZ
79582014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7959
7960 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7961 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7962
834caf06
JM
79632014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7964
7965 [BZ #16958]
7966 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7967 membar to avoid block loads/stores to overlap previous stores.
7968
e184a918
RH
79692014-05-17 Richard Henderson <rth@redhat.com>
7970
7971 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7972 Create the __##syscall_name##_nocancel entry point.
7973 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7974 Remove; let the sysdep-cancel.h code create it.
7975
f56c7a6a
DM
79762014-05-17 David S. Miller <davem@davemloft.net>
7977
7978 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7979 Protect with __USE_GNU.
7980 (TIOCSET_TEMPT): Likewise.
7981 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7982 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7983 these are already provided in bits/ioctl-types.h
7984
f75616b2
RM
79852014-05-16 Roland McGrath <roland@hack.frob.com>
7986
3edeca86
RM
7987 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7988 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7989
f75616b2
RM
7990 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7991 Use wait4 regardless of [__NR_waitpid].
7992
deb0f7f6
MR
79932014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7994
7995 PR libgcc/60166
7996 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7997 (_FP_NANSIGN_Q): Set the quiet bit.
7998
79520f4b
JM
79992014-05-16 Joseph Myers <joseph@codesourcery.com>
8000
8001 * benchtests/Makefile
8002 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8003 not $(common-objpfx)math/libm.so.
8004 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8005 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8006 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8007 $(common-objpfx)dlfcn/libdl.so.
8008 ($(objpfx)tst-audit8): Depend on $(libm), not
8009 $(common-objpfx)math/libm.so.
8010 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8011 not $(common-objpfx)dlfcn/libdl.so.
8012 * math/Makefile
8013 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8014 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
8015 [$(build-shared) = yes].
8016 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8017 $(common-objpfx)nptl/libpthread.so.
8018 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8019 $(common-objpfx)math/libm.so$(libm.so-version) or
8020 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8021 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8022 $(common-objpfx)dlfcn/libdl.so.
8023 * setjmp/Makefile (link-libm): Remove variable.
8024 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8025 * stdio-common/Makefile (link-libm): Remove variable.
8026 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8027 * stdlib/Makefile (link-libm): Remove variable.
8028 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8029 ($(objpfx)tst-strtod-round): Likewise.
8030 ($(objpfx)tst-tininess): Likewise.
8031 ($(objpfx)tst-strtod-underflow): Likewise.
8032 ($(objpfx)tst-strtod6): Likewise.
8033 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8034 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8035 $(common-objpfx)dlfcn/libdl.so.
8036
026b0fe4
AZ
80372014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8038
8039 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8040 BSD terminal modes definitions.
8041
def4bcb2
RM
80422014-05-16 Roland McGrath <roland@hack.frob.com>
8043
fe39b021
RM
8044 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8045 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8046
1d1fc46e 8047 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
8048 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8049 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8050 Don't do #include_next.
8051 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8052 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8053 Don't do #include_next.
8054 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8055 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8056 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8057 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8058
c72399fb
AM
80592014-05-16 Allan McRae <allan@archlinux.org>
8060
d51d659d
AM
8061 * po/sv.po: Update Swedish translation from translation project.
8062
c72399fb
AM
8063 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8064 in sed expression.
8065
d0583c40
AJ
80662014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8067
8068 [BZ #16917]
8069 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8070 errno if the TIOCGPTN ioctl fails with an error different than
8071 EINVAL.
8072 * login/tst-ptsname.c: New file.
8073 * login/Makefile (tests): Add tst-ptsname.
8074
d16e6ec7
AJ
8075 [BZ #16943]
8076 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8077 and prlimit64.
8078
cf26a0cb
SP
80792014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8080
8081 [BZ #16849]
8082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8083 herrno to return EAI_AGAIN.
8084
5675da1e
RM
80852014-05-14 Roland McGrath <roland@hack.frob.com>
8086
a5d87b3d
RM
8087 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8088 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8089 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8090 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8091 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8092 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8093 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8094 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8095 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8096 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8097 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8098 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8099 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8100 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8101 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8102 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8103 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8104 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8105 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8106 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8107 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8108 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8109 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8110 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8111 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8112 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8113 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8114 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8115 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8116 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8118 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8120 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8122 Moved ...
8123 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8125 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8127 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8129 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8131 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8133 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8135 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8137 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8139 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8141 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8143 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8145 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8147 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8149 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8151 Moved ...
8152 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8154 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8156 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8158 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8160 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8162 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8164 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8166 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8168 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8170 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8172 Moved ...
8173 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8175 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8176
039890a6
RM
8177 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8178 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8179 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8180 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8181 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8182 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8183 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8184 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8185 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8186 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8187 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8188 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8189 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8190 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8191 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8192 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8193 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8194 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8195 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8196 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8197 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8198 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8199 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8200 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8201 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8202 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8203 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8204 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8205 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8206 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8207 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8208
65c89320
RM
8209 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8210 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8211
348f8e8c
RM
8212 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8213 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8214 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8215 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8216 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8217 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8218 Moved ...
8219 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8220 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8221 Moved ...
8222 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8223 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8224 Moved ...
8225 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8226 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8227 Moved ...
8228 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8229 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8230 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8231 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8232 Moved ...
8233 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8234 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8235 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8236 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8237 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8238 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8239 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8240 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8241 Moved ...
8242 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8243 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8244 Moved ...
8245 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8246 ... here.
8247 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8248 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8249 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8250 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8251 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8252 Moved ...
8253 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8254 ... here.
8255 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8256 Moved ...
8257 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8258 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8259 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8260 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8261 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8262 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8263 Moved ...
8264 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8265 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8266 Moved ...
8267 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8268 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8269 Moved ...
8270 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8271 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8272 Moved ...
8273 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8274 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8275 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8276 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8277 Moved ...
8278 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8279 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8280 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8281 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8282 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8283 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8284 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8285 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8286 Moved ...
8287 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8288 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8289 Moved ...
8290 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8291 ... here.
8292 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8293 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8294 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8295 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8296 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8297 Moved ...
8298 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8299 ... here.
8300 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8301 Moved ...
8302 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8303 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8304 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8305 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8306 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8307 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8308 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8309 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8310 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8311 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8312 Moved ...
8313 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8314 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8315 Moved ...
8316 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8317 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8318 Moved ...
8319 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8320 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8321 Moved ...
8322 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8323 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8324 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8325 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8326 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8327 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8328 Moved ...
8329 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8330 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8331 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8332 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8333 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8334 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8335 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8336 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8337 Moved ...
8338 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8339 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8340 Moved ...
8341 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8342 ... here.
8343 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8344 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8345 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8346 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8347 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8348 Moved ...
8349 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8350 ... here.
8351 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8352 Moved ...
8353 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8354 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8355 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8356 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8357 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8358 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8359 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8360 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8361 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8362 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8363 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8364
5085af05
RM
8365 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8366 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8367
708f0813
RM
8368 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8369 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8370
c96067bc
RM
8371 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8372 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8373 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8374 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8375 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8376 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8377 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8378 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8379 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8380 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8381 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8382 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8383 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8384 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8385 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8386 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8387 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8388 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8389 Moved ...
8390 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8391 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8392 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8393 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8394 Moved ...
8395 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8396 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8397 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8398 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8399 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8400 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8401 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8402 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8403 Moved ...
8404 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8405 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8406 Moved ...
8407 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8408 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8409 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8410 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8411 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8412 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8413 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8414 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8415 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8416 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8417 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8418 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8419 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8420 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8421 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8422 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8423 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8424
ec136444
RM
8425 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8426 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8427 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8428 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8429 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8430
2fbdf533
RM
8431 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8432 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8433 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8434 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8435 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8436 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8437 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8438 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8439 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8440 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8441
4c68138b
RM
8442 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8443 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8444
4eaae765
RM
8445 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8446 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
8447 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8448 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8449 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8450 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8451 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8452 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8453 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8454 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8455 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8456 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8457 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8458 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8459 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8460 Update #include.
8461 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8462 Likewise.
8463 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8464 Likewise.
8465 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8466 Likewise.
8467 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8468 Likewise.
8469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8470 Likewise.
8471 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8472 Likewise.
8473 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8474 Likewise.
8475 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8476 Likewise.
8477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8478 Likewise.
4ef6befa
RM
8479 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8480 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8481 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8482 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
8484 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8485 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8486 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8487 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8488 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8489 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8490 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8491 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8492 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8493 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 8494
941d7dfd
RM
8495 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8496 that was previously under [RESET_PID].
8497 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8498 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8499 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8500
1b731c35
RM
8501 * sysdeps/i386/nptl/Implies: New file.
8502 * sysdeps/x86_64/nptl/Implies: New file.
8503 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8504 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8505 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8506 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8507
e2787137
RM
8508 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8509 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8510 (__libc_vfork): New strong alias.
8511 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8512 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8513
8514 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8515 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8516 (__libc_vfork): New strong alias.
8517 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8518 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8519
5675da1e
RM
8520 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8521 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8522 (__libc_vfork): New strong alias.
8523 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8524 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8525 * nptl/pt-vfork.c: New file.
8526 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8527 (libpthread: GLIBC_2.20): New version set (empty).
8528
4f02e2b8
WN
85292014-05-14 Will Newton <will.newton@linaro.org>
8530
8531 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8532 rather than #if.
8533
0bf061d3
JM
85342014-05-14 Joseph Myers <joseph@codesourcery.com>
8535
1a84c3d6
JM
8536 [BZ #16564]
8537 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8538 arguments with exponent 65 or above.
8539 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8540 arguments 0x1p113L or above.
8541 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8542 to arguments 0x1p107L or above.
8543 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8544 positive arguments with exponent 65 or above.
8545 * math/auto-libm-test-in: Add more tests of log1p.
8546 * math/auto-libm-test-out: Regenerated.
8547
01dbacd2
JM
8548 [BZ #16928]
8549 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8550 non-finite arguments is +0.
8551 * math/s_cacosf.c (__cacosf): Likewise.
8552 * math/s_cacosl.c (__cacosl): Likewise.
8553 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8554 * sysdeps/i386/fpu/libm-test-ulps: Update.
8555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8556
913d03c8
JM
8557 [BZ #16927]
8558 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8559 value.
8560 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8561 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8562 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8563 for explicit high bit of mantissa when testing for argument equal
8564 to 1.
8565 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8566 * sysdeps/i386/fpu/libm-test-ulps: Update.
8567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8568
0bf061d3
JM
8569 [BZ #16516]
8570 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8571 (__erf): Scale by 16 instead of 8 in potentially underflowing
8572 case. Ensure exception if result actually underflows.
8573 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8574 (__erff): Scale by 16 instead of 8 in potentially underflowing
8575 case. Ensure exception if result actually underflows.
8576 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8577 (efx8): Remove variable.
8578 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8579 case. Ensure exception if result actually underflows.
8580 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8581 (efx8): Remove variable.
8582 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8583 case. Ensure exception if result actually underflows.
8584 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8585 (efx8): Remove variable.
8586 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8587 case. Ensure exception if result actually underflows.
8588 * math/auto-libm-test-in: Add more tests of erf.
8589 * math/auto-libm-test-out: Regenerated.
8590
73ba67cb
AS
85912014-05-14 Andreas Schwab <schwab@suse.de>
8592
3d8c8bff
AS
8593 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8594 Remove code conditionalized on USE___THREAD.
8595
73ba67cb
AS
8596 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8597 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8598 not definedness.
8599
5c521ecd
JM
86002014-05-14 Joseph Myers <joseph@codesourcery.com>
8601
5e7698c6
JM
8602 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8603 Define unconditionally.
8604 (__ASSUME_O_CLOEXEC): Likewise.
8605 (__ASSUME_SOCK_CLOEXEC): Likewise.
8606 (__ASSUME_IN_NONBLOCK): Likewise.
8607 (__ASSUME_PIPE2): Likewise.
8608 (__ASSUME_EVENTFD2): Likewise.
8609 (__ASSUME_SIGNALFD4): Likewise.
8610 (__ASSUME_DUP3): Likewise.
8611 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8612 (__ASSUME_DUP3): Do not define.
8613 (__ASSUME_EVENTFD2): Likewise.
8614 (__ASSUME_IN_NONBLOCK): Likewise.
8615 (__ASSUME_O_CLOEXEC): Likewise.
8616 (__ASSUME_PIPE2): Likewise.
8617 (__ASSUME_SIGNALFD4): Likewise.
8618 (__ASSUME_SOCK_CLOEXEC): Likewise.
8619 (__ASSUME_UTIMES): Undefine.
8620 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8621 (__ASSUME_UTIMES): Do not define.
8622 (__ASSUME_O_CLOEXEC): Likewise.
8623 (__ASSUME_SOCK_CLOEXEC): Likewise.
8624 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8625 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8626 0x020621].
8627 (__ASSUME_PIPE2): Likewise.
8628 (__ASSUME_EVENTFD2): Likewise.
8629 (__ASSUME_SIGNALFD4): Likewise.
8630 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8631 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8632 Do not define.
8633 (__ASSUME_EVENTFD2): Likewise.
8634 (__ASSUME_SIGNALFD4): Likewise.
8635 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8636 (__ASSUME_32BITUIDS): Likewise.
8637 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8638 (__ASSUME_IPC64): Likewise.
8639 (__ASSUME_ST_INO_64_BIT): Likewise.
8640 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8641 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8642 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8643 (__ASSUME_UTIMES): Do not define.
8644 (__ASSUME_PSELECT): Likewise.
8645 (__ASSUME_PPOLL): Likewise.
8646 (__ASSUME_O_CLOEXEC): Likewise.
8647 (__ASSUME_SOCK_CLOEXEC): Likewise.
8648 (__ASSUME_IN_NONBLOCK): Likewise.
8649 (__ASSUME_PIPE2): Likewise.
8650 (__ASSUME_EVENTFD2): Likewise.
8651 (__ASSUME_SIGNALFD4): Likewise.
8652 (__ASSUME_DUP3): Likewise.
8653 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8654 (__ASSUME_UTIMES): Likewise.
8655 (__ASSUME_O_CLOEXEC): Likewise.
8656 (__ASSUME_SOCK_CLOEXEC): Likewise.
8657 (__ASSUME_IN_NONBLOCK): Likewise.
8658 (__ASSUME_PIPE2): Likewise.
8659 (__ASSUME_EVENTFD2): Likewise.
8660 (__ASSUME_SIGNALFD4): Likewise.
8661 (__ASSUME_DUP3): Likewise.
8662 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8663 (__ASSUME_UTIMES): Likewise.
8664 (__ASSUME_O_CLOEXEC): Likewise.
8665 (__ASSUME_SOCK_CLOEXEC): Likewise.
8666 (__ASSUME_IN_NONBLOCK): Likewise.
8667 (__ASSUME_PIPE2): Likewise.
8668 (__ASSUME_EVENTFD2): Likewise.
8669 (__ASSUME_SIGNALFD4): Likewise.
8670 (__ASSUME_DUP3): Likewise.
8671 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8672 Likewise.
8673 (__ASSUME_UTIMES): Likewise.
8674 (__ASSUME_EVENTFD2): Likewise.
8675 (__ASSUME_SIGNALFD4): Likewise.
8676 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8677 (__ASSUME_O_CLOEXEC): Likewise.
8678 (__ASSUME_SOCK_CLOEXEC): Likewise.
8679 (__ASSUME_IN_NONBLOCK): Likewise.
8680 (__ASSUME_PIPE2): Likewise.
8681 (__ASSUME_EVENTFD2): Likewise.
8682 (__ASSUME_SIGNALFD4): Likewise.
8683 (__ASSUME_DUP3): Likewise.
8684 (__ASSUME_UTIMES): Undefine.
8685
5c521ecd
JM
8686 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8687 feclearexcept. Remove symbol versioning code.
8688 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8689 symbol versioning code.
8690 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8691 symbol versioning code.
8692 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8693 feupdateenv. Remove symbol versioning code.
8694 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8695 fegetexceptflag. Remove symbol versioning code.
8696 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8697 fesetexceptflag. Remove symbol versioning code.
8698 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8699 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8700 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8701 (__posix_fadvise64_l32): Remove prototype.
8702 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8703 code.
8704
5da9dfad
RM
87052014-05-13 Roland McGrath <roland@hack.frob.com>
8706
8707 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8708 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8709 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8710 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8711
893b4f37
SK
87122014-05-13 Sami Kerola <kerolasa@iki.fi>
8713
8714 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8715 current working directory
8716
e0db6517
RM
87172014-05-13 Roland McGrath <roland@hack.frob.com>
8718
58aa195d
RM
8719 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8720 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8721 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8722 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8723 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8724 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8725 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8726 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8727 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8728 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8729 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8730 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8731 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8732 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8733 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8734 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8735 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8736 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8737 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8738 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8739 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8740 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8741 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8742 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8743 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8744 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8745 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8746 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8747 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8748 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8749 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8750 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8751 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8752 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8753 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8754 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8755 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8756 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8757 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8758 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8759 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8760 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8761
8c6d01f0
RM
8762 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8763 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8764
8765 * sysdeps/unix/sysv/linux/arm/Makefile
8766 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8767 Add rt-aeabi_unwind_cpp_pr1.
8768 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8769 Add nptl-aeabi_unwind_cpp_pr1.
8770 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8771 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8772 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8773 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8774 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8775 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8776
8777 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8778 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8779 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8780 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8781
bba6da4e
RM
8782 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8783 Deconditionalize the code that was previously under [RESET_PID].
8784 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8785
e0db6517
RM
8786 * sysdeps/generic/exit-thread.h: New file.
8787 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8788 * include/unistd.h (__exit_thread): Remove declaration.
8789 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8790 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8791 * csu/libc-start.c: Include <exit-thread.h>.
8792 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8793 * nptl/pthread_create.c: Include <exit-thread.h>.
8794 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8795 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8796 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8797 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8798 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8799 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8800 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8801 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8802 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8803 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8804 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8805 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8806 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8807 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8808 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8809 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8810 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8811
01eb16fd
AS
88122014-05-13 Andreas Schwab <schwab@suse.de>
8813
8814 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8815
637461d9
JM
88162014-05-12 Joseph Myers <joseph@codesourcery.com>
8817
8818 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8819 (__ASSUME_UTIMES): Do not condition on kernel version.
8820 (__ASSUME_PSELECT): Define unconditionally.
8821 (__ASSUME_PPOLL): Likewise.
8822 (__ASSUME_ATFCTS): Likewise.
8823 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8824 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8825 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8826 (__ASSUME_UTIMENSAT): Define unconditionally.
8827 (__ASSUME_PRIVATE_FUTEX): Likewise.
8828 (__ASSUME_FALLOCATE): Likewise.
8829 (__ASSUME_O_CLOEXEC): Likewise.
8830 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8831 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8832 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8833 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8834 (__ASSUME_IN_NONBLOCK): Likewise.
8835 (__ASSUME_PIPE2): Likewise.
8836 (__ASSUME_EVENTFD2): Likewise.
8837 (__ASSUME_SIGNALFD4): Likewise.
8838 (__ASSUME_DUP3): Likewise.
8839 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8840 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8841 (__ASSUME_AT_RANDOM): Likewise.
8842 (__ASSUME_PREADV): Likewise.
8843 (__ASSUME_PWRITEV): Likewise.
8844 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8845 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8846 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8847 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8848 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8849 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8850 (__ASSUME_O_CLOEXEC): Define unconditionally.
8851 (__ASSUME_PSELECT): Do not undefine conditionally.
8852 (__ASSUME_PPOLL): Likewise.
8853 (__ASSUME_ATFCTS): Likewise.
8854 (__ASSUME_SET_ROBUST_LIST): Likewise.
8855 (__ASSUME_UTIMENSAT): Likewise.
8856 (__ASSUME_FDATASYNC): Define unconditionally.
8857 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8858 (__ASSUME_SIGFRAME_V2): Likewise.
8859 )__ASSUME_EVENTFD2): Likewise.
8860 (__ASSUME_SIGNALFD4): Likewise.
8861 (__ASSUME_PSELECT): Do not undefine conditionally.
8862 (__ASSUME_PPOLL): Likewise.
8863 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8864 (__ASSUME_PSELECT): Define unconditionally.
8865 (__ASSUME_PPOLL): Likewise.
8866 (__ASSUME_O_CLOEXEC): Likewise.
8867 (__ASSUME_SOCK_CLOEXEC): Likewise.
8868 (__ASSUME_IN_NONBLOCK): Likewise.
8869 (__ASSUME_PIPE2): Likewise.
8870 (__ASSUME_EVENTFD2): Likewise.
8871 (__ASSUME_SIGNALFD4): Likewise.
8872 (__ASSUME_DUP3): Likewise.
8873 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8874 (__ASSUME_O_CLOEXEC): Likewise.
8875 (__ASSUME_SOCK_CLOEXEC): Likewise.
8876 (__ASSUME_IN_NONBLOCK): Likewise.
8877 (__ASSUME_PIPE2): Likewise.
8878 (__ASSUME_EVENTFD2): Likewise.
8879 (__ASSUME_SIGNALFD4): Likewise.
8880 (__ASSUME_DUP3): Likewise.
8881 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8882 (__ASSUME_EVENTFD2): Likewise.
8883 (__ASSUME_SIGNALFD4): Likewise.
8884 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8885
315eb1d8
AS
88862014-05-12 Andreas Schwab <schwab@suse.de>
8887
8888 [BZ #16932]
8889 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8890 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8891 than maximum RPC packet size.
8892 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8893 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8894 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8895 (_nss_nis_getservbyport_r): Likewise.
8896
91df99f7
WN
88972014-05-12 Will Newton <will.newton@linaro.org>
8898
8899 * malloc/Makefile (tests): Add tst-mallopt.
8900 * malloc/tst-mallopt.c: New file.
8901
0a982a29
RM
89022014-05-09 Roland McGrath <roland@hack.frob.com>
8903
8904 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8905 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8906
0ded08a5
AZ
89072014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8908
8909 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8910 (tst-tlsmod6.so): Likewise.
8911
55d4d550
RM
89122014-05-09 Roland McGrath <roland@hack.frob.com>
8913
8914 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8915
77d08aca
JM
89162014-05-09 Joseph Myers <joseph@codesourcery.com>
8917
8918 [BZ #16064]
8919 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8920 and <dl-procinfo.h>.
8921 (__fegetenv): Save SSE state in envp->__eip if supported.
8922 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8923 envp->__eip if supported.
8924 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8925 and <dl-procinfo.h>.
8926 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8927 __data_offset and __data_selector in environment to 0. Set SSE
8928 state if supported.
8929 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8930 test-fenv-sse.
8931 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8932 -mfpmath=sse.
8933 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8934
28162f4d
WN
89352014-05-09 Will Newton <will.newton@linaro.org>
8936
8937 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8938 and libc_relro_required for ARM.
8939 * sysdeps/arm/preconfigure: Regenerate.
8940
5a414ff7
DV
89412014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8942 Stefan Liebler <stli@linux.vnet.ibm.com>
8943
8944 * config.make.in (enable-lock-elision): New Makefile variable.
8945 * configure.ac: Likewise.
8946 * configure: Regenerate.
8947 * sysdeps/s390/configure.ac:
8948 Add check for gcc transactions support.
8949 * sysdeps/s390/configure: Regenerate.
8950 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8951 Build elision files if enabled.
8952 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8953 Add lock elision support for s390.
8954 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8955 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8956 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8957 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8958 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8959 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8960 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8961 Likewise.
8962 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8963 Likewise.
8964 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8965 Likewise.
8966 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8967 Likewise.
8968 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8969 (__lll_timedlock_elision, __lll_lock_elision)
8970 (__lll_unlock_elision, __lll_trylock_elision)
8971 (lll_timedlock_elision, lll_lock_elision)
8972 (lll_unlock_elision, lll_trylock_elision): Add.
8973 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8974 (pthread_mutex_t): Add lock elision support for s390.
8975
1a2f40e5
W
89762014-05-14 Wilco <wdijkstr@arm.com>
8977
8978 * sysdeps/arm/fclrexcpt.c: Cleanup.
8979 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8980 * sysdeps/arm/feenablxcpt.c: Cleanup.
8981 * sysdeps/arm/fegetenv.c: Cleanup.
8982 * sysdeps/arm/fegetexcept.c: Cleanup.
8983 * sysdeps/arm/fegetround.c: Cleanup.
8984 * sysdeps/arm/feholdexcpt.c: Cleanup.
8985 * sysdeps/arm/fesetenv.c: Cleanup.
8986 * sysdeps/arm/fesetround.c: Cleanup.
8987 * sysdeps/arm/feupdateenv.c: Cleanup.
8988 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8989 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8990 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8991 * sysdeps/arm/ftestexcept.c: Cleanup.
8992 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8993 * sysdeps/arm/setfpucw.c: Cleanup.
8994
f63c86fe
WN
89952014-05-09 Will Newton <will.newton@linaro.org>
8996
8997 * sysdeps/arm/armv7/strcmp.S: New file.
8998 * NEWS: Mention addition of ARMv7 optimized strcmp.
8999
7a1a51b5
RM
90002014-05-08 Roland McGrath <roland@hack.frob.com>
9001
95afbbe5
RM
9002 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9003 look for %.ac rather than %.in.
9004
9005 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9006 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9007 * sysdeps/mach/hurd/configure: Regenerated.
9008 * sysdeps/unix/sysv/linux/configure: Regenerated.
9009
7a1a51b5
RM
9010 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9011
5057ad3b
SE
90122014-05-07 Steve Ellcey <sellcey@mips.com>
9013
9014 [BZ# 16922]
9015 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9016 (LONG_SUB): Ditto.
9017 (PTR_SUB): Ditto.
9018
8dc97517
AS
90192014-05-07 Andreas Schwab <schwab@suse.de>
9020
9021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9022 when skipping over non-matching result from nscd.
9023
ce0c5b8f
OB
90242014-05-07 Ondřej Bílka <neleai@seznam.cz>
9025
9026 [BZ #16876]
9027 * nptl/sockperf.c (client): Check socket return value.
8dc97517 9028
a1189263
OB
9029 [BZ #16877]
9030 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9031 nscd security class.
ce0c5b8f 9032
0f58d252
RM
90332014-05-06 Roland McGrath <roland@hack.frob.com>
9034
9035 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9036 * sysdeps/arm/unwind.h: ... here.
9037
83df9ad0
AJ
90382014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9039
ce0c5b8f
OB
9040 [BZ# 16916]
9041 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9042 Define.
83df9ad0 9043
f360f94a
VR
90442014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9045
9046 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9047 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9048 multiarch strncpy for PPC64.
9049 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9050 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9051 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9052 multiarch optimizations.
9053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9054 (__libc_ifunc_impl_list): Likewise.
9055 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9056 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9057 multiarch stpncpy for PPC64.
9058 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9059 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9060
978a41c3
AS
90612014-05-06 Andreas Schwab <schwab@suse.de>
9062
9063 [BZ #16912]
9064 * gmon/mcount.c (_MCOUNT_DECL): Use
9065 atomic_compare_and_exchange_bool_acq instead of
9066 catomic_compare_and_exchange_bool_acq.
9067
eb1ed03d
RM
90682014-05-05 Roland McGrath <roland@hack.frob.com>
9069
fe658845
RM
9070 * elf/Makefile (others, install-bin): Remove pldd.
9071 (pldd-modules): Variable removed.
9072 ($(objpfx)pldd): Target removed.
9073 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9074 (others, install-bin): Append pldd here.
9075 ($(objpfx)pldd): New target.
9076
eb1ed03d
RM
9077 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9078 to 0, so the first #if test emitted later doesn't see it undefined.
9079 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9080 * sysdeps/gnu/errlist.c: Regenerated.
9081
19c4bec0
AZ
90822014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9083
9084 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9085 [libc_hidden_builtin_def]: Define to empty value.
9086 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9087 [libc_hidden_builtin_def]: Likewise.
9088 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9089 [libc_hidden_builtin_def]: Likewise.
9090 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9091 [libc_hidden_builtin_def]: Likewise.
9092 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9093 __redirect_memcpy and define ifunc as default hidden symbol.
9094 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9095 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9096
7776e669
AC
90972014-05-04 Adam Conrad <adconrad@0c3.net>
9098
9099 * locale/iso-4217.def: Reintroduce XDR currency.
9100
d69aeb12
AM
91012014-05-04 Allan McRae <allan@archlinux.org>
9102
9103 * po/eo.po: Update Esperanto translation from translation project.
9104
8f1df5cf
CD
91052014-05-02 Carlos O'Donell <carlos@redhat.com>
9106
9107 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9108 and FEATURE_INDEX_MAX to 1.
9109 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9110
13e402e7
SE
91112014-05-01 Steve Ellcey <sellcey@mips.com>
9112
9113 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9114 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9115 * iconvdata/big5.c (ONE_DIRECTION): Define.
9116 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9117 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9118 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9119 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9120 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9121 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9122 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9123 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9124 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9125 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9126 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9127 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9128 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9129 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9130 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9131 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9132 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9133 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9134 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9135 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9136 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9137 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9138 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9139 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9140 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9141 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9142 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9143 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9144 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9145 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9146 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9147 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9148 * iconvdata/johab.c (ONE_DIRECTION): Define.
9149 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9150 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9151 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9152 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9153 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9154 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9155 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9156 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9157 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9158 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9159
c727f032
RM
91602014-05-01 Roland McGrath <roland@hack.frob.com>
9161
8f2f08d0
RM
9162 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9163 (_IO_JUMPS_OFFSET): Define to 0.
9164
c727f032
RM
9165 * nptl/sysdeps/pthread/bits/libc-lock.h
9166 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9167 (__libc_lock_define_initialized_recursive): Always define using
9168 initializer. Modern compilers treat uninitialized (implicit zero) and
9169 explicit zero initializers the same (i.e. put the datum in bss).
9170
a849e800
AS
91712014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9172
9173 * nscd/nscd-client.h: Include <string.h>.
9174
5331255b
DM
91752014-05-01 David S. Miller <davem@davemloft.net>
9176
9177 [BZ #16885]
9178 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9179 multiple zero bytes exist at the end of a string.
9180 Reported by Aurelien Jarno <aurelien@aurel32.net>
9181
9182 * string/test-strcmp.c (check): Add explicit test for situations where
9183 there are multiple zero bytes after the first.
9184
4fdfe821
AS
91852014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9186
9187 [BZ #16890]
9188 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9189 when compiling wprintf.
9190 * stdio-common/tstdiomisc.c (t3): New function.
9191 (main): Call it.
9192
0cdddc25
SE
91932014-05-01 Steve Ellcey <sellcey@mips.com>
9194
9195 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9196 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9197 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9198 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9199
6426d77e
SE
92002014-05-01 Steve Ellcey <sellcey@mips.com>
9201
9202 * stdlib/longlong.h: Updated from GCC.
9203
6d96f5e4
WN
92042014-05-01 Will Newton <will.newton@linaro.org>
9205 Bernard Ogden <bernie.ogden@linaro.org>
9206
7470db0c
WN
9207 * NEWS: Update fixed bug list.
9208
6d96f5e4
WN
9209 [BZ #15119]
9210 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9211
211d653c
DM
92122014-04-30 David S. Miller <davem@davemloft.net>
9213
4fa262fa
DM
9214 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9215 (libc_feholdexcept_setround_sparc_ctx): New function.
9216 (libc_fesetenv_sparc_ctx): Likewise.
9217 (libc_feupdateenv_sparc_ctx): Likewise.
9218 (libc_feholdsetround_sparc_ctx): Likewise.
9219 (libc_feholdexcept_setround_ctx): Define.
9220 (libc_feholdexcept_setroundf_ctx): Likewise.
9221 (libc_feholdexcept_setroundl_ctx): Likewise.
9222 (libc_fesetenv_ctx): Likewise.
9223 (libc_fesetenvf_ctx): Likewise.
9224 (libc_fesetenvl_ctx): Likewise.
9225 (libc_feupdateenv_ctx): Likewise.
9226 (libc_feupdateenvf_ctx): Likewise.
9227 (libc_feupdateenvl_ctx): Likewise.
9228 (libc_feresetround_ctx): Likewise.
9229 (libc_feresetroundf_ctx): Likewise.
9230 (libc_feresetroundl_ctx): Likewise.
9231 (libc_feholdsetround_ctx): Likewise.
9232 (libc_feholdsetroundf_ctx): Likewise.
9233 (libc_feholdsetroundl_ctx): Likewise.
9234
1d3d93ef
DM
9235 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9236 with __USE_GNU instead of XOPEN cpp guards.
9237
8aa583c3
DM
9238 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9239 0.
9240
211d653c
DM
9241 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9242 with XOPEN cpp guards.
9243
60c8f1f6
JB
92442014-04-30 Julian Brown <julian@codesourcery.com>
9245
9246 [BZ #16888]
9247 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9248 handling.
9249
9a461d46
JM
92502014-04-30 Joseph Myers <joseph@codesourcery.com>
9251
d0f5b3f8
JM
9252 [BZ #9894]
9253 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9254 Change to 2.6.32.
9255 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9256 * sysdeps/unix/sysv/linux/configure: Regenerated.
9257 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9258 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9259 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9260 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9261 * README: Update reference to required Linux kernel version.
9262 * manual/install.texi (Linux): Update reference to required Linux
9263 kernel headers version.
9264 * INSTALL: Regenerated.
9265
9a461d46
JM
9266 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9267 header inclusion.
9268 [POSIX] (limits.h): Likewise.
9269 [POSIX] (math.h): Likewise.
9270 [POSIX] (sys/wait.h): Likewise.
9271 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9272 function.
9273 [POSIX] (stddef.h): Do not allow header inclusion.
9274
1775babf
AZ
92752014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9276
57f41c40 9277 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 9278
8f630cca
YY
92792014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9280
9281 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9282 Return immediately after lll_futex_wake.
9283
1cdeb237
SP
92842014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9285
bc8f194c
SP
9286 [BZ #16791]
9287 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9288 structure.
9289 (datahead_init_pos): Call datahead_init_common early.
9290 (datahead_init_neg): Likewise.
9291
1cdeb237
SP
9292 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9293 datahead_init_neg): New functions.
9294 * nscd/aicache.c (addhstaiX): Use them.
9295 * nscd/grpcache.c (cache_addgr): Likewise.
9296 * nscd/hstcache.c (cache_addhst): Likewise.
9297 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9298 * nscd/netgroupcache.c (do_notfound): Likewise.
9299 (addgetnetgrentX): Likewise.
9300 (addinnetgrX): Likewise.
9301 * nscd/pwdcache.c (cache_addpw): Likewise.
9302 * nscd/servicescache.c (cache_addserv): Likewise.
9303
16b293a7
SP
93042014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9305 Atsushi Onoe <atsushi@onoe.org>
9306
9307 [BZ #14308]
9308 [BZ #12994]
9309 [BZ #13651]
9310 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9311 one response is valid.
9312 * resolv/res_send.c (send_dg): Check for validity of other
9313 response if the current response is a referral.
9314
a28a9b94
SE
93152014-04-29 Steve Ellcey <sellcey@mips.com>
9316
9317 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9318
2ca180e9
SL
93192014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9320
9321 [BZ #16823]
9322 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9323 Always divide by positive zero when computing -Inf result.
9324 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9325 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9326
18f2945a
AZ
93272014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9328
9329 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9330 FPSCR if value do not change.
9331 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9332 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9333 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9334 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9335 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9336 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9337 function.
9338
5abebba4
CD
93392014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9340
9341 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9342 * sysdeps/unix/sysv/linux/hppa: Move directory from
9343 ports/systeps/unix/sysv/linux/hppa.
9344 * README: Update listing for hppa-*-linux-gnu.
9345
f7ed60c2
OB
93462014-04-28 Ondřej Bílka <neleai@seznam.cz>
9347
fff763a5
OB
9348 [BZ #16754]
9349 * manual/stdio.texi (Hook functions): Fix types of stream hook
9350 functions.
f7ed60c2
OB
9351 [BZ #16854]
9352 * socket/sys/socket.h: Fix typo in comment.
9353
df639d73
WD
93542014-04-28 Wilco <wdijkstr@arm.com>
9355
f7ed60c2 9356 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
9357 * sysdeps/arm/math_private.h: New file.
9358 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9359
48332d82
L
93602014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9361
9362 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9363 with __int128_t.
9364 (La_x86_64_retval): Likewise.
9365
e5e0d9a4
IB
93662014-04-24 Ian Bolton <ian.bolton@arm.com>
9367
9368 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9369 fpsr if value didn't change.
9370 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9371 to fpcr if value didn't change.
9372 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9373 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9374 fpsr or fpcr if value didn't change.
9375 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9376 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9377 fpcr if value didn't change.
9378 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9379 to fpsr if value didn't change.
9380
bacc75f7
SP
93812014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9382
9383 * nptl/tst-sem3.c: Use test-skeleton.c
9384 (main): Rename to do_test. Use return instead of
9385 exit.
9386 * nptl/tst-sem4.c: Use test-skeleton.c
9387 (main): Rename to do_test.
9388
a059d359
DM
93892014-04-22 David S. Miller <davem@davemloft.net>
9390
9391 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9392 (struct sigaction): New struct member __glibc_reserved0, change
9393 type of sa_flags to int.
9394
ea6c92f3
YZ
93952014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9396
9397 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9398 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9399
766c4a36
SP
94002014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9401
9402 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9403 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9404
140cc7ab
VK
94052014-04-22 Will Newton <will.newton@linaro.org>
9406 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9407
9408 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9409 (__longjmp): Add longjmp and longjmp_target SystemTap
9410 probes.
9411 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9412 (__sigsetjmp): Add setjmp SystemTap probe.
9413
c54e5cf7
CD
94142014-04-17 Carlos O'Donell <carlos@redhat.com>
9415
9416 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9417 match manual order.
9418
75ffb047
AZ
94192014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9420
9421 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9422
2cd925f7
AZ
9423 * sysdeps/powerpc/fpu/fenv_private.h
9424 (libc_feholdexcept_setroundl_ctx): Define to
9425 libc_feholdexcept_setround_ppc_ctx.
9426 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9427 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9428 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9429 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9430
39e6cd8d
IB
94312014-04-17 Ian Bolton <ian.bolton@arm.com>
9432
9433 * sysdeps/aarch64/math-tests.h: New file.
9434
f9281df9
SY
94352014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9436
9437 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9438 New.
9439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9440 Check and set bit_AVX2_Usable.
9441 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9442 macro.
9443 (bit_AVX2): Likewise.
9444 (index_AVX2_Usable): Likewise.
9445 (CPUID_AVX2): Likewise.
9446 (HAS_AVX2): Likewise.
9447
37d35007
WN
94482014-04-17 Will Newton <will.newton@linaro.org>
9449
7c677662
WN
9450 * manual/setjmp.texi (System V contexts): Add note that
9451 calling setcontext on a context created by a call to a
9452 signal handler is undefined. Update text to note that
9453 setcontext from a signal handler is possible but not
9454 recommended.
9455
37d35007 9456 [BZ #16629]
e04a4e9d
WN
9457 * stdlib/tst-setcontext.c: Include signal.h.
9458 (main): Check that the signal stack before and
9459 after swapcontext is the same.
9460
37d35007
WN
9461 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9462 Re-implement to restore registers in user code and avoid
9463 rt_sigreturn system call.
9464
423a7160
W
94652014-04-17 Wilco <wdijkstr@arm.com>
9466
9467 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9468 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9469 * math/test-fenv.c: Skip exception trap tests on targets which only
9470 support non-stop mode.
9471
bc93ab29
IB
94722014-04-17 Ian Bolton <ian.bolton@arm.com>
9473 Wilco Dijkstra <wilco.dijkstra@arm.com>
9474
9475 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9476 (libc_feholdsetround_aarch64_ctx)
9477 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9478 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9479 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9480 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9481 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9482 (libc_feresetround_noexl_ctx): Define.
9483
95fc5fa3
RH
94842014-04-16 Richard Henderson <rth@redhat.com>
9485
ddb04724
RH
9486 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9487
d77c0899
RH
9488 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9489 unwind tables.
9490
a3df56fc
RH
9491 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9492 const from the non-libc, non-ldso copy.
9493
95fc5fa3
RH
9494 * sysdeps/alpha/libm-test-ulps: Regenerate.
9495
7e0b6763
IB
94962014-04-16 Ian Bolton <ian.bolton@arm.com>
9497 Wilco Dijkstra <wilco.dijkstra@arm.com>
9498
9499 * sysdeps/aarch64/fpu/math_private.h: New file.
9500
a9ea2e0c
MS
95012014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9502
9503 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9504
ea8ba7cd
IZ
95052014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9506
7e54fd04 9507 [BZ #16275]
ea8ba7cd
IZ
9508 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9509 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9510 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9511 Intel MPX bound registers before _dl_profile_fixup.
9512 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9513 registers after _dl_profile_fixup. Save and restore bound
9514 registers bnd0/bnd1 when calling _dl_call_pltexit.
9515 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9516 (LR_BND_OFFSET): Likewise.
9517 (LRV_BND0_OFFSET): Likewise.
9518 (LRV_BND1_OFFSET): Likewise.
9519
9f2a4fbc
ST
95202014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9521
9522 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9523 to...
9524 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
9525 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9526 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9527 fields.
9f2a4fbc 9528
fd15a59b
ST
95292014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9530
9531 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9532
f19dfa0a
SL
95332014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9534
9535 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9536
4fa8bc3b
SL
95372014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9538
9539 [BZ #14770]
9540 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9541 * sysdeps/s390/configure: Regenerate.
9542
8ea587db
SL
9543 [BZ #16824]
9544 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9545 Set round-to-nearest internally to reduce error accumulation.
9546
aa5f0ff1
AM
95472014-04-16 Alan Modra <amodra@gmail.com>
9548
9549 [BZ #16740]
9550 [BZ #16619]
9551 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9552 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9553 * NEWS: Update fixed bug list.
aa5f0ff1 9554
bb9c256f
SP
95552014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9556
9557 * benchtests/Makefile: Depend on libraries in build directory.
9558 (bench-math): Separate out math tests.
9559 (bench-pthread): Separate out pthread tests.
9560 (bench): Include math and pthread tests.
9561
f737dfd0
CD
95622014-04-14 Carlos O'Donell <carlos@redhat.com>
9563
9564 [BZ #16831]
9565 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9566 _dl_debug_initialize.
9567
0699f766
CD
9568 * configure.ac: Remove SELinux header check.
9569 * configure: Regenerate.
9570 * nscd/selinux.c (perms): Array of const char* to permission names.
9571 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9572 default policy. Call string_to_security_class and string_to_av_perm to
9573 translate strings. Enforce default policy and call avs_has_perm with
9574 results of translated strings.
9575
809bd45f
DM
95762014-04-13 David S. Miller <davem@davemloft.net>
9577
9578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9579
89e691f2
AM
95802014-04-12 Allan McRae <allan@archlinux.org>
9581
9582 [BZ #16838]
9583 * manual/string.texi (Collation Functions): Fix qsort argument
9584 order in example.
9585 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9586
9c9daaeb
CM
95872014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9588
9589 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9590 Make the test a no-op if there are no exceptions defined.
9591
95561fb9
PP
95922014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9593
fe8d072c 9594 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9595 enable-hardcoded-path-in-tests
9596
970c602a
WN
95972014-04-11 Will Newton <will.newton@linaro.org>
9598
9599 * benchtests/Makefile (extra-objs): Add json-lib.o.
9600 (bench-func): Tidy up JSON output.
9601 * benchtests/bench-skeleton.c: Include json-lib.h.
9602 (main): Use JSON library functions to do output of
9603 benchmark results.
9604 * benchtests/bench-timing-type.c (main): Output the
9605 timing type simply, leaving formatting to the user.
9606 * benchtests/json-lib.c: New file.
9607 * benchtests/json-lib.h: Likewise.
9608
36875b06
TR
96092014-04-11 Torvald Riegel <triegel@redhat.com>
9610
9611 [BZ #15215]
9612 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9613 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9614 memory barriers. Add comments.
9615 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9616 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9617 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9618 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9619 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9620 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9621
579db35a
SL
96222014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9623
9624 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9625 * sysdeps/s390/s390-64/configure.ac: ... this ...
9626 * sysdeps/s390/configure.ac: ... to here.
9627 * sysdeps/s390/s390-32/configure: Delete file.
9628 * sysdeps/s390/s390-64/configure: Delete file.
9629 * sysdeps/s390/configure: Regenerate.
9630
c12e9f37
JAPH
96312014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9632
9633 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9634
439bda32
WN
96352014-04-11 Will Newton <will.newton@linaro.org>
9636
9637 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9638 to zero if it is not defined elsewhere. (mtrim): Test
9639 the value of MALLOC_DEBUG with #if rather than #ifdef.
9640
6a5d6ea1
TR
96412014-04-10 Torvald Riegel <triegel@redhat.com>
9642
9643 * benchtests/pthread_once-inputs: New file.
9644 * benchtests/pthread_once-source.c: New file.
9645 * benchtests/README: Update documentation.
9646
a4c75cfd
IZ
96472014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9648 H.J. Lu <hongjiu.lu@intel.com>
9649
7e54fd04 9650 [BZ #16275]
a4c75cfd
IZ
9651 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9652 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9653 * sysdeps/x86_64/configure: Regenerated.
9654 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9655 macro.
9656 (REGISTER_SAVE_RAX): Likewise.
9657 (REGISTER_SAVE_RCX): Likewise.
9658 (REGISTER_SAVE_RDX): Likewise.
9659 (REGISTER_SAVE_RSI): Likewise.
9660 (REGISTER_SAVE_RDI): Likewise.
9661 (REGISTER_SAVE_R8): Likewise.
9662 (REGISTER_SAVE_R9): Likewise.
9663 (REGISTER_SAVE_BND0): Likewise.
9664 (REGISTER_SAVE_BND1): Likewise.
9665 (REGISTER_SAVE_BND2): Likewise.
9666 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9667 bound registers when calling _dl_fixup.
9668
27822ce6
AZ
96692014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9670
9671 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9672 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9673 of its definition.
27822ce6
AZ
9674 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9675 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9676 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9677 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9678 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9679 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9680 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9681
a88ddc90
PTB
96822014-04-09 Peter Brett <peter@peter-b.co.uk>
9683
9684 [BZ #15514]
9685 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9686 pathconf(_PC_NAME_MAX).
9687
01f8eac2
AZ
96882014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9689
9690 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9691 Remove macro usage.
9692 (__PTHREAD_SPINS): Move definition to ...
9693 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9694 (__PTHREAD_SPINS): ... here.
9695 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9696 (__PTHREAD_SPIN): Likewise.
9697 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9698 (__PTHREAD_SPIN): Likewise.
9699 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9700 (__PTHREAD_SPIN): Likewise.
9701 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9702 (__PTHREAD_SPIN): Likewise.
9703 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9704 (__PTHREAD_SPIN): Likewise.
9705 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9706 (__PTHREAD_SPIN): Likewise.
9707 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9708 (__PTHREAD_SPIN): Likewise.
9709 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9710 (__PTHREAD_SPIN): Likewise.
9711 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9712 (__PTHREAD_SPIN): Likewise.
9713 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9714 (__PTHREAD_SPIN): Likewise.
9715 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9716 (__PTHREAD_SPIN): Likewise.
9717 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9718 (__PTHREAD_SPIN): Likewise.
9719
de21c33c
AZ
9720 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9721 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9722 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9723 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9724 imply folder.
9725 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9726 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9727 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9728 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9729 correct imply path.
9730 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9731 strlen symbol for non multi-arch builds.
9732 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9733 missing hidden_def and weak_alias.
9734
862c472e
CD
97352014-04-08 Carlos O'Donell <carlos@redhat.com>
9736
9737 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9738
8667f90e
WN
97392014-04-07 Will Newton <will.newton@linaro.org>
9740
9741 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9742 and contents. [!_LIBC] Remove #ifndef and contents.
9743 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9744 * string/memccpy.c (__memccpy): Use ANSI prototype.
9745 * string/memfrob.c (memfrob): Likewise.
9746 * string/strcoll.c (STRCOLL): Likewise.
9747 * string/strlen.c (strlen): Likewise.
9748 * string/strtok.c (STRTOK): Likewise.
9749 * string/strcat.c: Remove unused #include of memcopy.h.
9750 (strcat): Use ANSI prototype.
9751 * string/strchr.c: Remove unused #include of memcopy.h.
9752 (strchr): Use ANSI prototype.
9753 * string/strcmp.c: Remove unused #include of memcopy.h.
9754 (strcmp): Use ANSI prototype.
9755 * string/strcpy.c: Remove unused #include of memcopy.h.
9756 (strcpy): Use ANSI prototype.
9757
7ffa9423
AZ
97582014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9759
9760 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9761 * config.make.in (config-extra-cppflags): Set it from
9762 libc_extra_cppflags.
9763 * configure.ac (libc_extra_cflags): Make it accumulate over
9764 configure fragments.
9765 (libc_extra_cppflags): New flag.
9766 * configure. Regenerate.
9767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9768 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9769 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9771
8bd70862
AZ
9772 [BZ #16815]
9773 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9774 result for FE_DOWNWARD rounding mode.
9775 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9776 Likewise.
9777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9778
d42f3448
CM
97792014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9780
9781 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9782 in function argument name.
9783
1c21d115
DS
97842014-04-03 David Svoboda <svoboda@cert.org>
9785
9786 [BZ #5666]
9787 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9788 explicitly.
9789
fcccd512
RM
97902014-04-03 Roland McGrath <roland@hack.frob.com>
9791
9792 * elf/dl-unmap-segments.h: New file.
9793 * sysdeps/generic/ldsodefs.h
9794 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9795 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9796 * elf/dl-fptr.c: Likewise.
9797 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9798 * sysdeps/aarch64/tlsdesc.c: Likewise.
9799 * sysdeps/arm/tlsdesc.c: Likewise.
9800 * sysdeps/i386/tlsdesc.c: Likewise.
9801 * sysdeps/tile/dl-runtime.c: Likewise.
9802 * sysdeps/x86_64/tlsdesc.c: Likewise.
9803 * elf/dl-load.h: New file.
9804 * elf/dl-load.c: Include it.
9805 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9806 Macros moved to dl-load.h.
9807 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9808 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9809 Use _dl_unmap_segments in place of __munmap.
9810 Break out segment-mapping loop into ...
9811 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9812
f6488e2b
WN
98132014-04-03 Will Newton <will.newton@linaro.org>
9814
9815 * elf/dl-lookup.c (do_lookup_x): Remove comment
9816 referring to nested function and move variable
9817 declarations down to before first use.
9818
6f05bafe
JM
98192014-04-02 Joseph Myers <joseph@codesourcery.com>
9820
a84e78c8
JM
9821 [BZ #16799]
9822 [BZ #16800]
9823 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9824 with 0 numerator.
9825 * math/s_catanf.c (__catanf): Likewise.
9826 * math/s_catanh.c (__catanh): Likewise.
9827 * math/s_catanhf.c (__catanhf): Likewise.
9828 * math/s_catanhl.c (__catanhl): Likewise.
9829 * math/s_catanl.c (__catanl): Likewise.
9830 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9831 by positive zero when computing -Inf result.
9832 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9833 (catanh_test): Likewise.
9834 * sysdeps/i386/fpu/libm-test-ulps: Update.
9835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9836
6f05bafe
JM
9837 [BZ #16789]
9838 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9839 instead of using underflowing value in computing result.
9840 * math/s_clog10.c (__clog10): Likewise.
9841 * math/s_clog10f.c (__clog10f): Likewise.
9842 * math/s_clog10l.c (__clog10l): Likewise.
9843 * math/s_clogf.c (__clogf): Likewise.
9844 * math/s_clogl.c (__clogl): Likewise.
9845 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9846 (clog10_test): Likewise.
9847 * sysdeps/i386/fpu/libm-test-ulps: Update.
9848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9849
b0abbc21
AM
98502014-04-02 Alan Modra <amodra@gmail.com>
9851
9852 [BZ #16739]
9853 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9854 output when value is near a power of two. Use int64_t for lx and
9855 remove casts. Use decimal rather than hex exponent constants.
9856 Don't use long double multiplication when double will suffice.
9857 * math/libm-test.inc (nextafter_test_data): Add tests.
9858 * NEWS: Add 16739 and 16786 to bug list.
9859
af6b1797
AM
9860 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9861
483818d7
AM
9862 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9863
f6c55796
WN
98642014-04-01 Will Newton <will.newton@linaro.org>
9865
9866 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9867 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9868
13f7fe35
FW
98692014-04-01 Florian Weimer <fweimer@redhat.com>
9870
9871 [BZ #13347]
9872 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9873 * nptl/tst-setuid2.c: New file.
9874 * nptl/Makefile (xtests): Add tst-setuid2.
9875
c859b32e
AM
98762014-04-01 Alan Modra <amodra@gmail.com>
9877
9878 [BZ #16786]
9879 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9880
54fa2475
JM
98812014-03-31 Joseph Myers <joseph@codesourcery.com>
9882
8795b4a4
JM
9883 [BZ #6803]
9884 [BZ #6804]
9885 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9886 set errno as appropriate.
9887 * math/w_scalbf.c (__scalbf): Likewise.
9888 * math/w_scalbl.c (__scalbl): Likewise.
9889 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9890 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9891 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9892 Add more NaN tests.
9893
54fa2475
JM
9894 [BZ #16349]
9895 * math/w_atan2.c: Include <errno.h>.
9896 (__atan2): Set errno for result underflowing to zero.
9897 * math/w_atan2f.c: Include <errno.h>.
9898 (__atan2f): Set errno for result underflowing to zero.
9899 * math/w_atan2l.c: Include <errno.h>.
9900 (__atan2l): Set errno for result underflowing to zero.
9901 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9902 tests.
9903 * math/auto-libm-test-out: Regenerated.
9904
757d9dd5
AZ
99052014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9906
9907 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9908 Encode instruction correctly in little endian.
9909 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9910 Likewise.
9911 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9912 Likewise.
9913 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9914 Likewise.
9915 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9916 Likewise.
9917
d7a68734
JM
99182014-03-31 Joseph Myers <joseph@codesourcery.com>
9919
47c5adeb
JM
9920 [BZ #9894]
9921 * sysdeps/unix/sysv/linux/kernel-features.h
9922 [__sparc__ && !__arch64__ && !__sparc_v9__]
9923 (__ASSUME_SET_ROBUST_LIST): Do not define.
9924 [__sparc__ && !__arch64__ && !__sparc_v9__]
9925 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9926 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9927 Likewise.
9928 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9929 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9930 (__ASSUME_REQUEUE_PI): Likewise.
9931 (__ASSUME_SET_ROBUST_LIST): Likewise.
9932 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9933 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9934 Undefine.
9935 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9936 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9937 Likewise.
9938 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9939 Likewise.
9940 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9941 Likewise.
9942 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9943 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9944 Undefine.
9945 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9946 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9947 Likewise.
9948
d7a68734
JM
9949 [BZ #16648]
9950 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9951 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9952 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9953
c760f5c2
WN
99542014-03-31 Will Newton <will.newton@linaro.org>
9955
9956 * benchtests/Makefile (bench): Add ffs and ffsll to list
9957 of tests.
9958 * benchtests/ffs-inputs: New file.
9959 * benchtests/ffsll-inputs: Likewise.
9960
ea6029b1
JM
99612014-03-29 Joseph Myers <joseph@codesourcery.com>
9962
9963 [BZ #16770]
9964 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9965 too large before casting to int.
9966 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9967 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9968 * math/libm-test.inc (scalb_test_data): Add more tests.
9969
cf806aff
SP
99702014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9971
56737508
SP
9972 * benchtests/Makefile (DETAILED_OPT): New make option.
9973 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9974 set.
9975 * benchtests/bench-skeleton.c: Include stdbool.h.
9976 (main): Store and print timings per input.
9977 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9978 member to each argument value.
9979 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9980 (_print_arg_data): Initialize per-input timing to 0.
9981
cb5e4aad
SP
9982 * benchtests/Makefile (timing-type): New binary.
9983 (bench-clean): Also remove bench-timing-type.
9984 (bench): New target for timing-type.
9985 (bench-func): Print output in JSON format.
9986 * benchtests/bench-skeleton.c (main): Print output in JSON
9987 format.
9988 * benchtests/bench-timing-type.c: New file.
9989 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9990 (TIMING_PRINT_STATS): Remove.
9991 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9992 name separately.
9993
cf806aff
SP
9994 * benchtests/bench-modf.c: Remove.
9995 * benchtests/modf-inputs: New inputs file.
9996
289e0779
JM
99972014-03-28 Joseph Myers <joseph@codesourcery.com>
9998
9999 [BZ #16362]
10000 * math/s_clog10.c (M_PI_LOG10E): New macro.
10001 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10002 imaginary parts are 0.
10003 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10004 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10005 imaginary parts are 0.
10006 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10007 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10008 imaginary parts are 0.
10009 * math/libm-test.inc (clog10_test_data): Update expected results
10010 for when real and imaginary parts are 0.
10011
277ae3f1
PP
100122014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10013
10014 * elf/dl-load.c: Finish conversion of __builtin_expect into
10015 __glibc_{un}likely.
10016
03a7091f
JM
100172014-03-27 Joseph Myers <joseph@codesourcery.com>
10018
10019 [BZ #16348]
10020 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10021 1+x for argument with exponent below -67.
10022 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10023 Likewise.
10024 * math/auto-libm-test-in: Add more tests of exp.
10025 * math/auto-libm-test-out: Regenerated.
10026
ea7d8b95
SP
100272014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10028
dd3022d7
SP
10029 [BZ #16759]
10030 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10031 (nscd_getnetgrent): Use it.
10032
ea7d8b95
SP
10033 [BZ #16760]
10034 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10035 of stpcpy.
10036
df5b85da
AK
100372014-03-27 Andi Kleen <ak@linux.intel.com>
10038
57f41c40
AS
10039 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10040 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10041 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10042 (lll_robust_unlock): Remove out of line section. Use cfi
10043 intrinsics.
df5b85da 10044 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
10045 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10046 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10047 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10048 (lll_robust_unlock): Remove out of line section. Use cfi
10049 intrinsics.
df5b85da
AK
10050 (LLL_STUB_UNWIND_INFO*): Remove.
10051
fbd6b5a4
SP
100522014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10053
10054 [BZ #16758]
10055 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10056 blank values.
10057
1b26b855
PP
100582014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10059
10060 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10061
9be36fb8
JM
100622014-03-26 Joseph Myers <joseph@codesourcery.com>
10063
10064 [BZ #16198]
10065 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10066 fnstenv.
10067 * math/test-fenv-preserve.c: New file.
10068 * math/Makefile (tests): Add test-fenv-preserve.
10069
60a2f3c1
WN
100702014-03-26 Will Newton <will.newton@linaro.org>
10071
10072 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10073
a5e5f1e2
RM
100742014-03-25 Roland McGrath <roland@hack.frob.com>
10075
10076 * scripts/versionlist.awk: Partition the version sets and emit all
10077 GLIBC_* (sorted) before all others (sorted).
10078
00f4012a
JM
100792014-03-25 Joseph Myers <joseph@codesourcery.com>
10080
10081 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10082 GLIBC_2.2.5 version.
10083
7bc5a741
AZ
100842014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10085
10086 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10087 calls.
10088
7578473b
AZ
10089 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10090 previous change.
10091
f3f1dab3
AZ
10092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10093
6da36183
AS
100942014-03-25 Andreas Schwab <schwab@suse.de>
10095
10096 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10097 label to be used after in6ailist is initialized.
10098
f3f1dab3 100992014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 10100
7578473b 10101 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
10102 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10103
046651c1
JM
101042014-03-25 Joseph Myers <joseph@codesourcery.com>
10105
10106 [BZ #16357]
10107 [BZ #16599]
10108 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10109 min_plus_half.
10110 (fp_formats): Update initializers.
10111 (init_fp_formats): Initialize new field.
10112 (output_for_one_input_case): Allow underflow for results up to
10113 min_plus_half.
10114 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10115 * math/auto-libm-test-in: Don't mark some underflows from asin and
10116 atanh as spurious.
10117 * math/auto-libm-test-out: Regenerated.
10118 * sysdeps/i386/fpu/libm-test-ulps: Update.
10119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10120
003e49ed
AS
101212014-03-25 Andreas Schwab <schwab@suse.de>
10122
10123 * libio/Makefile (tst-ftell-partial-wide-ENV)
10124 (tst-ftell-active-handler-ENV): Define.
10125
de031874
SL
101262014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10127
10128 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10129
55a81e3b
PP
101302014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10131
10132 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10133
f3426898
JM
101342014-03-24 Joseph Myers <joseph@codesourcery.com>
10135
10136 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10137 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10138 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10139
a42faf59
PP
101402014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10141
10142 [BZ #16634]
a42faf59 10143 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
10144 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10145 (open_path): Change from boolean 'secure' to complete flag 'mode'
10146 (_dl_map_object): Adjust.
a42faf59
PP
10147 * elf/Makefile (tests): Add tst-dlopen-aout.
10148 * elf/tst-dlopen-aout.c: New test.
10149
50936127
SL
101502014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10151
10152 [BZ #16714]
10153 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10154 (struct stat): Rename member pad0 to __glibc_reserved0.
10155
26011b5c
SL
10156 [BZ #16712]
10157 * sysdeps/s390/s390-32/bits/wordsize.h
10158 (__WORDSIZE32_SIZE_ULONG): New define.
10159 * sysdeps/s390/s390-64/bits/wordsize.h
10160 (__WORDSIZE32_SIZE_ULONG): Likewise.
10161 * sysdeps/generic/stdint.h (SIZE_MAX):
10162 Define as UL if __WORDSIZE32_SIZE_ULONG.
10163
a2d86bf1
SL
10164 [BZ #16713]
10165 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10166 (__glibc_reserved0): New variable.
10167 (sa_flags): Change type to int.
10168
78b6eebc
SL
10169 * posix/Makefile (before-compile): Use += before-compile instead
10170 of a :=.
10171
f1399b5a
SL
10172 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10173 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10174
a071766e
AS
101752014-03-20 Andreas Schwab <schwab@suse.de>
10176
10177 [BZ #16743]
10178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10179 non-matching result from nscd.
10180
27c673b8
SP
101812014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10182
10183 * scripts/bench.py: Moved to ...
10184 * benchtests/scripts/bench.py: ... here.
10185 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10186
44152e4b
AS
101872014-03-24 Andreas Schwab <schwab@suse.de>
10188
10189 [BZ #16002]
10190 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10191 alloca_account and account alloca use for struct in6ailist.
10192
b376a11a
JM
101932014-03-24 Joseph Myers <joseph@codesourcery.com>
10194
10195 [BZ #16284]
10196 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10197 rounding mode to recompute results that overflow to infinity or
10198 underflow to zero.
10199 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10200 bug 16284.
10201 * math/auto-libm-test-out: Regenerated.
10202 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10203 (ccosh_test): Likewise.
10204 (csin_test_data): Use plus_oflow.
10205 (csin_test): Use ALL_RM_TEST.
10206 (csinh_test_data): Use plus_oflow.
10207 (csinh_test): Use ALL_RM_TEST.
10208 * sysdeps/i386/fpu/libm-test-ulps: Update.
10209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10210
f7be7376
JM
102112014-03-21 Joseph Myers <joseph@codesourcery.com>
10212
1ca2d03e
JM
10213 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10214 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10215 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10216
f7be7376
JM
10217 [BZ #16731]
10218 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10219 when x - 1 is zero.
10220 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10221 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10222 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10223 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10224 argument is 1.
10225 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10226 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10227 zero.
10228 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10229 * sysdeps/i386/fpu/libm-test-ulps: Update.
10230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10231
fdf4534d
SP
102322014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10233
df26ea53
SP
10234 * scripts/bench.pl: Remove file.
10235 * scripts/bench.py: New benchmark script.
10236 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10237 * benchtests/README: Mention python dependency.
10238 * scripts/pylintrc: New file.
10239 * scripts/pylint: New file.
10240
fdf4534d
SP
10241 * bits/mathdef.h: Use #ifdef instead of #if.
10242 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10243 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10244 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10245 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10246 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10247 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10248
6f23d093
AZ
102492014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10250 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10251
10252 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10253 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10254 and strpbrk-ppc64 objects.
10255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10256 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10257 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10258 multiarch strpbrk for POWER7.
10259 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10260 multiarch strpbrk for PPC64.
10261 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10262 ifunc selector.
10263 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10264 strpbrk for POWER7.
10265
8c92dfff
JM
102662014-03-20 Joseph Myers <joseph@codesourcery.com>
10267
10268 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10269 (atan_test): Likewise.
10270 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10271 (atanh_test): Use ALL_RM_TEST.
10272 (atan2_test_data): Likewise.
10273 (cabs_test): Likewise.
10274 (cacosh_test): Likewise.
10275 (carg_test): Likewise.
10276 (casin_test): Likewise.
10277 (casinh_test): Likewise.
10278 (cbrt_test): Likewise.
10279 (csqrt_test): Likewise.
10280 (erf_test): Likewise.
10281 (erfc_test): Likewise.
10282 (pow10_test): Likewise.
10283 (exp2_test): Likewise.
10284 (hypot_test): Likewise.
10285 (j0_test): Likewise.
10286 (j1_test): Likewise.
10287 (lgamma_test): Likewise.
10288 (gamma_test): Likewise.
10289 (sincos_test): Likewise.
10290 (tanh_test): Likewise.
10291 (y0_test): Likewise.
10292 (y1_test): Likewise.
10293 * sysdeps/i386/fpu/libm-test-ulps: Update.
10294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10295
6eaf95cb
AZ
102962014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10297
a387428c
SP
10298 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
10300 and strcspn-ppc64 objects.
10301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10302 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10303 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10304 multiarch strcspn for POWER7.
10305 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10306 multiarch strcspn for PPC64.
10307 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10308 ifunc selector.
10309 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10310 strcspn for POWER7.
10311
ae3a5dff
JM
103122014-03-20 Joseph Myers <joseph@codesourcery.com>
10313
10314 * math/gen-libm-test.pl (generate_testfile): Expect only function
10315 name as argument to AUTO_TESTS_* and pass results for all rounding
10316 modes to parse_args.
10317 (parse_auto_input): Separate inputs of automatic tests from
10318 outputs before storing in %auto_tests.
10319 * math/libm-test.inc (acos_test_data): Update call to
10320 AUTO_TESTS_f_f.
10321 (acos_test): Use ALL_RM_TEST.
10322 (acos_tonearest_test_data): Remove.
10323 (acos_test_tonearest): Likewise.
10324 (acos_towardzero_test_data): Likewise.
10325 (acos_test_towardzero): Likewise.
10326 (acos_downward_test_data): Likewise.
10327 (acos_test_downward): Likewise.
10328 (acos_upward_test_data): Likewise.
10329 (acos_test_upward): Likewise.
10330 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10331 (asin_test_data): Likewise.
10332 (asin_test): Use ALL_RM_TEST.
10333 (asin_tonearest_test_data): Remove.
10334 (asin_test_tonearest): Likewise.
10335 (asin_towardzero_test_data): Likewise.
10336 (asin_test_towardzero): Likewise.
10337 (asin_downward_test_data): Likewise.
10338 (asin_test_downward): Likewise.
10339 (asin_upward_test_data): Likewise.
10340 (asin_test_upward): Likewise.
10341 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10342 (atan_test_data): Likewise.
10343 (atanh_test_data): Likewise.
10344 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10345 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10346 (carg_test_data): Likewise.
10347 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10348 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10349 (ccosh_test_data): Likewise.
10350 (cexp_test_data): Likewise.
10351 (clog_test_data): Likewise.
10352 (clog10_test_data): Likewise.
10353 (cos_test_data): Update call to AUTO_TESTS_f_f.
10354 (cos_test): Use ALL_RM_TEST.
10355 (cos_tonearest_test_data): Remove.
10356 (cos_test_tonearest): Likewise.
10357 (cos_towardzero_test_data): Likewise.
10358 (cos_test_towardzero): Likewise.
10359 (cos_downward_test_data): Likewise.
10360 (cos_test_downward): Likewise.
10361 (cos_upward_test_data): Likewise.
10362 (cos_test_upward): Likewise.
10363 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10364 (cosh_test): Use ALL_RM_TEST.
10365 (cosh_tonearest_test_data): Remove.
10366 (cosh_test_tonearest): Likewise.
10367 (cosh_towardzero_test_data): Likewise.
10368 (cosh_test_towardzero): Likewise.
10369 (cosh_downward_test_data): Likewise.
10370 (cosh_test_downward): Likewise.
10371 (cosh_upward_test_data): Likewise.
10372 (cosh_test_upward): Likewise.
10373 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10374 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10375 (ctan_test_data): Likewise.
10376 (ctan_test): Use ALL_RM_TEST.
10377 (ctan_tonearest_test_data): Remove.
10378 (ctan_test_tonearest): Likewise.
10379 (ctan_towardzero_test_data): Likewise.
10380 (ctan_test_towardzero): Likewise.
10381 (ctan_downward_test_data): Likewise.
10382 (ctan_test_downward): Likewise.
10383 (ctan_upward_test_data): Likewise.
10384 (ctan_test_upward): Likewise.
10385 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10386 (ctanh_test): Use ALL_RM_TEST.
10387 (ctanh_tonearest_test_data): Remove.
10388 (ctanh_test_tonearest): Likewise.
10389 (ctanh_towardzero_test_data): Likewise.
10390 (ctanh_test_towardzero): Likewise.
10391 (ctanh_downward_test_data): Likewise.
10392 (ctanh_test_downward): Likewise.
10393 (ctanh_upward_test_data): Likewise.
10394 (ctanh_test_upward): Likewise.
10395 (erf_test_data): Update call to AUTO_TESTS_f_f.
10396 (erfc_test_data): Likewise.
10397 (exp_test_data): Likewise.
10398 (exp_test): Use ALL_RM_TEST.
10399 (exp_tonearest_test_data): Remove.
10400 (exp_test_tonearest): Likewise.
10401 (exp_towardzero_test_data): Likewise.
10402 (exp_test_towardzero): Likewise.
10403 (exp_downward_test_data): Likewise.
10404 (exp_test_downward): Likewise.
10405 (exp_upward_test_data): Likewise.
10406 (exp_test_upward): Likewise.
10407 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10408 (exp10_test): Use ALL_RM_TEST.
10409 (exp10_tonearest_test_data): Remove.
10410 (exp10_test_tonearest): Likewise.
10411 (exp10_towardzero_test_data): Likewise.
10412 (exp10_test_towardzero): Likewise.
10413 (exp10_downward_test_data): Likewise.
10414 (exp10_test_downward): Likewise.
10415 (exp10_upward_test_data): Likewise.
10416 (exp10_test_upward): Likewise.
10417 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10418 (expm1_test_data): Likewise.
10419 (expm1_test): Use ALL_RM_TEST.
10420 (expm1_tonearest_test_data): Remove.
10421 (expm1_test_tonearest): Likewise.
10422 (expm1_towardzero_test_data): Likewise.
10423 (expm1_test_towardzero): Likewise.
10424 (expm1_downward_test_data): Likewise.
10425 (expm1_test_downward): Likewise.
10426 (expm1_upward_test_data): Likewise.
10427 (expm1_test_upward): Likewise.
10428 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10429 (fma_test): Use ALL_RM_TEST.
10430 (fma_towardzero_test_data): Remove.
10431 (fma_test_towardzero): Likewise.
10432 (fma_downward_test_data): Likewise.
10433 (fma_test_downward): Likewise.
10434 (fma_upward_test_data): Likewise.
10435 (fma_test_upward): Likewise.
10436 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10437 (j0_test_data): Update call to AUTO_TESTS_f_f.
10438 (j1_test_data): Likewise.
10439 (jn_test_data): Update call to AUTO_TESTS_if_f.
10440 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10441 (log_test_data): Update call to AUTO_TESTS_f_f.
10442 (log10_test_data): Likewise.
10443 (log1p_test_data): Likewise.
10444 (log2_test_data): Likewise.
10445 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10446 (pow_tonearest_test_data): Likewise.
10447 (sin_test_data): Update call to AUTO_TESTS_f_f.
10448 (sin_test): Use ALL_RM_TEST.
10449 (sin_tonearest_test_data): Remove.
10450 (sin_test_tonearest): Likewise.
10451 (sin_towardzero_test_data): Likewise.
10452 (sin_test_towardzero): Likewise.
10453 (sin_downward_test_data): Likewise.
10454 (sin_test_downward): Likewise.
10455 (sin_upward_test_data): Likewise.
10456 (sin_test_upward): Likewise.
10457 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10458 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10459 (sinh_test): Use ALL_RM_TEST.
10460 (sinh_tonearest_test_data): Remove.
10461 (sinh_test_tonearest): Likewise.
10462 (sinh_towardzero_test_data): Likewise.
10463 (sinh_test_towardzero): Likewise.
10464 (sinh_downward_test_data): Likewise.
10465 (sinh_test_downward): Likewise.
10466 (sinh_upward_test_data): Likewise.
10467 (sinh_test_upward): Likewise.
10468 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10469 (sqrt_test): Use ALL_RM_TEST.
10470 (sqrt_tonearest_test_data): Remove.
10471 (sqrt_test_tonearest): Likewise.
10472 (sqrt_towardzero_test_data): Likewise.
10473 (sqrt_test_towardzero): Likewise.
10474 (sqrt_downward_test_data): Likewise.
10475 (sqrt_test_downward): Likewise.
10476 (sqrt_upward_test_data): Likewise.
10477 (sqrt_test_upward): Likewise.
10478 (tan_test_data): Update call to AUTO_TESTS_f_f.
10479 (tan_test): Use ALL_RM_TEST.
10480 (tan_tonearest_test_data): Remove.
10481 (tan_test_tonearest): Likewise.
10482 (tan_towardzero_test_data): Likewise.
10483 (tan_test_towardzero): Likewise.
10484 (tan_downward_test_data): Likewise.
10485 (tan_test_downward): Likewise.
10486 (tan_upward_test_data): Likewise.
10487 (tan_test_upward): Likewise.
10488 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10489 (tgamma_test_data): Likewise.
10490 (y0_test_data): Likewise.
10491 (y1_test_data): Likewise.
10492 (yn_test_data): Update call to AUTO_TESTS_if_f.
10493 (main): Do not call removed functions.
10494
d71aeee8
JM
104952014-03-19 Joseph Myers <joseph@codesourcery.com>
10496
10497 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10498 (ldexp_test_data): Remove.
10499 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10500 scalbn_test_data.
10501 (scalb_test): Use ALL_RM_TEST.
10502
baaf1ded
AS
105032014-03-19 Andreas Schwab <schwab@suse.de>
10504
10505 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10506
b1115e91
JM
105072014-03-19 Joseph Myers <joseph@codesourcery.com>
10508
10509 [BZ #16649]
10510 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10511 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10512 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10513 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10514 (__ASSUME_PREADV): Undefine.
10515 (__ASSUME_PWRITEV): Likewise.
10516
0283ecca
RM
105172014-03-18 Roland McGrath <roland@hack.frob.com>
10518
7d375303
RM
10519 * bits/mman-linux.h: Add comment about non-Linux use.
10520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10521 bits/mman-linux.h resting place.
10522
0283ecca
RM
10523 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10524 * bits/mman-linux.h: ... here.
10525
aebe1003
AZ
105262014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10527
10528 * conform/conformtest.pl: Add standard definition when calling C
10529 preprocessor on data files.
10530 (checknamespace): Remove unused variable.
10531
b29b6bb8
JM
105322014-03-18 Joseph Myers <joseph@codesourcery.com>
10533
10534 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10535 minus_oflow, plus_uflow and minus_uflow in expected results.
10536 * math/libm-test.inc (scalbn_test_data): Add more tests of
10537 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10538 minus_uflow.
10539 (scalbn_test): Use ALL_RM_TEST.
10540 (scalbln_test_data): Add more tests of negative arguments. Use
10541 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10542 (scalbln_test): Use ALL_RM_TEST.
10543
c8f8fa15
RM
105442014-03-18 Roland McGrath <roland@hack.frob.com>
10545
10546 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10547
fede7a5f
WN
105482014-03-18 Will Newton <will.newton@linaro.org>
10549
10550 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10551 inaccurate comment.
10552
80cf0a58
JM
105532014-03-18 Joseph Myers <joseph@codesourcery.com>
10554
10555 * Makerules [!subdir] (check-abi): Exit with error status if a
10556 test failed.
10557
b3620862
JM
105582014-03-17 Joseph Myers <joseph@codesourcery.com>
10559
10560 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10561 for rint. Include results for all rounding modes.
10562 (nearbyint_test): Use ALL_RM_TEST.
10563 (rint_test_data): Include all tests used for nearbyint.
10564
788bba36
WN
105652014-03-17 Will Newton <will.newton@linaro.org>
10566
04ec140a
WN
10567 * nptl/sysdeps/pthread/pthread.h: Revert previous
10568 change.
10569
7579d8d5
WN
10570 * sysdeps/generic/ldsodefs.h: Revert previous
10571 change.
10572
c15cf13a
WN
10573 * libio/genops.c: Revert previous change.
10574 * libio/libioP.h: Likewise.
10575 * stdio-common/vfprintf.c: Likewise.
10576
d0ac1324
WN
10577 * sysdeps/generic/math_private.h: Revert previous
10578 change.
10579
9290130a
WN
10580 * sysdeps/generic/math_private.h: Check whether
10581 HAVE_RM_CTX is defined with #ifdef rather
10582 than #if.
10583
afb466fc
WN
10584 * argp/argp-fmtstream.h: Check whether
10585 __STRICT_ANSI__ is defined with #ifdef rather
10586 than #if.
10587 * argp/argp.h: Likewise.
10588
f7efd7c3
WN
10589 * libio/genops.c: Check whether
10590 _IO_JUMPS_OFFSET is defined with #ifdef rather
10591 than #if.
10592 * libio/libioP.h: Likewise.
10593 * stdio-common/vfprintf.c: Likewise.
10594
53f1bed3
WN
10595 * sysdeps/generic/ldsodefs.h: Check whether
10596 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10597 than #if.
10598
788bba36
WN
10599 * nptl/sysdeps/pthread/pthread.h: Check
10600 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10601 its value.
10602
fcd89ebe
SP
106032014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10604
ae42bbc5
SP
10605 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10606 setting O_APPEND.
10607 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10608 test case.
10609
ea33158c
SP
10610 [BZ #16680]
10611 * libio/fileops.c (_IO_file_open): Seek to end of file but
10612 don't cache the offset.
10613 (get_file_offset): Remove function.
10614 (do_ftell): Use cached offset when available.
10615 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10616 don't cache the offset.
10617 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10618 case.
10619 (do_one_test): Call it.
10620 (do_ftell_test): Fix up expected old offset for a+ mode.
10621 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10622 available.
10623
b1dbb426
SP
10624 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10625 up test status with function return status.
10626 (do_write_test): Likewise.
10627 (do_append_test): Likewise.
10628
fcd89ebe
SP
10629 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10630 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10631 Remove.
10632
9962a2d3
JM
106332014-03-17 Joseph Myers <joseph@codesourcery.com>
10634
10635 * math/gen-libm-test.pl (parse_args): Handle results specified for
10636 each rounding mode separately.
10637 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10638 tests and results from lrint_tonearest_test_data,
10639 lrint_towardzero_test_data, lrint_downward_test_data and
10640 lrint_upward_test_data.
10641 (lrint_test): Use ALL_RM_TEST.
10642 (lrint_tonearest_test_data): Remove.
10643 (lrint_test_tonearest): Likewise.
10644 (lrint_towardzero_test_data): Likewise.
10645 (lrint_test_towardzero): Likewise.
10646 (lrint_downward_test_data): Likewise.
10647 (lrint_test_downward): Likewise.
10648 (lrint_upward_test_data): Likewise.
10649 (lrint_test_upward): Likewise.
10650 (llrint_test_data): Merge in per-rounding-mode tests and results
10651 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10652 llrint_downward_test_data and llrint_upward_test_data.
10653 (llrint_test): Use ALL_RM_TEST.
10654 (llrint_tonearest_test_data): Remove.
10655 (llrint_test_tonearest): Likewise.
10656 (llrint_towardzero_test_data): Likewise.
10657 (llrint_test_towardzero): Likewise.
10658 (llrint_downward_test_data): Likewise.
10659 (llrint_test_downward): Likewise.
10660 (llrint_upward_test_data): Likewise.
10661 (llrint_test_upward): Likewise.
10662 (rint_test_data): Merge in per-rounding-mode tests and results
10663 from rint_tonearest_test_data, rint_towardzero_test_data,
10664 rint_downward_test_data and rint_upward_test_data. Add
10665 per-rounding-mode results for tests not in those arrays.
10666 (rint_test): Use ALL_RM_TEST.
10667 (rint_tonearest_test_data): Remove.
10668 (rint_test_tonearest): Likewise.
10669 (rint_towardzero_test_data): Likewise.
10670 (rint_test_towardzero): Likewise.
10671 (rint_downward_test_data): Likewise.
10672 (rint_test_downward): Likewise.
10673 (rint_upward_test_data): Likewise.
10674 (rint_test_upward): Likewise.
10675 (main): Don't call removed functions.
10676
5006148e
RM
106772014-03-14 Roland McGrath <roland@hack.frob.com>
10678
10679 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10680 "Compiled on ..." crapola. It is anti-useful.
10681
d6fe5e58
JM
106822014-03-14 Joseph Myers <joseph@codesourcery.com>
10683
10684 * scripts/evaluate-test.sh: Handle fourth argument to determine
10685 whether test run should stop on failure.
10686 * Makeconfig (stop-on-test-failure): New variable.
10687 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10688 $(stop-on-test-failure).
10689 * Makefile (tests): Give a summary of results from testing and
10690 exit with failure status if they include an ERROR or FAIL.
10691 (xtests): Likewise.
10692 * manual/install.texi (Configuring and compiling): Mention
10693 stop-on-test-failure=y.
10694 * INSTALL: Regenerated.
10695
498a2233
RM
106962014-03-14 Roland McGrath <roland@hack.frob.com>
10697
22dbc19d
RM
10698 * scripts/versionlist.awk: New file.
10699 * Makerules [$(build-shared) = yes]
10700 (postclean-generated): Add Versions.def, not Versions.def.v and
10701 Versions.def.v.i.
10702 ($(common-objpfx)Versions.def.v.i): Target removed.
10703 ($(common-objpfx)Versions.def): New target.
10704 ($(common-objpfx)Versions.all): Depend on that rather that
10705 $(common-objpfx)Versions.def.v.
10706 * Versions.def: File removed.
10707
498a2233
RM
10708 * Makeconfig (+gccwarn): Add -Wundef.
10709 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10710 a dl-sysdep.h breaking its contract.
10711 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10712 * include/stackinfo.h: New file.
10713 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10714 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10715 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10716 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10717 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10718 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10719 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10720 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10721 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10722 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10723 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10724 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10725 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10726 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10727 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10728
c7de5025
AZ
107292014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10730
10731 [BZ #16707]
10732 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10733 implementation.
10734 * math/libm-test.inc (round_test_data): Add more tests.
10735
98fb27a3
AZ
10736 [BZ #16706]
10737 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10738 implementation.
10739 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10740
374f7f61
AZ
10741 [BZ #16701]
10742 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10743 implementation.
10744 * math/libm-test.inc (ceil_test_data): Add more tests.
10745
4655c291
AZ
10746 * math/libm-test.inc (trunc_test_data): Add more tests related to
10747 BZ#16414.
10748
d7329d4b
RM
107492014-03-14 Roland McGrath <roland@hack.frob.com>
10750
10751 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10752 with #if rather than #ifdef.
10753 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10754
aa4de9ce
L
107552014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10756
10757 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10758 first. Disable AVX-512 GCC support if assembler doesn't support
10759 it.
10760 * sysdeps/x86_64/configure: Regenerated.
10761
2e03fae7
CD
107622014-03-13 Carlos O'Donell <carlos@redhat.com>
10763
10764 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10765 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10766 (__old_pthread_attr_setstack): Likewise.
10767 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10768 [!_STACK_GROWS_DOWN]: Likewise.
10769
43ca83ec
MF
107702014-03-13 Mike Frysinger <vapier@gentoo.org>
10771
10772 * config.make.in (have-bash2): Delete.
10773 * configure.ac (libc_cv_have_bash2): Delete.
10774 * configure: Regenerate.
10775 * elf/Makefile (common-ldd-rewrite): Rename to ...
10776 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10777 (sh-ldd-rewrite): Delete.
10778 (bash-ldd-rewrite): Delete.
10779 (have-bash2): Delete checks.
57f41c40
AS
10780 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10781 ldd-rewrite.
c66e48b4
MF
10782
10783 * config.make.in (have-ksh): Delete.
10784 (KSH): Delete.
10785 * configure.ac (libc_cv_have_ksh): Delete.
10786 * configure: Regenerate.
10787
b93834ef
MF
10788 * elf/Makefile: Delete $(have-ksh) check.
10789 ($(objpfx)sotruss): Change KSH to BASH.
10790 * elf/sotruss.ksh: Rename to ...
10791 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10792 function style to match POSIX. Drop ksh vim mode setting.
10793
f3a4632a
MF
10794 * manual/time.texi (Specifying the Time Zone with TZ): Change
10795 Tuesday to Thursday.
10796
5896c8bd
MF
10797 * debug/tst-longjmp_chk2.c: Update header comment.
10798 (stackoverflow_handler): Add comment. Call assert on pass value.
10799
2d63a517
IZ
108002014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10801
7e54fd04 10802 [BZ #16194]
2d63a517
IZ
10803 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10804 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10805 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10806 (La_x86_64_vector): Add zmm.
10807 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10808 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10809 ($(objpfx)tst-audit10): New target.
10810 ($(objpfx)tst-audit10.out): Likewise.
10811 (tst-audit10-ENV): New.
10812 (AVX512-CFLAGS): Likewise.
10813 (CFLAGS-tst-audit10.c): Likewise.
10814 (CFLAGS-tst-auditmod10a.c): Likewise.
10815 (CFLAGS-tst-auditmod10b.c): Likewise.
10816 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10817 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10818 * sysdeps/x86_64/configure: Regenerated.
10819 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10820 AVX-512 zmm register support.
10821 (_dl_x86_64_save_sse): Likewise.
10822 (_dl_x86_64_restore_sse): Likewise.
10823 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10824 size vector registers.
10825 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10826 (ZMM_SIZE): Likewise.
10827 * sysdeps/x86_64/tst-audit10.c: New file.
10828 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10829 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10830
44c4e5d5
RM
108312014-03-13 Roland McGrath <roland@hack.frob.com>
10832
10833 * configure.ac (HAVE_EHDR_START): New check.
10834 * configure: Regenerated.
10835 * config.h.in (HAVE_EHDR_START): New #undef.
10836 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10837 assuming the lowest-addressed segment maps the start of the file.
10838
acd6e389
JM
108392014-03-13 Joseph Myers <joseph@codesourcery.com>
10840
10841 * INSTALL: Regenerated.
10842
6f918f36
WN
108432014-03-13 Will Newton <will.newton@linaro.org>
10844
10845 * manual/setjmp.texi (System V contexts): Improve
10846 clarity and grammar of documentation.
10847
798212a0
PP
108482014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10849
10850 [BZ #16381]
798212a0 10851 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10852 (tests-pie): Add tst-pie2.
798212a0
PP
10853 * elf/tst-pie2.c: New file.
10854 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10855 for ET_EXEC.
10856 * elf/rtld.c (map_doit): Load executable as lt_executable.
10857 (dl_main): Likewise.
10858
abe6d90c
JM
108592014-03-12 Joseph Myers <joseph@codesourcery.com>
10860
10861 [BZ #16642]
10862 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10863 (__ASSUME_PSELECT): Undefine.
10864
dd3946c6
AZ
108652014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10866
10867 [BZ #16689]
10868 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10869 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10870 static build.
10871 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10872 selector for static builds.
10873
c44496df
SP
108742014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10875
10876 [BZ #16695]
10877 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10878 key in the buffer.
10879
27c7220a
AZ
108802014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10881
57f41c40
AS
10882 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10883 IFUNC selector for static builds.
27c7220a 10884
600fa361
JM
108852014-03-11 Joseph Myers <joseph@codesourcery.com>
10886
76c96cf7
JM
10887 * sysdeps/mips/math_private.h [__mips_hard_float]
10888 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10889 libc_feresetround_mips_ctx.
10890 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10891 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10892 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10893
600fa361
JM
10894 [BZ #16677]
10895 * math/s_nextafter.c (__nextafter): Do not return value from
10896 overflowing computation.
10897 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10898 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10899 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10900 Likewise.
10901 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10902 Likewise.
10903 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10904 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10905
d7706c32
RM
109062014-03-11 Roland McGrath <roland@hack.frob.com>
10907
10908 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10909 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10910 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10911 the new mov targetting sp.
10912
4facea47
AZ
109132014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10914
10915 [BZ #16683]
10916 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10917 Define it for static builds as well.
10918 (NO_BZERO_IMPL): Likewise.
10919
e65caf1f
VR
109202014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10921
10922 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10923 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10924 multiarch strspn for PPC64.
10925 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10926 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10928 (__libc_ifunc_impl_list): Likewise.
10929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10930 multiarch optimizations
10931 * string/strspn.c (strspn): Using macro to redefine symbol name.
10932
ba9cc071
AZ
109332014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10934 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10935
10936 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10937 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10938 multiarch strncat for PPC64.
10939 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10940 * sysdeps/powerpc/powerpc64/multiarch/strncat-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 strncat
10944 multiarch optimizations
10945
8b4ff974
SP
109462014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10947
10948 [BZ #16639]
10949 * nscd/nscd.service: Make service type forking.
10950
54b46a4b
AZ
109512014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10952
10953 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10954 sign in non default rounding modes.
10955 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10956
e9996ef7
JM
109572014-03-08 Joseph Myers <joseph@codesourcery.com>
10958
10959 * math/libm-test.inc (ALL_RM_TEST): New macro.
10960 (ceil_test): Use ALL_RM_TEST.
10961 (cimag_test): Likewise.
10962 (conj_test): Likewise.
10963 (copysign_test): Likewise.
10964 (cproj_test): Likewise.
10965 (creal_test): Likewise.
10966 (fabs_test): Likewise.
10967 (floor_test): Likewise.
10968 (fmax_test): Likewise.
10969 (fmin_test): Likewise.
10970 (fmod_test): Likewise.
10971 (fpclassify_test): Likewise.
10972 (frexp_test): Likewise.
10973 (ilogb_test): Likewise.
10974 (isfinite_test): Likewise.
10975 (finite_test): Likewise.
10976 (isgreater_test): Likewise.
10977 (isgreaterequal_test): Likewise.
10978 (isinf_test): Likewise.
10979 (isless_test): Likewise.
10980 (islessequal_test): Likewise.
10981 (islessgreater_test): Likewise.
10982 (isnan_test): Likewise.
10983 (isnormal_test): Likewise.
10984 (issignaling_test): Likewise.
10985 (isunordered_test): Likewise.
10986 (logb_test): Likewise.
10987 (logb_downward_test_data): Remove.
10988 (logb_test_downward): Likewise.
10989 (lround_test): Use ALL_RM_TEST.
10990 (llround_test): Likewise.
10991 (modf_test): Likewise.
10992 (nexttoward_test): Likewise.
10993 (remainder_test): Likewise.
10994 (drem_test): Likewise.
10995 (remainder_tonearest_test_data): Likewise.
10996 (remainder_test_tonearest): Likewise.
10997 (drem_test_tonearest): Likewise.
10998 (remainder_towardzero_test_data): Likewise.
10999 (remainder_test_towardzero): Likewise.
11000 (drem_test_towardzero): Likewise.
11001 (remainder_downward_test_data): Likewise.
11002 (remainder_test_downward): Likewise.
11003 (drem_test_downward): Likewise.
11004 (remainder_upward_test_data): Likewise.
11005 (remainder_test_upward): Likewise.
11006 (drem_test_upward): Likewise.
11007 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11008 (round_test): Use ALL_RM_TEST.
11009 (signbit_test): Likewise.
11010 (trunc_test): Likewise.
11011 (significand_test): Likewise.
11012 (main): Don't call removed functions.
11013
bc61d27c
JM
110142014-03-07 Joseph Myers <joseph@codesourcery.com>
11015
5c780849
JM
11016 [BZ #16674]
11017 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11018 || __USE_XOPEN2K8].
11019 (ILL_ILLOPN): Likewise.
11020 (ILL_ILLADR): Likewise.
11021 (ILL_ILLTRP): Likewise.
11022 (ILL_PRVOPC): Likewise.
11023 (ILL_PRVREG): Likewise.
11024 (ILL_COPROC): Likewise.
11025 (ILL_BADSTK): Likewise.
11026 (FPE_INTDIV): Likewise.
11027 (FPE_INTOVF): Likewise.
11028 (FPE_FLTDIV): Likewise.
11029 (FPE_FLTOVF): Likewise.
11030 (FPE_FLTUND): Likewise.
11031 (FPE_FLTRES): Likewise.
11032 (FPE_FLTINV): Likewise.
11033 (FPE_FLTSUB): Likewise.
11034 (SEGV_MAPERR): Likewise.
11035 (SEGV_ACCERR): Likewise.
11036 (BUS_ADRALN): Likewise.
11037 (BUS_ADRERR): Likewise.
11038 (BUS_OBJERR): Likewise.
11039 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11040 (TRAP_TRACE): Likewise.
11041 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11042 __USE_XOPEN2K8].
11043 (CLD_KILLED): Likewise.
11044 (CLD_DUMPED): Likewise.
11045 (CLD_TRAPPED): Likewise.
11046 (CLD_STOPPED): Likewise.
11047 (CLD_CONTINUED): Likewise.
11048 (POLL_IN): Likewise.
11049 (POLL_OUT): Likewise.
11050 (POLL_MSG): Likewise.
11051 (POLL_ERR): Likewise.
11052 (POLL_PRI): Likewise.
11053 (POLL_HUP): Likewise.
11054 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11055 Likewise.
11056 (ILL_ILLOPN): Likewise.
11057 (ILL_ILLADR): Likewise.
11058 (ILL_ILLTRP): Likewise.
11059 (ILL_PRVOPC): Likewise.
11060 (ILL_PRVREG): Likewise.
11061 (ILL_COPROC): Likewise.
11062 (ILL_BADSTK): Likewise.
11063 (FPE_INTDIV): Likewise.
11064 (FPE_INTOVF): Likewise.
11065 (FPE_FLTDIV): Likewise.
11066 (FPE_FLTOVF): Likewise.
11067 (FPE_FLTUND): Likewise.
11068 (FPE_FLTRES): Likewise.
11069 (FPE_FLTINV): Likewise.
11070 (FPE_FLTSUB): Likewise.
11071 (SEGV_MAPERR): Likewise.
11072 (SEGV_ACCERR): Likewise.
11073 (BUS_ADRALN): Likewise.
11074 (BUS_ADRERR): Likewise.
11075 (BUS_OBJERR): Likewise.
11076 (BUS_MCEERR_AR): Likewise.
11077 (BUS_MCEERR_AO): Likewise.
11078 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11079 (TRAP_TRACE): Likewise.
11080 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11081 __USE_XOPEN2K8].
11082 (CLD_KILLED): Likewise.
11083 (CLD_DUMPED): Likewise.
11084 (CLD_TRAPPED): Likewise.
11085 (CLD_STOPPED): Likewise.
11086 (CLD_CONTINUED): Likewise.
11087 (POLL_IN): Likewise.
11088 (POLL_OUT): Likewise.
11089 (POLL_MSG): Likewise.
11090 (POLL_ERR): Likewise.
11091 (POLL_PRI): Likewise.
11092 (POLL_HUP): Likewise.
11093 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11094 (ILL_ILLOPN): Likewise.
11095 (ILL_ILLADR): Likewise.
11096 (ILL_ILLTRP): Likewise.
11097 (ILL_PRVOPC): Likewise.
11098 (ILL_PRVREG): Likewise.
11099 (ILL_COPROC): Likewise.
11100 (ILL_BADSTK): Likewise.
11101 (FPE_INTDIV): Likewise.
11102 (FPE_INTOVF): Likewise.
11103 (FPE_FLTDIV): Likewise.
11104 (FPE_FLTOVF): Likewise.
11105 (FPE_FLTUND): Likewise.
11106 (FPE_FLTRES): Likewise.
11107 (FPE_FLTINV): Likewise.
11108 (FPE_FLTSUB): Likewise.
11109 (SEGV_MAPERR): Likewise.
11110 (SEGV_ACCERR): Likewise.
11111 (BUS_ADRALN): Likewise.
11112 (BUS_ADRERR): Likewise.
11113 (BUS_OBJERR): Likewise.
11114 (BUS_MCEERR_AR): Likewise.
11115 (BUS_MCEERR_AO): Likewise.
11116 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11117 (TRAP_TRACE): Likewise.
11118 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11119 __USE_XOPEN2K8].
11120 (CLD_KILLED): Likewise.
11121 (CLD_DUMPED): Likewise.
11122 (CLD_TRAPPED): Likewise.
11123 (CLD_STOPPED): Likewise.
11124 (CLD_CONTINUED): Likewise.
11125 (POLL_IN): Likewise.
11126 (POLL_OUT): Likewise.
11127 (POLL_MSG): Likewise.
11128 (POLL_ERR): Likewise.
11129 (POLL_PRI): Likewise.
11130 (POLL_HUP): Likewise.
11131 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11132 Likewise.
11133 (ILL_ILLOPN): Likewise.
11134 (ILL_ILLADR): Likewise.
11135 (ILL_ILLTRP): Likewise.
11136 (ILL_PRVOPC): Likewise.
11137 (ILL_PRVREG): Likewise.
11138 (ILL_COPROC): Likewise.
11139 (ILL_BADSTK): Likewise.
11140 (ILL_BADIADDR): Likewise.
11141 (ILL_BREAK): Likewise.
11142 (FPE_INTDIV): Likewise.
11143 (FPE_INTOVF): Likewise.
11144 (FPE_FLTDIV): Likewise.
11145 (FPE_FLTOVF): Likewise.
11146 (FPE_FLTUND): Likewise.
11147 (FPE_FLTRES): Likewise.
11148 (FPE_FLTINV): Likewise.
11149 (FPE_FLTSUB): Likewise.
11150 (FPE_DECOVF): Likewise.
11151 (FPE_DECDIV): Likewise.
11152 (FPE_DECERR): Likewise.
11153 (FPE_INVASC): Likewise.
11154 (FPE_INVDEC): Likewise.
11155 (SEGV_MAPERR): Likewise.
11156 (SEGV_ACCERR): Likewise.
11157 (SEGV_PSTKOVF): Likewise.
11158 (BUS_ADRALN): Likewise.
11159 (BUS_ADRERR): Likewise.
11160 (BUS_OBJERR): Likewise.
11161 (BUS_MCEERR_AR): Likewise.
11162 (BUS_MCEERR_AO): Likewise.
11163 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11164 (TRAP_TRACE): Likewise.
11165 (TRAP_BRANCH): Likewise.
11166 (TRAP_HWBKPT): Likewise.
11167 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11168 __USE_XOPEN2K8].
11169 (CLD_KILLED): Likewise.
11170 (CLD_DUMPED): Likewise.
11171 (CLD_TRAPPED): Likewise.
11172 (CLD_STOPPED): Likewise.
11173 (CLD_CONTINUED): Likewise.
11174 (POLL_IN): Likewise.
11175 (POLL_OUT): Likewise.
11176 (POLL_MSG): Likewise.
11177 (POLL_ERR): Likewise.
11178 (POLL_PRI): Likewise.
11179 (POLL_HUP): Likewise.
11180 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11181 (ILL_ILLOPN): Likewise.
11182 (ILL_ILLADR): Likewise.
11183 (ILL_ILLTRP): Likewise.
11184 (ILL_PRVOPC): Likewise.
11185 (ILL_PRVREG): Likewise.
11186 (ILL_COPROC): Likewise.
11187 (ILL_BADSTK): Likewise.
11188 (FPE_INTDIV): Likewise.
11189 (FPE_INTOVF): Likewise.
11190 (FPE_FLTDIV): Likewise.
11191 (FPE_FLTOVF): Likewise.
11192 (FPE_FLTUND): Likewise.
11193 (FPE_FLTRES): Likewise.
11194 (FPE_FLTINV): Likewise.
11195 (FPE_FLTSUB): Likewise.
11196 (SEGV_MAPERR): Likewise.
11197 (SEGV_ACCERR): Likewise.
11198 (BUS_ADRALN): Likewise.
11199 (BUS_ADRERR): Likewise.
11200 (BUS_OBJERR): Likewise.
11201 (BUS_MCEERR_AR): Likewise.
11202 (BUS_MCEERR_AO): Likewise.
11203 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11204 (TRAP_TRACE): Likewise.
11205 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11206 __USE_XOPEN2K8].
11207 (CLD_KILLED): Likewise.
11208 (CLD_DUMPED): Likewise.
11209 (CLD_TRAPPED): Likewise.
11210 (CLD_STOPPED): Likewise.
11211 (CLD_CONTINUED): Likewise.
11212 (POLL_IN): Likewise.
11213 (POLL_OUT): Likewise.
11214 (POLL_MSG): Likewise.
11215 (POLL_ERR): Likewise.
11216 (POLL_PRI): Likewise.
11217 (POLL_HUP): Likewise.
11218 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11219 (ILL_ILLOPN): Likewise.
11220 (ILL_ILLADR): Likewise.
11221 (ILL_ILLTRP): Likewise.
11222 (ILL_PRVOPC): Likewise.
11223 (ILL_PRVREG): Likewise.
11224 (ILL_COPROC): Likewise.
11225 (ILL_BADSTK): Likewise.
11226 (FPE_INTDIV): Likewise.
11227 (FPE_INTOVF): Likewise.
11228 (FPE_FLTDIV): Likewise.
11229 (FPE_FLTOVF): Likewise.
11230 (FPE_FLTUND): Likewise.
11231 (FPE_FLTRES): Likewise.
11232 (FPE_FLTINV): Likewise.
11233 (FPE_FLTSUB): Likewise.
11234 (SEGV_MAPERR): Likewise.
11235 (SEGV_ACCERR): Likewise.
11236 (BUS_ADRALN): Likewise.
11237 (BUS_ADRERR): Likewise.
11238 (BUS_OBJERR): Likewise.
11239 (BUS_MCEERR_AR): Likewise.
11240 (BUS_MCEERR_AO): Likewise.
11241 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11242 (TRAP_TRACE): Likewise.
11243 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11244 __USE_XOPEN2K8].
11245 (CLD_KILLED): Likewise.
11246 (CLD_DUMPED): Likewise.
11247 (CLD_TRAPPED): Likewise.
11248 (CLD_STOPPED): Likewise.
11249 (CLD_CONTINUED): Likewise.
11250 (POLL_IN): Likewise.
11251 (POLL_OUT): Likewise.
11252 (POLL_MSG): Likewise.
11253 (POLL_ERR): Likewise.
11254 (POLL_PRI): Likewise.
11255 (POLL_HUP): Likewise.
11256 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11257 (ILL_ILLOPN): Likewise.
11258 (ILL_ILLADR): Likewise.
11259 (ILL_ILLTRP): Likewise.
11260 (ILL_PRVOPC): Likewise.
11261 (ILL_PRVREG): Likewise.
11262 (ILL_COPROC): Likewise.
11263 (ILL_BADSTK): Likewise.
11264 (FPE_INTDIV): Likewise.
11265 (FPE_INTOVF): Likewise.
11266 (FPE_FLTDIV): Likewise.
11267 (FPE_FLTOVF): Likewise.
11268 (FPE_FLTUND): Likewise.
11269 (FPE_FLTRES): Likewise.
11270 (FPE_FLTINV): Likewise.
11271 (FPE_FLTSUB): Likewise.
11272 (SEGV_MAPERR): Likewise.
11273 (SEGV_ACCERR): Likewise.
11274 (BUS_ADRALN): Likewise.
11275 (BUS_ADRERR): Likewise.
11276 (BUS_OBJERR): Likewise.
11277 (BUS_MCEERR_AR): Likewise.
11278 (BUS_MCEERR_AO): Likewise.
11279 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11280 (TRAP_TRACE): Likewise.
11281 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11282 __USE_XOPEN2K8].
11283 (CLD_KILLED): Likewise.
11284 (CLD_DUMPED): Likewise.
11285 (CLD_TRAPPED): Likewise.
11286 (CLD_STOPPED): Likewise.
11287 (CLD_CONTINUED): Likewise.
11288 (POLL_IN): Likewise.
11289 (POLL_OUT): Likewise.
11290 (POLL_MSG): Likewise.
11291 (POLL_ERR): Likewise.
11292 (POLL_PRI): Likewise.
11293 (POLL_HUP): Likewise.
11294 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11295 (ILL_ILLOPN): Likewise.
11296 (ILL_ILLADR): Likewise.
11297 (ILL_ILLTRP): Likewise.
11298 (ILL_PRVOPC): Likewise.
11299 (ILL_PRVREG): Likewise.
11300 (ILL_COPROC): Likewise.
11301 (ILL_BADSTK): Likewise.
11302 (ILL_DBLFLT): Likewise.
11303 (ILL_HARDWALL): Likewise.
11304 (FPE_INTDIV): Likewise.
11305 (FPE_INTOVF): Likewise.
11306 (FPE_FLTDIV): Likewise.
11307 (FPE_FLTOVF): Likewise.
11308 (FPE_FLTUND): Likewise.
11309 (FPE_FLTRES): Likewise.
11310 (FPE_FLTINV): Likewise.
11311 (FPE_FLTSUB): Likewise.
11312 (SEGV_MAPERR): Likewise.
11313 (SEGV_ACCERR): Likewise.
11314 (BUS_ADRALN): Likewise.
11315 (BUS_ADRERR): Likewise.
11316 (BUS_OBJERR): Likewise.
11317 (BUS_MCEERR_AR): Likewise.
11318 (BUS_MCEERR_AO): Likewise.
11319 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11320 (TRAP_TRACE): Likewise.
11321 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11322 __USE_XOPEN2K8].
11323 (CLD_KILLED): Likewise.
11324 (CLD_DUMPED): Likewise.
11325 (CLD_TRAPPED): Likewise.
11326 (CLD_STOPPED): Likewise.
11327 (CLD_CONTINUED): Likewise.
11328 (POLL_IN): Likewise.
11329 (POLL_OUT): Likewise.
11330 (POLL_MSG): Likewise.
11331 (POLL_ERR): Likewise.
11332 (POLL_PRI): Likewise.
11333 (POLL_HUP): Likewise.
11334 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11335 (ILL_ILLOPN): Likewise.
11336 (ILL_ILLADR): Likewise.
11337 (ILL_ILLTRP): Likewise.
11338 (ILL_PRVOPC): Likewise.
11339 (ILL_PRVREG): Likewise.
11340 (ILL_COPROC): Likewise.
11341 (ILL_BADSTK): Likewise.
11342 (FPE_INTDIV): Likewise.
11343 (FPE_INTOVF): Likewise.
11344 (FPE_FLTDIV): Likewise.
11345 (FPE_FLTOVF): Likewise.
11346 (FPE_FLTUND): Likewise.
11347 (FPE_FLTRES): Likewise.
11348 (FPE_FLTINV): Likewise.
11349 (FPE_FLTSUB): Likewise.
11350 (SEGV_MAPERR): Likewise.
11351 (SEGV_ACCERR): Likewise.
11352 (BUS_ADRALN): Likewise.
11353 (BUS_ADRERR): Likewise.
11354 (BUS_OBJERR): Likewise.
11355 (BUS_MCEERR_AR): Likewise.
11356 (BUS_MCEERR_AO): Likewise.
11357 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11358 (TRAP_TRACE): Likewise.
11359 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11360 __USE_XOPEN2K8].
11361 (CLD_KILLED): Likewise.
11362 (CLD_DUMPED): Likewise.
11363 (CLD_TRAPPED): Likewise.
11364 (CLD_STOPPED): Likewise.
11365 (CLD_CONTINUED): Likewise.
11366 (POLL_IN): Likewise.
11367 (POLL_OUT): Likewise.
11368 (POLL_MSG): Likewise.
11369 (POLL_ERR): Likewise.
11370 (POLL_PRI): Likewise.
11371 (POLL_HUP): Likewise.
11372 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11373 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11374
bc61d27c
JM
11375 [BZ #16670]
11376 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11377 before #include of <time.h>.
11378 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11379 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11380 (test-xfail-UNIX98/sched.h/conform): Likewise.
11381
302949e2
MS
113822014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11383
11384 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11385 error absence of trapping exception support.
11386 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11387
a00f522a
JM
113882014-03-07 Joseph Myers <joseph@codesourcery.com>
11389
6f99f280
JM
11390 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11391 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11392 * timezone/Makefile (testdata): Move definition above include of
11393 Rules.
11394 (test-zones): New variable.
11395 (tests-special): Add zone files.
11396 (build-testdata): Use $(evaluate-test).
11397
0b20a9e8
JM
11398 * elf/Makefile (tests-special): Rename tests to end with .out.
11399 ($(objpfx)noload-mem): Likewise.
11400 ($(objpfx)tst-leaks1-mem): Likewise.
11401 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11402 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11403 $(objpfx)test-iconvconfig.out.
11404 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11405 set -e inside subshell and redirect output to file.
11406 * iconvdata/Makefile (generated): Rename tests to end with .out.
11407 Correct type.
11408 (tests-special): Rename tests to end with .out.
11409 ($(objpfx)mtrace-tst-loading): Likewise.
11410 * intl/Makefile (generated): Likewise.
11411 (tests-special): Likewise.
11412 ($(objpfx)mtrace-tst-gettext): Likewise.
11413 * misc/Makefile (generated): Likewise.
11414 (tests-special): Likewise.
11415 ($(objpfx)tst-error1-mem): Likewise.
11416 * nptl/Makefile (tests-special): Likewise.
11417 ($(objpfx)tst-stack3-mem): Likewise.
11418 (generated): Likewise.
11419 * posix/Makefile (generated): Likewise.
11420 (tests-special): Likewise.
11421 (xtests-special): Likewise.
11422 ($(objpfx)tst-fnmatch-mem): Likewise.
11423 ($(objpfx)bug-regex2-mem): Likewise.
11424 ($(objpfx)bug-regex14-mem): Likewise.
11425 ($(objpfx)bug-regex21-mem): Likewise.
11426 ($(objpfx)bug-regex31-mem): Likewise.
11427 ($(objpfx)tst-vfork3-mem): Likewise.
11428 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11429 ($(objpfx)tst-pcre-mem): Likewise.
11430 ($(objpfx)tst-boost-mem): Likewise.
11431 ($(objpfx)bug-ga2-mem): Likewise.
11432 ($(objpfx)bug-glob2-mem): Likewise.
11433 * resolv/Makefile (generate): Likewise.
11434 (tests-special): Likewise.
11435 (xtests-special): Likewise.
11436 (generated): Likewise.
11437 ($(objpfx)mtrace-tst-leaks): Likewise.
11438 ($(objpfx)mtrace-tst-leaks2): Likewise.
11439
265d52ab
JM
11440 * scripts/merge-test-results.sh: New file.
11441 * Makefile (tests-special-notdir): New variable.
11442 (tests): Run merge-test-results.sh.
11443 (xtests): Likewise.
11444 * Rules (tests-special-notdir): New variable.
11445 (xtests-special-notdir): Likewise.
11446 (tests): Run merge-test-results.sh
11447 (xtests): Likewise.
11448
54ee292d
JM
11449 * Makeconfig (test-xfail-name): New variable.
11450 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11451 compute variable name for expected failures.
11452 * conform/Makefile (conformtest-headers-data): New variable.
11453 (conformtest-standards): Likewise.
11454 (conformtest-headers-ISO): Likewise.
11455 (conformtest-headers-ISO99): Likewise.
11456 (conformtest-headers-ISO11): Likewise.
11457 (conformtest-headers-POSIX): Likewise.
11458 (conformtest-headers-XPG3): Likewise.
11459 (conformtest-headers-XPG4): Likewise.
11460 (conformtest-headers-UNIX98): Likewise.
11461 (conformtest-headers-XOPEN2K): Likewise.
11462 (conformtest-headers-POSIX2008): Likewise.
11463 (conformtest-headers-XOPEN2K8): Likewise.
11464 (conformtest-header-list-base): Likewise.
11465 (conformtest-header-list-tests): Likewise.
11466 (conformtest-header-base): Likewise.
11467 (conformtest-header-tests): Likewise.
11468 (tests-special): Add $(conformtest-header-list-tests). If
11469 [$(fast-check) && !$(cross-compiling)], add
11470 $(conformtest-header-tests) instead of
11471 $(objpfx)run-conformtest.out.
11472 (generated): Add $(conformtest-header-list-base). If
11473 [$(fast-check) && !$(cross-compiling)], add
11474 $(conformtest-header-base). Remove previous setting.
11475 ($(conformtest-header-list-tests)): New target.
11476 (test-xfail-run-conformtest): Remove variable.
11477 ($(objpfx)run-conformtest.out): Remove target.
11478 (test-xfail-ISO11/complex.h/conform): New variable.
11479 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11480 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11481 (test-xfail-XPG3/varargs.h/conform): Likewise.
11482 (test-xfail-XPG4/varargs.h/conform): Likewise.
11483 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11484 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11485 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11486 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11487 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11488 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11489 (test-xfail-XPG3/ftw.h/conform): Likewise.
11490 (test-xfail-XPG3/grp.h/conform): Likewise.
11491 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11492 (test-xfail-XPG3/limits.h/conform): Likewise.
11493 (test-xfail-XPG3/pwd.h/conform): Likewise.
11494 (test-xfail-XPG3/search.h/conform): Likewise.
11495 (test-xfail-XPG3/signal.h/conform): Likewise.
11496 (test-xfail-XPG3/stdio.h/conform): Likewise.
11497 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11498 (test-xfail-XPG3/string.h/conform): Likewise.
11499 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11500 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11501 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11502 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11503 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11504 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11505 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11506 (test-xfail-XPG3/termios.h/conform): Likewise.
11507 (test-xfail-XPG3/time.h/conform): Likewise.
11508 (test-xfail-XPG3/unistd.h/conform): Likewise.
11509 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11510 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11511 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11512 (test-xfail-XPG4/netdb.h/conform): Likewise.
11513 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11514 (test-xfail-XPG4/signal.h/conform): Likewise.
11515 (test-xfail-XPG4/stdio.h/conform): Likewise.
11516 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11517 (test-xfail-XPG4/stropts.h/conform): Likewise.
11518 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11519 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11520 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11521 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11522 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11523 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11524 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11525 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11526 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11527 (test-xfail-XPG4/termios.h/conform): Likewise.
11528 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11529 (test-xfail-XPG4/unistd.h/conform): Likewise.
11530 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11531 (test-xfail-POSIX/sched.h/conform): Likewise.
11532 (test-xfail-POSIX/signal.h/conform): Likewise.
11533 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11534 (test-xfail-POSIX/tar.h/conform): Likewise.
11535 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11536 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11537 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11538 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11539 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11540 (test-xfail-UNIX98/sched.h/conform): Likewise.
11541 (test-xfail-UNIX98/signal.h/conform): Likewise.
11542 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11543 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11544 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11545 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11546 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11547 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11548 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11549 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11550 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11551 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11552 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11553 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11554 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11555 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11556 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11557 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11558 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11559 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11560 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11561 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11562 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11563 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11564 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11565 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11566 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11567 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11568 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11569 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11570 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11571 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11572 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11573 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11574 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11575 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11576 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11577 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11578 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11579 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11580 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11581 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11582 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11583 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11584 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11585 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11586 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11587 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11588 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11589 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11590 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11591 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11592 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11593 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11594 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11595 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11596 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11597 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11598 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11599 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11600 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11601 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11602 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11603 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11604 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11605 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11606 (conformtest-cc-flags): Likewise.
11607 ($(conformtest-header-tests): New target.
11608 * conform/check-header-lists.sh: New file.
11609 * conform/run-conformtest.sh: Remove.
11610
a00f522a
JM
11611 * conform/conformtest.pl: Allow ' and \ in values given for
11612 constants.
11613 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11614 inclusion.
11615 [POSIX] (sys/types.h): Likewise.
11616 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11617 inclusion.
11618 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11619 inclusion.
11620 * conform/data/signal.h-data (SIGIO): Remove expectation.
11621 [XPG3] (SIGBUS): Do not expect.
11622 [POSIX || XPG3] (SIGPOLL): Likewise.
11623 [POSIX || XPG3] (SIGPROF): Likewise.
11624 [POSIX || XPG3] (SIGSYS): Likewise.
11625 [XPG3] (SIGTRAP): Likewise.
11626 [POSIX || XPG3] (SIGURG): Likewise.
11627 [POSIX || XPG3] (SIGVTALRM): Likewise.
11628 [POSIX || XPG3] (SIGXCPU): Likewise.
11629 [POSIX || XPG3] (SIGXFSZ): Likewise.
11630 [POSIX] (SA_SIGINFO): Expect.
11631 [XPG3] (siginfo_t): Do not expect type or contents.
11632 [POSIX] (si_pid): Do not expect element.
11633 [POSIX] (si_uid): Likewise.
11634 [POSIX] (si_addr): Likewise.
11635 [POSIX] (si_status): Likewise.
11636 [POSIX] (si_band): Likewise.
11637 [XPG4] (si_value): Likewise.
11638 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11639 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11640 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11641 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11642 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11643 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11644 [POSIX || XPG3] (ILL_COPROC): Likewise.
11645 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11646 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11647 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11648 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11649 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11650 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11651 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11652 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11653 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11654 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11655 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11656 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11657 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11658 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11659 [POSIX || XPG3] (CLD_EXITED): Likewise.
11660 [POSIX || XPG3] (CLD_KILLED): Likewise.
11661 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11662 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11663 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11664 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11665 [POSIX || XPG3] (POLL_IN): Likewise.
11666 [POSIX || XPG3] (POLL_OUT): Likewise.
11667 [POSIX || XPG3] (POLL_MSG): Likewise.
11668 [POSIX || XPG3] (POLL_ERR): Likewise.
11669 [POSIX || XPG3] (POLL_PRI): Likewise.
11670 [POSIX || XPG3] (POLL_HUP): Likewise.
11671 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11672 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11673 (SIG*): Do not allow.
11674 [XPG3] (si_*): Likewise.
11675 [XPG3] (SI_*): Likewise.
11676 [XPG3 || XPG4] (sigev_*): Likewise.
11677 [XPG3 || XPG4] (SIGEV_*): Likewise.
11678 [XPG3 || XPG4] (sival_*): Likewise.
11679 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11680 [POSIX || XPG3] (BUS_*): Likewise.
11681 [POSIX || XPG3] (CLD_*): Likewise.
11682 [POSIX || XPG3] (FPE_*): Likewise.
11683 [POSIX || XPG3] (ILL_*): Likewise.
11684 [POSIX || XPG3] (POLL_*): Likewise.
11685 [POSIX || XPG3] (SEGV_*): Likewise.
11686 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11687 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11688 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11689 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11690 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11691 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11692 Specify type and value.
11693 (TVERSLEN): Likewise.
11694 (REGTYPE): Likewise.
11695 (AREGTYPE): Likewise.
11696 (LNKTYPE): Likewise.
11697 (SYMTYPE): Likewise.
11698 (CHRTYPE): Likewise.
11699 (BLKTYPE): Likewise.
11700 (DIRTYPE): Likewise.
11701 (FIFOTYPE): Likewise.
11702 (CONTTYPE): Likewise.
11703 (TSUID): Likewise.
11704 (TSGID): Likewise.
11705 (TSVTX): Likewise.
11706 (TUREAD): Likewise.
11707 (TUWRITE): Likewise.
11708 (TUEXEC): Likewise.
11709 (TGREAD): Likewise.
11710 (TGWRITE): Likewise.
11711 (TGEXEC): Likewise.
11712 (TOREAD): Likewise.
11713 (TOWRITE): Likewise.
11714 (TOEXEC): Likewise.
11715 [POSIX] (TSVTX): Expect constant.
11716
aa97dee1
JM
117172014-03-06 Joseph Myers <joseph@codesourcery.com>
11718
f214606a
JM
11719 * Makefile (tests): Change dependencies to ....
11720 (tests-special): ... additions to this variable.
11721 (tests): Depend on $(tests-special).
11722 * Makerules (check-abi-list): New variable.
11723 (check-abi): Depend on $(check-abi-list).
11724 [$(subdir) = elf] (tests-special): Add
11725 $(objpfx)check-abi-libc.out.
11726 [$(build-shared) = yes && subdir] (tests-special): Add
11727 $(check-abi-list).
11728 [$(build-shared) = yes && subdir] (tests): Do not depend on
11729 check-abi.
11730 * Rules (tests): Depend on $(tests-special).
11731 (xtests): Depend on $(xtests-special).
11732 * catgets/Makefile (tests): Change dependencies to ....
11733 (tests-special): ... additions to this variable.
11734 * conform/Makefile (tests): Change dependencies to ....
11735 (tests-special): ... additions to this variable.
11736 * elf/Makefile (tests): Change dependencies to ....
11737 (tests-special): ... additions to this variable.
11738 * grp/Makefile (tests): Change dependencies to ....
11739 (tests-special): ... additions to this variable.
11740 * iconv/Makefile (xtests): Change dependencies to ....
11741 (xtests-special): ... additions to this variable.
11742 * iconvdata/Makefile (tests): Change dependencies to ....
11743 (tests-special): ... additions to this variable.
11744 * intl/Makefile (tests): Change dependencies to ....
11745 (tests-special): ... additions to this variable. Also add
11746 $(objpfx)tst-gettext.out.
11747 * io/Makefile (tests): Change dependencies to ....
11748 (tests-special): ... additions to this variable.
11749 * libio/Makefile (tests): Change dependencies to ....
11750 (tests-special): ... additions to this variable.
11751 * malloc/Makefile (tests): Change dependencies to ....
11752 (tests-special): ... additions to this variable.
11753 * misc/Makefile (tests): Change dependencies to ....
11754 (tests-special): ... additions to this variable.
11755 * nptl/Makefile (tests): Change dependencies to ....
11756 (tests-special): ... additions to this variable.
11757 * nptl_db/Makefile (tests): Change dependencies to ....
11758 (tests-special): ... additions to this variable.
11759 * posix/Makefile (tests): Change dependencies to ....
11760 (tests-special): ... additions to this variable.
11761 (xtests): Change dependencies to ....
11762 (xtests-special): ... additions to this variable.
11763 * resolv/Makefile (tests): Change dependencies to ....
11764 (tests-special): ... additions to this variable.
11765 (xtests): Change dependencies to ....
11766 (xtests-special): ... additions to this variable.
11767 * stdio-common/Makefile (tests): Change dependencies to ....
11768 (tests-special): ... additions to this variable.
11769 (do-tst-unbputc): Remove target.
11770 (do-tst-printf): Likewise.
11771 * stdlib/Makefile (tests): Change dependencies to ....
11772 (tests-special): ... additions to this variable.
11773 * string/Makefile (tests): Change dependencies to ....
11774 (tests-special): ... additions to this variable.
11775 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11776 (tests-special): ... additions to this variable.
11777
81700b53
JM
11778 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11779 whole file.
11780 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11781 whole file.
11782 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11783 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11784
2ea18461
JM
11785 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11786 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11787 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11788 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11789 * conform/data/libgen.h-data [XPG3]: Likewise.
11790 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11791 * conform/data/ndbm.h-data [XPG3]: Likewise.
11792 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11793 * conform/data/netdb.h-data [XPG3]: Likewise.
11794 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11795 * conform/data/poll.h-data [XPG3]: Likewise.
11796 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11797 * conform/data/strings.h-data [XPG3]: Likewise.
11798 * conform/data/stropts.h-data [XPG3]: Likewise.
11799 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11800 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11801 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11802 Likewise.
11803 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11804 * conform/data/sys/time.h-data [XPG3]: Likewise.
11805 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11806 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11807 * conform/data/sys/un.h-data [XPG3]: Likewise.
11808 * conform/data/syslog.h-data [XPG3]: Likewise.
11809 * conform/data/ucontext.h-data [XPG3]: Likewise.
11810 * conform/data/utmpx.h-data [XPG3]: Likewise.
11811 * conform/data/varargs.h-data [UNIX98]: Enable file.
11812
355bc986
JM
11813 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11814
215db402
JM
11815 * math/libm-test.inc (struct test_f_f_data): Move expected results
11816 into structure for each rounding mode.
11817 (struct test_ff_f_data): Likewise.
11818 (struct test_ff_f_data_nexttoward): Likewise.
11819 (struct test_fi_f_data): Likewise.
11820 (struct test_fl_f_data): Likewise.
11821 (struct test_if_f_data): Likewise.
11822 (struct test_fff_f_data): Likewise.
11823 (struct test_c_f_data): Likewise.
11824 (struct test_f_f1_data): Likewise.
11825 (struct test_fF_f1_data): Likewise.
11826 (struct test_ffI_f1_data): Likewise.
11827 (struct test_c_c_data): Likewise.
11828 (struct test_cc_c_data): Likewise.
11829 (struct test_f_i_data): Likewise.
11830 (struct test_ff_i_data): Likewise.
11831 (struct test_f_l_data): Likewise.
11832 (struct test_f_L_data): Likewise.
11833 (struct test_fFF_11_data): Likewise.
11834 (RM_): New macro.
11835 (RM_FE_DOWNWARD): Likewise.
11836 (RM_FE_TONEAREST): Likewise.
11837 (RM_FE_TOWARDZERO): Likewise.
11838 (RM_FE_UPWARD): Likewise.
11839 (RUN_TEST_LOOP_f_f): Update references to expected results.
11840 (RUN_TEST_LOOP_2_f): Likewise.
11841 (RUN_TEST_LOOP_fff_f): Likewise.
11842 (RUN_TEST_LOOP_c_f): Likewise.
11843 (RUN_TEST_LOOP_f_f1): Likewise.
11844 (RUN_TEST_LOOP_fF_f1): Likewise.
11845 (RUN_TEST_LOOP_fI_f1): Likewise.
11846 (RUN_TEST_LOOP_ffI_f1): Likewise.
11847 (RUN_TEST_LOOP_c_c): Likewise.
11848 (RUN_TEST_LOOP_cc_c): Likewise.
11849 (RUN_TEST_LOOP_f_i): Likewise.
11850 (RUN_TEST_LOOP_f_i_tg): Likewise.
11851 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11852 (RUN_TEST_LOOP_f_b): Likewise.
11853 (RUN_TEST_LOOP_f_b_tg): Likewise.
11854 (RUN_TEST_LOOP_f_l): Likewise.
11855 (RUN_TEST_LOOP_f_L): Likewise.
11856 (RUN_TEST_LOOP_fFF_11): Likewise.
11857 * math/gen-libm-test.pl (parse_args): Output four copies of
11858 expected results for each test.
11859
67737b8f
JM
11860 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11861 (__ASSUME_UTIMES): Remove.
11862 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11863 (__ASSUME_UTIMES): Likewise.
11864
aa97dee1
JM
11865 * math/gen-auto-libm-tests.c: Update comment on output format.
11866 (output_for_one_input_case): Generate before-rounding and
11867 after-rounding information as conditions on output flags not
11868 floating-point format.
11869 * math/auto-libm-test-out: Regenerated.
11870 * math/gen-libm-test.pl (cond_value): New function.
11871 (or_cond_value): Use cond_value.
11872 (generate_testfile): Handle conditional exceptions.
11873
e6b6a857
JM
118742014-03-05 Joseph Myers <joseph@codesourcery.com>
11875
2f0a0f44
JM
11876 * math/libm-test.inc (max_valid_error): New variable.
11877 (init_max_error): Take new argument specifying whether function
11878 results are exactly determined. Set max_valid_error and bound
11879 other variables for errors based on this argument.
11880 (set_max_error): Do not record results above max_valid_error.
11881 (check_float_internal): Only accept errors of up to 0.5ulps if
11882 also at most max_valid_error.
11883 (START): Take new argument EXACT and pass it to init_max_error.
11884 (acos_test): Update call to START.
11885 (acos_test_tonearest): Likewise.
11886 (acos_test_towardzero): Likewise.
11887 (acos_test_downward): Likewise.
11888 (acos_test_upward): Likewise.
11889 (acosh_test): Likewise.
11890 (asin_test): Likewise.
11891 (asin_test_tonearest): Likewise.
11892 (asin_test_towardzero): Likewise.
11893 (asin_test_downward): Likewise.
11894 (asin_test_upward): Likewise.
11895 (asinh_test): Likewise.
11896 (atan_test): Likewise.
11897 (atanh_test): Likewise.
11898 (atan2_test): Likewise.
11899 (cabs_test): Likewise.
11900 (cacos_test): Likewise.
11901 (cacosh_test): Likewise.
11902 (carg_test): Likewise.
11903 (casin_test): Likewise.
11904 (casinh_test): Likewise.
11905 (catan_test): Likewise.
11906 (catanh_test): Likewise.
11907 (cbrt_test): Likewise.
11908 (ccos_test): Likewise.
11909 (ccosh_test): Likewise.
11910 (ceil_test): Likewise.
11911 (cexp_test): Likewise.
11912 (cimag_test): Likewise.
11913 (clog_test): Likewise.
11914 (clog10_test): Likewise.
11915 (conj_test): Likewise.
11916 (copysign_test): Likewise.
11917 (cos_test): Likewise.
11918 (cos_test_tonearest): Likewise.
11919 (cos_test_towardzero): Likewise.
11920 (cos_test_downward): Likewise.
11921 (cos_test_upward): Likewise.
11922 (cosh_test): Likewise.
11923 (cosh_test_tonearest): Likewise.
11924 (cosh_test_towardzero): Likewise.
11925 (cosh_test_downward): Likewise.
11926 (cosh_test_upward): Likewise.
11927 (cpow_test): Likewise.
11928 (cproj_test): Likewise.
11929 (creal_test): Likewise.
11930 (csin_test): Likewise.
11931 (csinh_test): Likewise.
11932 (csqrt_test): Likewise.
11933 (ctan_test): Likewise.
11934 (ctan_test_tonearest): Likewise.
11935 (ctan_test_towardzero): Likewise.
11936 (ctan_test_downward): Likewise.
11937 (ctan_test_upward): Likewise.
11938 (ctanh_test): Likewise.
11939 (ctanh_test_tonearest): Likewise.
11940 (ctanh_test_towardzero): Likewise.
11941 (ctanh_test_downward): Likewise.
11942 (ctanh_test_upward): Likewise.
11943 (erf_test): Likewise.
11944 (erfc_test): Likewise.
11945 (exp_test): Likewise.
11946 (exp_test_tonearest): Likewise.
11947 (exp_test_towardzero): Likewise.
11948 (exp_test_downward): Likewise.
11949 (exp_test_upward): Likewise.
11950 (exp10_test): Likewise.
11951 (exp10_test_tonearest): Likewise.
11952 (exp10_test_towardzero): Likewise.
11953 (exp10_test_downward): Likewise.
11954 (exp10_test_upward): Likewise.
11955 (pow10_test): Likewise.
11956 (exp2_test): Likewise.
11957 (expm1_test): Likewise.
11958 (expm1_test_tonearest): Likewise.
11959 (expm1_test_towardzero): Likewise.
11960 (expm1_test_downward): Likewise.
11961 (expm1_test_upward): Likewise.
11962 (fabs_test): Likewise.
11963 (fdim_test): Likewise.
11964 (floor_test): Likewise.
11965 (fma_test): Likewise.
11966 (fma_test_towardzero): Likewise.
11967 (fma_test_downward): Likewise.
11968 (fma_test_upward): Likewise.
11969 (fmax_test): Likewise.
11970 (fmin_test): Likewise.
11971 (fmod_test): Likewise.
11972 (fpclassify_test): Likewise.
11973 (frexp_test): Likewise.
11974 (hypot_test): Likewise.
11975 (ilogb_test): Likewise.
11976 (isfinite_test): Likewise.
11977 (finite_test): Likewise.
11978 (isgreater_test): Likewise.
11979 (isgreaterequal_test): Likewise.
11980 (isinf_test): Likewise.
11981 (isless_test): Likewise.
11982 (islessequal_test): Likewise.
11983 (islessgreater_test): Likewise.
11984 (isnan_test): Likewise.
11985 (isnormal_test): Likewise.
11986 (issignaling_test): Likewise.
11987 (isunordered_test): Likewise.
11988 (j0_test): Likewise.
11989 (j1_test): Likewise.
11990 (jn_test): Likewise.
11991 (ldexp_test): Likewise.
11992 (lgamma_test): Likewise.
11993 (gamma_test): Likewise.
11994 (lrint_test): Likewise.
11995 (lrint_test_tonearest): Likewise.
11996 (lrint_test_towardzero): Likewise.
11997 (lrint_test_downward): Likewise.
11998 (lrint_test_upward): Likewise.
11999 (llrint_test): Likewise.
12000 (llrint_test_tonearest): Likewise.
12001 (llrint_test_towardzero): Likewise.
12002 (llrint_test_downward): Likewise.
12003 (llrint_test_upward): Likewise.
12004 (log_test): Likewise.
12005 (log10_test): Likewise.
12006 (log1p_test): Likewise.
12007 (log2_test): Likewise.
12008 (logb_test): Likewise.
12009 (logb_test_downward): Likewise.
12010 (lround_test): Likewise.
12011 (llround_test): Likewise.
12012 (modf_test): Likewise.
12013 (nearbyint_test): Likewise.
12014 (nextafter_test): Likewise.
12015 (nexttoward_test): Likewise.
12016 (pow_test): Likewise.
12017 (pow_test_tonearest): Likewise.
12018 (pow_test_towardzero): Likewise.
12019 (pow_test_downward): Likewise.
12020 (pow_test_upward): Likewise.
12021 (remainder_test): Likewise.
12022 (drem_test): Likewise.
12023 (remainder_test_tonearest): Likewise.
12024 (drem_test_tonearest): Likewise.
12025 (remainder_test_towardzero): Likewise.
12026 (drem_test_towardzero): Likewise.
12027 (remainder_test_downward): Likewise.
12028 (drem_test_downward): Likewise.
12029 (remainder_test_upward): Likewise.
12030 (drem_test_upward): Likewise.
12031 (remquo_test): Likewise.
12032 (rint_test): Likewise.
12033 (rint_test_tonearest): Likewise.
12034 (rint_test_towardzero): Likewise.
12035 (rint_test_downward): Likewise.
12036 (rint_test_upward): Likewise.
12037 (round_test): Likewise.
12038 (scalb_test): Likewise.
12039 (scalbn_test): Likewise.
12040 (scalbln_test): Likewise.
12041 (signbit_test): Likewise.
12042 (sin_test): Likewise.
12043 (sin_test_tonearest): Likewise.
12044 (sin_test_towardzero): Likewise.
12045 (sin_test_downward): Likewise.
12046 (sin_test_upward): Likewise.
12047 (sincos_test): Likewise.
12048 (sinh_test): Likewise.
12049 (sinh_test_tonearest): Likewise.
12050 (sinh_test_towardzero): Likewise.
12051 (sinh_test_downward): Likewise.
12052 (sinh_test_upward): Likewise.
12053 (sqrt_test): Likewise.
12054 (sqrt_test_tonearest): Likewise.
12055 (sqrt_test_towardzero): Likewise.
12056 (sqrt_test_downward): Likewise.
12057 (sqrt_test_upward): Likewise.
12058 (tan_test): Likewise.
12059 (tan_test_tonearest): Likewise.
12060 (tan_test_towardzero): Likewise.
12061 (tan_test_downward): Likewise.
12062 (tan_test_upward): Likewise.
12063 (tanh_test): Likewise.
12064 (tgamma_test): Likewise.
12065 (trunc_test): Likewise.
12066 (y0_test): Likewise.
12067 (y1_test): Likewise.
12068 (yn_test): Likewise.
12069 (significand_test): Likewise.
12070
e6b6a857
JM
12071 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12072 individual tests in comment.
12073 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12074 (prev_max_error): New variable.
12075 (prev_real_max_error): Likewise.
12076 (prev_imag_max_error): Likewise.
12077 (compare_ulp_data): Don't refer to test names in comment.
12078 (find_test_ulps): Remove function.
12079 (find_function_ulps): Likewise.
12080 (find_complex_function_ulps): Likewise.
12081 (init_max_error): Take function name as argument. Look up ulps
12082 for that function.
12083 (print_ulps): Remove function.
12084 (print_max_error): Use prev_max_error instead of calling
12085 find_function_ulps.
12086 (print_complex_max_error): Use prev_real_max_error and
12087 prev_imag_max_error instead of calling find_complex_function_ulps.
12088 (check_float_internal): Take max_ulp parameter instead of calling
12089 find_test_ulps. Don't call print_ulps.
12090 (check_float): Update call to check_float_internal.
12091 (check_complex): Update calls to check_float_internal.
12092 (START): Pass argument to init_max_error.
12093 * math/gen-libm-test.pl (%results): Don't include "kind"
12094 information.
12095 (parse_ulps): Don't handle ulps of individual tests.
12096 (print_ulps_file): Likewise.
12097 (output_ulps): Likewise.
12098 * math/README.libm-test: Update.
12099 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12100 individual tests.
12101 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12102 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12103 * sysdeps/arm/libm-test-ulps: Likewise.
12104 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12105 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12106 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12107 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12108 * sysdeps/microblaze/libm-test-ulps: Likewise.
12109 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12110 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12111 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12112 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12113 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12114 * sysdeps/sh/libm-test-ulps: Likewise.
12115 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12116 * sysdeps/tile/libm-test-ulps: Likewise.
12117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12118
45adef3c
JM
121192014-03-04 Joseph Myers <joseph@codesourcery.com>
12120
12121 * math/libm-test.inc (print_complex_max_error): Check separately
12122 whether real and imaginary errors are within allowed range and
12123 pass 0 to print_complex_function_ulps instead of value within
12124 allowed range.
12125
000232b9
SP
121262014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12127
d4b17258
SP
12128 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12129 formatting.
12130 (get_handles_fopen): Likewise.
12131 (do_write_test): Likewise.
12132
091eff71
SP
12133 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12134
fa3cd248
SP
12135 * libio/fileops.c (do_ftell): Use cached offset when
12136 available.
12137 * libio/iofwide.c (do_ftell_wide): Likewise.
12138 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12139 _IO_file_attach.
12140 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12141
000232b9
SP
12142 [BZ #16532]
12143 * libio/libioP.h (get_file_offset): New function.
12144 * libio/fileops.c (get_file_offset): Likewise.
12145 (do_ftell): Likewise.
12146 (_IO_new_file_seekoff): Split out ftell logic.
12147 * libio/wfileops.c (do_ftell_wide): Likewise.
12148 (_IO_wfile_seekoff): Split out ftell logic.
12149 * libio/tst-ftell-active-handler.c: New test case.
12150 * libio/Makefile (tests): Add it.
12151
116f4d1a
RM
121522014-03-03 Roland McGrath <roland@hack.frob.com>
12153
12154 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12155 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12156
532a6035
SP
121572014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12158
12159 [BZ #16639]
12160 * nscd/connections.c (nscd_init): Call do_exit.
12161 (start_threads): Call do_exit and notify_parent.
12162 (begin_drop_privileges): Call do_exit.
12163 (finish_drop_privileges): Likewise.
12164 * nscd/selinux.c (preserve_capabilities): Likewise.
12165 (install_real_capabilities): Likewise.
12166 (nscd_selinux_enabled): Likewise.
12167 (avc_create_thread): Likewise.
12168 (avc_alloc_lock): Likewise.
12169 (nscd_avc_init): Likewise.
12170 * nscd/nscd.c (parent_fd): New static variable.
12171 (main): Create a pipe between parent and child processes.
12172 Skip closing parent_fd.
12173 (monitor_child): New function.
12174 (do_exit): Likewise.
12175 (notify_parent): Likewise.
12176 * nscd/nscd.h (notify_parent): Likewise.
12177 (do_exit): Likewise.
12178
d6285c9f
CD
121792014-03-03 Carlos O'Donell <carlos@redhat.com>
12180
12181 * malloc/malloc.c (__libc_calloc): Revert last change.
12182
2b85d2a0
AZ
121832014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12184
12185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12186
c7debbdf
RS
121872014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12188
12189 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12191 implementation.
12192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12193 (__libc_ifunc_impl_list): Likewise.
12194 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12195 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12196 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12197 * string/strrchr.c: Define STRRCHR.
12198
235eed86
OB
121992014-02-28 Ondřej Bílka <neleai@seznam.cz>
12200
12201 * benchtest/bench-strtok.c (simple_strtok): Delete.
12202 (strtok_string): Use as benchmark.
12203 * string/strtok (STRTOK): New macro.
12204
8e25d1e7
CD
122052014-02-28 Carlos O'Donell <carlos@redhat.com>
12206
ef563f92
CD
12207 * manual/threads.texi: Add header and standard comments to all
12208 functions.
12209
8e25d1e7
CD
12210 * elf/dl-lookup.c (check_match): New function.
12211 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12212 (do_lookup_x): Remove nested function check_match. Use non-nested
12213 function check_match.
12214
ff71cc37
RM
122152014-02-28 Roland McGrath <roland@hack.frob.com>
12216
f08e9a26
RM
12217 * csu/Makefile (generated, before-compile): Use += rather than =.
12218 * catgets/Makefile (generated, generated-dirs): Likewise.
12219 * debug/Makefile (generated): Likewise.
12220 * dlfcn/Makefile (generated): Likewise.
12221 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12222 * iconvdata/Makefile (before-compile, generated): Likewise.
12223 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12224 * libio/Makefile (generated): Likewise.
12225 * malloc/Makefile (generated): Likewise.
12226 * manual/Makefile (generated, generated-dirs): Likewise.
12227 * misc/Makefile (generated): Likewise.
12228 * posix/Makefile (generated): Likewise.
12229 * resolv/Makefile (generated): Likewise.
12230 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12231 * timezone/Makefile (generated, generated-dirs): Likewise.
12232
ff71cc37
RM
12233 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12234
fe13a20c
AZ
122352014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12236
57f41c40
AS
12237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12238 power8 implementation.
12239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12240 file: POWER8 llround ifunc implementation.
12241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12242 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
12243 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12244 POWER8 llround implementation.
12245
57f41c40
AS
12246 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12247 power8 implementation.
12248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12249 file: POWER8 llrint ifunc implementation.
12250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12251 Add POWER8 implementation.
1ad8950a
AZ
12252 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12253 POWER8 llrint implementation.
12254
57f41c40
AS
12255 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12256 power8 implementation.
12257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12258 file: POWER8 finite ifunc implementation.
12259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12260 Add POWER8 implementation.
cac626d6
AZ
12261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12262 Likewise.
12263 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12264 POWER8 finite implementation.
12265 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12266
57f41c40
AS
12267 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12268 power8 implementation.
12269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12270 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
12271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12272 POWER8 implementation.
12273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12274 Likewise.
57f41c40
AS
12275 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12276 isinf implementation.
4393fc11
AZ
12277 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12278
57f41c40
AS
12279 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12280 (INIT_ARCH): Add hwcap2 initialization.
12281 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12282 power8 implementation.
12283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12284 file: POWER8 isnan ifunc implementation.
487972ae
AZ
12285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12286 POWER8 implementation.
12287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12288 Likewise.
57f41c40
AS
12289 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12290 isnan implementation.
487972ae
AZ
12291 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12292
7d92b787
JY
122932014-02-27 Joey Ye <joey.ye@arm.com>
12294
12295 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12296 (_FP_NANFRAC_Q): Set to zero.
12297
1cadc858
SP
122982014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12299
12300 [BZ #16623]
12301 * math/auto-libm-test-in: New test inputs.
12302 * math/auto-libm-test-out: Regenerate.
12303 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12304 and DA.
12305 (__cos): Likewise.
12306 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12307
f8c17e79
JM
123082014-02-27 Joseph Myers <joseph@codesourcery.com>
12309
12310 * scripts/evaluate-test.sh: Take new argument indicating whether
12311 failure is expected.
12312 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12313 indicating whether failure is expected.
12314 * conform/Makefile (test-xfail-run-conformtest): New variable.
12315 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12316 level.
12317 * posix/Makefile (test-xfail-annexc): New variable.
12318 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12319
a5f891ac
JM
123202014-02-26 Joseph Myers <joseph@codesourcery.com>
12321
12322 * argp/Makefile: Include Makeconfig immediately after defining
12323 subdir.
12324 * assert/Makefile: Likewise.
12325 * benchtests/Makefile: Likewise.
12326 * catgets/Makefile: Likewise.
12327 * conform/Makefile: Likewise.
12328 * crypt/Makefile: Likewise.
12329 * csu/Makefile: Likewise.
12330 (all): Remove target.
12331 * ctype/Makefile: Include Makeconfig immediately after defining
12332 subdir.
12333 * debug/Makefile: Likewise.
12334 * dirent/Makefile: Likewise.
12335 * dlfcn/Makefile: Likewise.
12336 * gmon/Makefile: Likewise.
12337 * gnulib/Makefile: Likewise.
12338 * grp/Makefile: Likewise.
12339 * gshadow/Makefile: Likewise.
12340 * hesiod/Makefile: Likewise.
12341 * hurd/Makefile: Likewise.
12342 (all): Remove target.
12343 * iconvdata/Makefile: Include Makeconfig immediately after
12344 defining subdir.
12345 * inet/Makefile: Likewise.
12346 * intl/Makefile: Likewise.
12347 * io/Makefile: Likewise.
12348 * libio/Makefile: Likewise.
12349 (all): Remove target.
12350 * locale/Makefile: Include Makeconfig immediately after defining
12351 subdir.
12352 * login/Makefile: Likewise.
12353 * mach/Makefile: Likewise.
12354 (all): Remove target.
12355 * malloc/Makefile: Include Makeconfig immediately after defining
12356 subdir.
12357 (all): Remove target.
12358 * manual/Makefile: Include Makeconfig immediately after defining
12359 subdir.
12360 * math/Makefile: Likewise.
12361 * misc/Makefile: Likewise.
12362 * nis/Makefile: Likewise.
12363 * nss/Makefile: Likewise.
12364 * po/Makefile: Likewise.
12365 (all): Remove target.
12366 * posix/Makefile: Include Makeconfig immediately after defining
12367 subdir.
12368 * pwd/Makefile: Likewise.
12369 * resolv/Makefile: Likewise.
12370 * resource/Makefile: Likewise.
12371 * rt/Makefile: Likewise.
12372 * setjmp/Makefile: Likewise.
12373 * shadow/Makefile: Likewise.
12374 * signal/Makefile: Likewise.
12375 * socket/Makefile: Likewise.
12376 * soft-fp/Makefile: Likewise.
12377 * stdio-common/Makefile: Likewise.
12378 * stdlib/Makefile: Likewise.
12379 * streams/Makefile: Likewise.
12380 * string/Makefile: Likewise.
12381 * sunrpc/Makefile: Likewise.
12382 (all): Remove target.
12383 * sysvipc/Makefile: Include Makeconfig immediately after defining
12384 subdir.
12385 * termios/Makefile: Likewise.
12386 * time/Makefile: Likewise.
12387 * timezone/Makefile: Likewise.
12388 (all): Remove target.
12389 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12390 subdir.
12391 * wctype/Makefile: Likewise.
12392
5b456e9d
SE
123932014-02-26 Steve Ellcey <sellcey@mips.com>
12394
12395 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12396 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12397 (libc_feholdexcept_setround_mips): Ditto.
12398 (libc_feholdsetround): New.
12399 (libc_feholdsetroundf): New.
12400 (libc_feholdsetroundl): New.
12401 (libc_feupdateenv_test_mips): New.
12402 (libc_feupdateenv_test): New.
12403 (libc_feupdateenv_testf): New.
12404 (libc_feupdateenv_testl): New.
12405 (libc_feresetround): New.
12406 (libc_feresetroundf): New.
12407 (libc_feresetroundl): New.
12408 (libc_fetestexcept_mips): New.
12409 (libc_fetestexcept): New.
12410 (libc_fetestexceptf): New.
12411 (libc_fetestexceptl): New.
12412 (HAVE_RM_CTX): New.
12413 (libc_feholdexcept_setround_mips_ctx): New.
12414 (libc_feholdexcept_setround_ctx): New.
12415 (libc_feholdexcept_setroundf_ctx): New.
12416 (libc_feholdexcept_setroundl_ctx): New.
12417 (libc_fesetenv_mips_ctx): New.
12418 (libc_fesetenv_ctx): New.
12419 (libc_fesetenv_ctxf): New.
12420 (libc_fesetenv_ctxl): New.
12421 (libc_feupdateenv_mips_ctx): New.
12422 (libc_feupdateenv_ctx): New.
12423 (libc_feupdateenvf_ctx): New.
12424 (libc_feupdateenvl_ctx): New.
12425 (libc_feholdsetround_mips_ctx): New.
12426 (libc_feholdsetround_ctx): New.
12427 (libc_feholdsetroundf_ctx): New.
12428 (libc_feholdsetroundl_ctx): New.
12429 (libc_feresetround_mips_ctx): New.
12430 (libc_feresetround_ctx): New.
12431 (libc_feresetroundf_ctx): New.
12432 (libc_feresetroundl_ctx): New.
12433
085d0e35
CD
124342014-02-26 Carlos O'Donell <carlos@redhat.com>
12435
f067bf1f
CD
12436 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12437
085d0e35
CD
12438 * manual/ipc.texi: New file.
12439 * manual/Makefile (chapters): Add ipc.
12440 * manual/job.texi: Add "Inter-Process Communication" to next.
12441 * manual/process.texi: Add "Inter-Process Communication" to prev.
12442
86e58c08
AZ
124432014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12444
12445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12446
4248f0da
OB
124472014-02-26 Ondřej Bílka <neleai@seznam.cz>
12448
12449 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12450
cf822e3c
OB
12451 * manual/arith.texi: Fix spaces after sentences.
12452 * manual/charset.texi: Likewise.
12453 * manual/errno.texi: Likewise.
12454 * manual/install.texi: Likewise.
12455 * manual/llio.texi: Likewise.
12456 * manual/locale.texi: Likewise.
12457 * manual/maint.texi: Likewise.
12458 * manual/math.texi: Likewise.
12459 * manual/memory.texi: Likewise.
12460 * manual/message.texi: Likewise.
12461 * manual/probes.texi: Likewise.
12462 * manual/resource.texi: Likewise.
12463 * manual/signal.texi: Likewise.
12464 * manual/socket.texi: Likewise.
12465 * manual/stdio.texi: Likewise.
12466 * manual/string.texi: Likewise.
12467 * manual/time.texi: Likewise.
12468 * manual/users.texi: Likewise.
12469
ade40b10
CD
124702014-02-25 Carlos O'Donell <carlos@redhat.com>
12471
12472 [BZ #16632]
12473 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12474 _DEFAULT_SOURCE is defined.
12475
d0503676
CD
124762014-02-25 Ulrich Drepper <drepper@gmail.com>
12477 Carlos O'Donell <carlos@redhat.com>
12478
12479 [BZ #16613]
12480 * elf/dl-tls.c (_dl_count_modids): New function.
12481 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12482 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12483 audit library and increment generation counter.
12484 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12485 * elf/tst-audit9.c: New file.
12486 * elf/tst-auditmod9a.c: New file.
12487 * elf/tst-auditmod9b.c: New file.
12488 * elf/Makefile: Add rules to build and run tst-audit9.
12489
4cbf380c
FW
124902014-02-25 Florian Weimer <fweimer@redhat.com>
12491
12492 [BZ #15347]
12493 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12494
80a56cc3
WN
124952014-02-25 Will Newton <will.newton@linaro.org>
12496
12497 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12498 (__longjmp): Restore sp and lr before restoring callee
12499 saved registers. Add longjmp and longjmp_target
12500 SystemTap probe point.
12501 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12502 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12503 Define to zero to match jmpbuf layout.
12504 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12505 (__sigsetjmp): Save sp and lr before saving callee
12506 saved registers. Add setjmp SystemTap probe point.
12507
3ea0f74e
SL
125082014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12509
12510 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12511
b04acb26
AS
125122014-02-24 Andreas Schwab <schwab@suse.de>
12513
12514 [BZ #15804]
12515 * elf/pldd.c (wait_for_ptrace_stop): New function.
12516 (main): Call it after attaching.
12517
098ad55c
RM
125182014-02-22 Roland McGrath <roland@hack.frob.com>
12519
d4ec6ae1
RM
12520 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12521 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12522 Versions files is now verboten.
12523 * hurd/Versions (libc: GLIBC_2.0):
12524 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12525 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12526 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12527 * mach/Versions: Likewise.
12528
098ad55c
RM
12529 * csu/Versions: Remove unused %include.
12530 * resolv/Versions: Likewise.
12531
acd7f096
JM
125322014-02-21 Joseph Myers <joseph@codesourcery.com>
12533
f0881698
JM
12534 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12535 ($(objpfx)check-local-headers.out): Likewise.
12536 ($(objpfx)begin-end-check.out): Likewise.
12537 * Makerules (check-abi-%.out): Likewise.
12538 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12539 ($(objpfx)test2.cat): Likewise.
12540 ($(objpfx)de/libc.cat): Likewise.
12541 ($(objpfx)test-gencat.out): Likewise.
12542 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12543 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12544 ($(objpfx)noload-mem): Likewise.
12545 ($(objpfx)tst-pathopt.out): Likewise.
12546 ($(objpfx)tst-rtld-load-self.out): Likewise.
12547 ($(objpfx)tst-array1-cmp.out): Likewise.
12548 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12549 ($(objpfx)tst-array2-cmp.out): Likewise.
12550 ($(objpfx)tst-array3-cmp.out): Likewise.
12551 ($(objpfx)tst-array4-cmp.out): Likewise.
12552 ($(objpfx)tst-array5-cmp.out): Likewise.
12553 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12554 ($(objpfx)check-textrel.out): Likewise.
12555 ($(objpfx)check-execstack.out): Likewise.
12556 ($(objpfx)check-localplt.out): Likewise.
12557 ($(objpfx)order2-cmp.out): Likewise.
12558 ($(objpfx)tst-leaks1-mem): Likewise.
12559 ($(objpfx)tst-leaks1-static-mem): Likewise.
12560 ($(objpfx)tst-initorder-cmp.out): Likewise.
12561 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12562 ($(objpfx)tst-unused-dep.out): Likewise.
12563 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12564 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12565 * iconv/Makefile (test-iconvconfig): Likewise.
12566 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12567 ($(objpfx)iconv-test.out): Likewise.
12568 ($(objpfx)tst-tables.out): Likewise.
12569 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12570 ($(objpfx)tst-gettext.out): Likewise.
12571 ($(objpfx)tst-translit.out): Likewise.
12572 ($(objpfx)tst-gettext2.out): Likewise.
12573 ($(objpfx)tst-gettext4.out): Likewise.
12574 ($(objpfx)tst-gettext6.out): Likewise.
12575 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12576 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12577 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12578 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12579 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12580 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12581 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12582 ($(objpfx)wordexp-tst.out): Likewise.
12583 ($(objpfx)annexc.out): Likewise.
12584 ($(objpfx)tst-fnmatch-mem): Likewise.
12585 ($(objpfx)bug-regex2-mem): Likewise.
12586 ($(objpfx)bug-regex14-mem): Likewise.
12587 ($(objpfx)bug-regex21-mem): Likewise.
12588 ($(objpfx)bug-regex31-mem): Likewise.
12589 ($(objpfx)tst-vfork3-mem): Likewise.
12590 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12591 ($(objpfx)tst-pcre-mem): Likewise.
12592 ($(objpfx)tst-boost-mem): Likewise.
12593 ($(objpfx)tst-getconf.out): Likewise.
12594 ($(objpfx)bug-ga2-mem): Likewise.
12595 ($(objpfx)bug-glob2-mem): Likewise.
12596 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12597 ($(objpfx)mtrace-tst-leaks2): Likewise.
12598 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12599 ($(objpfx)tst-printf.out): Likewise.
12600 ($(objpfx)tst-setvbuf1.out): Likewise.
12601 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12602 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12603 ($(objpfx)tst-fmtmsg.out): Likewise.
12604 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12605 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12606
acd7f096
JM
12607 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12608 * bits/sigaction.h [__USE_MISC]: Likewise.
12609 * bits/waitstatus.h: Update #endif comments.
12610 * ctype/ctype.h: Likewise.
12611 * dirent/dirent.h: Likewise.
12612 [__USE_MISC]: Remove redundant conditionals.
12613 * grp/grp.h: Update #endif comments.
12614 [__USE_GNU]: Remove redundant conditionals.
12615 [__USE_MISC]: Likewise.
12616 * inet/netinet/in.h [__USE_GNU]: Likewise.
12617 * io/sys/stat.h [__USE_MISC]: Likewise.
12618 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12619 * libio/bits/stdio.h: Update #endif comments.
12620 [__USE_MISC]: Remove redundant conditionals.
12621 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12622 * libio/stdio.h: Update #endif comments.
12623 [__USE_MISC]: Remove redundant conditionals.
12624 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12625 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12626 * math/math.h: Update #else and #endif comments.
12627 [__USE_MISC]: Remove redundant conditionals.
12628 * misc/sys/uio.h: Update #endif comments.
12629 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12630 * posix/glob.h [__USE_MISC]: Likewise.
12631 * posix/sys/types.h: Update #endif comments.
12632 [__USE_MISC]: Remove redundant conditionals.
12633 * posix/sys/wait.h: Update #endif comments.
12634 [__USE_MISC]: Remove redundant conditionals.
12635 * posix/unistd.h: Update #endif comments.
12636 [__USE_MISC]: Remove redundant conditionals.
12637 * pwd/pwd.h [__USE_GNU]: Likewise.
12638 [__USE_MISC]: Likewise.
12639 * resolv/netdb.h [__USE_GNU]: Likewise.
12640 * signal/signal.h: Update #endif comments.
12641 [__USE_MISC]: Remove redundant conditionals.
12642 * stdlib/stdlib.h: Update #else and #endif comments.
12643 [__USE_MISC]: Remove redundant conditionals.
12644 [__USE_GNU]: Likewise.
12645 * string/bits/string2.h [__USE_MISC]: Likewise.
12646 * string/string.h: Update #endif comments.
12647 [__USE_MISC]: Remove redundant conditionals.
12648 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12649 Likewise.
12650 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12651 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12652 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12653 Likewise.
12654 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12655 Likewise.
12656 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12657 comments.
12658 [__USE_MISC]: Remove redundant conditionals.
12659 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12660 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12661 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12662 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12663 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12664 Likewise.
12665 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12666 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12667 Likewise.
12668 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12669 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12670 Likewise.
12671 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12672 Likewise.
12673 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12674 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12675 Likewise.
12676 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12677 Likewise.
12678 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12679 * sysdeps/x86/bits/string.h: Update #endif comments.
12680 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12681 conditionals.
12682 * time/sys/time.h: Update #endif comments.
12683 * time/time.h: Likewise.
12684 [__USE_MISC]: Remove redundant conditionals.
12685
a5d82e4e
YG
126862014-02-21 Yury Gribov <y.gribov@samsung.com>
12687
12688 [BZ #16600]
12689 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12690
9a80491d
AS
126912014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12692
12693 * Versions.def (librt): Add GLIBC_2.17.
12694
105fa381
AC
126952014-02-21 Adam Conrad <adconrad@0c3.net>
12696
12697 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12698 synonym for _SYS_AUXV_H to allow direct inclusion.
12699 * sysdeps/sparc/bits/hwcap.h: Likewise.
12700 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12701 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12702 * sysdeps/sparc/sysdep.h: Likewise.
12703
b8cd1c4e
SP
127042014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12705
12706 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12707
bd939d23
RS
127082014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12709
12710 * benchtests/bench-strrchr.c: Print length instead of position.
12711
5d7b57ca
JM
127122014-02-20 Joseph Myers <joseph@codesourcery.com>
12713
bc688c10
JM
12714 [BZ #16611]
12715 * sysdeps/unix/sysv/linux/kernel-features.h
12716 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12717 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12718 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12719 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12720 Likewise.
12721 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12722 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12723 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12724 (__ASSUME_SENDMMSG): Define instead of using previous
12725 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12726 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12727 (__ASSUME_SENDMMSG_SYSCALL): Define.
12728 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12729 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12730 Likewise.
12731 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12732 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12733 Likewise.
12734 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12735 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12736 Likewise.
12737 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12738 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12739 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12740 [__ASSUME_SENDMMSG]: Change conditionals to
12741 [__ASSUME_SENDMMSG_SOCKETCALL].
12742 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12743 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12744 Define.
12745 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12746 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12747 Likewise.
12748 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12749 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12750 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12751 [!__ASSUME_SENDMMSG]: Change conditional to
12752 [!__ASSUME_SENDMMSG_SOCKETCALL].
12753 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12754 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12755 Define.
12756
0e31b18c
JM
12757 [BZ #16610]
12758 * sysdeps/unix/sysv/linux/kernel-features.h
12759 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12760 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12761 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12762 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12763 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12764 [__i386__ || __sparc__]
12765 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12766 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12767 (__ASSUME_RECVMMSG): Define instead of using previous
12768 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12769 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12770 (__ASSUME_RECVMMSG_SYSCALL): Define.
12771 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12772 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12773 Likewise.
12774 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12775 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12776 Likewise.
12777 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12778 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12779 Likewise.
12780 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12781 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12782 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12783 [__ASSUME_RECVMMSG]: Change condition to
12784 [__ASSUME_RECVMMSG_SOCKETCALL].
12785 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12786 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12787 Define.
12788 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12789 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12790 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12791 Likewise.
12792 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12793 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12794 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12795 [!__ASSUME_RECVMMSG]: Change condition to
12796 [!__ASSUME_RECVMMSG_SOCKETCALL].
12797 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12798 (__ASSUME_RECVMMSG_SYSCALL): Define.
12799
dd481ccf
JM
12800 [BZ #16609]
12801 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12802 __powerpc__ || __s390__ || __sh__ || __sparc__]
12803 (__ASSUME_SOCKETCALL): Define.
12804 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12805 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12806 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12807 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12808 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12809 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12810 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12811 (__ASSUME_ACCEPT4): Define instead of using previous
12812 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12813 __powerpc__ || __sparc__ || __s390__)] condition.
12814 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12815 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12816 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12817 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12818 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12819 [!__ASSUME_ACCEPT4]: Change condition to
12820 [!__ASSUME_ACCEPT4_SOCKETCALL].
12821 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12822 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12823 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12824 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12825 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12826 __ASSUME_ACCEPT4_SYSCALL.
12827 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12828 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12829 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12830 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12831 __ASSUME_ACCEPT4_SYSCALL.
12832 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12833 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12834 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12835 [__ASSUME_ACCEPT4]: Change condition to
12836 [__ASSUME_ACCEPT4_SOCKETCALL].
12837 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12838 (__ASSUME_SOCKETCALL): Define.
12839 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12840 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12841 (__ASSUME_SOCKETCALL): Define.
12842 (__ASSUME_ACCEPT4): Remove.
12843 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12844 Define.
12845 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12846 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12847 Likewise.
12848 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12849 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12850
5d7b57ca
JM
12851 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12852 macro.
12853 (HWCAP_ARM_LPAE): Likewise.
12854 (HWCAP_ARM_EVTSTRM): Likewise.
12855 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12856 Add vpfd32, lpae and evtstrm.
12857 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12858 Increase to 22.
12859
63689d61
JM
128602014-02-19 Joseph Myers <joseph@codesourcery.com>
12861
12862 * math/auto-libm-test-in: Add tests of clog10.
12863 * math/auto-libm-test-out: Regenerated.
12864 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12865 * sysdeps/i386/fpu/libm-test-ulps: Update.
12866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12867
ab09bf61
AS
128682014-02-18 Andreas Schwab <schwab@suse.de>
12869
12870 [BZ #16574]
12871 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12872 Store non-zero if the second buffer was newly allocated.
12873 (send_dg): Likewise.
12874 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12875 to send_vc and send_dg.
12876 (res_nsend): Pass NULL for ansp2_malloced.
12877 * resolv/res_query.c (__libc_res_nquery): Add parameter
12878 answerp2_malloced and pass it down to __libc_res_nsend.
12879 (res_nquery): Pass additional NULL to __libc_res_nquery.
12880 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12881 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12882 second answer buffer if answerp2_malloced was set.
12883 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12884 (__libc_res_nquerydomain): Add parameter
12885 answerp2_malloced and pass it down to __libc_res_nquery.
12886 (res_nquerydomain): Pass additional NULL to
12887 __libc_res_nquerydomain.
12888 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12889 additional NULL to __libc_res_nsend and __libc_res_nquery.
12890 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12891 additional NULL to __libc_res_nsearch.
12892 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12893 parameter of __libc_res_nsearch to check for separately allocated
12894 second buffer.
12895 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12896 __libc_res_nquery.
12897 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12898 additional NULL to __libc_res_nquery.
12899 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12900 __libc_res_nsearch.
12901 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12902 * include/resolv.h: Update prototypes of __libc_res_nquery,
12903 __libc_res_nsearch, __libc_res_nsend.
12904
a4fb7861
JM
129052014-02-18 Joseph Myers <joseph@codesourcery.com>
12906
c6af2d89
JM
12907 * math/auto-libm-test-in: Add tests of fma.
12908 * math/auto-libm-test-out: Regenerated.
12909 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12910 (fma_towardzero_test_data): Likewise.
12911 (fma_downward_test_data): Likewise.
12912 (fma_upward_test_data): Likewise.
12913 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12914 mpc_mode.
12915 (rounding_modes): Add values for new field.
12916 (func_calc_method): Add value mpfr_fff_f.
12917 (func_calc_desc): Add mpfr_fff_f union field.
12918 (test_function): Add field exact_args.
12919 (FUNC): Add macro argument EXACT_ARGS.
12920 (FUNC_mpfr_f_f): Update call to FUNC.
12921 (FUNC_mpfr_f_f): Likewise.
12922 (FUNC_mpfr_ff_f): Likewise.
12923 (FUNC_mpfr_if_f): Likewise.
12924 (FUNC_mpc_c_f): Likewise.
12925 (FUNC_mpc_c_c): Likewise.
12926 (test_functions): Add fma. Update calls to FUNC.
12927 (handle_input_arg): Add argument exact_args.
12928 (add_test): Update call to handle_input_arg.
12929 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12930 (output_for_one_input_case): Update call to calc_generic_results.
12931 Recalculate exact zero results in each rounding mode.
12932
a4fb7861
JM
12933 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12934 non-negative before setting low bit.
12935 * math/auto-libm-test-in: Mark one asin test possibly having
12936 spurious underflow.
12937 * math/auto-libm-test-out: Regenerated.
12938 * sysdeps/i386/fpu/libm-test-ulps: Update.
12939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12940
ef114eaf
DH
129412014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12942
2b7f4f2c
SP
12943 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12944 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12945 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
12946 * README: Add missing listing for microblaze*-*-linux-gnu.
12947
8125aedc
AM
129482014-02-16 Ondřej Bílka <neleai@seznam.cz>
12949
12950 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12951 duplicate code
12952
c70a4b1d
MF
129532014-02-16 Mike Frysinger <vapier@gentoo.org>
12954
12955 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12956 * sysdeps/unix/sysv/linux/ia64: Move directory from
12957 ports/sysdeps/unix/sysv/linux/ia64.
12958 * README: Update listing for ia64-*-linux-gnu.
12959
591aeaf7
TD
129602014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12961 Joseph Myers <joseph@codesourcery.com>
12962
12963 * Makeconfig (test-name): New variable.
12964 (evaluate-test): Likewise.
12965 * Makerules (do-test-clean): Remove .test-result files.
12966 (common-mostlyclean): Likewise.
12967 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12968 * scripts/evaluate-test.sh: New file.
12969
6e89caf1
JM
129702014-02-14 Joseph Myers <joseph@codesourcery.com>
12971
7f98f180
JM
12972 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12973 separate $(objpfx)tst-fopenloc-cmp.out and
12974 $(objpfx)tst-fopenloc-mem.out targets.
12975 (tests): Update dependencies.
12976 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12977 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12978 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12979 (tst-rxspencer-no-utf8-ARGS): New variable.
12980 (tst-rxspencer-no-utf8-ENV): Likewise.
12981 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12982 instead of $(objpfx)tst-rxspencer-mem.
12983 ($(objpfx)tst-rxspencer-mem): Change target to
12984 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12985 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12986 * posix/tst-rxspencer-no-utf8.c: New file.
12987
6e89caf1
JM
12988 * elf/Makefile ($(objpfx)order.out): Remove rule.
12989 [$(run-built-tests) = yes] (tests): Depend on
12990 $(objpfx)order-cmp.out.
12991 ($(objpfx)order-cmp.out): New rule.
12992 [$(run-built-tests) = yes] (tests): Depend on
12993 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12994 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12995 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12996 $(objpfx)tst-array5-static-cmp.out.
12997 ($(objpfx)tst-array1.out): Remove rule.
12998 ($(objpfx)tst-array1-cmp.out): New rule.
12999 ($(objpfx)tst-array1-static.out): Remove rule.
13000 ($(objpfx)tst-array1-static-cmp.out): New rule.
13001 ($(objpfx)tst-array2.out): Remove rule.
13002 ($(objpfx)tst-array2-cmp.out): New rule.
13003 ($(objpfx)tst-array3.out): Remove rule.
13004 ($(objpfx)tst-array3-cmp.out): New rule.
13005 ($(objpfx)tst-array4.out): Remove rule.
13006 ($(objpfx)tst-array4-cmp.out): New rule.
13007 ($(objpfx)tst-array5.out): Remove rule.
13008 ($(objpfx)tst-array5-cmp.out): New rule.
13009 ($(objpfx)tst-array5-static.out): Remove rule.
13010 ($(objpfx)tst-array5-static-cmp.out): New rule.
13011 [$(run-built-tests) = yes] (tests): Depend on
13012 $(objpfx)order2-cmp.out.
13013 ($(objpfx)order2.out): Remove rule.
13014 ($(objpfx)order2-cmp.out): New rule.
13015 ($(objpfx)tst-initorder.out): Remove rule.
13016 [$(run-built-tests) = yes] (tests): Depend on
13017 $(objpfx)tst-initorder-cmp.out.
13018 ($(objpfx)tst-initorder-cmp.out): New rule.
13019 ($(objpfx)tst-initorder2.out): Remove rule.
13020 [$(run-built-tests) = yes] (tests): Depend on
13021 $(objpfx)tst-initorder2-cmp.out.
13022 ($(objpfx)tst-initorder2-cmp.out): New rule.
13023 [$(run-built-tests) = yes] (tests): Depend on
13024 $(objpfx)tst-unused-dep-cmp.out.
13025 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13026 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13027 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13028 on $(objpfx)tst-setvbuf1-cmp.out.
13029 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13030 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13031 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13032 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13033 ($(objpfx)tst-svc.out): Remove rule.
13034 ($(objpfx)tst-svc-cmp.out): New rule.
13035
ed9a38e2
JM
130362014-02-13 Joseph Myers <joseph@codesourcery.com>
13037
13038 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13039 * ctype/ctype.h [__USE_MISC]: Likewise.
13040 * dirent/dirent.h [__USE_MISC]: Likewise.
13041 * grp/grp.h [__USE_MISC]: Likewise.
13042 * io/fcntl.h [__USE_MISC]: Likewise.
13043 * io/sys/stat.h [__USE_MISC]: Likewise.
13044 * libio/stdio.h [__USE_MISC]: Likewise.
13045 * posix/unistd.h [__USE_MISC]: Likewise.
13046 * pwd/pwd.h [__USE_MISC]: Likewise.
13047 * stdlib.h [__USE_MISC]: Likewise.
13048 * string/bits/string2.h [__USE_MISC]: Likewise.
13049 * string/string.h [__USE_MISC]: Likewise.
13050 * time/time.h [__USE_MISC]: Likewise.
13051
d6680619
AS
130522014-02-13 Andreas Schwab <schwab@suse.de>
13053
13054 [BZ #16574]
13055 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13056 second answer buffer if it was separately allocated.
13057
ace614b8
JM
130582014-02-12 Joseph Myers <joseph@codesourcery.com>
13059
743151ae
JM
13060 * sysdeps/mips/math-tests.h: Include <features.h>.
13061 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13062 (ROUNDING_TESTS_long_double): Do not define.
13063 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13064 (EXCEPTION_TESTS_long_double): Likewise.
13065 * sysdeps/mips/mips64/libm-test-ulps: Update.
13066
498afc54
JM
13067 * include/features.h (__USE_BSD): Remove macro definitions.
13068 (__USE_SVID): Likewise.
13069 (_BSD_SOURCE): Likewise.
13070 (_SVID_SOURCE): Likewise.
13071 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13072 from definition of _DEFAULT_SOURCE.
13073 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13074 [_DEFAULT_SOURCE].
13075 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13076 * bits/mman.h [__USE_BSD]: Likewise.
13077 * bits/termios.h [__USE_BSD]: Likewise.
13078 * bits/waitstatus.h [__USE_BSD]: Likewise.
13079 * ctype/ctype.h [__USE_SVID]: Likewise.
13080 * dirent/dirent.h [__USE_BSD]: Likewise.
13081 * grp/grp.h [__USE_SVID]: Likewise.
13082 [__USE_BSD]: Likewise.
13083 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13084 * io/fcntl.h [__USE_BSD]: Likewise.
13085 * io/ftw.h [__USE_BSD]: Likewise.
13086 * io/sys/stat.h [__USE_BSD]: Likewise.
13087 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13088 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13089 * libio/stdio.h [__USE_SVID]: Likewise.
13090 [__USE_BSD]: Likewise.
13091 * math/math.h [__USE_SVID]: Likewise.
13092 [__USE_BSD]: Likewise.
13093 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13094 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13095 * misc/search.h [__USE_SVID]: Likewise.
13096 * misc/sys/mman.h [__USE_BSD]: Likewise.
13097 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13098 * misc/sys/uio.h [__USE_BSD]: Likewise.
13099 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13100 * posix/glob.h [__USE_BSD]: Likewise.
13101 * posix/regex.h [__USE_BSD]: Likewise.
13102 * posix/sys/types.h [__USE_BSD]: Likewise.
13103 [__USE_SVID]: Likewise.
13104 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13105 * posix/sys/wait.h [__USE_BSD]: Likewise.
13106 [__USE_SVID]: Likewise.
13107 * posix/unistd.h [__USE_BSD]: Likewise.
13108 [__USE_SVID]: Likewise.
13109 * pwd/pwd.h [__USE_SVID]: Likewise.
13110 * resolv/netdb.h [__USE_BSD]: Likewise.
13111 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13112 * signal/signal.h [__USE_BSD]: Likewise.
13113 [__USE_SVID]: Likewise.
13114 * socket/sys/socket.h [__USE_BSD]: Likewise.
13115 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13116 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13117 [__USE_SVID]: Likewise.
13118 * string/bits/string2.h [__USE_BSD]: Likewise.
13119 [__USE_SVID]: Likewise.
13120 * string/bits/string3.h [__USE_BSD]: Likewise.
13121 * string/endian.h [__USE_BSD]: Likewise.
13122 * string/string.h [__USE_SVID]: Likewise.
13123 [__USE_BSD]: Likewise.
13124 * string/strings.h [__USE_BSD]: Likewise.
13125 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13126 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13127 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13128 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13129 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13130 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13131 Likewise.
13132 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13133 Likewise.
13134 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13135 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13136 Likewise.
13137 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13138 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13139 Likewise.
13140 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13141 Likewise.
13142 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13143 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13144 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13145 Likewise.
13146 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13147 Likewise.
13148 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13149 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13150 * termios/termios.h [__USE_BSD]: Likewise.
13151 * time/sys/time.h [__USE_BSD]: Likewise.
13152 * time/time.h [__USE_BSD]: Likewise.
13153 [__USE_SVID]: Likewise.
13154
dd7b064c
JM
13155 * Makefile (subdir_targets): Remove subdir_lint.out.
13156
a2c4c199
JM
13157 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13158 (do-tst-printf): Likewise.
13159 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13160 $(objpfx)tst-printf.out.
13161
8756f740
JM
13162 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13163
1b6dd3f1
JM
13164 * Makerules (check-abi-%): Change target to
13165 $(objpfx)check-abi-%.out.
13166 (check-abi target): Update dependencies.
13167 (check-abi-pattern variable): Redirect output of diff to $@.
13168 (check-abi variable): Likewise.
13169 * elf/Makefile (check-abi): Update dependencies.
13170
ace614b8
JM
13171 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13172 unused.
13173 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13174 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13175 subnormal range.
13176 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13177 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13178 value has largest subnormal exponent.
13179 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13180 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13181 * sysdeps/aarch64/soft-fp/sfp-machine.h
13182 (_FP_TININESS_AFTER_ROUNDING): New macro.
13183 * sysdeps/alpha/soft-fp/sfp-machine.h
13184 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13185 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13186 Likewise.
13187 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13188 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13189 * sysdeps/mips/soft-fp/sfp-machine.h
13190 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13191 * sysdeps/powerpc/soft-fp/sfp-machine.h
13192 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13193 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13194 Likewise.
13195 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13196 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13197 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13198 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13199 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13200 Likewise.
13201
fbfdf9cb
DAS
132022014-02-12 Dylan Alex Simon <dylan@dylex.net>
13203
13204 [BZ #16545]
13205 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13206 model 1.
13207
68b7efaa
RH
132082014-02-12 Richard Henderson <rth@redhat.com>
13209
c70a4b1d 13210 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
13211 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13212 * sysdeps/unix/sysv/linux/alpha: Move directory from
13213 ports/sysdeps/unix/sysv/linux/alpha.
13214 * README: Update listing for alpha-*-linux-gnu.
13215
cb4a2928
JM
132162014-02-11 Joseph Myers <joseph@codesourcery.com>
13217
c941736c
JM
13218 * include/features.h: Update comment documenting feature test
13219 macros.
13220 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13221 _DEFAULT_SOURCE.
13222 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13223 (_SVID_SOURCE): Likewise.
13224 (_DEFAULT_SOURCE): Update description of default features.
13225 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13226 with _GNU_SOURCE.
13227 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13228 (S_ISVTX): Likewise.
13229 * manual/math.texi (Mathematical Constants): Likewise.
13230 * manual/signal.texi (Interrupted Primitives): Likewise.
13231 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13232 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13233 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13234 Don't refer to _SVID_SOURCE in warning text.
13235
e8d8d7ec
JM
13236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13237
cb4a2928
JM
13238 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13239 already defined.
13240 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13241 * sysdeps/mips/dl-lookup.c: Remove.
13242 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13243
7e6424e3
AK
132442014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13245
13246 [BZ #16447]
13247 * math/auto-libm-test-in: Add testcase for expl.
13248 * math/auto-libm-test-out: Regenerate.
13249 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13250 calculation of unsafe.
13251 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13252
75eff3fe
MS
132532014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13254
13255 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13256 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13257 ports/sysdeps/unix/sysv/linux/aarch64.
13258 * README: Update listing for aarch64*-*-linux-gnu.
13259
d35f1e80
WN
132602014-02-11 Will Newton <will.newton@linaro.org>
13261
13262 * manual/probes.texi (Mathematical Function Probes): Use
13263 "triggered" instead of "hit".
13264
7b3436d4
WN
13265 * manual/probes.texi (Internal Probes): Add documentation
13266 of setjmp, longjmp and longjmp_target probes.
13267
b4f12ca3
WN
13268 * include/stap-probe.h: Add comment about probe argument
13269 format.
13270
c13a72b7
WN
13271 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13272 definition. (tr_where, tr_freehook, tr_mallochook,
13273 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13274
195b8165
DM
132752014-02-11 David S. Miller <davem@davemloft.net>
13276
13277 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13278 processing int_tests.
13279
2ad7600b
JM
132802014-02-10 Joseph Myers <joseph@codesourcery.com>
13281
13282 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13283 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13284 * sysdeps/unix/sysv/linux/mips: Move directory from
13285 ports/sysdeps/unix/sysv/linux/mips.
13286 * README: Update listing for mips-*-linux-gnu and
13287 mips64-*-linux-gnu.
13288
73588a72
AS
132892014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13290
13291 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13292 * sysdeps/unix/sysv/linux/m68k: Move directory from
13293 ports/sysdeps/unix/sysv/linux/m68k.
13294 * README: Update listing for m68k-*-linux-gnu.
13295
4372980f
CM
132962014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13297
13298 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13299 * sysdeps/unix/sysv/linux/generic: Move directory from
13300 ports/sysdeps/unix/sysv/linux/generic.
13301 * sysdeps/unix/sysv/linux/tile: Move directory from
13302 ports/sysdeps/unix/sysv/linux/tile.
13303 * README: Update listing for tile*-*-linux-gnu.
13304
a1ffb40e
OB
133052014-02-10 Ondřej Bílka <neleai@seznam.cz>
13306
57f41c40
AS
13307 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13308 __builtin_expect.
a1ffb40e
OB
13309 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13310 * catgets/open_catalog.c (__open_catalog): Likewise.
13311 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13312 * debug/confstr_chk.c: Likewise.
13313 * debug/fread_chk.c (__fread_chk): Likewise.
13314 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13315 * debug/getgroups_chk.c: Likewise.
13316 * debug/mbsnrtowcs_chk.c: Likewise.
13317 * debug/mbsrtowcs_chk.c: Likewise.
13318 * debug/mbstowcs_chk.c: Likewise.
13319 * debug/memcpy_chk.c: Likewise.
13320 * debug/memmove_chk.c: Likewise.
13321 * debug/mempcpy_chk.c: Likewise.
13322 * debug/memset_chk.c: Likewise.
13323 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13324 * debug/strcat_chk.c (__strcat_chk): Likewise.
13325 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13326 * debug/strncat_chk.c (__strncat_chk): Likewise.
13327 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13328 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13329 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13330 * debug/wcpncpy_chk.c: Likewise.
13331 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13332 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13333 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13334 * debug/wcsncpy_chk.c: Likewise.
13335 * debug/wcsnrtombs_chk.c: Likewise.
13336 * debug/wcsrtombs_chk.c: Likewise.
13337 * debug/wcstombs_chk.c: Likewise.
13338 * debug/wmemcpy_chk.c: Likewise.
13339 * debug/wmemmove_chk.c: Likewise.
13340 * debug/wmempcpy_chk.c: Likewise.
13341 * debug/wmemset_chk.c: Likewise.
13342 * dirent/scandirat.c (SCANDIRAT): Likewise.
13343 * dlfcn/dladdr1.c (dladdr1): Likewise.
13344 * dlfcn/dladdr.c (dladdr): Likewise.
13345 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13346 * dlfcn/dlerror.c (__dlerror): Likewise.
13347 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13348 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13349 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13350 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13351 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13352 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13353 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13354 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13355 Likewise.
13356 * elf/dl-conflict.c: Likewise.
13357 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13358 * elf/dl-dst.h: Likewise.
13359 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13360 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13361 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13362 * elf/dl-init.c (call_init, _dl_init): Likewise.
13363 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
13364 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13365 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13366 Likewise.
a1ffb40e
OB
13367 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13368 Likewise.
13369 * elf/dl-minimal.c (__libc_memalign): Likewise.
13370 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13371 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13372 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13373 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
13374 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13375 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
13376 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13377 * elf/dl-writev.h (_dl_writev): Likewise.
13378 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
13379 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13380 (dl_main): Likewise.
a1ffb40e
OB
13381 * elf/setup-vdso.h (setup_vdso): Likewise.
13382 * grp/compat-initgroups.c (compat_call): Likewise.
13383 * grp/fgetgrent.c (fgetgrent): Likewise.
13384 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13385 * grp/putgrent.c (putgrent): Likewise.
13386 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13387 Likewise.
13388 * hurd/hurdinit.c: Likewise.
13389 * iconvdata/8bit-gap.c (struct): Likewise.
13390 * iconvdata/ansi_x3.110.c : Likewise.
13391 * iconvdata/big5.c : Likewise.
13392 * iconvdata/big5hkscs.c : Likewise.
13393 * iconvdata/cp1255.c: Likewise.
13394 * iconvdata/cp1258.c : Likewise.
13395 * iconvdata/cp932.c : Likewise.
13396 * iconvdata/euc-cn.c: Likewise.
13397 * iconvdata/euc-jisx0213.c : Likewise.
13398 * iconvdata/euc-jp.c: Likewise.
13399 * iconvdata/euc-jp-ms.c : Likewise.
13400 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13401 * iconvdata/gb18030.c : Likewise.
13402 * iconvdata/gbbig5.c (const): Likewise.
13403 * iconvdata/gbgbk.c: Likewise.
13404 * iconvdata/gbk.c : Likewise.
13405 * iconvdata/ibm1364.c : Likewise.
13406 * iconvdata/ibm930.c : Likewise.
13407 * iconvdata/ibm932.c: Likewise.
13408 * iconvdata/ibm933.c : Likewise.
13409 * iconvdata/ibm935.c : Likewise.
13410 * iconvdata/ibm937.c : Likewise.
13411 * iconvdata/ibm939.c : Likewise.
13412 * iconvdata/ibm943.c: Likewise.
13413 * iconvdata/iso_11548-1.c: Likewise.
13414 * iconvdata/iso-2022-cn.c : Likewise.
13415 * iconvdata/iso-2022-cn-ext.c : Likewise.
13416 * iconvdata/iso-2022-jp-3.c: Likewise.
13417 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13418 * iconvdata/iso-2022-kr.c : Likewise.
13419 * iconvdata/iso646.c (gconv_end): Likewise.
13420 * iconvdata/iso_6937-2.c : Likewise.
13421 * iconvdata/iso_6937.c : Likewise.
13422 * iconvdata/iso8859-1.c: Likewise.
13423 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13424 * iconvdata/shift_jisx0213.c : Likewise.
13425 * iconvdata/sjis.c : Likewise.
13426 * iconvdata/t.61.c : Likewise.
13427 * iconvdata/tcvn5712-1.c : Likewise.
13428 * iconvdata/tscii.c: Likewise.
13429 * iconvdata/uhc.c : Likewise.
13430 * iconvdata/unicode.c (gconv_end): Likewise.
13431 * iconvdata/utf-16.c (gconv_end): Likewise.
13432 * iconvdata/utf-32.c (gconv_end): Likewise.
13433 * iconvdata/utf-7.c (base64): Likewise.
13434 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13435 * iconv/gconv_close.c (__gconv_close): Likewise.
13436 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
13437 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13438 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13439 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13440 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13441 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
13442 * iconv/iconv.c (iconv): Likewise.
13443 * iconv/iconv_close.c: Likewise.
13444 * iconv/loop.c (SINGLE): Likewise.
13445 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13446 * include/atomic.h: Likewise.
13447 * inet/inet6_option.c (option_alloc): Likewise.
13448 * intl/bindtextdom.c (set_binding_values): Likewise.
13449 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13450 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13451 * intl/localealias.c (read_alias_file): Likewise.
13452 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
13453 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13454 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
13455 * libio/fmemopen.c (fmemopen): Likewise.
13456 * libio/iofgets.c (_IO_fgets): Likewise.
13457 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13458 * libio/iofgetws.c (fgetws): Likewise.
13459 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13460 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
13461 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13462 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
13463 * locale/findlocale.c (_nl_find_locale): Likewise.
13464 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13465 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13466 Likewise.
13467 * locale/setlocale.c (setlocale): Likewise.
13468 * login/programs/pt_chown.c (main): Likewise.
13469 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13470 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
13471 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13472 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
13473 * math/e_exp2l.c: Likewise.
13474 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13475 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13476 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13477 * math/s_catan.c (__catan): Likewise.
13478 * math/s_catanf.c (__catanf): Likewise.
13479 * math/s_catanh.c (__catanh): Likewise.
13480 * math/s_catanhf.c (__catanhf): Likewise.
13481 * math/s_catanhl.c (__catanhl): Likewise.
13482 * math/s_catanl.c (__catanl): Likewise.
13483 * math/s_ccosh.c (__ccosh): Likewise.
13484 * math/s_ccoshf.c (__ccoshf): Likewise.
13485 * math/s_ccoshl.c (__ccoshl): Likewise.
13486 * math/s_cexp.c (__cexp): Likewise.
13487 * math/s_cexpf.c (__cexpf): Likewise.
13488 * math/s_cexpl.c (__cexpl): Likewise.
13489 * math/s_clog10.c (__clog10): Likewise.
13490 * math/s_clog10f.c (__clog10f): Likewise.
13491 * math/s_clog10l.c (__clog10l): Likewise.
13492 * math/s_clog.c (__clog): Likewise.
13493 * math/s_clogf.c (__clogf): Likewise.
13494 * math/s_clogl.c (__clogl): Likewise.
13495 * math/s_csin.c (__csin): Likewise.
13496 * math/s_csinf.c (__csinf): Likewise.
13497 * math/s_csinh.c (__csinh): Likewise.
13498 * math/s_csinhf.c (__csinhf): Likewise.
13499 * math/s_csinhl.c (__csinhl): Likewise.
13500 * math/s_csinl.c (__csinl): Likewise.
13501 * math/s_csqrt.c (__csqrt): Likewise.
13502 * math/s_csqrtf.c (__csqrtf): Likewise.
13503 * math/s_csqrtl.c (__csqrtl): Likewise.
13504 * math/s_ctan.c (__ctan): Likewise.
13505 * math/s_ctanf.c (__ctanf): Likewise.
13506 * math/s_ctanh.c (__ctanh): Likewise.
13507 * math/s_ctanhf.c (__ctanhf): Likewise.
13508 * math/s_ctanhl.c (__ctanhl): Likewise.
13509 * math/s_ctanl.c (__ctanl): Likewise.
13510 * math/w_pow.c: Likewise.
13511 * math/w_powf.c: Likewise.
13512 * math/w_powl.c: Likewise.
13513 * math/w_scalb.c (sysv_scalb): Likewise.
13514 * math/w_scalbf.c (sysv_scalbf): Likewise.
13515 * math/w_scalbl.c (sysv_scalbl): Likewise.
13516 * misc/error.c (error_tail): Likewise.
13517 * misc/pselect.c (__pselect): Likewise.
13518 * nis/nis_callback.c (__nis_create_callback): Likewise.
13519 * nis/nis_call.c (__nisfind_server): Likewise.
13520 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13521 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13522 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13523 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13524 * nis/nis_lookup.c (nis_lookup): Likewise.
13525 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
13526 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13527 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 13528 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
13529 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13530 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13531 * nis/nss_compat/compat-initgroups.c (add_group)
13532 (internal_getgrent_r): Likewise.
13533 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13534 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13535 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13536 (internal_getspnam_r): Likewise.
13537 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13538 (_nss_nis_getaliasbyname_r): Likewise.
13539 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13540 (_nss_nis_getntohost_r): Likewise.
13541 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13542 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13543 (_nss_nis_getgrgid_r): Likewise.
13544 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13545 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13546 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13547 (_nss_nis_gethostbyname4_r): Likewise.
13548 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13549 (initgroups_netid): Likewise.
a1ffb40e 13550 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13551 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13552 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13553 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13554 (_nss_nis_getprotobynumber_r): Likewise.
13555 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13556 (_nss_nis_getsecretkey): Likewise.
13557 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13558 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13559 (_nss_nis_getpwuid_r): Likewise.
13560 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13561 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13562 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13563 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13564 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13565 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13566 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13567 Likewise.
57f41c40
AS
13568 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13569 (_nss_nisplus_getntohost_r): Likewise.
13570 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13571 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13572 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13573 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13574 Likewise.
57f41c40
AS
13575 * nis/nss_nisplus/nisplus-initgroups.c
13576 (_nss_nisplus_initgroups_dyn): Likewise.
13577 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13578 (_nss_nisplus_getnetbyaddr_r): Likewise.
13579 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13580 (_nss_nisplus_getprotobynumber_r): Likewise.
13581 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13582 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13583 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13584 Likewise.
57f41c40
AS
13585 * nis/nss_nisplus/nisplus-service.c
13586 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13587 (_nss_nisplus_getservbyport_r): Likewise.
13588 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13589 (_nss_nisplus_getspnam_r): Likewise.
13590 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13591 Likewise.
a1ffb40e
OB
13592 * nscd/aicache.c (addhstaiX): Likewise.
13593 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13594 * nscd/connections.c (register_traced_file, send_ro_fd)
13595 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13596 (main_loop_epoll): Likewise.
a1ffb40e
OB
13597 * nscd/grpcache.c (addgrbyX): Likewise.
13598 * nscd/hstcache.c (addhstbyX): Likewise.
13599 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13600 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13601 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13602 (addinnetgrX): Likewise.
13603 * nscd/nscd-client.h (__nscd_acquire_maplock)
13604 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13605 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13606 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13607 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13608 Likewise.
13609 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13610 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13611 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13612 (__nscd_get_map_ref): Likewise.
a1ffb40e 13613 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13614 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13615 Likewise.
a1ffb40e
OB
13616 * nscd/pwdcache.c (addpwbyX): Likewise.
13617 * nscd/selinux.c (preserve_capabilities): Likewise.
13618 * nscd/servicescache.c (addservbyX): Likewise.
13619 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13620 * posix/fnmatch.c (fnmatch): Likewise.
13621 * posix/getopt.c (_getopt_internal_r): Likewise.
13622 * posix/glob.c (glob, glob_in_dir): Likewise.
13623 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13624 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13625 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13626 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13627 * resolv/res_init.c: Likewise.
13628 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13629 * resolv/res_query.c (__libc_res_nquery): Likewise.
13630 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13631 Likewise.
13632 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13633 * stdio-common/perror.c (perror): Likewise.
13634 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13635 * stdio-common/tmpnam.c (tmpnam): Likewise.
13636 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13637 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13638 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13639 Likewise.
a1ffb40e
OB
13640 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13641 * stdlib/putenv.c (putenv): Likewise.
13642 * stdlib/setenv.c (__add_to_environ): Likewise.
13643 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13644 * stdlib/strtol_l.c (INTERNAL): Likewise.
13645 * string/memmem.c (memmem): Likewise.
13646 * string/strerror.c (strerror): Likewise.
13647 * string/strnlen.c (__strnlen): Likewise.
13648 * string/test-memmem.c (simple_memmem): Likewise.
13649 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13650 * sunrpc/pm_getport.c (__get_socket): Likewise.
13651 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13652 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13653 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13654 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13655 Likewise.
13656 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13657 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13658 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13659 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13660 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13661 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13662 Likewise.
13663 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13664 Likewise.
a1ffb40e
OB
13665 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13666 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13667 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13668 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13669 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13671 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13672 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13673 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13674 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13675 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13676 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13677 Likewise.
13678 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13679 Likewise.
13680 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13681 Likewise.
13682 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13683 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13684 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13685 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13686 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13687 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13688 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13689 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13690 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13691 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13692 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13693 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13694 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13695 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13697 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13698 Likewise.
a1ffb40e
OB
13699 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13700 Likewise.
13701 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13702 Likewise.
13703 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13704 Likewise.
13705 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13706 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13707 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13708 Likewise.
13709 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13710 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13711 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13712 * sysdeps/posix/sleep.c: Likewise.
13713 * sysdeps/posix/tempname.c: Likewise.
13714 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13715 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13716 Likewise.
57f41c40
AS
13717 * sysdeps/powerpc/powerpc32/dl-machine.h
13718 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13719 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13720 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13721 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13722 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13723 Likewise.
13724 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13725 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13726 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13727 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13728 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13729 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13730 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13731 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13732 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13733 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13734 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13735 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13736 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13737 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13738 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13739 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13740 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13741 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13742 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13743 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13744 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13745 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13746 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13747 Likewise.
13748 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13749 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13750 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13751 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13752 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13753 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13754 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13755 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13756 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13757 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13758 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13759 Likewise.
13760 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13761 (__posix_fallocate64_l64): Likewise.
13762 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13763 (posix_fallocate): Likewise.
57f41c40
AS
13764 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13765 Likewise.
a1ffb40e 13766 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13767 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13768 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13769 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13770 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13771 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13772 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13773 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13774 (__posix_fallocate64_l64): Likewise.
13775 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13776 Likewise.
13777 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13778 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13779 (__get_clockfreq): Likewise.
a1ffb40e
OB
13780 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13781 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13782 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13783 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13784 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13785 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13786 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13787 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13788 Likewise.
13789 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13790 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13791 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13792 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13793 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13794 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13795 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13796 Likewise.
13797 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13798 (posix_fallocate): Likewise.
13799 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13800 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13801 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13802 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13803 (elf_machine_rela, elf_machine_rela_relative)
13804 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13805 * time/asctime.c (asctime_internal): Likewise.
13806 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13807 * time/tzset.c (__tzset_parse_tz): Likewise.
13808 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13809 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13810 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13811 * wcsmbs/wcsmbsload.h: Likewise.
13812
f3d338c9
OB
13813 [BZ #15894]
13814 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13815
57f41c40
AS
13816 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13817 (arena_get2): Remove THREAD_STATS conditionals.
13818 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13819 (__malloc_stats, int): Likewise.
bdfe308a 13820
d674667c
MF
138212014-02-08 Mike Frysinger <vapier@gentoo.org>
13822
13823 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13824 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13825
6349768c
MF
13826 * manual/setjmp.texi: Fix typos/grammar errors.
13827
0b7c7473
MF
13828 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13829 Only return early when n is <= 0. Delete unused return statement.
13830
ac8cc9e3
MF
13831 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13832 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13833 * debug/tst-longjmp_chk3.c: New file.
13834
c5bb8e23
MF
13835 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13836 (test_main): Replace code with set_fortify_handler call.
13837 * debug/test-strcpy_chk.c: Likewise.
13838 * debug/tst-chk1.c: Likewise.
13839 * debug/tst-longjmp_chk.c: Likewise.
13840 * test-skeleton.c: Include fcntl.h & paths.h
13841 (set_fortify_handler): Define.
13842
10444e42
MF
13843 * debug/tst-longjmp_chk.c: Add header comment and include
13844 ../test-skeleton.c.
13845 (do_test): Mark static.
13846 (TEST_FUNCTION): Define.
13847
1e805e8d
MF
13848 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13849 (IP_PMTUDISC_INTERFACE): Likewise.
13850 (IP_MULTICAST_IF): Likewise.
13851 (IP_MULTICAST_TTL): Likewise.
13852 (IP_MULTICAST_LOOP): Likewise.
13853 (IP_ADD_MEMBERSHIP): Likewise.
13854 (IP_DROP_MEMBERSHIP): Likewise.
13855 (IP_UNBLOCK_SOURCE): Likewise.
13856 (IP_BLOCK_SOURCE): Likewise.
13857 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13858 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13859 (IP_MSFILTER): Likewise.
13860 (MCAST_JOIN_GROUP): Likewise.
13861 (MCAST_BLOCK_SOURCE): Likewise.
13862 (MCAST_UNBLOCK_SOURCE): Likewise.
13863 (MCAST_LEAVE_GROUP): Likewise.
13864 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13865 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13866 (MCAST_MSFILTER): Likewise.
13867 (IP_MULTICAST_ALL): Likewise.
13868 (IP_UNICAST_IF): Likewise.
13869
73f79bb7
MF
13870 * timezone/Makefile: Delete $(have-ksh) check.
13871 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13872 * timezone/tzselect.ksh: Add +x mode bits.
13873
8da79b60
MF
13874 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13875 (ANON_INODE_FS_MAGIC): Likewise.
13876 (BDEVFS_MAGIC): Likewise.
13877 (BINFMTFS_MAGIC): Likewise.
13878 (BTRFS_TEST_MAGIC): Likewise.
13879 (CRAMFS_MAGIC_WEND): Likewise.
13880 (DEBUGFS_MAGIC): Likewise.
13881 (ECRYPTFS_SUPER_MAGIC): Likewise.
13882 (EXT3_SUPER_MAGIC): Likewise.
13883 (EXT4_SUPER_MAGIC): Likewise.
13884 (FUTEXFS_SUPER_MAGIC): Likewise.
13885 (HOSTFS_SUPER_MAGIC): Likewise.
13886 (HUGETLBFS_MAGIC): Likewise.
13887 (MINIX3_SUPER_MAGIC): Likewise.
13888 (MTD_INODE_FS_MAGIC): Likewise.
13889 (NILFS_SUPER_MAGIC): Likewise.
13890 (OPENPROM_SUPER_MAGIC): Likewise.
13891 (PIPEFS_MAGIC): Likewise.
13892 (PSTOREFS_MAGIC): Likewise.
13893 (QNX6_SUPER_MAGIC): Likewise.
13894 (RAMFS_MAGIC): Likewise.
13895 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13896 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13897 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13898 (SECURITYFS_MAGIC): Likewise.
13899 (SELINUX_MAGIC): Likewise.
13900 (SMACK_MAGIC): Likewise.
13901 (SOCKFS_MAGIC): Likewise.
13902 (SQUASHFS_MAGIC): Likewise.
13903 (STACK_END_MAGIC): Likewise.
13904 (TMPFS_MAGIC): Likewise.
13905 (USBDEVICE_SUPER_MAGIC): Likewise.
13906 (V9FS_MAGIC): Likewise.
13907 (XENFS_SUPER_MAGIC): Likewise.
13908 (CRAMFS_MAGIC): Fix typo in comment.
13909 (EXT2_SUPER_MAGIC): Update comment.
13910 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13911
464263cc
JM
139122014-02-08 Joseph Myers <joseph@codesourcery.com>
13913
c6bfe5c4
JM
13914 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13915 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13916 * sysdeps/unix/sysv/linux/arm: Move directory from
13917 ports/sysdeps/unix/sysv/linux/arm.
13918 * README: Update listing for arm-*-linux-gnueabi.
13919
464263cc
JM
13920 * README: Remove mention of am33.
13921
32749f6c
RM
139222014-02-07 Roland McGrath <roland@hack.frob.com>
13923
13924 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13925 than the comma operator, to avoid "rhs of comma has no effect"
13926 compiler warnings.
13927 (__sigfillset, __sigandset, __sigorset): Likewise.
13928 * include/signal.h (__sigemptyset): Likewise.
13929 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13930
d5b396c1
AM
139312014-02-07 Allan McRae <allan@archlinux.org>
13932
13933 * version.h (RELEASE): Set to "development".
13934 (VERSION): Set to "2.19.90"
13935 * NEWS: Add 2.20 section.
13936
3bfff2ed
CD
139372014-02-06 Carlos O'Donell <carlos@redhat.com>
13938
13939 [BZ #16529]
13940 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13941
ee7cc385
SP
139422014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13943
13944 * manual/contrib.texi: Update entry for Carlos O'Donell,
13945 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13946
f877c4f2
CD
139472014-02-05 Carlos O'Donell <carlos@rehdat.com>
13948
27e839f6
CD
13949 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13950
f877c4f2
CD
13951 * sysdeps/unix/sysv/linux/kernel-features.h
13952 [__LINUX_KERNEL_VERSION >= 0x020621]
13953 (__ASSUME_PROC_PID_TASK_COMM): Define.
13954
68159946
SP
139552014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13956
ba17cdbd
SP
13957 [BZ #16398]
13958 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13959 conversion when destination buffer does not have enough space.
13960 * libio/tst-ftell-partial-wide.c: New test case.
13961 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13962
68159946
SP
13963 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13964 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13965 Leonard and Allan McRae.
13966
2b528732
DM
139672014-02-04 David S. Miller <davem@davemloft.net>
13968
13969 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13970 32-bit.
13971
0ff82463
AZ
139722014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13973
57f41c40
AS
13974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13975 New file
c01603f7
AZ
13976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13977 New file
57f41c40
AS
13978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13979 New file.
13980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13981 New file.
c01603f7
AZ
13982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13983 New file.
57f41c40
AS
13984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13985 New file.
13986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13987 New file.
c01603f7
AZ
13988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13989 New file.
13990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13991 New file.
13992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13993 New file.
13994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13995 New file.
13996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13997 New file.
13998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13999 New file.
14000
140012014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14002
0ff82463
AZ
14003 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14004 * shlib-versions: Likewise.
14005
1695c773
AZ
140062014-02-04 Roland McGrath <roland@hack.frob.com>
14007 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14008
14009 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14010 (abilist-pattern): New variable, set to %-le.abilist.
14011
14012 * Makerules (abilist-pattern): New variable.
14013 (vpath): Use $(abilist-pattern) in place of %.abilist.
14014 (check-abi-% pattern rule): Likewise.
14015 (check-abi, update-abi): Likewise.
14016
6c0ce4b4
EW
140172014-02-04 Eric Wong <normalperson@yhbt.net>
14018
14019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14020
481e3524
CD
140212014-02-03 Carlos O'Donell <carlos@redhat.com>
14022
14023 * manual/startup.texi: Add next, previous, and top entries for
14024 the `Program Arguments' and `Environment Variables' nodes.
14025
375592d3
AO
140262014-02-03 Alexandre Oliva <aoliva@redhat.com>
14027
14028 * manual/macros.texi: Add comments before MTASC-safety macros.
14029
f54838ba
AO
14030 * manual/users.texi: Document MTASC-safety properties.
14031
57f41c40
AS
14032 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14033 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
14034 @deftypefun, and add @safety note.
14035 * manual/signal.texi: Move comments that analyze the above
14036 functions to their home place.
14037
fd3daba4
AM
140382014-02-03 Allan McRae <allan@archlinux.org>
14039
14040 * po/sl.po: Update Slovenian translation from translation project.
14041
597636d7
AO
140422014-02-02 Alexandre Oliva <aoliva@redhat.com>
14043
14044 * manual/time.texi (timegm): Add missing blank after @c.
14045 Reported by Joseph Myers <joseph@codesourcery.com>.
14046
ee196e3c
AO
140472014-02-01 Alexandre Oliva <aoliva@redhat.com>
14048
14049 * manual/check-safety.sh: New.
14050 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14051
f8d529d5
AO
14052 * manual/terminal.texi: Document MTASC-safety properties.
14053
de55fdf4
AO
14054 * manual/filesys.texi: Document MTASC-safety properties.
14055
c3299c08
AO
14056 * manual/errno.texi: Document MTASC-safety properties.
14057
06e90b14
AO
14058 * manual/intro.texi: Document safety identifiers and
14059 conditionals.
14060
1acd4371
AO
14061 * manual/string.texi (wcstok): Fix prototype.
14062 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14063
23e5b8cb
AO
14064 * manual/time.texi: Document MTASC-safety properties.
14065
11087373
AO
14066 * manual/string.texi: Document MTASC-safety properties.
14067
5da2c93d
AO
14068 * manual/threads.texi: Document MTASC-safety properties.
14069
171e9210
AO
14070 * manual/stdio.texi: Document MTASC-safety properties.
14071
d9e02532
AO
14072 * manual/syslog.texi: Document MTASC-safety properties.
14073
6af8bab7
AO
14074 * manual/sysinfo.texi: Document MTASC-safety properties.
14075
663b02d7
AO
14076 * manual/startup.texi: Document MTASC-safety properties.
14077
973f180b
AO
14078 * manual/socket.texi: Document MTASC-safety properties.
14079
8f3c25c8
AO
14080 * manual/signal.texi: Document MTASC-safety properties.
14081
542210fb
AO
140822014-01-31 Alexandre Oliva <aoliva@redhat.com>
14083
14084 * manual/setjmp.texi: Document MTASC-safety properties.
14085
433c45a2
AO
14086 * manual/search.texi: Document MTASC-safety properties.
14087
c8ce789c
AO
14088 * manual/resource.texi: Document MTASC-safety properties.
14089
19f5d29c
AO
14090 * manual/process.texi: Document MTASC-safety properties.
14091
e2dfb7f4
AO
14092 * manual/platform.texi: Document MTASC-safety properties.
14093
8c1413f5
AO
14094 * manual/pipe.texi: Document MTASC-safety properties.
14095
03483ada
AO
14096 * manual/pattern.texi: Document MTASC-safety properties.
14097
29e7e2df
AO
14098 * manual/message.texi: Document MTASC-safety properties.
14099
9f529d7c
AO
14100 [BZ #12751]
14101 * manual/memory.texi: Document MTASC-safety properties.
14102
27aaa791
AO
14103 * manual/math.texi: Document MTASC-safety properties.
14104
f2d58726
AO
14105 * manual/locale.texi: Document MTASC-safety properties.
14106
2cc3615c
AO
14107 * manual/llio.texi: Document MTASC-safety properties.
14108
d9f0ec97
AO
14109 * manual/libdl.texi: New.
14110
e7c4409a
AO
14111 * manual/lang.texi: Document MTASC-safety properties.
14112
27bdc63c
AO
14113 * manual/job.texi: Document MTASC-safety properties.
14114
a7b90ea9
AO
14115 * manual/getopt.texi: Document MTASC-safety properties.
14116
c49130e3
AO
14117 * manual/ctype.texi: Document MTASC-safety properties.
14118
0d23a5c1
MR
141192014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14120
14121 [BZ #16046]
14122 * csu/libc-tls.c (static_map): Remove variable.
14123 (__libc_setup_tls): Use main executable's link map for TLS data.
14124 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14125 casing for LM_ID_BASE and GL(dl_nns).
14126 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14127 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14128 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14129 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14130 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14131 member.
14132 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14133 l_phnum members.
14134
0037bb60
AO
141352014-01-30 Alexandre Oliva <aoliva@redhat.com>
14136
14137 * manual/debug.texi: Document MTASC-safety properties.
14138
409e00bd
L
141392014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14140
14141 [BZ #16510]
14142 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14143 of __x86_64__ when disabling x87 inline functions.
14144
86e60666
AO
141452014-01-29 Alexandre Oliva <aoliva@redhat.com>
14146
14147 * manual/charset.texi: Document MTASC-safety properties.
14148
76167637
AO
14149 * manual/crypt.texi: Document MTASC-safety properties.
14150
e567f2a0
AO
14151 * manual/conf.texi: Document MTASC-safety properties.
14152
b719dafd
AO
14153 * manual/arith.texi: Document MTASC-safety properties.
14154
4a16c662
AO
14155 * manual/argp.texi: Document MTASC-safety properties.
14156
0a57b83e
AO
14157 * manual/macros.texi: Introduce macros to document multi
14158 thread, asynchronous signal and asynchronous cancellation
14159 safety properties.
14160 * manual/intro.texi: Introduce the properties themselves.
14161
feab2397
KK
141622014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14163
14164 * sysdeps/sh/sh4/Makefile: New file.
14165
1c0d11bc
AS
141662014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14167
14168 * math/gen-libm-test.pl ($srcdir): New variable.
14169 ($auto_input): Use it.
14170
af37a8a3
SP
141712014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14172
d7b00f98
SP
14173 [BZ #16506]
14174 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14175 access beyond array bounds when parsing netgroups file.
14176
af37a8a3
SP
14177 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14178 the old buffer before realloc.
14179
0c00f062
AM
141802014-01-27 Allan McRae <allan@archlinux.org>
14181
14182 * po/fr.po: Update French translation from translation project.
14183
7d69a1b0
KK
141842014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14185
14186 * sysdeps/sh/libm-test-ulps: Regenerate.
14187
6e697ff7
DM
141882014-01-24 David S. Miller <davem@davemloft.net>
14189
14190 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14191
9cadb35c
KK
141922014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14193
14194 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14195 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14196
5d41dadf
SP
141972013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14198
14199 [BZ #16474]
14200 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14201 string pointers after reallocation.
14202
0bad441c
KK
142032014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14204
14205 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14206 __SH4A__ instead of __SH_FPU_ANY__.
14207
7007c661
KK
142082014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14209
14210 * sysdeps/sh/fpu_control.h: New file.
14211 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14212 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14213 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14214 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14215 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14216 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14217 * sysdeps/sh/sys/ucontext.h: Remove.
14218 * sysdeps/sh/sys: Remove directory.
14219
0f0c35e4
AK
142202014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14221
14222 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14223 s390/sys/ucontext.h.
14224 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14225 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14226
4959e284
L
142272014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14228
14229 [BZ #15605]
14230 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14231
d98720e0
AZ
142322014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14233
14234 [BZ#16431]
14235 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14236 Adjust the vDSO correctly for internal calls.
14237 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14238
91cbd0bc
AM
142392014-01-20 Allan McRae <allan@archlinux.org>
14240
14241 * po/ca.po: Update Catalan translation from translation project.
14242
7a02cfad
MF
142432014-01-16 Mike Frysinger <vapier@gentoo.org>
14244
14245 * sysdeps/s390/sotruss-lib.c: New file.
14246
736c304a
AZ
142472014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14248
14249 [BZ#16430]
6e077ee5 14250 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
14251 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14252 local calls issues by not having a PLT stub required for IFUNC calls.
14253 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14254
94d0cea0
JM
142552014-01-16 Joseph Myers <joseph@codesourcery.com>
14256
14257 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14258 * math/test-fpucw-static.c: Likewise.
14259
980cb518
SP
142602013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14261
14262 [BZ #16453]
14263 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14264
2393fc01
AZ
142652014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14266
14267 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14268 implementation for powerpc.
14269
d359bcc2
OB
142702014-01-15 Ondřej Bílka <neleai@seznam.cz>
14271
14272 [BZ #14782]
14273 * sysdeps/posix/system.c (__libc_system): Do not enable
14274 asynchronous cancellation.
14275
7beb48cb
AK
142762014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14277
14278 [BZ #16427]
14279 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14280 handling only for numbers special also in the IEEE case.
14281
c20d5bf5
AK
142822014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14283
14284 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14285
e83bd4ee
AM
142862014-01-11 Allan McRae <allan@archlinux.org>
14287
76d0ea69
AM
14288 * po/bg.po: Update Bulgarian translation from translation project.
14289
e83bd4ee
AM
14290 * po/de.po: Update German translation from translation project.
14291
bc2ba20a
RM
142922014-01-10 Roland McGrath <roland@hack.frob.com>
14293
14294 * sysdeps/generic/gcc-compat.h: New file.
14295
649ecea2
SP
142962014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14297
14298 * benchtests/asin-inputs: Correct slow inputs.
14299 * benchtests/acos-inputs: Likewise.
14300
1b19c006
AM
143012014-01-10 Allan McRae <allan@archlinux.org>
14302
a46dab08
AM
14303 * po:sv.po: Update Swedish translation from translation project.
14304
421df74a
AM
14305 * po/vi.po: Update Vietnamese translation from translation project.
14306
d61c51a7
AM
14307 * po/eo.po: Update Esperanto translation from translation project.
14308
0339a319
AM
14309 * po/cs.po: Update Czech translation from translation project.
14310
94ad3e99
AM
14311 * po/nl.po: Update Dutch translation from translation project.
14312
e349ca71
AM
14313 * po/pl.po: Update Polish translation from translation project.
14314
ddf930c1
AM
14315 * po/ru.po: Update Russian translation from translation project.
14316
1b19c006
AM
14317 * po/uk.po: Update Ukrainian translation from translation project.
14318
9f236c49
BM
143192014-01-08 Brooks Moses <bmoses@google.com>
14320
14321 * elf/dl-load.c: Fix comment typo.
14322
cd6701cf
CD
143232014-01-08 Carlos O'Donell <carlos@redhat.com>
14324
14325 * po/header.pot: Rename to...
14326 * po/pot.header: ... this.
14327 * po/Makefile: Use pot.header.
14328
66671c84
YK
143292014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14330 Maxim Kuvyrkov <maxim@kugelworks.com>
14331
14332 [BZ #16394]
cd6701cf
CD
14333 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14334 SRC and DEST against LEN.
66671c84 14335
38f34581
AZ
143362014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14337
14338 [BZ #16414]
14339 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14340 implementation.
14341 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14342
143432014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
14344
14345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14346
4c327f2a
JM
143472014-01-08 Joseph Myers <joseph@codesourcery.com>
14348
14349 [BZ #16408]
14350 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14351 for large positive arguments.
14352
b821f414
JM
143532014-01-07 Joseph Myers <joseph@codesourcery.com>
14354
1f0f2067
JM
14355 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14356
a5a326f6
JM
14357 * math/auto-libm-test-in: Mark various tests with
14358 xfail-rounding:ldbl-128ibm.
14359 * math/auto-libm-test-out: Regenerated.
14360
b821f414
JM
14361 [BZ #16407]
14362 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14363 Increase overflow threshold.
14364
94c8a4bc
OB
143652014-01-07 Ondřej Bílka <neleai@seznam.cz>
14366
14367 [BZ #14286]
14368 * stdio-common/vfprintf.c: Check for integer overflow.
14369
87ded0c3
AK
143702014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14371
14372 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14373 the first argument and return value of __tls_get_addr_internal.
14374
c5eebdd0
AK
143752014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14376
14377 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14378 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14379
05d138ef
AK
143802014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14381
14382 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14383 * sysdeps/s390/rtld-global-offsets.sym: New file.
14384 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14385 GLIBC_2.19 symbol.
14386 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14387 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14388 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14389 ... this.
14390 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14391 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14392 ... this.
14393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14394 Regenerate.
14395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14396 Regenerate.
14397 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14398 halfs of GPRs for high_gprs contexts.
14399 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14400 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14401 field.
14402 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14403 uc_flags field.
14404 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14405 64 bit versions:
14406 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14407 for high GPRs (uc_high_gprs) and for future extensions
14408 (__reserved).
14409 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14410 for future extensions (__reserved).
14411 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14412 64 bit versions:
14413 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14414 SC_HIGHGPRS offset definition.
14415 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14416 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14417
93a45ff1
AK
14418 * Versions.def: Add GLIBC_2.19 for libpthread.
14419 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14420 siglongjmp for libpthread with GLIBC_2.19 symver.
14421 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14422 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14423 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14424 * sysdeps/s390/__longjmp.c: New file.
14425 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14426 * sysdeps/s390/longjmp.c: New file.
14427 * sysdeps/s390/setjmp.S: New file.
14428 * sysdeps/s390/sigjmp.S: New file.
14429 * sysdeps/s390/v1-longjmp.c: New file.
14430 * sysdeps/s390/v1-setjmp.h: New file.
14431 * sysdeps/s390/v1-sigjmp.c: New file.
14432 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14433 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14434 GLIBC_2.19 version.
14435 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14436 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14437 versioned symbols for ____longjmp_chk.
14438 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14439 Likewise.
14440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14441 Regenerate.
14442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14443 Regenerate.
14444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14445 Regenerate.
14446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14447 Regenerate.
14448 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14449 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14450 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14451 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14452 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14453 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14454 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14455 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14456 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14457 * sysdeps/s390/rtld-__longjmp.c: New file.
14458 * sysdeps/s390/rtld-setjmp.S: New file.
14459
eb3fc44b
JM
144602014-01-06 Joseph Myers <joseph@codesourcery.com>
14461
14462 [BZ #16400]
14463 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14464 Return -__logl (x) for small positive arguments without evaluating
14465 a polynomial.
14466
9341dde4
MF
144672014-01-06 Mike Frysinger <vapier@gentoo.org>
14468
14469 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14470 Rename to ...
14471 (__ptrace_peeksiginfo_args): ... this.
14472 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14473 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14474 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14475
4cff0293
AM
144762014-01-06 Allan McRae <allan@archlinux.org>
14477
14478 * inet/netinet/in.h: Fix typo in comment.
14479
75595dcf
AJ
144802014-01-05 Andreas Jaeger <aj@suse.de>
14481
14482 * sysdeps/i386/fpu/libm-test-ulps: Update.
14483
79c1e109
AM
144842014-01-05 Allan McRae <allan@archlinux.org>
14485
dd804818
AM
14486 * po/libc.pot: Regenerated.
14487
79c1e109
AM
14488 * malloc/memusagestat.c: Fix gettext call formatting.
14489
0c813d1f
SK
144902014-01-04 Sami Kerola <kerolasa@iki.fi>
14491
14492 * nscd/nscd.c: Improve usage() output.
14493
20f4a8d9
MF
144942014-01-04 Mike Frysinger <vapier@gentoo.org>
14495
14496 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14497 * sysdeps/unix/sysv/linux/configure: Regenerated.
14498 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14499 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14500
22562bb2
JM
145012014-01-03 Joseph Myers <joseph@codesourcery.com>
14502
14503 [BZ #16390]
14504 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14505 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14506
d7ad2d9b
AZ
145072014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14508
14509 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14510 extra tokens at end of #undef directive.
14511 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14512 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14513 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14514
7dd009d8
JM
145152014-01-03 Joseph Myers <joseph@codesourcery.com>
14516
24db925a
JM
14517 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14518
7dd009d8
JM
14519 * math/auto-libm-test-in: Mark various tests with
14520 xfail-rounding:ldbl-128ibm.
14521 * math/auto-libm-test-out: Regenerated.
14522
396e3ecf
JM
145232014-01-02 Joseph Myers <joseph@codesourcery.com>
14524
819e5d50
JM
14525 [BZ #16386]
14526 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14527 numbers with subnormal high part when calculating exponent.
14528
90b6a1e5
JM
14529 [BZ #16385]
14530 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14531 fabs.
14532
396e3ecf
JM
14533 [BZ #16384]
14534 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14535 M_LN2l.
14536 (__ieee754_acoshl): Use __log1pl not __log1p.
14537
6c8dbf00
OB
145382013-01-02 Ondřej Bílka <neleai@seznam.cz>
14539
57f41c40
AS
14540 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14541 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14542 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14543 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14544 (reused_arena, arena_get2): Convert to GNU style.
14545 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14546 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14547 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14548 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14549 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14550 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14551 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14552 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14553 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14554 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14555 * malloc/malloc.h: Likewise.
57f41c40
AS
14556 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14557 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14558 * malloc/mcheck.h: Likewise.
57f41c40
AS
14559 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14560 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14561 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14562 * malloc/morecore.c (__default_morecore): Likewise.
14563 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14564 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14565 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14566 (print_and_abort): Likewise.
6c8dbf00
OB
14567 * malloc/obstack.h: Likewise.
14568 * malloc/set-freeres.c (__libc_freeres): Likewise.
14569 * malloc/tst-mallocstate.c (main): Likewise.
14570 * malloc/tst-mtrace.c (main): Likewise.
14571 * malloc/tst-realloc.c (do_test): Likewise.
14572
d4124212
SP
145732013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14574
9a3c6a6f
SP
14575 [BZ #16366]
14576 * nscd/netgroupcache.c (do_notfound): New function.
14577 (addgetnetgrentX): Use it.
14578
d4124212
SP
14579 [BZ # 16365]
14580 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14581 NSS_STATUS_NOTFOUND.
14582
97b9a009
JM
145832014-01-01 Joseph Myers <joseph@codesourcery.com>
14584
14585 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14587
d4697bc9
AM
145882014-01-01 Allan McRae <allan@archlinux.org>
14589
ddb3687f
AM
14590 * scripts/update-copyrights: Update configure input file suffix.
14591
88726d48
AM
14592 * NEWS: Update copyright year.
14593 * catgets/gencat.c: Likewise.
14594 * csu/version.c: Likewise.
14595 * debug/catchsegv.sh: Likewise.
14596 * debug/pcprofiledump.c: Likewise.
14597 * debug/xtrace.sh: Likewise.
14598 * elf/ldconfig.c: Likewise.
14599 * elf/ldd.bash.in: Likewise.
14600 * elf/pldd.c: Likewise.
14601 * elf/sotruss.ksh: Likewise.
14602 * elf/sprof.c: Likewise.
14603 * iconv/iconv_prog.c: Likewise.
14604 * iconv/iconvconfig.c: Likewise.
14605 * locale/programs/locale.c: Likewise.
14606 * locale/programs/localedef.c: Likewise.
14607 * login/programs/pt_chown.c: Likewise.
14608 * malloc/memusage.sh: Likewise.
14609 * malloc/memusagestat.c: Likewise.
14610 * malloc/mtrace.pl: Likewise.
14611 * manual/libc.texinfo: Likewise.
14612 * nscd/nscd.c: Likewise.
14613 * nss/getent.c: Likewise.
14614 * nss/makedb.c: Likewise.
14615 * posix/getconf.c: Likewise.
14616 * scripts/test-installation.pl: Likewise.
14617
d4697bc9
AM
14618 * All files with FSF copyright notices: Update copyright dates
14619 using scripts/update-copyrights.
14620 * intl/plural.c: Regenerated.
14621 * locale/programs/charmap-kw.h: Likewise.
14622 * locale/programs/locfile-kw.h: Likewise.
14623
c8590f9d
MF
146242013-12-31 Mike Frysinger <vapier@gentoo.org>
14625
14626 * sysdeps/unix/sysv/linux/configure: Regenerated.
14627 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14628 the linux/fanotify.h header.
14629 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14630 HAVE_LINUX_FANOTIFY_H is defined.
14631
b19221b9
SP
146322013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14633
dd1d85e5
SP
14634 * benchtests/cos-inputs: New inputs.
14635 * benchtests/sin-inputs: Likewise.
14636
1acbb90f
SP
14637 * benchtests/atan-inputs: New inputs. Fix name of multiple
14638 precision fallback inputs.
14639
4c012ed3
SP
14640 * benchtests/atanh-inputs: New inputs.
14641 * benchtests/tanh-inputs: Likewise.
14642
eff98324
SP
14643 * benchtests/acosh-inputs: New inputs.
14644 * benchtests/asinh-inputs: Likewise.
14645
ce641152
SP
14646 * benchtests/cosh-inputs: New inputs.
14647 * benchtests/sinh-inputs: Likewise.
14648
b19221b9
SP
14649 * benchtests/acos-inputs: Add more inputs.
14650 * benchtests/asin-inputs: Likewise.
14651
030a4976 146522013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14653
030a4976 14654 [BZ #16375]
9dcc8f11
VS
14655 * manual/arith.texi: Fix spelling.
14656 * manual/charset.texi: Likewise.
14657 * manual/errno.texi: Likewise.
14658 * manual/filesys.texi: Likewise.
14659 * manual/lang.texi: Likewise.
14660 * manual/llio.texi: Likewise.
14661 * manual/locale.texi: Likewise.
14662 * manual/message.texi: Likewise.
14663 * manual/resource.texi: Likewise.
14664 * manual/search.texi: Likewise.
14665 * manual/setjmp.texi: Likewise.
14666 * manual/stdio.texi: Likewise.
14667 * manual/string.texi: Likewise.
14668 * manual/sysinfo.texi: Likewise.
14669 * manual/time.texi: Likewise.
14670
11520a57
CD
146712013-12-27 Carlos O'Donell <carlos@redhat.com>
14672
14673 * po/sl.po: New file.
14674
471103ae
MF
146752013-12-27 Mike Frysinger <vapier@gentoo.org>
14676
14677 * .gitignore: Add core/.gdbinit/.gdb_history.
14678
6c9642ed
AM
146792013-12-27 Allan McRae <allan@archlinux.org>
14680
14681 [BZ #16369]
14682 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14683 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14684
3f637079
BM
146852013-12-24 Brooks Moses <bmoses@google.com>
14686
14687 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14688 all compilers that claim C++98 compliance, not just GCC.
14689 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14690 Likewise.
14691
abc26e99
MK
146922013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14693
14694 * NEWS: Restore accidentally deleted bug-fix entries.
14695
362b47fe
MK
146962013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14697 Ondřej Bílka <neleai@seznam.cz>
14698
14699 [BZ #15073]
14700 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14701 have_lock.
362b47fe 14702
b9bcbbcb
OB
147032013-12-23 Ondřej Bílka <neleai@seznam.cz>
14704
14705 [BZ #12986]
14706 * manual/stdio.texi (String Input Conversions): Clarify that character
14707 classes are not supported.
14708
fb55fcd2
AZ
147092013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14710
14711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14712
ef7344f0
JM
147132013-12-22 Joseph Myers <joseph@codesourcery.com>
14714
4f40e4b3
JM
14715 [BZ #16337]
14716 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14717 Calculate results for small negative arguments directly rather
14718 than using reflection formula with special underflow handling.
14719
ef7344f0
JM
14720 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14721 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14722 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14723 (fchflags): Likewise.
14724 (revoke): Likewise.
14725 (setlogin): Likewise.
14726 (sigaltstack): Likewise.
14727 (wait4): Likewise.
14728 (sigblock): Remove.
14729 (sigsetmask): Likewise.
14730 (wait3): Likewise.
14731 (waitpid): Likewise.
14732 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14733 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14734 file.
14735 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14736 * sysdeps/unix/bsd/Makefile: ... here.
14737 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14738 * sysdeps/unix/bsd/Versions: ... here.
14739 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14740 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14741 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14742 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14743 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14744 * sysdeps/unix/bsd/sigblock.c: ... here.
14745 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14746 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14747 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14748 * sysdeps/unix/bsd/sigvec.c: ... here.
14749 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14750 * sysdeps/unix/bsd/tcdrain.c: ... here.
14751 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14752 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14753 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14754 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14755 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14756 * sysdeps/unix/bsd/wait.c: ... here.
14757 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14758 * sysdeps/unix/bsd/wait3.c: ... here.
14759 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14760 * sysdeps/unix/bsd/waitpid.c: ... here.
14761
5b0626b9
JM
147622013-12-21 Joseph Myers <joseph@codesourcery.com>
14763
14764 [BZ #16356]
14765 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14766 round-to-nearest for [!USE_AS_EXPM1L].
14767 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14768 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14769 more tests of exp and exp10. Expect some exp10 tests to miss
14770 exceptions or fail in directed rounding modes.
14771 * math/auto-libm-test-out: Regenerated.
14772 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14773 (exp10_test_tonearest): New function.
14774 (exp10_towardzero_test_data): New array.
14775 (exp10_test_towardzero): New function.
14776 (exp10_downward_test_data): New array.
14777 (exp10_test_downward): New function.
14778 (exp10_upward_test_data): New array.
14779 (exp10_test_upward): New function.
14780 (main): Call the new functions.
14781 * sysdeps/i386/fpu/libm-test-ulps: Update.
14782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14783
7fda5682
JM
147842013-12-20 Joseph Myers <joseph@codesourcery.com>
14785
31e3a405
JM
14786 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14787 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14788 * math/auto-libm-test-out: Regenerated.
14789 * math/libm-test.inc (acosh_test_data): Add more tests.
14790 (atanh_test_data): Likewise.
14791 (ceil_test_data): Likewise.
14792 (copysign_test_data): Likewise.
14793 * sysdeps/i386/fpu/libm-test-ulps: Update.
14794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14795
85bff96a
JM
14796 * timezone/checktab.awk: Update from tzcode 2013i.
14797 * timezone/private.h: Likewise.
14798 * timezone/scheck.c: Likewise.
14799 * timezone/tzfile.h: Likewise.
14800 * timezone/tzselect.ksh: Likewise.
14801 * timezone/zdump.c: Likewise.
14802 * timezone/zic.c: Likewise.
14803
b7867a3b
JM
14804 * math/auto-libm-test-in: Add tests of cpow.
14805 * math/auto-libm-test-out: Regenerated.
14806 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14807 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14808 mpc_cc_c.
14809 (func_calc_desc): Add mpc_cc_c union field.
14810 (test_functions): Add cpow.
14811 (special_fill_2pi): New function.
14812 (special_real_inputs): Add 2pi.
14813 (calc_generic_results): Handle mpc_cc_c.
14814 * sysdeps/i386/fpu/libm-test-ulps: Update.
14815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14816
7fda5682
JM
14817 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14818 csqrt, ctan and ctanh.
14819 * math/auto-libm-test-out: Regenerated.
14820 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14821 (TEST_COND_x86): Likewise.
14822 (ccos_test_data): Use AUTO_TESTS_c_c.
14823 (ccosh_test_data): Likewise.
14824 (cexp_test_data): Likewise.
14825 (clog_test_data): Likewise.
14826 (csqrt_test_data): Likewise.
14827 (ctan_test_data): Likewise.
14828 (ctan_tonearest_test_data): Likewise.
14829 (ctan_towardzero_test_data): Likewise.
14830 (ctan_downward_test_data): Likewise.
14831 (ctan_upward_test_data): Likewise.
14832 (ctanh_test_data): Likewise.
14833 (ctanh_tonearest_test_data): Likewise.
14834 (ctanh_towardzero_test_data): Likewise.
14835 (ctanh_downward_test_data): Likewise.
14836 (ctanh_upward_test_data): Likewise.
14837 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14838 mpc_c_c.
14839 (func_calc_desc): Add mpc_c_c union field.
14840 (FUNC_mpc_c_c): New macro.
14841 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14842 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14843 ctanh.
14844 (special_fill_min_subnorm_p120): New function.
14845 (special_real_inputs): Add min_subnorm_p120.
14846 (calc_generic_results): Handle mpc_c_c.
14847 * sysdeps/i386/fpu/libm-test-ulps: Update.
14848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14849
5ff8d60e
SP
148502013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14851
57f41c40
AS
14852 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14853 (do_sin_slow): New functions.
14854 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14855 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14856
84ba214c
SP
14857 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14858 Use M to change sign of result instead of X. Assume X is
14859 positive.
14860 (csloww1): Likewise.
14861 (__sin): Adjust.
14862 (__cos): Adjust.
14863
975195e4
SP
14864 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14865 arguments A and DA.
14866 (__sin): Adjust.
14867 (__cos): Likewise.
14868
5ff8d60e
SP
14869 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14870 (__cos): Likewise.
14871 (sloww1): Don't adjust sign of DX.
14872 (csloww1): Likewise.
14873 (sloww2): Use X directly and don't adjust sign of DX.
14874 (csloww2): Likewise.
14875
eb983568
JM
148762013-12-19 Joseph Myers <joseph@codesourcery.com>
14877
64a17f1a
JM
14878 * math/auto-libm-test-in: Add tests of cabs and carg.
14879 * math/auto-libm-test-out: Regenerated.
14880 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14881 (carg_test_data): Likewise.
14882 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14883 mpc_c_f.
14884 (func_calc_desc): Add mpc_c_f union field.
14885 (test_functions): Add cabs and carg.
14886 (calc_generic_results): Handle mpc_c_f.
14887
eb983568
JM
14888 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14889 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14890 as a macro and a compat symbol.
14891 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14892 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14893 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14894 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14895 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14896 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14897 not use .hidden.
14898 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14899 Likewise.
14900 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14901 Likewise.
14902 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14903 Likewise.
14904 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14905 Likewise.
14906 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14907 Likewise.
14908 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14909 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14910 from GLIBC_2.3.2.
14911
6eeb678a
AZ
149122013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14913
14914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14915
6f6fc482
JM
149162013-12-19 Joseph Myers <joseph@codesourcery.com>
14917
21fea2e2
JM
14918 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14919 trailing whitespace removed.
14920 * scripts/config.guess: Update to version 2013-11-29.
14921 * scripts/config.sub: Update to version 2013-10-01.
14922
6f6fc482
JM
14923 * math/auto-libm-test-in: Add tests of sincos.
14924 * math/auto-libm-test-out: Regenerated.
14925 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14926 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14927 mpfr_f_11.
14928 (func_calc_desc): Add mpfr_f_11 union field.
14929 (test_functions): Add sincos.
14930 (calc_generic_results): Handle mpfr_f_11.
14931 * sysdeps/i386/fpu/libm-test-ulps: Update.
14932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14933
83f5c32d
AS
149342013-12-19 Andreas Schwab <schwab@suse.de>
14935
14936 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14937 CALL_MCOUNT.
14938 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14939 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14940 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14941
c688b419
JM
149422013-12-19 Joseph Myers <joseph@codesourcery.com>
14943
335ee092
JM
14944 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14945 * sysdeps/i386/fpu/libm-test-ulps: Update.
14946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14947
f88acd39
JM
14948 [BZ #16293]
14949 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14950 round-to-nearest mode when using frndint.
14951 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14952 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14953 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14954 Likewise.
14955 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14956 sinh test to fail.
14957 * math/auto-libm-test-out: Regenerated.
14958 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14959 (TEST_COND_x86): Likewise.
14960 (expm1_tonearest_test_data): New array.
14961 (expm1_test_tonearest): New function.
14962 (expm1_towardzero_test_data): New array.
14963 (expm1_test_towardzero): New function.
14964 (expm1_downward_test_data): New array.
14965 (expm1_test_downward): New function.
14966 (expm1_upward_test_data): New array.
14967 (expm1_test_upward): New function.
14968 (main): Run the new test functions.
14969 * sysdeps/i386/fpu/libm-test-ulps: Update.
14970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14971
c688b419
JM
14972 * include/features.h: Update comment documenting feature test
14973 macros. Mention _DEFAULT_SOURCE in comment.
14974 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14975 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14976 _BSD_SOURCE and _SVID_SOURCE.
14977 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14978 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14979 !_SVID_SOURCE]: Likewise.
14980 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14981 (__USE_POSIX_IMPLICITLY): Define.
14982 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14983 (_POSIX_SOURCE): Undefine and redefine.
14984 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14985 (_POSIX_C_SOURCE): Likewise.
14986 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14987 (Feature Test Macros): Update documentation of default features.
14988
9f6e964c
RS
149892013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14990
14991 * benchtests/Makefile: Add bench-strtok.
14992 * benchtests/bench-strtok.c: New file: strtok benchtest.
14993
ee0a148a
AM
149942013-12-19 Allan McRae <allan@archlinux.org>
14995
14996 * manual/install.texi: Suppress menu for plain text output.
14997 * INSTALL: Regenerated.
14998
b9ab448f
BM
149992013-12-18 Brooks Moses <bmoses@google.com>
15000
15001 [BZ #15846]
15002 * misc/getauxval.c: Include errno.h.
15003 (__getauxval): Set errno to ENOENT if the requested type is not
15004 found.
15005 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15006 don't declare with __attribute_const__.
15007 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15008 * manual/startup.texi: Document that getauxval sets errno.
15009
23776487
JM
150102013-12-18 Joseph Myers <joseph@codesourcery.com>
15011
f889953b
JM
15012 * math/auto-libm-test-in: Add tests of jn and yn.
15013 * math/auto-libm-test-out: Regenerated.
15014 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15015 (yn_test_data): Likewise.
15016 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15017 mpfr_if_f.
15018 (func_calc_desc): Add mpfr_if_f union field.
15019 (FUNC_mpfr_if_f): New macro.
15020 (test_functions): Add jn and yn.
15021 (calc_generic_results): Assert type of second input for
15022 mpfr_ff_f. Handle mpfr_if_f.
15023 (output_for_one_input_case): Disable all checking for arguments
15024 fitting floating-point types in case of an integer argument.
15025 * sysdeps/i386/fpu/libm-test-ulps: Update.
15026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15027
23776487
JM
15028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15029 Don't expect fegetround reference in libm.so.
15030
cb756c6d
MS
150312013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15032
15033 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15034 $(config-cflags-nofma).
15035
2dec468f
JM
150362013-12-18 Joseph Myers <joseph@codesourcery.com>
15037
5953eb3a
JM
15038 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15039 * math/auto-libm-test-out: Regenerated.
15040
2dec468f
JM
15041 [BZ #16338]
15042 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15043 to determine exponent and adjust argument to have exponent of -1.
15044 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15045 log2.
15046 * math/auto-libm-test-out: Regenerated.
15047 * sysdeps/i386/fpu/libm-test-ulps: Update.
15048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15049
4d84e6ad
OB
150502013-12-18 Ondřej Bílka <neleai@seznam.cz>
15051
15052 * manual/probes.texi: Remove cases when per-thread arenas are
15053 disabled.
15054
1818483b
AS
150552013-12-18 Andreas Schwab <schwab@suse.de>
15056
15057 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15058 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15059 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15060 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15061 * sysdeps/i386/i686/multiarch/Makefile: Update.
15062 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15063
25de95bf
JM
150642013-12-17 Joseph Myers <joseph@codesourcery.com>
15065
15066 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15067 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15068
674762d9
PE
150692013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15070
ed27ed83 15071 [BZ #15968]
0748546f
PE
15072 Support TZ transition times < 00:00:00.
15073 This is needed for version-3 tz-format files; it supports time
15074 stamps past 2037 for America/Godthab (the only entry in the tz
15075 database for which this change is relevant).
15076 * manual/time.texi (TZ Variable): Document transition times
15077 from -167:59:59 through -00:00:01.
15078 * time/tzset.c (tz_rule): Time of day is now signed.
15079 (__tzset_parse_tz): Parse negative time of day.
15080
4480e934
PE
15081 Document TZ transition times >= 25:00:00.
15082 * manual/time.texi (TZ Variable): Document transition times from
15083 25:00:00 through 167:59:59. These are already supported, and this
15084 support will help with version-3 tz-format files.
15085
69947401
PE
15086 * manual/time.texi (TZ Variable): Modernize North America example
15087 to reflect current (i.e., 2007-and-later) daylight saving rules.
15088
674762d9
PE
15089 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15090
7011c262
JM
150912013-12-17 Joseph Myers <joseph@codesourcery.com>
15092
2fc6557e
JM
15093 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15094 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15095 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15096 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15097 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15098 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15099 * sysdeps/unix/bsd/clock.c: Likewise.
15100 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15101 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15102 * sysdeps/unix/bsd/init-posix.c: Likewise.
15103 * sysdeps/unix/bsd/poll.c: Likewise.
15104 * sysdeps/unix/bsd/ptsname.c: Likewise.
15105 * sysdeps/unix/bsd/seekdir.c: Likewise.
15106 * sysdeps/unix/bsd/setegid.c: Likewise.
15107 * sysdeps/unix/bsd/seteuid.c: Likewise.
15108 * sysdeps/unix/bsd/setgid.c: Likewise.
15109 * sysdeps/unix/bsd/setrgid.c: Likewise.
15110 * sysdeps/unix/bsd/setruid.c: Likewise.
15111 * sysdeps/unix/bsd/setsid.c: Likewise.
15112 * sysdeps/unix/bsd/setuid.c: Likewise.
15113 * sysdeps/unix/bsd/sigaction.c: Likewise.
15114 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15115 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15116 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15117 * sysdeps/unix/bsd/telldir.c: Likewise.
15118 * sysdeps/unix/bsd/times.c: Likewise.
15119 * sysdeps/unix/bsd/usleep.c: Likewise.
15120
029c7b25
JM
15121 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15122 ($(objpfx)libbsd-compat.a): Remove rule.
15123
7011c262
JM
15124 * include/features.h (__FAVOR_BSD): Do not define.
15125 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15126 features conflicting with POSIX.
15127 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15128 (_BSD_SOURCE): Remove description of not being a subset of other
15129 feature test macros.
15130 * manual/job.texi (getpgrp): Do not document BSD version.
15131 (getpgid): Do not document by reference to BSD getpgrp.
15132 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15133 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15134 * signal/signal.h [__FAVOR_BSD]: Likewise.
15135 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15136 instead of making contents conditional on [__FAVOR_BSD].
15137 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15138
affb6f78
AZ
151392013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15140
15141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15142
c88769dd
JM
151432013-12-17 Joseph Myers <joseph@codesourcery.com>
15144
6432a540
JM
15145 [BZ #16314]
15146 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15147 values below 2**-450, not 2**-500.
15148 * math/auto-libm-test-in: Don't allow spurious underflow from
15149 hypot.
15150 * math/auto-libm-test-out: Regenerated.
15151
c88769dd
JM
15152 [BZ #16316]
15153 [BZ #16330]
15154 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15155 values of ha and hb and sort them after adjusting subnormal
15156 arguments.
15157 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15158 Likewise.
15159 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15160 values of ea and eb and sort them after adjusting subnormal
15161 arguments.
15162 * math/auto-libm-test-in: Do not expect some hypot tests of
15163 subnormals to fail. Add more hypot tests.
15164 * math/auto-libm-test-out: Regenerated.
15165
29618f6b
KK
151662013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15167
15168 [BZ #13304]
15169 * sysdeps/sh/s_fma.c: New file.
15170 * sysdeps/sh/s_fmaf.c: New file.
15171 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15172 version.
15173 * sysdeps/sh/Implies: Add sh/soft-fp.
15174
eacfdfbf
RM
151752013-12-16 Roland McGrath <roland@hack.frob.com>
15176
15177 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15178 level of indirection to members `objname', `errstring', `malloced'.
15179 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15180 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15181 it as the __longjmp argument (just pass 1 instead).
15182 (_dl_catch_error): Initialize C with argument pointers and address of
15183 volatile local ERRCODE rather than copying values out of C at return.
15184
ff362e5b
JM
151852013-12-16 Joseph Myers <joseph@codesourcery.com>
15186
15187 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15188 * math/auto-libm-test-out: Regenerated.
15189 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15190 (hypot_test_data): Likewise.
15191 (pow_test_data): Likewise.
15192 (pow_tonearest_test_data): Likewise.
15193 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15194 mpfr_ff_f.
15195 (func_calc_desc): Add mpfr_ff_f union field.
15196 (FUNC_mpfr_ff_f): New macro.
15197 (test_functions): Add atan2, hypot and pow.
15198 (special_fill_min): New function.
15199 (special_fill_minus_min): Likewise.
15200 (special_fill_min_subnorm): Likewise.
15201 (special_fill_minus_min_subnorm): Likewise.
15202 (special_real_inputs): Add min, -min, min_subnorm and
15203 -min_subnorm.
15204 (calc_generic_results): Handle mpfr_ff_f.
15205 * sysdeps/i386/fpu/libm-test-ulps: Update.
15206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15207
5764c27f
WN
152082013-12-16 Will Newton <will.newton@linaro.org>
15209
15210 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15211 (Aligned Memory Blocks): Add documentation for aligned_alloc
15212 and suggest it as an alternative to posix_memalign.
15213 (Hooks for Malloc): Document __memalign_hook is also called
15214 for aligned_alloc. (Summary of Malloc): Add summary for
15215 aligned alloc. Document __memalign_hook is also called
15216 for aligned_alloc.
15217
0a096e44
WN
152182013-12-16 Will Newton <will.newton@linaro.org>
15219
15220 * manual/memory.texi (Malloc Examples): Clarify default
15221 alignment documentation. Suggest posix_memalign rather
15222 than memalign or valloc.
15223 (Aligned Memory Blocks): Remove suggestion to use memalign
15224 or valloc. Remove obsolete comment about BSD.
15225 Document memalign errno values and mark the function obsolete.
15226 Document posix_memalign returned error codes. Mark valloc
15227 as obsolete. (Hooks for Malloc): __memalign_hook is also
15228 called for posix_memalign and valloc.
15229 (Summary of Malloc): Add posix_memalign to function summary.
15230 __memalign_hook is also called for posix_memalign and valloc.
15231
8d561986
SP
152322013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15233
15234 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15235 TAYLOR_SIN.
15236 (__sin): Adjust.
15237 (__cos): Likewise.
15238 (sloww): Use mynumber union. Expand ternary operator into
15239 if-else statements.
15240 (cslow): use mynumber union.
15241
73616a74
AM
152422013-12-16 Allan McRae <allan@archlinux.org>
15243
9e8ac24b
AM
15244 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15245 * configure: Regenerated.
15246
6f8e37eb
AM
15247 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15248
8894bad3
AM
15249 [BZ #14120]
15250 * configure.ac: Added --enable-maintainer-mode. Check for
15251 autoconf when enabled.
15252 * configure: Regenerated.
15253
73616a74
AM
15254 * nscd/nscd.service: New file.
15255 * nscd/nscd.tmpfiles: New file.
15256
584b18eb
OB
152572013-12-14 Ondřej Bílka <neleai@seznam.cz>
15258
15259 [BZ #12100]
15260 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15261 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15262 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15263 (strstr): Add __strstr_sse2_unaligned ifunc.
15264 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15265 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15266 (strcasestr): Remove __strcasestr_sse42 ifunc.
15267 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15268 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15270
8a5c7897
KK
152712013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15272
15273 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15274 * sysdeps/sh/bits/fenv.h: ... here.
15275 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15276
fd712ef3
AZ
152772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15278
15279 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15280
42fcb46c
AZ
15281 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15282 hypotf multiarch implementations.
15283 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15284 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15285 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15286 multiarch hypot for PPC64.
15287 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15288 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15289 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15290 multiarch hypotf for PPC64.
15291
83efded4
AZ
15292 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15293 modff multiarch implementations.
15294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15297 multiarch modf for PPC64.
15298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15301 multiarch modff for PPC64.
15302
43e246d2
AZ
15303 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15304 and logl multiarch implementations.
15305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15308 multiarch logb for PPC64.
15309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15312 multiarch logb for PPC64.
15313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15316 multiarch logb for PPC64.
15317
8fdad123
AZ
15318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15319 isinff multiarch implementation.
15320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15321 file.
15322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15324 multiarch isinf for PPC64.
15325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15326 file.
15327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15328 multiarch isinff for PPC64.
15329
1481d706
AZ
15330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15331 finitef multiarch implementation.
15332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15333 file.
15334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15336 multiarch finite for PPC64.
15337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15338 file.
15339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15340 multiarch finitef for PPC64.
15341
5ccd5fc8
AZ
15342 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15343 lrint multiarch implementation.
15344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15345 file.
15346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15348 multiarch llrint for PPC64.
15349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15350 multiarch lrint for PPC64.
15351
2568f3fa
AZ
15352 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15353 copysignf multiarch implementation.
15354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15355 file.
15356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15357 file.
15358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15359 multiarch copysign for PPC64.
15360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15361 multiarch copysignf for PPC64.
15362
1cb341fd
AZ
15363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15364 multiarch implementation.
15365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15366 file.
15367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15368 file.
15369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15370 file.
15371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15372 file.
15373 multiarch llround for PPC64.
15374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15375 multiarch trunc for PPC64.
15376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15377 multiarch truncf for PPC64.
15378
59a3e194
AZ
15379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15380 multiarch implementation.
15381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15382 file.
15383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15384 file.
15385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15386 file.
15387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15388 file.
15389 multiarch llround for PPC64.
15390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15391 multiarch round for PPC64.
15392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15393 multiarch roundf for PPC64.
15394
357fd3b4
AZ
15395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15396 multiarch implementation.
15397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15398 file.
15399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15400 file.
15401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15402 file.
15403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15404 file.
15405 multiarch llround for PPC64.
15406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15407 multiarch floor for PPC64.
15408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15409 multiarch floorf for PPC64.
15410
96770f12
AZ
15411 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15412 multiarch implementation.
15413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15414 file.
15415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15416 file.
15417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15418 file.
15419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15420 file.
15421 multiarch llround for PPC64.
15422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15423 multiarch ceil for PPC64.
15424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15425 multiarch ceilf for PPC64.
15426
c3627f6e
AZ
15427 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15428 multiarch implementation.
15429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15430 file.
15431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15432 file.
15433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15434 file.
15435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15436 multiarch llround for PPC64.
15437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15438 multiarch lround for PPC64.
15439
b2284ad7
AZ
15440 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15441 multiarch implementation.
15442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15445 file.
15446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15449 multiarch isnan for PPC64.
15450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15451 multiarch isnanf for PPC64.
15452
69bbc63d
AZ
15453 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15454 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15455 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15456 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15457 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15459
c24517c9
AZ
15460 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15461 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15462 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15463 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15464
a52374e8
AZ
15465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15466 multiarch implementations.
15467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15468 (__libc_ifunc_impl_list): Likewise.
15469 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15470 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15471 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15472 multiarch stpcpy for PPC64.
15473
7f5ec113
AZ
15474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15475 multiarch implementations.
15476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15477 (__libc_ifunc_impl_list): Likewise.
15478 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15479 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15480 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15481 multiarch strcpy for PPC64.
15482
e28bcd42
AZ
15483 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15484 redefine function name.
15485 (_wordcopy_fwd_dest_aligned): Likewise.
15486 (_wordcopy_bwd_aligned): Likewise.
15487 (_wordcopy_bwd_dest_aligned): Likewise.
15488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15489 multiarch implementations.
15490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15491 (__libc_ifunc_impl_list): Likewise.
15492 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15493 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15494 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15495 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15496 multiarch wcscpy for PPC64.
15497
92cacfce
AZ
15498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15499 multiarch implementations.
15500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15501 (__libc_ifunc_impl_list): Likewise.
15502 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15503 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15504 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15505 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15506 multiarch wcscpy for PPC64.
15507
7b714620
AZ
15508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15509 multiarch implementations.
15510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15511 (__libc_ifunc_impl_list): Likewise.
15512 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15513 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15514 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15515 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15516 multiarch wcsrchr for PPC64.
15517
16fd2ae3
AZ
15518 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15519 multiarch implementations.
15520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15521 (__libc_ifunc_impl_list): Likewise.
15522 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15523 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15524 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15525 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15526 multiarch wcschr for PPC64.
15527
9ee2969b
AZ
15528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15529 multiarch implementations.
15530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15531 (__libc_ifunc_impl_list): Likewise.
15532 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15533 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15534 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15535 multiarch strchrnul for PPC64.
15536
372dc060
AZ
15537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15538 implementations.
15539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15540 (__libc_ifunc_impl_list): Likewise.
15541 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15542 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15543 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15544 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15545 strchr for PPC64.
15546
24c2c3b9
AZ
15547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15548 implementations.
15549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15550 (__libc_ifunc_impl_list): Likewise.
15551 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15552 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15553 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15554 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15555 strncmp for PPC64.
15556
1c92d9a0
AZ
15557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15558 multiarch implementations.
15559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15560 (__libc_ifunc_impl_list): Likewise.
15561 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15562 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15563 strncasecmp for PPC64.
15564 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15565 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15566 multiarch strncasecmp_l for PPC64.
15567
17de3ee3
AZ
15568 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15569 multiarch implementations.
15570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15571 (__libc_ifunc_impl_list): Likewise.
15572 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15573 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15574 multiarch strcasecmp for PPC64.
15575 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15576 file.
15577 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15578 multiarch strcasecmp_l for PPC64.
15579
62982bf9
AZ
15580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15581 implementations.
15582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15583 (__libc_ifunc_impl_list): Likewise.
15584 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15585 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15586 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15587 strnlen for PPC64.
15588
a65f4904
AZ
15589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15590 implementations.
15591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15592 (__libc_ifunc_impl_list): Likewise.
15593 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15594 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15595 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15596 strlen for PPC64.
15597
1fd005ad
AZ
15598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15599 implementations.
15600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15601 (__libc_ifunc_impl_list): Likewise.
15602 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15603 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15604 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15605 rawmemrchr for PPC64.
15606
cd05ba91
AZ
15607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15608 implementation.
15609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15610 (__libc_ifunc_impl_list): Likewise.
15611 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15612 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15613 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15614 memrchr for PPC64.
15615
870f8676
AZ
15616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15617 implementation.
15618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15619 (__libc_ifunc_impl_list): Likewise.
15620 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15621 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15622 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15623 memchr for PPC64.
15624
f00be62b
AZ
15625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15626 implementation.
15627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15628 (__libc_ifunc_impl_list): Likewise.
15629 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15630 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15631 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15632 mempcpy for PPC64.
15633
8a29a3d0
AZ
15634 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15635 avoid cretion of __bzero symbol.
15636 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15637 Likewise.
15638 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15639 Likewise.
15640 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15641 Likewise.
15642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15643 multiarch implementations.
15644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15645 (__libc_ifunc_impl_list): Likewise.
15646 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15647 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15648 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15649 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15650 bzero for PPC32.
15651 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15652 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15653 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15654 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15655 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15656 memset for PPC64.
15657 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15658
07253fcf
AZ
15659 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15661 implementations.
15662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15663 (__libc_ifunc_impl_list): Likewise.
15664 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15665 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15666 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15667 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15668 memcmp for PPC64.
15669
b5beafbc
AZ
15670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15671 multiarch for POWER/PPC64.
15672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15673 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15674 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15675 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15676 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15677 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15678 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15679 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15680 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15681 memcpy for PPC64.
15682
5e6a4d4b
AZ
15683 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15684 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15685 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15686 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15687 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15688 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15689 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15690 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15691 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15692 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15693 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15694 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15695 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15696 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15697 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15705
ddfab6dc
KK
157062013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15707
15708 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15709
19b5525e
SP
157102013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15711
15712 * benchtests/Makefile (bench): Add exp2 and log2.
15713 (LDLIBS-bench-exp2): Add -lm.
15714 (LDLIBS-bench-log2): Likewise.
15715 * benchtests/exp2-inputs: New inputs file.
15716 * benchtests/log2-inputs: New inputs file.
15717 * benchtests/log-inputs: Add new inputs.
15718 * benchtests/tan-inputs: Likewise.
15719
196f7f5d
SP
157202013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15721
7a74607f
SP
15722 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15723 definition...
57f41c40
AS
15724 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15725 (csloww2): ... from here.
7a74607f 15726
196f7f5d
SP
15727 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15728 instead of structures.
15729 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15730 (POLYNOMIAL): Likewise.
15731 (TAYLOR_SLOW): Likewise.
15732 (__sin): Likewise.
15733 (__cos): Likewise.
15734 (slow1): Likewise.
15735 (slow2): Likewise.
15736 (sloww): Likewise.
15737 (sloww1); Likewise.
15738 (sloww2): Likewise.
15739 (bsloww1): Likewise.
15740 (bsloww2): Likewise.
15741 (cslow2): Likewise.
15742 (csloww): Likewise.
15743 (csloww1): Likewise.
15744 (csloww2): Likewise.
15745
0dfa665c
OB
157462013-12-10 Ondřej Bílka <neleai@seznam.cz>
15747
15748 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15749 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15750 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15751 * malloc/hooks.c (realloc_check): Likewise.
15752
5782a80f
OB
15753 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15754 * malloc/arena.c: Remove PER_THREAD conditional.
15755 [!PER_THREAD]: Remove code.
15756 (ptmalloc_unlock_all2): Likewise.
15757 (ptmalloc_init): Likewise.
15758 (_int_new_arena): Likewise.
15759 (arena_get2): Likewise.
15760 * malloc/hooks.c (__malloc_get_state): Likewise.
15761 (__malloc_set_state): Likewise.
15762 * malloc/malloc.c: Likewise.
15763 (struct malloc_state): Likewise.
15764 (struct malloc_par): Likewise.
15765 (__libc_realloc): Likewise.
15766 (__libc_mallopt): Likewise.
15767
aeb95445
AZ
157682013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15769
15770 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15771
e8349efd
OB
157722013-12-09 Ondřej Bílka <neleai@seznam.cz>
15773
15774 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15775 macro to a function. Check for zero perturb_byte.
15776 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15777
f3eeb3fc 15778 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15779 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15780 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15781 force_reg by atomic_forced_read.
15782 * malloc/arena.c (ptmalloc_init): Likewise.
15783 * malloc/hooks.c (top_check): Likewise.
15784
be2f9009
AZ
157852013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15786
15787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15788
e7b914bd
MT
157892013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15790
15791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15792
9f0be4f8
JM
157932013-12-08 Joseph Myers <joseph@codesourcery.com>
15794
15795 * math/auto-libm-test-in: Add tests of lgamma.
15796 * math/auto-libm-test-out: Regenerated.
15797 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15798 (M_LOG_2_SQRT_PIl): Likewise.
15799 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15800 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15801 mpfr_f_f1.
15802 (func_calc_desc): Add mpfr_f_f1 union field.
15803 (ARGS1): New macro.
15804 (ARGS2): Likewise.
15805 (ARGS3): Likewise.
15806 (ARGS4): Likewise.
15807 (RET1): Likewise.
15808 (RET2): Likewise.
15809 (CALC): Likewise.
15810 (FUNC): Likewise.
15811 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15812 (test_functions): Add lgamma.
15813 (calc_generic_results): Handle mpfr_f_f1.
15814 * sysdeps/i386/fpu/libm-test-ulps: Update.
15815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15816
24eeafdb
AZ
158172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15818
15819 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15820 __mpn_add_n for PowerPC64/POWER7.
15821 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15822 __mpn_sub_n for PowerPC64/POWER7.
15823
4a2c0fd4
AZ
15824 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15825 __mpn_addmul_1 for PowerPC64.
15826 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15827 __mpn_submul_1 for PowerPC64.
15828 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15829 for PowerPC64.
15830 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15831 for PowerPC64.
15832
4b5b548c
FS
158332013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15834
15835 [BZ #15089]
15836 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15837
0a3ac0aa
AZ
158382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15839
15840 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15841
ccdc8438
AZ
15842 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15843 add multiarch folders.
15844 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15845 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15846 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15847 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15848 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15849 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15850 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15851 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15852 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15853 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15854 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15861
2e973d99
AZ
15862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15863 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15865 New file.
15866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15867 New file.
15868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15869 multiarch __ieee754_hypot for PowerPC32.
15870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15871 New file.
15872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15873 New file.
15874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15875 multiarch __ieee754_hypotf for PowerPC32.
15876
2d9470b2
AZ
15877 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15878 long_double_symbol only if __logbl is defined.
15879 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15880 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15881 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15882 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15883 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15884 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15885 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15886 path for implementation.
15887 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15888 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15890 logb, and logbl multiarch implementations for PowerPC32.
15891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15892 file.
15893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15894 file.
15895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15896 multiarch logb for PowerPC32.
15897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15898 file.
15899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15900 file.
15901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15902 multiarch logbf for PowerPC32.
15903 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15905 file.
15906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15907 multiarch logbl implementation for PowerPC32.
15908
5212ffce
AZ
15909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15910 and modff multiarch implementations.
15911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15912 New file.
15913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15914 New file.
15915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15916 multiarch modf for PowerPC32.
15917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15918 New file.
15919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15920 New file.
15921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15922 multiarch modff for PowerPC32.
15923
79dccf31
AZ
15924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15925 and lrintf multiarch implementations.
15926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15927 New file.
15928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15929 New file.
15930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15931 multiarch lrint for PowerPC32.
15932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15933 file: multiarch lrintf for PowerPC32.
15934
deb66480
AZ
15935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15936 and lroundf multiarch implementations.
15937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15938 New file.
15939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15940 New file.
15941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15942 New file.
15943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15944 multiarch lround for PowerPC32.
15945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15946 file: multiarch lroundf for PowerPC32.
15947
264b036b
AZ
15948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15949 copysign and copysignf multiarch implementations.
15950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15951 New file.
15952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15953 New file.
15954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15955 file: multiarch copysign for PowerPC32.
15956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15957 file: multiarch copysignf for PowerPC32.
15958
d47db6c9
AZ
15959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15960 and truncf multiarch implementations.
15961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15962 New file.
15963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15964 file.
15965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15966 multiarch trunc for PowerPC32.
15967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15968 New file.
15969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15970 New file.
15971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15972 multiarch truncf for PowerPC32.
15973
ddb60b5a
AZ
15974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15975 and roundf multiarch implementations.
15976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15977 New file.
15978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15979 file.
15980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15981 multiarch round for PowerPC32.
15982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15983 New file.
15984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15985 New file.
15986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15987 multiarch roundf for PowerPC32.
15988
bedcf49b
AZ
15989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15990 and floorf multiarch implementations.
15991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15992 New file.
15993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15994 file.
15995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15996 multiarch floor for PowerPC32.
15997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15998 New file.
15999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16000 New file.
16001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16002 multiarch floorf for PowerPC32.
16003
35ae5b40
AZ
16004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16005 and ceilf multiarch implementations.
16006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16007 New file.
16008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16009 file.
16010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16011 multiarch ceil for PowerPC32.
16012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16013 New file.
16014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16015 file.
16016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16017 multiarch ceilf for PowerPC32.
16018
ae1a4cd9
AZ
16019 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16020 is defined.
16021 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16022 FINITEF is defined.
16023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16024 and finitef multiarch implementations.
16025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16026 New file.
16027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16028 file.
16029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16030 multiarch finite for PowerPC32.
16031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16032 New file.
16033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16034 file: multiarch finitef for PowerPC32.
16035
64fffd65
AZ
16036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16037 and isinff multiarch implementations.
16038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16039 file.
16040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16041 file.
16042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16043 multiarch isinf for PowerPC32.
16044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16045 New file.
16046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16047 multiarch isinff for PowerPC32.
16048
8e4e7ba2
AZ
16049 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16050 alias when __isnan is defined.
16051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16052 and isnanf multiarch implementations.
16053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16054 file.
16055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16056 file.
16057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16058 file.
16059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16060 file.
16061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16062 multiarch isnan for PowerPC32.
16063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16064 New file.
16065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16066 New file.
16067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16068 multiarch isnanf for PowerPC32.
16069
ddba588e
AZ
16070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16071 and sqrtf multiarch implementations.
16072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16073 file.
16074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16075 file.
16076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16077 multiarch sqrt for PowerPC32.
16078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16079 file.
16080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16081 file.
16082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16083 multiarch sqrtf for PowerPC32.
16084
0f96a2f0
AZ
16085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16086 and llroundf multiarch implementations.
16087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16088 New file.
16089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16090 New file.
16091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16092 New file.
16093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16094 file: multiarch llround for PowerPC32.
16095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16096 file: multiarch llroundf for PowerPC32.
16097
c9b5d79e
AZ
16098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16099 multiarch PowerPC32 fpu implementations.
16100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16101 New file.
16102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16103 New file.
16104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16105 multiarch llrint for PowerPC32.
16106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16107 New file.
16108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16109 New file.
16110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16111 file.
16112
9cbb3aab
AZ
16113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16114
ea5a72f8
AZ
16115 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16116 file.
16117 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16118 file.
16119 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16120 file.
16121 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16122 multiarch wordcopy for PPC32.
16123 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16124 wordcopy objects.
16125 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16126 (__libc_ifunc_impl_list): Likewise.
16127 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16128 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16129 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16130 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16131 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16132 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16133
93be09e7
AZ
16134 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16135 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16136 file.
16137 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16138 file.
16139 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16140 file.
16141 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16142 multiarch wcscpy for PPC32.
16143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16144 multiarch objects.
16145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16146 (__libc_ifunc_impl_list): Likewise.
16147 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16148 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16149 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16150 sysdeps/powerpc/power6/wcscpy.c.
16151
bb04e529
AZ
16152 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16154 file.
16155 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16156 file.
16157 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16158 file.
16159 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16160 multiarch wcsrchr for PPC32.
16161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16162 multiarch objects.
16163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16164 (__libc_ifunc_impl_list): Likewise.
16165 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16166 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16167 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16168 sysdeps/powerpc/power6/wcsrchr.c.
16169
05b5cd1c
AZ
16170 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16171 file.
16172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16173 file.
16174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16175 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16176 multiarch wcschr for PPc32.
16177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16178 multiarch objects.
16179 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16180 (__libc_ifunc_impl_list): Likewise.
16181 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16182 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16183 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16184 sysdeps/powerpc/power6/wcschr.c.
16185
ba964147
AZ
16186 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16187 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16188 file.
16189 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16190 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16191 file: multiarch strchr for PPC32.
16192 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16193 multiarch objects.
16194 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16195 (__libc_ifunc_impl_list): Likewise.
16196
31c81aaa
AZ
16197 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16198 name.
16199 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16200 file.
16201 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16202 file.
16203 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16204 multiarch strchrnul for PPC32.
16205 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16206 multiarch objects.
16207 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16208 (__libc_ifunc_impl_list): Likewise.
16209
0d0607d9
AZ
16210 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16211 file.
16212 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16213 multiarch strncasecmp for PPC32.
16214 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16215 file.
16216 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16217 multiarch strncasecmp_l for PPC32.
16218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16219 strncasecmp multiarch objects.
16220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16221 (__libc_ifunc_impl_list): Likewise.
16222
4dfd5c86
AZ
16223 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16224 file.
16225 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16226 multiarch strncasecmp for PPC32.
16227 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16228 New file.
16229 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16230 multiarch strcasecmp_l for PPC32.
16231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16232 multiarch objects.
16233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16234 (__libc_ifunc_impl_list): Likewise.
16235
a19e01a3
AZ
16236 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16237 file.
16238 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16239 file.
16240 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16241 multiarch strncmp for PPC32.
16242 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16243 multiarch objects.
16244 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16245 (__libc_ifunc_impl_list): Likewise.
16246
ae9cf7a2
AZ
16247 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16248 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16249 file.
16250 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16251 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16253 multiarch objects.
16254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16255 (__libc_ifunc_impl_list): Likewise.
16256
3148bb7d
AZ
16257 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16258 file.
16259 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16260 file.
16261 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16262 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16263 multiarch objects.
16264 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16265 (__libc_ifunc_impl_list): Likewise.
16266
7af8b946
AZ
16267 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16268 file.
16269 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16270 file.
16271 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16272 multiarch rawmemchr for PPC32.
16273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16274 multiarch objects.
16275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16276 (__libc_ifunc_impl_list): Likewise.
16277
03a6aa6a
AZ
16278 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16279 file.
16280 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16281 file.
16282 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16283 file: memrchr multiarch for PPC32.
16284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16285 multiarch objects.
16286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16287 (__libc_ifunc_impl_list): Likewise.
16288
1c62e6d9
AZ
16289 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16290 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16291 file.
16292 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16293 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16294 multiarch memchr for PPC32.
16295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16296 multiarch objects.
16297 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16298 (__libc_ifunc_impl_list): Likewise.
16299
87da8bdb
AZ
16300 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16301 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16302 file.
16303 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16304 file.
16305 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16306 file: multiarch mempcpy for PPC32.
16307 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16308 multiarch objects.
16309 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16310 (__libc_ifunc_impl_list): Likewise.
16311
20ed4714
AZ
16312 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16313 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16314 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16315 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16316 multiarch bzero for PPC32.
16317 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16318 file.
16319 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16320 file.
16321 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16322 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16323 file: multiarch memset for PPC32.
16324 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16326 memset multiarch objects.
16327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16328 (__libc_ifunc_impl_list): Likewise.
16329
ab3e3a46
AZ
16330 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16331 file.
16332 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16333 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16334 memcmp for PPC32.
16335 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16336 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16337 multiarch objects.
16338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16339 (__libc_ifunc_impl_list): Likewise.
16340
930de6f0
AZ
16341 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16342 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16343 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16344 file.
16345 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16346 file.
16347 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16348 file.
16349 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16350 multiarch memcpy for PPC32.
16351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16352 multiarch objects.
16353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16354 (__libc_ifunc_impl_list): Likewise.
16355
4c628e00
AZ
16356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16357 support multiarch for POWER/PPC32.
16358 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16359 Likewise.
16360 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16362 Implies file to make multiarch folder appers before the fpu and
16363 default folder for power4 configuration.
16364
f4479220
SP
163652013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16366
16367 * scripts/bench.pl: Append volatile keyword to type.
16368
8517800f
KK
163692013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16370
16371 * sysdeps/sh/sotruss-lib.c: New file.
16372 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16373
180138f1
AZ
163742013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16375
16376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16377
bbf37bdc
JM
163782013-12-05 Joseph Myers <joseph@codesourcery.com>
16379
e47cc4e0
JM
16380 [BZ #6810]
16381 * math/w_tgamma.c: Include <errno.h>.
16382 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16383 * math/w_tgammaf.c: Include <errno.h>.
16384 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16385 * math/w_tgammal.c: Include <errno.h>.
16386 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16387 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16388 underflow. Add more tgamma tests.
16389 * math/auto-libm-test-out: Regenerated.
16390 * sysdeps/i386/fpu/libm-test-ulps: Update.
16391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16392
bbf37bdc
JM
16393 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16394 sin, sinh, tan, tanh, tgamma, y0 and y1.
16395 * math/auto-libm-test-out: Regenerated.
16396 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16397 (TEST_COND_x86): Likewise.
16398 (M_E2l): Remove macro.
16399 (M_E3l): Likewise.
16400 (M_2_SQRT_PIl): Likewise.
16401 (M_SQRT_PIl): Likewise.
16402 (M_1_DIV_El): Likewise.
16403 (log_test_data): Use AUTO_TESTS_f_f.
16404 (log10_test_data): Likewise.
16405 (log1p_test_data): Likewise.
16406 (log2_test_data): Likewise.
16407 (sin_test_data): Likewise.
16408 (sin_tonearest_test_data): Likewise.
16409 (sin_towardzero_test_data): Likewise.
16410 (sin_downward_test_data): Likewise.
16411 (sin_upward_test_data): Likewise.
16412 (sinh_test_data): Likewise.
16413 (sinh_tonearest_test_data): Likewise.
16414 (sinh_towardzero_test_data): Likewise.
16415 (sinh_downward_test_data): Likewise.
16416 (sinh_upward_test_data): Likewise.
16417 (tan_test_data): Likewise.
16418 (tan_tonearest_test_data): Likewise.
16419 (tan_towardzero_test_data): Likewise.
16420 (tan_downward_test_data): Likewise.
16421 (tan_upward_test_data): Likewise.
16422 (tanh_test_data): Likewise.
16423 (tgamma_test_data): Likewise.
16424 (y0_test_data): Likewise.
16425 (y1_test_data): Likewise.
16426 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16427 (special_real_inputs): Add pi/4.
16428 * sysdeps/i386/fpu/libm-test-ulps: Update.
16429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16430
eb5ad6b9
AZ
164312013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16432
16433 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16434 "longjmp_target" static probes.
16435 (__longjmp): Rename to __longjmp_symbol.
16436 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16437 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16438 on which longjmp to generate.
16439 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16440 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16441 probe.
16442 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16443 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16444 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16445 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16446 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16447 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16449 __longjmp_symbol based on which __longjmp to generate.
16450 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16451 probe.
16452 (setjmp): Rename to setjmp_symbol.
16453 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16454 (_setjmp): Rename to _setjmp_symbol.
16455 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16456 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16457 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16458 which setjmp to generate.
16459 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16460 "longjmp_target" static probes.
16461
d136c6dc
SP
164622013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16463
9298ecba
SP
16464 * benchtests/README: Add note about output arguments.
16465 * benchtests/bench-sincos.c: Remove file.
16466 * benchtests/sincos-inputs: New file.
16467 * scripts/bench.pl: Identify output arguments and define
16468 static variables for them.
16469
232983e9
SP
16470 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16471
d136c6dc
SP
16472 [BZ #15941]
16473 * Makefile (INSTALL): Add install-plain.texi as the primary
16474 dependency.
16475 * manual/install-plain.texi: New file.
16476 * manual/install.texi: Include node directive only for
16477 non-plaintext output.
16478
699ff837
JM
164792013-12-04 Joseph Myers <joseph@codesourcery.com>
16480
ab07cea8
JM
16481 * stdlib/longlong.h: Update from GCC.
16482
699ff837
JM
16483 [BZ #6807]
16484 [BZ #15901]
16485 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16486 * math/w_j0f.c (y0f): Likewise.
16487 * math/w_j0l.c (__y0l): Likewise.
16488 * math/w_j1.c (y1): Likewise.
16489 * math/w_j1f.c (y1f): Likewise.
16490 * math/w_j1l.c (__y1l): Likewise
16491 * math/w_jn.c (yn): Likewise.
16492 * math/w_jnf.c (ynf): Likewise.
16493 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16494 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16495 value for Bessel function domain errors outside _SVID_ mode.
16496 Adjust sign of return value for yn (negative integer, 0).
16497 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16498 by zero in return for negative x and set sign appropriately for
16499 negative n.
16500 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16501 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16502 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16503 expectations in error cases.
16504 (y1_test_data): Likewise.
16505 (yn_test_data): Likewise.
16506 * sysdeps/i386/fpu/libm-test-ulps: Update.
16507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16508
5b118558
UW
165092013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16510
16511 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16512 "64" to "64-v1". Add "64-v2".
16513 (abi-64-options): Rename to ...
16514 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16515 (abi-64-condition): Rename to ...
16516 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16517 (abi-64-ld-soname): Rename to ...
16518 (abi-64-v1-ld-soname): ... this.
16519 (abi-64-v2-options): Define.
16520 (abi-64-v2-condition): Likewise.
16521 (abi-64-v2-ld-soname): Likewise.
16522 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16523 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16527
61cd8fe4
UW
165282013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16529 Alan Modra <amodra@gmail.com>
16530
16531 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16532 New versions for use with the ELFv2 ABI.
16533 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16534 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16535 declaration.
16536 (struct La_ppc64v2_retval): Likewise.
16537 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16538 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16539 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16540 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16541 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16542 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16543 Do not save or restore CR.
16544 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16545 (_dl_profile_resolve): Do no save or restore CR. Support extended
16546 return values for ELFv2 ABI. Fix location of FPR return registers.
16547 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16548 updated values for _CALL_ELF == 2.
16549 (La_regs, La_retval, int_retval): Likewise.
16550
8b8a692c
UW
165512013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16552
16553 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16554 (FRAME_MIN_SIZE_PARM): Likewise.
16555 (FRAME_BACKCHAIN): Likewise.
16556 (FRAME_CR_SAVE): Likewise.
16557 (FRAME_LR_SAVE): Likewise.
16558 (FRAME_TOC_SAVE): Likewise.
16559 (FRAME_PARM_SAVE): Likewise.
16560 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16561 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16562 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16563 (call_mcount_parm_offset): New macro.
16564 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16565 (PROF): Use symbolic stack frame offsets.
16566 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16567 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16568 Redefine in terms of FRAME_MIN_SIZE.
16569 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16570 (_dl_profile_resolve): Likewise. Update comment.
16571 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16572 symbols stack frame offsets.
16573 (__sigsetjmp): Likewise.
16574 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16575 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16576 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16577 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16578
16579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16580 (FRAME_BACKCHAIN): Remove.
16581 (FRAME_CR_SAVE): Likewise.
16582 (FRAME_LR_SAVE): Likewise.
16583 (FRAME_COMPILER_DW): Likewise.
16584 (FRAME_LINKER_DW): Likewise.
16585 (FRAME_TOC_SAVE): Likewise.
16586 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16587 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16588 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16589 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16591 (CHECK_SP): Use symbolic stack frame offsets.
16592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16593 zone" instead of caller's parameter save area for temp storage.
16594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16595 Likewise. Also, use symbolic stack frame offsets.
16596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16597 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16598 our own stack frame instead of the caller's.
16599 (__socket): Use symbolic stack frame offsets.
16600
122b66de
UW
166012013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16602 Alan Modra <amodra@gmail.com>
16603
16604 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16605 Define.
57f41c40
AS
16606 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16607 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16608 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16609 New function.
16610 (elf_machine_fixup_plt): Call it.
16611 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16612 reloc arguments.
16613 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16614 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16615 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16616 r2 before calling target.
16617
696caf1d
UW
166182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16619 Alan Modra <amodra@gmail.com>
16620
16621 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16622 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16623 versions of macros to support ELFv2 ABI.
16624 (LOCALENTRY): New macro.
16625 (ENTRY, EALIGN): Use it.
16626 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16627 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16628 fall through into ENTRY entry point.
16629 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16630 Only define if _CALL_ELF != 2.
16631
16632 (elf_machine_matches_host): Verify ABI version matches.
16633 (RTLD_START): Use LOCALENTRY.
16634 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16635 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16636 (PLT_ENTRY_WORDS): New macro.
16637 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16638 (elf_machine_runtime_setup): Support ELFv2 ABI.
16639 (elf_machine_fixup_plt): Likewise.
16640 (elf_machine_plt_conflict): Likewise.
16641 (resolve_ifunc): Likewise.
16642 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16643 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16644 Likewise.
16645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16646 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16648 (makecontext): Support ELFv2 ABI.
16649 * elf/elf.h (EF_PPC64_ABI): Define.
16650
d31beafa
UW
166512013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16652
57f41c40
AS
16653 * sysdeps/powerpc/powerpc64/sysdep.h
16654 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16655 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16656 (ENTRY) [ASSEMBLER]: ... but instead here ...
16657 (EALIGN) [ASSEMBLER]: ... and here.
16658 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16659 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16660 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16661 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16662 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16663 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16664 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16665 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16667 Use PPC64_LOAD_FUNCPTR.
16668
b525166b
UW
16669 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16670
7ec07d9a
AM
166712013-12-04 Alan Modra <amodra@gmail.com>
16672
16673 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16674 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16675 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16676 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16677
16678 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16679 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16680 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16681 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16682 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16683 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16684
5162e7dd
UW
166852013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16686
16687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16688 (__makecontext): Fix incorrect CFI when backtracing out of
16689 context created via makecontext.
16690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16691 (__setcontext): Fix incorrect CFI during switch to new context.
16692 (__novec_setcontext): Likewise.
16693
19e3372b
OB
166942013-12-04 Ondřej Bílka <neleai@seznam.cz>
16695
16696 [BZ #4772]
16697 * time/strptime_l.c (__strptime_internal): Allow modifiers
16698 in strptime.
16699 * time/tst-strptime.c (day_tests): Add testcase.
16700
ecaf142d
SP
167012013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16702
16703 * scripts/bench.pl: Skip over blank lines.
16704
fbf964ae
PE
167052013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16706
16707 [BZ #926]
16708 * manual/time.texi (Calendar Time): Clarify what timezone functions
16709 use.
16710
fa60a674
AZ
167112013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16712
16713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16714
d674f0ef
OB
167152013-12-04 Ondřej Bílka <neleai@seznam.cz>
16716
16717 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16718 implementation.
16719 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16720 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16721 * debug/memset_chk.c (__memset_chk): Likewise.
16722 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16723 * debug/strncpy_chk.c: Likewise.
16724
17dea188
JM
167252013-12-03 Joseph Myers <joseph@codesourcery.com>
16726
749008ff
JM
16727 [BZ #15268]
16728 [BZ #15425]
16729 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16730 (__ieee754_exp): For possibly underflowing results, check size of
16731 result and force underflow exception if required.
16732 * math/auto-libm-test-in: Add more tests of exp.
16733 * math/auto-libm-test-out: Regenerated.
16734 * sysdeps/i386/fpu/libm-test-ulps: Update.
16735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16736
17dea188
JM
16737 [BZ #16283]
16738 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16739 * math/w_exp2f.c (__exp2f): Likewise.
16740 * math/w_exp2l.c (__exp2l): Likewise.
16741 * math/auto-libm-test-in: Do not allow missing errno on exp2
16742 underflow.
16743 * math/auto-libm-test-out: Regenerated.
16744
b20de2c3
OB
167452013-12-03 Ondřej Bílka <neleai@seznam.cz>
16746
16747 [BZ #16274]
16748 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16749 handle filename validation.
16750 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16751 (do_open): Delete.
16752
d8e2dbe3
JM
167532013-12-03 Joseph Myers <joseph@codesourcery.com>
16754
34e16df5
JM
16755 [BZ #6786]
16756 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16757 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16758 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16759 <float.h>.
16760 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16761 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16762 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16763 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16764 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16765 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16766 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16767 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16768 Add more erfc tests.
16769 * math/auto-libm-test-out: Regenerated.
16770 * sysdeps/i386/fpu/libm-test-ulps: Update.
16771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16772
d8e2dbe3
JM
16773 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16774 exp2, expm1, j0 and j1.
16775 * math/auto-libm-test-out: Regenerated.
16776 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16777 (erfc_test_data): Likewise.
16778 (exp_test_data): Likewise.
16779 (exp_tonearest_test_data): Likewise.
16780 (exp_towardzero_test_data): Likewise.
16781 (exp_downward_test_data): Likewise.
16782 (exp_upward_test_data): Likewise.
16783 (exp10_test_data): Likewise.
16784 (exp2_test_data): Likewise.
16785 (expm1_test_data): Likewise.
16786 (j0_test_data): Likewise.
16787 (j1_test_data): Likewise.
16788 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16789 (input_flag_type): Add flag_xfail_rounding.
16790 (input_flags): Add xfail-rounding.
16791 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16792 (output_for_one_input_case): Handle flag_xfail_rounding.
16793 * sysdeps/i386/fpu/libm-test-ulps: Update.
16794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16795
18d14251
AJ
167962013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16797
3d2e6075 16798 [BZ #16289]
18d14251
AJ
16799 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16800 division by 0.
16801
520d437b
SP
168022013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16803
16804 [BZ #16195]
16805 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16806 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16807 (STAP_PROBE0): New macro.
16808 (STAP_PROBE1): Likewise.
16809 (STAP_PROBE2): Likewise.
16810 (STAP_PROBE3): Likewise.
16811 (STAP_PROBE4): Likewise.
16812
416e0145
OB
168132013-12-02 Ondřej Bílka <neleai@seznam.cz>
16814
16815 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16816
9d17796a
SE
168172013-12-02 Steve Ellcey <sellcey@mips.com>
16818
16819 * benchtests/Makefile (bench): Add sqrt.
16820 (LDLIBS-bench-sqrt): New.
16821 * benchtests/sqrt-input: New.
16822
f524d6a8
PS
168232013-12-02 Pavel Simerda <psimerda@redhat.com>
16824
639a0ef8
PS
16825 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16826 (GAIH_EAI): Likewise.
16827 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16828 (gaih_inet): Likewise.
16829 (getaddrinfo): Don't use GAIH_EAI.
16830
f524d6a8
PS
16831 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16832 (struct gaih): Remove definition.
16833
df3aedaf
SP
168342013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16835
16836 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16837 Use HERRNOP directly.
16838
1ab19dec
AZ
168392013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16840
b42ad38d 16841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16842
176b0c79
JM
168432013-11-30 Joseph Myers <joseph@codesourcery.com>
16844
16845 * math/gen-auto-libm-tests.c (test_functions): Add more
16846 single-argument functions.
16847 (special_fill_pi_2): New function.
16848 (special_fill_minus_pi_2): Likewise.
16849 (special_fill_pi_6): Likewise.
16850 (special_fill_minus_pi_6): Likewise.
16851 (special_fill_pi_3): Likewise.
16852 (special_fill_2pi_3): Likewise.
16853 (special_fill_e): Likewise.
16854 (special_fill_1_e): Likewise.
16855 (special_fill_e_minus_1): Likewise.
16856 (special_real_inputs): Add more special inputs.
16857 (output_for_one_input_case): Do not require ERANGE on underflow to
16858 zero if round-to-nearest result does not underflow to zero, unless
16859 exact results required.
16860 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16861 atan, atanh, cbrt, cos and cosh.
16862 * math/auto-libm-test-out: Regenerated.
16863 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16864 (acos_tonearest_test_data): Likewise.
16865 (acos_towardzero_test_data): Likewise.
16866 (acos_downward_test_data): Likewise.
16867 (acos_upward_test_data): Likewise.
16868 (acosh_test_data): Likewise.
16869 (asin_test_data): Likewise.
16870 (asin_tonearest_test_data): Likewise.
16871 (asin_towardzero_test_data): Likewise.
16872 (asin_upward_test_data): Likewise.
16873 (asinh_test_data): Likewise.
16874 (atan_test_data): Likewise.
16875 (atanh_test_data): Likewise.
16876 (cbrt_test_data): Likewise.
16877 (cos_test_data): Likewise.
16878 (cos_tonearest_test_data): Likewise.
16879 (cos_towardzero_test_data): Likewise.
16880 (cos_downward_test_data): Likewise.
16881 (cos_upward_test_data): Likewise.
16882 (cosh_test_data): Likewise.
16883 (cosh_tonearest_test_data): Likewise.
16884 (cosh_towardzero_test_data): Likewise.
16885 (cosh_downward_test_data): Likewise.
16886 (cosh_upward_test_data): Likewise.
16887 * sysdeps/i386/fpu/libm-test-ulps: Update.
16888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16889
ffb536d0
JM
168902013-11-29 Joseph Myers <joseph@codesourcery.com>
16891
2a77a467
JM
16892 [BZ #6787]
16893 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16894 * math/w_exp10f.c (__exp10f): Likewise.
16895 * math/w_exp10l.c (__exp10l): Likewise.
16896 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16897 errno settings in existing tests.
16898
ea3bc4e8
JM
16899 [BZ #14032]
16900 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16901 precision control set to double precision.
16902 * sysdeps/i386/fpu/w_sqrt.c: New file.
16903 * math/auto-libm-test-in: Add more tests.
16904 * math/auto-libm-test-out: Update.
16905
0712c9d8
JM
16906 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16907 (sqrt_test_tonearest): New function.
16908 (sqrt_towardzero_test_data): New variable.
16909 (sqrt_test_towardzero): New function.
16910 (sqrt_downward_test_data): New variable.
16911 (sqrt_test_downward): New function.
16912 (sqrt_upward_test_data): New variable.
16913 (sqrt_test_upward): New function.
16914 (main): Call the new functions.
16915
ffb536d0
JM
16916 * math/gen-auto-libm-tests.c: New file.
16917 * math/auto-libm-test-in: Likewise.
16918 * math/auto-libm-test-out: New generated file.
16919 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16920 variables.
16921 (%beautify): Add generated representations of zero.
16922 (top level): Set $auto_input and call parse_auto_input.
16923 (beautify): Remove trailing "f" from hex float constants.
16924 (parse_args): Handle XFAIL_TEST.
16925 (convert_condition): New function.
16926 (or_value): Likewise.
16927 (or_cond_value): Likewise.
16928 (generate_testfile): Handle AUTO_TESTS_* lines.
16929 (parse_auto_input): New function.
16930 * math/libm-test.inc (XFAIL_TEST): New macro.
16931 (ERRNO_UNCHANGED): Update value.
16932 (ERRNO_EDOM): Likewise.
16933 (ERRNO_ERANGE): Likewise.
16934 (IGNORE_RESULT): Likewise.
16935 (TEST_COND_flt_32): New macro.
16936 (TEST_COND_dbl_64): Likewise.
16937 (TEST_COND_ldbl_96_intel): Likewise.
16938 (TEST_COND_ldbl_96_m68k): Likewise.
16939 (TEST_COND_ldbl_128): Likewise.
16940 (TEST_COND_ldbl_128ibm): Likewise.
16941 (TEST_COND_long32): Likewise.
16942 (TEST_COND_long64): Likewise.
16943 (TEST_COND_before_rounding): Likewise.
16944 (TEST_COND_after_rounding): Likewise.
16945 (enable_test): Handle XFAIL_TEST flag.
16946 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16947 with finite results.
16948 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16949 auto-libm-test-out.
16950
acd98a8e
AK
169512013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16952 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16953
16954 [BZ #16214]
16955 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16956 __tls_get_addr_internal instead of __tls_get_offset in order to
16957 avoid GOT pointer dependency. Make rtld export
16958 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16959 __tls_get_addr since we are a __tls_get_offset platform.
16960 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16961 GOT pointer being set up before.
16962 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16963
3c1c46a6
JM
169642013-11-28 Joseph Myers <joseph@codesourcery.com>
16965
7475aef5
JM
16966 * manual/math.texi (Errors in Math Functions): Document accuracy
16967 goals.
16968
8bca7cd8
JM
16969 [BZ #15004]
16970 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16971 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16972 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16973 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16974 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16975 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16976 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16977 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16978 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16979 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16980 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16981 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16982 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16983 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16984 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16985 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16986
91a1f3fe
JM
16987 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16988 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16989 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16990 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16991 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16992 Likewise.
16993 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16994 Likewise.
16995 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16996 Likewise.
16997 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16998 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16999 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17000 atomic-feupdateenv and flt-rounds.
17001 * sysdeps/powerpc/nofpu/Versions (libc): Add
17002 __atomic_feholdexcept, __atomic_feclearexcept,
17003 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17004 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17005 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17006 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17007 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17008 here.
17009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17010 Update.
17011
c5df7609
JM
17012 * manual/arith.texi (FP Exceptions): Document that exceptions may
17013 not be raised when matherr is used.
17014 (Math Error Reporting): Document overflow in directed rounding
17015 modes. Document that errno may not be set when finite values are
17016 returned on overflow. Document intent to set errno on underflow
17017 only for underflow to zero.
17018
3c1c46a6
JM
17019 [BZ #16271]
17020 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17021 round-to-nearest then adjust result for other rounding modes.
17022 * include/fenv.h (fegetround): Use libm_hidden_proto.
17023 * math/fegetround.c (fegetround): Use libm_hidden_def.
17024 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17025 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17026 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17027 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17028 Likewise.
17029 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17030 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17031 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17032 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17033
5a4c6d53
SP
170342013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17035
17036 [BZ #16077]
17037 * nss/Versions (libnss_files): Add
17038 _nss_files_gethostbyname3_r.
17039 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17040 New function.
17041 (HOST_DB_LOOKUP): Remove macro.
17042 (_nss_files_gethostbyname_r): Implement function without the
17043 HOST_DB_LOOKUP macro.
17044 (_nss_files_gethostbyname2_r): Likewise.
17045
897b98ba
OB
170462013-11-28 Ondřej Bílka <neleai@seznam.cz>
17047
17048 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17049
6f476861
UB
170502013-11-26 Uros Bizjak <ubizjak@gmail.com>
17051
17052 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17053 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17054 warning.
17055
bd12ab55
AZ
170562013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17057
17058 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17059 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17060 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17061 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17062 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17063 __fe_nomask_env_priv and attribute_hidden.
17064 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17065 (libc_feupdateenv_test_ppc): Likewise.
17066 (libc_feresetround_ppc): Likewise.
17067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17068 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17069 compat_symbol macro.
17070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17071 (__fe_nomask_env): Likewise.
17072 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17073
52bb6543
OB
170742013-11-26 Ondřej Bílka <neleai@seznam.cz>
17075
17076 * string/Makefile: Remove ifunc tests.
17077 * string/test-string.h: Define TEST_IFUNC.
17078 * string/test-bcopy-ifunc.c: Remove.
17079 * string/test-bzero-ifunc.c: Likewise.
17080 * string/test-memccpy-ifunc.c: Likewise.
17081 * string/test-memchr-ifunc.c: Likewise.
17082 * string/test-memcmp-ifunc.c: Likewise.
17083 * string/test-memcpy-ifunc.c: Likewise.
17084 * string/test-memmem-ifunc.c: Likewise.
17085 * string/test-memmove-ifunc.c: Likewise.
17086 * string/test-mempcpy-ifunc.c: Likewise.
17087 * string/test-memrchr-ifunc.c: Likewise.
17088 * string/test-memset-ifunc.c: Likewise.
17089 * string/test-rawmemchr-ifunc.c: Likewise.
17090 * string/test-stpcpy-ifunc.c: Likewise.
17091 * string/test-stpncpy-ifunc.c: Likewise.
17092 * string/test-strcasecmp-ifunc.c: Likewise.
17093 * string/test-strcasestr-ifunc.c: Likewise.
17094 * string/test-strcat-ifunc.c: Likewise.
17095 * string/test-strchr-ifunc.c: Likewise.
17096 * string/test-strchrnul-ifunc.c: Likewise.
17097 * string/test-strcmp-ifunc.c: Likewise.
17098 * string/test-strcpy-ifunc.c: Likewise.
17099 * string/test-strcspn-ifunc.c: Likewise.
17100 * string/test-strlen-ifunc.c: Likewise.
17101 * string/test-strncasecmp-ifunc.c: Likewise.
17102 * string/test-strncat-ifunc.c: Likewise.
17103 * string/test-strncmp-ifunc.c: Likewise.
17104 * string/test-strncpy-ifunc.c: Likewise.
17105 * string/test-strnlen-ifunc.c: Likewise.
17106 * string/test-strpbrk-ifunc.c: Likewise.
17107 * string/test-strrchr-ifunc.c: Likewise.
17108 * string/test-strspn-ifunc.c: Likewise.
17109 * string/test-strstr-ifunc.c: Likewise.
17110
ab260039 171112013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
17112
17113 * benchtests/Makefile: Remove ifunc tests.
17114 * benchtests/bench-string.h: Define TEST_IFUNC.
17115 * benchtests/bench-bcopy-ifunc.c: Remove.
17116 * benchtests/bench-bzero-ifunc.c: Likewise.
17117 * benchtests/bench-memccpy-ifunc.c: Likewise.
17118 * benchtests/bench-memchr-ifunc.c: Likewise.
17119 * benchtests/bench-memcmp-ifunc.c: Likewise.
17120 * benchtests/bench-memcpy-ifunc.c: Likewise.
17121 * benchtests/bench-memmem-ifunc.c: Likewise.
17122 * benchtests/bench-memmove-ifunc.c: Likewise.
17123 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17124 * benchtests/bench-memrchr-ifunc.c: Likewise.
17125 * benchtests/bench-memset-ifunc.c: Likewise.
17126 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17127 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17128 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17129 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17130 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17131 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17132 * benchtests/bench-strcat-ifunc.c: Likewise.
17133 * benchtests/bench-strchr-ifunc.c: Likewise.
17134 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17135 * benchtests/bench-strcmp-ifunc.c: Likewise.
17136 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17137 * benchtests/bench-strcpy-ifunc.c: Likewise.
17138 * benchtests/bench-strcspn-ifunc.c: Likewise.
17139 * benchtests/bench-strlen-ifunc.c: Likewise.
17140 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17141 * benchtests/bench-strncat-ifunc.c: Likewise.
17142 * benchtests/bench-strncmp-ifunc.c: Likewise.
17143 * benchtests/bench-strncpy-ifunc.c: Likewise.
17144 * benchtests/bench-strnlen-ifunc.c: Likewise.
17145 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17146 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 17147 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
17148 * benchtests/bench-strspn-ifunc.c: Likewise.
17149 * benchtests/bench-strstr-ifunc.c: Likewise.
17150
171512013-11-26 Ondřej Bílka <neleai@seznam.cz>
17152
ab260039
OB
17153 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17154
d1d9eaf4 171552013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 17156
d1d9eaf4
OB
17157 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17158 * rt/aio.h: Likewise.
17159 * sysdeps/gnu/bits/utmp.h: Likewise.
17160 * sysdeps/gnu/bits/utmpx.h: Likewise.
17161 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17162 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17163 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17164 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17165 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17166 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17167 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17168 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17169 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17170 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17171 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17172 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17173 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17175 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17176 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17177 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17178 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17179 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17180 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17181 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17182 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17183 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17184 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17185 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17187 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17188 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17189 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17190 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17191 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17192 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17193 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17194 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17195 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17196 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17197 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17198 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17199 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17200 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17201 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17202 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17203
a7624ed9
CD
172042013-11-25 Carlos O'Donell <carlos@redhat.com>
17205
17206 [BZ #16245]
17207 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17208 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17209
63cfe52b
JM
172102013-11-25 Joseph Myers <joseph@codesourcery.com>
17211
17212 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17213 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17214 Likewise.
17215
41e8926a
AZ
172162013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17217
17218 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17219 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17220 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17221 (__fesetround): Remove define.
17222 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17223 rounding and exceptions handling.
17224 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17225 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17226 (__fe_nomask_env): Likewise.
17227 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17228 __fegetround instead of fegetround.
17229 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17230 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17231
6851bd4d
RM
172322013-11-21 Roland McGrath <roland@hack.frob.com>
17233
070906ff
RM
17234 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17235 it's there.
17236
6851bd4d
RM
17237 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17238
84ae135d
MI
172392013-11-21 Meador Inge <meadori@codesourcery.com>
17240
17241 [BZ #11157]
17242 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17243 (encrypt_r): Likewise.
17244 * malloc/obstack.h (obstack_free): Likewise.
17245 * posix/unistd.h (encrypt): Likewise.
17246
daf75146
GM
172472013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17248
17249 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17250 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17251 DL_CALL_DT_FINI() that call the functions directly.
17252 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17253 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17254 * elf/dl-fini.c: Likewise.
17255
10ad46bc
OB
172562013-11-20 Ondřej Bílka <neleai@seznam.cz>
17257
17258 * malloc/hooks.c (memalign_check): Add alignment rounding.
17259 * malloc/malloc.c (_mid_memalign): New function.
17260 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17261 Implement by calling _mid_memalign.
17262 * manual/probes.texi (Memory Allocation Probes): Remove
17263 memory_valloc_retry and memory_pvalloc_retry.
17264
f3fd2628
SP
172652013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17266
4712799f
SP
17267 * locale/programs/locarchive.c (open_archive): Add const
17268 qualifier to ARCHIVEFNAME and copy default fname to
17269 DEFAULT_FNAME.
17270
0417b20f
SP
17271 [BZ #15601]
17272 * libio/tst-widetext.input: Rename Oriya to Odia.
17273 * locale/iso-639.def: Likewise.
17274
f3fd2628
SP
17275 * manual/probes.texi (Mathematical Function Probes): Add
17276 documentation for sin, cos, asin and acos probes.
17277 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17278 (__sin32): Add slowasin probe.
17279 (__cos32): Add slowacos probe.
17280 (__mpsin): Add slowsin probe.
17281 (__mpcos): Add slowcos probe.
17282
73c1ce4f
JM
172832013-11-19 Joseph Myers <joseph@codesourcery.com>
17284
17285 [BZ #15483]
17286 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17287 thread-local __sim_exceptions_thread and global
17288 __sim_exceptions_global.
17289 (__sim_disabled_exceptions): Change to thread-local
17290 __sim_disabled_exceptions_thread and global
17291 __sim_disabled_exceptions_global.
17292 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17293 and global __sim_round_mode_global.
17294 (__simulate_exceptions): Use thread-local floating-point state and
17295 set global state from it as needed.
17296 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17297 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17298 __sim_round_mode_thread.
17299 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17300 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17301 and global __sim_exceptions_global.
17302 (__sim_disabled_exceptions): Change to thread-local
17303 __sim_disabled_exceptions_thread and global
17304 __sim_disabled_exceptions_global.
17305 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17306 and global __sim_round_mode_global.
17307 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17308 (SIM_SET_GLOBAL): Likewise.
17309 * sysdeps/powerpc/soft-fp/sfp-machine.h
17310 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17311 __sim_round_mode_thread.
17312 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17313 __sim_disabled_exceptions_thread.
17314 (__sim_exceptions): Change to __sim_exceptions_thread.
17315 (__sim_disabled_exceptions): Change to
17316 __sim_disabled_exceptions_thread.
17317 (__sim_round_mode): Change to __sim_round_mode_thread.
17318 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17319 thread-local floating-point state and set global state from it as
17320 needed.
17321 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17322 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17323 (__sim_disabled_exceptions): Remove extern declaration.
17324 (feenableexcept): Use thread-local floating-point state and set
17325 global state from it as needed.
17326 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17327 extern declaration.
17328 (__sim_disabled_exceptions): Likewise.
17329 (__sim_round_mode): Likewise.
17330 (__fegetenv): Use thread-local floating-point state.
17331 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17332 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17333 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17334 floating-point state and set global state from it as needed.
17335 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17336 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17337 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17338 Likewise.
17339 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17340 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17341 Likewise.
17342 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17343 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17344 Use __sim_round_mode_thread.
17345 * math/test-fenv-tls.c: New file.
17346 * math/Makefile (tests): Add test-fenv-tls.
17347 ($(objpfx)test-fenv-tls): Depend on
17348 $(common-objpfx)nptl/libpthread.so.
17349
b5449b12
AS
173502013-11-19 Andreas Schwab <schwab@suse.de>
17351
17352 * locale/programs/locale.c (show_info): Decode wordarray elements.
17353 * locale/categories.def (LC_MONETARY): Add element for
17354 _NL_MONETARY_CRNCYSTR.
17355 * locale/C-monetary.c (conversion_rate): New variable.
17356 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17357 element.
17358
e186536b
CM
173592013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17360
17361 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17362 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17363
5c349950
PP
173642013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17365
17366 * elf/Makefile (tst-auxv): New test.
17367 * elf/tst-auxv.c: New
17368 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17369
699df45b
JM
173702013-11-18 Joseph Myers <joseph@codesourcery.com>
17371
17372 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17373 (hidden_proto): Caller changed.
17374 (hidden_tls_proto): New macro.
17375 (libc_hidden_tls_proto): Likewise.
17376 (rtld_hidden_tls_proto): Likewise.
17377 (libm_hidden_tls_proto): Likewise.
17378 (libresolv_hidden_tls_proto): Likewise.
17379 (librt_hidden_tls_proto): Likewise.
17380 (libdl_hidden_tls_proto): Likewise.
17381 (libnss_files_hidden_tls_proto): Likewise.
17382 (libnsl_hidden_tls_proto): Likewise.
17383 (libnss_nisplus_hidden_tls_proto): Likewise.
17384 (libutil_hidden_tls_proto): Likewise.
17385
b7589107
OB
173862013-11-18 Ondřej Bílka <neleai@seznam.cz>
17387
17388 [BZ #10253]
17389 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17390 (decompose_rpath): Defer expansion to fillin_rpath.
17391 (_dl_init_paths): Pass linkmap to fillin_rpath.
17392
250c23bd
RS
173932013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17394
17395 * benchtests/Makefile: Add strsep.
17396 * benchtests/bench-strsep.c: New file: strsep benchtest.
17397 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17398
a7931fcf
AS
173992013-11-18 Andreas Schwab <schwab@suse.de>
17400
17401 * locale/programs/locale.c (show_info) [case byte]: Check for
17402 '\377' instead of '\177'.
17403 * locale/C-monetary.c (not_available): Always use "\377".
17404 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17405 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17406 detect unavailable sign_posn locale elements.
17407 * locale/localeconv.c (__localeconv): For grouping and
17408 mon_grouping handle "\177" and "\377" like no grouping.
17409 (INT_ELEM): New macro. Use it to set all numeric members.
17410 * locale/programs/ld-monetary.c (monetary_read)
17411 <tok_mon_grouping>: Normalize single -1 to the empty string.
17412 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17413 Likewise.
17414
728dab0e
OB
174152013-11-07 Ondřej Bílka <neleai@seznam.cz>
17416
17417 [BZ #16055]
17418 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17419 when we match (nil).
17420 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17421
66294491
JM
174222013-11-16 Joseph Myers <joseph@codesourcery.com>
17423
ce665817
JM
17424 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17425 (NO_TEST_INLINE): Update value.
17426 (ERRNO_UNCHANGED): Likewise.
17427 (ERRNO_EDOM): Likewise.
17428 (ERRNO_ERANGE): Likewise.
17429 (IGNORE_RESULT): Likewise.
17430 (check_float_internal): Check signs of NaN results if
17431 TEST_NAN_SIGN used.
17432 (check_complex): Pass TEST_NAN_SIGN flag through to second
17433 check_float_internal call.
17434 (copysign_test_data): Add tests with quiet NaNs as second
17435 argument. Use TEST_NAN_SIGN.
17436 (fabs_test_data): Add test of negative quiet NaN argument. Use
17437 TEST_NAN_SIGN.
17438 (signbit_test_data): Add tests of quiet NaN argument.
17439 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17440
ee1466a9
JM
17441 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17442 $ignore_result.
17443 (parse_args): Handle function results specified as IGNORE.
17444 * math/libm-test.inc (IGNORE_RESULT): New macro.
17445 (check_float_internal): Do not check numerical result if flag
17446 IGNORE_RESULT set.
17447 (check_complex): Pass through IGNORE_RESULT to second
17448 check_float_internal call.
17449 (check_int): Do not check numerical result if flag IGNORE_RESULT
17450 set.
17451 (check_long): Likewise.
17452 (check_bool): Likewise.
17453 (check_longlong): Likewise.
17454 (lrint_test_data): Add tests of infinite and NaN arguments.
17455 (lrint_tonearest_test_data): Likewise.
17456 (lrint_towardzero_test_data): Likewise.
17457 (lrint_downward_test_data): Likewise.
17458 (lrint_upward_test_data): Likewise.
17459 (llrint_test_data): Likewise.
17460 (llrint_tonearest_test_data): Likewise.
17461 (llrint_towardzero_test_data): Likewise.
17462 (llrint_downward_test_data): Likewise.
17463 (llrint_upward_test_data): Likewise.
17464 (lround_test_data): Likewise.
17465 (llround_test_data): Likewise.
17466
14407b7e
JM
17467 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17468 (ERRNO_UNCHANGED): Update value.
17469 (ERRNO_EDOM): Likewise.
17470 (ERRNO_ERANGE): Likewise.
17471 (NO_TEST_INLINE_FLOAT): New macro.
17472 (NO_TEST_INLINE_DOUBLE): Likewise.
17473 (enable_test): New function.
17474 (RUN_TEST_f_f): Check enable_test before running test.
17475 (RUN_TEST_2_f): Likewise.
17476 (RUN_TEST_fff_f): Likewise.
17477 (RUN_TEST_c_f): Likewise.
17478 (RUN_TEST_f_f1): Likewise.
17479 (RUN_TEST_fF_f1): Likewise.
17480 (RUN_TEST_fI_f1): Likewise.
17481 (RUN_TEST_ffI_f1): Likewise.
17482 (RUN_TEST_c_c): Likewise.
17483 (RUN_TEST_cc_c): Likewise.
17484 (RUN_TEST_f_i): Likewise.
17485 (RUN_TEST_f_i_tg): Likewise.
17486 (RUN_TEST_ff_i_tg): Likewise.
17487 (RUN_TEST_f_b): Likewise.
17488 (RUN_TEST_f_b_tg): Likewise.
17489 (RUN_TEST_f_l): Likewise.
17490 (RUN_TEST_f_L): Likewise.
17491 (RUN_TEST_fFF_11): Likewise.
17492 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17493 conditionals.
17494 (cosh_test_data): Likewise.
17495 (exp_test_data): Likewise.
17496 (expm1_test_data): Likewise.
17497 (hypot_test_data): Likewise.
17498 (pow_test_data): Likewise.
17499 (sinh_test_data): Likewise.
17500 (tanh_test_data): Likewise.
17501 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17502 flags argument.
17503
ca07f197
JM
17504 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17505 tests with quiet NaN input and output.
17506 (acosh_test_data): Likewise.
17507 (asin_test_data): Likewise.
17508 (asinh_test_data): Likewise.
17509 (atan_test_data): Likewise.
17510 (atanh_test_data): Likewise.
17511 (atan2_test_data): Likewise.
17512 (cbrt_test_data): Likewise.
17513 (cos_test_data): Likewise.
17514 (cosh_test_data): Likewise.
17515 (erf_test_data): Likewise.
17516 (erfc_test_data): Likewise.
17517 (exp_test_data): Likewise.
17518 (exp10_test_data): Likewise.
17519 (exp2_test_data): Likewise.
17520 (expm1_test_data): Likewise.
17521 (hypot_test_data): Likewise.
17522 (j0_test_data): Likewise.
17523 (j1_test_data): Likewise.
17524 (jn_test_data): Likewise.
17525 (lgamma_test_data): Likewise.
17526 (log_test_data): Likewise.
17527 (log10_test_data): Likewise.
17528 (log1p_test_data): Likewise.
17529 (log2_test_data): Likewise.
17530 (pow_test_data): Likewise.
17531 (scalb_test_data): Likewise.
17532 (sin_test_data): Likewise.
17533 (sincos_test_data): Likewise.
17534 (sinh_test_data): Likewise.
17535 (tan_test_data): Likewise.
17536 (tanh_test_data): Likewise.
17537 (tgamma_test_data): Likewise.
17538 (y0_test_data): Likewise.
17539 (y1_test_data): Likewise.
17540 (yn_test_data): Likewise.
17541
66294491
JM
17542 [BZ #16167]
17543 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17544 argument being NaN and avoid computations with second argument in
17545 that case.
17546 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17547 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17548 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17549
1820b143
CL
175502013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17551
17552 * locale/iso-639.def: Add Chitwani Tharu (the).
17553
714bd261
AS
175542013-11-14 Andreas Schwab <schwab@suse.de>
17555
17556 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17557 word instead of empty string.
17558
7ab44563
AZ
175592013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17560
17561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17562 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17564 (__fe_nomask_env): Likewise.
17565
e8470ea2
SE
175662013-11-13 Steve Ellcey <sellcey@mips.com>
17567
17568 * benchtests/bench-timing.h: Include time.h.
17569
17c1d9f0
L
175702013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17571
17572 [BZ #15997]
17573 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17574 to 3.4.0 for x32.
17575 * sysdeps/unix/sysv/linux/configure: Regenerated.
17576
9310c284
JM
175772013-11-13 Joseph Myers <joseph@codesourcery.com>
17578
17579 [BZ #16151]
17580 * stdlib/strtod_l.c (round_and_return): Do not consider
17581 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17582 exponent one less than half the least subnormal exponent.
17583 * stdlib/test-strtod-round-data: Add more tests.
17584 * stdlib/tst-strtod-round.c (tests): Regenerated.
17585
7a2ad8cf
AZ
175862013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17587
17588 [BZ #14143]
17589 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17590 (__fe_mask_env): Likewise.
17591 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17592 libm_hidden_proto and add function prototype.
17593 (__fe_mask_env): Add function prototype.
17594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17595 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17597 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17599 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17600
50727aa7
MS
176012013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17602
b2f386c1 17603 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17604 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17605
a615be46
MS
176062013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17607
17608 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17609 of htab_find_slot().
17610
7ddace62
DM
176112013-11-11 David S. Miller <davem@davemloft.net>
17612
17613 [BZ #16150]
17614 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17615 symbol in the non-vis3 case in static builds.
17616 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17617 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17618 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17619 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17620
9182aa67
JK
176212013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17622
17623 [BZ #387]
17624 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17625 it is empty.
17626
450a2e2d
AZ
176272013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17628
b2f386c1
SP
17629 * benchtests/Makefile: Add bench-strtod.
17630 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17631
8ec3f656
AS
176322013-11-11 Andreas Schwab <schwab@suse.de>
17633
17634 [BZ #16153]
17635 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17636 terminating NUL in key length.
17637
76a9b998
AZ
176382013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17639
17640 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17641 Add artificial ODP entry for vDSO symbol for PPC64.
17642 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17643 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17644
e4368156
OB
176452013-11-07 Ondřej Bílka <neleai@seznam.cz>
17646
17647 [BZ #15374]
17648 * nss/getent.c (services_keys): Recognize services starting with digit.
17649
8d6bb57c
DM
176502013-11-06 David S. Miller <davem@davemloft.net>
17651
17652 [BZ #15985]
17653 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17654 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17655
e256c421
WN
176562013-11-06 Will Newton <will.newton@linaro.org>
17657
17658 * manual/memory.texi (Malloc Examples): Remove register
17659 keyword from examples.
17660
f6e12daa 176612013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17662
f6e12daa 17663 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17664
9d880655
AS
176652013-11-04 Joseph Myers <joseph@codesourcery.com>
17666
fd2f9486 17667 [BZ #6981]
9d880655
AS
17668 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17669 depending on [__GCC_IEC_559 > 0].
17670 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17671 depending on [__GCC_IEC_559_COMPLEX > 0].
17672
ae129d3c
CL
176732013-11-03 Chris Leonard <cjl@sugarlabs.org>
17674
17675 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17676 to iso-639.def.
17677
4a15c2a4 176782013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17679
17680 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17681
8b35e35d
OB
176822013-11-01 Ondřej Bílka <neleai@seznam.cz>
17683
17684 [BZ #16112]
17685 * malloc/malloc (malloc_info): Do not handle first bin as
17686 special case.
17687
1d70fd6c
CL
176882013-11-01 Chris Leonard <cjl@sugarlabs.org>
17689
17690 * locale/iso-639.def: Add Central Nahuatl (nhn).
17691
8c5c2600
BH
176922013-11-01 Bruno Haible <bruno@clisp.org>
17693
17694 [BZ #7003]
17695 * manual/math.texi (BSD Random): Specify range upper bound as
17696 in POSIX.
17697
da5579c2
CL
176982013-10-31 Chris Leonard <cjl@sugarlabs.org>
17699
17700 * locale/iso-639.def: Add Meadow Mari (mhr).
17701
5d30d853
OB
177022013-10-31 Ondřej Bílka <neleai@seznam.cz>
17703
17704 [BZ #14752], [BZ #15763]
17705 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17706 Validate name.
17707 * rt/tst_shm.c: Add test for escaping directory.
17708
a4966c61
AS
177092013-10-31 Andreas Schwab <schwab@suse.de>
17710
8a43e768 17711 [BZ #15917]
a4966c61
AS
17712 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17713 followed by 'x' as part of digit sequence.
17714 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17715
28d708c4
MAP
177162013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17717
17718 [BZ #16037]
17719 * configure.ac: allow GNU Make 4.0 and greater.
17720 * configure: Regenerated.
17721
a56ee40b
WN
177222013-10-30 Will Newton <will.newton@linaro.org>
17723
17724 [BZ #16038]
17725 * malloc/hooks.c (memalign_check): Limit alignment to the
17726 maximum representable power of two.
17727 * malloc/malloc.c (__libc_memalign): Likewise.
17728 * malloc/tst-memalign.c (do_test): Add test for very
17729 large alignment values.
17730 * malloc/tst-posix_memalign.c (do_test): Likewise.
17731
c6e4925d
OB
177322013-10-30 Ondřej Bílka <neleai@seznam.cz>
17733
17734 [BZ #11087]
17735 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17736 (munmap_chunk): Likewise.
17737 (mremap_chunk): Likewise.
17738
177392013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17740
8a43e768 17741 [BZ #15799]
bbea82f7
OB
17742 * stdlib/div.c (div): Remove obsolete code.
17743 * stdlib/ldiv.c (ldiv): Likewise.
17744 * stdlib/lldiv.c (lldiv): Likewise.
17745
977f4b31
SP
177462013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17747
17748 [BZ #16071]
17749 * nss/nss_files/files-XXX.c (get_contents_ret): New
17750 enumerator.
17751 (get_contents): New function.
17752 (internal_getent): Use it. Expand size of LINEBUFLEN.
17753
cb8a6dbd
MF
177542013-10-30 Mike Frysinger <vapier@gentoo.org>
17755
17756 * configure.in: Moved to ...
17757 * configure.ac: ... here. Change reference to configure.in
17758 to configure.ac.
17759 * sysdeps/arm/preconfigure.ac: ... here.
17760 configure.in to configure.ac.
17761 * sysdeps/gnu/configure.in: Moved to ...
17762 * sysdeps/gnu/configure.ac: ... here.
17763 * sysdeps/i386/configure.in: Moved to ...
17764 * sysdeps/i386/configure.ac: ... here.
17765 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17766 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17767 * sysdeps/mach/configure.in: Moved to ...
17768 * sysdeps/mach/configure.ac: ... here.
17769 * sysdeps/mach/hurd/configure.in: Moved to ...
17770 * sysdeps/mach/hurd/configure.ac: ... here.
17771 * sysdeps/powerpc/configure.in: Moved to ...
17772 * sysdeps/powerpc/configure.ac: ... here.
17773 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17774 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17775 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17776 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17777 * sysdeps/s390/s390-32/configure.in: Moved to ...
17778 * sysdeps/s390/s390-32/configure.ac: ... here.
17779 * sysdeps/s390/s390-64/configure.in: Moved to ...
17780 * sysdeps/s390/s390-64/configure.ac: ... here.
17781 * sysdeps/sh/configure.in: Moved to ...
17782 * sysdeps/sh/configure.ac: ... here.
17783 * sysdeps/sparc/configure.in: Moved to ...
17784 * sysdeps/sparc/configure.ac: ... here.
17785 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17786 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17787 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17788 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17789 * sysdeps/x86_64/configure.in: Moved to ...
17790 * sysdeps/x86_64/configure.ac: ... here.
17791 * sysdeps/x86_64/preconfigure.in: Moved to ...
17792 * sysdeps/x86_64/preconfigure.ac: ... here.
17793 * aclocal.m4: Change reference to configure.in to configure.ac.
17794 * config.h.in: Likewise.
17795 * manual/install.texi: Likewise.
17796 * manual/maint.texi: Likewise.
17797 * Makefile: Likewise.
17798 * malloc/Makefile: Likewise.
17799 * nscd/Makefile: Likewise.
17800 * Makeconfig: Change reference to configure.in and
17801 preconfigure.in to configure.ac and preconfigure.ac
17802 respectively.
17803 * INSTALL: Regenerated.
17804 * configure: Likewise.
17805 * sysdeps/gnu/configure: Likewise.
17806 * sysdeps/i386/configure: Likewise.
17807 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17808 * sysdeps/mach/configure: Likewise.
17809 * sysdeps/mach/hurd/configure: Likewise.
17810 * sysdeps/powerpc/configure: Likewise.
17811 * sysdeps/powerpc/powerpc32/configure: Likewise.
17812 * sysdeps/powerpc/powerpc64/configure: Likewise.
17813 * sysdeps/s390/s390-32/configure: Likewise.
17814 * sysdeps/s390/s390-64/configure: Likewise.
17815 * sysdeps/sh/configure: Likewise.
17816 * sysdeps/sparc/configure: Likewise.
17817 * sysdeps/unix/sysv/linux/configure: Likewise.
17818 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17819 * sysdeps/x86_64/configure: Likewise.
17820 * sysdeps/x86_64/preconfigure: Likewise.
17821
36a4953a
AS
178222013-10-29 Andreas Schwab <schwab@suse.de>
17823
17824 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17825
c79a1204
SP
178262013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17827
dfa1b402
SP
17828 * benchtests/pow-inputs: Add new inputs.
17829
54f73d9c
SP
17830 * benchtests/exp-inputs: Add new inputs.
17831
c79a1204
SP
17832 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17833 conditional check for return value.
17834 (__cos32): Likewise.
17835
67beb545 178362013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17837
17838 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17839 to provide a boost for large inputs with word alignment.
17840 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17841 implementation based on optimized PPC64 strcpy.
17842 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17843 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17844 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17845 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17846
151659f6
OB
178472013-10-25 Ondřej Bílka <neleai@seznam.cz>
17848
482a077e 17849 [BZ #2801]
151659f6
OB
17850 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17851
10b0f26b
OB
178522013-10-25 Ondřej Bílka <neleai@seznam.cz>
17853
17854 [BZ #14876]
17855 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17856 * time/tst-strptime.c (day_tests): Add testcase.
17857
ca42d35e
OB
178582013-10-25 Ondřej Bílka <neleai@seznam.cz>
17859
482a077e 17860 [BZ #14029]
ca42d35e
OB
17861 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17862
52e6d801
FB
178632013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17864
17865 [BZ #16074]
17866 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17867 MAP_FAILED on error.
17868
7cbcdb36
SP
178692013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17870
17871 [BZ #16072]
17872 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17873 heap for large requests.
17874
894f3f10
AM
178752013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17876
17877 [BZ #9954]
17878 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17879 result if the result has no associated interface.
17880 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17881 interface for all 127.X.Y.Z addresses.
17882
b85545a6
CL
178832013-10-24 Chris Leonard <cjl@sugarlabs.org>
17884
17885 * locale/iso-639.def: Add Ligurian (lij)
17886
d1f23d46
OB
178872013-10-21 Ondřej Bílka <neleai@seznam.cz>
17888
17889 [BZ #15825]
17890 * sunrpc/rpc_main.c: Document rpcgen -5.
17891
4db5b08f
MS
178922013-10-19 Michael Stahl <mstahl@redhat.com>
17893
17894 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17895
a471e96a
OB
178962013-10-19 Ondřej Bílka <neleai@seznam.cz>
17897
d1f23d46 17898 [BZ #10278]
a471e96a
OB
17899 * posix/glob.c: Match only directories when trailing slash is present.
17900 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17901 (main): Add testcase.
17902
45c30c61
OB
179032013-10-19 Ondřej Bílka <neleai@seznam.cz>
17904
17905 [BZ #15670]
17906 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17907
484c12fb
CD
179082013-10-18 Carlos O'Donell <carlos@redhat.com>
17909
3d7dc513
CD
17910 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17911 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17912 AUTH_DES and cindex for FIPS 140-2.
17913 (DES Encryption): Add cindex FIPS 46-3.
17914
484c12fb
CD
17915 * locale/locarchive.h (struct locarhandle): Add fname.
17916 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17917 if an optional argument was specified to --list-archive,
17918 otherwise NULL.
17919 * locale/programs/locarchive.c (show_archive_content): Take new
17920 argument fname and pass it via ah.fname to open_archive.
17921 * locale/programs/localedef.h: Update decl.
17922 (open_archive): If AH->fname is non-null, open that file
17923 rather than the default file name, and don't ignore ENOENT.
17924 (create_archive): Set AH.fname to NULL.
17925 (delete_locales_from_archive): Likewise.
17926 (add_locales_to_archive): Likewise.
17927 * locale/programs/locfile.c (write_all_categories): Likewise.
17928
3c8325fb
JM
179292013-10-18 Joseph Myers <joseph@codesourcery.com>
17930 Aldy Hernandez <aldyh@redhat.com>
17931
17932 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17933 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17934 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17935 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17936 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17937 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17938 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17939 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17940 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17941 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17942 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17943 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17944 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17945 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17946 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17947 Likewise.
17948 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17949 Likewise.
17950 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17951 Likewise.
17952 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17953 Likewise.
17954 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17955 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17956 Likewise.
17957 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17958 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17959 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17960 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17961 Likewise.
17962 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17963 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17964 * sysdeps/powerpc/preconfigure: Likewise.
17965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17966 Likewise.
17967 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17968 Replace contents of file by #include of <fenv_libc.h>.
17969 * sysdeps/powerpc/soft-fp/sfp-machine.h
17970 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17971 and <sys/prctl.h>.
17972 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17973 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17974 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17975 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17976 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17977 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17978 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17979 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17980 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17981 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17982 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17983 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17985 Allow copysignl PLT reference to be missing.
17986
5abe0682
RS
179872013-10-18 Richard Sandiford <richard@codesourcery.com>
17988 Joseph Myers <joseph@codesourcery.com
17989
17990 [BZ #15948]
17991 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17992 single character.
17993 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17994
c7738d08
SP
179952013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17996
17997 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17998 * elf/tst-tls1.c: Likewise.
17999 * elf/tst-tls10.h: Likewise.
18000 * elf/tst-tls14.c: Likewise.
18001 * elf/tst-tls2.c: Likewise.
18002 * elf/tst-tls3.c: Likewise.
18003 * elf/tst-tls4.c: Likewise.
18004 * elf/tst-tls5.c: Likewise.
18005 * elf/tst-tls6.c: Likewise.
18006 * elf/tst-tls7.c: Likewise.
18007 * elf/tst-tls8.c: Likewise.
18008 * elf/tst-tls9.c: Likewise.
18009 * elf/tst-tlsmod1.c: Likewise.
18010 * elf/tst-tlsmod13.c: Likewise.
18011 * elf/tst-tlsmod13a.c: Likewise.
18012 * elf/tst-tlsmod14a.c: Likewise.
18013 * elf/tst-tlsmod16a.c: Likewise.
18014 * elf/tst-tlsmod16b.c: Likewise.
18015 * elf/tst-tlsmod2.c: Likewise.
18016 * elf/tst-tlsmod3.c: Likewise.
18017 * elf/tst-tlsmod4.c: Likewise.
18018 * elf/tst-tlsmod5.c: Likewise.
18019 * elf/tst-tlsmod6.c: Likewise.
18020
0bfcf2c7
OB
180212013-10-18 Ondřej Bílka <neleai@seznam.cz>
18022
18023 [BZ #12486]
18024 * malloc/malloc.c: remove checks for statistics.
18025
264aad1e
OB
180262013-10-17 Ondřej Bílka <neleai@seznam.cz>
18027
18028 [BZ #15277]
18029 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18030 * inet/tst-network.c: Add testcase.
18031
b957ced8
AS
180322013-10-17 Andreas Schwab <schwab@suse.de>
18033
18034 [BZ #15218]
18035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18036 to determine canonical name.
18037
c5d5d574
OB
180382013-10-17 Ondřej Bílka <neleai@seznam.cz>
18039
18040 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18041 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18042 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18043 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18044 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18045 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18051 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18053 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18055 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18064 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18065 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18066 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18067 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18068 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18069 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18070 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18071 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18072 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18073 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18074 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18075 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18076 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18077 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18078 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18079 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18080 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18081 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18082 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18083 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18084 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18085 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18089 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18090 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18091 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18092 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18098
e5c2c2d0
JM
180992013-10-17 Joseph Myers <joseph@codesourcery.com>
18100
18101 [BZ #16041]
18102 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18103 make result into a quiet NaN.
18104
51ca9e29
JM
181052013-10-16 Joseph Myers <joseph@codesourcery.com>
18106
18107 * soft-fp/adddf3.c: Fix horizontal whitespace.
18108 * soft-fp/addsf3.c: Likewise.
18109 * soft-fp/addtf3.c: Likewise.
18110 * soft-fp/divdf3.c: Likewise.
18111 * soft-fp/divsf3.c: Likewise.
18112 * soft-fp/divtf3.c: Likewise.
18113 * soft-fp/double.h: Likewise.
18114 * soft-fp/eqdf2.c: Likewise.
18115 * soft-fp/eqsf2.c: Likewise.
18116 * soft-fp/eqtf2.c: Likewise.
18117 * soft-fp/extenddftf2.c: Likewise.
18118 * soft-fp/extended.h: Likewise.
18119 * soft-fp/extendsfdf2.c: Likewise.
18120 * soft-fp/extendsftf2.c: Likewise.
18121 * soft-fp/extendxftf2.c: Likewise.
18122 * soft-fp/fixdfdi.c: Likewise.
18123 * soft-fp/fixdfsi.c: Likewise.
18124 * soft-fp/fixdfti.c: Likewise.
18125 * soft-fp/fixsfdi.c: Likewise.
18126 * soft-fp/fixsfsi.c: Likewise.
18127 * soft-fp/fixsfti.c: Likewise.
18128 * soft-fp/fixtfdi.c: Likewise.
18129 * soft-fp/fixtfsi.c: Likewise.
18130 * soft-fp/fixtfti.c: Likewise.
18131 * soft-fp/fixunsdfdi.c: Likewise.
18132 * soft-fp/fixunsdfsi.c: Likewise.
18133 * soft-fp/fixunsdfti.c: Likewise.
18134 * soft-fp/fixunssfdi.c: Likewise.
18135 * soft-fp/fixunssfsi.c: Likewise.
18136 * soft-fp/fixunssfti.c: Likewise.
18137 * soft-fp/fixunstfdi.c: Likewise.
18138 * soft-fp/fixunstfsi.c: Likewise.
18139 * soft-fp/fixunstfti.c: Likewise.
18140 * soft-fp/floatdidf.c: Likewise.
18141 * soft-fp/floatdisf.c: Likewise.
18142 * soft-fp/floatditf.c: Likewise.
18143 * soft-fp/floatsidf.c: Likewise.
18144 * soft-fp/floatsisf.c: Likewise.
18145 * soft-fp/floatsitf.c: Likewise.
18146 * soft-fp/floattidf.c: Likewise.
18147 * soft-fp/floattisf.c: Likewise.
18148 * soft-fp/floattitf.c: Likewise.
18149 * soft-fp/floatundidf.c: Likewise.
18150 * soft-fp/floatundisf.c: Likewise.
18151 * soft-fp/floatunditf.c: Likewise.
18152 * soft-fp/floatunsidf.c: Likewise.
18153 * soft-fp/floatunsisf.c: Likewise.
18154 * soft-fp/floatunsitf.c: Likewise.
18155 * soft-fp/floatuntidf.c: Likewise.
18156 * soft-fp/floatuntisf.c: Likewise.
18157 * soft-fp/floatuntitf.c: Likewise.
18158 * soft-fp/fmadf4.c: Likewise.
18159 * soft-fp/fmasf4.c: Likewise.
18160 * soft-fp/fmatf4.c: Likewise.
18161 * soft-fp/gedf2.c: Likewise.
18162 * soft-fp/gesf2.c: Likewise.
18163 * soft-fp/getf2.c: Likewise.
18164 * soft-fp/ledf2.c: Likewise.
18165 * soft-fp/lesf2.c: Likewise.
18166 * soft-fp/letf2.c: Likewise.
18167 * soft-fp/muldf3.c: Likewise.
18168 * soft-fp/mulsf3.c: Likewise.
18169 * soft-fp/multf3.c: Likewise.
18170 * soft-fp/negdf2.c: Likewise.
18171 * soft-fp/negsf2.c: Likewise.
18172 * soft-fp/negtf2.c: Likewise.
18173 * soft-fp/op-1.h: Likewise.
18174 * soft-fp/op-2.h: Likewise.
18175 * soft-fp/op-4.h: Likewise.
18176 * soft-fp/op-8.h: Likewise.
18177 * soft-fp/op-common.h: Likewise.
18178 * soft-fp/quad.h: Likewise.
18179 * soft-fp/single.h: Likewise.
18180 * soft-fp/soft-fp.h: Likewise.
18181 * soft-fp/sqrtdf2.c: Likewise.
18182 * soft-fp/sqrtsf2.c: Likewise.
18183 * soft-fp/sqrttf2.c: Likewise.
18184 * soft-fp/subdf3.c: Likewise.
18185 * soft-fp/subsf3.c: Likewise.
18186 * soft-fp/subtf3.c: Likewise.
18187 * soft-fp/truncdfsf2.c: Likewise.
18188 * soft-fp/trunctfdf2.c: Likewise.
18189 * soft-fp/trunctfsf2.c: Likewise.
18190 * soft-fp/trunctfxf2.c: Likewise.
18191 * soft-fp/unorddf2.c: Likewise.
18192 * soft-fp/unordsf2.c: Likewise.
18193 * soft-fp/unordtf2.c: Likewise.
18194
9ebb0332
JM
181952013-10-15 Joseph Myers <joseph@codesourcery.com>
18196
18197 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18198 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18199
4b1a6d8b
OB
182002013-10-15 Ondřej Bílka <neleai@seznam.cz>
18201
18202 * elf/dl-libc.c: Clear initfini list after freeing.
18203
1e145589
JM
182042013-10-14 Joseph Myers <joseph@codesourcery.com>
18205
18206 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18207 * soft-fp/addsf3.c: Likewise.
18208 * soft-fp/addtf3.c: Likewise.
18209 * soft-fp/divdf3.c: Likewise.
18210 * soft-fp/divsf3.c: Likewise.
18211 * soft-fp/divtf3.c: Likewise.
18212 * soft-fp/double.h: Likewise.
18213 * soft-fp/eqdf2.c: Likewise.
18214 * soft-fp/eqsf2.c: Likewise.
18215 * soft-fp/eqtf2.c: Likewise.
18216 * soft-fp/extenddftf2.c: Likewise.
18217 * soft-fp/extended.h: Likewise.
18218 * soft-fp/extendsfdf2.c: Likewise.
18219 * soft-fp/extendsftf2.c: Likewise.
18220 * soft-fp/extendxftf2.c: Likewise.
18221 * soft-fp/fixdfdi.c: Likewise.
18222 * soft-fp/fixdfsi.c: Likewise.
18223 * soft-fp/fixdfti.c: Likewise.
18224 * soft-fp/fixsfdi.c: Likewise.
18225 * soft-fp/fixsfsi.c: Likewise.
18226 * soft-fp/fixsfti.c: Likewise.
18227 * soft-fp/fixtfdi.c: Likewise.
18228 * soft-fp/fixtfsi.c: Likewise.
18229 * soft-fp/fixtfti.c: Likewise.
18230 * soft-fp/fixunsdfdi.c: Likewise.
18231 * soft-fp/fixunsdfsi.c: Likewise.
18232 * soft-fp/fixunsdfti.c: Likewise.
18233 * soft-fp/fixunssfdi.c: Likewise.
18234 * soft-fp/fixunssfsi.c: Likewise.
18235 * soft-fp/fixunssfti.c: Likewise.
18236 * soft-fp/fixunstfdi.c: Likewise.
18237 * soft-fp/fixunstfsi.c: Likewise.
18238 * soft-fp/fixunstfti.c: Likewise.
18239 * soft-fp/floatdidf.c: Likewise.
18240 * soft-fp/floatdisf.c: Likewise.
18241 * soft-fp/floatditf.c: Likewise.
18242 * soft-fp/floatsidf.c: Likewise.
18243 * soft-fp/floatsisf.c: Likewise.
18244 * soft-fp/floatsitf.c: Likewise.
18245 * soft-fp/floattidf.c: Likewise.
18246 * soft-fp/floattisf.c: Likewise.
18247 * soft-fp/floattitf.c: Likewise.
18248 * soft-fp/floatundidf.c: Likewise.
18249 * soft-fp/floatundisf.c: Likewise.
18250 * soft-fp/floatunsidf.c: Likewise.
18251 * soft-fp/floatunsisf.c: Likewise.
18252 * soft-fp/floatuntidf.c: Likewise.
18253 * soft-fp/floatuntisf.c: Likewise.
18254 * soft-fp/floatuntitf.c: Likewise.
18255 * soft-fp/fmadf4.c: Likewise.
18256 * soft-fp/fmasf4.c: Likewise.
18257 * soft-fp/fmatf4.c: Likewise.
18258 * soft-fp/gedf2.c: Likewise.
18259 * soft-fp/gesf2.c: Likewise.
18260 * soft-fp/getf2.c: Likewise.
18261 * soft-fp/ledf2.c: Likewise.
18262 * soft-fp/lesf2.c: Likewise.
18263 * soft-fp/letf2.c: Likewise.
18264 * soft-fp/muldf3.c: Likewise.
18265 * soft-fp/mulsf3.c: Likewise.
18266 * soft-fp/multf3.c: Likewise.
18267 * soft-fp/negdf2.c: Likewise.
18268 * soft-fp/negsf2.c: Likewise.
18269 * soft-fp/negtf2.c: Likewise.
18270 * soft-fp/op-1.h: Likewise.
18271 * soft-fp/op-2.h: Likewise.
18272 * soft-fp/op-4.h: Likewise.
18273 * soft-fp/op-8.h: Likewise.
18274 * soft-fp/op-common.h: Likewise.
18275 * soft-fp/quad.h: Likewise.
18276 * soft-fp/single.h: Likewise.
18277 * soft-fp/soft-fp.h: Likewise.
18278 * soft-fp/sqrtdf2.c: Likewise.
18279 * soft-fp/sqrtsf2.c: Likewise.
18280 * soft-fp/sqrttf2.c: Likewise.
18281 * soft-fp/subdf3.c: Likewise.
18282 * soft-fp/subsf3.c: Likewise.
18283 * soft-fp/subtf3.c: Likewise.
18284 * soft-fp/truncdfsf2.c: Likewise.
18285 * soft-fp/trunctfdf2.c: Likewise.
18286 * soft-fp/trunctfsf2.c: Likewise.
18287 * soft-fp/trunctfxf2.c: Likewise.
18288 * soft-fp/unorddf2.c: Likewise.
18289 * soft-fp/unordsf2.c: Likewise.
18290 * soft-fp/unordtf2.c: Likewise.
18291
17c48a60
OB
182922013-10-14 Ondřej Bílka <neleai@seznam.cz>
18293
18294 [BZ #15672]
18295 * misc/error.c (error_tail): Fix possible buffer overflow.
18296
cabba934
OB
182972013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18298
18299 [BZ #13028]
18300 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18301 address.
18302
94bf958a
PM
183032013-10-14 P. J. McDermott <pj@pehjota.net>
18304
18305 [BZ #832]
18306 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18307 testing pipefail option.
18308
71b4dea7
JM
183092013-10-12 Joseph Myers <joseph@codesourcery.com>
18310
18311 * soft-fp/double.h: Indent preprocessor directives inside #if.
18312 * soft-fp/extended.h: Likewise.
18313 * soft-fp/op-2.h: Likewise.
18314 * soft-fp/op-4.h: Likewise.
18315 * soft-fp/op-common.h: Likewise.
18316 * soft-fp/quad.h: Likewise.
18317 * soft-fp/single.h: Likewise.
18318 * soft-fp/soft-fp.h: Likewise.
18319
55602758
YC
183202013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18321
18322 * iconv/iconv_prog.c: Fix typos.
18323 * stdio-common/psiginfo-data.h: Likewise.
18324
9cd83302
RT
183252013-10-12 Reuben Thomas <rrt@sc3d.org>
18326
18327 [BZ #15764]
18328 * locale/setlocale.c: Fix typo.
18329
99fd9f47
JM
183302013-10-12 Joseph Myers <joseph@codesourcery.com>
18331
b7ea74f0
JM
18332 [BZ #16036]
18333 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18334 signaling NaN arguments.
18335 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18336 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18337
8a509447
JM
18338 [BZ #14910]
18339 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18340 unordered operands.
18341 * soft-fp/gesf2.c (__gesf2): Likewise.
18342 * soft-fp/getf2.c (__getf2): Likewise.
18343 * soft-fp/ledf2.c (__ledf2): Likewise.
18344 * soft-fp/lesf2.c (__lesf2): Likewise.
18345 * soft-fp/letf2.c (__letf2): Likewise.
18346
98998e9f
JM
18347 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18348 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18349 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18350 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18351 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18352 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18353 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18354 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18355 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18356 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18357 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18358 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18359 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18360 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18361 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18362 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18363 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18364 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18365 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18366 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18367 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18368 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18369 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18370 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18371 * soft-fp/floattidf.c (__floattidf): Likewise.
18372 * soft-fp/floattisf.c (__floattisf): Likewise.
18373 * soft-fp/floattitf.c (__floattitf): Likewise.
18374 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18375 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18376 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18377 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18378 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18379 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18380 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18381 * soft-fp/gesf2.c (__gesf2): Likewise.
18382 * soft-fp/getf2.c (__getf2): Likewise.
18383 * soft-fp/ledf2.c (__ledf2): Likewise.
18384 * soft-fp/lesf2.c (__lesf2): Likewise.
18385 * soft-fp/letf2.c (__letf2): Likewise.
18386
8edc4a11
JM
18387 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18388 Undefine and redefine.
18389 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18390 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18391 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18392 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18393 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18394 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18395 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18396 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18397 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18398 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18399 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18400 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18401 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18402 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18403 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18404
8399acaf
JM
18405 [BZ #16032]
18406 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18407 without decrementing exponent if mantissa >= that for the
18408 denominator, not >.
18409 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18410 denominator, not >. Decrement exponent in < case instead of
18411 incrementing in >= case.
18412 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18413 without decrementing exponent if mantissa >= that for the
18414 denominator, not >.
18415
99fd9f47
JM
18416 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18417 computing saturated result for unsigned overflow.
18418
10e1cf6b
SP
184192013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18420 Jeff Law <law@redhat.com>
18421
18422 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18423 (atan2Mp): Add systemtap probe marker.
18424 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18425 (__ieee754_log): Add systemtap probe marker.
18426 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18427 (atanMp): Add systemtap probe marker.
18428 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18429 (tanMp): Add systemtap probe marker.
18430 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18431 (__slowexp): Add systemtap probe marker.
18432 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18433 (__slowpow): Add systemtap probe marker.
18434 * manual/probes.texi: Document probes.
18435
3d110c7c
EB
184362013-10-11 Eric Biggers <ebiggers3@gmail.com>
18437
18438 [BZ #15362]
18439 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18440 written.
18441 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18442 written.
18443 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18444 written to buffer but not flushed.
18445 * libio/iofwrite_u.c: Likewise.
18446 * libio/iopadn.c: Return bytes returned even if EOF was
18447 encountered.
18448 * libio/iowpadn.c: Likewise.
18449 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18450 if _IO_padn does not write the whole buffer.
18451 [!COMPILE_WPRINTF] (PAD): Likewise.
18452
75b4202a
DM
184532013-10-10 David S. Miller <davem@davemloft.net>
18454
18455 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18456 directory block.
18457
6c6352e6
JM
184582013-10-10 Joseph Myers <joseph@codesourcery.com>
18459
33b853c3
JM
18460 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18461 instead of FSF address.
18462 * soft-fp/fixdfti.c: Likewise.
18463 * soft-fp/fixsfti.c: Likewise.
18464 * soft-fp/fixtfti.c: Likewise.
18465 * soft-fp/fixunsdfti.c: Likewise.
18466 * soft-fp/fixunssfti.c: Likewise.
18467 * soft-fp/fixunstfti.c: Likewise.
18468 * soft-fp/floattidf.c: Likewise.
18469 * soft-fp/floattisf.c: Likewise.
18470 * soft-fp/floattitf.c: Likewise.
18471 * soft-fp/floatuntidf.c: Likewise.
18472 * soft-fp/floatuntisf.c: Likewise.
18473 * soft-fp/floatuntitf.c: Likewise.
18474 * soft-fp/trunctfxf2.c: Likewise.
18475
6c6352e6
JM
18476 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18477 * soft-fp/fixdfti.c: Likewise.
18478 * soft-fp/fixsfti.c: Likewise.
18479 * soft-fp/fixtfti.c: Likewise.
18480 * soft-fp/fixunsdfti.c: Likewise.
18481 * soft-fp/fixunssfti.c: Likewise.
18482 * soft-fp/fixunstfti.c: Likewise.
18483 * soft-fp/floattidf.c: Likewise.
18484 * soft-fp/floattisf.c: Likewise.
18485 * soft-fp/floattitf.c: Likewise.
18486 * soft-fp/floatuntidf.c: Likewise.
18487 * soft-fp/floatuntisf.c: Likewise.
18488 * soft-fp/floatuntitf.c: Likewise.
18489 * soft-fp/trunctfxf2.c: Likewise.
18490
3bf78b71
DM
184912013-10-10 David S. Miller <davem@davemloft.net>
18492
18493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18494
6f10289e
JM
184952013-10-10 Joseph Myers <joseph@codsourcery.com>
18496
bd878fc0
JM
18497 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18498 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18499 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18500 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18501 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18502 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18503 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18504
6f10289e
JM
18505 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18506 for NaNs before doing comparisons on argument.
18507 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18508 Likewise.
18509
321e2684
WN
185102013-10-10 Will Newton <will.newton@linaro.org>
18511
18512 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18513 passed to _int_memalign does not overflow.
18514
40fefba1
TR
185152013-10-10 Torvald Riegel <triegel@redhat.com>
18516
18517 * scripts/bench.pl: Add include-sources directive.
18518 * benchtests/README: Update documentation.
18519
2ae21ed2
JM
185202013-10-10 Joseph Myers <joseph@codesourcery.com>
18521
dcc2dd3f
JM
18522 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18523 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18524 instead of FP_INIT_ROUNDMODE.
18525 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18526 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18527
2ae21ed2
JM
18528 [BZ #16034]
18529 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18530 copy class of input value.
18531 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18532 not handle exceptions.
18533 * soft-fp/negsf2.c (__negsf2): Likewise.
18534 * soft-fp/negtf2.c (__negtf2): Likewise.
18535 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18536
cb8f9562
JM
185372013-10-09 Joseph Myers <joseph@codesourcery.com>
18538
18539 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18540 semicolon. From Linux kernel.
18541
5b60c59d
AB
185422013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18543
18544 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18545
b86835ca
YC
185462013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18547
18548 [BZ #156]
18549 * manual/socket.texi: Added statement about buffer
18550 for gethostbyname2_r.
18551
e7044ea7
OB
185522013-10-08 Ondřej Bílka <neleai@seznam.cz>
18553
18554 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18555 Use .p2align directive instead, throughout.
18556 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18557 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18558 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18559 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18560 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18561 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18562 * sysdeps/x86_64/strchr.S: Likewise.
18563 * sysdeps/x86_64/strrchr.S: Likewise.
18564
09544cbc
SP
185652013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18566
88576635
SP
18567 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18568
e7b2d1dd
SP
18569 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18570
09544cbc
SP
18571 * sysdeps/generic/math_private.h (__mpsin1): Remove
18572 declaration.
18573 (__mpcos1): Likewise.
18574 (__mpsin): New argument __range_reduce.
18575 (__mpcos): Likewise.
18576 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18577 (slow): Use __mpsin and __mpcos.
18578 (slow1): Likewise.
18579 (slow2): Likewise.
18580 (sloww): Likewise.
18581 (sloww1): Likewise.
18582 (sloww2): Likewise.
18583 (bsloww): Likewise.
18584 (bsloww1): Likewise.
18585 (bsloww2): Likewise.
18586 (cslow2): Likewise.
18587 (csloww): Likewise.
18588 (csloww1): Likewise.
18589 (csloww2): Likewise.
18590 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18591 range_reduce. Merge in __mpsin1.
18592 (__mpcos): Likewise.
18593 (__mpsin1): Remove.
18594 (__mpcos1): Likewise.
18595
7602d070
JM
185962013-10-07 Joseph Myers <joseph@codesourcery.com>
18597
18598 * locale/loadlocale.c (_nl_intern_locale_data): Use
18599 LOCFILE_ALIGNED_P.
18600 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18601 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18602 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18603 obstack data is appropriately aligned.
18604 (obstack_int32_grow_fast): Likewise.
18605 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18606 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18607 (add_locale_uint32_array): Likewise.
18608
a357259b
SP
186092013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18610
18611 * benchtests/Makefile: Remove ARGLIST and RET variables.
18612 ($(objpfx)bench-%.c): Pass only function name to the script.
18613 * benchtests/README: Update documentation.
18614 * benchtests/acos-inputs: Add new directives.
18615 * benchtests/acosh-inputs: Likewise.
18616 * benchtests/asin-inputs: Likewise.
18617 * benchtests/asinh-inputs: Likewise.
18618 * benchtests/atan-inputs: Likewise.
18619 * benchtests/atanh-inputs: Likewise.
18620 * benchtests/cos-inputs: Likewise.
18621 * benchtests/cosh-inputs: Likewise.
18622 * benchtests/exp-inputs: Likewise.
18623 * benchtests/log-inputs: Likewise.
18624 * benchtests/pow-inputs: Likewise.
18625 * benchtests/rint-inputs: Likewise.
18626 * benchtests/sin-inputs: Likewise.
18627 * benchtests/sinh-inputs: Likewise.
18628 * benchtests/tan-inputs: Likewise.
18629 * benchtests/tanh-inputs: Likewise.
18630 * scripts/bench.pl: Add support for new directives.
18631
9ec1b13d
AM
186322013-10-07 Alan Modra <amodra@gmail.com>
18633
18634 * README: Fix careless merge.
18635
8b7d57cd
AM
186362013-10-05 Alan Modra <amodra@gmail.com>
18637
18638 * NEWS: Mention powerpc64le support and bugs fixed.
18639 * README: Both big-endian and little-endian powerpc64 supported.
18640
7b7bab13
ST
186412013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18642
57f41c40
AS
18643 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18644 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18645 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18646 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18647
d39baad1
RA
186482013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18649
18650 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18651 match prototype.
18652
cd78f7e7
JM
186532013-10-04 Joseph Myers <joseph@codesourcery.com>
18654
29d73d86
JM
18655 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18656 Move -mhard-float appending from
18657 ports/sysdeps/powerpc/powerpc32/Makefile.
18658 [$(with-fp) = yes] (ASFLAGS): Likewise.
18659 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18660 * sysdeps/powerpc/nofpu: Move directory from
18661 ports/sysdeps/powerpc/nofpu.
18662 * sysdeps/powerpc/soft-fp: Move directory from
18663 ports/sysdeps/powerpc/soft-fp.
18664 * sysdeps/powerpc/powerpc32/405: Move directory from
18665 ports/sysdeps/powerpc/powerpc32/405.
18666 * sysdeps/powerpc/powerpc32/440: Move directory from
18667 ports/sysdeps/powerpc/powerpc32/440.
18668 * sysdeps/powerpc/powerpc32/464: Move directory from
18669 ports/sysdeps/powerpc/powerpc32/464.
18670 * sysdeps/powerpc/powerpc32/476: Move directory from
18671 ports/sysdeps/powerpc/powerpc32/476.
18672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18673 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18675 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18677 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18679 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18681 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18682 * README: Update for powerpc-*-linux-gnu software floating point
18683 support in libc.
18684
e246b347
JM
18685 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18686 case to powerpc/powerpc32*.
18687 * sysdeps/unix/sysv/linux/configure: Regenerated.
18688
89c2003e
JM
18689 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18690 (_FPU_MASK_OM): Define as 0x04.
18691 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18692 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18693 0x00c10080.
18694 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18695 0x0000003c.
18696 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18697
cd78f7e7
JM
18698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18699 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18700 getcontext_e500.
18701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18702 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18703 setcontext_e500.
18704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18705 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18706 and setcontext_e500.
18707
c755294d
CL
187082013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18709
18710 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18711
e16d221c
SP
187122013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18713
18714 * manual/threads.texi (Default Thread Attributes): Fix typo.
18715
215c7d43
WN
187162013-10-04 Will Newton <will.newton@linaro.org>
18717
18718 * malloc/Makefile: Add tst-memalign.
18719 * malloc/tst-memalign.c: New file.
18720
27d0461b
WN
18721 * malloc/tst-posix_memalign.c: Add comments.
18722 (do_test): Add comments and call free on all potentially
18723 allocated pointers. Add space after cast.
18724
1bc92709
WN
18725 * malloc/tst-pvalloc.c: Add comments.
18726 (do_test): Add comments and call free on all potentially
18727 allocated pointers. Remove duplicate check for NULL pointer.
18728 Add space after cast.
18729
66a9be9d
WN
18730 * malloc/tst-valloc.c: Add comments.
18731 (do_test): Add comments and call free on all potentially
18732 allocated pointers. Remove duplicate check for NULL pointer.
18733 Add space after cast.
18734
4cb81307
AM
187352013-10-04 Alan Modra <amodra@gmail.com>
18736
18737 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18738 Use stdint types in rather than __attribute__((mode())).
18739 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18740
f8e3e9f3
AM
187412013-10-04 Alan Modra <amodra@gmail.com>
18742
18743 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18744 Correct handling of unaligned relocs for little-endian.
18745 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18746
8f9ebb08
AM
187472013-10-04 Alan Modra <amodra@gmail.com>
18748
18749 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18750 * configure: Regenerate.
18751 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18752 * shlib-versions: Likewise.
18753
0edf96c2
AM
187542013-10-04 Alan Modra <amodra@gmail.com>
18755
18756 * string/tester.c (test_memrchr): Increment reported test cycle.
18757
e0f7a380
AM
187582013-10-04 Alan Modra <amodra@gmail.com>
18759
18760 * string/test-memcpy.c (do_one_test): When reporting errors, print
18761 string address and don't overrun end of string.
18762
466b0393
AM
187632013-10-04 Alan Modra <amodra@gmail.com>
18764
18765 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18766 insrdi. Make better use of reg selection to speed exit slightly.
18767 Schedule entry path a little better. Remove useless "are we done"
18768 checks on entry to main loop. Handle wrapping around zero address.
18769 Correct main loop count. Handle single left-over word from main
18770 loop inline rather than by using loop_small. Remove extra word
18771 case in loop_small caused by wrong loop count. Add little-endian
18772 support.
18773 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18774 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18775 cache hint.
18776 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18777 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18778 support. Avoid rlwimi.
18779 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18780
3be87c77
AM
187812013-10-04 Alan Modra <amodra@gmail.com>
18782
18783 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18784 insrdi. Formatting.
3be87c77
AM
18785 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18786 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18787 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18788 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18789 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18790 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18791
759cfef3
AM
187922013-10-04 Alan Modra <amodra@gmail.com>
18793
18794 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18795 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18796 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18797 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18798 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18799 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18800 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18801 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18802 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18803 use of regs. Use power7 mtocrf. Tidy function tails.
18804
fe6e95d7
AM
188052013-10-04 Alan Modra <amodra@gmail.com>
18806
18807 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18808 Formatting. Consistently use rXXX register defines or rN defines.
18809 Use early exit labels that avoid restoring unused non-volatile regs.
18810 Make cr field use more consistent with rWORDn compares. Rename
18811 regs used as shift registers for unaligned loop, using rN defines
18812 for short lifetime/multiple use regs.
18813 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18814 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18815 addi 1,1,64 to pop stack frame. Simplify return value code.
18816 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18817
664318c3
AM
188182013-10-04 Alan Modra <amodra@gmail.com>
18819
18820 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18821 support. Correct typos, formatting. Optimize tail. Use insrdi
18822 rather than rlwimi.
18823 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18824 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18825 little-endian support. Correct typos.
18826 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18827 rather than rlwimi.
18828 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18829 in loop and entry code to keep "and." results.
18830 (strchr): Add little-endian support. Comment. Move cntlzd
18831 earlier in tail.
18832 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18833
43b84013
AM
188342013-10-04 Alan Modra <amodra@gmail.com>
18835
18836 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18837 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18838 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18839 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18840
8a7413f9
AM
188412013-10-04 Alan Modra <amodra@gmail.com>
18842
18843 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18844 (rTMP): Define as r11.
18845 (strcmp): Add little-endian support. Optimise tail.
18846 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18847 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18848 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18849 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18850 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18851 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18852 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18853
33ee81de
AM
188542013-10-04 Alan Modra <amodra@gmail.com>
18855
18856 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18857 little-endian support. Remove unnecessary "are we done" tests.
18858 Handle "s" wrapping around zero and extremely large "size".
18859 Correct main loop count. Handle single left-over word from main
18860 loop inline rather than by using small_loop. Correct comments.
18861 Delete "zero" tail, use "end_max" instead.
18862 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18863
db9b4570
AM
188642013-10-04 Alan Modra <amodra@gmail.com>
18865
18866 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18867 support. Don't branch over align.
18868 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18869 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18870 support. Rearrange tmp reg use to suit. Comment.
18871 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18872
f7c399cf
AM
188732013-10-04 Alan Modra <amodra@gmail.com>
18874
18875 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18876
0b2c2ace
AM
188772013-10-04 Alan Modra <amodra@gmail.com>
18878
18879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18880 conditional form of branch and link when obtaining pc.
18881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18882
02f04a6c
AM
188832013-10-04 Alan Modra <amodra@gmail.com>
18884
18885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18886 HIWORD/LOWORD.
18887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18889
9b874b2f
AM
188902013-10-04 Alan Modra <amodra@gmail.com>
18891
18892 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18893 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18894 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18895 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18896 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18897 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18898 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18899 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18900 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18901 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18902
be1e5d31
AB
189032013-10-04 Anton Blanchard <anton@au1.ibm.com>
18904 Alistair Popple <alistair@ozlabs.au.ibm.com>
18905 Alan Modra <amodra@gmail.com>
18906
18907 [BZ #15723]
18908 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18909 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18910 _dl_hwcap access for little-endian.
18911 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18912 destroy vmx regs when saving unaligned.
18913 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18914 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18915 destroy vmx regs when saving unaligned.
18916
fef13a78
AM
189172013-10-04 Alan Modra <amodra@gmail.com>
18918
18919 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18920 Don't use a union to pack hi/low value.
18921
76a66d51
AB
189222013-10-04 Anton Blanchard <anton@au1.ibm.com>
18923
18924 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18925 for little-endian.
18926 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18927 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18928 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18929 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18930 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18931
6a31fe7f
AM
189322013-10-04 Alan Modra <amodra@gmail.com>
18933
18934 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18935 constants to usual value for .cst8 section, and remove redundant
18936 high address load.
18937 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18938 constant for 0x1p52. Load little-endian words of double from
18939 correct stack offsets.
18940
7b88401f
AM
189412013-10-04 Alan Modra <amodra@gmail.com>
18942
18943 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18944 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18945 words of double from correct stack offsets.
18946 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18947 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18948 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18949 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18950 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18951 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18952 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18953 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18954 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18955 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18956 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18957 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18958 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18959 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18960 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18961 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18962 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18963
9c008155
AM
189642013-10-04 Alan Modra <amodra@gmail.com>
18965
18966 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18967 64-bit int/double union.
18968 (_FPU_SETCW): Likewise.
18969 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18970 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18971
da13146d
AM
189722013-10-04 Alan Modra <amodra@gmail.com>
18973
18974 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18975 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18976
603e8410
AM
189772013-10-04 Alan Modra <amodra@gmail.com>
18978
18979 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18980 use vector int constants.
18981 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18982
4a28b3ca
AB
189832013-10-04 Anton Blanchard <anton@au1.ibm.com>
18984
18985 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18986 array with long long.
18987 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18988 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18989 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18990 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18991 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18992 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18993 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18994 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18995 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18996 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18997 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18998 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18999 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19000
2ca85d2b
AB
190012013-10-04 Anton Blanchard <anton@au1.ibm.com>
19002
19003 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19004 (__signbit): Likewise. Correct for little-endian.
19005 (__signbitl): Call __signbit.
19006 (lrint): Correct for little-endian.
19007 (lrintf): Call lrint.
19008
62a728ae
AM
190092013-10-04 Alan Modra <amodra@gmail.com>
19010
19011 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19012 union 32-bit int array member with 64-bit int array.
19013 (t515, tm256): Double rather than long double.
19014 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19015
32c301df
AM
190162013-10-04 Alan Modra <amodra@gmail.com>
19017
19018 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19019 Delete.
19020 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19021 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19022 version of math_ldbl.h.
19023
650ef4bd
AM
190242013-10-04 Alan Modra <amodra@gmail.com>
19025
19026 [BZ #15734], [BZ #15735]
19027 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19028 all uses of ieee875 long double macros and unions. Simplify test
19029 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19030 ldbl_extract_mantissa value for ix,iy exponents. Properly
19031 normalize after ldbl_extract_mantissa, and don't add hidden bit
19032 already handled. Don't treat low word of ieee854 mantissa like
19033 low word of IBM long double and mask off bit when testing for
19034 zero.
19035 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19036 all uses of ieee875 long double macros and unions. Simplify tests
19037 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19038 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19039 two1022, instead use their values. Recognise that tests for large
19040 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19041 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19042 Rewrite all uses of ieee875 long double macros and unions. Simplify
19043 test for 0.0L and nan. Correct negation.
19044 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19045 ieee875 long double macros and unions. Correct output for large
19046 magnitude x. Correct absolute value calculation.
19047 (__erfcl): Likewise.
19048 * math/libm-test.inc: Add tests for errors discovered in IBM long
19049 double versions of fmodl, remainderl, erfl and erfcl.
19050
765714ca
AM
190512013-10-04 Alan Modra <amodra@gmail.com>
19052
19053 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19054 all uses of ieee854 long double macros and unions. Simplify tests
19055 for long doubles that are fully specified by the high double.
19056 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19057 Likewise.
19058 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19059 Remove dead code too.
19060 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19061 (__ieee754_ynl): Likewise.
19062 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19063 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19064 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19065 Remove dead code too.
19066 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19067 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19068 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19069 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19070 Simplify.
19071 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19072 Simplify.
19073 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19074 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19075 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19076 Comment on variable precision.
19077 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19078 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19079 Likewise.
19080 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19081 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19082 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19083 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19084 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19085
4ebd120c
AM
190862013-10-04 Alan Modra <amodra@gmail.com>
19087
19088 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19089 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19090 all uses of ieee854 long double macros and unions.
19091 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19092 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19093 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19094 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19095 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19096 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19097 Likewise.
19098 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19099 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19100 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19101 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19102 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19103 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19104 Simplify sign and nan test too.
19105 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19106 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19107 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19108 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19109 Likewise.
19110 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19111 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19112 Likewise.
19113 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19114 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19115 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19116 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19117 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19118 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19119
1b6adf88
AM
191202013-10-04 Alan Modra <amodra@gmail.com>
19121
19122 * stdio-common/printf_size.c (__printf_size): Don't use
19123 union ieee854_long_double in fpnum union.
19124 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19125 signbit macro to retrieve sign from long double.
19126 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19127 retrieve sign from long double.
19128 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19129 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19130 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19131 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19132 * math/test-misc.c (main): Don't use union ieee854_long_double.
19133
4cf69995
AM
191342013-10-04 Alan Modra <amodra@gmail.com>
19135
19136 [BZ #15680]
19137 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19138 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19139 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19140 calculation. Remove unnecessary test for denormal exponent.
19141 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19142 Correct handling of denormals. Avoid undefined shift behaviour.
19143 Correct normalisation of low mantissa when low double is denormal.
19144 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19145 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19146 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19147 Correct normalisation of low mantissa. Test for overflow of high
19148 mantissa and normalise.
19149 (ldbl_nearbyint): Use more readable constant for two52.
19150 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19151 (__mpn_construct_long_double): Fix test for overflow of high
19152 mantissa and correct normalisation. Avoid undefined shift.
19153
9605ca6c
AM
191542013-10-04 Alan Modra <amodra@gmail.com>
19155
19156 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19157 (union ibm_extended_long_double): Define as an array of ieee754_double.
19158 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19159 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19160 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19161 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19162 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19163 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19164 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19165 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19166 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19167 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19168 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19169
975569d0
JM
191702013-10-03 Joseph Myers <joseph@codesourcery.com>
19171
d3d23756
JM
19172 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19173 page size instead of calling getpagesize.
19174
975569d0
JM
19175 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19176 (LOCFILE_ALIGN_MASK): Likewise.
19177 (LOCFILE_ALIGN_UP): Likewise.
19178 (LOCFILE_ALIGNED_P): Likewise.
19179 * locale/programs/ld-collate.c (collate_output): Use the new
19180 macros instead of __alignof__ (int32_t).
19181 * locale/weight.h (findidx): Likewise.
19182
b1fe1f2b
OB
191832013-10-03 Ondřej Bílka <neleai@seznam.cz>
19184
19185 [BZ #431]
19186 * manual/string.texi: Fix strncat and wcsncat.
19187
5f855e35
BM
191882013-10-03 Brooks Moses <bmoses@google.com>
19189
19190 [BZ #15915]
19191 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19192 * Makerules: ...here, and adjust associated comments.
19193
3cef6009
WN
191942013-10-02 Will Newton <will.newton@linaro.org>
19195
19196 * malloc/Makefile: Add tst-pvalloc.
19197 * malloc/tst-pvalloc.c: New file.
19198
7815420b
WN
191992013-10-02 Will Newton <will.newton@linaro.org>
19200
19201 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19202 improve test coverage.
19203
4868b204
WN
192042013-10-02 Will Newton <will.newton@linaro.org>
19205
19206 * malloc/Makefile: Add tst-posix_memalign.
19207 * malloc/tst-posix_memalign.c: New file.
19208
29c793b3
EB
192092013-10-01 Eric Blake <eblake@redhat.com>
19210
19211 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19212 Use __THROWNL rather than __THROW on static functions.
19213
fd967522
PM
192142013-09-30 Petr Machata <pmachata@redhat.com>
19215
19216 * elf/elf.h (R_AARCH64_ABS16): New macro.
19217 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19218 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19219 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19220 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19221 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19222 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19223 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19224 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19225 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19226 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19227 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19228 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19229 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19230 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19231 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19232 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19233 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19234 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19235 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19236 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19237 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19238 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19239 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19240 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19241 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19242 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19243 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19244 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19245 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19246 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19247 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19248 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19249 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19250 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19251 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19252 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19253 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19254 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19255 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19256 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19257 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19258 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19259 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19260 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19261 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19262 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19263 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19264 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19265 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19266 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19267 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19268 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19269 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19270 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19271 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19272 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19273 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19274 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19275 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19276 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19277 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19278 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19279 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19280 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19281 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19282 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19283 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19284 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19285 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19286 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19287 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19288 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19289 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19290 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19291 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19292 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19293 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19294 (R_AARCH64_TLSDESC_LDR): Likewise.
19295 (R_AARCH64_TLSDESC_ADD): Likewise.
19296 (R_AARCH64_TLSDESC_CALL): Likewise.
19297
b2179107
AS
192982013-09-30 Andreas Schwab <schwab@suse.de>
19299
19300 [BZ #15048]
19301 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19302 the nss database lookup.
19303 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19305
47f28d0a
MF
193062013-09-28 Mike Frysinger <vapier@gentoo.org>
19307
19308 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19309
193102013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
19311
19312 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19313 ${Bash-specific parameter/pattern/string} parameter expansion.
19314 * sysdeps/unix/make-syscalls.sh: Likewise.
19315
f4518a17
KK
193162013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19317
19318 * sysdeps/sh/stackguard-macros.h: New file.
19319
dc1a95c7
OB
193202013-09-26 Ondřej Bílka <neleai@seznam.cz>
19321
19322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19323 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19324 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19325 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19326 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19327 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19328
5ebbff8f
AZ
193292013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19330
19331 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19332 Fix thread ID register.
19333
4fd2cf9f
JM
193342013-09-25 Joseph Myers <joseph@codesourcery.com>
19335
19336 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19337 [POSIX || UNIX98]: Require rather than permitting all symbols from
19338 <time.h>.
19339 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19340 element of struct sched_param.
19341 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19342 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19343 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19344 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19345 constant.
19346
12c22bc4
OL
193472013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19348
19349 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19350 argument calculation.
19351
a03d8ea7
JM
193522013-09-24 Joseph Myers <joseph@codesourcery.com>
19353
19354 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19355 Expect macro.
19356 [POSIX] (pthread_attr_t): Do not require type.
19357 [POSIX] (pthread_cond_t): Likewise.
19358 [POSIX] (pthread_condattr_t): Likewise.
19359 [POSIX] (pthread_key_t): Likewise.
19360 [POSIX] (pthread_mutex_t): Likewise.
19361 [POSIX] (pthread_mutexattr_t): Likewise.
19362 [POSIX] (pthread_once_t): Likewise.
19363 [POSIX] (pthread_t): Likewise.
19364 [POSIX-based standards] (pthread_atfork): Expect function.
19365
6055173a
JM
193662013-09-24 Joseph Myers <joseph@codesourcery.com>
19367 Richard Sandiford <richard@codesourcery.com>
19368
19369 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19370 (swap_endianness_p): New extern variable.
19371 (set_big_endian): New inline function.
19372 (maybe_swap_uint32): Likewise.
19373 (maybe_swap_uint32_array): Likewise.
19374 (maybe_swap_uint32_obstack): Likewise.
19375 * locale/programs/locfile.c: Include <stdbool.h>.
19376 (swap_endianness_p): New variable.
19377 (add_locale_uint32): Call maybe_swap_uint32.
19378 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19379 (write_locale_data): Call maybe_swap_uint32_array.
19380 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19381 maybe_swap_uint32.
19382 (obstack_int32_grow_fast): Likewise.
19383 (output_weightwc): Call maybe_swap_uint32_obstack.
19384 (collate_output): Likewise.
19385 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19386 (OPT_LITTLE_ENDIAN): Likewise.
19387 (options): Add --little-endian and --big-endian options.
19388 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19389 * locale/programs/locarchive.c: Include "locfile.h".
19390 (GET): New macro.
19391 (SET): Likewise.
19392 (INC): Likewise.
19393 (create_archive): Use the new macros to access fields of
19394 structures directly mapped from or written to locale archives.
19395 (oldlocrecentcmp): Likewise.
19396 (enlarge_archive): Likewise.
19397 (insert_name): Likewise.
19398 (add_alias): Likewise.
19399 (add_locale): Likewise.
19400 (delete_locales_from_archive): Likewise.
19401 (show_archive_content): Likewise.
19402 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19403 locale data.
19404
39bf0bb4
RM
194052013-09-24 Roland McGrath <roland@hack.frob.com>
19406
19407 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19408 http://www.gnu.org/doc/freemanuals.texi.
19409 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19410
f02eed10
WN
194112013-09-24 Will Newton <will.newton@linaro.org>
19412
19413 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19414 macro.
19415
a3a6c312
JM
194162013-09-23 Joseph Myers <joseph@codesourcery.com>
19417
19418 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19419 unsigned char.
19420
107375ac
MR
194212013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19422
19423 * manual/threads.texi (POSIX Threads): Fix a typo.
19424
141f3a77
SP
194252013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19426
303e567a
SP
19427 [BZ #14547]
19428 * string/tst-strcoll-overflow.c: New test case.
19429 * string/Makefile (xtests): Add tst-strcoll-overflow.
19430 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19431 cache if string sizes may cause integer overflow.
19432
141f3a77
SP
19433 [BZ #14547]
19434 * string/strcoll_l.c (coll_seq): New members rule, idx,
19435 save_idx and back_us.
19436 (get_next_seq_nocache): New function.
19437 (do_compare_nocache): New function.
19438 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19439 when malloc fails.
19440
c61b4d41
CD
194412013-09-23 Carlos O'Donell <carlos@redhat.com>
19442
0b1f8e35
CD
19443 [BZ #15754]
19444 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19445 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19446 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19447
c61b4d41
CD
19448 [BZ #15754]
19449 * elf/Makefile (tests): Add tst-ptrguard1.
19450 (tests-static): Add tst-ptrguard1-static.
19451 (tst-ptrguard1-ARGS): Define.
19452 (tst-ptrguard1-static-ARGS): Define.
19453 * elf/tst-ptrguard1.c: New file.
19454 * elf/tst-ptrguard1-static.c: New file.
19455 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19456 * sysdeps/i386/stackguard-macros.h: Likewise.
19457 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19458 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19459 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19460 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19461 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19462 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19463
194642013-09-23 Hector Marco <hecmargi@upv.es>
19465 Ismael Ripoll <iripoll@disca.upv.es>
19466 Carlos O'Donell <carlos@redhat.com>
19467
19468 [BZ #15754]
19469 * sysdeps/generic/stackguard-macros.h: Define
19470 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19471 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19472 Define __pointer_chk_guard_local.
19473 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19474 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19475
f5f4e7b4
VV
194762013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19477
19478 [BZ #15859]
19479 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19480
5bb43a43
AS
194812013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19482
19483 * include/string.h (__ffs): Declare as hidden.
19484 * string/ffs.c (__ffs): Define as hidden.
19485 * sysdeps/i386/ffs.c (__ffs): Likewise.
19486 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19487 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19488 * sysdeps/s390/ffs.c (__ffs): Likewise.
19489 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19490
3ea5be54
AO
194912013-09-20 Alexandre Oliva <aoliva@redhat.com>
19492
ffb89e53
AO
19493 * NEWS: Mention malloc probes.
19494
322dea08
AO
19495 * malloc/arena.c (new_heap): New memory_heap_new probe.
19496 (grow_heap): New memory_heap_more probe.
19497 (shrink_heap): New memory_heap_less probe.
19498 (heap_trim): New memory_heap_free probe.
19499 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19500 (systrim): New memory_sbrk_less probe.
19501 * manual/probes.texi: Document them.
19502
655673f3
AO
19503 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19504 * manual/probes.texi: Document it.
19505
35fed6f1
AO
19506 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19507 (__libc_realloc): Add memory_realloc_retry probe.
19508 (__libc_memalign): Add memory_memalign_retry probe.
19509 (__libc_valloc): Add memory_valloc_retry probe.
19510 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19511 (__libc_calloc): Add memory_calloc_retry probe.
19512 * manual/probes.texi: Document them.
19513
6999d38c
AO
19514 * malloc/arena.c (get_free_list): Add probe
19515 memory_arena_reuse_free_list.
19516 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19517 and memory_arena_reuse.
19518 (arena_get2) [!PER_THREAD]: Likewise.
19519 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19520 memory_arena_reuse_realloc.
19521 * manual/probes.texi: Document them.
19522
0653427f
AO
19523 * malloc/malloc.c (__libc_free): Add
19524 memory_mallopt_free_dyn_thresholds probe.
19525 (__libc_mallopt): Add multiple memory_mallopt probes.
19526 * manual/probes.texi: Document them.
19527
3ea5be54
AO
19528 * malloc/malloc.c: Include stap-probe.h.
19529 (__libc_mallopt): Add memory_mallopt probe.
19530 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19531 * manual/probes.texi: New.
19532 * manual/Makefile (chapters): Add probes.
19533 * manual/threads.texi: Set next node.
19534
e35696c3 195352013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 19536
e35696c3
CL
19537 [BZ #15963, #13985]
19538 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19539 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19540 Add `Chinese' to `nan' entry name.
19541
4aafb73c
SP
195422013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19543
19544 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19545 (POLYNOMIAL): Likewise.
19546 (TAYLOR_SINCOS): Likewise.
19547 (TAYLOR_SLOW): Likewise.
19548 (__sin): Use TAYLOR_SINCOS.
19549 (__cos): Likewise.
19550 (slow): Use TAYLOR_SLOW.
19551 (sloww): Likewise.
19552 (bsloww): Likewise.
19553 (csloww): Likewise.
19554
d84f25c7
LD
195552013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19556
19557 * stdlib/strtod_l.c: Fix buffer overrun.
19558
5eea0404
SP
195592013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19560
7849ff93
SP
19561 * benchtests/Makefile (bench): Add sincos.
19562 * benchtests/bench-sincos.c: New file.
19563
cfa3c886
SP
19564 * math/libm-test.inc (cos_test_data): New test inputs.
19565 (sin_test_data): Likewise.
19566
b348e1e3
SP
19567 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19568 macro.
19569 (__sin): Use it.
19570 (__cos): Likewise.
19571 (slow1): Likewise.
19572 (slow2): Likewise.
19573 (sloww1): Likewise.
19574 (sloww2): Likewise.
19575 (bsloww1): Likewise.
19576 (bsloww2): Likewise.
19577 (cslow2): Likewise.
19578 (csloww1): Likewise.
19579 (csloww2): Likewise.
19580
6cce25f8
SP
19581 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19582 function.
19583 (__sin): Use it.
19584 (__cos): Likewise.
19585
5eea0404
SP
19586 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19587 gotos.
19588 (__cos): Likewise.
19589
9c21573c
MR
195902013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19591
19592 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19593 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19594 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19595 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19596 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19597 * elf/cache.c (print_entry): Handle the new cache flags.
19598
24d22e65
JM
195992013-09-18 Joseph Myers <joseph@codesourcery.com>
19600 Aldy Hernandez <aldyh@redhat.com>
19601
19602 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19603 Change condition to [_SOFT_FLOAT].
19604 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19616 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19619 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19620 declaration.
19621
d13ef066
JM
196222013-09-18 Joseph Myers <joseph@codesourcery.com>
19623
2e071de0
JM
19624 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19625 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19626 (__longjmp): Use LOAD_GP to load saved GPRs.
19627 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19628 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19629 (__sigsetjmp): Use SAVE_GP to save GPRs.
19630
d13ef066
JM
19631 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19632 Do not append -msoft-float.
19633 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19634
97a0650b
SP
196352013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19636
19637 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19638
11ca09e9
JM
196392013-09-17 Joseph Myers <joseph@codesourcery.com>
19640
19641 [BZ #15966]
19642 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19643 (_FPU_GETCW): Use initial "__" on variable and field names but not
19644 on macro parameter name.
19645 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19646 parentheses around reference to macro parameter.
19647
08ffcf34
RS
196482013-09-13 Richard Sandiford <richard@codesourcery.com>
19649
19650 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19651 prototype.
19652 (ctype_startup): Use uint32_t in cast and sizeof for
19653 ctype->charnames.
19654
ae7080d3
JL
196552013-09-11 Jia Liu <proljc@gmail.com>
19656
19657 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19658 __daddr_t_defined.
19659 [__FreeBSD__]: Likewise.
19660
5905e7b3
OB
196612013-09-11 Ondřej Bílka <neleai@seznam.cz>
19662
19663 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19664 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19665 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19666 (strchr): Remove __strchr_sse42 ifunc selection.
19667 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19668 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19669
b987c776
WN
196702013-09-11 Will Newton <will.newton@linaro.org>
19671
19672 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19673 parameter to RES. Remove hardcoded 1000 value.
19674 * benchtests/bench-skeleton.c (main): Pass RES parameter
19675 to TIMING_INIT and multiply result by 1000.
19676
ddf985af
AZ
196772013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19678
19679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19680
ffdd3181
AS
196812013-09-11 Andreas Schwab <schwab@suse.de>
19682
19683 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19684 if not defined.
19685 (O_TMPFILE) [__USE_GNU]: Define.
19686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19687 Define.
19688
b73ed247
WN
196892013-09-11 Will Newton <will.newton@linaro.org>
19690
19691 [BZ #15857]
19692 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19693 does not overflow.
19694
55e17aad
WN
196952013-09-11 Will Newton <will.newton@linaro.org>
19696
19697 [BZ #15856]
19698 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19699 does not overflow.
19700
1159a193
WN
197012013-09-11 Will Newton <will.newton@linaro.org>
19702
19703 [BZ #15855]
19704 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19705 does not overflow.
19706
5905e7b3 197072013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19708
19709 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19710 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19711 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19712 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19713 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19714
cdfc721b
AM
197152013-09-10 Allan McRae <allan@archlinux.org>
19716
aa04af00
AM
19717 [BZ #15748]
19718 * manual/arith.texi (Parsing of Floats): Clarify
19719 cross-reference.
19720
cdfc721b
AM
19721 [BZ #15849]
19722 * manual/install.texi (Running make install): Mention
19723 --enable-pt-chown.
19724 * INSTALL: Regenerated.
19725
95e7cf29
MR
197262013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19727
19728 * csu/init-first.c (_init): Remove the !SHARED condition around
19729 FPU control word initialization.
19730 * elf/dl-support.c (_dl_fpu_control): New variable.
19731 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19732 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19733 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19734 * math/test-fpucw-static.c: New file.
19735 * math/test-fpucw-ieee.c: New file.
19736 * math/test-fpucw-ieee-static.c: New file.
19737 * math/Makefile (tests): Add `test-fpucw-ieee' and
19738 `$(tests-static)'.
19739 (tests-static): New variable.
19740 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19741 dependency to...
19742 [($(build-shared),yes)]
19743 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19744 ... this.
19745 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19746 New dependency.
19747
83e43bf0
AM
197482013-09-09 Allan McRae <allan@archlinux.org>
19749
a9f5ce09
AM
19750 [BZ #15939]
19751 * manual/string.texi (Collation Functions): Fix typo in
19752 strcoll example.
19753 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19754
34829bc2
AM
19755 [BZ #15893]
19756 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19757
3932737d
AM
19758 [BZ #15892]
19759 * libio/memstream.c (open_memstream): Fix memory leak.
19760 * libio/wmemstream.c (open_wmemstream): Likewise.
19761
83e43bf0
AM
19762 [BZ #15895]
19763 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19764
0c66b8e9
WN
197652013-09-09 Will Newton <will.newton@linaro.org>
19766
19767 * malloc/Makefile: Add tst-realloc to tests.
19768 * malloc/tst-realloc.c: New file.
19769
f6b00fd1
AM
197702013-09-09 Allan McRae <allan@archlinux.org>
19771
19772 [BZ #15844]
19773 * COPYING: Update from GNU website to fix FSF address.
19774 * COPYING.LIB: Likewise.
19775
eec55e16
DM
197762013-09-06 David S. Miller <davem@davemloft.net>
19777
19778 * po/zh_TW.po: Update Chinese (traditional) translation from
19779 translation project.
19780
1ecbb381
RS
197812013-09-06 Richard Sandiford <richard@codesourcery.com>
19782 Joseph Myers <joseph@codesourcery.com>
19783
19784 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19785 "localeinfo.h".
19786 (obstack_chunk_alloc): New macro.
19787 (obstack_chunk_free): Likewise.
19788 (record_offset): New function.
19789 (init_locale_data): Likewise.
19790 (align_locale_data): Likewise.
19791 (add_locale_empty): Likewise.
19792 (add_locale_raw_data): Likewise.
19793 (add_locale_raw_obstack): Likewise.
19794 (add_locale_string): Likewise.
19795 (add_locale_wstring): Likewise.
19796 (add_locale_uint32): Likewise.
19797 (add_locale_uint32_array): Likewise.
19798 (add_locale_char): Likewise.
19799 (start_locale_structure): Likewise.
19800 (end_locale_structure): Likewise.
19801 (start_locale_prelude): Likewise.
19802 (end_locale_prelude): Likewise.
19803 (write_locale_data): Take locale_file structure rather than an
19804 iovec.
19805 * locale/programs/locfile.h: Include "obstack.h".
19806 (struct locale_file): Change to store locale file contents instead
19807 of header.
19808 (init_locale_data): New prototype.
19809 (align_locale_data): Likewise.
19810 (add_locale_empty): Likewise.
19811 (add_locale_raw_data): Likewise.
19812 (add_locale_raw_obstack): Likewise.
19813 (add_locale_string): Likewise.
19814 (add_locale_wstring): Likewise.
19815 (add_locale_uint32): Likewise.
19816 (add_locale_uint32_array): Likewise.
19817 (add_locale_char): Likewise.
19818 (start_locale_structure): Likewise.
19819 (end_locale_structure): Likewise.
19820 (start_locale_prelude): Likewise.
19821 (end_locale_prelude): Likewise.
19822 (write_locale_data): Update prototype.
19823 * locale/programs/3level.h (struct TABLE): Remove result field.
19824 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19825 Use new locale_file interface.
19826 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19827 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19828 * locale/programs/ld-address.c (address_output): Use new
19829 locale_file interface.
19830 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19831 NO_ADD_LOCALE.
19832 (collate_finish): Don't call collseq_table_finalize.
19833 (collate_output): Use new locale_file interface.
19834 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19835 in file.
19836 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19837 (TABLE): Move defines earlier in file.
19838 (ELEMENT): Likewise.
19839 (DEFAULT): Likewise.
19840 (wctrans_table_add): Move macro and inline function earlier in
19841 file.
19842 (struct wctype_table): Move type earlier in file.
19843 (add_locale_wctype_table): New static prototype.
19844 (struct locale_ctype_t): Use logical types instead of struct iovec
19845 pointers for members.
19846 (ctype_output): Use new locale_file interface.
19847 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19848 new locale_file interface.
19849 (allocate_arrays): Update for use of new locale_file interface.
19850 * locale/programs/ld-identification.c (identification_output): Use
19851 new locale_file interface.
19852 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19853 * locale/programs/ld-messages.c (messages_output): Likewise.
19854 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19855 * locale/programs/ld-name.c (name_output): Likewise.
19856 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19857 * locale/programs/ld-paper.c (paper_output): Likewise.
19858 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19859 * locale/programs/ld-time.c (time_output): Likewise.
19860
e029e2e5
AZ
198612013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19862
19863 * benchtests/Makefile: Add memrchr benchmark.
19864 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19865 benchmark as memrchr.
19866 * benchtests/bench-memrchr-ifunc.c: New file.
19867 * benchtests/bench-memrchr.c: New file.
19868
bbf6e8e4
WN
198692013-09-06 Will Newton <will.newton@linaro.org>
19870
19871 * benchtests/Makefile (string-bench): Add memcpy.
19872
6c82a2f8
CD
198732013-09-05 Carlos O'Donell <carlos@redhat.com>
19874 Cong Wang <amwang@redhat.com>
19875
e732c5f0 19876 [BZ #15850]
6c82a2f8
CD
19877 * sysdeps/unix/sysv/linux/bits/in.h
19878 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19879 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19880 before __USE_KERNEL_IPV6_DEFS uses.
19881 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19882 IPPROTO_BEETPH.
19883 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19884 sockaddr_in6, or ipv6_mreq.
19885
5430fc65
AZ
198862013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19887
19888 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19889 memory access for final bytes in some large inputs.
19890 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19891
4660856c
AZ
198922013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19893
19894 * string/test-memrchr.c: New file.
19895 * string/test-memrchr-ifunc.c: New file.
19896 * string/Makefile: Add new memrchr testcase.
19897
bb8ea713
MF
198982013-09-05 Mike Frysinger <vapier@gentoo.org>
19899
19900 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19901 fanotify_init returns EPERM.
19902
b92a20b5
JM
199032013-09-04 Joseph Myers <joseph@codesourcery.com>
19904
19905 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19906 errors.
19907 (top level): Treat second token from macro or constant entries for
19908 allowed headers as allowed.
19909 * include/complex.h: Condition internal declarations on
19910 [!_ISOMAC].
19911 * include/fenv.h: Condition include of <stdbool.h> and internal
19912 declarations on [!_ISOMAC].
7447ccd9
CL
19913
199142013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19915
3e181dda 19916 [BZ #15923]
7447ccd9
CL
19917 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19918
3f2e46a4
JM
199192013-09-04 Joseph Myers <joseph@codesourcery.com>
19920
19921 * configure.in (--enable-versioning): Remove configure option.
19922 (libc_cv_asm_symver_directive): Remove configure test.
19923 (libc_cv_ld_version_script_option): Likewise.
19924 (VERSIONING): Remove variable and AC_SUBST.
19925 (DO_VERSIONING): Remove AC_DEFINE.
19926 * configure: Regenerated.
19927 * config.h.in (DO_VERSIONING): Remove macro.
19928 * Makerules [$(versioning) = yes]: Change conditionals to
19929 [$(build-shared) = yes].
19930 * config.make.in (versioning): Remove variable.
19931 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19932 [$(build-shared) = yes].
19933 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19934 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19935 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19936 [$(build-shared) = yes].
19937 * extra-lib.mk [$(versioning) = yes]: Likewise.
19938 * hurd/Makefile [$(versioning) = yes]: Likewise.
19939 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19940 [SHARED].
19941 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19942 [SHARED].
19943 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19944 [SHARED && !NO_HIDDEN].
19945 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19946 [SHARED].
19947 [SHARED && DO_VERSIONING]: Likewise..
19948 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19949 [$(build-shared) = yes].
19950 * manual/install.texi (--disable-versioning): Remove
19951 documentation.
19952 * INSTALL: Regenerated.
19953 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19954 to [SHARED].
19955 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19956 [$(build-shared) = yes].
19957 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19958 * sysdeps/i386/i686/multiarch/strstr-c.c
19959 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19960 [SHARED && !NO_HIDDEN].
19961 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19962 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19963 * sysdeps/powerpc/powerpc32/dl-machine.c
19964 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19965 * sysdeps/powerpc/powerpc32/sysdep.h
19966 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19967 to [SHARED && PIC && !NO_HIDDEN].
19968 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19969 conditional to [SHARED].
19970
44558701
WN
199712013-09-04 Will Newton <will.newton@linaro.org>
19972
19973 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19974 * benchtests/bench-string.h: Include bench-timing.h instead
19975 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19976 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19977 call to HP_TIMING_DIFF_INIT.
19978 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19979 instead of hp-timing.h macros.
19980 * benchtests/bench-memchr.c: Likewise.
19981 * benchtests/bench-memcmp.c: Likewise.
19982 * benchtests/bench-memcpy.c: Likewise.
19983 * benchtests/bench-memmem.c: Likewise.
19984 * benchtests/bench-memmove.c: Likewise.
19985 * benchtests/bench-memset.c: Likewise.
19986 * benchtests/bench-rawmemchr.c: Likewise.
19987 * benchtests/bench-strcasecmp.c: Likewise.
19988 * benchtests/bench-strcasestr.c: Likewise.
19989 * benchtests/bench-strcat.c: Likewise.
19990 * benchtests/bench-strchr.c: Likewise.
19991 * benchtests/bench-strcmp.c: Likewise.
19992 * benchtests/bench-strcpy.c: Likewise.
19993 * benchtests/bench-strcpy_chk.c: Likewise.
19994 * benchtests/bench-strlen.c: Likewise.
19995 * benchtests/bench-strncasecmp.c: Likewise.
19996 * benchtests/bench-strncat.c: Likewise.
19997 * benchtests/bench-strncmp.c: Likewise.
19998 * benchtests/bench-strncpy.c: Likewise.
19999 * benchtests/bench-strnlen.c: Likewise.
20000 * benchtests/bench-strpbrk.c: Likewise.
20001 * benchtests/bench-strrchr.c: Likewise.
20002 * benchtests/bench-strspn.c: Likewise.
20003 * benchtests/bench-strstr.c: Likewise.
20004
cae16d66
WN
200052013-09-04 Will Newton <will.newton@linaro.org>
20006
20007 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20008
ffa3cd7f
JM
200092013-09-03 Joseph Myers <joseph@codesourcery.com>
20010
20011 [BZ #15427]
20012 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20013 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20014 * math/libm-test.inc (lgamma_test_data): Add more tests.
20015 * sysdeps/i386/fpu/libm-test-ulps: Update.
20016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20017
8f02859f
OB
200182013-09-03 Ondřej Bílka <neleai@seznam.cz>
20019
20020 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20021 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20022 Add ifunc.
20023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20024 Add strcmp-sse2-unaligned
20025 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20026
18d43716
MF
200272013-09-02 Mike Frysinger <vapier@gentoo.org>
20028
20029 * Versions.def (libc): Add GLIBC_2.19.
20030
ac444012
MF
200312013-09-02 Mike Frysinger <vapier@gentoo.org>
20032
20033 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20034 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20035
b7835e32
JM
200362013-09-02 Joseph Myers <joseph@codesourcery.com>
20037
20038 [BZ #14155]
20039 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20040 intermediate calculations in recurrence.
20041 (__ieee754_ynf): Likewise.
20042 * math/libm-test.inc (jn_test_data): Do not allow spurious
20043 underflow exception. Add more tests.
20044 (yn_test_data): Add more tests.
20045 * sysdeps/i386/fpu/libm-test-ulps: Update.
20046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20047
8220f4f0
OB
200482013-09-02 Ondřej Bílka <neleai@seznam.cz>
20049
20050 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20051
f24a6d08
OB
200522013-08-30 Ondřej Bílka <neleai@seznam.cz>
20053
20054 * csu/init-first.c: Fix then/than typos.
20055 * locale/programs/ld-collate.c: Likewise.
20056 * locale/programs/linereader.h: Likewise.
20057 * manual/charset.texi: Likewise.
20058 * manual/filesys.texi: Likewise.
20059 * manual/stdio.texi: Likewise.
20060 * manual/string.texi: Likewise.
20061 * stdlib/fmtmsg.c: Likewise.
20062 * sysdeps/i386/stpncpy.S: Likewise.
20063 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20064 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20065 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20066 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20067
382466e0
OB
200682013-08-30 Ondřej Bílka <neleai@seznam.cz>
20069
20070 * elf/dl-open.c: Fix typos.
20071 * iconvdata/gbbig5.c: Likewise.
20072 * iconvdata/iso-2022-jp.c: Likewise.
20073 * iconv/gconv_int.h: Likewise.
20074 * iconv/loop.c: Likewise.
20075 * nis/rpcsvc/nis.h: Likewise.
20076 * resolv/ns_name.c: Likewise.
20077 * stdio-common/vfscanf.c: Likewise.
20078 * streams/stropts.h: Likewise.
20079 * sunrpc/rpc_thread.c: Likewise.
20080 * sysdeps/i386/strpbrk.S: Likewise.
20081 * sysdeps/ieee754/k_standard.c: Likewise.
20082 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20083 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20084 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20085 * sysdeps/mach/hurd/profil.c: Likewise.
20086 * sysdeps/s390/dl-procinfo.h: Likewise.
20087 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20088 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20089 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20090 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20091 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20092
0186c6e9
OB
200932013-08-30 Ondřej Bílka <neleai@seznam.cz>
20094
20095 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20096 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20097
d4e16af1
OB
200982013-08-29 Ondřej Bílka <neleai@seznam.cz>
20099
20100 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20101 aix specific files.
20102 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20103 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20104 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20105 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20106 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20107 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20108 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20109 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20110
88335980
TS
201112013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20112 Roland McGrath <roland@hack.frob.com>
20113
20114 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20115 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20116
ed479b02
ST
201172013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20118
20119 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20120 __executable_start symbol instead of _start.
20121
f1cc4c86
TS
201222013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20123
d821f07c
TS
20124 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20125 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20126 Move macros to...
20127 * sysdeps/gnu/ldsodefs.h: ... this new file.
20128
c54290cf
TS
20129 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20130 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20131 instead of ELFOSABI_LINUX.
20132
0007fc9b 20133 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
20134 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20135 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20136 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20137 Likewise.
20138 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20139 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20140 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20141 Likewise.
20142 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20143 (ibm_extended_long_double): Add ieee_nan member.
20144 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20145 (do_test): New function.
20146
f1cc4c86
TS
20147 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20148 TEST_TRUNC.
20149 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20150 functions, renamed from truncdfsf_test, trunctfsf_test,
20151 trunctfdf_test.
20152 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20153 functions.
20154 (do_test): Run all these.
20155
6f65e668
OB
201562013-08-29 Ondřej Bílka <neleai@seznam.cz>
20157
20158 * argp/argp-help.c: Fix typos.
20159 * argp/argp-parse.c: Likewise.
20160 * debug/backtracesyms.c: Likewise.
20161 * elf/elf.h: Likewise.
20162 * malloc/malloc.c: Likewise.
20163 * nis/nis_print.c: Likewise.
20164 * resolv/res_comp.c: Likewise.
20165 * stdlib/stdlib.h: Likewise.
20166 * sunrpc/clnt_tcp.c: Likewise.
20167 * sunrpc/clnt_udp.c: Likewise.
20168 * sunrpc/clnt_unix.c: Likewise.
20169 * sysdeps/unix/bsd/ptsname.c: Likewise.
20170 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20171 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
20172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20173 Likewise.
20174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20175 Likewise.
20176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20177 Likewise.
6f65e668
OB
20178 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20179
3a309239
SP
201802013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20181
20182 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20184
3b813b29
MF
201852013-08-27 Mike Frysinger <vapier@gentoo.org>
20186
20187 [BZ #15897]
20188 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20189 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20190 ($(objpfx)bug-dl-leaf): New rule.
20191 ($(objpfx)bug-dl-leaf.so): Likewise.
20192 ($(objpfx)bug-dl-leaf.out): Likewise.
20193 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20194 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20195 * dlfcn/bug-dl-leaf.c: New test.
20196 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20197 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20198 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20199 (dlclose): Likewise.
20200 (dlmopen): Likewise.
20201
8cc3269f
RM
202022013-08-27 Roland McGrath <roland@hack.frob.com>
20203
7f9d0034
RM
20204 * include/netdb.h [!_ISOMAC]:
20205 Don't include <tls.h>.
20206 (h_errno, __libc_h_errno): Move declaration and macros out of
20207 [_LIBC_REENTRANT].
20208
fb431262
RM
20209 * include/resolv.h [_RESOLV_H_]:
20210 Don't include <tls.h>.
20211 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20212 * resolv/res_libc.c: Don't include <tls.h>.
20213 (_res): Use __attribute__ ((nocommon)) in place of
20214 __attribute__ ((section (".bss"))).
20215
bd81123a
RM
20216 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20217 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20218
c4e42566
RM
20219 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20220
f890a59b
RM
20221 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20222 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20223
20224 * resolv/res_mkquery.c: Include <sys/time.h>.
20225
5d1f0a09
RM
20226 * inet/ifreq.c: Moved to ...
20227 * sysdeps/unix/ifreq.c: ... here.
20228 * inet/ifreq.c: New file, true stub version.
20229
6fcf28b3
RM
20230 * socket/sa_len.c: New file.
20231 * socket/Makefile (aux): Add it.
20232 * sysdeps/unix/sysv/linux/Makefile
20233 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20234 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20235 and #include <socket/sa_len.c>.
20236 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20237 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20238
e041fb8b
RM
20239 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20240 * bits/socket.h: ... here.
20241
8cc3269f
RM
20242 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20243 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20244 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20245
5d228a43
AS
202462013-08-27 Andreas Schwab <schwab@suse.de>
20247
45b8accc
AS
20248 [BZ #15736]
20249 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20250 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20251 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20252 * string/test-strcasecmp.c (test_main): Run tests in several
20253 locales.
20254 * string/test-strncasecmp.c (test_main): Likewise.
20255
5d228a43
AS
20256 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20257 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20258 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20259 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20260 (__strncasecmp_ssse3) [PIC]: Likewise.
20261
59d112a4
RM
202622013-08-26 Roland McGrath <roland@hack.frob.com>
20263
53234cc3
RM
20264 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20265
59d112a4
RM
20266 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20267 instead of explicitly declaring xdecrypt.
20268 * nis/nss_nis/nis-publickey.c: Likewise.
20269
595aba70
SP
202702013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20271
20272 [BZ #15890]
20273 * nscd/aicache.c: Include res_hconf.h.
20274 (addhstaiX): Initialize res_hconf.
20275
ffabd393
AS
202762013-08-26 Andreas Schwab <schwab@suse.de>
20277
20278 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20279 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20280
e0a69f5c
SP
202812013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20282
20283 * nscd/aicache.c (addhstaiX): Fix indentation.
20284
8c12f01d
MF
202852013-08-25 Mike Frysinger <vapier@gentoo.org>
20286
20287 * configure.ac: Quote $build_pt_chown test.
20288 * configure: Regenerated.
20289
8fe89494
JM
202902013-08-23 Joseph Myers <joseph@codesourcery.com>
20291
20292 [BZ #15532]
20293 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20294 * math/s_cexpf.c (__cexpf): Likewise.
20295 * math/s_cexpl.c (__cexpl): Likewise.
20296 * math/libm-test.inc (cexp_test_data): Correct expected return
20297 value for NaN + i0. Add another test.
20298
75b181d6
DM
202992013-08-22 David S. Miller <davem@davemloft.net>
20300
20301 * po/ca.po: Update Catalan translation from translation project.
936241e4 20302 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 20303
acd06bb1
JM
203042013-08-21 Joseph Myers <joseph@codesourcery.com>
20305
20306 [BZ #15797]
20307 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20308 is infinite, not alongside NaN test.
20309 * math/s_fdimf.c (__fdimf): Likewise.
20310 * math/s_fdiml.c (__fdiml): Likewise.
20311 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20312 errno is unchanged.
20313
c0c3f78a
OB
203142013-08-21 Ondřej Bílka <neleai@seznam.cz>
20315
20316 * argp/argp-help.c: Fix typos.
20317 * crypt/speeds.c: Likewise.
20318 * csu/check_fds.c: Likewise.
20319 * elf/dl-load.c: Likewise.
20320 * elf/dl-open.c: Likewise.
20321 * elf/reldep3.c: Likewise.
20322 * elf/reldep.c: Likewise.
20323 * elf/sprof.c: Likewise.
20324 * iconv/iconv_charmap.c: Likewise.
20325 * iconv/skeleton.c: Likewise.
20326 * iconv/strtab.c: Likewise.
20327 * io/lockf64.c: Likewise.
20328 * libio/libioP.h: Likewise.
20329 * resolv/gai_notify.c: Likewise.
20330 * resolv/ns_name.c: Likewise.
20331 * resolv/ns_samedomain.c: Likewise.
20332 * resolv/res_send.c: Likewise.
20333 * stdlib/random.c: Likewise.
20334 * sunrpc/rpc/xdr.h: Likewise.
20335 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20336 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20337 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20338 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20339 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20340 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20341 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20342 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20343 * sysdeps/mach/hurd/check_fds.c: Likewise.
20344 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20345 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20346 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20347 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20348 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20349 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20350 * sysdeps/pthread/aio_notify.c: Likewise.
20351 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20352 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20353 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20354 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20355 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20356
46ed1038
LD
203572013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20358
20359 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20360 version if bit_Slow_SSE4_2 is set.
20361 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20362 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20363
d400dcac
AZ
203642013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20365
20366 [BZ #15867]
20367 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20368 trampoline stack frame information.
20369 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20370 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20371 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20372 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20373 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20374 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20375 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20376 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20377 sa_flags value.
20378 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20379 interrupting a syscall and set with option SA_SIGINFO.
20380
42c8fdd8
JM
203812013-08-20 Joseph Myers <joseph@codesourcery.com>
20382
c980f2f4
JM
20383 [BZ #15531]
20384 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20385 argument is infinite.
20386 * math/s_cprojf.c (__cprojf): Likewise.
20387 * math/s_cprojl.c (__cprojl): Likewise.
20388 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20389 * math/libm-test.inc (cproj_test_data): Add more tests.
20390
0716c4fc
JM
20391 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20392
42c8fdd8
JM
20393 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20394 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20395 size. Use __ffs to determine corresponding shift.
20396
b31469d0
JM
203972013-08-20 Joseph Myers <joseph@codesourcery.com>
20398 Roland McGrath <roland@hack.frob.com>
20399
20400 * Makefile (INSTALL): Remove trailing blank lines from output of
20401 makeinfo.
20402
4e39af6e
AK
204032013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20404
20405 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20406 Align 32 bit compat elf_greg to 8 bytes.
20407
f315524e
AA
204082013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20409
20410 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20411
1326ba1a
SP
204122013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20413
20414 * string/strcoll_l.c (coll_seq): New structure.
20415 (get_next_seq_cached): New function.
20416 (get_next_seq): New function.
20417 (do_compare): New function.
20418 (STRCOLL): Use GNU style definition. Simplify implementation
20419 by using get_next_seq, get_next_seq_cached and do_compare.
20420
91ce4085
FW
204212013-08-16 Florian Weimer <fweimer@redhat.com>
20422
20423 [BZ #14699]
20424 CVE-2013-4237
20425 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20426 member.
20427 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20428 member.
20429 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20430 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20431 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20432 conditional.
20433 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20434 GETDENTS_64BIT_ALIGNED.
20435 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20436 * manual/filesys.texi (Reading/Closing Directory): Document
20437 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20438 strongly.
20439 * manual/conf.texi (Limits for Files): Add portability note to
20440 NAME_MAX, PATH_MAX.
20441 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20442
ca0a6bc4
AS
204432013-08-13 Andreas Schwab <schwab@suse.de>
20444
20445 [BZ #15749]
20446 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20447 of fabs.
20448 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20449 LDBL_MAX_EXP >= 16384]: Add tests for it.
20450
6c1fd795
DM
204512013-08-12 David S. Miller <davem@davemloft.net>
20452
20453 * version.h (RELEASE): Set to "development".
20454 (VERSION): Set to "2.18.90".
20455 * NEWS: Add 2.19 section.
20456
31ad488d
DM
204572013-08-03 David S. Miller <davem@davemloft.net>
20458
20459 * po/ko.po: Update Korean translation from translation project.
20460
db24e684
DM
204612013-08-01 David S. Miller <davem@davemloft.net>
20462
20463 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20464 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20465 Bilka.
20466
f723285b
DM
204672013-07-30 David S. Miller <davem@davemloft.net>
20468
20469 * po/fr.po: Update French translation from translation project.
20470
3cbc52db
DM
204712013-07-28 David S. Miller <davem@davemloft.net>
20472
30bbc0cc
DM
20473 * po/cs.po: Update Czech translation from translation project.
20474
3cbc52db
DM
20475 * po/sv.po: Update Swedish translation from translation project.
20476
d492e6d0
DM
204772013-07-27 David S. Miller <davem@davemloft.net>
20478
f1a7f492
DM
20479 * po/eo.po: Update Esperanto translation from translation project.
20480
90e62a4a
DM
20481 * po/vi.po: Update Vietnamese translation from translation project.
20482
d492e6d0
DM
20483 * po/de.po: Update German translation from translation project.
20484
d4baa62d
DM
204852013-07-26 David S. Miller <davem@davemloft.net>
20486
641aa7b4
DM
20487 * po/bg.po: Update Bulgarian translation from translation project.
20488
d4baa62d
DM
20489 * po/nl.po: Update Dutch translation from translation project.
20490 * po/pl.po: Update Polish translation from translation project.
20491 * po/ru.po: Update Russian translation from translation project.
20492
61a9dcb9
DM
204932013-07-24 David S. Miller <davem@davemloft.net>
20494
20495 * po/libc.pot: Update.
20496
7b1f8b58
AZ
204972013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20498
20499 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20500 variable page size.
20501 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20502 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20503 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20504
a8fc7a03
AK
205052013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20506
20507 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20508
e4608715
CD
205092013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20510 Andreas Schwab <schwab@suse.de>
20511 Roland McGrath <roland@hack.frob.com>
20512 Joseph Myers <joseph@codesourcery.com>
20513 Carlos O'Donell <carlos@redhat.com>
20514
20515 [BZ #15755]
20516 * config.h.in: Define HAVE_PT_CHOWN.
20517 * config.make.in (build-pt-chown): New variable.
20518 * configure.in (--enable-pt_chown): New configure option.
20519 * configure: Regenerate.
20520 * login/Makefile: Include Makeconfig. Build pt_chown only if
20521 build-pt-chown is enabled.
20522 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20523 pt_chown to fix pty ownership.
20524 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20525 CLOSE_ALL_FDS.
20526 * manual/install.texi (Configuring and compiling): Mention
20527 --enable-pt_chown. Add @findex for grantpt.
20528 * INSTALL: Regenerate.
20529
da2d62df
DM
205302013-07-20 David S. Miller <davem@davemloft.net>
20531
20532 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20533 difference between 32-bit and 64-bit.
20534
d7e06450
CD
205352013-07-15 Carlos O'Donell <carlos@redhat.com>
20536
20537 [BZ #15711]
20538 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20539 Avoid system header dependency with -ffreestanding.
20540 ($(objpfx)bits/syscall%d): Likewise.
20541
f959cfd7
DM
205422013-07-13 David S. Miller <davem@davemloft.net>
20543
20544 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20545 underflows from atanl/atan2l due to bug 15319.
20546 (casinh_test_data): Likewise.
20547
c61f8513
DM
205482013-07-07 David S. Miller <davem@davemloft.net>
20549
20550 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20551
72c90ed0
JA
205522013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20553
20554 * sysdeps/i386/fpu/libm-test-ulps: Update.
20555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20556
52dfbe13
SP
205572013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20558
20559 * configure.in (--enable-lock-elision): Fix message text.
20560 * INSTALL: Regenerate.
20561 * configure: Regenerate.
20562
3f169543
AZ
205632013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20564
20565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20566
521c6785
AJ
205672013-07-03 Andreas Jaeger <aj@suse.de>
20568
20569 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20570 define.
20571 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20572 (ptrace_peeksiginfo_args): Add.
20573 (__ptrace_peeksiginfo_flags): Add.
20574 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20575 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20576 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20577
d2cc15cb
AM
205782013-07-03 Allan McRae <allan@archlinux.org>
20579
20580 * sysdeps/i386/fpu/libm-test-ulps: Update.
20581
3aaeeca7
DM
205822013-07-02 David S. Miller <davem@davemloft.net>
20583
20584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20585
5314ed1a
MT
205862013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20587
20588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20589
67338156
JM
205902013-07-02 Joseph Myers <joseph@codesourcery.com>
20591
20592 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20594
1717da59
AK
205952013-07-02 Andi Kleen <ak@linux.intel.com>
20596
20597 * config.h.in (ENABLE_LOCK_ELISION): Add.
20598 * configure.in (--enable-lock-elision): Add option.
20599 * manual/install.texi: Document --enable lock elision.
20600 * configure: Regenerate
20601 * INSTALL: Regenerate.
20602
1c81621c
L
206032013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20604
20605 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20606 SSE4.2 strcasecmp for libc.a.
20607 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20608
77f01ab5
JM
206092013-07-02 Joseph Myers <joseph@codesourcery.com>
20610
20611 [BZ #13304]
20612 * soft-fp/op-common.h (_FP_FMA): New macro.
20613 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20614 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20615 (_FP_MUL_MEAT_1_imm): ... here.
20616 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20617 (_FP_MUL_MEAT_1_wide): ... here.
20618 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20619 (_FP_MUL_MEAT_1_hard): ... here.
20620 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20621 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20622 (_FP_MUL_MEAT_2_wide): ... here.
20623 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20624 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20625 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20626 (_FP_MUL_MEAT_2_gmp): ... here.
20627 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20628 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20629 (_FP_MUL_MEAT_4_wide): ... here.
20630 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20631 (_FP_MUL_MEAT_4_gmp): ... here.
20632 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20633 (_FP_WFRACBITS_DW_S): Likewise.
20634 (_FP_WFRACXBITS_DW_S): Likewise.
20635 (_FP_HIGHBIT_DW_S): Likewise.
20636 (FP_FMA_S): Likewise.
20637 (_FP_FRAC_HIGH_DW_S): Likewise.
20638 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20639 (_FP_WFRACBITS_DW_D): Likewise.
20640 (_FP_WFRACXBITS_DW_D): Likewise.
20641 (_FP_HIGHBIT_DW_D): Likewise.
20642 (FP_FMA_D): Likewise.
20643 (_FP_FRAC_HIGH_DW_D): Likewise.
20644 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20645 (_FP_WFRACBITS_DW_E): Likewise.
20646 (_FP_WFRACXBITS_DW_E): Likewise.
20647 (_FP_HIGHBIT_DW_E): Likewise.
20648 (FP_FMA_E): Likewise.
20649 (_FP_FRAC_HIGH_DW_E): Likewise.
20650 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20651 (_FP_WFRACBITS_DW_Q): Likewise.
20652 (_FP_WFRACXBITS_DW_Q): Likewise.
20653 (_FP_HIGHBIT_DW_Q): Likewise.
20654 (FP_FMA_Q): Likewise.
20655 (_FP_FRAC_HIGH_DW_Q): Likewise.
20656 * soft-fp/fmasf4.c: New file.
20657 * soft-fp/fmadf4.c: Likewise.
20658 * soft-fp/fmatf4.c: Likewise.
20659
6308fd9a
LD
206602013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20661
20662 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20663 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20664 Silvermont.
20665 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20666 macro.
20667 (index_Slow_SSE4_2): Likewise.
20668 (index_Prefer_PMINUB_for_stringop): Likewise.
20669 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20670 bit_Slow_SSE4_2 is set.
20671 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20672 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20673
89cd9569
RA
206742013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20675
20676 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20677 rtld_global._dl_hwcap2.
20678 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20679 POWER8.
20680 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20681 POWER8 feature descriptions defined in _dl_hwcap2.
20682 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20683 string handling for POWER8 feature bits.
20684 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20685 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20686 _dl_powerpc_cap_flags.
20687 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20688 * sysdeps/powerpc/rtld-global-offsets.sym
20689 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20690 _dl_hwcap2 in the rtld_global_ro structure.
20691
1ae8bfe0
RA
206922013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20693
20694 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20695 hardware capabilities in support of AT_HWCAP2.
20696 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20697 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20698 GLRO(dl_hwcap2).
20699 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20700 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20701 explicitly the unknown a_type display mechanism is used.
20702 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20703 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20704 struct member.
20705 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20706 to macro prototype for AT_HWCAP2 support.
20707 * sysdeps/i386/dl-procinfo.h: Likewise.
20708 * sysdeps/s390/dl-procinfo.h: Likewise.
20709 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20710 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20711 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20712 return -1 for unknown a_type display fallback.
20713 * sysdeps/sparc/dl-procinfo.h: Likewise.
20714 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20715 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20716
8fbec010
JM
207172013-06-28 Joseph Myers <joseph@codesourcery.com>
20718
20719 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20720 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20721
0432680e
PY
207222013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20723
20724 [BZ #12492]
20725 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20726 mprotect making __stack_prot writable.
20727
ce61a2ad
NF
207282013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20729 Joseph Myers <joseph@codesourcery.com>
20730
20731 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20732 as being properly aligned.
20733
f91f1c0f
MR
207342013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20735
3d0f5d0c
MR
20736 * dlfcn/modstatic5.c: New file.
20737 * dlfcn/tststatic5.c: New file.
20738 * dlfcn/Makefile (tests): Add tststatic5.
20739 (tests-static): Likewise.
20740 (modules-names): Add modstatic5.
20741 (tststatic5-ENV): New variable.
20742 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20743
f91f1c0f
MR
20744 [BZ #15022]
20745 * elf/dl-support.c (_dl_main_map): New variable.
20746 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20747 (_dl_nns, _dl_load_adds): Set to 1.
20748 (_dl_initial_searchlist): Refer to _dl_main_map.
20749 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20750 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20751 call to _dl_get_origin.
20752 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20753 around call_map.
20754 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20755 * dlfcn/modstatic3.c: New file.
20756 * dlfcn/tststatic3.c: New file.
20757 * dlfcn/tststatic4.c: New file.
20758 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20759 (tests-static): Likewise.
20760 (modules-names): Add modstatic3.
20761 (tststatic3-ENV, tststatic4-ENV): New variables.
20762 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20763 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20764
cbe7d24b
JM
207652013-06-26 Joseph Myers <joseph@codesourcery.com>
20766
20767 * configure.in (CC): Require GCC version 4.4 or later.
20768 * configure: Regenerated.
20769 * manual/install.texi (Tools for Compilation): Update GCC version
20770 requirement.
20771 * INSTALL: Regenerated.
20772
11b8a0e1
LD
207732013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20774
20775 [BZ #15674]
bb5bb87c
L
20776 * string/test-memcmp.c (check2): New.
20777 (main): Call check2.
20778
11b8a0e1
LD
20779 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20780
b0037103
MR
207812013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20782
20783 [BZ #15022]
20784 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20785 over to...
20786 (dl_open_worker) [!SHARED]: ... here.
20787
c18c701d
RA
207882013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20789
20790 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20791
1d17fa5f
RH
207922013-06-25 Richard Henderson <rth@redhat.com>
20793
20794 * locale/programs/locarchive.c: Include <libc-internal.h>
20795
8fcb833a
JM
207962013-06-25 Joseph Myers <joseph@codesourcery.com>
20797
20798 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20799 trailing whitespace removed.
20800
17db6e8d
MF
208012013-06-24 Mike Frysinger <vapier@gentoo.org>
20802
20803 [BZ #10283]
17db6e8d
MF
20804 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20805 * locale/programs/locarchive.c: Include libc-mmap.h.
20806 (prepare_address_space): Take two new outputs (the mmap base and len).
20807 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20808 values.
20809 (create_archive): Declare new mmap base and len values for
20810 prepare_address_space, and store the result in ah.
20811 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20812 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20813 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20814 Declare new mmap base and len values for
20815 prepare_address_space, and store the result in new_ah.
20816 (open_archive): Declare new mmap base and len values for
20817 prepare_address_space, and store the result in ah.
20818 (close_archive): If ah->mmap_base is not NULL, use that and
20819 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20820 * sysdeps/generic/libc-mmap.h: New file.
20821
d605071e
MF
208222013-06-24 Mike Frysinger <vapier@gentoo.org>
20823
20824 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20825 (ALIGN_UP): Likewise.
20826 (PTR_ALIGN_DOWN): Likewise.
20827 (PTR_ALIGN_UP): Likewise.
20828
2f063a6e
RA
208292013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20830
20831 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20832 entry mapped to PPC_PLATFORM_POWER8.
20833 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20834 POWER8.
20835 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20836 (_dl_string_platform): Add case for exporting platform position for
20837 POWER8.
20838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20839 search path to sysdeps/powerpc/powerpc32/power8 directory.
20840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20841 search path to sysdeps/powerpc/powerpc64/power8 directory.
20842 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20843 power7 directories.
20844 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20845 power7 directories.
20846
a31ee4b3
SP
208472013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20848
a74ca98f
SP
20849 * INSTALL: Regenerate.
20850
a31ee4b3
SP
20851 * nscd/connections.c (nscd_init): Fix comment.
20852
695c378f
JM
208532013-06-22 Joseph Myers <joseph@codesourcery.com>
20854
d8412221
JM
20855 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20856
695c378f
JM
20857 [BZ #15667]
20858 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20859 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20860
d1d54715
MR
208612013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20862
20863 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20864 DL_DST_REQ_STATIC.
20865 (DL_DST_REQ_STATIC): Remove macro.
20866
8fdda7af
JM
208672013-06-21 Joseph Myers <joseph@codesourcery.com>
20868
20869 [BZ #7006]
20870 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20871 with a shift of 0 bits.
20872
f3bc5e5a
MR
208732013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20874
20875 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20876 $(tststatic-ENV).
20877
be09e8c9
KK
208782013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20879
20880 [BZ #15655]
20881 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20882
85c2e611
AZ
208832013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20884
20885 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20886 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20887 accepts -fno-tree-loop-distribute-patterns.
20888 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20889 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20890 recursive call.
20891 * string/memset.c (memset): Likewise.
20892 * string/test-memmove.c (simple_memmove): Disable loop transformation
20893 to library calls.
20894 * string/test-memset.c (simple_memset): Likewise.
20895 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20896 * benchtests/bench-memset.c (simple_memset): Likewise.
20897 * configure: Regenerated.
20898
c91e0825
JM
208992013-06-20 Joseph Myers <joseph@codesourcery.com>
20900
b8c792af
JM
20901 * math/test-misc.c (main): Ignore fesetround failure when failures
20902 of subsequent rounding tests would be ignored.
20903
c91e0825
JM
20904 [BZ #15654]
20905 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20906 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20907 * math/fegetenv.c (__fegetenv): Return 0.
20908 * math/fegetexcept.c (fegetexcept): Return 0.
20909 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20910 FE_TONEAREST.
20911 * math/feholdexcpt.c (feholdexcept): Return 0.
20912 * math/fesetenv.c (__fesetenv): Return 0.
20913 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20914 argument FE_TONEAREST.
20915 * math/feupdateenv.c (__feupdateenv): Return 0.
20916 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20917
bfcacbde
RM
209182013-06-18 Roland McGrath <roland@hack.frob.com>
20919
20920 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20921 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20922 ($(objpfx)rtld-%.os rules): Use them.
20923
e55a9b25
AZ
209242013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20925
20926 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20927 fields.
20928
346d65b3
RM
209292013-06-17 Roland McGrath <roland@hack.frob.com>
20930
12086fb4
RM
20931 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20932 length of target pattern, then descending length of dependency pattern.
20933 * configure.in (AWK): Require gawk 3.1.2 or newer.
20934 * manual/install.texi (Tools for Compilation): Say that we do.
20935 * configure: Regenerated.
20936
346d65b3
RM
20937 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20938 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20939 * scripts/sysd-rules.awk: ... this new script.
20940 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20941 than a glob-style pattern.
20942
1a846317
JM
209432013-06-17 Joseph Myers <joseph@codesourcery.com>
20944
20945 * math/test-misc.c (main): Do not treat incorrectly rounded
20946 conversions as failure unless ROUNDING_TESTS passes.
20947
8fc75e6f
JM
209482013-06-15 Joseph Myers <joseph@codesourcery.com>
20949
3711a167
JM
20950 [BZ #15631]
20951 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20952 restore exception state around main square root computation, then
20953 check for inexactness explicitly.
20954
8fc75e6f
JM
20955 * math/libm-test.inc (fma_test_data): Add another test.
20956
61dd6208
SP
209572013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20958
adf23d2c
SP
20959 * manual/threads.texi (Non-POSIX Extensions): New document
20960 node. Document pthread_getattr_default_np and
20961 pthread_setattr_default_np.
20962
61dd6208
SP
20963 * Versions.def (libpthread): Add GLIBC_2.18.
20964 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20966 Likewise.
20967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20968 Likewise.
20969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20970 Likewise.
20971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20972 Likewise.
20973 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20974 Likewise.
20975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20976 Likewise.
20977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20978 Likewise.
20979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20980 Likewise.
20981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20982 Likewise.
20983
d086fc7b
LD
209842013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20985
20986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20987 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20988
747ef469
SP
209892013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20990 H.J. Lu <hjl.tools@gmail.com>
20991
20992 [BZ #15627]
20993 * sysdeps/x86_64/rtld-memset.c: Remove file.
20994 * sysdeps/x86_64/rtld-memset.S: New file.
20995
1b2feed2
JM
209962013-06-14 Joseph Myers <joseph@codesourcery.com>
20997
20998 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20999 (test_in_one_mode): Take arguments for whether the rounding mode
21000 is supported for each floating-point type.
21001 (do_test): Pass new arguments to test_in_one_mode using
21002 ROUNDING_TESTS.
21003
a58ad3f8
RM
210042013-06-13 Roland McGrath <roland@hack.frob.com>
21005
21006 * posix/tst-waitid.c (do_test): Distinguish different instances of
21007 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21008 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21009 before entering the kernel for waitpid.
21010
c204ab28
SP
210112013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21012
21013 * NEWS: Fix note on clock function precision. Text by Roland
21014 McGrath.
21015
f4a29fba
RM
210162013-06-13 Roland McGrath <roland@hack.frob.com>
21017
21018 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21019 it into place only when and if the sanity check passes.
21020
1f24b9ad
JM
210212013-06-13 Joseph Myers <joseph@codesourcery.com>
21022
21023 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21024 output for whether conversion result is exact. Take argument
21025 indicating whether type is IBM long double.
21026 (round_for_all): Change need_exact field to ibm_ld.
21027 * stdlib/tst-strtod-round.c (struct exactness): New type.
21028 (struct test): Change bool ld_ok field to struct exactness exact.
21029 (TEST): Update all definitions for change to field.
21030 (tests): Regenerate array contents.
21031 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21032 field value. Check for IBM long double here.
21033 (do_test): Update calls to test_in_one_mode.
21034
58206c68
SP
210352013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21036
21037 [BZ #12515]
21038 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21039 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21040
2d6f4c5b 210412013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
21042
21043 [BZ #15605]
21044 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21045 generated by the compiler on loop optimizations.
21046 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21047 general definitions.
21048
94f2c076
JM
210492013-06-12 Joseph Myers <joseph@codesourcery.com>
21050
21051 * math/bug-nextafter.c: Include <math-tests.h>.
21052 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21053 the relevant type.
21054 * math/bug-nexttoward.c: Include <math-tests.h>.
21055 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21056 the relevant type.
21057 * math/test-misc.c: Include <math-tests.h>.
21058 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21059 the relevant type.
21060
e0e50a0a
AJ
210612013-06-12 Andreas Jaeger <aj@suse.de>
21062
21063 * po/ia.po: Update Interlingua translation from translation
21064 project.
21065
25061094
SP
210662013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21067
21068 * include/fenv.h: Include stdbool.h.
21069 (struct rm_ctx): New structure.
21070 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21071 Define macro.
21072 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21073 (SET_RESTORE_ROUNDF): Likewise.
21074 (SET_RESTORE_ROUNDL): Likewise.
21075 (SET_RESTORE_ROUND_NOEX): Likewise.
21076 (SET_RESTORE_ROUND_NOEXF): Likewise.
21077 (SET_RESTORE_ROUND_NOEXL): Likewise.
21078 (SET_RESTORE_ROUND_53BIT): Likewise.
21079 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21080 (libc_feresetround_noexf_ctx): Likewise.
21081 (libc_feresetround_noexl_ctx): Likewise.
21082 (libc_feholdsetround_53bit_ctx): Likewise.
21083 (libc_feresetround_53bit_ctx): Likewise.
21084 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21085 (libc_feholdexcept_setround_sse_ctx): New function.
21086 (libc_fesetenv_sse_ctx): Likewise.
21087 (libc_feupdateenv_sse_ctx): Likewise.
21088 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21089 (libc_feholdexcept_setround_387_ctx): Likewise.
21090 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21091 (libc_feholdsetround_387_prec_ctx): Likewise.
21092 (libc_feholdsetround_387_ctx): Likewise.
21093 (libc_feholdsetround_387_53bit_ctx): Likewise.
21094 (libc_feholdsetround_sse_ctx): Likewise.
21095 (libc_feresetround_sse_ctx): Likewise.
21096 (libc_feresetround_387_ctx): Likewise.
21097 (libc_feupdateenv_387_ctx): Likewise.
21098 (libc_feholdexcept_setroundf_ctx): Define macro.
21099 (libc_fesetenvf_ctx): Likewise.
21100 (libc_feupdateenvf_ctx): Likewise.
21101 (libc_feholdsetroundf_ctx): Likewise.
21102 (libc_feresetroundf_ctx): Likewise.
21103 (libc_feholdexcept_setround_ctx): Likewise.
21104 (libc_fesetenv_ctx): Likewise.
21105 (libc_feupdateenv_ctx): Likewise.
21106 (libc_feholdsetround_ctx): Likewise.
21107 (libc_feresetround_ctx): Likewise.
21108 (libc_feholdexcept_setroundl_ctx): Likewise.
21109 (libc_feupdateenvl_ctx): Likewise.
21110 (libc_feholdsetroundl_ctx): Likewise.
21111 (libc_feresetroundl_ctx): Likewise.
21112 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21113 (libc_feresetround_53bit_ctx): Likewise.
21114
59b30555
SP
211152013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21116
21117 * locale/iso-639.def: Convert to UTF-8.
21118
f1d73d30
JM
211192013-06-11 Joseph Myers <joseph@codesourcery.com>
21120
21121 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21122 (EXCEPTION_TESTS_double): Likewise.
21123 (EXCEPTION_TESTS_long_double): Likewise.
21124 (EXCEPTION_TESTS): Likewise.
21125 * math/libm-test.inc (test_exceptions): Only test exceptions if
21126 EXCEPTION_TESTS (FLOAT).
21127
94aca5e7
SP
211282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21129
21130 * benchtests/Makefile (string-bench): Add strcpy_chk and
21131 stpcpy_chk.
21132 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21133 * benchtests/bench-stpcpy_chk.c: New file.
21134 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21135 * benchtests/bench-strcpy_chk.c: New file.
21136 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21137 code.
21138 (do_test): Likewise.
21139
fac0c5f2
RA
211402013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21141
21142 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21143 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21144 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21145 with tabs where appropriate.
21146 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21147 dl-procinfo.h.
21148 [PPC_PLATFORM_PPC440]: Likewise.
21149 [PPC_PLATFORM_PPC464]: Likewise.
21150 [PPC_PLATFORM_PPC476]: Likewise.
21151 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21152 ppc464, and ppc476 platform strings merging from ports/
21153 dl-procinfo.h.
21154
f22bc486
AS
211552013-06-11 Andreas Schwab <schwab@suse.de>
21156
21157 [BZ #14991]
21158 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21159 (from_ucs4_idx): Regenerate.
21160 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21161 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21162 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21163 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21164 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21165 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21166 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21167 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21168 from FROM_LOOP and TO_LOOP specific macros.
21169 (BODY): Handle combining characters.
21170 * iconvdata/BIG5HKSCS.irreversible: Update.
21171 * iconvdata/BIG5HKSCS.precomposed: New file.
21172 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21173 characters.
21174 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21175
c1f75dc3
SP
211762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21177
4eacded2
SP
21178 * include/sys/time.h: Fix indentation and add copyright header.
21179
fec799f8
SP
21180 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21181 (do_test): Likewise.
21182 * string/test-memchr.c (do_one_test): Likewise.
21183 (do_test): Likewise.
21184 * string/test-memcmp.c (do_one_test): Likewise.
21185 (do_test): Likewise.
21186 * string/test-memcpy.c (do_one_test): Likewise.
21187 (do_test): Likewise.
21188 * string/test-memmem.c (do_one_test): Likewise.
21189 (do_test): Likewise.
21190 (do_random_tests): Likewise.
21191 * string/test-memmove.c (do_one_test): Likewise.
21192 (do_test): Likewise.
21193 * string/test-memset.c (do_one_test): Likewise.
21194 (do_test): Likewise.
21195 * string/test-rawmemchr.c (do_one_test): Likewise.
21196 (do_test): Likewise.
21197 * string/test-strcasecmp.c (do_one_test): Likewise.
21198 (do_test): Likewise.
21199 * string/test-strcasestr.c (do_one_test): Likewise.
21200 (do_test): Likewise.
21201 * string/test-strcat.c (do_one_test): Likewise.
21202 (do_test): Likewise.
21203 * string/test-strchr.c (do_one_test): Likewise.
21204 (do_test): Likewise.
21205 * string/test-strcmp.c (do_one_test): Likewise.
21206 (do_test): Likewise.
21207 * string/test-strcpy.c (do_one_test): Likewise.
21208 (do_test): Likewise.
21209 * string/test-string.h: Likewise.
21210 (test_init): Likewise.
21211 * string/test-strlen.c (do_one_test): Likewise.
21212 (do_test): Likewise.
21213 * string/test-strncasecmp.c (do_one_test): Likewise.
21214 (do_test): Likewise.
21215 * string/test-strncat.c (do_one_test): Likewise.
21216 (do_test): Likewise.
21217 * string/test-strncmp.c (do_one_test): Likewise.
21218 (do_test_limit): Likewise.
21219 (do_test): Likewise.
21220 * string/test-strncpy.c (do_one_test): Likewise.
21221 (do_test): Likewise.
21222 * string/test-strnlen.c (do_one_test): Likewise.
21223 (do_test): Likewise.
21224 * string/test-strpbrk.c (do_one_test): Likewise.
21225 (do_test): Likewise.
21226 * string/test-strrchr.c (do_one_test): Likewise.
21227 (do_test): Likewise.
21228 * string/test-strspn.c (do_one_test): Likewise.
21229 (do_test): Likewise.
21230 * string/test-strstr.c (do_one_test): Likewise.
21231 (do_test): Likewise.
21232
97020474
SP
21233 * benchtests/Makefile (string-bench): Add string benchmarks.
21234 * benchtests/bench-bcopy-ifunc.c: New file.
21235 * benchtests/bench-bcopy.c: New file.
21236 * benchtests/bench-bzero-ifunc.c: New file.
21237 * benchtests/bench-bzero.c: New file.
21238 * benchtests/bench-memccpy-ifunc.c: New file.
21239 * benchtests/bench-memccpy.c: New file.
21240 * benchtests/bench-memchr-ifunc.c: New file.
21241 * benchtests/bench-memchr.c: New file.
21242 * benchtests/bench-memcmp-ifunc.c: New file.
21243 * benchtests/bench-memcmp.c: New file.
21244 * benchtests/bench-memmem-ifunc.c: New file.
21245 * benchtests/bench-memmem.c: New file.
21246 * benchtests/bench-memmove-ifunc.c: New file.
21247 * benchtests/bench-memmove.c: New file.
21248 * benchtests/bench-mempcpy-ifunc.c: New file.
21249 * benchtests/bench-mempcpy.c: New file.
21250 * benchtests/bench-memset-ifunc.c: New file.
21251 * benchtests/bench-memset.c: New file.
21252 * benchtests/bench-rawmemchr-ifunc.c: New file.
21253 * benchtests/bench-rawmemchr.c: New file.
21254 * benchtests/bench-stpcpy-ifunc.c: New file.
21255 * benchtests/bench-stpcpy.c: New file.
21256 * benchtests/bench-stpncpy-ifunc.c: New file.
21257 * benchtests/bench-stpncpy.c: New file.
21258 * benchtests/bench-strcasecmp-ifunc.c: New file.
21259 * benchtests/bench-strcasecmp.c: New file.
21260 * benchtests/bench-strcasestr-ifunc.c: New file.
21261 * benchtests/bench-strcasestr.c: New file.
21262 * benchtests/bench-strcat-ifunc.c: New file.
21263 * benchtests/bench-strcat.c: New file.
21264 * benchtests/bench-strchr-ifunc.c: New file.
21265 * benchtests/bench-strchr.c: New file.
21266 * benchtests/bench-strchrnul-ifunc.c: New file.
21267 * benchtests/bench-strchrnul.c: New file.
21268 * benchtests/bench-strcmp-ifunc.c: New file.
21269 * benchtests/bench-strcmp.c: New file.
21270 * benchtests/bench-strcpy-ifunc.c: New file.
21271 * benchtests/bench-strcpy.c: New file.
21272 * benchtests/bench-strcspn-ifunc.c: New file.
21273 * benchtests/bench-strcspn.c: New file.
21274 * benchtests/bench-strlen-ifunc.c: New file.
21275 * benchtests/bench-strlen.c: New file.
21276 * benchtests/bench-strncasecmp-ifunc.c: New file.
21277 * benchtests/bench-strncasecmp.c: New file.
21278 * benchtests/bench-strncat-ifunc.c: New file.
21279 * benchtests/bench-strncat.c: New file.
21280 * benchtests/bench-strncmp-ifunc.c: New file.
21281 * benchtests/bench-strncmp.c: New file.
21282 * benchtests/bench-strncpy-ifunc.c: New file.
21283 * benchtests/bench-strncpy.c: New file.
21284 * benchtests/bench-strnlen-ifunc.c: New file.
21285 * benchtests/bench-strnlen.c: New file.
21286 * benchtests/bench-strpbrk-ifunc.c: New file.
21287 * benchtests/bench-strpbrk.c: New file.
21288 * benchtests/bench-strrchr-ifunc.c: New file.
21289 * benchtests/bench-strrchr.c: New file.
21290 * benchtests/bench-strspn-ifunc.c: New file.
21291 * benchtests/bench-strspn.c: New file.
21292 * benchtests/bench-strstr-ifunc.c: New file.
21293 * benchtests/bench-strstr.c: New file.
21294
c1f75dc3
SP
21295 * benchtests/Makefile: Disable parallel execution of targets.
21296 (string-bench): Add memcpy.
21297 (benchset): New variable to store a list of benchmark sets.
21298 (bench-func): Renamed from bench.
21299 (bench-set): New target.
21300 (bench): Depend on bench-func and bench-set.
21301 * benchtests/README: Add section on benchmark sets.
21302 * benchtests/bench-memcpy-ifunc.c: New file.
21303 * benchtests/bench-memcpy.c: New file.
21304 * benchtests/bench-string.h: New file.
21305
50fd745b
AS
213062013-06-11 Andreas Schwab <schwab@suse.de>
21307
21308 [BZ #15577]
21309 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21310 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21311 values in the triple.
21312 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21313 terminator in the group key.
21314
3ee7e9fe
AJ
213152013-06-11 Andreas Jaeger <aj@suse.de>
21316
21317 * po/zh_TW.po: Update Chinese (traditional) translation from
21318 translation project.
21319
89fb6835
SP
213202013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21321
21322 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21323 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21324 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21325 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21326 (clock_getcpuclockid): Likewise.
21327 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21328 Add weak_alias and libc_hidden_def.
21329 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21330 * rt/clock_gettime.c (clock_gettime): Rename to
21331 __clock_gettime. Add weak_alias and libc_hidden_def.
21332 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21333 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21334 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21335 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21336 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21337 Likewise.
21338 * rt/clock_settime.c (clock_settime): Rename to
21339 __clock_settime. Add weak_alias and libc_hidden_def.
21340 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21341
0efa6f8b
JM
213422013-06-10 Joseph Myers <joseph@codesourcery.com>
21343
b8c61b4b
JM
21344 * mach/err_boot.sub: Remove trailing whitespace.
21345 * mach/err_ipc.sub: Likewise.
21346 * mach/err_mach.sub: Likewise.
21347
0efa6f8b
JM
21348 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21349 (ROUNDING_TESTS_double): Likewise.
21350 (ROUNDING_TESTS_long_double): Likewise.
21351 (ROUNDING_TESTS): Likewise.
21352 * math/libm-test.inc: Include <math-tests.h>.
21353 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21354 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21355 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21356 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21357
50b818bf
SP
213582013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21359
21360 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21361 of assigning.
21362
60d2f8f3
JM
213632013-06-08 Joseph Myers <joseph@codesourcery.com>
21364
4902d2c3
JM
21365 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21366 otherwise empty TRANS lines.
21367 * sysdeps/gnu/errlist.c: Regenerated.
21368
60d2f8f3
JM
21369 * catgets/gencat.c (error_print): Use (void) in function
21370 definition.
21371 * crypt/crypt_util.c (__init_des): Likewise.
21372 * crypt/speeds.c (Stop): Likewise.
21373 (main): Likewise.
21374 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21375 * inet/ruserpass.c (token): Likewise.
21376 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21377 * intl/localealias.c (extend_alias_table): Likewise.
21378 * intl/plural-exp.c (init_germanic_plural): Likewise.
21379 * libio/fcloseall.c (__fcloseall): Likewise.
21380 * libio/genops.c (_IO_flush_all): Likewise.
21381 (_IO_flush_all_linebuffered): Likewise.
21382 (_IO_cleanup): Likewise.
21383 (_IO_iter_begin): Likewise.
21384 (_IO_iter_end): Likewise.
21385 (_IO_list_lock): Likewise.
21386 (_IO_list_unlock): Likewise.
21387 (_IO_list_resetlock): Likewise.
21388 * libio/getchar.c (getchar): Likewise.
21389 * libio/getchar_u.c (getchar_unlocked): Likewise.
21390 * libio/getwchar.c (getwchar): Likewise.
21391 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21392 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21393 * login/getpt.c (__getpt): Likewise.
21394 * login/tst-utmp.c (main): Likewise.
21395 * malloc/hooks.c (__malloc_check_init): Likewise.
21396 * malloc/malloc.c (__malloc_stats): Likewise.
21397 * malloc/mtrace.c (tr_break): Likewise.
21398 (mtrace): Likewise.
21399 (muntrace): Likewise.
21400 * misc/fstab.c (endfsent): Likewise.
21401 * misc/getclktck.c (__getclktck): Likewise.
21402 * misc/getdtsz.c (__getdtablesize): Likewise.
21403 * misc/gethostid.c (gethostid): Likewise.
21404 * misc/getpagesize.c (__getpagesize): Likewise.
21405 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21406 (__get_nprocs): Likewise.
21407 (__get_phys_pages): Likewise.
21408 (__get_avphys_pages): Likewise.
21409 * misc/getttyent.c (getttyent): Likewise.
21410 (setttyent): Likewise.
21411 (endttyent): Likewise.
21412 * misc/getusershell.c (getusershell): Likewise.
21413 (endusershell): Likewise.
21414 (setusershell): Likewise.
21415 (initshells): Likewise.
21416 * misc/hsearch.c (__hdestroy): Likewise.
21417 * misc/sync.c (sync): Likewise.
21418 * misc/syslog.c (closelog_internal): Likewise.
21419 (closelog): Likewise.
21420 * misc/ttyslot.c (ttyslot): Likewise.
21421 * misc/vhangup.c (vhangup): Likewise.
21422 * posix/fork.c (__fork): Likewise.
21423 * posix/getegid.c (__getegid): Likewise.
21424 * posix/geteuid.c (__geteuid): Likewise.
21425 * posix/getgid.c (__getgid): Likewise.
21426 * posix/getpid.c (__getpid): Likewise.
21427 * posix/getppid.c (__getppid): Likewise.
21428 * posix/getuid.c (__getuid): Likewise.
21429 * posix/pause.c (pause): Likewise.
21430 * posix/setpgrp.c (setpgrp): Likewise.
21431 * posix/setsid.c (__setsid): Likewise.
21432 * posix/test-vfork.c (noop): Likewise.
21433 * resolv/gethnamaddr.c (_endhtent): Likewise.
21434 (_gethtent): Likewise.
21435 (ht_endhostent): Likewise.
21436 (gethostent): Likewise.
21437 (dns_service): Likewise.
21438 * stdlib/drand48.c (drand48): Likewise.
21439 * stdlib/lrand48.c (lrand48): Likewise.
21440 * stdlib/mrand48.c (mrand48): Likewise.
21441 * stdlib/rand.c (rand): Likewise.
21442 * stdlib/random.c (__random): Likewise.
21443 * stdlib/setenv.c (clearenv): Likewise.
21444 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21445 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21446 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21447 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21448 (__get_nprocs): Likewise.
21449 (__get_phys_pages): Likewise.
21450 (__get_avphys_pages): Likewise.
21451 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21452 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21453 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21454 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21455 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21456 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21457 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21458 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21459 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21460 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21461 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21462 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21463 * sysdeps/posix/clock.c (clock): Likewise.
21464 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21465 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21466 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21467 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21468 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21469 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21470 (__get_nprocs_conf): Likewise.
21471 (__get_phys_pages): Likewise.
21472 (__get_avphys_pages): Likewise.
21473 * time/clock.c (clock): Likewise.
21474 * time/tzset.c (__tzname_max): Likewise.
21475
2e09a79a
JM
214762013-06-07 Joseph Myers <joseph@codesourcery.com>
21477
21478 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21479 (__bswap_32): Do not use "register".
21480 * crypt/crypt.c (_ufc_doit_r): Likewise.
21481 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21482 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21483 * gmon/gmon.c (__monstartup): Likewise.
21484 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21485 * hurd/hurdmalloc.c (more_memory): Likewise.
21486 (malloc): Likewise.
21487 (free): Likewise.
21488 (realloc): Likewise.
21489 (malloc_fork_prepare): Likewise.
21490 (malloc_fork_parent): Likewise.
21491 (malloc_fork_child): Likewise.
21492 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21493 (_svcauth_des): Likewise.
21494 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21495 * inet/inet_net.c (inet_network): Likewise.
21496 * inet/inet_netof.c (inet_netof): Likewise.
21497 * inet/rcmd.c (__validuser2_sa): Likewise.
21498 * io/fts.c (fts_open): Likewise.
21499 (fts_load): Likewise.
21500 (fts_close): Likewise.
21501 (fts_read): Likewise.
21502 (fts_children): Likewise.
21503 (fts_build): Likewise.
21504 (fts_stat): Likewise.
21505 (fts_sort): Likewise.
21506 (fts_alloc): Likewise.
21507 (fts_lfree): Likewise.
21508 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21509 (_IO_file_xsgetn): Likewise.
21510 (_IO_file_xsgetn_mmap): Likewise.
21511 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21512 (_IO_cookie_write): Likewise.
21513 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21514 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21515 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21516 * malloc/obstack.c (_obstack_begin): Likewise.
21517 (_obstack_begin_1): Likewise.
21518 (_obstack_newchunk): Likewise.
21519 (_obstack_allocated_p): Likewise.
21520 (obstack_free): Likewise.
21521 (_obstack_memory_used): Likewise.
21522 * misc/getttyent.c (getttynam): Likewise.
21523 (getttyent): Likewise.
21524 (skip): Likewise.
21525 (value): Likewise.
21526 * misc/getusershell.c (initshells): Likewise.
21527 * misc/syslog.c (__vsyslog_chk): Likewise.
21528 * misc/ttyslot.c (ttyslot): Likewise.
21529 * nis/nis_hash.c (__nis_hash): Likewise.
21530 * posix/fnmatch_loop.c (FCT): Likewise.
21531 * posix/getconf.c (print_all): Likewise.
21532 (main): Likewise.
21533 * posix/getopt.c (exchange): Likewise.
21534 * posix/glob.c (globfree): Likewise.
21535 (prefix_array): Likewise.
21536 (__glob_pattern_type): Likewise.
21537 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21538 (NS_GET32): Likewise.
21539 (NS_PUT16): Likewise.
21540 (NS_PUT32): Likewise.
21541 * resolv/gethnamaddr.c (getanswer): Likewise.
21542 (gethostbyname2): Likewise.
21543 (gethostbyaddr): Likewise.
21544 (_gethtent): Likewise.
21545 (_gethtbyname2): Likewise.
21546 (_gethtbyaddr): Likewise.
21547 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21548 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21549 * resolv/res_init.c (__res_vinit): Likewise.
21550 (net_mask): Likewise.
21551 * resolv/res_mkquery.c (outchar): Likewise.
21552 (PRINT): Likewise.
21553 * stdio-common/printf_fp.c (outchar): Likewise.
21554 (PRINT): Likewise.
21555 * stdio-common/printf_fphex.c (outchar): Likewise.
21556 (PRINT): Likewise.
21557 * stdio-common/printf_size.c (outchar): Likewise.
21558 (PRINT): Likewise.
21559 * stdio-common/test_rdwr.c (main): Likewise.
21560 * stdio-common/tfformat.c (matches): Likewise.
21561 * stdio-common/vfprintf.c (outchar): Likewise.
21562 (printf_unknown): Likewise.
21563 (buffered_vfprintf): Likewise.
21564 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21565 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21566 (ReadFile): Likewise.
21567 * stdlib/qsort.c (SWAP): Likewise.
21568 (_quicksort): Likewise.
21569 * stdlib/setenv.c (__add_to_environ): Likewise.
21570 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21571 * stdlib/strtol_l.c (__strtol_l): Likewise.
21572 * stdlib/tst-strtod.c (main): Likewise.
21573 * stdlib/tst-strtol.c (main): Likewise.
21574 * stdlib/tst-strtoll.c (main): Likewise.
21575 * string/bits/string2.h (__strcmp_cc): Likewise.
21576 (__strcmp_cg): Likewise.
21577 (__strcspn_c1): Likewise.
21578 (__strcspn_c2): Likewise.
21579 (__strcspn_c3): Likewise.
21580 (__strspn_c1): Likewise.
21581 (__strspn_c2): Likewise.
21582 (__strspn_c3): Likewise.
21583 (__strsep_1c): Likewise.
21584 (__strsep_2c): Likewise.
21585 (__strsep_3c): Likewise.
21586 * string/memccpy.c (__memccpy): Likewise.
21587 * string/stpcpy.c (__stpcpy): Likewise.
21588 * string/strcmp.c (strcmp): Likewise.
21589 * string/strrchr.c (strrchr): Likewise.
21590 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21591 Likewise.
21592 * sysdeps/mach/hurd/getcwd.c
21593 (_hurd_canonicalize_directory_name_internal): Likewise.
21594 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21595 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21596 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21597 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21598 Likewise, in both definitions.
21599 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21600 definitions.
21601 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21602 64] (__bswap_64): Likewise.
21603 * time/test_time.c (main): Likewise.
21604 * time/tzfile.c (__tzfile_read): Likewise.
21605 (__tzfile_compute): Likewise.
21606 * time/tzset.c (__tzset_parse_tz): Likewise.
21607 (tzset_internal): Likewise.
21608 (compute_change): Likewise.
21609 * wcsmbs/wcscat.c (__wcscat): Likewise.
21610 * wcsmbs/wcschr.c (wcschr): Likewise.
21611 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21612 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21613 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21614 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21615 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21616 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21617 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21618 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21619 * wcsmbs/wmemset.c (wmemset): Likewise.
21620
9e54314b
JM
216212013-06-06 Joseph Myers <joseph@codesourcery.com>
21622
21623 * scripts/config.guess: Update to version 2013-05-16.
21624 * scripts/config.sub: Update to version 2013-04-24.
21625 * scripts/install-sh: Update to version 2011-11-20.07.
21626 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21627 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21628
350635a5
OB
216292013-06-06 Ondřej Bílka <neleai@seznam.cz>
21630
21631 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21632 * elf/sln.c: Likewise.
21633 * hurd/hurd/ioctl.h: Likewise.
21634 * hurd/hurdmalloc.c: Likewise.
21635 * hurd/xattr.c: Likewise.
21636 * include/shlib-compat.h: Likewise.
21637 * inet/ruserpass.c: Likewise.
21638 * libio/iofgets_u.c: Likewise.
21639 * libio/iofgetws_u.c: Likewise.
21640 * locale/programs/ld-identification.c: Likewise.
21641 * locale/programs/ld-time.c: Likewise.
21642 * mach/msg-destroy.c: Likewise.
21643 * nss/nss_files/files-netgrp.c: Likewise.
21644 * resolv/res_data.c: Likewise.
21645 * soft-fp/op-1.h: Likewise.
21646 * soft-fp/op-2.h: Likewise.
21647 * soft-fp/op-4.h: Likewise.
21648 * soft-fp/op-common.h: Likewise.
21649 * stdio-common/printf_fphex.c: Likewise.
21650 * stdlib/strtod_l.c: Likewise.
21651 * sunrpc/rpc/clnt.h: Likewise.
21652 * sysdeps/generic/framestate.c: Likewise.
21653 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21654 * sysdeps/i386/bsd-setjmp.S: Likewise.
21655 * sysdeps/i386/__longjmp.S: Likewise.
21656 * sysdeps/i386/setjmp.S: Likewise.
21657 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21658 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21659 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21660 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21661 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21662 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21663 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21664 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21665 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21666 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21667 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21668 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21669 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21670 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21671 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21672 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21673 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21674 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21675 * sysdeps/ieee754/support.c: Likewise.
21676 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21677 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21678 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21679 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21680 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21681 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21682 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21683 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21684 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21685 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21686 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21687 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21688 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21689 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21690 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21691 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21692 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21694
44a988af
OB
216952013-06-05 Ondřej Bílka <neleai@seznam.cz>
21696
25506f09 21697 * posix/transbug.c: Remove executable mode.
44a988af 21698
9c84384c
JM
216992013-06-05 Joseph Myers <joseph@codesourcery.com>
21700
21701 * crypt/speeds.c: Remove trailing whitespace.
21702 * dlfcn/default.c: Likewise.
21703 * elf/ifuncdep2.c: Likewise.
21704 * elf/ifuncmain1.c: Likewise.
21705 * elf/ifuncmain1vis.c: Likewise.
21706 * elf/testobj.h: Likewise.
21707 * elf/tst-stackguard1.c: Likewise.
21708 * gmon/sys/gmon.h: Likewise.
21709 * hurd/hurdmsg.c: Likewise.
21710 * hurd/new-fd.c: Likewise.
21711 * hurd/ports-get.c: Likewise.
21712 * iconvdata/ibm1008_420.c: Likewise.
21713 * inet/tst-getni1.c: Likewise.
21714 * inet/tst-getni2.c: Likewise.
21715 * libio/ioungetc.c: Likewise.
21716 * libio/wfiledoalloc.c: Likewise.
21717 * manual/libm-err-tab.pl: Likewise.
21718 * math/w_dremf.c: Likewise.
21719 * misc/ftruncate.c: Likewise.
21720 * posix/bug-glob2.c: Likewise.
21721 * posix/tst-pcre.c: Likewise.
21722 * posix/wait4.c: Likewise.
21723 * resolv/README: Likewise.
21724 * resolv/res_debug.h: Likewise.
21725 * resolv/tst-inet_ntop.c: Likewise.
21726 * setjmp/bug269-setjmp.c: Likewise.
21727 * soft-fp/extended.h: Likewise.
21728 * soft-fp/op-1.h: Likewise.
21729 * soft-fp/op-2.h: Likewise.
21730 * soft-fp/op-4.h: Likewise.
21731 * soft-fp/op-8.h: Likewise.
21732 * soft-fp/testit.c: Likewise.
21733 * stdio-common/bug16.c: Likewise.
21734 * stdlib/random.c: Likewise.
21735 * sunrpc/rpcsvc/rquota.x: Likewise.
21736 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21737 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21738 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21739 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21740 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21741 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21742 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21743 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21744 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21745 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21746 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21747 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21748 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21749 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21750 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21751 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21752 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21753 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21754 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21755 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21756 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21757 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21758 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21759 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21760 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21761 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21762 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21763 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21764 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21765 * sysdeps/ieee754/s_lib_version.c: Likewise.
21766 * sysdeps/mach/hurd/check_fds.c: Likewise.
21767 * sysdeps/mach/hurd/getsockname.c: Likewise.
21768 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21769 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21770 * sysdeps/powerpc/bits/link.h: Likewise.
21771 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21772 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21773 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21774 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21775 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21776 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21777 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21778 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21779 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21780 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21781 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21782 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21783 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21784 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21785 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21786 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21787 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21788 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21789 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21790 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21791 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21792 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21793 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21794 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21795 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21796 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21797 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21798 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21799 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21800 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21801 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21802 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21803 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21804 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21805 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21806 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21807 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21808 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21809 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21810 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21811 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21812 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21813 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21814 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21815 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21816 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21817 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21818 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21819 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21820 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21823 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21824 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21825 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21826 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21827 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21828 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21829 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21830 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21831 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21832 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21833 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21834 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21835 * sysdeps/powerpc/sysdep.h: Likewise.
21836 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21837 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21838 * sysdeps/sh/dl-trampoline.S: Likewise.
21839 * sysdeps/sh/memset.S: Likewise.
21840 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21841 * sysdeps/sh/strlen.S: Likewise.
21842 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21843 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21844 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21845 * sysdeps/sparc/sparc32/rem.S: Likewise.
21846 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21847 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21848 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21849 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21850 * sysdeps/sparc/sparc32/urem.S: Likewise.
21851 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21852 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21853 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21854 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21855 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21856 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21857 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21858 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21859 * sysdeps/unix/bsd/times.c: Likewise.
21860 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21861 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21865 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21866 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21867 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21868 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21869 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21870 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21871 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21872 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21873 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21874 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21875 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21876 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21877 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21878 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21879 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21880 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21881 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21882 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21883 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21884 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21885 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21886 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21887 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21888 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21889 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21890 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21891 * sysdeps/x86_64/strcspn.S: Likewise.
21892
869378a5
RA
218932013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21894
21895 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21896 generated file. Regenerate properly from gen-translit.pl.
21897 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21898 locale/C-translit.h.
21899
840e2943
AS
219002013-06-05 Andreas Schwab <schwab@suse.de>
21901
21902 [BZ #15100]
21903 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21904 week as 6 instead of -1.
21905 * time/tst-strptime.c (day_tests): Add test case.
21906
4c60cb0c
SP
219072013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21908
21909 * sysdeps/generic/math_private.h
21910 (libc_feholdexcept_setround_53bit): Replace with
21911 libc_feholdsetround_53bit.
21912 (libc_feupdateenv_53bit): Replace with
21913 libc_feresetround_53bit.
21914 (SET_RESTORE_ROUND_53BIT): Adjust.
21915
d180203e
SP
219162013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21917
96df079a
SP
21918 * string/test-strchrnul.c: Add copyright header.
21919
d180203e
SP
21920 * posix/tst-getaddrinfo4.c: Increase test timeout.
21921
8b0ccb2d
CD
219222013-06-03 Carlos O'Donell <carlos@redhat.com>
21923
21924 [BZ #15536]
21925 * math/libm-test.inc (MAX_EXP): Remove
21926 (MIN_EXP): Define.
21927 (ulp): Use MIN_EXP - MANT_DIG.
21928 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21929
3b3c4d40
CD
219302013-05-31 Carlos O'Donell <carlos@redhat.com>
21931
21932 * po/be.po: Revert last change.
21933 * po/zh_CN.po: Likewise.
21934 * po/header.pot: Likewise.
21935
fab7ce3f
JM
219362013-05-31 Joseph Myers <joseph@codesourcery.com>
21937
21938 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21939 link-libc-deps to empty as target-specific variable.
21940 * Makerules (link-libc-args): New variable.
21941 (libc-for-link): Likewise.
21942 (link-libc-deps): Likewise.
21943 (lib%.so): Depend on $(link-libc-deps). Link with
21944 $(link-libc-args).
21945 (build-module): Link with $(link-libc-args).
21946 (build-module-asneeded): Likewise.
21947 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21948 list of objects.
21949 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21950 target-specific variable.
21951 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21952 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21953 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21954 libc.
21955 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21956 libc and ld.so.
21957 ($(objpfx)libpcprofile.so): Likewise.
21958 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21959 libc_nonshared.a.
21960 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21961 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21962 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21963 $(link-libc-deps).
21964 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21965 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21966 * login/Makefile ($(objpfx)libutil.so): Likewise.
21967 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21968 * math/Makefile ($(objpfx)libm.so): Likewise.
21969 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21970 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21971 variable instead of depending directly on libc.
21972 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21973 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21974 $(link-libc-deps).
21975 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21976 libc.
21977 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21978 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21979 ($(objpfx)libanl.so): Likewise.
21980 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21981 ld.so.
21982 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21983 $(link-libc-deps).
21984 * sysdeps/i386/fpu/Makefile: Remove file.
21985 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21986 ($(objpfx)libm.so): Remove dependency on ld.so.
21987
eca5920c
PF
219882013-05-30 Patsy Franklin <pfrankli@redhat.com>
21989
21990 [BZ # 15553]
21991 * nis/yp_xdr.c (XDRMAXNAME): Define.
21992 (XDRMAXRECORD): Define.
21993 (xdr_domainname): Use XDRMAXNAME.
21994 (xdr_mapname): Likewise.
21995 (xdr_peername): Likewise.
21996 (xdr_keydat): Use XDRMAXRECORD.
21997 (xdr_valdat): Likewise.
21998
219992013-05-30 Jeff Law <law@redhat.com>
96945714
JL
22000
22001 [BZ #14256]
22002 * manual/errno.texi (ESTALE): Update to account for more than
22003 just NFS file systems.
22004 * sysdeps/gnu/errlist.c: Regenerated.
22005
b9375348
SP
220062013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22007
22008 [BZ #15465]
22009 * elf/Makefile (tests): Add tst-null-argv.
22010 (modules-names): Add tst-null-argv-lib.
22011 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22012 (tst-null-argv-ENV): Set environment for tst-null-argv.
22013 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22014 (RTLD_PROGNAME): New macro.
22015 * elf/tst-null-argv.c: New test case.
22016 * elf/tst-null-argv-lib.c: Library for test case.
22017 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22018 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22019 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22020 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22021 * elf/dl-init.c (call_init): Likewise.
22022 (_dl_init): Likewise.
22023 * elf/dl-load.c (print_search_path): Likewise.
22024 (_dl_map_object): Likewise.
22025 * elf/dl-lookup.c (do_lookup_x): Likewise.
22026 (add_dependency): Likewise.
22027 (_dl_lookup_symbol_x): Likewise.
22028 (_dl_debug_bindings): Likewise.
22029 * elf/dl-open.c (_dl_show_scope): Likewise.
22030 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22031 * elf/dl-version.c (match_symbol): Likewise.
22032 (_dl_check_map_versions): Likewise.
22033 * elf/rtld.c (dl_main): Likewise.
22034 (print_unresolved): Use RTLD_PROGNAME.
22035 (print_missing_version): Likewise.
22036 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22037 (elf_machine_rela): Likewise.
22038 * sysdeps/powerpc/powerpc32/dl-machine.c
22039 (__process_machine_rela): Likewise.
22040 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22041 Likewise.
22042 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22043 Likewise.
22044 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22045 Likewise.
22046 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22047 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22048 Likewise.
22049 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22050 Likewise.
22051 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22052
8a9f20c8
CD
220532013-05-28 Carlos O'Donell <carlos@redhat.com>
22054
22055 * po/be.po: Add descriptive title.
22056 * po/zh_CN.po: Likewise.
22057 * po/header.pot: Likewise.
22058
0e60d68e
MF
220592013-05-28 Mike Frysinger <vapier@gentoo.org>
22060
22061 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22062 error message.
22063 (enlarge_archive): Likewise.
22064
56b672e9
BN
220652013-05-28 Ben North <ben@redfrontdoor.org>
22066
22067 * manual/arith.texi (frexp): It is the magnitude of the return
22068 value which lies in [0.5, 1), not the return value itself.
22069
5e056687
AZ
220702013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22071
22072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22073
2b66ef5d
TS
220742013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22075
528c2405
TS
22076 * stdio-common/bug26.c (main): Correct fscanf template.
22077
07b4c13d
TS
22078 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22079 declare _dl_skip_args.
22080
ec9dd97c
TS
22081 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22082 Don't declare.
22083
2b66ef5d
TS
22084 * manual/platform.texi: Add missing @end deftypefun.
22085
4f8dfe27
JM
220862013-05-24 Joseph Myers <joseph@codesourcery.com>
22087
0323d086
JM
22088 [BZ #15529]
22089 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22090 bit of mantissa of 2^16382.
22091 * math/libm-test.inc (hypot_test_data): Add more tests.
22092
dd4259b9
JM
22093 * math/libm-test.inc: Add drem and pow10 to list of tested
22094 functions.
22095 (pow10_test): New function.
22096 (drem_test): Likewise.
22097 (drem_test_tonearest): Likewise.
22098 (drem_test_towardzero): Likewise.
22099 (drem_test_downward): Likewise.
22100 (drem_test_upward): Likewise.
22101 (main): Call the new functions.
22102
4f8dfe27
JM
22103 * math/libm-test.inc (finite_test_data): Remove.
22104 (finite_test): Run tests from isfinite_test_data.
22105 (gamma_test_data): Remove.
22106 (gamma_test): Run tests from lgamma_test_data.
22107 * sysdeps/i386/fpu/libm-test-ulps: Update.
22108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22109
d116b7c4
AZ
221102013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22111
22112 * manual/platform.texi: Add PowerPC PPR function set documentation.
22113 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22114 implementation.
22115
e96e3767
CD
221162013-05-24 Carlos O'Donell <carlos@redhat.com>
22117
22118 * math/libm-test.inc (MAX_EXP): Define.
22119 (ULPDIFF): Define.
22120 (ulp): New function.
22121 (check_float_internal): Use ULPDIFF.
22122 (cpow_test): Disable failing test.
22123 (check_ulp): Test ulp() implemetnation.
22124 (main): Call check_ulp before starting tests.
22125
b679a606
JM
221262013-05-24 Joseph Myers <joseph@codesourcery.com>
22127
e8bdba36
JM
22128 * math/gen-libm-test.pl (generate_testfile): Do not handle
22129 START_DATA and END_DATA.
22130 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22131 END_DATA.
22132 (acos_tonearest_test_data): Likewise.
22133 (acos_towardzero_test_data): Likewise.
22134 (acos_downward_test_data): Likewise.
22135 (acos_upward_test_data): Likewise.
22136 (acosh_test_data): Likewise.
22137 (asin_test_data): Likewise.
22138 (asin_tonearest_test_data): Likewise.
22139 (asin_towardzero_test_data): Likewise.
22140 (asin_downward_test_data): Likewise.
22141 (asin_upward_test_data): Likewise.
22142 (asinh_test_data): Likewise.
22143 (atan_test_data): Likewise.
22144 (atanh_test_data): Likewise.
22145 (atan2_test_data): Likewise.
22146 (cabs_test_data): Likewise.
22147 (cacos_test_data): Likewise.
22148 (cacosh_test_data): Likewise.
22149 (carg_test_data): Likewise.
22150 (casin_test_data): Likewise.
22151 (casinh_test_data): Likewise.
22152 (catan_test_data): Likewise.
22153 (catanh_test_data): Likewise.
22154 (cbrt_test_data): Likewise.
22155 (ccos_test_data): Likewise.
22156 (ccosh_test_data): Likewise.
22157 (ceil_test_data): Likewise.
22158 (cexp_test_data): Likewise.
22159 (cimag_test_data): Likewise.
22160 (clog_test_data): Likewise.
22161 (clog10_test_data): Likewise.
22162 (conj_test_data): Likewise.
22163 (copysign_test_data): Likewise.
22164 (cos_test_data): Likewise.
22165 (cos_tonearest_test_data): Likewise.
22166 (cos_towardzero_test_data): Likewise.
22167 (cos_downward_test_data): Likewise.
22168 (cos_upward_test_data): Likewise.
22169 (cosh_test_data): Likewise.
22170 (cosh_tonearest_test_data): Likewise.
22171 (cosh_towardzero_test_data): Likewise.
22172 (cosh_downward_test_data): Likewise.
22173 (cosh_upward_test_data): Likewise.
22174 (cpow_test_data): Likewise.
22175 (cproj_test_data): Likewise.
22176 (creal_test_data): Likewise.
22177 (csin_test_data): Likewise.
22178 (csinh_test_data): Likewise.
22179 (csqrt_test_data): Likewise.
22180 (ctan_test_data): Likewise.
22181 (ctan_tonearest_test_data): Likewise.
22182 (ctan_towardzero_test_data): Likewise.
22183 (ctan_downward_test_data): Likewise.
22184 (ctan_upward_test_data): Likewise.
22185 (ctanh_test_data): Likewise.
22186 (ctanh_tonearest_test_data): Likewise.
22187 (ctanh_towardzero_test_data): Likewise.
22188 (ctanh_downward_test_data): Likewise.
22189 (ctanh_upward_test_data): Likewise.
22190 (erf_test_data): Likewise.
22191 (erfc_test_data): Likewise.
22192 (exp_test_data): Likewise.
22193 (exp_tonearest_test_data): Likewise.
22194 (exp_towardzero_test_data): Likewise.
22195 (exp_downward_test_data): Likewise.
22196 (exp_upward_test_data): Likewise.
22197 (exp10_test_data): Likewise.
22198 (exp2_test_data): Likewise.
22199 (expm1_test_data): Likewise.
22200 (fabs_test_data): Likewise.
22201 (fdim_test_data): Likewise.
22202 (finite_test_data): Likewise.
22203 (floor_test_data): Likewise.
22204 (fma_test_data): Likewise.
22205 (fma_towardzero_test_data): Likewise.
22206 (fma_downward_test_data): Likewise.
22207 (fma_upward_test_data): Likewise.
22208 (fmax_test_data): Likewise.
22209 (fmin_test_data): Likewise.
22210 (fmod_test_data): Likewise.
22211 (fpclassify_test_data): Likewise.
22212 (frexp_test_data): Likewise.
22213 (gamma_test_data): Likewise.
22214 (hypot_test_data): Likewise.
22215 (ilogb_test_data): Likewise.
22216 (isfinite_test_data): Likewise.
22217 (isgreater_test_data): Likewise.
22218 (isgreaterequal_test_data): Likewise.
22219 (isinf_test_data): Likewise.
22220 (isless_test_data): Likewise.
22221 (islessequal_test_data): Likewise.
22222 (islessgreater_test_data): Likewise.
22223 (isnan_test_data): Likewise.
22224 (isnormal_test_data): Likewise.
22225 (issignaling_test_data): Likewise.
22226 (isunordered_test_data): Likewise.
22227 (j0_test_data): Likewise.
22228 (j1_test_data): Likewise.
22229 (jn_test_data): Likewise.
22230 (ldexp_test_data): Likewise.
22231 (lgamma_test_data): Likewise.
22232 (lrint_test_data): Likewise.
22233 (lrint_tonearest_test_data): Likewise.
22234 (lrint_towardzero_test_data): Likewise.
22235 (lrint_downward_test_data): Likewise.
22236 (lrint_upward_test_data): Likewise.
22237 (llrint_test_data): Likewise.
22238 (llrint_tonearest_test_data): Likewise.
22239 (llrint_towardzero_test_data): Likewise.
22240 (llrint_downward_test_data): Likewise.
22241 (llrint_upward_test_data): Likewise.
22242 (log_test_data): Likewise.
22243 (log10_test_data): Likewise.
22244 (log1p_test_data): Likewise.
22245 (log2_test_data): Likewise.
22246 (logb_test_data): Likewise.
22247 (logb_downward_test_data): Likewise.
22248 (lround_test_data): Likewise.
22249 (llround_test_data): Likewise.
22250 (modf_test_data): Likewise.
22251 (nearbyint_test_data): Likewise.
22252 (nextafter_test_data): Likewise.
22253 (nexttoward_test_data): Likewise.
22254 (pow_test_data): Likewise.
22255 (pow_tonearest_test_data): Likewise.
22256 (pow_towardzero_test_data): Likewise.
22257 (pow_downward_test_data): Likewise.
22258 (pow_upward_test_data): Likewise.
22259 (remainder_test_data): Likewise.
22260 (remainder_tonearest_test_data): Likewise.
22261 (remainder_towardzero_test_data): Likewise.
22262 (remainder_downward_test_data): Likewise.
22263 (remainder_upward_test_data): Likewise.
22264 (remquo_test_data): Likewise.
22265 (rint_test_data): Likewise.
22266 (rint_tonearest_test_data): Likewise.
22267 (rint_towardzero_test_data): Likewise.
22268 (rint_downward_test_data): Likewise.
22269 (rint_upward_test_data): Likewise.
22270 (round_test_data): Likewise.
22271 (scalb_test_data): Likewise.
22272 (scalbn_test_data): Likewise.
22273 (scalbln_test_data): Likewise.
22274 (signbit_test_data): Likewise.
22275 (sin_test_data): Likewise.
22276 (sin_tonearest_test_data): Likewise.
22277 (sin_towardzero_test_data): Likewise.
22278 (sin_downward_test_data): Likewise.
22279 (sin_upward_test_data): Likewise.
22280 (sincos_test_data): Likewise.
22281 (sinh_test_data): Likewise.
22282 (sinh_tonearest_test_data): Likewise.
22283 (sinh_towardzero_test_data): Likewise.
22284 (sinh_downward_test_data): Likewise.
22285 (sinh_upward_test_data): Likewise.
22286 (sqrt_test_data): Likewise.
22287 (tan_test_data): Likewise.
22288 (tan_tonearest_test_data): Likewise.
22289 (tan_towardzero_test_data): Likewise.
22290 (tan_downward_test_data): Likewise.
22291 (tan_upward_test_data): Likewise.
22292 (tanh_test_data): Likewise.
22293 (tgamma_test_data): Likewise.
22294 (trunc_test_data): Likewise.
22295 (y0_test_data): Likewise.
22296 (y1_test_data): Likewise.
22297 (yn_test_data): Likewise.
22298 (significand_test_data): Likewise.
22299
b679a606
JM
22300 * math/gen-libm-test.pl (@functions): Remove variable.
22301 (generate_testfile): Don't handle START and END lines.
22302 * math/libm-test.inc (START): New macro.
22303 (END): Likewise.
22304 (END_COMPLEX): Likewise.
22305 (acos_test): Use END macro without arguments.
22306 (acos_test_tonearest): Likewise.
22307 (acos_test_towardzero): Likewise.
22308 (acos_test_downward): Likewise.
22309 (acos_test_upward): Likewise.
22310 (acosh_test): Likewise.
22311 (asin_test): Likewise.
22312 (asin_test_tonearest): Likewise.
22313 (asin_test_towardzero): Likewise.
22314 (asin_test_downward): Likewise.
22315 (asin_test_upward): Likewise.
22316 (asinh_test): Likewise.
22317 (atan_test): Likewise.
22318 (atanh_test): Likewise.
22319 (atan2_test): Likewise.
22320 (cabs_test): Likewise.
22321 (cacos_test): Use END_COMPLEX macro without arguments.
22322 (cacosh_test): Likewise.
22323 (carg_test): Use END macro without arguments.
22324 (casin_test): Use END_COMPLEX macro without arguments.
22325 (casinh_test): Likewise.
22326 (catan_test): Likewise.
22327 (catanh_test): Likewise.
22328 (cbrt_test): Use END macro without arguments.
22329 (ccos_test): Use END_COMPLEX macro without arguments.
22330 (ccosh_test): Likewise.
22331 (ceil_test): Use END macro without arguments.
22332 (cexp_test): Use END_COMPLEX macro without arguments.
22333 (cimag_test): Use END macro without arguments.
22334 (clog_test): Use END_COMPLEX macro without arguments.
22335 (clog10_test): Likewise.
22336 (conj_test): Likewise.
22337 (copysign_test): Use END macro without arguments.
22338 (cos_test): Likewise.
22339 (cos_test_tonearest): Likewise.
22340 (cos_test_towardzero): Likewise.
22341 (cos_test_downward): Likewise.
22342 (cos_test_upward): Likewise.
22343 (cosh_test): Likewise.
22344 (cosh_test_tonearest): Likewise.
22345 (cosh_test_towardzero): Likewise.
22346 (cosh_test_downward): Likewise.
22347 (cosh_test_upward): Likewise.
22348 (cpow_test): Use END_COMPLEX macro without arguments.
22349 (cproj_test): Likewise.
22350 (creal_test): Use END macro without arguments.
22351 (csin_test): Use END_COMPLEX macro without arguments.
22352 (csinh_test): Likewise.
22353 (csqrt_test): Likewise.
22354 (ctan_test): Likewise.
22355 (ctan_test_tonearest): Likewise.
22356 (ctan_test_towardzero): Likewise.
22357 (ctan_test_downward): Likewise.
22358 (ctan_test_upward): Likewise.
22359 (ctanh_test): Likewise.
22360 (ctanh_test_tonearest): Likewise.
22361 (ctanh_test_towardzero): Likewise.
22362 (ctanh_test_downward): Likewise.
22363 (ctanh_test_upward): Likewise.
22364 (erf_test): Use END macro without arguments.
22365 (erfc_test): Likewise.
22366 (exp_test): Likewise.
22367 (exp_test_tonearest): Likewise.
22368 (exp_test_towardzero): Likewise.
22369 (exp_test_downward): Likewise.
22370 (exp_test_upward): Likewise.
22371 (exp10_test): Likewise.
22372 (exp2_test): Likewise.
22373 (expm1_test): Likewise.
22374 (fabs_test): Likewise.
22375 (fdim_test): Likewise.
22376 (finite_test): Likewise.
22377 (floor_test): Likewise.
22378 (fma_test): Likewise.
22379 (fma_test_towardzero): Likewise.
22380 (fma_test_downward): Likewise.
22381 (fma_test_upward): Likewise.
22382 (fmax_test): Likewise.
22383 (fmin_test): Likewise.
22384 (fmod_test): Likewise.
22385 (fpclassify_test): Likewise.
22386 (frexp_test): Likewise.
22387 (gamma_test): Likewise.
22388 (hypot_test): Likewise.
22389 (ilogb_test): Likewise.
22390 (isfinite_test): Likewise.
22391 (isgreater_test): Likewise.
22392 (isgreaterequal_test): Likewise.
22393 (isinf_test): Likewise.
22394 (isless_test): Likewise.
22395 (islessequal_test): Likewise.
22396 (islessgreater_test): Likewise.
22397 (isnan_test): Likewise.
22398 (isnormal_test): Likewise.
22399 (issignaling_test): Likewise.
22400 (isunordered_test): Likewise.
22401 (j0_test): Likewise.
22402 (j1_test): Likewise.
22403 (jn_test): Likewise.
22404 (ldexp_test): Likewise.
22405 (lgamma_test): Likewise.
22406 (lrint_test): Likewise.
22407 (lrint_test_tonearest): Likewise.
22408 (lrint_test_towardzero): Likewise.
22409 (lrint_test_downward): Likewise.
22410 (lrint_test_upward): Likewise.
22411 (llrint_test): Likewise.
22412 (llrint_test_tonearest): Likewise.
22413 (llrint_test_towardzero): Likewise.
22414 (llrint_test_downward): Likewise.
22415 (llrint_test_upward): Likewise.
22416 (log_test): Likewise.
22417 (log10_test): Likewise.
22418 (log1p_test): Likewise.
22419 (log2_test): Likewise.
22420 (logb_test): Likewise.
22421 (logb_test_downward): Likewise.
22422 (lround_test): Likewise.
22423 (llround_test): Likewise.
22424 (modf_test): Likewise.
22425 (nearbyint_test): Likewise.
22426 (nextafter_test): Likewise.
22427 (nexttoward_test): Likewise.
22428 (pow_test): Likewise.
22429 (pow_test_tonearest): Likewise.
22430 (pow_test_towardzero): Likewise.
22431 (pow_test_downward): Likewise.
22432 (pow_test_upward): Likewise.
22433 (remainder_test): Likewise.
22434 (remainder_test_tonearest): Likewise.
22435 (remainder_test_towardzero): Likewise.
22436 (remainder_test_downward): Likewise.
22437 (remainder_test_upward): Likewise.
22438 (remquo_test): Likewise.
22439 (rint_test): Likewise.
22440 (rint_test_tonearest): Likewise.
22441 (rint_test_towardzero): Likewise.
22442 (rint_test_downward): Likewise.
22443 (rint_test_upward): Likewise.
22444 (round_test): Likewise.
22445 (scalb_test): Likewise.
22446 (scalbn_test): Likewise.
22447 (scalbln_test): Likewise.
22448 (signbit_test): Likewise.
22449 (sin_test): Likewise.
22450 (sin_test_tonearest): Likewise.
22451 (sin_test_towardzero): Likewise.
22452 (sin_test_downward): Likewise.
22453 (sin_test_upward): Likewise.
22454 (sincos_test): Likewise.
22455 (sinh_test): Likewise.
22456 (sinh_test_tonearest): Likewise.
22457 (sinh_test_towardzero): Likewise.
22458 (sinh_test_downward): Likewise.
22459 (sinh_test_upward): Likewise.
22460 (sqrt_test): Likewise.
22461 (tan_test): Likewise.
22462 (tan_test_tonearest): Likewise.
22463 (tan_test_towardzero): Likewise.
22464 (tan_test_downward): Likewise.
22465 (tan_test_upward): Likewise.
22466 (tanh_test): Likewise.
22467 (tgamma_test): Likewise.
22468 (trunc_test): Likewise.
22469 (y0_test): Likewise.
22470 (y1_test): Likewise.
22471 (yn_test): Likewise.
22472 (significand_test): Likewise.
22473
bae143d2
OB
224742013-05-24 Ondřej Bílka <neleai@seznam.cz>
22475
22476 [BZ #15381]
22477 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22478
9323d39b
EM
224792013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22480
d4ea44a0 22481 [BZ #14894]
9323d39b
EM
22482 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22483 __ppc_mdoio and __ppc_mdoom.
22484 * manual/platform.texi: Document new functions __ppc_yield,
22485 __ppc_mdoio and __ppc_mdoom.
22486
13e23af7
CD
224872013-05-22 Carlos O'Donell <carlos@redhat.com>
22488
22489 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22490 (main): Mention "tls" pseudo-hwcap is legacy.
22491 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22492
351fe550
JM
224932013-05-22 Joseph Myers <joseph@codesourcery.com>
22494
22495 * math/gen-libm-test.pl (parse_args): Output only string of
22496 arguments as text for test name, not full call or descriptions of
22497 tests for extra outputs.
22498 (generate_testfile): Do not pass function name to parse_args.
22499 Generate this_func variable from START.
22500 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22501 field to arg_str.
22502 (struct test_ff_f_data): Likewise.
22503 (test_ff_f_data_nexttoward): Likewise.
22504 (struct test_fi_f_data): Likewise.
22505 (struct test_fl_f_data): Likewise.
22506 (struct test_if_f_data): Likewise.
22507 (struct test_fff_f_data): Likewise.
22508 (struct test_c_f_data): Likewise.
22509 (struct test_f_f1_data): Likewise. Remove field extra_name.
22510 (struct test_fF_f1_data): Likewise.
22511 (struct test_ffI_f1_data): Likewise.
22512 (struct test_c_c_data): Rename test_name field to arg_str.
22513 (struct test_cc_c_data): Likewise.
22514 (struct test_f_i_data): Likewise.
22515 (struct test_ff_i_data): Likewise.
22516 (struct test_f_l_data): Likewise.
22517 (struct test_f_L_data): Likewise.
22518 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22519 and extra2_name.
22520 (COMMON_TEST_SETUP): New macro.
22521 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22522 (COMMON_TEST_CLEANUP): Likewise.
22523 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22524 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22525 macros.
22526 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22527 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22528 macros.
22529 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22530 (RUN_TEST_fff_f): Take argument string. Call new setup and
22531 cleanup macros.
22532 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22533 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22534 macros.
22535 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22536 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22537 macros.
22538 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22539 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22540 cleanup macros.
22541 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22542 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22543 cleanup macros.
22544 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22545 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22546 cleanup macros.
22547 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22548 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22549 macros.
22550 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22551 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22552 macros.
22553 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22554 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22555 macros.
22556 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22557 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22558 cleanup macros.
22559 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22560 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22561 cleanup macros.
22562 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22563 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22564 macros.
22565 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22566 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22567 cleanup macros.
22568 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22569 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22570 macros.
22571 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22572 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22573 macros.
22574 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22575 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22576 cleanup macros.
22577 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22578
85118d4d
EBM
225792013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22580
22581 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22582 to _sifields.sigfault.
22583 (si_addr_lsb): Define new macro.
22584 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22585 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22586 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22587
7a44c18f
CD
225882013-05-03 Carlos O'Donell <carlos at redhat.com>
22589
22590 [BZ #15441]
22591 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22592 returns -1.
22593 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22594 null return -1.
22595 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22596 loading the domain.
22597
b50a7181
JM
225982013-05-22 Joseph Myers <joseph@codesourcery.com>
22599
22600 * math/gen-libm-test.pl (parse_args): Do not include expected
22601 result in test name.
22602 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22603 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22604 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22605 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22606 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22608
051063c8
SP
226092013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22610
3ce9e010
SP
22611 * benchtests/Makefile: Sort function entries.
22612
051063c8
SP
22613 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22614 tanh, asinh, acosh, atanh.
22615 * benchtests/acos-inputs: New file.
22616 * benchtests/acosh-inputs: New file.
22617 * benchtests/asin-inputs: New file.
22618 * benchtests/asinh-inputs: New file.
22619 * benchtests/atanh-inputs: New file.
22620 * benchtests/cosh-inputs: New file.
22621 * benchtests/log-inputs: New file.
22622 * benchtests/sinh-inputs: New file.
22623 * benchtests/tanh-inputs: New file.
22624
47c22455
DL
226252013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22626
22627 [BZ #15339]
22628 * posix/tst-getaddrinfo4.c: New test.
22629 * posix/Makefile (tests): Add it.
22630
3d04f5db
SP
226312013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22632
22633 [BZ #15339]
22634 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22635 when no services were used.
22636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22637 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22638
d5dd6189
AS
226392013-05-21 Andreas Schwab <schwab@suse.de>
22640
22641 [BZ #15014]
22642 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22643 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22644 successful.
22645 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22646 redundant variable declarations and reallocation of buffer when
22647 parsing as IPv6 address. Always set NSS status when called from
22648 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22649 buffer too small. Correct computation of needed size.
22650 * nss/Makefile (tests): Add test-digits-dots.
22651 * nss/test-digits-dots.c: New test.
22652
fef94eab
SP
226532013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22654
22655 * benchtests/Makefile: Remove instructions for adding
22656 benchmark tests.
22657 * benchtests/README: New file to explain how to execute and
22658 enhance the benchmark tests.
22659
e39adf43
AS
226602013-05-21 Andreas Schwab <schwab@suse.de>
22661
22662 [BZ #15493]
22663 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22664 * setjmp/tst-sigsetjmp.c: New test.
22665
b2b671b6
OB
226662013-05-20 Ondřej Bílka <neleai@seznam.cz>
22667
22668 * sysdeps/x86_64/memset.S (memset): New implementation.
22669 (__bzero): Likewise.
22670 (__memset_tail): New function.
22671
2d48b41c
OB
226722013-05-20 Ondřej Bílka <neleai@seznam.cz>
22673
22674 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22675 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22676 __memcpy_sse2_unaligned ifunc selection.
22677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22678 Add memcpy-sse2-unaligned.S.
22679 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22680 Add: __memcpy_sse2_unaligned.
22681
f16cc3eb
JM
226822013-05-19 Joseph Myers <joseph@codesourcery.com>
22683
3e694268
JM
22684 [BZ #15490]
22685 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22686 math_force_eval before restoring floating-point envrionment.
22687 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22688 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22689 Likewise.
22690 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22691 <math_private.h>.
22692 (__nearbyintl): Use math_force_eval before restoring
22693 floating-point environment.
22694 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22695
db62a907
JM
22696 * math/gen-libm-test.pl (special_functions): Remove.
22697 (parse_args): Don't handle TEST_extra. Handle functions with no
22698 return value.
22699 * math/libm-test.inc (struct test_sincos_data): Replace with
22700 struct test_fFF_11_data.
22701 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22702 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22703 (sincos_test_data): Change element type to struct
22704 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22705 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22706 RUN_TEST_LOOP_sincos.
22707 * math/README.libm-test: Don't mention special handling of
22708 individual functions.
22709 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22710 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22711 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22712 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22713 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22715
f16cc3eb
JM
22716 * math/gen-libm-test.pl (get_variable): Remove function.
22717 (parse_args): Don't show pointer parameters to call in test
22718 names. Use "extra output N" in test names for extra outputs
22719 rather than naming variables.
22720
3779b5b6
JM
227212013-05-18 Joseph Myers <joseph@codesourcery.com>
22722
2ee094ff
JM
22723 [BZ #15488]
22724 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22725 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22726 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22727 double tests.
22728 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22729 disable.
22730 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22731 check_long_double.
22732
3779b5b6
JM
22733 * math/gen-libm-test.pl (@tests): Remove variable.
22734 ($count): Likewise.
22735 (new_test): Remove function.
22736 (show_exceptions): New function.
22737 (special_functions): Use show_exceptions instead of new_test.
22738 (parse_args): Likewise.
22739 (generate_testfile): Pass only function name in generated call to
22740 print_max_error or print_complex_max_error.
22741 (get_ulps): Do not handle complex tests specially.
22742 (output_test): Rename to ...
22743 (get_all_ulps_for_test): ... this. Return a string rather than
22744 printing to a file. Require ulps to be present.
22745 (output_ulps): Generate arrays rather than #defines.
22746 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22747 (struct ulp_data): New type.
22748 (BUILD_COMPLEX_ULP): Remove macro.
22749 (compare_ulp_data): New function.
22750 (find_ulps): Likewise.
22751 (find_test_ulps): Likewise.
22752 (find_function_ulps): Likewise.
22753 (find_complex_function_ulps): Likewise.
22754 (print_max_error): Determine allowed ulps using
22755 find_function_ulps.
22756 (print_complex_max_error): Determine allowed ulps using
22757 find_complex_function_ulps.
22758 (check_float_internal): Determine max ulps using find_test_ulps.
22759 (check_float): Do not take max_ulp parameter. Update call to
22760 check_float_internal.
22761 (check_complex): Likewise.
22762 (check_int): Do not take max_ulp parameter.
22763 (check_long): Likewise.
22764 (check_bool): Likewise.
22765 (check_longlong): Likewise.
22766 (struct test_f_f_data): Remove max_ulp field.
22767 (struct test_ff_f_data): Likewise.
22768 (struct test_ff_f_data_nexttoward): Likewise.
22769 (struct test_fi_f_data): Likewise.
22770 (struct test_fl_f_data): Likewise.
22771 (struct test_if_f_data): Likewise.
22772 (struct test_fff_f_data): Likewise.
22773 (struct test_c_f_data): Likewise.
22774 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22775 (struct test_fF_f1_data): Likewise.
22776 (struct test_ffI_f1_data): Likewise.
22777 (struct test_c_c_data): Remove max_ulp field.
22778 (struct test_cc_c_data): Likewise.
22779 (struct test_f_i_data): Likewise.
22780 (struct test_ff_i_data): Likewise.
22781 (struct test_f_l_data): Likewise.
22782 (struct test_f_L_data): Likewise.
22783 (struct test_sincos_data): Likewise.
22784 (RUN_TEST_f_f): Do not handle ulps.
22785 (RUN_TEST_LOOP_f_f): Likewise.
22786 (RUN_TEST_2_f): Likewise.
22787 (RUN_TEST_LOOP_2_f): Likewise.
22788 (RUN_TEST_fff_f): Likewise.
22789 (RUN_TEST_LOOP_fff_f): Likewise.
22790 (RUN_TEST_c_f): Likewise.
22791 (RUN_TEST_LOOP_c_f): Likewise.
22792 (RUN_TEST_f_f1): Likewise.
22793 (RUN_TEST_LOOP_f_f1): Likewise.
22794 (RUN_TEST_fF_f1): Likewise.
22795 (RUN_TEST_LOOP_fF_f1): Likewise.
22796 (RUN_TEST_fI_f1): Likewise.
22797 (RUN_TEST_LOOP_fI_f1): Likewise.
22798 (RUN_TEST_ffI_f1): Likewise.
22799 (RUN_TEST_LOOP_ffI_f1): Likewise.
22800 (RUN_TEST_c_c): Likewise.
22801 (RUN_TEST_LOOP_c_c): Likewise.
22802 (RUN_TEST_cc_c): Likewise.
22803 (RUN_TEST_LOOP_cc_c): Likewise.
22804 (RUN_TEST_f_i): Likewise.
22805 (RUN_TEST_LOOP_f_i): Likewise.
22806 (RUN_TEST_f_i_tg): Likewise.
22807 (RUN_TEST_LOOP_f_i_tg): Likewise.
22808 (RUN_TEST_ff_i_tg): Likewise.
22809 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22810 (RUN_TEST_f_b): Likewise.
22811 (RUN_TEST_LOOP_f_b): Likewise.
22812 (RUN_TEST_f_b_tg): Likewise.
22813 (RUN_TEST_LOOP_f_b_tg): Likewise.
22814 (RUN_TEST_f_l): Likewise.
22815 (RUN_TEST_LOOP_f_l): Likewise.
22816 (RUN_TEST_f_L): Likewise.
22817 (RUN_TEST_LOOP_f_L): Likewise.
22818 (RUN_TEST_sincos): Likewise.
22819 (RUN_TEST_LOOP_sincos): Likewise.
22820
8269107f
JM
228212013-05-17 Joseph Myers <joseph@codesourcery.com>
22822
bb38759d
JM
22823 [BZ #15480]
22824 [BZ #15485]
22825 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22826 main case of finite arguments, set rounding mode to FE_TONEAREST
22827 and discard exceptions.
22828 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22829 exceptions.
22830 (remainder_tonearest_test_data): New variable.
22831 (remainder_test_tonearest): New function.
22832 (remainder_towardzero_test_data): New variable.
22833 (remainder_test_towardzero): New function.
22834 (remainder_downward_test_data): New variable.
22835 (remainder_test_downward): New function.
22836 (remainder_upward_test_data): New variable.
22837 (remainder_test_upward): New function.
22838 (main): Call the new test functions.
22839
a00bdcf0
JM
22840 * math/libm-test.inc (struct test_f_f1_data): Remove field
22841 extra_init.
22842 (struct test_fF_f1_data): Likewise.
22843 (struct test_ffI_f1_data): Likewise.
22844 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22845 based on value of EXTRA_EXPECTED.
22846 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22847 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22848 EXTRA_VAR based on value of EXTRA_EXPECTED.
22849 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22850 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22851 EXTRA_VAR based on value of EXTRA_EXPECTED.
22852 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22853 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22854 EXTRA_VAR based on value of EXTRA_EXPECTED.
22855 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22856 * math/gen-libm-test.pl (parse_args): Don't output initializers
22857 for extra output values.
22858
de407f79
JM
22859 * math/libm-test.inc (check_int): Expect result to be exactly
22860 equal to expected value and do not handle ulps.
22861 (check_long): Likewise.
22862 (check_longlong): Likewise.
22863
8269107f
JM
22864 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22865 exceptions.
22866 (cimag_test_data): Likewise.
22867 (conj_test_data): Likewise.
22868 (copysign_test_data): Likewise.
22869 (cproj_test_data): Likewise.
22870 (creal_test_data): Likewise.
22871 (fabs_test_data): Likewise.
22872 (fdim_test_data): Likewise.
22873 (finite_test_data): Likewise.
22874 (floor_test_data): Likewise.
22875 (fmax_test_data): Likewise.
22876 (fmin_test_data): Likewise.
22877 (fmod_test_data): Likewise.
22878 (fpclassify_test_data): Likewise.
22879 (frexp_test_data): Likewise.
22880 (ilogb_test_data): Likewise.
22881 (isfinite_test_data): Likewise.
22882 (isgreater_test_data): Likewise.
22883 (isgreaterequal_test_data): Likewise.
22884 (isinf_test_data): Likewise.
22885 (isless_test_data): Likewise.
22886 (islessequal_test_data): Likewise.
22887 (islessgreater_test_data): Likewise.
22888 (isnan_test_data): Likewise.
22889 (isnormal_test_data): Likewise.
22890 (issignaling_test_data): Likewise.
22891 (isunordered_test_data): Likewise.
22892 (ldexp_test_data): Likewise.
22893 (lrint_test_data): Likewise.
22894 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22895 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22896 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22897 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22898 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22899 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22900 test input.
22901 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22902 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22903 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22904 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22905 that test input.
22906 (lrint_downward_test_data): Test for "inexact" exceptions.
22907 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22908 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22909 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22910 test input.
22911 (lrint_upward_test_data): Test for "inexact" exceptions.
22912 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22913 test input.
22914 (llrint_test_data): Test for "inexact" exceptions.
22915 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22916 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22917 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22918 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22919 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22920 (llrint_downward_test_data): Test for "inexact" exceptions.
22921 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22922 (llrint_upward_test_data): Test for "inexact" exceptions.
22923 (logb_test_data): Likewise.
22924 (logb_downward_test_data): Likewise.
22925 (nextafter_test_data): Likewise.
22926 (nexttoward_test_data): Likewise.
22927 (remainder_test_data): Likewise.
22928 (remquo_test_data): Likewise.
22929 (scalbn_test_data): Likewise.
22930 (scalbln_test_data): Likewise.
22931 (signbit_test_data): Likewise.
22932 (sqrt_test_data): Likewise.
22933 (significand_test_data): Likewise.
22934
48a18de1
SP
229352013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22936
22937 [BZ #15424]
22938 * benchtests/bench-modf.c (struct args): Mark arg0 as
22939 volatile.
22940 * scripts/bench.pl: Mark members of struct args as volatile.
22941
13d3b41a
AZ
229422013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22943
68191c1d 22944 [BZ # 15497]
13d3b41a
AZ
22945 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22946 negative infinity on POWER6 or lower.
22947 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22948
2848b105
MR
229492013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22950
22951 [BZ #15442]
22952 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22953 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22954 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22955 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22956 (_FP_SETQNAN): New macro.
22957 (_FP_SETQNAN_SEMIRAW): Likewise.
22958 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22959 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22960 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22961 (FP_EXTEND): Use _FP_FRAC_SNANP.
22962 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22963 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22964 into account.
22965 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22966 New macro.
22967 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22968 Likewise.
22969
323e5cb7
JM
229702013-05-16 Joseph Myers <joseph@codesourcery.com>
22971
c58b274f
JM
22972 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22973 with DIVIDE_BY_ZERO_EXCEPTION.
22974 (gamma_test_data): Likewise.
22975 (lgamma_test_data): Likewise.
22976 (log_test_data): Likewise.
22977 (log10_test_data): Likewise.
22978 (log2_test_data): Likewise.
22979 (tgamma_test_data): Likewise.
22980
0ab34904
JM
22981 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22982 (acos_test_tonearest): Likewise.
22983 (acos_test_towardzero): Likewise.
22984 (acos_test_downward): Likewise.
22985 (acos_test_upward): Likewise.
22986 (acosh_test): Likewise.
22987 (asin_test): Likewise.
22988 (asin_test_tonearest): Likewise.
22989 (asin_test_towardzero): Likewise.
22990 (asin_test_downward): Likewise.
22991 (asin_test_upward): Likewise.
22992 (asinh_test): Likewise.
22993 (atan_test): Likewise.
22994 (atanh_test): Likewise.
22995 (atan2_test): Likewise.
22996 (cabs_test): Likewise.
22997 (cacos_test): Likewise.
22998 (cacosh_test): Likewise.
22999 (casin_test): Likewise.
23000 (casinh_test): Likewise.
23001 (catan_test): Likewise.
23002 (catanh_test): Likewise.
23003 (cbrt_test): Likewise.
23004 (ccos_test): Likewise.
23005 (ccosh_test): Likewise.
23006 (cexp_test): Likewise.
23007 (clog_test): Likewise.
23008 (clog10_test): Likewise.
23009 (cos_test): Likewise.
23010 (cos_test_tonearest): Likewise.
23011 (cos_test_towardzero): Likewise.
23012 (cos_test_downward): Likewise.
23013 (cos_test_upward): Likewise.
23014 (cosh_test): Likewise.
23015 (cosh_test_tonearest): Likewise.
23016 (cosh_test_towardzero): Likewise.
23017 (cosh_test_downward): Likewise.
23018 (cosh_test_upward): Likewise.
23019 (cpow_test): Likewise.
23020 (csin_test): Likewise.
23021 (csinh_test): Likewise.
23022 (csqrt_test): Likewise.
23023 (ctan_test): Likewise.
23024 (ctan_test_tonearest): Likewise.
23025 (ctan_test_towardzero): Likewise.
23026 (ctan_test_downward): Likewise.
23027 (ctan_test_upward): Likewise.
23028 (ctanh_test): Likewise.
23029 (ctanh_test_tonearest): Likewise.
23030 (ctanh_test_towardzero): Likewise.
23031 (ctanh_test_downward): Likewise.
23032 (ctanh_test_upward): Likewise.
23033 (erf_test): Likewise.
23034 (erfc_test): Likewise.
23035 (exp_test): Likewise.
23036 (exp_test_tonearest): Likewise.
23037 (exp_test_towardzero): Likewise.
23038 (exp_test_downward): Likewise.
23039 (exp_test_upward): Likewise.
23040 (exp10_test): Likewise.
23041 (exp2_test): Likewise.
23042 (expm1_test): Likewise.
23043 (fmod_test): Likewise.
23044 (gamma_test): Likewise.
23045 (hypot_test): Likewise.
23046 (j0_test): Likewise.
23047 (j1_test): Likewise.
23048 (jn_test): Likewise.
23049 (lgamma_test): Likewise.
23050 (log_test): Likewise.
23051 (log10_test): Likewise.
23052 (log1p_test): Likewise.
23053 (log2_test): Likewise.
23054 (logb_test_downward): Likewise.
23055 (pow_test): Likewise.
23056 (pow_test_tonearest): Likewise.
23057 (pow_test_towardzero): Likewise.
23058 (pow_test_downward): Likewise.
23059 (pow_test_upward): Likewise.
23060 (remainder_test): Likewise.
23061 (remquo_test): Likewise.
23062 (sin_test): Likewise.
23063 (sin_test_tonearest): Likewise.
23064 (sin_test_towardzero): Likewise.
23065 (sin_test_downward): Likewise.
23066 (sin_test_upward): Likewise.
23067 (sincos_test): Likewise.
23068 (sinh_test): Likewise.
23069 (sinh_test_tonearest): Likewise.
23070 (sinh_test_towardzero): Likewise.
23071 (sinh_test_downward): Likewise.
23072 (sinh_test_upward): Likewise.
23073 (sqrt_test): Likewise.
23074 (tan_test): Likewise.
23075 (tan_test_tonearest): Likewise.
23076 (tan_test_towardzero): Likewise.
23077 (tan_test_downward): Likewise.
23078 (tan_test_upward): Likewise.
23079 (tanh_test): Likewise.
23080 (tgamma_test): Likewise.
23081 (y0_test): Likewise.
23082 (y1_test): Likewise.
23083 (yn_test): Likewise.
23084
323e5cb7
JM
23085 * math/gen-libm-test.pl (adjust_arg): Remove function.
23086 (special_function): Remove argument $in_func. Only handle
23087 generating output for tables of tests, not inside functions.
23088 (parse_args): Likewise.
23089 (generate_testfile): Remove variable $in_func. Update call to
23090 parse_args.
23091 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23092 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23093 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23094 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23095 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23096 (MAX_VALUE_INIT): Rename macro to max_value.
23097 (MIN_VALUE_INIT): Rename macro to min_value.
23098 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23099 (plus_zero): Remove variable.
23100 (minus_zero): Likewise.
23101 (plus_infty): Likewise.
23102 (minus_infty): Likewise.
23103 (qnan_value): Likewise.
23104 (max_value): Likewise.
23105 (min_value): Likewise.
23106 (min_subnorm_value): Likewise.
23107
e054f494
RA
231082013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23109
23110 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23111 uint64_t or uint32_t usage.
23112 * crypt/sha256-block.c: Likewise.
23113 * crypt/sha256-crypt.c: Likewise.
23114 * crypt/sha256.c: Likewise.
23115 * crypt/sha512-block.c: Likewise.
23116 * crypt/sha512-crypt.c: Likewise.
23117 * crypt/sha512.c: Likewise.
23118 * debug/backtrace-tst.c: Likewise.
23119 * debug/pcprofiledump.c: Likewise.
23120 * elf/cache.c: Likewise.
23121 * elf/dl-cache.c: Likewise.
23122 * elf/dl-misc.c: Likewise.
23123 * elf/dl-profile.c: Likewise.
23124 * elf/dl-support.c: Likewise.
23125 * elf/ldconfig.c: Likewise.
23126 * elf/sprof.c: Likewise.
23127 * iconv/dummy-repertoire.c: Likewise.
23128 * iconv/iconv_charmap.c: Likewise.
23129 * iconv/skeleton.c: Likewise.
23130 * iconvdata/8bit-generic.c: Likewise.
23131 * iconvdata/cp737.h: Likewise.
23132 * iconvdata/cp775.h: Likewise.
23133 * iconvdata/ibm1008.h: Likewise.
23134 * iconvdata/ibm1025.h: Likewise.
23135 * iconvdata/ibm1046.h: Likewise.
23136 * iconvdata/ibm1097.h: Likewise.
23137 * iconvdata/ibm1112.h: Likewise.
23138 * iconvdata/ibm1122.h: Likewise.
23139 * iconvdata/ibm1123.h: Likewise.
23140 * iconvdata/ibm1124.h: Likewise.
23141 * iconvdata/ibm1129.h: Likewise.
23142 * iconvdata/ibm1130.h: Likewise.
23143 * iconvdata/ibm1132.h: Likewise.
23144 * iconvdata/ibm1133.h: Likewise.
23145 * iconvdata/ibm1137.h: Likewise.
23146 * iconvdata/ibm1140.h: Likewise.
23147 * iconvdata/ibm1141.h: Likewise.
23148 * iconvdata/ibm1142.h: Likewise.
23149 * iconvdata/ibm1143.h: Likewise.
23150 * iconvdata/ibm1144.h: Likewise.
23151 * iconvdata/ibm1145.h: Likewise.
23152 * iconvdata/ibm1146.h: Likewise.
23153 * iconvdata/ibm1147.h: Likewise.
23154 * iconvdata/ibm1148.h: Likewise.
23155 * iconvdata/ibm1149.h: Likewise.
23156 * iconvdata/ibm1153.h: Likewise.
23157 * iconvdata/ibm1154.h: Likewise.
23158 * iconvdata/ibm1155.h: Likewise.
23159 * iconvdata/ibm1156.h: Likewise.
23160 * iconvdata/ibm1157.h: Likewise.
23161 * iconvdata/ibm1158.h: Likewise.
23162 * iconvdata/ibm1160.h: Likewise.
23163 * iconvdata/ibm1161.h: Likewise.
23164 * iconvdata/ibm1162.h: Likewise.
23165 * iconvdata/ibm1163.h: Likewise.
23166 * iconvdata/ibm1164.h: Likewise.
23167 * iconvdata/ibm1166.h: Likewise.
23168 * iconvdata/ibm1167.h: Likewise.
23169 * iconvdata/ibm12712.h: Likewise.
23170 * iconvdata/ibm1390.h: Likewise.
23171 * iconvdata/ibm1399.h: Likewise.
23172 * iconvdata/ibm16804.h: Likewise.
23173 * iconvdata/ibm4517.h: Likewise.
23174 * iconvdata/ibm4899.h: Likewise.
23175 * iconvdata/ibm4909.h: Likewise.
23176 * iconvdata/ibm4971.h: Likewise.
23177 * iconvdata/ibm5347.h: Likewise.
23178 * iconvdata/ibm803.h: Likewise.
23179 * iconvdata/ibm856.h: Likewise.
23180 * iconvdata/ibm901.h: Likewise.
23181 * iconvdata/ibm902.h: Likewise.
23182 * iconvdata/ibm9030.h: Likewise.
23183 * iconvdata/ibm9066.h: Likewise.
23184 * iconvdata/ibm921.h: Likewise.
23185 * iconvdata/ibm922.h: Likewise.
23186 * iconvdata/ibm9448.h: Likewise.
23187 * iconvdata/isiri-3342.h: Likewise.
23188 * iconvdata/jis0201.h: Likewise.
23189 * include/link.h: Likewise.
23190 * include/netdb.h: Likewise.
23191 * inet/check_native.c: Likewise.
23192 * inet/check_pf.c: Likewise.
23193 * inet/getipv4sourcefilter.c: Likewise.
23194 * inet/getnameinfo.c: Likewise.
23195 * inet/getsourcefilter.c: Likewise.
23196 * inet/htonl.c: Likewise.
23197 * inet/setipv4sourcefilter.c: Likewise.
23198 * inet/setsourcefilter.c: Likewise.
23199 * inet/test-inet6_opt.c: Likewise.
23200 * inet/tst-network.c: Likewise.
23201 * locale/C-collate.c: Likewise.
23202 * locale/C-ctype.c: Likewise.
23203 * locale/C-time.c: Likewise.
23204 * locale/C-translit.h: Likewise.
23205 * locale/loadarchive.c: Likewise.
23206 * locale/programs/3level.h: Likewise.
23207 * locale/programs/charmap.c: Likewise.
23208 * locale/programs/charmap.h: Likewise.
23209 * locale/programs/ld-address.c: Likewise.
23210 * locale/programs/ld-collate.c: Likewise.
23211 * locale/programs/ld-ctype.c: Likewise.
23212 * locale/programs/ld-identification.c: Likewise.
23213 * locale/programs/ld-measurement.c: Likewise.
23214 * locale/programs/ld-messages.c: Likewise.
23215 * locale/programs/ld-monetary.c: Likewise.
23216 * locale/programs/ld-name.c: Likewise.
23217 * locale/programs/ld-numeric.c: Likewise.
23218 * locale/programs/ld-paper.c: Likewise.
23219 * locale/programs/ld-telephone.c: Likewise.
23220 * locale/programs/ld-time.c: Likewise.
23221 * locale/programs/linereader.c: Likewise.
23222 * locale/programs/locale.c: Likewise.
23223 * locale/programs/locarchive.c: Likewise.
23224 * locale/programs/locfile.h: Likewise.
23225 * locale/programs/repertoire.c: Likewise.
23226 * locale/programs/simple-hash.c: Likewise.
23227 * locale/programs/simple-hash.h: Likewise.
23228 * malloc/memusage.c: Likewise.
23229 * malloc/memusagestat.c: Likewise.
23230 * nis/nis_defaults.c: Likewise.
23231 * nis/nis_hash.c: Likewise.
23232 * nis/nis_print.c: Likewise.
23233 * nis/nis_xdr.c: Likewise.
23234 * nscd/connections.c: Likewise.
23235 * nscd/hstcache.c: Likewise.
23236 * nscd/nscd_gethst_r.c: Likewise.
23237 * nscd/nscd_getserv_r.c: Likewise.
23238 * nscd/nscd_helper.c: Likewise.
23239 * nscd/servicescache.c: Likewise.
23240 * nss/makedb.c: Likewise.
23241 * nss/nss_db/db-XXX.c: Likewise.
23242 * nss/nss_db/db-initgroups.c: Likewise.
23243 * nss/nss_db/db-netgrp.c: Likewise.
23244 * nss/nss_files/files-network.c: Likewise.
23245 * nss/nss_files/files-parse.c: Likewise.
23246 * posix/bug-regex5.c: Likewise.
23247 * posix/fnmatch_loop.c: Likewise.
23248 * posix/regcomp.c: Likewise.
23249 * posix/regexec.c: Likewise.
23250 * posix/tst-rfc3484-2.c: Likewise.
23251 * posix/tst-rfc3484-3.c: Likewise.
23252 * posix/tst-rfc3484.c: Likewise.
23253 * resolv/nss_dns/dns-canon.c: Likewise.
23254 * resolv/nss_dns/dns-network.c: Likewise.
23255 * resolv/res_init.c: Likewise.
23256 * resolv/res_mkquery.c: Likewise.
23257 * resolv/tst-aton.c: Likewise.
23258 * stdlib/cxa_atexit.c: Likewise.
23259 * stdlib/cxa_finalize.c: Likewise.
23260 * stdlib/gen-fpioconst.c: Likewise.
23261 * stdlib/strtol_l.c: Likewise.
23262 * string/tst-endian.c: Likewise.
23263 * sunrpc/auth_des.c: Likewise.
23264 * sunrpc/clnt_udp.c: Likewise.
23265 * sunrpc/rtime.c: Likewise.
23266 * sunrpc/svcauth_des.c: Likewise.
23267 * sunrpc/xdr.c: Likewise.
23268 * sunrpc/xdr_intXX_t.c: Likewise.
23269 * sunrpc/xdr_rec.c: Likewise.
23270 * sysdeps/generic/ldconfig.h: Likewise.
23271 * sysdeps/generic/ldsodefs.h: Likewise.
23272 * sysdeps/generic/memusage.h: Likewise.
23273 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23274 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23275 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23276 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23277 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23278 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23279 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23280 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23281 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23282 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23283 * sysdeps/posix/getaddrinfo.c: Likewise.
23284 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23285 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23286 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23287 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23288 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23289 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23290 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23291 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23292 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23293 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23294 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23295 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23296 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23297 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23298 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23299 * sysdeps/x86_64/dl-tls.h: Likewise.
23300 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23301 * time/alt_digit.c: Likewise.
23302 * time/era.c: Likewise.
23303 * wcsmbs/tst-c16c32-1.c: Likewise.
23304
8c75f674
JM
233052013-05-16 Joseph Myers <joseph@codesourcery.com>
23306
23307 * math/libm-test.inc (struct test_sincos_data): New type.
23308 (RUN_TEST_LOOP_sincos): New macro.
23309 (sincos_test_data): New variable.
23310 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23311
e6e49e59
RH
233122013-05-16 Richard Henderson <rth@redhat.com>
23313
23314 * math/atest-exp2.c (LIMB64): New macro.
23315 (CONSTSZ): New macro.
23316 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23317 (hexdig): Move ...
23318 (print_mpn_fp): ... to function scope.
23319 (read_mpn_hex): Remove.
23320 (get_log2): Remove.
23321 (exp2_mpn): Use mp_log2.
23322 (main): Use mp_exp1.
23323
15c7c18d
JM
233242013-05-16 Joseph Myers <joseph@codesourcery.com>
23325
105a07df
JM
23326 * math/libm-test.inc: Remove comment about not testing "inexact"
23327 exceptions.
23328 (INEXACT_EXCEPTION): New macro.
23329 (NO_INEXACT_EXCEPTION): Likewise.
23330 (INVALID_EXCEPTION_OK): Update value.
23331 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23332 (OVERFLOW_EXCEPTION_OK): Likewise.
23333 (UNDERFLOW_EXCEPTION_OK): Likewise.
23334 (IGNORE_ZERO_INF_SIGN): Likewise.
23335 (ERRNO_UNCHANGED): Likewise.
23336 (ERRNO_EDOM): Likewise.
23337 (ERRNO_ERANGE): Likewise.
23338 (test_exceptions): Handle testing "inexact" exceptions.
23339 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23340 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23341 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23342 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23343 INEXACT_EXCEPTION.
23344 (rint_towardzero_test_data): Likewise.
23345 (rint_downward_test_data): Likewise.
23346 (rint_upward_test_data): Likewise.
23347
e9eee333
JM
23348 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23349 with OVERFLOW_EXCEPTION.
23350 (exp10_test_data): Likewise.
23351 (exp2_test_data): Likewise.
23352 (expm1_test_data): Likewise.
23353 (lgamma_test_data): Likewise.
23354 (pow_test_data): Likewise.
23355 (tgamma_test_data): Likewise.
23356 (yn_test_data): Remove duplicate test of overflow.
23357
1c38ff73
JM
23358 * math/libm-test.inc (struct test_cc_c_data): New type.
23359 (RUN_TEST_LOOP_cc_c): New macro.
23360 (cpow_test_data): New variable.
23361 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23362
15c7c18d
JM
23363 * math/libm-test.inc (struct test_f_L_data): New type.
23364 (RUN_TEST_LOOP_f_L): New macro.
23365 (llrint_test_data): New variable.
23366 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23367 (llrint_tonearest_test_data): New variable.
23368 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23369 (llrint_towardzero_test_data): New variable.
23370 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23371 (llrint_downward_test_data): New variable.
23372 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23373 (llrint_upward_test_data): New variable.
23374 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23375 (llround_test_data): New variable.
23376 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23377
f137ff13
PC
233782013-05-13 Peter Collingbourne <pcc@google.com>
23379
23380 * math/atest-exp2.c (get_log2): Remove const attribute.
23381
3608cb24
JM
233822013-05-15 Joseph Myers <joseph@codesourcery.com>
23383
23384 * math/libm-test.inc (struct test_f_l_data): New type.
23385 (RUN_TEST_LOOP_f_l): New macro.
23386 (lrint_test_data): New variable.
23387 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23388 (lrint_tonearest_test_data): New variable.
23389 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23390 (lrint_towardzero_test_data): New variable.
23391 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23392 (lrint_downward_test_data): New variable.
23393 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23394 (lrint_upward_test_data): New variable.
23395 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23396 (lround_test_data): New variable.
23397 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23398
39b1f617
PC
233992013-05-15 Peter Collingbourne <pcc@google.com>
23400
1deff3dc
PC
23401 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23402 (EXTRACT_WORDS64) Use where appropriate.
23403 (INSERT_WORDS64) Likewise.
23404
791f3ba0
PC
23405 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23406 constraints with x constraints.
23407 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23408
39b1f617
PC
23409 * malloc/obstack.c (_obstack_compat): Add initializer.
23410
12fba011
EM
234112013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23412
23413 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23414 si_trapno and add si_addr_lsb to _sifields.sigfault.
23415 (si_trapno): Remove macro.
23416 (si_addr_lsb): Define new macro.
23417 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23418
d369f531
JM
234192013-05-15 Joseph Myers <joseph@codesourcery.com>
23420
b861c6c4
JM
23421 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23422 instead of TEST_f_l.
23423 (llrint_test_tonearest): Likewise.
23424 (llrint_test_towardzero): Likewise.
23425 (llrint_test_downward): Likewise.
23426 (llrint_test_upward): Likewise.
23427 (llround_test): Likewise.
23428
7abeee12
JM
23429 * math/libm-test.inc (struct test_f_i_data): Add comment.
23430 (RUN_TEST_LOOP_f_b): New macro.
23431 (RUN_TEST_LOOP_f_b_tg): Likewise.
23432 (finite_test_data): New variable.
23433 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23434 (isfinite_test_data): New variable.
23435 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23436 (isinf_test_data): New variable.
23437 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23438 (isnan_test_data): New variable.
23439 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23440 (isnormal_test_data): New variable.
23441 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23442 (issignaling_test_data): New variable.
23443 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23444 (signbit_test_data): New variable.
23445 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23446
cbe8c4d3
JM
23447 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23448 with INVALID_EXCEPTION.
23449 (acosh_test_data): Likewise.
23450 (asin_test_data): Likewise.
23451 (atanh_test_data): Likewise.
23452 (fmod_test_data): Likewise.
23453 (log_test_data): Likewise.
23454 (log10_test_data): Likewise.
23455 (log2_test_data): Likewise.
23456 (pow_test_data): Likewise.
23457 (sqrt_test_data): Likewise.
23458 (y0_test_data): Likewise.
23459 (y1_test_data): Likewise.
23460 (yn_test_data): Likewise.
23461
5575c0e5
JM
23462 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23463 function contents.
23464
d369f531
JM
23465 * math/libm-test.inc (struct test_ff_i_data): New type.
23466 (RUN_TEST_LOOP_ff_i_tg): New macro.
23467 (isgreater_test_data): New variable.
23468 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23469 (isgreaterequal_test_data): New variable.
23470 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23471 (isless_test_data): New variable.
23472 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23473 (islessequal_test_data): New variable.
23474 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23475 (islessgreater_test_data): New variable.
23476 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23477 (isunordered_test_data): New variable.
23478 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23479
781fd748
DM
234802013-05-14 David S. Miller <davem@davemloft.net>
23481
23482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23483
87aa21df
JM
234842013-05-14 Joseph Myers <joseph@codesourcery.com>
23485
5e908270
JM
23486 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23487
f71172e5
JM
23488 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23489 extra_test to int.
23490 (struct test_f_i_data): Change type of max_ulp to int.
23491
8cfa635a
JM
23492 * math/libm-test.inc (test_ffI_f1_data): New type.
23493 (RUN_TEST_LOOP_ffI_f1): New macro.
23494 (remquo_test_data): New variable.
23495 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23496
2bcb36b2
JM
23497 * setjmp/tst-setjmp-fp.c: New file.
23498 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23499 (link-libm): New variable.
23500 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23501
acbd839a
JM
23502 * math/libm-test.inc (struct test_f_i_data): New type.
23503 (RUN_TEST_LOOP_f_i): New macro.
23504 (RUN_TEST_LOOP_f_i_tg): Likewise.
23505 (fpclassify_test_data): New variable.
23506 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23507 (ilogb_test_data): New variable.
23508 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23509
e414d745
JM
23510 * math/libm-test.inc (scalbln_test): Correct function name in END
23511 call.
23512
d9c2a0fd
JM
23513 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23514 (RUN_TEST_LOOP_fI_f1): New macro.
23515 (frexp_test_data): New variable.
23516 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23517
9dc9095d
JM
23518 * math/libm-test.inc (struct test_fF_f1_data): New type.
23519 (RUN_TEST_LOOP_fF_f1): New macro.
23520 (modf_test_data): New variable.
23521 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23522
87aa21df
JM
23523 * math/libm-test.inc (struct test_f_f1_data): New type.
23524 (RUN_TEST_LOOP_f_f1): New macro.
23525 (gamma_test_data): New variable.
23526 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23527 (lgamma_test_data): New variable.
23528 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23529
141af660
CD
235302013-05-13 Carlos O'Donell <carlos@redhat.com>
23531
23532 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23533 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23534 (main): Comment "tls" pseudo-hwcap.
23535
6d33265c
JM
235362013-05-13 Joseph Myers <joseph@codesourcery.com>
23537
68fc074c
JM
23538 * math/libm-test.inc (struct test_fl_f_data): New type.
23539 (RUN_TEST_LOOP_fl_f): New variable.
23540 (scalbln_test_data): New variable.
23541 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23542
243216e1
JM
23543 * math/libm-test.inc (struct test_fi_f_data): New type.
23544 (RUN_TEST_LOOP_fi_f): New macro.
23545 (ldexp_test_data): New variable.
23546 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23547 (scalbn_test_data): New variable.
23548 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23549
6a1992e2
JM
23550 * math/libm-test.inc (struct test_c_f_data): New type.
23551 (RUN_TEST_LOOP_c_f): New macro.
23552 (cabs_test_data): New variable.
23553 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23554 (carg_test_data): New variable.
23555 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23556 (cimag_test_data): New variable.
23557 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23558 (creal_test_data): New variable.
23559 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23560
0e400df5
JM
23561 * math/libm-test.inc (struct test_if_f_data): New type.
23562 (RUN_TEST_LOOP_if_f): New macro.
23563 (jn_test_data): New variable.
23564 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23565 (yn_test_data): New variable.
23566 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23567
6d33265c
JM
23568 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23569
f98ece5f
AZ
235702013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23571
23572 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23573 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23574
0f7d347b
SP
235752013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23576
43fe811b
SP
23577 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23578 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23579 (bench-deps): Add bench-timing.h.
23580 * benchtests-bench-skeleton.c: Include bench-timing.h.
23581 (main): Use TIMING_* macros instead of clock_gettime.
23582 * benchtests/bench-timing.h: New file.
23583
0f7d347b
SP
23584 [BZ #14582]
23585 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23586 Renamed from _LIB_VERSION.
23587 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23588
601a3a5f
JM
235892013-05-12 Joseph Myers <joseph@codesourcery.com>
23590
4f184d30
JM
23591 * math/libm-test.inc (struct test_fff_f_data): New type.
23592 (RUN_TEST_LOOP_fff_f): New macro.
23593 (fma_test_data): New variable.
23594 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23595 (fma_towardzero_test_data): New variable.
23596 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23597 (fma_downward_test_data): New variable.
23598 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23599 (fma_upward_test_data): New variable.
23600 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23601
08198877
JM
23602 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23603 (struct test_c_c_data): New type.
23604 (RUN_TEST_LOOP_c_c): New macro.
23605 (cacos_test_data): New variable.
23606 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23607 (cacosh_test_data): New variable.
23608 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23609 (casin_test_data): New variable.
23610 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23611 (casinh_test_data): New variable.
23612 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23613 (catan_test_data): New variable.
23614 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23615 (catanh_test_data): New variable.
23616 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23617 (ccos_test_data): New variable.
23618 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23619 (ccosh_test_data): New variable.
23620 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23621 (cexp_test_data): New variable.
23622 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23623 (clog_test_data): New variable.
23624 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23625 (clog10_test_data): New variable.
23626 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23627 (conj_test_data): New variable.
23628 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23629 (cproj_test_data): New variable.
23630 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23631 (csin_test_data): New variable.
23632 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23633 (csinh_test_data): New variable.
23634 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23635 (csqrt_test_data): New variable.
23636 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23637 (ctan_test_data): New variable.
23638 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23639 (ctan_tonearest_test_data): New variable.
23640 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23641 (ctan_towardzero_test_data): New variable.
23642 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23643 (ctan_downward_test_data): New variable.
23644 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23645 (ctan_upward_test_data): New variable.
23646 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23647 (ctanh_test_data): New variable.
23648 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23649 (ctanh_tonearest_test_data): New variable.
23650 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23651 (ctanh_towardzero_test_data): New variable.
23652 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23653 (ctanh_downward_test_data): New variable.
23654 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23655 (ctanh_upward_test_data): New variable.
23656 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23657 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23658 of BUILD_COMPLEX.
23659
601a3a5f
JM
23660 * math/libm-test.inc (struct test_ff_f_data): New type.
23661 (struct test_ff_f_data_nexttoward): Likewise.
23662 (RUN_TEST_LOOP_2_f): New macro.
23663 (RUN_TEST_LOOP_ff_f): Likewise.
23664 (atan2_test_data): New variable.
23665 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23666 (copysign_test_data): New variable.
23667 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23668 (fdim_test_data): New variable.
23669 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23670 (fmax_test_data): New variable.
23671 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23672 (fmin_test_data): New variable.
23673 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23674 (fmod_test_data): New variable.
23675 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23676 (hypot_test_data): New variable.
23677 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23678 (nextafter_test_data): New variable.
23679 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23680 (nexttoward_test_data): New variable.
23681 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23682 (pow_test_data): New variable.
23683 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23684 (pow_tonearest_test_data): New variable.
23685 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23686 (pow_towardzero_test_data): New variable.
23687 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23688 (pow_downward_test_data): New variable.
23689 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23690 (pow_upward_test_data): New variable.
23691 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23692 (remainder_test_data): New variable.
23693 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23694 (scalb_test_data): New variable.
23695 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23696 * sysdeps/i386/fpu/libm-test-ulps: Update.
23697
74c57478
JM
236982013-05-11 Joseph Myers <joseph@codesourcery.com>
23699
8329e4da
JM
23700 * math/libm-test.inc (fma_test): Use max_value instead of local
23701 variable fltmax.
23702 (nextafter_test): Likewise.
23703
74c57478
JM
23704 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23705 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23706 (acos_downward_test_data): New variable.
23707 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23708 (acos_upward_test_data): New variable.
23709 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23710 (acosh_test_data): New variable.
23711 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23712 (asin_test_data): New variable.
23713 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23714 (asin_tonearest_test_data): New variable.
23715 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23716 (asin_towardzero_test_data): New variable.
23717 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23718 (asin_downward_test_data): New variable.
23719 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23720 (asin_upward_test_data): New variable.
23721 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23722 (asinh_test_data): New variable.
23723 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23724 (atan_test_data): New variable.
23725 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23726 (atanh_test_data): New variable.
23727 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23728 (cbrt_test_data): New variable.
23729 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23730 (ceil_test_data): New variable.
23731 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23732 (cos_test_data): New variable.
23733 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23734 (cos_tonearest_test_data): New variable.
23735 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23736 (cos_towardzero_test_data): New variable.
23737 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23738 (cos_downward_test_data): New variable.
23739 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23740 (cos_upward_test_data): New variable.
23741 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23742 (cosh_test_data): New variable.
23743 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23744 (cosh_tonearest_test_data): New variable.
23745 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23746 (cosh_towardzero_test_data): New variable.
23747 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23748 (cosh_downward_test_data): New variable.
23749 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23750 (cosh_upward_test_data): New variable.
23751 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23752 (erf_test_data): New variable.
23753 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23754 (erfc_test_data): New variable.
23755 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23756 (exp_test_data): New variable.
23757 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23758 (exp_tonearest_test_data): New variable.
23759 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23760 (exp_towardzero_test_data): New variable.
23761 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23762 (exp_downward_test_data): New variable.
23763 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23764 (exp_upward_test_data): New variable.
23765 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23766 (exp10_test_data): New variable.
23767 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23768 (exp2_test_data): New variable.
23769 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23770 (expm1_test_data): New variable.
23771 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23772 (fabs_test_data): New variable.
23773 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23774 (floor_test_data): New variable.
23775 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23776 (j0_test_data): New variable.
23777 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23778 (j1_test_data): New variable.
23779 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23780 (log_test_data): New variable.
23781 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23782 (log10_test_data): New variable.
23783 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23784 (log1p_test_data): New variable.
23785 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23786 (log2_test_data): New variable.
23787 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23788 (logb_test_data): New variable.
23789 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23790 (logb_downward_test_data): New variable.
23791 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23792 (nearbyint_test_data): New variable.
23793 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23794 (rint_test_data): New variable.
23795 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23796 (rint_tonearest_test_data): New variable.
23797 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23798 (rint_towardzero_test_data): New variable.
23799 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23800 (rint_downward_test_data): New variable.
23801 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23802 (rint_upward_test_data): New variable.
23803 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23804 (round_test_data): New variable.
23805 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23806 (sin_test_data): New variable.
23807 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23808 (sin_tonearest_test_data): New variable.
23809 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23810 (sin_towardzero_test_data): New variable.
23811 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23812 (sin_downward_test_data): New variable.
23813 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23814 (sin_upward_test_data): New variable.
23815 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23816 (sinh_test_data): New variable.
23817 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23818 (sinh_tonearest_test_data): New variable.
23819 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23820 (sinh_towardzero_test_data): New variable.
23821 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23822 (sinh_downward_test_data): New variable.
23823 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23824 (sinh_upward_test_data): New variable.
23825 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23826 (sqrt_test_data): New variable.
23827 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23828 (tan_test_data): New variable.
23829 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23830 (tan_tonearest_test_data): New variable.
23831 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23832 (tan_towardzero_test_data): New variable.
23833 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23834 (tan_downward_test_data): New variable.
23835 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23836 (tan_upward_test_data): New variable.
23837 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23838 (tanh_test_data): New variable.
23839 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23840 (tgamma_test_data): New variable.
23841 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23842 (trunc_test_data): New variable.
23843 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23844 (y0_test_data): New variable.
23845 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23846 (y1_test_data): New variable.
23847 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23848 (significand_test_data): New variable.
23849 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23850
7187d844
CG
238512013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23852
23853 [BZ #12387]
23854 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23855
f63fae73
PT
238562013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23857
23858 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23859
8a67a4b3
AJ
238602013-05-10 Andreas Jaeger <aj@suse.de>
23861
23862 [BZ #15448]
23863 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23864 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23865
51df539d
JM
238662013-05-10 Joseph Myers <joseph@codesourcery.com>
23867
23868 * math/gen-libm-test.pl (adjust_arg): New function.
23869 (special_functions): Handle generating output in both functions
23870 and arrays.
23871 (parse_args): Likewise.
23872 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23873 $in_func argument to parse_args.
23874 * math/libm-test.inc (struct test_f_f_data): New type.
23875 (IF_ROUND_INIT_): New macro.
23876 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23877 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23878 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23879 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23880 (ROUND_RESTORE_): Likewise.
23881 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23882 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23883 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23884 (ROUND_RESTORE_FE_UPWARD): Likewise.
23885 (RUN_TEST_LOOP_f_f): New macro.
23886 (acos_test_data): New variable.
23887 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23888 (acos_tonearest_test_data): New variable.
23889 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23890
5c637fe5
SP
238912013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23892
23893 * benchtests/bench-skeleton.c (startup): Fix coding style.
23894
ab2b9461
JM
238952013-05-10 Joseph Myers <joseph@codesourcery.com>
23896
23897 [BZ #6809]
23898 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23899 negative infinity argument.
23900 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23901 negative infinity argument.
23902 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23903 negative infinity argument.
23904 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23905 domain errors.
23906
4c0fe6fe
FW
239072013-05-10 Florian Weimer <fweimer@redhat.com>
23908
23909 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23910 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23911 * iconv/iconv_prog.c (main): Likewise.
23912 * locale/programs/charmap-dir.c (charmap_readdir)
23913 (fopen_uncompressed): Likewise.
23914 * locale/programs/locfile.c (siblings_uncached)
23915 (write_locale_data): Use lstat64 instead of lstat.
23916 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23917 stat.
23918
a3375d29
AJ
239192013-05-10 Andreas Jaeger <aj@suse.de>
23920
23921 [BZ #15395]
23922 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23923 localization.
23924 Include <locale.h>.
23925
36129722
CD
239262013-05-09 Carlos O'Donell <carlos@redhat.com>
23927
23928 * elf/dl-close.c (_dl_close_worker): Add comments.
23929
faa7f811
JM
239302013-05-09 Joseph Myers <joseph@codesourcery.com>
23931
ed41ffef
JM
23932 [BZ #15359]
23933 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23934 high part of pi/2.
23935 (__ieee754_rem_pio2l): Update comments.
23936
d0213cd0
JM
23937 [BZ #15429]
23938 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23939 high part of pi/2.
23940 (__ieee754_rem_pio2l): Update comments.
23941
0d3e777a
JM
23942 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23943 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23944
24f56066
JM
23945 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23946 M_PI_4l.
23947
faa7f811
JM
23948 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23949 (M_PI_34_LOG10El): Likewise.
23950 (M_PI2_LOG10El): Likewise.
23951 (M_PI4_LOG10El): Likewise.
23952 (M_PI_LOG10El): Likewise.
23953
e9a5e0fd
AZ
239542013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23955
23956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23957
d8cd06db
JM
239582013-05-08 Joseph Myers <joseph@codesourcery.com>
23959
a0d9f9d7
JM
23960 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23961 (MINUS_ZERO_INIT): Likewise.
23962 (PLUS_INFTY_INIT): Likewise.
23963 (MINUS_INFTY_INIT): Likewise.
23964 (QNAN_VALUE_INIT): Likewise.
23965 (MAX_VALUE_INIT): Likewise.
23966 (MIN_VALUE_INIT): Likewise.
23967 (MIN_SUBNORM_VALUE_INIT): Likewise.
23968 (plus_zero): Initialize with PLUS_ZERO_INIT.
23969 (minus_zero): Initialize with MINUS_ZERO_INIT.
23970 (plus_infty): Initialize with PLUS_INFTY_INIT.
23971 (minus_infty): Initialize with MINUS_INFTY_INIT.
23972 (qnan_value): Initialize with QNAN_VALUE_INIT.
23973 (max_value): Initialize with MAX_VALUE_INIT.
23974 (min_value): Initialize with MIN_VALUE_INIT.
23975 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23976
ae08db3b
JM
23977 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23978 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23979 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23980 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23981
f44bf14a
JM
23982 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23983 (RUN_TEST_2_f): Likewise.
23984 (RUN_TEST_ff_f): Likewise.
23985 (RUN_TEST_fi_f): Likewise.
23986 (RUN_TEST_fl_f): Likewise.
23987 (RUN_TEST_fff_f): Likewise.
23988 (RUN_TEST_c_f): Likewise.
23989 (RUN_TEST_f_f1): Likewise.
23990 (RUN_TEST_fF_f1): Likewise.
23991 (RUN_TEST_fI_f1): Likewise.
23992 (RUN_TEST_ffI_f1): Likewise.
23993 (RUN_TEST_c_c): Likewise.
23994 (RUN_TEST_cc_c): Likewise.
23995 (RUN_TEST_f_i): Likewise.
23996 (RUN_TEST_f_i_tg): Likewise.
23997 (RUN_TEST_ff_i_tg): Likewise.
23998 (RUN_TEST_f_b): Likewise.
23999 (RUN_TEST_f_b_tg): Likewise.
24000 (RUN_TEST_f_l): Likewise.
24001 (RUN_TEST_f_L): Likewise.
24002 (RUN_TEST_sincos): Likewise.
24003 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24004 whether to show exceptions. Do not include ");\n" in return
24005 value.
24006 (special_functions): Output call to RUN_TEST_sincos instead of
24007 check_float calls. Update calls to new_test.
24008 (parse_args): Output call to single RUN_TEST_* macro instead of
24009 check_* calls and other assignments. Update calls to new_test.
24010
d8cd06db
JM
24011 [BZ #2546]
24012 [BZ #2560]
24013 [BZ #5159]
24014 [BZ #15426]
24015 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24016 input to result for tgamma overflow.
24017 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24018 (gamma_coeff): New variable.
24019 (NCOEFF): New macro.
24020 (gamma_positive): New function.
24021 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24022 underflow here. Use gamma_positive instead of exp (lgamma) for
24023 other arguments.
24024 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24025 (gamma_coeff): New variable.
24026 (NCOEFF): New macro.
24027 (gammaf_positive): New function.
24028 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24029 underflow here. Use gamma_positive instead of exp (lgamma) for
24030 other arguments.
24031 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24032 (gamma_coeff): New variable.
24033 (NCOEFF): New macro.
24034 (gammal_positive): New function.
24035 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24036 underflow here. Use gamma_positive instead of exp (lgamma) for
24037 other arguments.
24038 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24039 (gamma_coeff): New variable.
24040 (NCOEFF): New macro.
24041 (gammal_positive): New function.
24042 (__ieee754_gammal_r): Handle positive infinity, overflow and
24043 underflow here. Handle NaN the same as positive infinity. Remove
24044 check x < 0xffffffff for negative integers. Use gamma_positive
24045 instead of exp (lgamma) for other arguments.
24046 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24047 (gamma_coeff): New variable.
24048 (NCOEFF): New macro.
24049 (gammal_positive): New function.
24050 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24051 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24052 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24053 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24054 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24055 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24056 * sysdeps/generic/math_private.h (__gamma_productf): New
24057 prototype.
24058 (__gamma_product): Likewise.
24059 (__gamma_productl): Likewise.
24060 * math/Makefile (libm-calls): Add gamma_product.
24061 * math/libm-test.inc (tgamma_test): Add more tests.
24062 * sysdeps/i386/fpu/libm-test-ulps: Update.
24063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24064
bb7cf681
OB
240652013-05-08 Ondřej Bílka <neleai@seznam.cz>
24066
24067 * benchtests/bench-skeleton.c (main): Preheat CPU.
24068
ba853947
AJ
240692013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24070
24071 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24072
8347c74c
RM
240732013-05-07 Roland McGrath <roland@hack.frob.com>
24074
24075 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24076 and _dl_skip_args_internal.
24077
e8dd4791
CD
240782013-05-07 Carlos O'Donell <carlos@redhat.com>
24079
24080 * manual/message.texi (Message Translation): Talk about users.
24081 Message to key mapping impacts design.
24082
c7405830
RM
240832013-05-06 Roland McGrath <roland@hack.frob.com>
24084
a9173057
RM
24085 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24086
976e2f03
RM
24087 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24088
9723ffc5
RM
24089 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24090 * sysdeps/wordsize-64/glob64.c: ... here.
24091
962e6658
RM
24092 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24093 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24094 New macros.
24095
ee586a6d
RM
24096 * debug/getlogin_r_chk.c: Moved to ...
24097 * login/getlogin_r_chk.c: ... here.
24098 * debug/Makefile (routines): Move getlogin_r_chk to ...
24099 * login/Makefile (routines): ... here.
24100 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24101 * login/Versions (libc: GLIBC_2.4): ... here.
24102
355f9165
RM
24103 * io/poll.c (__poll): Renamed from poll.
24104 Add libc_hidden_def.
24105 (poll): Define as weak alias.
24106
bd9ffde6
RM
24107 * debug/ptsname_r_chk.c: Moved to ...
24108 * login/ptsname_r_chk.c: ... here.
24109 * debug/Makefile (routines): Move ptsname_r_chk to ...
24110 * login/Makefile (routines): ... here.
24111 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24112 * login/Versions (libc: GLIBC_2.4): ... here.
24113
8fb16a04
RM
24114 * posix/getlogin.c: Moved to ...
24115 * login/getlogin.c: ... here.
24116 * posix/getlogin_r.c: Moved to ...
24117 * login/getlogin_r.c: ... here.
24118 * posix/getlogin_r.c: Moved to ...
24119 * login/getlogin_r.c: ... here.
24120 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24121 * login/Makefile (routines): ... here.
24122 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24123 * login/Versions (libc: GLIBC_2.0): ... here.
24124
b99b892f
RM
24125 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24126 (setrlimit): Define as weak alias.
24127
c7405830
RM
24128 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24129 Call __ names for open, ftruncate, and close.
24130 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24131 (truncate): Define as weak alias.
24132
5bf96de5
JM
241332013-05-06 Joseph Myers <joseph@codesourcery.com>
24134
9ea3513c
JM
24135 * math/gen-libm-test.pl (parse_args): Initialize x before each
24136 test of frexp, modf and remquo.
24137
5bf96de5
JM
24138 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24139 test signgam value.
24140
16e616a7
AZ
241412013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24142
24143 [BZ #15418]
24144 [BZ #15419]
24145 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24146 internal tests.
24147 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24148
d5e82754
RM
241492013-05-06 Roland McGrath <roland@hack.frob.com>
24150
24151 * elf/dl-writev.h: New file.
24152 * elf/dl-misc.c: Include it.
24153 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24154 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24155
a7548d41
JM
241562013-05-04 Joseph Myers <joseph@codesourcery.com>
24157
b7dab1e4
JM
24158 * math/libm-test.inc (noXFails): Remove variable.
24159 (noXPasses): Likewise.
24160 (BUILD_COMPLEX_INT): Remove macro.
24161 (print_screen): Remove xfail argument.
24162 (print_screen_max_error): Likewise.
24163 (update_stats): Likewise.
24164 (print_max_error): Likewise. Update calls to other affected
24165 functions.
24166 (print_complex_max_error): Likewise.
24167 (test_single_exception): Update calls to print_screen.
24168 (test_single_errno): Likewise.
24169 (check_float_internal): Remove xfail argument. Update calls to
24170 other affected functions.
24171 (check_float): Likewise.
24172 (check_complex): Likewise.
24173 (check_int): Likewise.
24174 (check_long): Likewise.
24175 (check_bool): Likewise.
24176 (check_longlong): Likewise.
24177 (main): Don't print noXFails and noXPasses.
24178 * math/gen-libm-test.pl (top level): Don't mention expected
24179 failure handling in comment.
24180 (new_test): Don't handle expected failures.
24181 (parse_args): Don't mention expected failure handling in comment.
24182 (generate_testfile): Don't handle expected failures.
24183 (parse_ulps): Likewise.
24184 (print_ulps_file): Likewise.
24185 (get_failure): Remove function.
24186 (output_test): Don't handle expected failures.
24187 * make/README.libm-test: Don't mention expected failure handling.
24188
a7548d41
JM
24189 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24190 (minus_zero): Likewise.
24191 (plus_infty): Likewise.
24192 (minus_infty): Likewise.
24193 (qnan_value): Likewise.
24194 (max_value): Likewise.
24195 (min_value): Likewise.
24196 (min_subnorm_value): Likewise.
24197 (initialize): Do not initialize those variables dynamically.
24198
60bfd54c
RM
241992013-05-03 Roland McGrath <roland@hack.frob.com>
24200
cc0e6ed8
RM
24201 * io/open.c (__open_2): Moved to ...
24202 * io/open_2.c: ... this new file.
24203 * io/open64.c (__open64_2): Moved to ...
24204 * io/open64_2.c: ... this new file.
24205 * io/openat.c (__openat_2): Moved to ...
24206 * io/openat_2.c: ... this new file.
24207 * io/openat64.c (__openat64_2): Moved to ...
24208 * io/openat64_2.c: ... this new file.
24209 * io/Makefile (routines): Add them.
24210 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24211 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24212 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24213 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24214 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24215 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24216 (__openat64): Add hidden_ver.
24217 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24218 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24219
60bfd54c
RM
24220 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24221 Separately conditionalize setting of GLRO(dl_sysinfo) so
24222 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24223 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24224
83e7640f
AZ
242252013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24226
24227 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24228 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24229 definition.
24230 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24231 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24232 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24233 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24234 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24235
d5dc2af3
JM
242362013-05-03 Joseph Myers <joseph@codesourcery.com>
24237
c31a5b1e
JM
24238 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24239 test signgam value.
24240
d5dc2af3
JM
24241 * math/libm-test.inc (hypot_test): Do not use
24242 IGNORE_ZERO_INF_SIGN.
24243
164fd39d
AJ
242442013-05-03 Andreas Jaeger <aj@suse.de>
24245
24246 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24247 Linux 3.9.
24248 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24249 (PF_MAX): Adjust for VSOCK change.
24250
8237f48c
AZ
242512013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24252
24253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24254
9df02941
CD
242552013-05-02 Carlos O'Donell <carlos@redhat.com>
24256
24257 [BZ #15264]
24258 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24259 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24260 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24261
d422395e
DM
242622013-05-02 David S. Miller <davem@davemloft.net>
24263
24264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24265
a07c5731
OB
242662013-05-01 Ondřej Bílka <neleai@seznam.cz>
24267
24268 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24269
1324e37f
RM
242702013-05-01 Roland McGrath <roland@hack.frob.com>
24271
24272 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24273
0695940b
RS
242742013-05-01 Richard Smith <richard@metafoo.co.uk>
24275
bb5f27ad 24276 [BZ #14952]
0695940b
RS
24277 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24278 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24279 Use __attribute__ ((__gnu_inline__)).
24280 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24281 Don't use __attribute__ ((__gnu_inline__)).
24282
10de07f5
JM
242832013-05-01 Joseph Myers <joseph@codesourcery.com>
24284
24285 [BZ #15423]
24286 * math/s_catan.c (__catan): Handle small real or imaginary part of
24287 input specially to avoid spurious underflow.
24288 * math/s_catanf.c (__catanf): Likewise.
24289 * math/s_catanh.c (__catanh): Likewise.
24290 * math/s_catanhf.c (__catanhf): Likewise.
24291 * math/s_catanhl.c (__catanhl): Likewise.
24292 * math/s_catanl.c (__catanl): Likewise.
24293 * math/libm-test.inc (catan_test): Add more tests.
24294 (catanh_test): Likewise.
24295 * sysdeps/i386/fpu/libm-test-ulps: Update.
24296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24297
cb4d5414
AZ
242982013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24299
24300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24301
caf84319
JM
243022013-04-30 Joseph Myers <joseph@codesourcery.com>
24303
24304 [BZ #15416]
24305 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24306 accurately for denominator in atan2.
24307 * math/s_catanf.c (__catanf): Likewise.
24308 * math/s_catanh.c (__catanh): Likewise.
24309 * math/s_catanhf.c (__catanhf): Likewise.
24310 * math/s_catanhl.c (__catanhl): Likewise.
24311 * math/s_catanl.c (__catanl): Likewise.
24312 * math/libm-test.inc (catan_test): Add more tests.
24313 (catanh_test): Likewise.
24314 * sysdeps/i386/fpu/libm-test-ulps: Update.
24315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24316
d569c6ee
SP
243172013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24318
6dbe713d
SP
24319 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24320
f0ee064b
SP
24321 * benchtests/Makefile (bench): Remove slow benchmarks.
24322 * benchtests/atan-inputs: Add slow benchmark inputs.
24323 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24324 (BENCH_FUNC): Accept variant offset.
24325 (VARIANT): Define.
24326 * benchtests/bench-skeleton.c (main): Run benchmark for each
24327 variant.
24328 * benchtests/cos-inputs: Add slow benchmark inputs.
24329 * benchtests/exp-inputs: Likewise.
24330 * benchtests/pow-inputs: Likewise.
24331 * benchtests/sin-inputs: Likewise.
24332 * benchtests/slowatan-inputs: Remove.
24333 * benchtests/slowatan.c: Remove.
24334 * benchtests/slowcos-inputs: Remove.
24335 * benchtests/slowcos.c: Remove.
24336 * benchtests/slowexp-inputs: Remove.
24337 * benchtests/slowexp.c: Remove.
24338 * benchtests/slowpow-inputs: Remove.
24339 * benchtests/slowpow.c: Remove.
24340 * benchtests/slowsin-inputs: Remove.
24341 * benchtests/slowsin.c: Remove.
24342 * benchtests/slowtan-inputs: Remove.
24343 * benchtests/slowtan.c: Remove.
24344 * benchtests/tan-inputs: Add slow benchmark inputs.
24345 * scripts/bench.pl: Parse comments and directives.
24346
d569c6ee
SP
24347 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24348 in CPPFLAGS.
24349 ($(objpfx)bench-%.c): Remove *-ITER.
24350 * benchtests/bench-modf.c: Remove definition of ITER.
24351 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24352 (main): Loop for DURATION seconds instead of fixed number of
24353 iterations.
24354 * scripts/bench.pl: Don't expect iterations in parameters.
24355
a6a242fe
RM
243562013-04-29 Roland McGrath <roland@hack.frob.com>
24357
24358 * io/fchdir.c (__fchdir): Renamed from fchdir.
24359 (fchdir): Define as weak alias.
24360
f2da7793
JM
243612013-04-29 Joseph Myers <joseph@codesourcery.com>
24362
24363 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24364 (ERRNO_EDOM): Likewise.
24365 (ERRNO_ERANGE): Likewise.
24366 (noErrnoTests): New variable.
24367 (init_max_error): Set errno to 0.
24368 (test_single_errno): New function.
24369 (test_errno): Likewise.
24370 (check_float_internal): Call test_errno. Set errno to 0.
24371 (check_complex): Refer to errno tests in comment.
24372 (check_int): Call test_errno. Set errno to 0.
24373 (check_long): Likewise.
24374 (check_bool): Likewise.
24375 (check_longlong): Likewise.
24376 (cos_test): Use ERRNO_* flags for errno tests instead of
24377 check_int.
24378 (expm1_test): Likewise.
24379 (fmod_test): Likewise.
24380 (ilogb_test): Likewise.
24381 (lgamma_test): Likewise.
24382 (pow_test): Likewise.
24383 (remainder_test): Likewise.
24384 (sin_test): Likewise.
24385 (tan_test): Likewise.
24386 (yn_test): Likewise.
24387 (initialize): Set errno to 0.
24388 (main): Print number of errno tests.
24389 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24390
b1a36ceb
AJ
243912013-04-29 Andreas Jaeger <aj@suse.de>
24392
c3ed8088
AJ
24393 [BZ #15084]
24394 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24395 and RES_USEVC.
24396
f1a24198
AJ
24397 [BZ #15085]
24398 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24399 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24400 unimplemented.
24401
9ce3b2cb
AJ
24402 [BZ #15380]
24403 * stdlib/random.c (__initstate): Return NULL if
24404 __initstate fails.
24405
f1a24198 24406 [BZ #15086]
b1a36ceb
AJ
24407 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24408 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24409 RES_SNGLKUPREOP.
24410
7e7b6f36
AZ
244112013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24412
24413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24414
4d14f449
JM
244152013-04-29 Joseph Myers <joseph@codesourcery.com>
24416
24417 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24418 of individual tests.
24419 (casin_test): Likewise.
24420 (casinh_test): Likewise.
24421
5b4217d7
JM
244222013-04-27 Joseph Myers <joseph@codesourcery.com>
24423
24424 [BZ #15409]
24425 * math/s_catan.c (__catan): Handle arguments with large real or
24426 imaginary part separately without squaring.
24427 * math/s_catanf.c (__catanf): Likewise.
24428 * math/s_catanh.c (__catanh): Likewise.
24429 * math/s_catanhf.c (__catanhf): Likewise.
24430 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24431 and redefine.
24432 (__catanhl): Handle arguments with large real or imaginary part
24433 separately without squaring.
24434 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24435 and redefine.
24436 (__catanl): Handle arguments with large real or imaginary part
24437 separately without squaring.
24438 * math/libm-test.inc (catan_test): Add more tests.
24439 (catanh_test): Likewise.
24440 * sysdeps/i386/fpu/libm-test-ulps: Update.
24441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24442
4220c3ef
AJ
244432013-04-27 Andreas Jaeger <aj@suse.de>
24444
24445 [BZ #15007]
24446 * stdlib/stdlib.h: Update guards for qecvt.
24447 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24448 <stdlib.h>.
24449
4721b2d1
AM
244502013-04-27 Allan McRae <allan@archlinux.org>
24451
24452 * sysdeps/i386/fpu/libm-test-ulps: Update.
24453
f0302940
JM
244542013-04-26 Joseph Myers <joseph@codesourcery.com>
24455
9457fd95
JM
24456 [BZ #15406]
24457 * math/s_catan.c: Include <float.h>.
24458 (__catan): Ensure underflow exception occurs for underflowed
24459 result.
24460 * math/s_catanf.c: Include <float.h>.
24461 (__catanf): Ensure underflow exception occurs for underflowed
24462 result.
24463 * math/s_catanh.c: Include <float.h>.
24464 (__catanh): Ensure underflow exception occurs for underflowed
24465 result.
24466 * math/s_catanhf.c: Include <float.h>.
24467 (__catanhf): Ensure underflow exception occurs for underflowed
24468 result.
24469 * math/s_catanhl.c: Include <float.h>.
24470 (__catanhl): Ensure underflow exception occurs for underflowed
24471 result.
24472 * math/s_catanl.c: Include <float.h>.
24473 (__catanl): Ensure underflow exception occurs for underflowed
24474 result.
24475 * math/libm-test.inc (catan_test): Add more tests.
24476 (catanh_test): Likewise.
24477
f0302940
JM
24478 [BZ #15405]
24479 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24480 underflowed result.
24481 * math/s_ccoshf.c (__ccoshf): Likewise.
24482 * math/s_ccoshl.c (__ccoshl): Likewise.
24483 * math/s_csin.c (__csin): Likewise.
24484 * math/s_csinf.c (__csinf): Likewise.
24485 * math/s_csinh.c (__csinh): Likewise.
24486 * math/s_csinhf.c (__csinhf): Likewise.
24487 * math/s_csinhl.c (__csinhl): Likewise.
24488 * math/s_csinl.c (__csinl): Likewise.
24489 * math/libm-test.inc (ccos_test): Add more tests.
24490 (ccosh_test): Likewise.
24491 (csin_test): Likewise.
24492 (csinh_test): Likewise.
24493
aa630f59
AZ
244942013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24495
24496 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24497 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24498 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24499 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24500 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24501 powerpc/power5+/fpu folders.
24502 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24503
24504
1b835983
MT
245052013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24506
24507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24508
73709b26
JM
245092013-04-25 Joseph Myers <joseph@codesourcery.com>
24510
24511 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24512 additions to variable.
24513 [$(config-machine) = x86_64] (modules-names): Likewise.
24514 ($(objpfx)tst-audit3): Remove dependency.
24515 ($(objpfx)tst-audit3.out): Likewise.
24516 ($(objpfx)tst-audit4): Likewise.
24517 ($(objpfx)tst-audit4.out): Likewise.
24518 ($(objpfx)tst-audit5): Likewise.
24519 ($(objpfx)tst-audit5.out): Likewise.
24520 ($(objpfx)tst-audit6): Likewise.
24521 ($(objpfx)tst-audit6.out): Likewise.
24522 ($(objpfx)tst-audit7): Likewise.
24523 ($(objpfx)tst-audit7.out): Likewise.
24524 (tst-audit3-ENV): Remove variable.
24525 (tst-audit4-ENV): Likewise.
24526 (tst-audit5-ENV): Likewise.
24527 (tst-audit6-ENV): Likewise.
24528 (tst-audit7-ENV): Likewise.
24529 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24530 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24531 addition to variable.
24532 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24533 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24534 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24535 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24536 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24537 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24538 tst-audit3, tst-audit4 and tst-audit5.
24539 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24540 tst-audit6 and tst-audit7.
24541 [$(subdir) = elf] (modules-names): Add audit modules for those
24542 tests.
24543 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24544 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24545 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24546 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24547 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24548 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24549 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24550 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24551 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24552 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24553 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24554 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24555 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24556 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24557 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24558 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24559 Likewise.
24560 [$(subdir) = elf && $(config-cflags-avx) = yes]
24561 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24562 [$(subdir) = elf && $(config-cflags-avx) = yes]
24563 (CFLAGS-tst-auditmod4a.c): Likewise.
24564 [$(subdir) = elf && $(config-cflags-avx) = yes]
24565 (CFLAGS-tst-auditmod4b.c): Likewise.
24566 [$(subdir) = elf && $(config-cflags-avx) = yes]
24567 (CFLAGS-tst-auditmod6b.c): Likewise.
24568 [$(subdir) = elf && $(config-cflags-avx) = yes]
24569 (CFLAGS-tst-auditmod6c.c): Likewise.
24570 [$(subdir) = elf && $(config-cflags-avx) = yes]
24571 (CFLAGS-tst-auditmod7b.c): Likewise.
24572 * elf/tst-audit3.c: Move to ...
24573 * sysdeps/x86_64/tst-audit3.c: ... here.
24574 * elf/tst-audit4.c: Move to ...
24575 * sysdeps/x86_64/tst-audit4.c: ... here.
24576 * elf/tst-audit5.c: Move to ...
24577 * sysdeps/x86_64/tst-audit5.c: ... here.
24578 * elf/tst-audit6.c: Move to ...
24579 * sysdeps/x86_64/tst-audit6.c: ... here.
24580 * elf/tst-audit7.c: Move to ...
24581 * sysdeps/x86_64/tst-audit7.c: ... here.
24582 * elf/tst-auditmod3a.c: Move to ...
24583 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24584 * elf/tst-auditmod3b.c: Move to ...
24585 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24586 * elf/tst-auditmod4a.c: Move to ...
24587 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24588 * elf/tst-auditmod4b.c: Move to ...
24589 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24590 * elf/tst-auditmod5a.c: Move to ...
24591 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24592 * elf/tst-auditmod5b.c: Move to ...
24593 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24594 * elf/tst-auditmod6a.c: Move to ...
24595 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24596 * elf/tst-auditmod6b.c: Move to ...
24597 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24598 * elf/tst-auditmod6c.c: Move to ...
24599 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24600 * elf/tst-auditmod7a.c: Move to ...
24601 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24602 * elf/tst-auditmod7b.c: Move to ...
24603 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24604
1ef74943
PP
246052013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24606
24607 [BZ #15366]
24608 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24609 define unconditionally.
24610 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24611 define unconditionally.
24612 (INT8_C, INT16_C, etc.): Likewise.
24613
93fd48c5
MR
246142013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24615
ae9552cf
MR
24616 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24617 __ehdr_start with hidden visibility.
24618
93fd48c5
MR
24619 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24620
418601aa
CD
246212013-04-24 Carlos O'Donell <carlos@redhat.com>
24622
24623 * math/libm-test.inc (cos_test): Use accurate hex constants.
24624 (sincost_test): Likewise.
24625
2f38fbfe
JM
246262013-04-24 Joseph Myers <joseph@codesourcery.com>
24627
5e221800
JM
24628 * math/libm-test.inc (catan_test): Add more tests.
24629 (catanh_test): Likewise.
24630
77f143fd
JM
24631 * math/s_catanf.c (__catanf): Use suffixed floating-point
24632 constants.
24633 * math/s_catanhf.c (__catanhf): Likewise.
24634 * math/s_catanhl.c (__catanhl): Likewise.
24635 * math/s_catanl.c (__catanl): Likewise.
24636
2f38fbfe
JM
24637 [BZ #15394]
24638 * math/s_catan.c (__catan): Calculate imaginary part of result
24639 with log1p not log unless computing log of number close to 0.
24640 * math/s_catanf.c (__catanf): Likewise.
24641 * math/s_catanl.c (__catanl): Likewise.
24642 * math/s_catanh.c (__catanh): Calculate real part of result with
24643 log1p not log unless computing log of number close to 0.
24644 * math/s_catanhf.c (__catanhf): Likewise.
24645 * math/s_catanhl.c (__catanhl): Likewise.
24646 * math/libm-test.inc (catan_test): Add more tests.
24647 (catanh_test): Likewise.
24648 * sysdeps/i386/fpu/libm-test-ulps: Update.
24649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24650
45d69176
SP
246512013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24652
24653 * benchtests/Makefile: Mention files in which fast and slow
24654 paths of math functions are implemented.
24655
87f51853
RM
246562013-04-23 Roland McGrath <roland@hack.frob.com>
24657
24658 * sysdeps/posix/timespec_get.c: New file.
24659
3c026539
AZ
246602013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24661
24662 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24663 POWER.
24664 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24665 for POWER.
24666 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24667 powerpc/power5/fpu folders.
24668 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24669 * benchtests/Makefile: Add modf testcase.
24670 * benchtests/bench-modf.c: New file: Benchmark test for mo
24671
ff491d14
SP
246722013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24673
24674 [BZ #14888]
24675 * time/Makefile (tests): Add tst-strptime-whitespace.
24676 * time/strptime_l.c (get_number): Use ISSPACE.
24677 (__strptime_internal): Likewise.
24678 * time/tst-strptime-whitespace.c: New test case.
24679
7ed3f4e8
AS
246802013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24681
24682 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24683 member.
24684 (_nss_files_init): Set it here.
24685
5c95f7b6
HC
246862013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24687
24688 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24689 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24690 unsigned.
24691
d34c9158
JBG
246922013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24693
24694 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24695
2169712d
SP
246962013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24697
24698 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24699 size just once.
24700
29c5de99
DM
247012013-04-21 David S. Miller <davem@davemloft.net>
24702
24703 * po/ru.po: Update Russion translation from translation project.
24704
ccdad15d
AC
247052013-04-17 Adam Conrad <adconrad@0c3.net>
24706
24707 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24708 and setfsgid.
24709
0f122b8d
CD
247102013-04-17 Carlos O'Donell <carlos@redhat.com>
24711
5c5b07da 24712 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24713 * configure: Regenerate.
5c5b07da 24714 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24715 Add example to error message.
24716 * sysdeps/i386/configure: Regenerate.
24717
037714dd
SP
247182013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24719
24720 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24721 slowtan.
24722 * benchtests/cos-inputs: New file.
24723 * benchtests/slowcos-inputs: New file.
24724 * benchtests/slowcos.c: New file.
24725 * benchtests/slowtan-inputs: New file.
24726 * benchtests/slowtan.c: New file.
24727 * benchtests/tan-inputs: New file.
24728
e913141d
RM
247292013-04-16 Roland McGrath <roland@hack.frob.com>
24730
24731 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24732 considered kosher.
24733
a2964074
SP
247342013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24735
4856bcd2
SP
24736 * benchtests/Makefile: Include cppflags-iterator.mk to add
24737 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24738
a2964074
SP
24739 * Makefile.in (bench-clean): New target.
24740 * benchtests/Makefile (bench-clean): Likewise.
24741
9fbf9aca
DH
247422013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24743
24744 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24745
207d1e2a
TS
247462013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24747
24748 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24749
306dfba9
AS
247502013-04-15 Andreas Schwab <schwab@suse.de>
24751
24752 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24753 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24754 * nscd/pwdcache.c (cache_addpw): Likewise.
24755 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24756 more than recsize.
24757
206a6699
SP
247582013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24759
24760 * benchtests/Makefile (bench): Write all output to
24761 bench-out.tmp together.
24762
0582f6b3
AS
247632013-04-15 Andreas Schwab <schwab@suse.de>
24764
24765 * nscd/nscd.c (main): Don't fork again after closing files.
24766
acb4325f
SP
247672013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24768
5cb26d0a
SP
24769 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24770
acb4325f
SP
24771 * benchtests/Rules (bench-deps): Collect dependencies into a
24772 single variable. Add Makefile to dependencies.
24773 ($(objpfx)bench-%.c): Depend on bench-deps.
24774
47792506
RM
247752013-04-12 Roland McGrath <roland@hack.frob.com>
24776 Xavier Roche <roche+kml2@exalead.com>
24777
24778 [BZ #15361]
24779 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24780 just that it's a file descriptor.
24781 * manual/llio.texi (Synchronizing AIO Operations): Update description
24782 for EBADF error from aio_fsync.
24783
8fc1bee5
SP
247842013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24785
24786 * Rules (bench): Move target definition...
24787 * benchtests/Makefile: ... here.
24788
aba5e333
CD
247892013-04-11 Carlos O'Donell <carlos@redhat.com>
24790
24791 * math/libm-test.inc (cos_test): Fix PI/2 test.
24792 (sincos_test): Likewise.
24793 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24794 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24795
273cdee8
AS
247962013-04-11 Andreas Schwab <schwab@suse.de>
24797
6ecec3b6
AS
24798 [BZ #13988]
24799 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24800 accept exponent character only when digits were seen.
24801 * stdio-common/Makefile (tests): Add bug26.
24802 * stdio-common/bug26.c: New file.
24803
273cdee8
AS
24804 [BZ #14293]
24805 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24806 non-freeable.
24807
8da491f5
SP
248082013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24809
01dc6df9
SP
24810 * Makeconfig (rtld-prefix): Define built linker prefix.
24811 * Rules (run-bench): Use it.
24812 * math/Makefile (run-regen-ulps): Likewise.
24813
8da491f5
SP
24814 * Rules (bench): Remove eval.
24815
abe7f530
SP
248162013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24817 Roland McGrath <roland@hack.frob.com>
24818 Ondrej Bilka <neleai@seznam.cz>
24819
24820 [BZ #15346]
24821 * time/getdate.c: Include ctype.h and alloca.h.
24822 (__getdate_r): Trim leading and trailing spaces of input.
24823 * time/tst-getdate.c (tests): Add tests with leading and
24824 trailing spaces.
24825
61c23e62
RM
248262013-04-08 Roland McGrath <roland@hack.frob.com>
24827
24828 [BZ #14280]
24829 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24830 when computing value.
24831
7208a313
CD
248322013-04-06 Carlos O'Donell <carlos@redhat.com>
24833
085b2d41
CD
24834 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24835 Use testrun.sh to run libm tests.
24836
7208a313
CD
24837 [BZ #15309]
24838 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24839
872c0acd
MM
248402013-04-06 Marko Myllynen <myllynen@redhat.com>
24841
24842 [BZ #15264]
24843 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24844
26510bdd
CD
248452013-04-06 Carlos O'Donell <carlos@redhat.com>
24846
24847 * Makefile.in (regen-ulps): New target.
24848 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24849 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24850 [ifneq (no,$(PERL)] (regen-ulps): New target.
24851 [ifeq (no,$(PERL)] (regen-ulps): New target.
24852 * math/libm-test.inc (ulps_file_name): Define.
24853 (output_dir): New variable.
24854 (options): Add "output-dir" option.
24855 (parse_opt): Handle 'o' case.
24856 (main): If output_dir is non-NULL use it as a prefix
24857 otherwise use "".
24858 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24859
a01f19c8
CD
248602013-04-06 Carlos O'Donell <carlos@redhat.com>
24861
24862 [BZ #10060, #10062]
24863 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24864 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24865 fail configure if __sync_val_compare_and_swap is not inlined.
24866 * sysdeps/i386/configure: Regenerate.
24867 * configure.in: Build for i686 when configured for i386.
24868 * configure: Regenerate.
24869 * README: Remove i386 reference.
24870
b7a329a5
CD
248712013-04-06 Carlos O'Donell <carlos@redhat.com>
24872
24873 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24874 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24875
bf0f50df
TS
248762013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24877
ee091edf
TS
24878 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24879 (lmsnanval): New variables.
24880 (F): Add conversion tests.
24881 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24882 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24883
a8b792d6
TS
24884 * stdio-common/tstdiomisc.c (F): Properly collect individual
24885 tests' results.
24886
a1cbf437
TS
24887 [BZ #14686, #15336]
24888 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24889 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24890 Instead, use input NaN values or generate a qNaN by arithmetic
24891 operation. Also fix bugs to comply with the standard.
24892 * math/libm-test.inc (remainder_test): Add more tests.
24893
8b43a0c9
TS
24894 [BZ #15335, #15342]
24895 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24896 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24897 input NaN values or generate a qNaN by arithmetic operation.
24898
d91da4ce
TS
24899 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24900 unreachable code.
24901
bf0f50df
TS
24902 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24903 definitions.
24904
05e166c8
JM
249052013-04-03 Joseph Myers <joseph@codesourcery.com>
24906
24907 [BZ #14478]
24908 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24909 underflowed result.
24910 * math/s_cexpf.c (__cexpf): Likewise.
24911 * math/s_cexpl.c (__cexpl): Likewise.
24912 * math/libm-test.inc (cexp_test): Add more tests.
24913
1cef1b19
AS
249142013-04-03 Andreas Schwab <schwab@suse.de>
24915
24916 [BZ #15330]
24917 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24918 order arrays from heap if bigger than alloca cutoff.
24919
74d87055
TS
249202013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24921
24922 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24923 (SNAN_TESTS_double): Refer to GCC PR56831.
24924 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24925 GCC PR56828.
24926
d755bba4
SP
249272013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24928
90d5d5bb
SP
24929 * Rules (bench): Move bench.out after the run is complete.
24930
73e0cd5d
SP
24931 * Rules (bench): Echo currently running benchmark.
24932
64aabd4b
SP
24933 * benchtests/Makefile (bench): Add atan and slowatan.
24934 * benchtests/atan-inputs: New file.
24935 * benchtests/slowatan-inputs: New file.
24936 * benchtests/slowatan.c: New file.
24937
c871eccd
SP
24938 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24939 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24940 its value.
24941
d755bba4
SP
24942 [BZ #15305]
24943 * sysdeps/unix/sysv/linux/kernel-features.h
24944 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24945 __ASSUME_XFS_RESTRICTED_CHOWN.
24946 * sysdeps/unix/sysv/linux/pathconf.c
24947 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24948 Save and restore errno.
24949
52ce4860
JM
249502013-04-02 Joseph Myers <joseph@codesourcery.com>
24951
24952 [BZ #15327]
24953 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24954 arguments using __kernel_casinh.
24955 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24956 arguments using __kernel_casinhf.
24957 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24958 arguments using __kernel_casinhl.
24959 * math/libm-test.inc (cacosh_test): Add more tests.
24960 * sysdeps/i386/fpu/libm-test-ulps: Update.
24961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24962
81f311c2
SP
249632013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24964
e7906a47
SP
24965 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24966 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24967
92e3664b
SP
24968 * bench/Makefile (bench): Add sin and slowsin.
24969 * benchtests/sin-inputs: New file.
24970 * benchtests/slowsin-inputs: New file.
24971 * benchtests/slowsin.c: New file.
24972
81f311c2
SP
24973 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24974 (bench): Add slowexp and slowpow.
24975 (exp-ITER): Increase iterations.
24976 (pow-ITER): Likewise.
24977 * benchtests/exp-inputs: Change input.
24978 * benchtests/pow-inputs: Likewise.
24979 * benchtests/slowexp-inputs: New file.
24980 * benchtests/slowexp.c: New file.
24981 * benchtests/slowpow-inputs: New file.
24982 * benchtests/slowpow.c: New file.
24983
ab0f1aa9
AZ
249842013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24985
24986 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24987 instructions.
24988 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24989 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24990 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24991 * benchtests/Makefile: Add rint benchtest.
24992 * benchtests/rint-inputs: Input for rint benchtest.
24993
57267616
TS
249942013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24995
24996 * Versions.def (libm): Add GLIBC_2.18.
24997 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24998 hidden libm prototypes.
24999 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25000 * math/Makefile (libm-calls): Add s_issignaling.
25001 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25002 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25003 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25004 declaration.
25005 * math/math.h [__USE_GNU] (issignaling): New macro.
25006 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25007 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25008 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25009 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25010 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25011 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25012 * manual/arith.texi (issignaling): New section.
25013 * manual/libm-err-tab.pl (@all_functions): Update comment.
25014 * math/gen-libm-test.pl (parse_args): Apply special handling for
25015 issignaling.
25016 * math/libm-test.inc (print_float, issignaling_test): New
25017 functions.
25018 (check_float_internal): Add issignaling checks.
25019 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25020 default definition.
25021 * sysdeps/powerpc/math-tests.h: New file.
25022 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25023 tests.
25024 * math/test-snan.c (TEST_FUNC): Likewise.
25025
6142896d
DM
250262013-03-30 David S. Miller <davem@davemloft.net>
25027
25028 * po/de.po: Update from translation team.
25029
ccc8cadf
JM
250302013-03-30 Joseph Myers <joseph@codesourcery.com>
25031
25032 [BZ #10357]
25033 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25034 imaginary part less than 1.0 and real part less than 0.5
25035 specially.
25036 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25037 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25038 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25039 (cacos_test): Add more tests.
25040 (casin_test): Likewise.
25041 (casinh_test): Likewise.
25042 * sysdeps/i386/fpu/libm-test-ulps: Update.
25043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25044
0f6a8d4b
SP
250452013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25046
0d1029de
SP
25047 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25048 ONE with its value.
25049
c2d94018
SP
25050 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25051 (__pow_mp): Replace ONE and MONE with their values.
25052 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25053 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25054 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25055 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25056 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25057 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25058
27ec37f1
SP
25059 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25060
a64d7e0e
SP
25061 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25062 (__pow_mp): Replace ZERO and MZERO with their values.
25063 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25064 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25065 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25067 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25068 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25069 (__sqr): Likewise.
25070
d26dd3eb
SP
25071 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25072
0f6a8d4b
SP
25073 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25074
e57b0c61
RM
250752013-03-28 Roland McGrath <roland@hack.frob.com>
25076
25077 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25078 Declare with __attribute__ ((weak)).
25079 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25080 Call __call_tls_dtors only if it's not NULL.
25081
356b3480
RM
250822013-03-28 Roland McGrath <roland@hack.frob.com>
25083
288f7d79
RM
25084 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25085 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25086 magic __ehdr_start linker symbol if it's defined.
25087 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25088 them up here if it was already done.
25089
dc0a0263
RM
25090 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25091 (_dl_aux_init): Use const in cast when setting it.
25092 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25093 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25094 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25095
3d3436ae
RM
25096 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25097 Declare them here.
25098 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25099 * csu/libc-tls.c: Nor here.
25100 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25101
356b3480
RM
25102 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25103 (__libc_message): Never call vsyslog.
25104
b0f1246a
AM
251052013-03-28 Alan Modra <amodra@gmail.com>
25106
25107 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25108 Define as empty.
25109 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25110 Likewise.
25111
fbbe2b9a
AZ
251122013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25113
25114 [BZ #15214]
25115 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25116 underflow.
25117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25118
1728ab37
SP
251192013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25120
7a86be6e
SP
25121 [BZ #15304]
25122 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25123 Don't add gid passed as argument.
25124
1728ab37
SP
25125 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25126
3a7182a1
JM
251272013-03-27 Joseph Myers <joseph@codesourcery.com>
25128
25129 [BZ #15307]
25130 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25131 imaginary part between 1.0 and 1.5 and real part less than 0.5
25132 specially.
25133 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25134 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25135 * math/libm-test.inc (cacos_test): Add more tests.
25136 (casin_test): Likewise.
25137 (casinh_test): Likewise.
25138 * sysdeps/i386/fpu/libm-test-ulps: Update.
25139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25140
6f2e90e7
SP
251412013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25142
5739f705
SP
25143 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25144 constants.
25145 (norm): Likewise.
25146 (denorm): Likewise.
25147 (__dbl_mp): Likewise.
25148 (add_magnitudes): Likewise.
25149 (sub_magnitudes): Likewise.
25150 (__add): Likewise.
25151 (__sub): Likewise.
25152 (__mul): Likewise.
25153 (__sqr): Likewise.
25154 (__inv): Likewise.
25155 (__dvd): Likewise.
25156
e375e83d
SP
25157 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25158 commented code.
25159 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25160 (__dubcos): Likewise.
25161 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25162 (__ieee754_acos): Likewise.
25163 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25164 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25165 (__exp1): Likewise.
25166 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25168 (log1): Likewise.
25169 (my_log2): Likewise.
25170 (checkint): Likewise.
25171 * sysdeps/ieee754/dbl-64/e_remainder.c
25172 (__ieee754_remainder): Likewise.
25173 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25174 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25175 (bsloww): Likewise.
25176 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25177
6f2e90e7
SP
25178 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25179 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25180 MANTISSA_STORE_T to store computations on mantissa. Use
25181 macros for rounding and division.
25182 (denorm): Likewise.
25183 (__dbl_mp): Likewise.
25184 (add_magnitudes): Likewise.
25185 (sub_magnitudes): Likewise.
25186 (__mul): Likewise.
25187 (__sqr): Likewise.
25188 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25189 powers of two in terms of TWOPOW macro.
25190 (mp_no): Make type of mantissa as MANTISSA_T.
25191 [!RADIXI]: Define RADIXI.
25192 [!TWO52]: Define TWO52.
25193 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25194
fce14d4e
AZ
251952013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25196
25197 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25198 llroundl symbol when building for PPC32.
25199
9ad027fb
MW
252002013-03-24 Mark H Weaver <mhw@netris.org>
25201
25202 * manual/arith.texi (Normalization Functions): Fix prototypes for
25203 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25204
e42a38dd
AZ
252052013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25206
25207 [BZ #13889]
25208 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25209 high value to check if expl overflow.
25210 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25211 to check for underflow and overflow.
25212 * math/libm-test.inc: Add exp test.
25213
2e0fb521
DL
252142013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25215
25216 [BZ #11120]
25217 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25218 with NOT_IN_libc.
25219
b5784d95
AZ
252202013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25221
25222 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25223 symbol.
25224
5aa4a1a1
TS
252252013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25226
bdef0be7
TS
25227 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25228 wrap blocks consisting of several statements.
25229
5aa4a1a1
TS
25230 * sysdeps/generic/math-tests.h: New file.
25231 * sysdeps/i386/fpu/math-tests.h: Likewise.
25232 * math/test-snan.c: Include it.
25233 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25234
98c48fe5
JM
252352013-03-21 Joseph Myers <joseph@codesourcery.com>
25236
25237 [BZ #15285]
25238 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25239 (__ieee754_j0l): Do not improve calculations using cos of twice
25240 input for inputs above LDBL_MAX / 2.0L.
25241 (__ieee754_y0l): Likewise.
25242 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25243 (__ieee754_j1l): Do not improve calculations using cos of twice
25244 input for inputs above LDBL_MAX / 2.0L.
25245 (__ieee754_y1l): Likewise.
25246 * math/libm-test.inc (j0_test): Add another test.
25247 (j1_test): Likewise.
25248 (y0_test): Likewise.
25249 (y1_test): Likewise.
25250 * sysdeps/i386/fpu/libm-test-ulps: Update.
25251
3775a8bc
SP
252522013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25253
25254 * Rules ($(objpfx)bench-%.c): Include code from a C source
25255 file.
25256
0a1b2ae6
JM
252572013-03-21 Joseph Myers <joseph@codesourcery.com>
25258
25259 [BZ #15287]
25260 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25261 imaginary part 1.0 and real part less than 0.5 specially.
25262 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25263 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25264 * math/libm-test.inc (cacos_test): Add more tests.
25265 (casin_test): Likewise.
25266 (casinh_test): Likewise.
25267 * sysdeps/i386/fpu/libm-test-ulps: Update.
25268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25269
b33d4ce4
SP
252702013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25271
25272 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25273 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25274
bef0b507
JM
252752013-03-20 Joseph Myers <joseph@codesourcery.com>
25276
25277 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25278 * config.make.in (config-cflags-sse4): Remove variable.
25279 (config-cflags-avx): Likewise.
25280 (config-cflags-sse2avx): Likewise.
25281 (config-cflags-novzeroupper): Likewise.
25282 (config-asflags-i686): Likewise.
25283 (have-mfma4): Likewise.
25284 (have-as-vis3): Likewise.
25285 (MIG): Likewise.
25286 * configure.in (MIG): Do not AC_SUBST.
25287 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25288 (libc_cv_cc_sse4): Do not AC_SUBST.
25289 (libc_cv_cc_avx): Likewise.
25290 (libc_cv_cc_sse2avx): Likewise.
25291 (libc_cv_cc_novzeroupper): Likewise.
25292 (libc_cv_cc_fma4): Likewise.
25293 (libc_cv_as_i686): Likewise.
25294 (libc_cv_sparc_as_vis3): Likewise.
25295 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25296 LIBC_CONFIG_VAR.
25297 (config-asflags-i686): Likewise.
25298 (config-cflags-avx): Likewise.
25299 (config-cflags-sse2avx): Likewise.
25300 (have-mfma4): Likewise.
25301 (config-cflags-novzeroupper): Likewise.
25302 * sysdeps/mach/configure.in (MIG): Likewise.
25303 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25304 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25305 LIBC_CONFIG_VAR.
25306 (config-cflags-avx): Likewise.
25307 (config-cflags-sse2avx): Likewise.
25308 (have-mfma4): Likewise.
25309 (config-cflags-novzeroupper): Likewise.
25310 * configure: Regenerated.
25311 * sysdeps/i386/configure: Likewise.
25312 * sysdeps/mach/configure: Likewise.
25313 * sysdeps/sparc/configure: Likewise.
25314 * sysdeps/x86_64/configure: Likewise.
25315
912cc4b3
RM
253162013-03-20 Roland McGrath <roland@hack.frob.com>
25317
25318 [BZ #14812]
25319 * locale/programs/localedef.c (options): Put N_ translation marker
25320 on argument names, not just descriptions.
25321
04eed2b0
MS
253222013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25323
25324 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25325
a065ceff
OB
253262013-03-20 Ondřej Bílka <neleai@seznam.cz>
25327
9bb2a810 25328 [BZ #14176]
a065ceff
OB
25329 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25330
a600e5ce
RM
253312013-03-19 Roland McGrath <roland@hack.frob.com>
25332
25333 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25334 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25335 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25336 [!BEFORE_ABORT] (before_abort): New function.
25337 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25338 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25339 (writev_for_fatal): New function.
25340 (WRITEV_FOR_FATAL): New macro; call that.
25341 (backtrace_and_maps): New function.
25342 (BEFORE_ABORT): New macro; call that.
25343 (struct str_list): Type removed.
25344 (__libc_message, __libc_fatal): Functions removed.
25345 Include <sysdeps/posix/libc_fatal.c> instead.
25346
6b18bea6
JM
253472013-03-19 Joseph Myers <joseph@codesourcery.com>
25348
25349 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25350 constants.
25351 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25352 double constants.
25353
aaa8cb4b
AS
253542013-03-19 Andreas Schwab <schwab@suse.de>
25355
44673770
AS
25356 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25357 * sysdeps/gnu/configure: Regenerate.
25358
aaa8cb4b
AS
25359 * configure.in: Substitute libc_cv_rtlddir.
25360 * configure: Regenerate.
25361 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25362 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25363 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25364 * elf/Makefile (install-others, CFLAGS-interp.c)
25365 (ldso_install, common-ldd-rewrite): Likewise.
25366 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25367 $(inst_slibdir)/$(rtld-installed-name).
25368 * scripts/rellns-sh: Add -p option.
25369 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25370 for source.
25371
d3cfc668
SP
253722013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25373
25374 * manual/nptl.texi: Renamed to ...
25375 * manual/threads.texi: ... this.
25376 * manual/Makefile (chapters): Update.
25377
0e2b9cdd
RM
253782013-03-18 Roland McGrath <roland@hack.frob.com>
25379
25380 [BZ #14812]
25381 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25382 on argument names, not just descriptions.
0e2b9cdd
RM
25383 * malloc/memusagestat.c (options): Likewise.
25384 * nss/getent.c (options): Likewise.
63270c24
RM
25385
253862013-03-18 Benno Schulenberg <bensberg@justemail.net>
25387
25388 [BZ #14812]
25389 * iconv/iconv_prog.c (options): Put N_ translation marker
25390 on argument names, not just descriptions.
25391 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 25392
b2e1393c
OB
253932013-03-18 Ondrej Bilka <neleai@seznam.cz>
25394
25395 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25396 implementation which is faster on all x86_64 architectures.
25397 Tested on AMD, Intel Nehalem, SNB, IVB.
25398 * sysdeps/x86_64/strnlen.S: Likewise.
25399
25400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25401 Remove all multiarch strlen and strnlen versions.
25402 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25403 Remove strlen and strnlen related parts.
25404
25405 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25406 Inline strlen part.
25407 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25408
25409 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25410 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25411 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25412 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25413 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25414 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25415
ec4ff04d
CD
254162013-03-17 Carlos O'Donell <carlos@redhat.com>
25417
25418 * manual/memory.texi (Malloc Tunable Parameters):
25419 Sort parameters alphabetically. Add comments for missing entries.
25420
cd18e90a
DM
254212013-03-17 David S. Miller <davem@davemloft.net>
25422
25423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25424
2a185d32
JM
254252013-03-16 Joseph Myers <joseph@codesourcery.com>
25426
d2f9799e
JM
25427 [BZ #15283]
25428 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25429 for arguments at most half maximum finite value.
25430 * math/libm-test.inc (j0_test): Add more tests.
25431 (j1_test): Likewise.
25432 (y0_test): Likewise.
25433 (y1_test): Likewise.
25434 * sysdeps/i386/fpu/libm-test-ulps: Update.
25435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25436
2a185d32
JM
25437 [BZ #14155]
25438 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25439 1 / x and functions P and Q for arguments above 0x1p256L.
25440 (__ieee754_y0l): Likewise.
25441 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25442 (__ieee754_y1l): Likewise.
25443 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25444 (j1_test): Likewise.
25445 (y0_test): Likewise.
25446 (y1_test): Likewise.
25447
6cbec759
TS
254482013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25449
25450 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25451 variable.
25452
bc16e260
RM
254532013-03-15 Roland McGrath <roland@hack.frob.com>
25454
aefc9b8c
RM
25455 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25456 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25457 zero since it's initialized to EXEC_PAGESIZE.
25458
bc16e260
RM
25459 * sysdeps/unix/sysv/linux/ldsodefs.h
25460 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25461 * sysdeps/generic/ldsodefs.h: ... here.
25462
a57da955
TS
254632013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25464
af00a34d
TS
25465 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25466
495ded2c
TS
25467 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25468 math/test-snan.c.
25469 * math/test-snan.c: Renamed from
25470 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25471 * math/Makefile (tests): Add test-snan.
25472 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25473 test-powerpc-snan.
25474
777b0332
TS
25475 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25476 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25477 functions.
25478 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25479 __builtin_nan family of functions.
25480 * math/libm-test.inc (initialize): Initialize qnan_value with
25481 __builtin_nan family of functions.
25482 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25483 Remove variables.
25484 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25485 Remove functions.
25486 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25487 storage class. Initialize qNaN_var and sNaN_var with
25488 __builtin_nan and __builtin_nans families of functions,
25489 respectively.
25490
64d063b8
TS
25491 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25492 (sqrt_test): Remove duplicate test with qNaN input.
25493 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25494 (round_test, signbit_test, significand_test): Note missing +/-Inf
25495 as well as qNaN tests.
25496
67e971f1
TS
25497 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25498 qNaN_var. Fix a few strings, too.
25499 * math/libm-test.inc (nan_value): Rename to qnan_value.
25500 * math/gen-libm-test.pl (%beautify): Adjust to that.
25501 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25502 * math/test-misc.c (main): Likewise.
25503 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25504 to __qnan_bytes, and __qnan_union, respectively.
25505 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25506 Likewise.
25507 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25508 and lqnanval, respectively.
25509 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25510 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25511 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25512 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25513
64487e12
TS
25514 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25515 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25516 doubles.
25517
e015e27b
TS
25518 * math/test-misc.c (main): Fix copy'n'pastos.
25519 * misc/tst-efgcvt.c (special): Likewise.
25520
a57da955
TS
25521 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25522 Remove declarations.
25523
1e380345
SP
255242013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25525
25526 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25527 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25528 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25529 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25530
ef26eece
AZ
255312013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25532
25533 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25534 macro to return vdso values correctly in IFUNC implementations.
25535 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25536 Optimization by using IFUNC.
25537
8cfdb7e0
SP
255382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25539 Richard Henderson <rth@redhat.com>
25540 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25541
25542 * Makefile.in (bench): New target.
25543 * NEWS: Mention the benchmark framework.
25544 * Rules (bench): Likewise.
25545 (binaries-bench): Generate binaries for functions to
25546 benchmark.
25547 * benchtests/Makefile: New makefile for benchmark tests.
25548 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25549 programs.
25550 * benchtests/exp-inputs: New input file for EXP function.
25551 * benchtests/pow-inputs: New input file for POW function.
25552 * scripts/bench.pl: New script to generate source files for
25553 benchmark programs.
25554
bcda9880
SP
255552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25556
d22ca8cd
SP
25557 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25558 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25559 computations on mantissa. Use macros for rounding and
25560 division.
25561 (denorm): Likewise.
25562 (__dbl_mp): Likewise.
25563 (add_magnitudes): Likewise.
25564 (sub_magnitudes): Likewise.
25565 (__mul): Likewise.
25566 (__sqr): Likewise.
25567 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25568 powers of two in terms of TWOPOW macro.
25569 (mp_no): Make type of mantissa as MANTISSA_T.
25570 [!RADIXI]: Define RADIXI.
25571 [!TWO52]: Define TWO52.
25572 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25573
bcda9880
SP
25574 * manual/nptl.texi (cindex): Modify threads to pthreads.
25575
06d5adfb
JM
255762013-03-15 Joseph Myers <joseph@codesourcery.com>
25577
25578 * sysdeps/x86_64/preconfigure: Regenerated.
25579
41c7328e
JM
255802013-03-14 Joseph Myers <joseph@codesourcery.com>
25581
25582 [BZ #14155]
25583 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25584 0x1p28 and above.
25585 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25586 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25587 0x1p28 and above.
25588 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25589 * math/libm-test.inc (j0_test): Do not allow one spurious
25590 underflow exception.
25591 (y1_test): Likewise.
25592
e25cfa60
SP
255932013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25594
0409959c
SP
25595 * manual/Makefile (chapters): Add nptl.
25596 * manual/debug.texi (Debugging Support): Add link to Threads
25597 chapter.
25598 * manual/nptl.texi: New file.
25599
e25cfa60
SP
25600 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25601
58a1335e
PB
256022013-03-14 Petr Baudis <pasky@ucw.cz>
25603
25604 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25605 for non-NULL pointer before the memory validity test. Pointed
25606 out by Holger Brunck <holger.brunck@keymile.com>.
25607
9dc7c64f
AS
256082013-03-13 Andreas Schwab <schwab@suse.de>
25609
25610 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25611 instead of .os.
25612
54206aa6
JM
256132013-03-13 Joseph Myers <joseph@codesourcery.com>
25614
25615 * timezone/zic.c: Update from tzcode 2013b.
25616
e98cdb38
CD
256172013-03-12 Carlos O'Donell <carlos@redhat.com>
25618
25619 * manual/install.texi (Configuring and compiling):
25620 Mention i686 and i586.
25621 * INSTALL: Regenerate.
25622
9967e003
RM
256232013-03-12 Roland McGrath <roland@hack.frob.com>
25624
25625 * sysdeps/init_array/elf-init.c: New file.
25626 * csu/elf-init.c
25627 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25628 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25629
25630 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25631 __gmon_start__ as global, but as static with a .preinit_array pointer.
25632 * sysdeps/init_array/gmon-start.c: New file. Use that.
25633 * sysdeps/init_array/crti.S: New file, empty except for comments.
25634 * sysdeps/init_array/crtn.S: Likewise.
25635
e6b5a293 256362013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25637
25638 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25639 definining bcopy.
80f844c9
OB
25640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25641 Remove Prefer_SSE_for_memop.
25642 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25643 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25644 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25646 memset-x86-64.
80f844c9 25647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25648 Remove bzero, memset ifunc support.
80f844c9
OB
25649 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25650 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25651 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25652 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25653
fb6b0fcb
AS
256542013-03-11 Andreas Schwab <schwab@suse.de>
25655
25656 [BZ #15234]
25657 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25658 by SHLIB_COMPAT.
25659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25660 (GLIBC_2.16): Remove pthread_atfork.
25661
3e6bd4b1
PP
256622013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25663
25664 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25665 (ptestcases.h): Likewise.
25666
222d7f00
RM
256672013-03-08 Roland McGrath <roland@hack.frob.com>
25668
25669 * Makeconfig ($(common-objpfx)config.status): Depend on
25670 sysdeps/*/preconfigure{,.in} too.
25671
1ba4f030
JM
256722013-03-08 Joseph Myers <joseph@codesourcery.com>
25673
a222d91a
JM
25674 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25675 (__free_hook): Use void * instead of __malloc_ptr_t.
25676 (__malloc_hook): Likewise.
25677 (__realloc_hook): Likewise.
25678 (__memalign_hook): Likewise.
25679 (__after_morecore_hook): Likewise.
25680 * malloc/arena.c (save_malloc_hook): Likewise.
25681 (save_free_hook): Likewise.
25682 * malloc/hooks.c (malloc_hook_ini): Likewise.
25683 (realloc_hook_ini): Likewise.
25684 (memalign_hook_ini): Likewise.
25685 * malloc/malloc.c (malloc_hook_ini): Likewise.
25686 (realloc_hook_ini): Likewise.
25687 (memalign_hook_ini): Likewise.
25688 (__free_hook): Likewise.
25689 (__malloc_hook): Likewise.
25690 (__realloc_hook): Likewise.
25691 (__memalign_hook): Likewise.
25692 (__libc_malloc): Likewise.
25693 (__libc_free): Likewise.
25694 (__libc_realloc): Likewise.
25695 (__libc_memalign): Likewise.
25696 (__libc_valloc): Likewise.
25697 (__libc_pvalloc): Likewise.
25698 (__libc_calloc): Likewise.
25699 (__posix_memalign): Likewise.
25700 * malloc/morecore.c (__sbrk): Likewise.
25701 (__default_morecore): Likewise.
25702
5cc45e10
JM
25703 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25704
dd54b864
JM
25705 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25706 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25707 __malloc_ptrdiff_t.
25708
1ba4f030
JM
25709 * malloc/malloc.h (__malloc_size_t): Remove macro.
25710 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25711 __malloc_size_t.
25712 (old_memalign_hook): Likewise.
25713 (old_realloc_hook): Likewise.
25714 (struct hdr): Likewise.
25715 (flood): Likewise.
25716 (mallochook): Likewise.
25717 (memalignhook): Likewise.
25718 (reallochook): Likewise.
25719 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25720 (tr_old_realloc_hook): Likewise.
25721 (tr_old_memalign_hook): Likewise.
25722 (tr_mallochook): Likewise.
25723 (tr_reallochook): Likewise.
25724 (tr_memalignhook): Likewise.
25725
edf66e57
AZ
257262013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25727
25728 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25729 default_ldbl_pack and using as default implementation.
25730 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25731 implementation.
25732 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25733 redundant definition.
25734 (ldbl_insert_mantissa): Likewise.
25735 (ldbl_canonicalize): Likewise.
25736 (ldbl_nearbyint): Likewise.
25737 (ldbl_pack): Rename to ldbl_pack_ppc.
25738 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25739 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25740 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25741
6d9145d8
SP
257422013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25743
25744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25745 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25746 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25747 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25749 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25750 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25751 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25752
4dd4e157
AJ
257532013-03-07 Andreas Jaeger <aj@suse.de>
25754
25755 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25756 bits/mman-linux.h.
25757
adbb8027
SP
257582013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25759
ce544b5b
SP
25760 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25761 Include mpa.h and declare __MPEXP.
25762 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25763 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25764 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25765 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25766 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25767 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25768 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25769
4cc149fd
SP
25770 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25771 (__slowpow): Use long double EXPL and LOGL functions to
25772 compute POW.
25773 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25774 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25775 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25776 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25777 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25778 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25779
e6ebd4a7
SP
25780 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25781 intermediate variable to calculate exponent.
25782 (__sqr): Likewise.
25783 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25784 Likewise.
25785 (__sqr): Likewise.
25786
82a9811d
SP
25787 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25788 [!NO__SQR]: Define __sqr.
25789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25790 and NO__SQR. Remove all code except __mul and __sqr. Include
25791 sysdeps/ieee754/dbl-64/mpa.c.
25792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25793
adbb8027
SP
25794 [BZ #12723]
25795 * posix/Makefile (tests): Add tst-pathconf.
25796 * posix/tst-pathconf.c: New test case.
25797 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25798 _PC_PIPE_BUF.
25799 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25800
39120df9
PF
258012013-03-06 Patsy Franklin <pfrankli@redhat.com>
25802
25803 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25804
67525cb8
AJ
258052013-03-06 Andreas Jaeger <aj@suse.de>
25806
664a9ce4
AJ
25807 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25808 definition via __MAP_ANONYMOUS.
25809
8e39047d
AJ
25810 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25811 it's not part of Linux headers.
25812
67525cb8
AJ
25813 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25814 (MAP_HUGE_MASK): Define.
25815
25816 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25817 Define.
25818 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25819 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25820 Define.
25821 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25822 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25823 Define.
25824 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25825 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25826 Define.
25827 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25828
25829 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25830 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25831 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25832 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25833 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25834 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25835
25836 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25837 Handle f2fs.
25838
25839 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25840 Handle f2fs and efivarfs.
25841
25842 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25843 f2fs.
25844
25845 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25846 (EFIVARFS_MAGIC): Add.
25847 (F2FS_LINK_MAX): Add.
25848
e1b42695
PP
258492013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25850
25851 * stdio-common/vfprintf.c: Replace __builtin_expect with
25852 __glibc_unlikely.
25853
2d67d91a
JM
258542013-03-06 Joseph Myers <joseph@codesourcery.com>
25855
25856 [BZ #13550]
25857 * sysdeps/generic/bp-sym.h: Remove file.
25858 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25859 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25860 <bp-sym.h> and <bp-asm.h>.
25861 (__longjmp): Don't use BP_SYM.
25862 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25863 and <bp-asm.h>.
25864 (memcpy): Don't use BP_SYM.
25865 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25866 <bp-sym.h> and <bp-asm.h>.
25867 (memcpy): Don't use BP_SYM.
25868 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25869 <bp-asm.h>.
25870 (memcpy): Don't use BP_SYM.
25871 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25872 <bp-asm.h>.
25873 (memset): Don't use BP_SYM.
25874 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25875 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25876 (__bzero): Don't use BP_SYM.
25877 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25878 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25879 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25880 <bp-sym.h> and <bp-asm.h>.
25881 (memcmp): Don't use BP_SYM. Remove comment about bounded
25882 pointers.
25883 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25884 <bp-sym.h> and <bp-asm.h>.
25885 (memcpy): Don't use BP_SYM.
25886 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25887 <bp-sym.h> and <bp-asm.h>.
25888 (memset): Don't use BP_SYM.
25889 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25890 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25891 (__bzero): Don't use BP_SYM.
25892 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25893 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25894 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25895 <bp-sym.h> and <bp-asm.h>.
25896 (strncmp): Don't use BP_SYM. Remove comment about bounded
25897 pointers.
25898 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25899 <bp-sym.h> and <bp-asm.h>.
25900 (memcpy): Don't use BP_SYM.
25901 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25902 <bp-sym.h> and <bp-asm.h>.
25903 (memset): Don't use BP_SYM.
25904 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25905 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25906 (__bzero): Don't use BP_SYM.
25907 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25908 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25909 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25910 <bp-sym.h> and <bp-asm.h>.
25911 (__memchr): Don't use BP_SYM.
25912 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25913 <bp-sym.h> and <bp-asm.h>.
25914 (memcmp): Don't use BP_SYM. Remove comment about bounded
25915 pointers.
25916 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25917 <bp-sym.h> and <bp-asm.h>.
25918 (memcpy): Don't use BP_SYM.
25919 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25920 <bp-sym.h> and <bp-asm.h>.
25921 (__mempcpy): Don't use BP_SYM.
25922 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25923 <bp-sym.h> and <bp-asm.h>.
25924 (__memrchr): Don't use BP_SYM.
25925 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25926 <bp-sym.h> and <bp-asm.h>.
25927 (memset): Don't use BP_SYM.
25928 (__bzero): Likewise.
25929 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25930 <bp-sym.h> and <bp-asm.h>.
25931 (__rawmemchr): Don't use BP_SYM.
25932 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25933 <bp-sym.h> and <bp-asm.h>.
25934 (__STRCMP): Don't use BP_SYM.
25935 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25936 <bp-sym.h> and <bp-asm.h>.
25937 (strchr): Don't use BP_SYM.
25938 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25939 <bp-sym.h> and <bp-asm.h>.
25940 (__strchrnul): Don't use BP_SYM.
25941 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25942 <bp-sym.h> and <bp-asm.h>.
25943 (strlen): Don't use BP_SYM.
25944 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25945 <bp-sym.h> and <bp-asm.h>.
25946 (strncmp): Don't use BP_SYM. Remove comment about bounded
25947 pointers.
25948 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25949 <bp-sym.h> and <bp-asm.h>.
25950 (__strnlen): Don't use BP_SYM.
25951 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25952 <bp-sym.h> and <bp-asm.h>.
25953 (__GI__setjmp): Don't use BP_SYM.
25954 (_setjmp): Likewise.
25955 (__sigsetjmp): Likewise.
25956 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25957 (L(start_addresses)): Don't use BP_SYM.
25958 (_start): Likewise.
25959 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25960 <bp-asm.h>.
25961 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25962 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25963 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25964 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25965 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25966 <bp-asm.h>.
25967 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25968 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25969 about bounded pointers.
25970 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25971 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25972 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25973 <bp-asm.h>.
25974 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25975 about bounded pointers. Remove GKM FIXME comments.
25976 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25977 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25978 <bp-asm.h>.
25979 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25980 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25981 Remove GKM FIXME comments.
25982 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25983 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25984 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25985 <bp-asm.h>.
25986 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25987 about bounded pointers. Remove GKM FIXME comment.
25988 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25989 and <bp-asm.h>.
25990 (strncmp): Don't use BP_SYM. Remove comment about bounded
25991 pointers.
25992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25993 <bp-sym.h> and <bp-asm.h>.
25994 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25996 <bp-sym.h> and <bp-asm.h>.
25997 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25998 comment.
25999
cdcf361f
PP
260002013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26001
26002 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26003 call free(NULL).
26004
3c4a2b15
DM
260052013-03-05 David S. Miller <davem@davemloft.net>
26006
26007 * po/es.po: Update from translation team.
26008
cdcf361f 260092013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
26010
26011 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26012 <bits/mman-linux.h>.
26013 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26014 is fine.
26015 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26016 <bits/mman-linux.h> to end of file.
26017 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26018 is fine.
26019 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26020 <bits/mman-linux.h> to end of file.
26021 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26022 is fine.
26023 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26024 <bits/mman-linux.h> to end of file.
26025
26026 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26027 (MCL_CURRENT, MCL_FUTURE): Define here.
26028
5f67c04f
AK
260292013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26030
8a4473cc 26031 [BZ #15232]
5f67c04f
AK
26032 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26033 attribute_hidden.
26034 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26035
c3e94a95
AK
260362013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26037
26038 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26039 fourth parameter needed for rt_sigprocmask syscall.
26040 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26041 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26042 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26043 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26044 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26045 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26046
cfb6382a
JM
260472013-03-04 Joseph Myers <joseph@codesourcery.com>
26048
26049 [BZ #13550]
26050 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26051 comment about bounded pointers.
26052 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26053 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26054
539d8e01
AJ
260552013-03-04 Andreas Jaeger <aj@suse.de>
26056
26057 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26058 common definitions.
26059
26060 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26061 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26062 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26063 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26064 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
26065 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26066
2e167a70 260672013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
26068
26069 [BZ #15055]
26070 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26071 __ieee754_sqrl instead of __sqrl.
26072
68508633
JM
260732013-03-01 Joseph Myers <joseph@codesourcery.com>
26074
26075 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26076 * sysdeps/powerpc/fpu_control.h: ... here.
26077 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26078 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26079 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26080 * sysdeps/powerpc/bits/mathinline.h: ... here.
26081
7775448e
RM
260822013-03-01 Roland McGrath <roland@hack.frob.com>
26083
26084 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26085 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26086 to just [NEED_DL_SYSINFO_DSO].
26087 * elf/dl-support.c: Likewise.
26088 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26089 * elf/rtld.c (dl_main): Likewise.
26090 * elf/setup-vdso.h (setup_vdso): Likewise.
26091 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26092 * sysdeps/unix/sysv/linux/dl-sysdep.c
26093 (_dl_discover_osversion): Likewise.
26094
4e9b5995
CD
260952013-03-01 Carlos O'Donell <carlos@redhat.com>
26096
26097 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26098 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26099
e23872c8
SP
261002013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26101
e5c74c63
SP
26102 * NEWS: Mention libm performance improvements and non-x86 PI
26103 futex support.
26104
e23872c8
SP
26105 * csu/libc-start.c (__pthread_initialize_minimal): Change
26106 function arguments.
26107 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26108
b5510883
JM
261092013-02-28 Joseph Myers <joseph@codesourcery.com>
26110
26111 [BZ #13550]
26112 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26113 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26114 <bp-sym.h> and <bp-asm.h>.
26115 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26116 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26117 and <bp-asm.h>.
26118 (memcpy): Don't use BP_SYM.
26119 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26120 <bp-asm.h>.
26121 (__mpn_add_n): Don't use BP_SYM.
26122 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26123 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26124 and <bp-asm.h>.
26125 (__mpn_addmul_1): Don't use BP_SYM.
26126 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26127 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26128 <bp-sym.h>.
26129 (_setjmp): Don't use BP_SYM.
26130 (__novmx_setjmp): Likewise.
26131 (__GI__setjmp): Likewise.
26132 (__vmx_setjmp): Likewise.
26133 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26134 <bp-sym.h>.
26135 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26136 (__bzero): Don't use BP_SYM.
26137 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26138 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26139 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26140 <bp-sym.h> and <bp-asm.h>.
26141 (memcpy): Don't use BP_SYM.
26142 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26143 <bp-sym.h> and <bp-asm.h>.
26144 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26145 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26146 <bp-sym.h> and <bp-asm.h>.
26147 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26148 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26149 <bp-asm.h>.
26150 (__mpn_lshift): Don't use BP_SYM.
26151 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26152 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26153 <bp-asm.h>.
26154 (memset): Don't use BP_SYM.
26155 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26156 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26157 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26158 <bp-asm.h>.
26159 (__mpn_mul_1): Don't use BP_SYM.
26160 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26161 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26162 <bp-sym.h> and <bp-asm.h>.
26163 (memcmp): Don't use BP_SYM.
26164 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26165 <bp-sym.h> and <bp-asm.h>.
26166 (memcpy): Don't use BP_SYM.
26167 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26168 <bp-sym.h> and <bp-asm.h>.
26169 (memset): Don't use BP_SYM.
26170 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26171 <bp-sym.h> and <bp-asm.h>.
26172 (strncmp): Don't use BP_SYM.
26173 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26174 <bp-sym.h> and <bp-asm.h>.
26175 (memcpy): Don't use BP_SYM.
26176 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26177 <bp-sym.h> and <bp-asm.h>.
26178 (memset): Don't use BP_SYM.
26179 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26180 <bp-sym.h> and <bp-asm.h>.
26181 (__memchr): Don't use BP_SYM.
26182 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26183 <bp-sym.h> and <bp-asm.h>.
26184 (memcmp): Don't use BP_SYM.
26185 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26186 <bp-sym.h> and <bp-asm.h>.
26187 (memcpy): Don't use BP_SYM.
26188 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26189 <bp-sym.h> and <bp-asm.h>.
26190 (__mempcpy): Don't use BP_SYM.
26191 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26192 <bp-sym.h> and <bp-asm.h>.
26193 (__memrchr): Don't use BP_SYM.
26194 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26195 <bp-sym.h> and <bp-asm.h>.
26196 (memset): Don't use BP_SYM.
26197 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26198 <bp-sym.h> and <bp-asm.h>.
26199 (__rawmemchr): Don't use BP_SYM.
26200 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26201 <bp-sym.h> and <bp-asm.h>.
26202 (__STRCMP): Don't use BP_SYM.
26203 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26204 <bp-sym.h> and <bp-asm.h>.
26205 (strchr): Don't use BP_SYM.
26206 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26207 <bp-sym.h> and <bp-asm.h>.
26208 (__strchrnul): Don't use BP_SYM.
26209 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26210 <bp-sym.h> and <bp-asm.h>.
26211 (strlen): Don't use BP_SYM.
26212 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26213 <bp-sym.h> and <bp-asm.h>.
26214 (strncmp): Don't use BP_SYM.
26215 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26216 <bp-sym.h> and <bp-asm.h>.
26217 (__strnlen): Don't use BP_SYM.
26218 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26219 <bp-asm.h>.
26220 (__mpn_rshift): Don't use BP_SYM.
26221 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26222 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26223 <bp-sym.h> and <bp-asm.h>.
26224 (__sigsetjmp): Don't use BP_SYM.
26225 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26226 (L(start_addresses)): Don't use BP_SYM.
26227 (_start): Likewise.
26228 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26229 <bp-asm.h>.
26230 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26231 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26232 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26233 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26234 <bp-asm.h>.
26235 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26236 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26237 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26238 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26239 <bp-asm.h>.
26240 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26241 comments.
26242 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26243 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26244 <bp-asm.h>.
26245 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26246 FIXME comments.
26247 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26248 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26249 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26250 <bp-asm.h>.
26251 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26252 comment.
26253 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26254 and <bp-asm.h>.
26255 (strncmp): Don't use BP_SYM,
26256 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26257 <bp-asm.h>.
26258 (__mpn_sub_n): Don't use BP_SYM.
26259 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26260 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26261 and <bp-asm.h>.
26262 (__mpn_submul_1): Don't use BP_SYM.
26263 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26265 <bp-sym.h> and <bp-asm.h>.
26266 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26268 <bp-sym.h> and <bp-asm.h>.
26269 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26270 comment.
26271
8d19fe64
SP
262722013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26273
26274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26275 Use ZK to minimize writes to Z.
26276 (sub_magnitudes): Simplify code a bit.
26277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26278 Use ZK to minimize writes to Z.
26279 (sub_magnitudes): Simplify code a bit.
26280
85bd816a
RM
262812013-02-27 Roland McGrath <roland@hack.frob.com>
26282
26283 * csu/gmon-start.c: Add special exception to license text.
26284
b5977bf2
RH
262852013-02-27 Richard Henderson <rth@redhat.com>
26286
26287 * scripts/config.guess: Update from config.git.
26288 * scripts/config.sub: Likewise.
26289
11d6e2f2
SP
262902013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26291
09c14ed2
SP
26292 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26293
a688864e
SP
26294 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26295
6295157a
SP
26296 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26297
b8de2202
SP
26298 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26299
11d6e2f2
SP
26300 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26301
7e80ddb8
RM
263022013-02-26 Roland McGrath <roland@hack.frob.com>
26303
26304 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26305 [$(build-shared = yes].
7e80ddb8 26306
7da6d9ed
SP
263072013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26308
45f05884
SP
26309 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26310 (__mul): Reduce iterations for calculating mantissa.
26311
2236d359
SP
26312 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26313 MPTWO.
26314 (__mpranred): Likewise.
26315
7da6d9ed
SP
26316 [BZ #15160]
26317 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26318 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26319
b7688c42
PE
263202013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26321
26322 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26323 Define __attribute__.
26324
53a5c423
SP
263252013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26326
26327 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26328 unused.
26329 * posix/regex_internal.h (__attribute): Remove.
26330 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26331 (re_string_context_at): Likewise.
26332 (bitset_not): Use __attribute__ and mark function as possibly
26333 unused.
26334 (bitset_merge): Likewise.
26335 (bitset_mask): Likewise.
26336 (re_string_char_size_at): Likewise.
26337 (re_string_wchar_at): Likewise.
26338 (re_string_elem_size_at): Likewise.
26339
60f5a8b5
SP
263402013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26341
2a983a2e
SP
26342 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26343 code.
26344 (cc32): Likewise.
26345
e69804d1
SP
26346 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26347 (__acr): Likewise.
26348 (__cpy): Likewise.
26349 (norm): Likewise.
26350 (denorm): Likewise.
26351 (__dbl_mp): Likewise.
26352 (add_magnitudes): Likewise.
26353 (sub_magnitudes): Likewise.
26354 (__mul): Likewise.
26355 (__inv): Likewise.
26356
2f22a1e8
SP
26357 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26358 style.
26359
8930ddc7
SP
26360 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26361 style.
26362
dc60cb11
SP
26363 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26364 code.
26365
60f5a8b5
SP
26366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26367 up changes with default code.
26368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26369 Likewise.
26370
b4d1fd33
AM
263712013-02-24 Allan McRae <allan@archlinux.org>
26372
faf6f8bc
AM
26373 * manual/socket.texi (The Internet Namespace): Order menu items
26374 to match that in the file.
26375
b4d1fd33
AM
26376 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26377 node listing of the info page menu.
26378
2366713d
JM
263792013-02-21 Joseph Myers <joseph@codesourcery.com>
26380
26381 [BZ #13550]
26382 * sysdeps/i386/bp-asm.h: Remove file.
26383 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26384 (PARMS): Do not use macros from bp-asm.h.
26385 (S1): Likewise.
26386 (S2): Likewise.
26387 (SIZE): Likewise.
26388 (__mpn_add_n): Do not use BP_SYM
26389 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26390 "bp-asm.h".
26391 (PARMS): Do not use macros from bp-asm.h.
26392 (S1): Likewise.
26393 (SIZE): Likewise.
26394 (__mpn_addmul_1): Do not use BP_SYM
26395 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26396 "bp-asm.h".
26397 (PARMS): Do not use macros from bp-asm.h.
26398 (SIGMSK): Likewise.
26399 (_setjmp): Likewise. Do not use BP_SYM.
26400 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26401 "bp-asm.h".
26402 (PARMS): Do not use macros from bp-asm.h.
26403 (SIGMSK): Likewise.
26404 (setjmp): Likewise. Do not use BP_SYM.
26405 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26406 "bp-asm.h".
26407 (PARMS): Do not use macros from bp-asm.h.
26408 (__frexp): Do not use BP_SYM.
26409 (frexp): Likewise.
26410 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26411 "bp-asm.h".
26412 (PARMS): Do not use macros from bp-asm.h.
26413 (__frexpf): Do not use BP_SYM.
26414 (frexpf): Likewise.
26415 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26416 "bp-asm.h".
26417 (PARMS): Do not use macros from bp-asm.h.
26418 (__frexpl): Do not use BP_SYM.
26419 (frexpl): Likewise.
26420 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26421 "bp-asm.h".
26422 (PARMS): Do not use macros from bp-asm.h.
26423 (__remquo): Do not use BP_SYM.
26424 (remquo): Likewise.
26425 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26426 "bp-asm.h".
26427 (PARMS): Do not use macros from bp-asm.h.
26428 (__remquof): Do not use BP_SYM.
26429 (remquof): Likewise.
26430 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26431 "bp-asm.h".
26432 (PARMS): Do not use macros from bp-asm.h.
26433 (__remquol): Do not use BP_SYM.
26434 (remquol): Likewise.
26435 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26436 "bp-asm.h".
26437 (PARMS): Do not use macros from bp-asm.h.
26438 (DEST): Likewise.
26439 (SRC): Likewise.
26440 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26441 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26442 "bp-asm.h".
26443 (PARMS): Do not use macros from bp-asm.h.
26444 (strlen): Do not use BP_SYM.
26445 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26446 "bp-asm.h".
26447 (PARMS): Do not use macros from bp-asm.h.
26448 (S1): Likewise.
26449 (S2): Likewise.
26450 (SIZE): Likewise.
26451 (__mpn_add_n): Do not use BP_SYM.
26452 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26453 "bp-asm.h".
26454 (PARMS): Do not use macros from bp-asm.h.
26455 (S1): Likewise.
26456 (SIZE): Likewise.
26457 (__mpn_addmul_1): Do not use BP_SYM.
26458 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26459 weak_alias.
26460 (bzero): Likewise.
26461 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26462 "bp-asm.h".
26463 (PARMS): Do not use macros from bp-asm.h.
26464 (S): Likewise.
26465 (SIZE): Likewise.
26466 (__mpn_lshift): Do not use BP_SYM.
26467 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26468 "bp-asm.h".
26469 (PARMS): Do not use macros from bp-asm.h.
26470 (DEST): Likewise.
26471 (SRC): Likewise.
26472 (LEN): Likewise.
26473 (memcpy): Likewise. Do not use BP_SYM.
26474 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26475 libc_hidden_def and weak_alias.
26476 (mempcpy): Do not use BP_SYM in weak_alias.
26477 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26478 "bp-asm.h".
26479 (PARMS): Do not use macros from bp-asm.h.
26480 (DEST): Likewise.
26481 (LEN): Likewise.
26482 [!BZERO_P] (CHR): Likewise.
26483 (memset): Likewise. Do not use BP_SYM.
26484 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26485 "bp-asm.h".
26486 (PARMS): Do not use macros from bp-asm.h.
26487 (S1): Likewise.
26488 (SIZE): Likewise.
26489 (__mpn_mul_1): Do not use BP_SYM.
26490 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26491 "bp-asm.h".
26492 (PARMS): Do not use macros from bp-asm.h.
26493 (S): Likewise.
26494 (SIZE): Likewise.
26495 (__mpn_rshift): Do not use BP_SYM.
26496 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26497 "bp-asm.h".
26498 (PARMS): Do not use macros from bp-asm.h.
26499 (STR): Likewise.
26500 (CHR): Likewise.
26501 (strchr): Likewise. Do not use BP_SYM.
26502 (index): Do not use BP_SYM in weak_alias.
26503 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26504 "bp-asm.h".
26505 (PARMS): Do not use macros from bp-asm.h.
26506 (DEST): Likewise.
26507 (SRC): Likewise.
26508 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26509 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26510 "bp-asm.h".
26511 (PARMS): Do not use macros from bp-asm.h.
26512 (strlen): Do not use BP_SYM.
26513 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26514 "bp-asm.h".
26515 (PARMS): Do not use macros from bp-asm.h.
26516 (S1): Likewise.
26517 (S2): Likewise.
26518 (SIZE): Likewise.
26519 (__mpn_sub_n): Do not use BP_SYM.
26520 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26521 "bp-asm.h".
26522 (PARMS): Do not use macros from bp-asm.h.
26523 (S1): Likewise.
26524 (SIZE): Likewise.
26525 (__mpn_submul_1): Do not use BP_SYM.
26526 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26527 "bp-asm.h".
26528 (PARMS): Do not use macros from bp-asm.h.
26529 (S1): Likewise.
26530 (S2): Likewise.
26531 (SIZE): Likewise.
26532 (__mpn_add_n): Do not use BP_SYM.
26533 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26534 weak_alias.
26535 (bzero): Likewise.
26536 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26537 "bp-asm.h".
26538 (PARMS): Do not use macros from bp-asm.h.
26539 (BLK2): Likewise.
26540 (LEN): Likewise.
26541 (memcmp): Do not use BP_SYM.
26542 (bcmp): Do not use BP_SYM in weak_alias.
26543 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26544 "bp-asm.h".
26545 (PARMS): Do not use macros from bp-asm.h.
26546 (DEST): Likewise.
26547 (SRC): Likewise.
26548 (LEN): Likewise.
26549 (memcpy): Likewise. Do not use BP_SYM.
26550 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26551 "bp-asm.h".
26552 (PARMS): Do not use macros from bp-asm.h.
26553 (DEST): Likewise.
26554 (SRC): Likewise.
26555 (LEN): Likewise.
26556 (memmove): Likewise. Do not use BP_SYM.
26557 * sysdeps/i386/i686/mempcpy.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 (__mempcpy): Likewise. Do not use BP_SYM.
26564 (mempcpy): Do not use BP_SYM in weak_alias.
26565 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26566 "bp-asm.h".
26567 (PARMS): Do not use macros from bp-asm.h.
26568 (DEST): Likewise.
26569 (LEN): Likewise.
26570 [!BZERO_P] (CHR): Likewise.
26571 (memset): Likewise. Do not use BP_SYM.
26572 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26573 "bp-asm.h".
26574 (PARMS): Do not use macros from bp-asm.h.
26575 (STR2): Likewise.
26576 (strcmp): Do not use BP_SYM.
26577 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26578 "bp-asm.h".
26579 (PARMS): Do not use macros from bp-asm.h.
26580 (STR): Likewise.
26581 (DELIM): Likewise.
26582 [USE_AS_STRTOK_R] (SAVE): Likewise.
26583 (FUNCTION): Likewise. Do not use BP_SYM.
26584 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26585 aliases.
26586 (strtok_r): Likewise.
26587 (__GI___strtok_r): Likewise.
26588 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26589 (PARMS): Do not use macros from bp-asm.h.
26590 (S): Likewise.
26591 (SIZE): Likewise.
26592 (__mpn_lshift): Do not use BP_SYM.
26593 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26594 (PARMS): Do not use macros from bp-asm.h.
26595 (STR): Likewise.
26596 (CHR): Likewise.
26597 (__memchr): Do not use BP_SYM.
26598 (memchr): Do not use BP_SYM in weak_alias.
26599 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26600 (PARMS): Do not use macros from bp-asm.h.
26601 (BLK2): Likewise.
26602 (LEN): Likewise.
26603 (memcmp): Do not use BP_SYM.
26604 (bcmp): Do not use BP_SYM in weak_alias.
26605 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26606 (PARMS): Do not use macros from bp-asm.h.
26607 (S1): Likewise.
26608 (SIZE): Likewise.
26609 (__mpn_mul_1): Do not use BP_SYM.
26610 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26611 "bp-asm.h".
26612 (PARMS): Do not use macros from bp-asm.h.
26613 (STR): Likewise.
26614 (CHR): Likewise.
26615 (__rawmemchr): Do not use BP_SYM.
26616 (rawmemchr): Do not use BP_SYM in weak_alias.
26617 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26618 (PARMS): Do not use macros from bp-asm.h.
26619 (S): Likewise.
26620 (SIZE): Likewise.
26621 (__mpn_rshift): Do not use BP_SYM.
26622 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26623 (PARMS): Do not use macros from bp-asm.h.
26624 (SIGMSK): Likewise.
26625 (__sigsetjmp): Likewise. Do not use BP_SYM.
26626 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26627 (_start): Do not use BP_SYM.
26628 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26629 (PARMS): Do not use macros from bp-asm.h.
26630 (DEST): Likewise.
26631 (SRC): Likewise.
26632 (__stpcpy): Likewise. Do not use BP_SYM.
26633 (stpcpy): Do not use BP_SYM in weak_alias.
26634 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26635 "bp-asm.h".
26636 (PARMS): Do not use macros from bp-asm.h.
26637 (DEST): Likewise.
26638 (SRC): Likewise.
26639 (LEN): Likewise.
26640 (__stpncpy): Likewise. Do not use BP_SYM.
26641 (stpncpy): Do not use BP_SYM in weak_alias.
26642 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26643 (PARMS): Do not use macros from bp-asm.h.
26644 (STR): Likewise.
26645 (CHR): Likewise.
26646 (strchr): Likewise. Do not use BP_SYM.
26647 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26648 "bp-asm.h".
26649 (PARMS): Do not use macros from bp-asm.h.
26650 (STR): Likewise.
26651 (CHR): Likewise.
26652 (__strchrnul): Likewise. Do not use BP_SYM.
26653 (strchrnul): Do not use BP_SYM in weak_alias.
26654 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26655 "bp-asm.h".
26656 (PARMS): Do not use macros from bp-asm.h.
26657 (STOP): Likewise.
26658 (strcspn): Do not use BP_SYM.
26659 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26660 "bp-asm.h".
26661 (PARMS): Do not use macros from bp-asm.h.
26662 (STR): Likewise.
26663 (STOP): Likewise.
26664 (strpbrk): Likewise. Do not use BP_SYM.
26665 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26666 "bp-asm.h".
26667 (PARMS): Do not use macros from bp-asm.h.
26668 (STR): Likewise.
26669 (CHR): Likewise.
26670 (strrchr): Likewise. Do not use BP_SYM.
26671 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26672 (PARMS): Do not use macros from bp-asm.h.
26673 (SKIP): Likewise.
26674 (strspn): Do not use BP_SYM.
26675 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26676 (PARMS): Do not use macros from bp-asm.h.
26677 (STR): Likewise.
26678 (DELIM): Likewise.
26679 (SAVE): Likewise.
26680 (FUNCTION): Likewise. Do not use BP_SYM.
26681 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26682 aliases.
26683 (strtok_r): Likewise.
26684 (__GI___strtok_r): Likewise.
26685 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26686 (PARMS): Do not use macros from bp-asm.h.
26687 (S1): Likewise.
26688 (S2): Likewise.
26689 (SIZE): Likewise.
26690 (__mpn_sub_n): Do not use BP_SYM.
26691 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26692 "bp-asm.h".
26693 (PARMS): Do not use macros from bp-asm.h.
26694 (S1): Likewise.
26695 (SIZE): Likewise.
26696 (__mpn_submul_1): Do not use BP_SYM.
26697 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26698 <bp-sym.h>.
26699 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26700 and <bp-asm.h>.
26701 (PARMS): Do not use macros from bp-asm.h.
26702 (FLAGS): Likewise.
26703 (PTID): Likewise.
26704 (TLS): Likewise.
26705 (CTID): Likewise.
26706 (__clone): Do not use BP_SYM.
26707 (clone): Do not use BP_SYM in weak_alias.
26708 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26709 and <bp-asm.h>.
26710 (PARMS): Do not use macros from bp-asm.h.
26711 (LEN): Likewise.
26712 (__mmap64): Do not use BP_SYM.
26713 (mmap64): Do not use BP_SYM in weak_alias.
26714 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26715 <bp-sym.h> and <bp-asm.h>.
26716 (PARMS): Do not use macros from bp-asm.h.
26717 (__posix_fadvise64_l64): Do not use BP_SYM.
26718 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26719 (PARMS): Do not use macros from bp-asm.h.
26720 (NSOPS): Likewise.
26721 (semtimedop): Do not use BP_SYM.
26722 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26723 and <bp-asm.h>.
26724
582a3cff
AM
267252013-02-21 Allan McRae <allan@archlinux.org>
26726
26727 * manual/message.texi (Charset conversion in gettext):
26728 Move @end statement to beginning of line.
26729
bab8a695
SP
267302013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26731
80945231
SP
26732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26733 static.
26734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26735 Likewise.
26736
bab8a695
SP
26737 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26738 (denorm): Likewise.
26739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26741
e21d7aa7
AK
267422013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26743
26744 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26745 tail-call to the resolved function if pltexit isn't needed.
26746
4c7a4263
SP
267472013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26748
26749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26750 or Y being zero as being unlikely.
26751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26752 Likewise.
26753
41f49342
CD
267542013-02-20 Carlos O'Donell <carlos@redhat.com>
26755
26756 * manual/nss.texi (System Databases and Name Service Switch):
26757 Remove frobnicate @pxref.
26758
50022a93
TS
267592013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26760
26761 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26762 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26763
08cbd996
PM
267642013-02-20 Petr Machata <pmachata@redhat.com>
26765
26766 * elf/elf.h (R_ARM_TARGET1): New macro.
26767 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26768 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26769 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26770 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26771 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26772 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26773 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26774 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26775 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26776 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26777 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26778 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26779 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26780 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26781 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26782 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26783 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26784 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26785 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26786 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26787 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26788 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26789 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26790 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26791 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26792 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26793 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26794 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26795 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26796 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26797 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26798 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26799 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26800 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26801 (R_ARM_THM_GOT_BREL12): Likewise.
26802 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26803 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26804 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26805 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26806 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26807 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26808 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26809 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26810 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26811
c7b275d6
TS
268122013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26813
26814 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26815 __attribute_used__ to __attribute__ ((unused)).
26816
20cd7fb3
SP
268172013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26818
26819 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26820 powerpc mpa.c.
26821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26822 comment formatting.
26823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26824
92945b52
JM
268252013-02-19 Joseph Myers <joseph@codesourcery.com>
26826
26827 [BZ #13550]
26828 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26829 Remove macro.
26830 (ENTER): Remove both macro definitions.
26831 (LEAVE): Likewise.
26832 (CHECK_BOUNDS_LOW): Likewise.
26833 (CHECK_BOUNDS_HIGH): Likewise.
26834 (CHECK_BOUNDS_BOTH): Likewise.
26835 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26836 (RETURN_BOUNDED_POINTER): Likewise.
26837 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26838 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26839 (POP_ERRNO_LOCATION_RETURN): Likewise.
26840 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26841 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26842 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26843 macros.
26844 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26845 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26846 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26847 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26848 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26849 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26850 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26851 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26852 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26853 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26854 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26855 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26856 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26857 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26858 removed macros.
26859 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26860 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26861 macros.
26862 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26863 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26864 * sysdeps/i386/i586/memset.S (memset): Likewise.
26865 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26866 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26867 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26868 macros.
26869 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26870 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26871 Change uses of L(2) to L(out).
26872 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26873 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26874 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26875 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26876 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26877 removed macros.
26878 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26879 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26880 macros.
26881 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26882 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26883 (RETURN): Do not use macro LEAVE.
26884 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26885 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26886 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26887 * sysdeps/i386/i686/memset.S (memset): Likewise.
26888 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26889 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26890 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26891 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26892 Likewise.
26893 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26894 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26895 L(1_2) and L(1_3) into L(1).
26896 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26897 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26898 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26899 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26900 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26901 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26902 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26903 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26904 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26905 macros.
26906 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26907 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26908 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26909 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26910 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26911 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26912 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26913 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26914 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26915 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26916 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26917 * sysdeps/i386/strspn.S (strspn): Likewise.
26918 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26919 conditional code.
26920 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26921 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26922 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26923 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26924 L(1_3) into L(1_1).
26925 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26926 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26927 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26928 macros.
26929 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26930
2389741a
JJ
269312013-02-19 Jakub Jelinek <jakub@redhat.com>
26932
26933 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26934 macro.
26935
2016b3cd
SP
269362013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26937
e4f22324
SP
26938 * math/atest-exp.c (exp_mpn): Remove ROUND.
26939 * math/atest-exp2.c (exp_mpn): Likewise.
26940 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26941
2016b3cd
SP
26942 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26943 * stdlib/tst-tls-atexit-lib.c: Likewise.
26944 * stdlib/tst-tls-atexit.c: Likewise.
26945
4be9b544
MF
269462013-02-18 Mike Frysinger <vapier@gentoo.org>
26947
26948 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26949 and __attribute_alloc_size__.
26950
2f62b9ee
MF
269512013-02-18 Mike Frysinger <vapier@gentoo.org>
26952
26953 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26954 __attribute_alloc_size__.
26955 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26956 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26957
6ff444c4
MF
269582013-02-18 Mike Frysinger <vapier@gentoo.org>
26959
26960 * include/programs/xmalloc.h: New file.
26961 * catgets/gencat.c: Include it.
26962 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26963 * elf/pldd.c: Likewise.
26964 * iconv/iconv_charmap.c: Likewise.
26965 * iconv/iconvconfig.c: Likewise.
26966 * iconv/strtab.c: Likewise.
26967 * locale/programs/locale.c: Likewise.
26968 * locale/programs/localedef.h: Likewise.
26969 * locale/programs/simple-hash.c: Likewise.
26970 * nscd/nscd.h: Likewise.
26971 * nss/makedb.c: Likewise.
26972 * sysdeps/generic/ldconfig.h: Likewise.
26973
be179c8a
SP
269742013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26975
ba384f6e
SP
26976 * Versions.def: Add GLIBC_2.18.
26977 * include/link.h (struct link_map): New member l_tls_dtor_count.
26978 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26979 (__call_tls_dtors): Likewise.
26980 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26981 __cxa_thread_atexit_impl.
26982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26983 Likewise.
26984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26985 Likewise.
26986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26987 Likewise.
26988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26989 Likewise.
26990 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26992 Likewise.
26993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26994 Likewise.
26995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26997 Likewise.
26998 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26999 (tests): Add test case tst-tls-atexit.
27000 (modules-names): Add shared library for tst-tls-atexit.
85891aca 27001 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
27002 (GLIBC_PRIVATE): Add __call_tls_dtors.
27003 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27004 for libstdc++.
27005 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27006 * stdlib/tst-tls-atexit.c: New test case.
27007 * stdlib/tst-tls-atexit-lib.c: New test case.
27008
ffaa74cf 27009 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 27010
be179c8a
SP
27011 * elf/Versions (ld): Add _dl_find_dso_for_object.
27012 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27013 * elf/dl-open.c (_dl_find_dso_for_object): New function.
27014 (dl_open_worker): Use _dl_find_dso_for_object.
27015 * elf/dl-sym.c (do_sym): Likewise.
27016 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27017
f78b5caa
AK
270182013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27019
27020 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27021 Syntactic changes only.
27022 (_dl_runtime_profile): Do a tail-call to the resolved function.
27023
29691210
JM
270242013-02-17 Joseph Myers <joseph@codesourcery.com>
27025
27026 [BZ #13550]
27027 * sysdeps/x86_64/bp-asm.h: Remove file.
27028 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27029 <bp-sym.h> and <bp-asm.h>.
27030 (__clone): Do not use BP_SYM.
27031 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27032 <bp-sym.h> and <bp-asm.h>.
27033 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27034 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27035 "bp-asm.h".
27036 (_setjmp): Do not use BP_SYM.
27037 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27038 "bp-asm.h".
27039 (setjmp): Do not use BP_SYM.
27040 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27041 libc_hidden_def.
27042 (mempcpy): Do not use BP_SYM in weak_alias.
27043 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27044 "bp-asm.h".
27045 (strchr): Do not use BP_SYM.
27046 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27047 "bp-asm.h".
27048 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27049 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27050 (_start): Do not use BP_SYM.
27051 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27052 "bp-asm.h".
27053 (strcat): Do not use BP_SYM.
27054 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27055 "bp-asm.h".
27056 (STRCMP): Do not use BP_SYM.
27057 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27058 "bp-asm.h".
27059 (STRCPY): Do not use BP_SYM.
27060 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27061 "bp-asm.h".
27062 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27063 "bp-asm.h".
27064 (FUNCTION): Do not use BP_SYM.
27065 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27066 weak_alias.
27067 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27068
f238fd19
AJ
270692013-02-17 Andreas Jaeger <aj@suse.de>
27070
27071 * time/Versions: Sort entries.
27072 * string/Versions: Likewise.
27073 * resolv/Versions: Likewise.
27074 * posix/Versions: Likewise.
27075 * iconv/Versions: Likewise.
27076 * elf/Versions: Likewise.
27077 * wcsmbs/Versions: Likewise.
27078
bd07f23c 270792013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 27080
22af19f9
SP
27081 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27082 loop termination condition.
27083
4709fe76
SP
27084 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27085 variable to calculate EZ.
27086 (__sqr): Likewise.
2d0e0f29
SP
27087
27088 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27089 the lower precision input.
27090
daaa7713
JM
270912013-02-15 Joseph Myers <joseph@codesourcery.com>
27092
27093 [BZ #13550]
27094 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27095 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27096 (run-via-rtld-prefix): Do not handle %-bp tests.
27097 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27098 (all-object-suffixes): Remove .ob.
27099 (bppfx): Remove variable.
27100 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27101 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27102 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27103 [$(build-bounded) = yes] (libtype.ob): Likewise.
27104 * Makerules (elide-routines.ob): Remove variable.
27105 (do-tests-clean): Do not handle *-bp.out.
27106 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27107 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27108 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27109 (tests): Do not include $(tests-bp.out).
27110 (xtests): Do not include $(xtests-bp.out).
27111 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27112 [$(build-bounded) = yes] ($(addprefix
27113 $(objpfx),$(binaries-bounded))): Remove rule.
27114 ($(objpfx)%-bp.out): Remove rule.
27115 * config.make.in (build-bounded): Remove variable.
27116 * crypt/Makefile [$(build-bounded) = yes]
27117 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27118 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27119 append to variable.
27120 [$(build-bounded) = yes] (install-lib): Likewise.
27121 [$(build-bounded) = yes] (generated): Likewise.
27122 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27123 Remove rule.
27124 * intl/Makefile [$(build-bounded) = yes]
27125 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27126 * math/Makefile [$(build-bounded) = yes]
27127 ($(tests:%=$(objpfx)%-bp): Likewise.
27128 * misc/Makefile [$(build-bounded) = yes]
27129 ($(objpfx)tst-tsearch-bp): Likewise.
27130 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27131 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27132 Remove dependency.
27133 * string/Makefile (o-objects.ob): Remove variable.
27134 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27135 (CFLAGS-.ob): Remove variable.
27136 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27137 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27138 both definitions of variable.
27139 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27140 (ASFLAGS-.ob): Remove variable.
27141
e97ed6dd
JM
271422013-02-14 Joseph Myers <joseph@codesourcery.com>
27143
2bdd4ca6
JM
27144 [BZ #13550]
27145 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27146 Remove __BOUNDED_POINTERS__ from condition.
27147 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27148 * string/bits/string2.h [!__NO_STRING_INLINES &&
27149 !__BOUNDED_POINTERS__]: Likewise.
27150 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27151 Likewise.
27152 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27153 Remove conditional code.
27154 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27155 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27156 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27157 condition.
27158
e97ed6dd
JM
27159 [BZ #13550]
27160 * csu/libc-start.c: Do not include <bp-sym.h>.
27161 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27162 * elf/dl-open.c: Do not include <bp-sym.h>.
27163 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27164 * math/fegetenv.c: Do not include <bp-sym.h>.
27165 (fegetenv): Do not use BP_SYM in versioned symbols.
27166 * nptl/sysdeps/pthread/bits/libc-lockP.h
27167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27168 <bp-sym.h>.
27169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27170 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27172 (__pthread_mutex_destroy): Likewise.
27173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27174 (__pthread_mutex_lock): Likewise.
27175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27176 (__pthread_mutex_trylock): Likewise.
27177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27178 (__pthread_mutex_unlock): Likewise.
27179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27180 (__pthread_mutexattr_init): Likewise.
27181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27182 (__pthread_mutexattr_destroy): Likewise.
27183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27184 (__pthread_mutexattr_settype): Likewise.
27185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27186 (__pthread_rwlock_init): Likewise.
27187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27188 (__pthread_rwlock_destroy): Likewise.
27189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27190 (__pthread_rwlock_rdlock): Likewise.
27191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27192 (__pthread_rwlock_tryrdlock): Likewise.
27193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27194 (__pthread_rwlock_wrlock): Likewise.
27195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27196 (__pthread_rwlock_trywrlock): Likewise.
27197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27198 (__pthread_rwlock_unlock): Likewise.
27199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27200 (__pthread_key_create): Likewise.
27201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27202 (__pthread_setspecific): Likewise.
27203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27204 (__pthread_getspecific): Likewise.
27205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27206 Likewise.
27207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27208 (_pthread_cleanup_push_defer): Likewise.
27209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27210 (_pthread_cleanup_pop_restore): Likewise.
27211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27212 (pthread_setcancelstate): Likewise.
27213 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27214 <bp-sym.h>.
27215 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27216 (memchr): Do not use BP_SYM in weak_alias.
27217 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27218 (fegetenv): Do not use BP_SYM in versioned symbols.
27219 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27220 (fesetenv): Do not use BP_SYM in versioned symbols.
27221 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27222 (feupdateenv): Do not use BP_SYM in versioned symbols.
27223 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27224 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27225 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27226 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27227 (open64): Do not use BP_SYM in weak_alias.
27228 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27229 (fegetenv): Do not use BP_SYM in versioned symbols.
27230 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27231 (fesetenv): Do not use BP_SYM in versioned symbols.
27232 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27233 (feupdateenv): Do not use BP_SYM in versioned symbols.
27234 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27235 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27236 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27237 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27238 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27239 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27240 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27241 <bp-sym.h>.
27242 (__libc_start_main): Do not use BP_SYM.
27243
d6752ccd
SP
272442013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27245
cb57ce60
SP
27246 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27247 redundant return line.
27248 (norm): Likewise.
27249 (denorm): Likewise.
27250 (dbl_mp): Likewise.
27251 (sub_magnitudes): Likewise.
27252 (__add): Likewise.
27253 (__sub): Likewise.
27254 (__mul): Likewise.
27255 (__inv): Likewise.
27256 (__dvd): Likewise.
27257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27258 (norm): Likewise.
27259 (denorm): Likewise.
27260 (dbl_mp): Likewise.
27261 (sub_magnitudes): Likewise.
27262 (__add): Likewise.
27263 (__sub): Likewise.
27264 (__mul): Likewise.
27265 (__inv): Likewise.
27266 (__dvd): Likewise.
27267
f414520d
SP
27268 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27269 instead of __mul.
27270 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27271 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27272 (cc32): Likewise.
27273
d6752ccd
SP
27274 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27275 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27276 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27277 of __mul for squares.
27278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27279 function
27280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27281 Likewise.
27282 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27283 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27284
70d9946a
JM
272852013-02-13 Joseph Myers <joseph@codesourcery.com>
27286
27287 [BZ #13550]
27288 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27289 code.
27290 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27291 prototype or function definition. Rename ubp_* variables and
27292 parameters. Remove argv definitions conditional on
27293 [__BOUNDED_POINTERS__].
27294 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27295 * elf/dl-runtime.c (_dl_fixup): Likewise.
27296 * include/set-hooks.h (RUN_HOOK): Likewise.
27297 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27298 definition.
27299 * string/strcpy.c (strcpy): Do not use __unbounded.
27300 * sysdeps/generic/frame.h (struct layout): Likewise.
27301 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27302 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27303 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27304 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27305 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27306 (__backtrace): Likewise.
27307 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27308 use __ptrvalue.
27309 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27310 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27311 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27312 Likewise.
27313 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27314 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27315 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27316 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27317 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27318 Do not use __unbounded.
27319 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27320 Rename __unboundedrlimits parameter to rlimits in prototype.
27321 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27322 Do not use __unbounded.
27323 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27324 not use __ptrvalue.
27325 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27326 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27327 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27328 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27329 __ptrvalue or __unbounded.
27330 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27331 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27332 use __unbounded.
27333 (__new_msgctl): Do not use __ptrvalue.
27334 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27335 __unbounded.
27336 (__libc_msgrcv): Do not use __ptrvalue.
27337 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27338 startup_info): Do not use __unbounded.
27339 (__libc_start_main): Likewise. Rename ubp_* variables and
27340 parameters. Remove argv definitions conditional on
27341 [__BOUNDED_POINTERS__].
27342 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27343 __ptrvalue.
27344 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27345 use __unbounded.
27346 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27347 or __ptrvalue.
27348 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27349 use __unbounded.
27350 (__new_shmctl): Do not use __ptrvalue.
27351 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27352 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27353 Likewise.
27354 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27355 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27356 (__libc_sigaction): Likewise.
27357 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27358 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27359 Likewise.
27360 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27361
cc7834d6
OB
273622013-02-13 Ondřej Bílka <neleai@seznam.cz>
27363
ffb1ec7b 27364 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
27365
27366 * string/mempcpy.c: Implement by calling memcpy.
27367
bdf02814
SP
273682013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27369
c2af38aa
SP
27370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27371
4e92d59e
SP
27372 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27373 evaluation.
27374
909279a5
SP
27375 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27376 values in the mantissa.
27377
bdf02814
SP
27378 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27379 minimize writes to Z.
27380 (sub_magnitudes): Simplify code a bit.
27381
cd525923
RM
273822013-02-12 Roland McGrath <roland@hack.frob.com>
27383
27384 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27385 from the message. The linker prefixes all warnings with that already.
27386
7e2f0d2d
AS
273872013-02-12 Andreas Schwab <schwab@suse.de>
27388
a445af0b
AS
27389 [BZ #15078]
27390 * posix/regexec.c (extend_buffers): Add parameter min_len.
27391 (check_matching): Pass minimum needed length.
27392 (clean_state_log_if_needed): Likewise.
27393 (get_subexp): Likewise.
27394 * posix/Makefile (tests): Add bug-regex34.
27395 (bug-regex34-ENV): Define.
27396 * posix/bug-regex34.c: New file.
27397
7e2f0d2d
AS
27398 [BZ #11561]
27399 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27400 elements compare against the byte sequence of it, not its name.
27401 * posix/Makefile (tests): Add bug-regex35.
27402 (bug-regex35-ENV): Define.
27403 * posix/bug-regex35.c: New file.
27404
a175b684
TV
274052013-02-11 Tom de Vries <tom@codesourcery.com>
27406
27407 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27408 comment.
27409 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27410 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27411 (CHECK_EOL): Add undef.
27412
310998fe 274132013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
27414
27415 * bits/stdlib-bsearch.h: New file.
27416 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 27417 * stdlib/stdlib.h: Likewise.
41eda41d 27418
8ded91fb
RM
274192013-02-11 Roland McGrath <roland@hack.frob.com>
27420
27421 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27422 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27423 declaration.
27424 * manual/search.texi (Array Search Function): Add missing const in
27425 lfind prototype.
27426 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27427 declaration to use rlim_t.
27428 (Basic Scheduling Functions): Remove erroneous const from
27429 sched_getparam prototype. Remove erroneous * from
27430 sched_get_priority_max and sched_get_priority_min prototypes.
27431 (Resource Usage): Fix summary @comment on vtimes to refer to
27432 sys/vtimes.h rather than vtimes.h.
27433 Add missing *s in vtimes prototype.
27434 (Limits on Resources): Fix ulimit prototype to return long int.
27435 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27436 prototypes to use long int rather than double.
27437 (BSD Random): Fix initstate and setstate to use char *, not void *.
27438 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27439 prototype to make second argument 'struct aiocb64 *const[]'.
27440 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27441 (Status of AIO Operations): Remove erroneous const in aio_return and
27442 aio_return64 prototypes.
27443 (Synchronizing I/O): Fix sync prototype to return void.
27444 * manual/startup.texi (Suboptions): Remove an erroneous const in
27445 getsubopt prototype.
27446 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27447 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27448 use size_t rather than int.
27449 (Scanning All Users): Likewise for getpwent_r.
27450 (Setting Groups): Add missing const to setgroups prototype.
27451 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27452 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27453 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27454 'const void *' rather than 'const char *'.
27455 (Host Address Functions): Likewise for inet_ntop.
27456 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27457 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27458 ssize_t for return value.
27459 (Sending Data): Likewise for send, sendto, sendmsg.
27460 (Socket Option Functions): Add a missing const in setsockopt prototype.
27461 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27462 use wchar_t for the argument.
27463 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27464 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27465 take no arguments.
27466 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27467 double/float/long double for second argument.
27468 Fix return types of significand, significandf, significandl.
27469 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27470 argument in fchmod prototype.
27471 (File Owner): Use uid_t and gid_t in fchown prototype.
27472 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27473 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27474 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27475 use 'const struct dirent **' as argument types to CMP function pointer
27476 argument.
27477 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27478 (File Times): Fix summary magic @comment for struct utimbuf and utime
27479 to refer to utime.h, not time.h.
27480 * manual/string.texi (Argz Functions): Add missing const in
27481 argz_extract and argz_next prototypes.
27482 (Finding Tokens in a String): Likewise for basename.
27483 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27484 (Copying and Concatenation): Fix typo in wmemmove prototype.
27485 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27486 (Signal Stack): Remove erroneous const in sigstack prototype.
27487 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27488 prototype.
27489 (Simple Calendar Time): Likewise for stime.
27490 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27491 prototype.
27492 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27493 say sys/sysctl.h instead.
27494 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27495 and vsyslog prototypes.
27496
fe77fe6d
TV
274972013-02-11 Tom de Vries <tom@codesourcery.com>
27498
27499 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27500 Remove.
27501
3a09b620
RM
275022013-02-11 Roland McGrath <roland@hack.frob.com>
27503
27504 * misc/sys/mman.h: Fix typo in mremap comment.
27505
550a0b89
RM
275062013-02-08 Roland McGrath <roland@hack.frob.com>
27507
27508 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27509 the '\0' terminator.
27510
a2da1673
JM
275112013-02-08 Joseph Myers <joseph@codesourcery.com>
27512
27513 [BZ #13550]
27514 * debug/segfault.c: Don't include <bp-checks.h>.
27515 * sysdeps/generic/bp-checks.h: Remove file.
27516 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27517 (__GETDENTS): Don't use CHECK_N.
27518 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27519 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27520 (__getgroups): Don't use CHECK_N.
27521 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27522 (setgroups): Don't use CHECK_N.
27523 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27524 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27525 (__libc_msgrcv): Don't use CHECK_N.
27526 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27527 (__libc_msgsnd): Don't use CHECK_N.
27528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27529 <bp-checks.h>.
27530 (__libc_pread): Don't use CHECK_N.
27531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27532 include <bp-checks.h>.
27533 (__libc_pread64): Don't use CHECK_N.
27534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27535 include <bp-checks.h>.
27536 (__libc_pwrite): Don't use CHECK_N.
27537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27538 include <bp-checks.h>.
27539 (__libc_pwrite64): Don't use CHECK_N.
27540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27541 <bp-checks.h>.
27542 (__libc_pread): Don't use CHECK_N.
27543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27544 include <bp-checks.h>.
27545 (__libc_pread64): Don't use CHECK_N.
27546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27547 include <bp-checks.h>.
27548 (__libc_pwrite): Don't use CHECK_N.
27549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27550 include <bp-checks.h>.
27551 (__libc_pwrite64): Don't use CHECK_N.
27552 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27553 (do_pread): Don't use CHECK_N.
27554 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27555 (do_pread64): Don't use CHECK_N.
27556 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27557 (do_pwrite): Don't use CHECK_N.
27558 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27559 (do_pwrite64): Don't use CHECK_N.
27560 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27561 (__libc_readv): Don't use CHECK_N.
27562 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27563 (semop): Don't use CHECK_N.
27564 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27565 <bp-checks.h>.
27566 (semtimedop): Don't use CHECK_N.
27567 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27568 (__libc_pread): Don't use CHECK_N.
27569 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27570 <bp-checks.h>.
27571 (__libc_pread64): Don't use CHECK_N.
27572 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27573 <bp-checks.h>.
27574 (__libc_pwrite): Don't use CHECK_N.
27575 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27576 <bp-checks.h>.
27577 (__libc_pwrite64): Don't use CHECK_N.
27578 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27579 <bp-checks.h>.
27580 (__libc_msgrcv): Don't use CHECK_N.
27581 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27582 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27583 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27584 (__libc_writev): Don't use CHECK_N.
27585
b84660a8
RM
275862013-02-08 Roland McGrath <roland@hack.frob.com>
27587
7f3e75f8
RM
27588 * string/strcpy.c: Removed unused variable.
27589
b84660a8
RM
27590 * Makeconfig (+sysdep-includes): Define with := rather than =.
27591 Use an existing include/ subdir of each sysdeps dir before it.
27592
471514d3
CD
275932013-02-08 Carlos O'Donell <carlos@redhat.com>
27594
27595 * nscd/connection.c (register_traced_file): Comment function.
27596 [HAVE_INOTIFY] (union __inev): Define.
27597 [HAVE_INOTIFY] (inotify_check_files): New function.
27598 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27599 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27600 clear_db_cache.
27601 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27602
b2d3c3be
CD
276032013-02-08 Carlos O'Donell <carlos@redhat.com>
27604
27605 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27606 loaded if not already and that a failure is permanent.
27607
b39949d2
CD
276082013-02-08 Carlos O'Donell <carlos@redhat.com>
27609
ddacd1db 27610 [BZ #15006]
b39949d2
CD
27611 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27612 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27613
b2c9eff4
JM
276142013-02-08 Joseph Myers <joseph@codesourcery.com>
27615
f3aae3f3
JM
27616 [BZ #13550]
27617 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27618 (CHECK_1_NULL_OK): Likewise.
27619 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27620 (__fxstat): Do not use CHECK_1.
27621 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27622 <bp-checks.h>.
27623 (___fxstat64): Do not use CHECK_1.
27624 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27625 <bp-checks.h>.
27626 (__fxstatat): Do not use CHECK_1.
27627 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27628 <bp-checks.h>.
27629 (__fxstatat64): Do not use CHECK_1.
27630 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27631 <bp-checks.h>.
27632 (__fxstat): Do not use CHECK_1.
27633 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27634 <bp-checks.h>.
27635 (__fxstatat): Do not use CHECK_1.
27636 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27637 <bp-checks.h>.
27638 (__getresgid): Do not use CHECK_1.
27639 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27640 <bp-checks.h>.
27641 (__getresuid): Do not use CHECK_1.
27642 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27643 <bp-checks.h>.
27644 (__lxstat): Do not use CHECK_1.
27645 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27646 <bp-checks.h>.
27647 (__old_msgctl): Do not use CHECK_1.
27648 (__new_msgctl): Likewise.
27649 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27650 <bp-checks.h>.
27651 (__new_setrlimit): Do not use CHECK_1.
27652 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27653 <bp-checks.h>.
27654 (__old_shmctl): Do not use CHECK_1.
27655 (__new_shmctl): Likewise.
27656 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27657 <bp-checks.h>.
27658 (__xstat): Do not use CHECK_1.
27659 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27660 (__lxstat): Do not use CHECK_1.
27661 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27662 <bp-checks.h>.
27663 (___lxstat64): Do not use CHECK_1.
27664 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27665 (__old_msgctl): Do not use CHECK_1.
27666 (__new_msgctl): Likewise.
27667 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27668 <bp-checks.h>.
27669 (__gettimeofday): Do not use CHECK_1.
27670 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27671 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27672 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27673 <bp-checks.h>.
27674 (__gettimeofday): Do not use CHECK_1.
27675 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27676 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27677 (__new_shmctl): Do not use CHECK_1.
27678 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27679 <bp-checks.h>.
27680 (do_sigtimedwait): Do not use CHECK_1.
27681 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27682 <bp-checks.h>.
27683 (do_sigwaitinfo): Do not use CHECK_1.
27684 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27685 <bp-checks.h>.
27686 (msgctl): Do not use CHECK_1.
27687 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27688 <bp-checks.h>.
27689 (shmctl): Do not use CHECK_1.
27690 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27691 (ustat): Do not use CHECK_1.
27692 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27693 <bp-checks.h>.
27694 (__fxstat): Do not use CHECK_1.
27695 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27696 <bp-checks.h>.
27697 (__fxstatat): Do not use CHECK_1.
27698 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27699 <bp-checks.h>.
27700 (__lxstat): Do not use CHECK_1.
27701 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27702 <bp-checks.h>.
27703 (__xstat): Do not use CHECK_1.
27704 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27705 (__xstat): Do not use CHECK_1.
27706 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27707 (___xstat64): Do not use CHECK_1.
27708
b2c9eff4
JM
27709 [BZ #13550]
27710 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27711 definitions.
27712 (CHECK_BOUNDS_HIGH): Likewise.
27713 * string/strcpy.c: Do not include <bp-checks.h>.
27714 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27715
f1d70dad
RM
277162013-02-07 Roland McGrath <roland@hack.frob.com>
27717
27718 * nscd/nscd-client.h (__nscd_drop_map_ref):
27719 Add __attribute__ ((unused)).
27720 * nis/nss-nisplus.h (niserr2nss): Likewise.
27721
27722 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27723 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27724
27725 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27726 Remove inline keyword.
27727 * include/rounding-mode.h (round_away): Likewise.
27728 * libio/wfileops.c (adjust_wide_data): Likewise.
27729 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27730 (__m128i_strloadu_tolower): Likewise.
27731 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27732 (__m128i_strloadu_tolower): Likewise.
27733 * time/mktime.c (ydhms_diff): Likewise.
27734 * locale/elem-hash.h (elem_hash): Likewise.
27735 * locale/setlocale.c (setdata): Likewise.
27736 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27737 (re_string_wchar_at): Likewise.
27738 (bitset_not, bitset_merge, bitset_mask): Likewise.
27739 [!(__GNUC__ > 3)] (inline): Remove macro.
27740 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27741 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27742 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27743 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27744 * string/memcmp.c (memcmp_bytes): Likewise.
27745 * locale/programs/locarchive.c (compute_hashval): Likewise.
27746 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27747 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27748 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27749 * nss/getent.c (print_rpc, print_protocols): Likewise.
27750 (print_passwd, print_group, print_aliases): Likewise.
27751 * nis/nss-nisplus.h (niserr2nss): Likewise.
27752 * nscd/connections.c (restart_p): Likewise.
27753 Change return type to bool.
27754
eab55bfb
RM
277552013-02-05 Roland McGrath <roland@hack.frob.com>
27756
7bd642f5
RM
27757 * Makeconfig (all-Depend-files): Add existing
27758 $(sorted-subdirs:=/Depend) files.
27759 (all-subdirs): Remove nss.
27760 * sysdeps/unix/inet/Subdirs: Add it here instead.
27761 * hesiod/Depend: New file.
27762
573c29b2
RM
27763 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27764 instead of calling alloca.
27765
b2e25af0
RM
27766 * io/lseek.c (__lseek): Rename to __libc_lseek.
27767 Define __lseek as an alias.
27768
eab55bfb
RM
27769 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27770
9a0d1941
CD
277712013-02-04 Carlos O'Donell <carlos@redhat.com>
27772
27773 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27774 else clause and remove check for non-standard endianness.
27775
b83bbec4
DM
277762013-02-04 David S. Miller <davem@davemloft.net>
27777
27778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27779
6277fdab
JM
277802013-02-04 Joseph Myers <joseph@codesourcery.com>
27781
27782 [BZ #13550]
27783 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27784 (__ubp_memchr): Remove prototype.
27785 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27786 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27787 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27788 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27789 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27790 Remove alias.
27791 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27792 (__ubp_memchr): Likewise.
27793 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27794 (__ubp_memchr): Likewise.
27795 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27796 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27797 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27798 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27799 CHECK_STRING.
27800 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27801 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27802 (__getcwd): Do not use CHECK_STRING.
27803 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27804 <bp-checks.h>.
27805 (__real_chown): Do not use CHECK_STRING.
27806 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27807 <bp-checks.h>.
27808 (fchownat): Do not use CHECK_STRING.
27809 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27810 CHECK_STRING.
27811 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27812 <bp-checks.h>.
27813 (__lchown): Do not use CHECK_STRING.
27814 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27815 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27816 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27817 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27819 include <bp-checks.h>.
27820 (truncate64): Do not use CHECK_STRING.
27821 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27822 <bp-checks.h>.
27823 (__real_chown): Do not use CHECK_STRING.
27824 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27825 <bp-checks.h>.
27826 (__lchown): Do not use CHECK_STRING.
27827 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27828 <bp-checks.h>.
27829 (__chown): Do not use CHECK_STRING.
27830 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27831 <bp-checks.h>.
27832 (truncate64): Do not use CHECK_STRING.
27833 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27834 Likewise.
27835 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27836 (__xmknod): Do not use CHECK_STRING.
27837 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27838 <bp-checks.h>.
27839 (__xmknodat): Do not use CHECK_STRING.
27840 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27841 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27842
903ae060
AS
278432013-02-04 Andreas Schwab <schwab@suse.de>
27844
27845 [BZ #14142]
27846 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27847 * include/netdb.h: Likewise for h_errno.
27848 * elf/tst-stackguard1.c: Include <tls.h>.
27849
542f9466
JK
278502013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27851
27852 * elf/link.h (struct link_map): Extend the l_addr comment.
27853 * include/link.h (struct link_map): Likewise.
27854
e782a927
JM
278552013-02-01 Joseph Myers <joseph@codesourcery.com>
27856
27857 [BZ #13550]
27858 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27859 (BOUNDED_1): Remove macro.
27860 * debug/backtrace.c: Don't include <bp-checks.h>.
27861 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27862 (__backtrace): Likewise.
27863 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27864 <bp-checks.h>.
27865 (__backtrace): Don't use BOUNDED_1.
27866 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27867 <bp-checks.h>.
27868 (__backtrace): Don't use BOUNDED_1.
27869 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27870 (__backtrace): Don't use BOUNDED_1.
27871 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27872 (shmat): Don't use BOUNDED_N.
27873
8cf28c5e
JM
278742013-01-31 Joseph Myers <joseph@codesourcery.com>
27875
3a7ac8a0
JM
27876 [BZ #13550]
27877 * sysdeps/generic/bp-start.h: Remove file.
27878 * csu/libc-start.c: Don't include <bp-start.h>.
27879 (LIBC_START_MAIN): Set up __environ directly instead of using
27880 INIT_ARGV_and_ENVIRON.
27881 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27882 <bp-start.h>.
27883
f3499f95
JM
27884 [BZ #13550]
27885 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27886 definitions.
27887 (CHECK_FCNTL): Likewise.
27888 (CHECK_N_PAGES): Likewise.
27889
32a45bea
JM
27890 [BZ #13550]
27891 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27892 definitions.
27893 (CHECK_SIGSET_NULL_OK): Likewise.
27894 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27895 <bp-checks.h>.
27896 (sigpending): Don't use CHECK_SIGSET.
27897 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27898 <bp-checks.h>.
27899 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27900 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27901 <bp-checks.h>.
27902 (do_sigsuspend): Don't use CHECK_SIGSET.
27903 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27904 use CHECK_SIGSET.
27905 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27906 (do_sigwait): Don't use CHECK_SIGSET.
27907 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27908 use CHECK_SIGSET.
27909 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27910 include <bp-checks.h>.
27911 (sigpending): Don't use CHECK_SIGSET.
27912 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27913 include <bp-checks.h>.
27914 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27915 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27916 <bp-checks.h>.
27917 (sigpending): Don't use CHECK_SIGSET.
27918 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27919 <bp-checks.h>.
27920 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27921
2e8a5c8c
JM
27922 [BZ #13550]
27923 * sysdeps/generic/bp-semctl.h: Remove file.
27924 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27925 <bp-checks.h> and <bp-semctl.h>.
27926 (__old_semctl): Don't use CHECK_SEMCTL.
27927 (__new_semctl): Likewise.
27928 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27929 and <bp-semctl.h>.
27930 (__old_semctl): Don't use CHECK_SEMCTL.
27931 (__new_semctl): Likewise.
27932 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27933 <bp-checks.h> and <bp-semctl.h>.
27934 (__old_semctl): Don't use CHECK_SEMCTL.
27935 (__new_semctl): Likewise.
27936 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27937 <bp-checks.h> and <bp-semctl.h>.
27938 (semctl): Don't use CHECK_SEMCTL.
27939
c2d54929
JM
27940 [BZ #13550]
27941 * Makerules (elide-bp-thunks): Remove variable.
27942 (elide-routines.oS): Don't use $(elide-bp-thunks).
27943 (elide-routines.os): Likewise.
27944 (elide-routines.o): Likewise.
27945 (elide-routines.op): Likewise.
27946 (elide-routines.og): Likewise.
27947 (objects): Don't use $(bp-thunks).
27948 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27949 include.
27950 (common-generated): Do not add s-proto-bp.d.
27951 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27952 (int): Likewise.
27953 (typ): Likewise.
27954 Do not generate makefile rules for bounded-pointer thunks.
27955 * sysdeps/generic/bp-thunks.h: Remove file.
27956 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27957 * sysdeps/unix/s-proto-bp.S: Likewise.
27958
8cf28c5e
JM
27959 [BZ #15062]
27960 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27961 parts of result separately when argument is not close to line from
27962 -i to i and one part of argument is small.
27963 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27964 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27965 * math/libm-test.inc (cacos_test): Add more tests.
27966 (casin_test): Likewise.
27967 (casinh_test): Likewise.
27968 * sysdeps/i386/fpu/libm-test-ulps: Update.
27969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27970
c4e33b8d
DM
279712013-01-31 David S. Miller <davem@davemloft.net>
27972
27973 * po/de.po: Update from translation team.
27974
3b60b421
MK
279752013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27976
27977 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27978
bb931195
TS
279792013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27980
b5a5da23
TS
27981 * configure.in (_AC_PROG_CC_C89): New definition.
27982 * configure: Regenerate.
27983
bb931195
TS
27984 * configure.in (AC_PROG_CPP): New definition.
27985 * configure: Regenerate.
27986
8c53a12c
JM
279872013-01-23 Joseph Myers <joseph@codesourcery.com>
27988
27989 * debug/tst-backtrace.h: New file.
27990 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27991 (ret): Remove variable.
27992 (x): Likewise.
27993 (FAIL): Remove macro.
27994 (NO_INLINE): Likewise.
27995 (fn1): Use match function instead of strstr.
27996 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27997 (ret): Remove variable.
27998 (x): Likewise.
27999 (FAIL): Remove macro.
28000 (NO_INLINE): Likewise.
28001 (fn): Use match function instead of strstr.
28002 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28003 (ret): Remove variable.
28004 (x): Likewise.
28005 (FAIL): Remove macro.
28006 (NO_INLINE): Likewise.
28007 (handle_signal): Use match function instead of strstr.
28008 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28009 (ret): Remove variable.
28010 (x): Likewise.
28011 (FAIL): Remove macro.
28012 (NO_INLINE): Likewise.
28013 (handle_signal): Use match function instead of strstr.
28014
4858fa2a
RM
280152013-01-23 Roland McGrath <roland@hack.frob.com>
28016
28017 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28018
bae8e7f5
DM
280192013-01-23 David S. Miller <davem@davemloft.net>
28020
28021 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28022 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28023 argument of CAS if possible.
28024 * sysdeps/sparc/sparc64/bits/atomic.h
28025 (__arch_compare_and_exchange_val_32_acq): Likewise.
28026 (__arch_compare_and_exchange_val_64_acq): Likewise.
28027
9cbbc4ae
PT
280282013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28029
28030 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28031 * sysdeps/posix/ulimit.c: ... this.
92a601b8 28032 Include <limits.h>.
67b3f58c 28033 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 28034
5655a0b5
AC
280352013-01-23 Adam Conrad <adconrad@0c3.net>
28036
28037 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28038 (LDFLAGS-tst-array5): Likewise.
28039
052aff95
JM
280402013-01-23 Joseph Myers <joseph@codesourcery.com>
28041
28042 [BZ #15036]
28043 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28044 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28045 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28046 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28047
7c1e01aa
DM
280482013-01-21 David S. Miller <davem@davemloft.net>
28049
28050 * sysdeps/sparc/backtrace.c: New file.
28051 * sysdeps/sparc/sparc32/backtrace.h: New file.
28052 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28053 * sysdeps/sparc/sparc64/backtrace.h: New file.
28054 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28055 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28056 -funwind-tables.
28057
ab087e0a
AS
280582013-01-21 Andreas Schwab <schwab@suse.de>
28059
28060 [BZ #15020]
28061 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28062 closed its stdout.
28063
ed689c2f
AS
280642013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28065
28066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28067 "mpa2.h".
28068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28069
31d470ac
JM
280702013-01-18 Joseph Myers <joseph@codesourcery.com>
28071 Mark Mitchell <mark@codesourcery.com>
28072 Tom de Vries <tom@codesourcery.com>
28073 Paul Pluzhnikov <ppluzhnikov@google.com>
28074
28075 * debug/tst-backtrace2.c: New file.
28076 * debug/tst-backtrace3.c: Likewise.
28077 * debug/tst-backtrace4.c: Likewise.
28078 * debug/tst-backtrace5.c: Likewise.
28079 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28080 (CFLAGS-tst-backtrace3.c): Likewise.
28081 (CFLAGS-tst-backtrace4.c): Likewise.
28082 (CFLAGS-tst-backtrace5.c): Likewise.
28083 (LDFLAGS-tst-backtrace2): Likewise.
28084 (LDFLAGS-tst-backtrace3): Likewise.
28085 (LDFLAGS-tst-backtrace4): Likewise.
28086 (LDFLAGS-tst-backtrace5): Likewise.
28087 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28088 tst-backtrace4 and tst-backtrace5.
28089
90567f30 280902013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
28091 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28092
28093 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28094 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28095 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28096 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28098 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28099 "+r" and remove output regs list as redundant. Add explicit inline
28100 asm to specify register of return val to work around compiler codegen
28101 bug. Remove (int) cast on return value. Add return type parameter to
28102 use in macro so that this macro does not truncate return value for
28103 64-bit values.
28104 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28105 pass to INTERNAL_VSYSCALL_NCS.
28106 (INLINE_VSYSCALL): Add 'long int' as return type to
28107 INTERNAL_VSYSCALL_NCS macro invocation.
28108 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28109 INTERNAL_VSYSCALL_NCS macro invocation.
28110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28111
d3b9ea61
SP
281122013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28113
0b57daeb
SP
28114 [BZ #14496]
28115 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28116 Fix application of SIMD FP exception mask.
28117
caa99d06
SP
28118 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28119 mp_no from a power of two.
28120 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28121 __mpexp_twomm1. Use __pow_mp.
28122
d3b9ea61
SP
28123 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28124 multiplication.
28125
1dbaee3c
DM
281262013-01-17 David S. Miller <davem@davemloft.net>
28127
28128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28129
728d7b43
JM
281302013-01-17 Joseph Myers <joseph@codesourcery.com>
28131
28132 [BZ #15023]
28133 * include/complex.h: Condition contents on [!_COMPLEX_H].
28134 (__kernel_casinhf): New prototype.
28135 (__kernel_casinh): Likewise.
28136 (__kernel_casinhl): Likewise.
28137 * math/Makefile (libm_calls): Add k_casinh.
28138 * math/k_casinh.c: New file.
28139 * math/k_casinhf.c: Likewise.
28140 * math/k_casinhl.c: Likewise.
28141 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28142 finite nonzero arguments.
28143 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28144 finite nonzero arguments.
28145 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28146 finite nonzero arguments.
28147 * math/s_casinh.c: Do not include <float.h>.
28148 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28149 * math/s_casinhf.c: Do not include <float.h>.
28150 (__casinhf): Move code for finite nonzero arguments to
28151 k_casinhf.c.
28152 * math/s_casinhl.c: Do not include <float.h>.
28153 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28154 redefine.
28155 (__casinhl): Move code for finite nonzero arguments to
28156 k_casinhl.c.
28157 * math/libm-test.inc (cacos_test): Add more tests.
28158 * sysdeps/i386/fpu/libm-test-ulps: Update.
28159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28160
2a26ef3a
PT
281612013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28162
28163 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28164 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28165 [!HAVE_MREMAP]: Remove [defined linux] case.
28166 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28167
a897655d
SP
281682013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28169
28170 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28171
881ebe89 281722013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
28173
28174 * elf/elf.h (R_386_SIZE32): New relocation.
28175 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28176 R_386_SIZE32.
28177 (elf_machine_rela): Likewise.
28178 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28179 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28180
59981e9b
JM
281812013-01-17 Joseph Myers <joseph@codesourcery.com>
28182
28183 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28184 (FP_FAST_FMA): Do not define.
28185 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28186 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28187 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28188 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28189 !_SOFT_FLOAT]: Likewise.
28190 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28191 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28192 value.
28193 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28194 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28195 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28196 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28197 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28198 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28199 file.
28200
cfa8054f
AS
282012013-01-16 Andreas Schwab <schwab@suse.de>
28202
28203 [BZ #14327]
28204 * include/stdlib.h (__mktemp): Add declaration.
28205 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28206 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28207
dd930cc5
SP
282082013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28209
881ebe89
SP
28210 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28211 definitions.
28212 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28213 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28214 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28215 definitions here.
28216 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28217 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28218 definitions.
28219 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28220 and ONE.
28221 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28222 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28223 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28224 definitions.
28225 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28226 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28227 definitions.
28228 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 28229
dd930cc5
SP
28230 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28231
c19a9f89
DM
282322013-01-15 David S. Miller <davem@davemloft.net>
28233
1aa61767
DM
28234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28235 trunc{,f} to libm-sysdep_routes.
28236 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28238 file.
28239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28241 file.
28242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28243 file.
28244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28246 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28247 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28248 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28249 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28250 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28251 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28252
c42d5e98
DM
28253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28254 nearbyint{,f} to libm-sysdep_routes.
28255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28257 New file.
28258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28259 file.
28260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28261 New file.
28262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28263 file.
28264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28266 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28267 file.
28268 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28269 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28270 file.
28271 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28272 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28273 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28274
c19a9f89
DM
28275 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28276 libc_feholdexcept and libc_fesetenv.
28277
357679d2
MF
282782013-01-15 Mike Frysinger <vapier@gentoo.org>
28279
28280 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28281
65a82e3d
DM
282822013-01-14 David S. Miller <davem@davemloft.net>
28283
8b954ab9
DM
28284 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28285 (SPARC_ASM_VIS2_IFUNC): Likewise.
28286 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28288 use of 'siam' instruction.
28289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28290 Likewise.
28291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28292 Likewise.
28293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28294 Likewise.
28295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28300 file.
28301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28302 file.
28303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28304 file.
28305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28306 file.
28307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28312 new VIS2 routines.
28313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28316 Likewise.
28317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28322 routines to libm-sysdep_routines.
28323 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28324
65a82e3d
DM
28325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28326 fdim/fdimf to libm-sysdep_routines.
28327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28328 file.
28329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28331 file.
28332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28335 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28336 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28337 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28338 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28339
e34ab705
SP
283402013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28341
2a91b573
SP
28342 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28343 to optimize copies.
28344
1066a534
SP
28345 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28348
e34ab705
SP
28349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28350 local variable MPTWO.
28351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28352 Likewise.
28353
aba5e596
MF
283542013-01-13 Mike Frysinger <vapier@gentoo.org>
28355
28356 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28357 GLOB_NOESCAPE.
28358
e557e9e5
MF
283592013-01-13 Mike Frysinger <vapier@gentoo.org>
28360
28361 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28362
0428cec9
MF
283632013-01-13 Mike Frysinger <vapier@gentoo.org>
28364
28365 * manual/pattern.texi (glob_t): Document gl_flags.
28366 (glob64_t): Likewise.
28367
8794a964
DM
283682013-01-11 David S. Miller <davem@davemloft.net>
28369
66438c3f
RM
28370 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28371 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28372 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
28373 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28374 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28375 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28376 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28377 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28378 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28379 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28380 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28381 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28382 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28383
4ae4244d
DM
28384 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28385 sparc V9 rather than using V8 code.
28386 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28387 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28388
8794a964
DM
28389 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28390 Move to...
28391 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28392 Here.
28393
6270516e
RM
283942013-01-11 Roland McGrath <roland@hack.frob.com>
28395
28396 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28397 not in the main loop.
28398 * configure: Regenerated.
28399
6a57d931
JM
284002013-01-11 Joseph Myers <joseph@codesourcery.com>
28401
28402 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28403 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28404 to just #else.
28405 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28406 [!__GLIBC_HAVE_LONG_LONG] case.
28407 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28408 condition to just #else.
28409 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28410 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28411 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28412 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28413 unconditional.
28414 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28415 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28416 #elif condition to just #else.
28417 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28418 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28419 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28420 #elif condition to just #else.
28421
0e8529e9
SE
284222013-01-11 Steve Ellcey <sellcey@mips.com>
28423
28424 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28425 (EF_MIPS_ARCH_64): Fix value.
28426 (EF_MIPS_ARCH_32R2): New.
28427 (EF_MIPS_ARCH_64R2): New.
28428
740b3dbe
L
284292013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28430
28431 * Makeconfig (+link-pie-before-libc): New.
28432 (+link-pie-after-libc): Likewise.
28433 (+link-pie-tests): Likewise.
28434 (+link-pie): Rewritten.
28435 (link-before-libc): Remove $(config-LDFLAGS).
28436 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28437 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28438 (config-LDFLAGS): Renamed to ...
28439 (rtld-LDFLAGS): This.
28440 (rtld-tests-LDFLAGS): New macro.
28441 (link-libc-rpath-link): Likewise.
28442 (link-libc-tests-rpath-link): Likewise.
28443 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28444 (link-libc): Prepand $(link-libc-rpath-link).
28445 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28446 (test-program-prefix): New macro.
28447 (test-via-rtld-prefix): Likewise.
28448 (test-program-cmd): Likewise.
28449 (host-test-program-cmd): Likewise.
28450 * Makefile ($(common-objpfx)testrun.sh): Replace
28451 $(run-program-prefix) with $(test-program-prefix).
28452 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28453 $(rtld-LDFLAGS).
28454 ($(common-objpfx)shlib.lds): Likewise.
28455 (build-module-helper): Likewise.
28456 ($(common-objpfx)format.lds): Likewise.
28457 * Rules (binaries-pie-tests): New.
28458 (binaries-pie-notests): Likewise.
28459 (binaries-pie): Rewritten.
28460 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28461 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28462 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28463 (make-test-out): Replace $(host-built-program-cmd) with
28464 $(host-test-program-cmd).
28465 * config.make.in (build-hardcoded-path-in-tests): New variable.
28466 * configure.in (--enable-hardcoded-path-in-tests): New configure
28467 option.
28468 (hardcoded_path_in_tests): New AC_SUBST.
28469 * configure: Regenerated.
28470 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28471 $(built-program-cmd) with $(test-program-cmd).
28472 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28473 (test_program_cmd): This.
28474 * elf/Makefile ($(objpfx)order.out): Run test with
28475 $(test-program-prefix).
28476 ($(objpfx)order2.out): Likewise.
28477 ($(objpfx)tst-initorder.out): Likewise.
28478 ($(objpfx)tst-initorder2.out): Likewise.
28479 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28480 $(test-program-cmd).
28481 ($(objpfx)tst-array1-static.out): Likewise.
28482 ($(objpfx)tst-array2.out): Likewise.
28483 ($(objpfx)tst-array3.out): Likewise.
28484 ($(objpfx)tst-array4.out): Likewise.
28485 ($(objpfx)tst-array5.out): Likewise.
28486 ($(objpfx)tst-array5-static.out): Likewise.
28487 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28488 $(test-program-cmd).
28489 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28490 $(run-program-prefix) with $(test-program-prefix).
28491 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28492 (test_program_prefix): This.
28493 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28494 $(run-program-prefix) with $(test-program-prefix).
28495 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28496 (test_program_prefix): This.
28497 * iconvdata/tst-tables.sh: Likewise.
28498 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28499 $(run-program-prefix) with $(test-program-prefix).
28500 ($(objpfx)tst-translit.out): Likewise.
28501 ($(objpfx)tst-gettext2.out): Likewise.
28502 ($(objpfx)tst-gettext4.out): Likewise.
28503 ($(objpfx)tst-gettext6.out): Likewise.
28504 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28505 (test_program_prefix): This.
28506 * intl/tst-gettext2.sh: Likewise.
28507 * intl/tst-gettext4.sh Likewise.
28508 * intl/tst-gettext6.sh: Likewise.
28509 * intl/tst-translit.sh: Likewise.
28510 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28511 with $(test-program-cmd).
28512 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28513 $(run-program-prefix) with $(test-program-prefix).
28514 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28515 (test_program_prefix): This.
28516 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28517 $(run-program-prefix) with $(test-program-prefix).
28518 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28519 (test_program_prefix): This.
28520 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28521 * posix/Makefile ($(objpfx)globtest.out): Replace
28522 $(run-via-rtld-prefix) and $(test-wrapper) with
28523 $(test-program-prefix) and $(test-via-rtld-prefix).
28524 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28525 $(test-program-prefix).
28526 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28527 $(host-test-program-cmd).
28528 (tst-spawn-ARGS): Likewise.
28529 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28530 $(test-program-prefix).
28531 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28532 (test_via_rtld_prefix): This.
28533 (test_wrapper): Renamed to ...
28534 (test_program_prefix): This.
28535 (run_program_prefix): Replaced by test_program_prefix.
28536 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28537 (test_program_prefix): This.
28538 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28539 with $(host-test-program-cmd).
28540 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28541 $(run-program-prefix) with $(test-program-prefix).
28542 ($(objpfx)tst-printf.out): Likewise.
28543 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28544 $(test-program-cmd).
28545 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28546 (test_program_prefix): This.
28547 * stdio-common/tst-unbputc.sh: Likewise.
28548 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28549 $(run-program-prefix) with $(test-program-prefix).
28550 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28551 (test_program_prefix): This.
28552 * string/Makefile ($(objpfx)tst-svc.out): Replace
28553 $(built-program-cmd) with $(test-program-cmd).
28554
c6fe55cf
AJ
285552013-01-11 Andreas Jaeger <aj@suse.de>
28556
28557 [BZ #15003]
28558 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28559 value. Sync with Linux 3.7.
28560
9e6919c8
DM
285612013-01-10 David S. Miller <davem@davemloft.net>
28562
28563 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28564 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28565 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28566
1c9f1a02
RM
285672013-01-10 Roland McGrath <roland@hack.frob.com>
28568
28569 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28570 never set.
28571 * configure: Regenerated.
28572
b9de2dde
DM
285732013-01-10 David S. Miller <davem@davemloft.net>
28574
28575 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28576 sparc V9 rather than using V8 code.
28577 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28578 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28579
e7f68ef4
RM
285802013-01-10 Roland McGrath <roland@hack.frob.com>
28581
28582 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28583 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28584 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28585 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28586 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28587 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28588 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28589 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28590 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28591 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28592 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28593 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28594 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28595 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28596 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28597 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28598 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28599 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28600 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28601 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28602 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28603 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28604 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28605 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28606 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28607 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28608 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28609
5a47cc9c
DM
286102013-01-10 David S. Miller <davem@davemloft.net>
28611
28612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28613
4cf8f209
L
286142013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28615
28616 * posix/Makefile (tests-static): New variable.
28617 (tests): Add $(tests-static).
28618 (tst-exec-static-ARGS): New variable.
28619 (tst-spawn-static-ARGS): Likewise.
28620 * posix/tst-exec-static.c: New file.
28621 * posix/tst-spawn-static.c: Likewise.
28622 * posix/tst-exec.c: Support run directly.
28623 * posix/tst-spawn.c: Likewise.
28624
fed0faa1
JM
286252013-01-10 Joseph Myers <joseph@codesourcery.com>
28626
828beb13
JM
28627 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28628 long.
28629 * math/bits/mathcalls.h (llrint): Likewise.
28630 (llround): Likewise.
28631 * stdlib/stdlib.h (struct drand48_data): Likewise.
28632 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28633 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28634 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28635 Likewise.
28636 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28637 Likewise.
28638 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28639 (elf_greg_t): Likewise.
28640 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28641 (__jmp_buf): Likewise.
28642 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28643 definitions.
28644 (llrint): Likewise, for all definitions.
28645 (llrintl): Likewise.
28646
fed0faa1
JM
28647 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28648 Remove [__GNUC__] condition.
28649 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28650 condition to just [__USE_ISOC99].
28651 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28652
1a20cb20
L
286532013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28654
28655 [BZ #14200]
28656 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28657 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28658 defined.
28659 (_POSIX_V6_ILP32_OFF32): Likewise.
28660 (_XBS5_ILP32_OFF32): Likewise.
28661 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28662 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28663
751b85f7
SP
286642013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28665
7490eb81
SP
28666 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28667
751b85f7
SP
28668 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28669 doubles __mpexp_twomm1. Adjust usage.
28670 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28671 Remove.
28672
988197f0
AS
286732013-01-10 Andreas Schwab <schwab@suse.de>
28674
28675 [BZ #14964]
28676 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28677 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28678
e83d7298
DM
286792013-01-09 David S. Miller <davem@davemloft.net>
28680
034ed64b 28681 [BZ #15003]
57f41c40
AS
28682 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28683 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28684 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28685 (TCP_FASTOPEN): Define.
e83d7298
DM
28686 (tcp_repair_opt): New structure.
28687 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28688 enum values.
57f41c40
AS
28689 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28690 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28691 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28692 (tcp_cookie_transactions): New structure.
28693
d5e0b9bd
AB
286942013-01-09 Anton Blanchard <anton@samba.org>
28695
28696 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28697 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28698 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28699 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28700
0c07e3ea
JM
287012013-01-09 Joseph Myers <joseph@codesourcery.com>
28702
28703 * include/features.h (__USE_ANSI): Remove.
28704
232f7002
RM
287052013-01-09 Roland McGrath <roland@hack.frob.com>
28706
ad98e30c
RM
28707 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28708
232f7002
RM
28709 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28710
950c99ca
SP
287112013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28712
b5792741
SP
28713 * sysdeps/s390/fpu/libm-test-ulps: Update.
28714
47cf2278
SP
28715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28716
950c99ca
SP
28717 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28718 (__acr): Likewise.
28719 (__cpy): Likewise.
28720 (norm): Likewise.
28721 (denorm): Likewise.
28722 (__mp_dbl): Likewise.
28723 (__dbl_mp): Likewise.
28724 (add_magnitudes): Likewise.
28725 (sub_magnitudes): Likewise.
28726 (__add): Likewise.
28727 (__sub): Likewise.
28728 (__mul): Likewise.
28729 (__inv): Likewise.
28730 (__dvd): Likewise.
28731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
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/powerpc64/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
eede9df9
JM
287602013-01-08 Joseph Myers <joseph@codesourcery.com>
28761
28762 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28763 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28764 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28765 2 && __USE_EXTERN_INLINES]: Likewise.
28766
c40ea3d9
AJ
287672013-01-08 Andreas Jaeger <aj@suse.de>
28768
28769 [BZ# 14985]
28770 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28771 Remove.
28772 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28773 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28774
2ccdea26
AB
287752013-01-07 Anton Blanchard <anton@samba.org>
28776
28777 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28778 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28779 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28780 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28781 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28782 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28783 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28784 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28786 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28787 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28788 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28789 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28790 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28791 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28792 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28793 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28794 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28795 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28796 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28797 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28798 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28799 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28800 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28801 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28802 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28803 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28804 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28805 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28806 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28807 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28809 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28810 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28811 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28812 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28813 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28814 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28815 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28816 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28817 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28818 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28819 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28820
a9708fed
JM
288212013-01-07 Joseph Myers <joseph@codesourcery.com>
28822
375607b9
JM
28823 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28824 (__MALLOC_PMT): Likewise.
28825 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28826 [__GNUC__], only on [_LIBC].
28827 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28828 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28829 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28830 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28831 forward declaration.
28832 (realloc_hook_ini): Likewise.
28833 (memalign_hook_ini): Likewise.
28834 (__libc_memalign): Do not use __MALLOC_PMT in variable
28835 declaration.
28836 (__libc_valloc): Likewise.
28837 (__libc_pvalloc): Likewise.
28838 (__libc_calloc): Likewise.
28839 (__posix_memalign): Likewise.
28840
a9708fed
JM
28841 [BZ #14996]
28842 * math/s_casinh.c: Include <float.h>.
28843 (__casinh): Do not do computation with squaring and square root
28844 for large arguments.
28845 * math/s_casinhf.c: Include <float.h>.
28846 (__casinhf): Do not do computation with squaring and square root
28847 for large arguments.
28848 * math/s_casinhl.c: Include <float.h>.
28849 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28850 (__casinhl): Do not do computation with squaring and square root
28851 for large arguments.
28852 * math/libm-test.inc (casin_test): Add more tests.
28853 (casinh_test): Likewise.
28854 * sysdeps/i386/fpu/libm-test-ulps: Update.
28855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28856
afec409a
L
288572013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28858
28859 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28860 (__x86_64_raw_data_cache_size): Likewise.
28861 (__x86_64_data_cache_size_half): Likewise.
28862 (__x86_64_raw_data_cache_size_half): Likewise.
28863 (__x86_64_shared_cache_size): Likewise.
28864 (__x86_64_raw_shared_cache_size): Likewise.
28865 (__x86_64_shared_cache_size_half): Likewise.
28866 (__x86_64_raw_shared_cache_size_half): Likewise.
28867 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28868 to ...
28869 (__x86_data_cache_size): This.
28870 (__x86_64_raw_data_cache_size): Renamed to ...
28871 (__x86_raw_data_cache_size): This.
28872 (__x86_64_data_cache_size_half): Renamed to ...
28873 (__x86_data_cache_size_half): This.
28874 (__x86_64_raw_data_cache_size_half): Renamed to ...
28875 (__x86_raw_data_cache_size_half): This.
28876 (__x86_64_shared_cache_size): Renamed to ...
28877 (__x86_shared_cache_size): This.
28878 (__x86_64_raw_shared_cache_size): Renamed to ...
28879 (__x86_raw_shared_cache_size): This.
28880 (__x86_64_shared_cache_size_half): Renamed to ...
28881 (__x86_shared_cache_size_half): This.
28882 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28883 (__x86_raw_shared_cache_size_half): This.
28884 * sysdeps/x86_64/memcpy.S: Updated.
28885 * sysdeps/x86_64/memset.S: Likewise.
28886 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28887 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28888 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28889
0b3986d0
DM
288902013-01-04 David S. Miller <davem@davemloft.net>
28891
28892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28893
e47686e9
AS
288942013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28895
d643bac1
AS
28896 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28897 1 to avoid redefinition warning.
28898 (__USE_GNU): Don't define.
28899 (init_signaling_nan): Protoize.
28900
e47686e9
AS
28901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28902
b18decba
SP
289032013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28904
fffb407f
SP
28905 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28907 (__cpymn): Likewise.
28908 (norm): Remove commented code.
28909 (denorm): Likewise.
28910 (__mp_dbl): Likewise.
28911 (__inv): Likewise.
28912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28913 (__cpymn): Likewise.
28914 (norm): Remove commented code.
28915 (denorm): Likewise.
28916 (__mp_dbl): Likewise.
28917 (__inv): Likewise.
28918
b18decba
SP
28919 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28920 mp_no value for 1.0 and 2.0.
28921 (norm): Use RADIXI instead of radixi.d.
28922 (denorm): Likewise.
28923 (__mul): Use 0.0 instead of zero.d.
28924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28925 mp_no value for 1.0 and 2.0.
28926 (norm): Use RADIXI instead of radixi.d.
28927 (denorm): Likewise.
28928 (__mul): Use 0.0 instead of zero.d.
28929
cdc1c96f
JM
289302013-01-04 Joseph Myers <joseph@codesourcery.com>
28931
28932 [BZ #14994]
28933 * math/s_casinh.c (__casinh): Reduce finite argument to first
28934 quadrant then set signs of results at the end.
28935 * math/s_casinhf.c (__casinhf): Likewise.
28936 * math/s_casinhl.c (__casinhl): Likewise.
28937 * math/libm-test.inc (casin_test): Add more tests.
28938 (casinh_test): Likewise.
28939 * sysdeps/i386/fpu/libm-test-ulps: Update.
28940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28941
302913e1
SP
289422013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28943
6420d207
SP
28944 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28945
a9e48ab4
SP
28946 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28947
b7837264
SP
28948 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28949 declarations.
28950 (denorm): Likewise.
28951 (__mp_dbl): Likewise.
28952 (__inv): Likewise.
28953
f8af25d2
SP
28954 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28955 and adjust the header comment.
28956
302913e1
SP
28957 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28958 variable name from declaration.
28959
5d7dd1ca
L
289602013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28961
28962 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28963 Initialize COMMON_CPUID_INDEX_7 element.
28964 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28965 (CPUID_RTM): Likewise.
28966 (HAS_RTM): Likewise.
28967 (COMMON_CPUID_INDEX_7): New enum.
28968
2f5f40f4
AS
289692013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28970
28971 [BZ #14981]
28972 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28973 size is zero, record memory as freed.
28974
4056f4a0
AJ
289752013-01-03 Andreas Jaeger <aj@suse.de>
28976
28977 * po/ia.po: Add new Interlingua translation.
28978
ab15736f 289792012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
28980
28981 * locale/programs/localedef.c: Fix description of '--posix' flag.
28982
568035b7
JM
289832013-01-02 Joseph Myers <joseph@codesourcery.com>
28984
e6898b8d
JM
28985 * NEWS: Update dates in second copyright notice.
28986 * README: Update copyright dates in example.
28987 * manual/libc.texinfo: Update copyright dates.
28988 * scripts/test-installation.pl: Update copyright date in --version
28989 output.
28990
0e2f9562
JM
28991 * hurd/ctty-input.c: Fix copyright notice formatting.
28992 * hurd/ctty-output.c: Likewise.
28993 * hurd/dtable.c: Likewise.
28994 * hurd/hurd-raise.c: Likewise.
28995 * hurd/hurdprio.c: Likewise.
28996 * hurd/msgportdemux.c: Likewise.
28997 * misc/sys/file.h: Likewise.
28998 * misc/sys/ioctl.h: Likewise.
28999 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29000 * sysdeps/mach/hurd/chdir.c: Likewise.
29001 * sysdeps/mach/hurd/fchdir.c: Likewise.
29002 * sysdeps/mach/hurd/rename.c: Likewise.
29003 * sysdeps/mach/hurd/rmdir.c: Likewise.
29004 * sysdeps/mach/hurd/seekdir.c: Likewise.
29005 * sysdeps/mach/hurd/setsid.c: Likewise.
29006 * sysdeps/posix/wait3.c: Likewise.
29007
568035b7
JM
29008 * All files with FSF copyright notices: Update copyright dates
29009 using scripts/update-copyrights.
29010 * intl/plural.c: Regenerated.
29011 * locale/programs/charmap-kw.h: Likewise.
29012 * locale/programs/locfile-kw.h: Likewise.
29013
da08f647
SP
290142013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29015
0f5477af
SP
29016 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29017 four values.
29018
44e0d4c2
SP
29019 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29020 calculation loop and add branch prediction.
29021
4d55b4e5
SP
29022 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29023 check access beyond bounds of m1np.
29024
da08f647
SP
29025 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29026 MPTWO.
29027 (__inv): Remove local variable MPTWO to use the global
29028 constant.
29029 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29030 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29031 variable MPTWO.
29032 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29033 MP3HALFS static const.
29034
8e051029
DM
290352013-01-01 David S. Miller <davem@davemloft.net>
29036
29037 * po/ca.po: Update from translation team.
29038
f4cf5f2d
JM
290392013-01-01 Joseph Myers <joseph@codesourcery.com>
29040
29041 * scripts/update-copyrights: New file.
29042 * Makeconfig: Reformat copyright notice.
29043 * ctype/ctype.h: Likewise.
29044 * debug/swprintf_chk.c: Likewise.
29045 * elf/dl-cache.c: Likewise.
29046 * elf/dl-debug.c: Likewise.
29047 * elf/dl-object.c: Likewise.
29048 * grp/initgroups.c: Likewise.
29049 * hurd/Makefile: Likewise.
29050 * hurd/hurd/signal.h: Likewise.
29051 * hurd/hurdfault.c: Likewise.
29052 * hurd/hurdioctl.c: Likewise.
29053 * hurd/hurdlookup.c: Likewise.
29054 * hurd/intr-msg.c: Likewise.
29055 * iconv/gconv_open.c: Likewise.
29056 * libio/swprintf.c: Likewise.
29057 * locale/lc-ctype.c: Likewise.
29058 * locale/nl_langinfo.c: Likewise.
29059 * mach/Machrules: Likewise.
29060 * mach/Makefile: Likewise.
29061 * malloc/obstack.h: Likewise.
29062 * manual/Makefile: Likewise.
29063 * manual/tsort.awk: Likewise.
29064 * misc/bits/stab.def: Likewise.
29065 * nis/nis_print_group_entry.c: Likewise.
29066 * nis/nis_table.c: Likewise.
29067 * nis/nss_compat/compat-pwd.c: Likewise.
29068 * nis/nss_compat/compat-spwd.c: Likewise.
29069 * po/Makefile: Likewise.
29070 * posix/fnmatch.c: Likewise.
29071 * posix/regex.h: Likewise.
29072 * resolv/Makefile: Likewise.
29073 * resolv/nss_dns/dns-network.c: Likewise.
29074 * resolv/res_hconf.c: Likewise.
29075 * scripts/gen-sorted.awk: Likewise.
29076 * soft-fp/soft-fp.h: Likewise.
29077 * stdio-common/printf.h: Likewise.
29078 * stdlib/monetary.h: Likewise.
29079 * stdlib/random.c: Likewise.
29080 * stdlib/random_r.c: Likewise.
29081 * sysdeps/generic/Makefile: Likewise.
29082 * sysdeps/gnu/Makefile: Likewise.
29083 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29084 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29085 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29086 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29087 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29088 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29089 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29090 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29091 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29092 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29093 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29094 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29095 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29096 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29097 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29098 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29099 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29100 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29101 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29102 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29103 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29104 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29105 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29106 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29107 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29108 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29109 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29110 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29111 * sysdeps/mach/hurd/errnos.awk: Likewise.
29112 * sysdeps/mach/hurd/fork.c: Likewise.
29113 * sysdeps/mach/hurd/getcwd.c: Likewise.
29114 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29115 * sysdeps/mach/hurd/mmap.c: Likewise.
29116 * sysdeps/mach/hurd/utimes.c: Likewise.
29117 * sysdeps/mach/hurd/xmknod.c: Likewise.
29118 * sysdeps/posix/profil.c: Likewise.
29119 * sysdeps/posix/readdir_r.c: Likewise.
29120 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29121 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29122 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29123 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29125 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29126 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29127 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29129 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29130 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29131 * sysdeps/pthread/lio_listio.c: Likewise.
29132 * sysdeps/sparc/dl-procinfo.h: Likewise.
29133 * sysdeps/unix/i386/sysdep.S: Likewise.
29134 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29135 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29136 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29137 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29139 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29140 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29141 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29142 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29143 * sysdeps/wordsize-32/divdi3.c: Likewise.
29144 * time/sys/time.h: Likewise.
29145 * wcsmbs/Makefile: Likewise.
29146
0549fbba
DM
291472013-01-01 David S. Miller <davem@davemloft.net>
29148
a141f1a7
DM
29149 * po/fr.po: Update from translation team.
29150
0549fbba
DM
29151 * catgets/gencat.c: Update copyright year.
29152 * csu/version.c: Likewise.
29153 * debug/catchsegv.sh: Likewise.
29154 * debug/pcprofiledump.c: Likewise.
29155 * debug/xtrace.sh: Likewise.
29156 * elf/ldconfig.c: Likewise.
29157 * elf/ldd.bash.in: Likewise.
29158 * elf/pldd.c: Likewise.
29159 * elf/sotruss.ksh: Likewise.
29160 * elf/sprof.c: Likewise.
29161 * iconv/iconv_prog.c: Likewise.
29162 * iconv/iconvconfig.c: Likewise.
29163 * locale/programs/locale.c: Likewise.
29164 * locale/programs/localedef.c: Likewise.
29165 * login/programs/pt_chown.c: Likewise.
29166 * malloc/memusage.sh: Likewise.
29167 * malloc/memusagestat.c: Likewise.
29168 * malloc/mtrace.pl: Likewise.
29169 * nscd/nscd.c: Likewise.
29170 * nss/getent.c: Likewise.
29171 * nss/makedb.c: Likewise.
29172 * posix/getconf.c: Likewise.
29173
18ea052c
SP
291742012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29175
29176 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29177 numbers.
29178
9c89fca6
MF
291792012-12-30 Mike Frysinger <vapier@gentoo.org>
29180
29181 * math/bits/mathcalls.h (modf): Use __nonnull.
29182
085ec079
SP
291832012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29184
29185 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29186 (split): Use macro CN instead of the bare value.
29187 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29188 could be used.
29189 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29190 instead of the bare value.
29191 (power1): Likewise.
29192
6d9f97e1
SP
291932012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29194
d63f73be
SP
29195 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29196 __ATAN_TWOM.
29197 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29198
6d9f97e1
SP
29199 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29200 their values.
29201 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29202 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29203 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29204 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29205
4c4febf5
AJ
292062012-12-28 Andreas Jaeger <aj@suse.de>
29207
af5843ef
AJ
29208 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29209 values are from Linux 3.7.
29210
4c4febf5
AJ
29211 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29212 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29213
99136f82
SP
292142012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29215
2f216c3c 29216 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
29217 TRUE case.
29218
99136f82
SP
29219 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29220 (norm): Likewise.
29221 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29222 variables with preprocessor constants.
29223 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29224 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29225 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29226
7fffbdff
BH
292272012-12-27 Bruno Haible <bruno@clisp.org>
29228
29229 [BZ #14317]
29230 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29231 only if needed.
29232
b76eb5f0
SP
292332012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29234
31a7fe5c
SP
29235 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29236 and use variable directly.
29237 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29238
b76eb5f0
SP
29239 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29240 MPONE.
29241 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29242 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29243 variable MPONE.
29244 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29245 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29246 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29247 include directive. Remove local variable MPONE.
29248 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29249 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29250 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29251
2c8bfe7d
DM
292522012-12-25 David S. Miller <davem@davemloft.net>
29253
29254 * version.h (RELEASE): Set to "development".
29255 (VERSION): Set to "2.17.90".
29256 * NEWS: Add 2.18 section.
29257
147d03b0
DM
292582012-12-21 David S. Miller <davem@davemloft.net>
29259
29260 * po/hr.po: Update from translation team.
29261
a8ebb2b9
AK
292622012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29263
29264 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29265
95b4f1b6
SE
292662012-12-19 Steve Ellcey <sellcey@mips.com>
29267
b2d94007 29268 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 29269
cedb2a90
MS
292702012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29271
29272 * manual/contrib.texi (Contributors): Spelling correction.
29273
bbf527d6
DM
292742012-12-15 David S. Miller <davem@davemloft.net>
29275
29276 * po/ru.po: Update from translation team.
29277
bc38c906
DM
292782012-12-13 David S. Miller <davem@davemloft.net>
29279
85429b1a
DM
29280 * NEWS: Mention IFUNC testsuite enhancements.
29281
d283e353
DM
29282 * po/pl.po: Update from translation team.
29283 * po/bg.po: Likewise.
29284
bc38c906
DM
29285 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29286 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29287
a181b0d7
DM
292882012-12-11 David S. Miller <davem@davemloft.net>
29289
4641d57e
DM
29290 * po/sv.po: Update from translation team.
29291
f7bc6495
DM
29292 * po/vi.po: Update from translation team.
29293
6fc9048f
DM
29294 * po/cs.po: Update from translation team.
29295
a181b0d7
DM
29296 * po/de.po: Update from translation team.
29297 * po/eo.po: Likewise.
29298 * po/nl.po: Likewise.
29299
f70bfe80
SP
293002012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29301
3c8b4190
SP
29302 [BZ #14246]
29303 * manual/argp.texi (Argp Helper Functions): Move node to follow
29304 Argp Parsing State.
29305
f70bfe80
SP
29306 [BZ #14872]
29307 * manual/conf.texi (Limits on File System Capacity): Mention if
29308 terminating null is included in the max size.
29309
188f0adf
AJ
293102012-12-10 Andreas Jaeger <aj@suse.de>
29311
29312 * po/cs.po: Update from translation team.
29313
56e7d3ad
SP
293142012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29315
29316 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29317 void pointer and cast to uintptr_t.
29318 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29319 path.
29320 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29321 * sysdeps/s390/s390-64/memset.S: Likewise.
29322
76f2d2ea 293232012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
29324
29325 [BZ #14833]
29326 * menual/message.texi (Message Translation): Fix typos.
29327 (Helper programs for gettext): Likewise.
29328
67cbf9a2
AS
293292012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29330
29331 [BZ #14898]
29332 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29333 Change to -1.
29334
682d0e9a
DM
293352012-12-07 David S. Miller <davem@davemloft.net>
29336
29337 * po/libc.pot: Update.
29338
573cd484
RH
293392012-12-07 Richard Henderson <rth@redhat.com>
29340
7e9da188 29341 [BZ #10114]
573cd484
RH
29342 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29343 normal/normal case to before the switch.
29344 (_FP_DIV): Likewise.
29345
e933a943
MF
293462012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29347 Mike Frysinger <vapier@gentoo.org>
29348
29349 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29350 check for __NR_fadvise64_64.
29351
82123268
CM
293522012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29353
29354 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29355 0, not just to plain "0" as a statement.
29356 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29357 with cw.
29358
d9814526
JM
293592012-12-06 Joseph Myers <joseph@codesourcery.com>
29360
29361 * NEWS: Use sourceware.org in Bugzilla URL.
29362
7728c574
SP
293632012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29364
f16946dd
SP
29365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29366 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29367
5704bbcb
SP
29368 * stdio-common/tst-put-error.c (do_test): Add newline to the
29369 padded test to ensure flush.
29370
17aa0516
JL
293712012-12-05 Jeff Law <law@redhat.com>
29372
29373 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29374
363313b5
JM
293752012-12-05 Joseph Myers <joseph@codesourcery.com>
29376
effbd42a
JM
29377 * README: Don't refer to ports add-on as distributed separately.
29378 Mention AArch64 in list of systems supported in the ports add-on.
29379
87600365
JM
29380 * LICENSES: Add more non-FSF copyright and license notices.
29381
a0d7066a
JM
29382 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29383 ((unused)).
29384
66ca5a5b
JM
29385 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29386
363313b5
JM
29387 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29388 10000 as width of padded output.
29389
b37984ad
JM
293902012-12-04 Joseph Myers <joseph@codesourcery.com>
29391
9003570a
JM
29392 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29393
b37984ad
JM
29394 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29395 variable LX with __attribute__ ((unused)).
29396 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29397 Likewise.
29398 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29399 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29400 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29401 with __attribute__ ((unused)).
29402
c8df52ec
DM
294032012-12-04 David S. Miller <davem@abraco.davemloft.net>
29404
29405 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29406
b3b099af
JM
294072012-12-04 Joseph Myers <joseph@codesourcery.com>
29408
c33aa6e3
JM
29409 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29410 (CFLAGS-nldbl-acos.c): New variable.
29411 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29412 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29413 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29414 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29415 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29416 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29417 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29418 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29419 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29420 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29421 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29422 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29423 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29424 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29425 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29426 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29427 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29428 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29429 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29430 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29431 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29432 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29433 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29434 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29435 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29436 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29437 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29438 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29439 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29440 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29441 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29442 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29443 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29444 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29445 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29446 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29447 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29448 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29449 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29450 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29451 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29452 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29453 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29454 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29455 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29456 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29457 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29458 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29459 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29460 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29461 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29462 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29463 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29464 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29465 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29466 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29467 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29468 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29469 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29470 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29471 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29472 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29473 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29474 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29475 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29476 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29477 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29478 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29479 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29480 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29481 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29482 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29483 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29484 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29485 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29486 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29487 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29488 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29489 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29490 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29491 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29492 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29493 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29494 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29495 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29496 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29497 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29498 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29499 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29500 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29501 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29502 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29503 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29504 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29505 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29506 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29507 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29508
20f0018d
JM
29509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29510 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29511
b3b099af
JM
29512 [BZ #14914]
29513 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29514 whole low double instead of just low 47 bits when splitting values
29515 into two parts.
29516
029264d1
AM
295172012-12-03 Allan McRae <allan@archlinux.org>
29518
29519 * manual/stdio.texi (Predefined Printf Handlers): Remove
29520 @hsep and @vsep usage.
29521
c9d6789e
MF
295222012-12-03 Mike Frysinger <vapier@gentoo.org>
29523
29524 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29525 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29526
4b7634a5
JL
295272012-12-03 Jeff Law <law@redhat.com>
29528
29529 * time/sys/time.h (settimeofday): Do not mark TV argument
29530 as __nonnull.
29531
eb6cbd24
MF
295322012-12-01 Mike Frysinger <vapier@gentoo.org>
29533
29534 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29535 when currently writing and seek to current position when not.
29536 * libio/Makefile (tests): Remove bug-fclose1.
29537 * libio/bug-fclose1.c: Delete.
29538
f638872a
JM
295392012-12-01 Joseph Myers <joseph@codesourcery.com>
29540
29541 * manual/arith.texi (feenableexcept): Fix typo.
29542 (fedisableexcept): Likewise.
29543
48085d14
RM
295442012-11-30 Roland McGrath <roland@hack.frob.com>
29545
29546 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29547 second, differently-typed declaration, rather than a cast.
29548
1a538b9f
SP
295492012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29550
29551 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29552 * include/rpc/svc.h: ... here.
29553
d07f2ff1 295542012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29555
29556 [BZ #13013]
29557 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29558 depending n and resplen2 to catch cases where answer
29559 equals answerp2.
29560
c93ec1f0
CD
295612012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29562
29563 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29564 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29565
37db69de
MF
295662012-11-29 Mike Frysinger <vapier@gentoo.org>
29567
29568 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29569
e10c4e4f
RM
295702012-11-29 Roland McGrath <roland@hack.frob.com>
29571
29572 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29573
2af1b328
JL
295742012-11-28 Jeff Law <law@redhat.com>
29575
29576 [BZ #13761]
29577 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29578 dataset_temporary. Track alloca usage into alloca_used.
29579 If dataset is large allocate and release it via malloc/free.
29580
111db5b1
FW
295812012-06-04 Florian Weimer <fweimer@redhat.com>
29582
f06cc227 29583 [BZ #14197]
111db5b1
FW
29584 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29585
dd694abd
DM
295862012-11-28 David S. Miller <davem@davemloft.net>
29587
29588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29589
9984dd01
JM
295902012-11-28 Joseph Myers <joseph@codesourcery.com>
29591
29592 [BZ #14803]
29593 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29594 of pi/2 rounded to nearest to 64 bits.
29595 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29596 nearest to 64 bits.
29597 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29598 bits.
29599
14bc93a9
JL
296002012-11-28 Jeff Law <law@redhat.com>
29601 Martin Osvald <mosvald@redhat.com>
29602
29603 [BZ #14889]
29604 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29605 * sunrpc/svc.c: Include time.h.
29606 (__svc_accept_failed): New function.
29607 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29608 any reason other than EINTR, call __svc_accept_failed.
29609 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29610 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29611
e3c6aa3a
AS
296122012-11-28 Andreas Schwab <schwab@suse.de>
29613
29614 * scripts/abilist.awk: Also handle indirect functions in .opd
29615 section.
29616
1bead169
JM
296172012-11-28 Joseph Myers <joseph@codesourcery.com>
29618
29619 [BZ #13881]
29620 * sysdeps/x86/fpu/powl_helper.c: New file.
29621 * sysdeps/x86/fpu/Makefile: Likewise.
29622 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29623 (p3): New object.
29624 (__ieee754_powl): Use __powl_helper for finite arguments except
29625 integer exponents below 8.
29626 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29627 (p3): New object.
29628 (__ieee754_powl): Use __powl_helper for finite arguments except
29629 integer exponents below 8.
29630 * math/libm-test.inc (pow_test): Add more tests and enable some
29631 previously disabled tests.
29632 * sysdeps/i386/fpu/libm-test-ulps: Update.
29633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29634
0817d63d
SP
296352012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29636 Carlos O'Donell <carlos_odonell@mentor.com>
29637
29638 * nss/makedb.c (is_prime): Assert that input is odd and greater
29639 than 4. Note that fact in a comment too.
29640 (next_prime): Add 4 to input.
29641
de2fd463
SP
296422012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29643
29644 [BZ #11741]
29645 * libio/Makefile (tests): Add test case tst-fwrite-error.
29646 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29647 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29648 * libio/tst-fwrite-error.c: New test case.
29649
c515fb51
L
296502012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29651
29652 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29653 before casting to void *.
29654 * include/libc-internal.h (__pointer_type): New macro.
29655 (__integer_if_pointer_type_sub): Likewise.
29656 (__integer_if_pointer_type): Likewise.
29657 (cast_to_integer): Likewise.
29658 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29659 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29660 before casting to atomic64_t.
29661 (atomic_exchange_acq): Likewise.
29662 (__arch_exchange_and_add_body): Likewise.
29663 (__arch_add_body): Likewise.
29664 (atomic_add_negative): Likewise.
29665 (atomic_add_zero): Likewise.
29666
4cf77aa9
JM
296672012-11-26 Joseph Myers <joseph@codesourcery.com>
29668
29669 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29670 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29671 (add_fdes): Likewise.
29672 (linear_search_fdes): Likewise.
29673 (binary_search_unencoded_fdes): Likewise.
29674
d260b3b4
AS
296752012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29676
29677 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29678
67060746
AC
296792012-11-24 Adam Conrad <adconrad@0c3.net>
29680
29681 * configure.in: Autodetect C++ header directories.
29682 * configure: Regenerated.
29683
800938a1
MF
296842012-11-23 Mike Frysinger <vapier@gentoo.org>
29685
29686 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29687
4e6e34e6
AS
296882012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29689
29690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29691
7c7feb47
JM
296922012-11-22 Joseph Myers <joseph@codesourcery.com>
29693
7184dcdf
JM
29694 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29695 LDBL_MANT_DIG == 106]: Disable some tests.
29696 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29697 Likewise.
29698 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29699 Likewise.
29700
0a42601f
JM
29701 [BZ #14871]
29702 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29703 input for small inputs. Return +/- pi/2 for large inputs.
29704 * math/libm-test.inc (atan_test): Add more tests.
29705
79c9b9fe
JM
29706 * sysdeps/generic/unwind-dw2-fde-glibc.c
29707 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29708 __attribute__ ((unused)).
29709
c60d3bf2
JM
29710 [BZ #14645]
29711 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29712 x * y if x and y are nonzero and z is zero.
29713
ef1e0867
JM
29714 [BZ #14811]
29715 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29716 nonzero exponents with absolute value below 0x1p-117 to +/-
29717 0x1p-117.
29718
1468ded3
JM
29719 [BZ #14869]
29720 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29721 up arguments below 2**-450, not just those below 2**-500.
29722 * math/libm-test.inc (hypot_test): Add another test.
29723
8e27e3cc
JM
29724 [BZ #14868]
29725 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29726 Return a+b for ratio over 2**120, not 2**60.
29727 * math/libm-test.inc (hypot_test): Add another test.
29728
c9c0279b
JM
29729 * math/libm-test.inc (clog_test): Use
29730 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29731 (clog10_test): Likewise.
29732
7c7feb47
JM
29733 [BZ #6778]
29734 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29735
fff1530e
AS
297362012-11-22 Andreas Schwab <schwab@suse.de>
29737
29738 * sysdeps/i386/fpu/libm-test-ulps: Update.
29739
94558d30
PT
297402012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29741
29742 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29743 printf output with newline.
29744
7e1be741
L
297452012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29746
6bfea974
L
29747 [BZ #14865]
29748 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29749 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29750 -z nodlopen, -z initfirst and -z execstack support.
29751 * configure: Regenerated.
29752
7e1be741
L
29753 * elf/elf.h (DF_1_NODIRECT): New macro.
29754 (DF_1_IGNMULDEF): Likewise.
29755 (DF_1_NOKSYMS): Likewise.
29756 (DF_1_NOHDR): Likewise.
29757 (DF_1_EDITED): Likewise.
29758 (DF_1_NORELOC): Likewise.
29759 (DF_1_SYMINTPOSE): Likewise.
29760 (DF_1_GLOBAUDIT): Likewise.
29761 (DF_1_SINGLETON): Likewise.
29762 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29763 DT_1_SUPPORTED_MASK bits.
29764 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29765
105ce2ce
CD
297662012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29767
29768 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29769
123be9de
TS
297702012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29771
d072f3f7
TS
29772 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29773 macro.
29774
123be9de
TS
29775 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29776 (sendmmsg): Move declarations...
29777 * socket/sys/socket.h: ... here.
29778 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29779 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29780 include it from...
29781 * socket/recvmmsg.c: ... this new file.
29782 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29783 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29784 definition of __sendmmsg hidden.
29785 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29786 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29787 Move ENOSYS stub into and include it from...
29788 * socket/sendmmsg.c: ... this new file.
29789 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29790 (sysdep_routines): Move recvmmsg and sendmmsg...
29791 * socket/Makefile (routines): ... here.
29792 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29793 (GLIBC_PRIVATE): Add __sendmmsg.
29794 * include/sys/socket.h (__sendmmsg): Add declarations.
29795 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29796 sendmmsg.
29797
cf9a5d18
JM
297982012-11-20 Joseph Myers <joseph@codesourcery.com>
29799
29800 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29801 variable I1 with __attribute__ ((unused)).
29802 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29803
ecd4caf9
JM
298042012-11-19 Joseph Myers <joseph@codesourcery.com>
29805
be14d48f
JM
29806 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29807 DUMMY variables with __attribute__ ((unused)).
29808
ecd4caf9
JM
29809 * bits/byteswap.h: Include <bits/types.h>.
29810 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29811
986cab95
PT
298122012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29813
29814 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29815 string_t. Do not manually set errno.
29816 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29817 length with __strnlen. Make sure to both set errno and return it on
29818 failure.
29819
6d33cc9d
DM
298202012-11-19 David S. Miller <davem@davemloft.net>
29821
29822 With help from Joseph Myers.
29823 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29824 very large arguments properly.
29825 * math/libm-test.inc (atan_test): New tests.
29826 (atan2_test): New tests.
29827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29829
ee663277
JM
298302012-11-19 Joseph Myers <joseph@codesourcery.com>
29831
877f2d8e
JM
29832 [BZ #14856]
29833 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29834 Define to 3.
29835
116fc08a
JM
29836 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29837 [POSIX] (EADDRNOTAVAIL): Likewise.
29838 [POSIX] (EAFNOSUPPORT): Likewise.
29839 [POSIX] (EALREADY): Likewise.
29840 [POSIX] (ECONNABORTED): Likewise.
29841 [POSIX] (ECONNREFUSED): Likewise.
29842 [POSIX] (ECONNRESET): Likewise.
29843 [POSIX] (EDESTADDRREQ): Likewise.
29844 [POSIX] (EDQUOT): Likewise.
29845 [POSIX] (EHOSTUNREACH): Likewise.
29846 [POSIX] (EIDRM): Likewise.
29847 [POSIX] (EISCONN): Likewise.
29848 [POSIX] (ELOOP): Likewise.
29849 [POSIX] (EMULTIHOP): Likewise.
29850 [POSIX] (ENETDOWN): Likewise.
29851 [POSIX] (ENETUNREACH): Likewise.
29852 [POSIX] (ENOBUFS): Likewise.
29853 [POSIX] (ENODATA): Likewise.
29854 [POSIX] (ENOLINK): Likewise.
29855 [POSIX] (ENOMSG): Likewise.
29856 [POSIX] (ENOPROTOOPT): Likewise.
29857 [POSIX] (ENOSR): Likewise.
29858 [POSIX] (ENOSTR): Likewise.
29859 [POSIX] (ENOTCONN): Likewise.
29860 [POSIX] (ENOTSOCK): Likewise.
29861 [POSIX] (EOPNOTSUPP): Likewise.
29862 [POSIX] (EOVERFLOW): Likewise.
29863 [POSIX] (EPROTO): Likewise.
29864 [POSIX] (EPROTONOSUPPORT): Likewise.
29865 [POSIX] (EPROTOTYPE): Likewise.
29866 [POSIX] (ESTALE): Likewise.
29867 [POSIX] (ETIME): Likewise.
29868 [POSIX] (ETXTBSY): Likewise.
29869 [POSIX] (EWOULDBLOCK): Likewise.
29870 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29871 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29872 [POSIX] (SEEK_CUR): Likewise.
29873 [POSIX] (SEEK_END): Likewise.
29874 [POSIX || UNIX98] (mode_t): Do not require.
29875 [POSIX] (off_t): Likewise.
29876 [POSIX] (pid_t): Likewise.
29877 [POSIX] (sys/stat.h): Do not allow header.
29878 [POSIX] (unistd.h): Likewise.
29879 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29880 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29881 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29882 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29883 require.
29884 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29885 sigevent): Specify elements.
29886 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29887 entry.
29888 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29889 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29890
a483863f
JM
29891 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29892 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29893 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29894 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29895 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29896 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29897 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29898 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29899 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29900 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29901 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29902 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29903 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29904 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29905 Likewise.
29906 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29907 Likewise.
29908 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29909 Likewise.
29910 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29911 Likewise.
29912 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29913 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29914 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29915 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29916 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29917 Specify lower bound on value.
29918 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29919 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29920 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29921 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29922 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29923 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29924 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29925 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29926 value.
29927 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29928 as optional.
29929 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29930 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29931 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29932 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29933 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29934 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29935 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29936 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29937 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29938 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29939 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29940 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29941 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29942 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29943 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29944 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29945 entry.
29946 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29947 optional.
29948 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29949 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29950 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29951 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29952 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29953 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29954 Likewise.
29955 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29956 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29957 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29958 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29959 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29960 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29961 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29962 as optional.
29963 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29964 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29965 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29966 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29967 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29968 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29969 specify as optional.
29970 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29971 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29972 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29973 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29974 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29975 [XPG3] (NL_LANGMAX): Likewise.
29976 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29977 [POSIX || XPG3] (NL_NMAX): Likewise.
29978 [POSIX || XPG3] (NL_SETMAX): Likewise.
29979 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29980 [XPG3] (NZERO): Likewise.
29981 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29982 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29983 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29984 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29985 (REG_ERANGE): Expect.
29986 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29987 optional-constant.
29988 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29989 Use (void) in prototype.
29990 [POSIX] (*_t): Allow.
29991 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29992 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29993 (WRDE_BADVAL): Expect.
29994
5ba924e3
JM
29995 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29996 expect.
29997 [XPG3 || XPG4] (O_RSYNC): Likewise.
29998 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29999 Likewise.
30000 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30001 [XPG3 || XPG4] (sigqueue): Likewise.
30002 [XPG3 || XPG4] (sigtimedwait): Likewise.
30003 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30004 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30005 [XPG3 || XPG4] (vsnprintf): Likewise.
30006 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30007 Likewise.
30008 [XPG3 || XPG4] (blksize_t): Likewise.
30009 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30010 Likewise.
30011 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30012 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30013 [XPG3 || XPG4] (struct itimerspec): Likewise.
30014 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30015 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30016 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30017 [XPG3 || XPG4] (clockid_t): Likewise.
30018 [XPG3 || XPG4] (timer_t): Likewise.
30019 [XPG3 || XPG4] (clock_getres): Likewise.
30020 [XPG3 || XPG4] (clock_gettime): Likewise.
30021 [XPG3 || XPG4] (clock_settime): Likewise.
30022 [XPG3 || XPG4] (nanosleep): Likewise.
30023 [XPG3 || XPG4] (timer_create): Likewise.
30024 [XPG3 || XPG4] (timer_delete): Likewise.
30025 [XPG3 || XPG4] (timer_gettime): Likewise.
30026 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30027 [XPG3 || XPG4] (timer_settime): Likewise.
30028 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30029 [XPG3 || XPG4] (getlogin_r): Likewise.
30030 [XPG3 || XPG4] (pread): Likewise.
30031 [XPG3 || XPG4] (pthread_atfork): Likewise.
30032 [XPG3 || XPG4] (pwrite): Likewise.
30033
ee663277
JM
30034 [BZ #14835]
30035 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30036 <bits/siginfo.h>.
30037
942caa16
PT
300382012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30039
e19af380
PT
30040 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30041 finalizing MALLSTREAM.
30042
942caa16
PT
30043 * sysdeps/mach/hurd/syncfs.c: New file.
30044
cfde9b46
SP
300452012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30046
30047 [BZ #14719]
30048 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30049 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30050 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30051 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30052 (_nss_dns_gethostbyname4_r): Likewise.
30053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30054 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30055
f6da27e5
PH
300562012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30057
30058 [BZ #13763]
30059 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30060
6665d4a2
SM
300612012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30062
1f51ee92
SM
30063 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30064 * elf/cache.c (print_entry): Print ",AArch64" for
30065 FLAG_AARCH64_LIB64
30066
6665d4a2
SM
30067 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30068 * elf/cache.c (print_entry): Print ",hard-float" for
30069 FLAG_ARM_LIBHF.
30070
05b227bd
DM
300712012-11-18 David S. Miller <davem@davemloft.net>
30072
30073 With help from Joseph Myers.
30074 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30075 cutoff to 2**-13.
30076 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30077 cutoff to 2**-25.
30078 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30079 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30080 small.
30081 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30082 * math/libm-test.inc (y0_test): New tests.
30083 (y1_test): New tests.
30084 * sysdeps/i386/fpu/libm-test-ulps: Update.
30085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30087
786b0b67
AS
300882012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30089
30090 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30091 64-bit targets.
30092 * configure: Regenerated.
30093
8e18b86d
DM
300942012-11-17 David S. Miller <davem@davemloft.net>
30095
30096 [BZ #14811]
30097 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30098 nonzero exponents with absolute value below 0x1p-128 to +/-
30099 0x1p-128.
30100
531f1ae0
JM
301012012-11-17 Joseph Myers <joseph@codesourcery.com>
30102
12df29e2
JM
30103 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30104
150dc1a0
JM
30105 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30106
531f1ae0
JM
30107 * posix/getconf-speclist.c: New file.
30108 * posix/posix-envs.def: Likewise.
30109 * posix/confstr.c (START_ENV_GROUP): New macro.
30110 (END_ENV_GROUP): Likewise.
30111 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30112 (KNOWN_PRESENT_ENV_STRING): Likewise.
30113 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30114 (UNKNOWN_ENVIRONMENT): Likewise.
30115 (confstr): Include posix-envs.def instead of handling
30116 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30117 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30118 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30119 (END_ENV_GROUP): Likewise.
30120 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30121 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30122 (UNKNOWN_ENVIRONMENT): Likewise.
30123 (__sysconf): Include posix-envs.def instead of handling associated
30124 cases directly here.
30125 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30126 preprocessing getconf-speclist.c rather than running getconf or
30127 generating empty file.
30128
a93f9cbc
PT
301292012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30130
30131 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30132
d64d9f87
AL
301332012-11-16 Andrej Lajovic <natrij@gmail.com>
30134
30135 [BZ #14672]
30136 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30137
447885eb
DM
301382012-11-16 David S. Miller <davem@davemloft.net>
30139
30140 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30141 smaller than LDBL_EPSILON/2.0L, just return xm1.
30142
bcbf9830
L
301432012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30144
30145 * elf/tst-array1.c (init): Set constructor priority to 1000.
30146 (fini): Set destructor priority to 1000.
30147 * elf/tst-array2dep.c: Likewise.
30148
2b766585
SP
301492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30150
30151 [BZ #11741]
30152 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30153 (_IO_new_file_xsputn): Also return EOF if none of the input
30154 data was written when overflow failed.
30155 * libio/iopadn.c (_IO_padn): Likewise.
30156 * libio/iowpadn.c (_IO_wpadn): Likewise.
30157 * stdio-common/tst-put-error.c: Add copyright notice.
30158 (do_test): Add case for printing padded string.
30159 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30160 _IO_padn returned error.
30161 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30162 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30163 return EOF.
30164
b1848fde
SP
301652012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30166
30167 * libio/libioP.h: Add comment note that the references to C++
30168 bits are now obsolete.
30169
2fd89785
MS
301702012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30171
30172 * math/libm-test.inc (check_complex): Use asprintf.
30173
e3ea5409
JM
301742012-11-14 Joseph Myers <joseph@codesourcery.com>
30175
30176 * debug/pcprofiledump.c (print_version): Update copyright year.
30177 * malloc/memusagestat.c (print_version): Likewise.
30178
2e64d265
L
301792012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30180
30181 [BZ #14831]
30182 * elf/Makefile (tests): Add tst-audit8.
30183 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30184 ($(objpfx)tst-audit8.out): New target.
30185 (tst-audit8-ENV): New variable.
30186 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30187 audit if l_reloc_result is NULL.
30188 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30189 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30190 * elf/tst-audit8.c: New file.
30191
c485e4d2
MS
301922012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30193
30194 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30195 * misc/Makefile (CFLAGS-select.c): Define.
30196 * posix/Makefile (CFLAGS-pause.c): Define.
30197
3a0d900a
DM
301982012-11-13 David S. Miller <davem@davemloft.net>
30199
30200 * crypt/Makefile: Move test targets after toplevel Rules
30201 inclusion. Grab any necessary sysdep routines when linking.
30202 * crypt/md5.c (md5_process_block): Remove define, we will always
30203 name it __md5_process_block.
30204 (md5_finish_ctx): Update md5_process_block call.
30205 (md5_stream): Likewise.
30206 (md5_process_bytes): Likewise.
30207 (md5_process_block): Rename to __md5_process_block and move to ...
30208 * crypt/md5-block.c: ... here.
30209 * crypt/sha256.c (sha256_process_block): Move to ...
30210 * crypt/sha256-block.c: ... here.
30211 * crypt/sha512.c (sha512_process_block): Move to ...
30212 * crypt/sha512-block.c: ... here.
30213 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30214 path.
30215 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30216 * sysdeps/sparc/sparc64/multiarch/Makefile
30217 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30218 crypt subdir.
30219 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30220 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30221 multiarch changes.
30222 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30223 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30224 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30225 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30226 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30227 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30228 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30229 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30230 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30231 file.
30232 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30233 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30234 file.
30235 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30236
8ca89318
JM
302372012-11-13 Joseph Myers <joseph@codesourcery.com>
30238
e27d476a
JM
30239 * timezone/tzselect.ksh: Update from tzcode git revision
30240 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30241 * timezone/zdump.c: Likewise.
30242 * timezone/zic.c: Likewise.
30243 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30244 in TZVERSION setting, not $(PKGVERSION).
30245 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30246 REPORT_BUGS_TO settings.
30247
8ca89318
JM
30248 [BZ #14838]
30249 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30250 macro.
30251
47594329
MS
302522012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30253
30254 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30255 detection to immediately after _FP_ROUND().
30256 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30257 bits are 0.
30258
640ac3f1
DM
302592012-11-11 David S. Miller <davem@davemloft.net>
30260
30261 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30262 inttypes.h
30263 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30264 __close rather than their public counterparts.
30265
3d2577bb
JM
302662012-11-10 Joseph Myers <joseph@codesourcery.com>
30267
30268 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30269 file.
30270 [UNIX98] (sem_timedwait): Do not expect.
30271 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30272 [XPG4 || UNIX98] (sockatmark): Do not expect.
30273 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30274 (clock_getcpuclockid): Do not expect.
30275 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30276 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30277 Do not expect.
30278 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30279 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30280 [UNIX98] (vwscanf): Likewise.
30281 [UNIX98] (vswscanf): Likewise.
30282
fb1ae1ee
JM
302832012-11-09 Joseph Myers <joseph@codesourcery.com>
30284
9ec6f8bd
JM
30285 * timezone/version.h: Remove file.
30286 * timezone/README: Do not refer to version.h.
30287 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30288 $(objpfx)version.h.
30289 ($(objpfx)zdump.o): Likewise.
c3f81911 30290 ($(objpfx)version.h): New target.
9ec6f8bd 30291
0aa8f8a1
JM
30292 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30293 2012i.
30294 * timezone/README: Don't mention modification to tzselect.ksh.
30295 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30296 work on unmodified tzselect.ksh. Substitute version numbers in
30297 tzselect.ksh.
30298
4e87147f
JM
30299 * Makefile (format-me): Remove.
30300 (INSTALL): Adjust indentation. Use commands directly instead of
30301 using $(format-me).
30302
8b748aed
JM
30303 * aclocal.m4 (ACX_PKGVERSION): New macro.
30304 (ACX_BUGURL): Likewise.
30305 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30306 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30307 (REPORT_BUGS_TO): Likewise.
30308 * configure: Regenerated.
30309 * config.h.in (PKGVERSION): New macro.
30310 (REPORT_BUGS_TO): Likewise.
30311 * config.make.in (PKGVERSION): New variable.
30312 (PKGVERSION_TEXI): Likewise.
30313 (REPORT_BUGS_TO): Likewise.
30314 (REPORT_BUGS_TEXI): Likewise.
30315 * Makefile (format-me): Use -I$(common-objpfx)manual.
30316 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30317 ($(common-objpfx)manual/%): New target.
30318 (manual/%): Remove target.
30319 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30320 (print_version): Use PKGVERSION.
30321 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30322 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30323 and REPORT_BUGS_TO.
30324 ($(objpfx)xtrace): Likewise.
30325 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30326 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30327 (print_version): Use PKGVERSION.
30328 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30329 (do_version): Use PKGVERSION.
30330 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30331 REPORT_BUGS_TO.
30332 (common-ldd-rewrite): Likewise.
30333 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30334 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30335 (print_version): Use PKGVERSION.
30336 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30337 * elf/pldd.c (argp_program_bug_address): Remove variable.
30338 (more_help): New function.
30339 (argp): Use more_help.
30340 (print_version): Use PKGVERSION.
30341 * elf/sln.c (main): Use PKGVERSION.
30342 (usage): Use REPORT_BUGS_TO.
30343 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30344 (top level): Use PKGVERSION.
30345 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30346 (print_version): Use PKGVERSION.
30347 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30348 (print_version): Use PKGVERSION.
30349 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30350 (print_version): Use PKGVERSION.
30351 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30352 (print_version): Use PKGVERSION.
30353 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30354 (print_version): Use PKGVERSION.
30355 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30356 (print_version): Use PKGVERSION.
30357 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30358 and BUGURL.
30359 ($(objpfx)memusage): Likewise.
30360 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30361 (do_version): Use PKGVERSION.
30362 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30363 (print_version): Use PKGVERSION.
30364 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30365 ($PKGVERSION): New variable.
30366 ($REPORT_BUGS_TO): Likewise.
30367 (usage): Use $REPORT_BUGS_TO.
30368 (top level): Use $PKGVERSION.
30369 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30370 ($(objpfx)pkgvers.texi): New rule.
30371 ($(objpfx)stamp-pkgvers): Likewise.
30372 * manual/install.texi: Include pkgvers.texi.
30373 (--with-pkgversion): Document new configure option.
30374 (--with-bugurl): Likewise.
30375 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30376 than necessarily for this particular distribution. Use
30377 REPORT_BUGS_TO for where to report bugs.
30378 * INSTALL: Regenerated.
30379 * manual/libc.texinfo: Include pkgvers.texi.
30380 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30381 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30382 (print_version): Use PKGVERSION.
30383 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30384 (print_version): Use PKGVERSION.
30385 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30386 (print_version): Use PKGVERSION.
30387 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30388 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30389 macro.
30390 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30391 (print_version): Use PKGVERSION.
30392 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30393 (print_version): Use PKGVERSION.
30394 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30395 and PKGVERSION.
30396
92e4b6a9
JM
30397 * timezone/checktab.awk: Update from tzcode 2012i.
30398 * timezone/ialloc.c: Likewise.
30399 * timezone/private.h: Likewise.
30400 * timezone/scheck.c: Likewise.
30401 * timezone/tzfile.h: Likewise.
30402 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30403 (TZVERSION): Hardcode tzcode version number.
30404 * timezone/zdump.c: Update from tzcode 2012i.
30405 * timezone/zic.c: Likewise.
30406 * timezone/version.h: New file.
30407 * timezone/README: Describe version.h. Update upstream location.
30408
9bde902c
JM
30409 [BZ #14824]
30410 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30411 (mktemp): Enable declaration.
30412 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30413 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30415 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30416 Likewise.
30417 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30418 Likewise.
30419 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30420 Likewise.
30421 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30422 Likewise.
30423 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30424 Likewise.
30425 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30426 Likewise.
30427
fb1ae1ee
JM
30428 [BZ #14821]
30429 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30430 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30431 for copies of such integer values.
30432 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30433 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30434
2c1adbcb
AJ
304352012-11-09 Andreas Jaeger <aj@suse.de>
30436
30437 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30438 definitions and declarations that are provided by
30439 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30440
d0f8457e
AK
304412012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30442
3a235abb 30443 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
30444 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30445 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30446 definition.
30447
57241e26
MS
304482012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30449
30450 * elf/elf.h: Update comment before AArch64 relocations.
30451
60e8270d
DM
304522012-11-07 David S. Miller <davem@davemloft.net>
30453
30454 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30455 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30456 (__start_context): Declare.
30457 (__makecontext_ret): Delete.
30458 (__makecontext): Hook up __start_context instead of
30459 __makecontext_ret.
30460 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30461 (sysdep_routines): Add __start_context when in stdlib.
30462
0fbb0fbc
JM
304632012-11-07 Joseph Myers <joseph@codesourcery.com>
30464
30465 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30466 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30467 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30468 hardcoded "nm".
30469 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30470 (READELF): New variable. Use it instead of hardcoded "readelf".
30471
eb48db7e
L
304722012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30473
30474 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30475 * sysdeps/x86/Makefile: Here.
30476 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30477 * sysdeps/x86/tst-xmmymm.sh: This.
30478
05bcf62a
JM
304792012-11-07 Joseph Myers <joseph@codesourcery.com>
30480
c4b6cf53
JM
30481 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30482 expectations.
30483 [UNIX98] (pthread_barrier_t): Do not expect.
30484 [UNIX98] (pthread_barrierattr_t): Likewise.
30485 [UNIX98] (pthread_spinlock_t): Likewise.
30486 [UNIX98] (pthread_barrier_destroy): Likewise.
30487 [UNIX98] (pthread_barrier_init): Likewise.
30488 [UNIX98] (pthread_barrier_wait): Likewise.
30489 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30490 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30491 [UNIX98] (pthread_barrierattr_init): Likewise.
30492 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30493 [UNIX98] (pthread_getcpuclockid): Likewise.
30494 [UNIX98] (pthread_mutex_timedlock): Likewise.
30495 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30496 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30497 [UNIX98] (pthread_sigmask): Likewise.
30498 [UNIX98] (pthread_spin_destroy): Likewise.
30499 [UNIX98] (pthread_spin_init): Likewise.
30500 [UNIX98] (pthread_spin_lock): Likewise.
30501 [UNIX98] (pthread_spin_trylock): Likewise.
30502 [UNIX98] (pthread_spin_unlock): Likewise.
30503 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30504 Do not expect.
30505 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30506 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30507 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30508 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30509 [XPG3 || XPG4] (pthread_key_t): Likewise.
30510 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30511 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30512 [XPG3 || XPG4] (pthread_once_t): Likewise.
30513 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30514 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30515 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30516 [XPG3 || XPG4] (pthread_t): Likewise.
30517
cbe6e120
JM
30518 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30519 not expect.
30520 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30521
1b126443
JM
30522 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30523 Change function return type to int.
30524
b961a573
JM
30525 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30526 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30527 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30528 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30529 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30530 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30531 [!POSIX] (posix_madvise): Likewise.
30532 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30533 && !UNIX98].
30534 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30535 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30536 (mode_t): Likewise.
30537 (posix_mem_offset): Likewise.
30538 (posix_typed_mem_get_info): Likewise.
30539 (posix_typed_mem_open): Likewise.
30540
9e188909
JM
30541 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30542 Change condition to [XOPEN2K8].
30543
05bcf62a
JM
30544 * conform/conformtest.pl: Preprocess allow-header data with -x c
30545 instead of from stdin.
30546 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30547 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30548 [C99-based standards] (cerfc): Likewise.
30549 [C99-based standards] (cexp2): Likewise.
30550 [C99-based standards] (cexpm1): Likewise.
30551 [C99-based standards] (clog10): Likewise.
30552 [C99-based standards] (clog1p): Likewise.
30553 [C99-based standards] (clog2): Likewise.
30554 [C99-based standards] (clgamma): Likewise.
30555 [C99-based standards] (ctgamma): Likewise.
30556 [C99-based standards] (cerff): Likewise.
30557 [C99-based standards] (cerfcf): Likewise.
30558 [C99-based standards] (cexp2f): Likewise.
30559 [C99-based standards] (cexpm1f): Likewise.
30560 [C99-based standards] (clog10f): Likewise.
30561 [C99-based standards] (clog1pf): Likewise.
30562 [C99-based standards] (clog2f): Likewise.
30563 [C99-based standards] (clgammaf): Likewise.
30564 [C99-based standards] (ctgammaf): Likewise.
30565 [C99-based standards] (cerfl): Likewise.
30566 [C99-based standards] (cerfcl): Likewise.
30567 [C99-based standards] (cexp2l): Likewise.
30568 [C99-based standards] (cexpm1l): Likewise.
30569 [C99-based standards] (clog10l): Likewise.
30570 [C99-based standards] (clog1pl): Likewise.
30571 [C99-based standards] (clog2l): Likewise.
30572 [C99-based standards] (clgammal): Likewise.
30573 [C99-based standards] (ctgammal): Likewise.
30574 * conform/data/inttypes.h-data [C99-based standards]: Include
30575 stdint.h-data. Remove all expectations for stdint.h contents.
30576 [C99-based standards] (PRI*): Do not allow.
30577 [C99-based standards] (SCN*): Likewise.
30578 [C99-based standards] (*_t): Likewise.
30579 [C99-based-standards] (PRId8): Expect macro.
30580 [C99-based-standards] (PRIi8): Likewise.
30581 [C99-based-standards] (PRIo8): Likewise.
30582 [C99-based-standards] (PRIu8): Likewise.
30583 [C99-based-standards] (PRIx8): Likewise.
30584 [C99-based-standards] (PRIX8): Likewise.
30585 [C99-based-standards] (SCNd8): Likewise.
30586 [C99-based-standards] (SCNi8): Likewise.
30587 [C99-based-standards] (SCNo8): Likewise.
30588 [C99-based-standards] (SCNu8): Likewise.
30589 [C99-based-standards] (SCNx8): Likewise.
30590 [C99-based-standards] (PRIdLEAST8): Likewise.
30591 [C99-based-standards] (PRIiLEAST8): Likewise.
30592 [C99-based-standards] (PRIoLEAST8): Likewise.
30593 [C99-based-standards] (PRIuLEAST8): Likewise.
30594 [C99-based-standards] (PRIxLEAST8): Likewise.
30595 [C99-based-standards] (PRIXLEAST8): Likewise.
30596 [C99-based-standards] (SCNdLEAST8): Likewise.
30597 [C99-based-standards] (SCNiLEAST8): Likewise.
30598 [C99-based-standards] (SCNoLEAST8): Likewise.
30599 [C99-based-standards] (SCNuLEAST8): Likewise.
30600 [C99-based-standards] (SCNxLEAST8): Likewise.
30601 [C99-based-standards] (PRIdFAST8): Likewise.
30602 [C99-based-standards] (PRIiFAST8): Likewise.
30603 [C99-based-standards] (PRIoFAST8): Likewise.
30604 [C99-based-standards] (PRIuFAST8): Likewise.
30605 [C99-based-standards] (PRIxFAST8): Likewise.
30606 [C99-based-standards] (PRIXFAST8): Likewise.
30607 [C99-based-standards] (SCNdFAST8): Likewise.
30608 [C99-based-standards] (SCNiFAST8): Likewise.
30609 [C99-based-standards] (SCNoFAST8): Likewise.
30610 [C99-based-standards] (SCNuFAST8): Likewise.
30611 [C99-based-standards] (SCNxFAST8): Likewise.
30612 [C99-based-standards] (PRId16): Likewise.
30613 [C99-based-standards] (PRIi16): Likewise.
30614 [C99-based-standards] (PRIo16): Likewise.
30615 [C99-based-standards] (PRIu16): Likewise.
30616 [C99-based-standards] (PRIx16): Likewise.
30617 [C99-based-standards] (PRIX16): Likewise.
30618 [C99-based-standards] (SCNd16): Likewise.
30619 [C99-based-standards] (SCNi16): Likewise.
30620 [C99-based-standards] (SCNo16): Likewise.
30621 [C99-based-standards] (SCNu16): Likewise.
30622 [C99-based-standards] (SCNx16): Likewise.
30623 [C99-based-standards] (PRIdLEAST16): Likewise.
30624 [C99-based-standards] (PRIiLEAST16): Likewise.
30625 [C99-based-standards] (PRIoLEAST16): Likewise.
30626 [C99-based-standards] (PRIuLEAST16): Likewise.
30627 [C99-based-standards] (PRIxLEAST16): Likewise.
30628 [C99-based-standards] (PRIXLEAST16): Likewise.
30629 [C99-based-standards] (SCNdLEAST16): Likewise.
30630 [C99-based-standards] (SCNiLEAST16): Likewise.
30631 [C99-based-standards] (SCNoLEAST16): Likewise.
30632 [C99-based-standards] (SCNuLEAST16): Likewise.
30633 [C99-based-standards] (SCNxLEAST16): Likewise.
30634 [C99-based-standards] (PRIdFAST16): Likewise.
30635 [C99-based-standards] (PRIiFAST16): Likewise.
30636 [C99-based-standards] (PRIoFAST16): Likewise.
30637 [C99-based-standards] (PRIuFAST16): Likewise.
30638 [C99-based-standards] (PRIxFAST16): Likewise.
30639 [C99-based-standards] (PRIXFAST16): Likewise.
30640 [C99-based-standards] (SCNdFAST16): Likewise.
30641 [C99-based-standards] (SCNiFAST16): Likewise.
30642 [C99-based-standards] (SCNoFAST16): Likewise.
30643 [C99-based-standards] (SCNuFAST16): Likewise.
30644 [C99-based-standards] (SCNxFAST16): Likewise.
30645 [C99-based-standards] (PRId32): Likewise.
30646 [C99-based-standards] (PRIi32): Likewise.
30647 [C99-based-standards] (PRIo32): Likewise.
30648 [C99-based-standards] (PRIu32): Likewise.
30649 [C99-based-standards] (PRIx32): Likewise.
30650 [C99-based-standards] (PRIX32): Likewise.
30651 [C99-based-standards] (SCNd32): Likewise.
30652 [C99-based-standards] (SCNi32): Likewise.
30653 [C99-based-standards] (SCNo32): Likewise.
30654 [C99-based-standards] (SCNu32): Likewise.
30655 [C99-based-standards] (SCNx32): Likewise.
30656 [C99-based-standards] (PRIdLEAST32): Likewise.
30657 [C99-based-standards] (PRIiLEAST32): Likewise.
30658 [C99-based-standards] (PRIoLEAST32): Likewise.
30659 [C99-based-standards] (PRIuLEAST32): Likewise.
30660 [C99-based-standards] (PRIxLEAST32): Likewise.
30661 [C99-based-standards] (PRIXLEAST32): Likewise.
30662 [C99-based-standards] (SCNdLEAST32): Likewise.
30663 [C99-based-standards] (SCNiLEAST32): Likewise.
30664 [C99-based-standards] (SCNoLEAST32): Likewise.
30665 [C99-based-standards] (SCNuLEAST32): Likewise.
30666 [C99-based-standards] (SCNxLEAST32): Likewise.
30667 [C99-based-standards] (PRIdFAST32): Likewise.
30668 [C99-based-standards] (PRIiFAST32): Likewise.
30669 [C99-based-standards] (PRIoFAST32): Likewise.
30670 [C99-based-standards] (PRIuFAST32): Likewise.
30671 [C99-based-standards] (PRIxFAST32): Likewise.
30672 [C99-based-standards] (PRIXFAST32): Likewise.
30673 [C99-based-standards] (SCNdFAST32): Likewise.
30674 [C99-based-standards] (SCNiFAST32): Likewise.
30675 [C99-based-standards] (SCNoFAST32): Likewise.
30676 [C99-based-standards] (SCNuFAST32): Likewise.
30677 [C99-based-standards] (SCNxFAST32): Likewise.
30678 [C99-based-standards] (PRId64): Likewise.
30679 [C99-based-standards] (PRIi64): Likewise.
30680 [C99-based-standards] (PRIo64): Likewise.
30681 [C99-based-standards] (PRIu64): Likewise.
30682 [C99-based-standards] (PRIx64): Likewise.
30683 [C99-based-standards] (PRIX64): Likewise.
30684 [C99-based-standards] (SCNd64): Likewise.
30685 [C99-based-standards] (SCNi64): Likewise.
30686 [C99-based-standards] (SCNo64): Likewise.
30687 [C99-based-standards] (SCNu64): Likewise.
30688 [C99-based-standards] (SCNx64): Likewise.
30689 [C99-based-standards] (PRIdLEAST64): Likewise.
30690 [C99-based-standards] (PRIiLEAST64): Likewise.
30691 [C99-based-standards] (PRIoLEAST64): Likewise.
30692 [C99-based-standards] (PRIuLEAST64): Likewise.
30693 [C99-based-standards] (PRIxLEAST64): Likewise.
30694 [C99-based-standards] (PRIXLEAST64): Likewise.
30695 [C99-based-standards] (SCNdLEAST64): Likewise.
30696 [C99-based-standards] (SCNiLEAST64): Likewise.
30697 [C99-based-standards] (SCNoLEAST64): Likewise.
30698 [C99-based-standards] (SCNuLEAST64): Likewise.
30699 [C99-based-standards] (SCNxLEAST64): Likewise.
30700 [C99-based-standards] (PRIdFAST64): Likewise.
30701 [C99-based-standards] (PRIiFAST64): Likewise.
30702 [C99-based-standards] (PRIoFAST64): Likewise.
30703 [C99-based-standards] (PRIuFAST64): Likewise.
30704 [C99-based-standards] (PRIxFAST64): Likewise.
30705 [C99-based-standards] (PRIXFAST64): Likewise.
30706 [C99-based-standards] (SCNdFAST64): Likewise.
30707 [C99-based-standards] (SCNiFAST64): Likewise.
30708 [C99-based-standards] (SCNoFAST64): Likewise.
30709 [C99-based-standards] (SCNuFAST64): Likewise.
30710 [C99-based-standards] (SCNxFAST64): Likewise.
30711 [C99-based-standards] (PRIdMAX): Likewise.
30712 [C99-based-standards] (PRIiMAX): Likewise.
30713 [C99-based-standards] (PRIoMAX): Likewise.
30714 [C99-based-standards] (PRIuMAX): Likewise.
30715 [C99-based-standards] (PRIxMAX): Likewise.
30716 [C99-based-standards] (PRIXMAX): Likewise.
30717 [C99-based-standards] (SCNdMAX): Likewise.
30718 [C99-based-standards] (SCNiMAX): Likewise.
30719 [C99-based-standards] (SCNoMAX): Likewise.
30720 [C99-based-standards] (SCNuMAX): Likewise.
30721 [C99-based-standards] (SCNxMAX): Likewise.
30722 [C99-based-standards] (PRIdPTR): Likewise.
30723 [C99-based-standards] (PRIiPTR): Likewise.
30724 [C99-based-standards] (PRIoPTR): Likewise.
30725 [C99-based-standards] (PRIuPTR): Likewise.
30726 [C99-based-standards] (PRIxPTR): Likewise.
30727 [C99-based-standards] (PRIXPTR): Likewise.
30728 [C99-based-standards] (SCNdPTR): Likewise.
30729 [C99-based-standards] (SCNiPTR): Likewise.
30730 [C99-based-standards] (SCNoPTR): Likewise.
30731 [C99-based-standards] (SCNuPTR): Likewise.
30732 [C99-based-standards] (SCNxPTR): Likewise.
30733 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30734 allow.
30735 * conform/data/stdint.h-data: Update comments to clarify
30736 requirements.
30737 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30738 type.
30739 [C99-based standards] (INT8_MAX): Likewise.
30740 [C99-based standards] (INT16_MIN): Likewise.
30741 [C99-based standards] (INT16_MAX): Likewise.
30742 [C99-based standards] (INT32_MIN): Likewise.
30743 [C99-based standards] (INT32_MAX): Likewise.
30744 [C99-based standards] (INT64_MIN): Likewise.
30745 [C99-based standards] (INT64_MAX): Likewise.
30746 [C99-based standards] (UINT8_MAX): Likewise.
30747 [C99-based standards] (UINT16_MAX): Likewise.
30748 [C99-based standards] (UINT32_MAX): Likewise.
30749 [C99-based standards] (UINT64_MAX): Likewise.
30750 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30751 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30752 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30753 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30754 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30755 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30756 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30757 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30758 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30759 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30760 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30761 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30762 [C99-based standards] (INT_FAST8_MIN): Likewise.
30763 [C99-based standards] (INT_FAST8_MAX): Likewise.
30764 [C99-based standards] (INT_FAST16_MIN): Likewise.
30765 [C99-based standards] (INT_FAST16_MAX): Likewise.
30766 [C99-based standards] (INT_FAST32_MIN): Likewise.
30767 [C99-based standards] (INT_FAST32_MAX): Likewise.
30768 [C99-based standards] (INT_FAST64_MIN): Likewise.
30769 [C99-based standards] (INT_FAST64_MAX): Likewise.
30770 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30771 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30772 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30773 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30774 [C99-based standards] (INTPTR_MIN): Likewise.
30775 [C99-based standards] (INTPTR_MAX): Likewise.
30776 [C99-based standards] (UINTPTR_MAX): Likewise.
30777 [C99-based standards] (INTMAX_MIN): Likewise.
30778 [C99-based standards] (INTMAX_MAX): Likewise.
30779 [C99-based standards] (UINTMAX_MAX): Likewise.
30780 [C99-based standards] (PTRDIFF_MIN): Likewise.
30781 [C99-based standards] (PTRDIFF_MAX): Likewise.
30782 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30783 [C99-based standards] (SIZE_MAX): Likewise.
30784 [C99-based standards] (WCHAR_MAX): Likewise.
30785 [C99-based standards] (WINT_MAX): Likewise.
30786 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30787 constraint on value.
30788 [C99-based standards] (WCHAR_MIN): Likewise.
30789 [C99-based standards] (WINT_MIN): Likewise.
30790 [C99-based standards] (*_t): Allow.
30791 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30792 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30793 Include math.h-data and complex.h-data. Remove all expectations
30794 of math.h and complex.h contents.
30795 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30796 at end of line.
30797 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30798 (struct tm): Expect tag.
30799 [C99-based-standards] (wcstof): Expect function.
30800 [C99-based-standards] (wcstold): Likewise.
30801 [C99-based-standards] (wcstoll): Likewise.
30802 [C99-based-standards] (wcstoull): Likewise.
30803 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30804 macro-int-constant. Specify type.
30805 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30806 constraint on value.
30807 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30808 Specify type.
30809 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30810 Specify value.
30811 [ISO C standards]: Do not allow headers.
30812 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30813 wcs[abcdefghijklmnopqrstuvwxyz]*.
30814 [ISO C standards] (*_t): Do not allow.
30815 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30816 Expect function.
30817 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30818 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30819 Specify type.
30820 [ISO C standards]: Do not allow headers.
30821 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30822 is[abcdefghijklmnopqrstuvwxyz]*.
30823 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30824 to[abcdefghijklmnopqrstuvwxyz]*.
30825 [ISO C standards] (*_t): Do not allow.
30826 * conform/data/stdalign.h-data: New file.
30827 * conform/data/stdbool.h-data: Likewise.
30828 * conform/data/stdnoreturn.h-data: Likewise.
30829
7514feb8
RM
308302012-11-07 Roland McGrath <roland@hack.frob.com>
30831
30832 [BZ #14815]
30833 * manual/filesys.texi (Directory Entries): Typo fix.
30834 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30835
19b2ecfc
MS
308362012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30837
30838 * elf/elf.h (EM_AARCH64): New macro.
30839 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30840 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30841 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30842 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30843 (R_AARCH64_TLSDESC): Likewise.
30844 (NT_ARM_TLS): Likewise.
30845 (NT_ARM_HW_BREAK): Likewise.
30846 (NT_ARM_HW_WATCH): Likewise.
30847
60e235ee
JM
308482012-11-07 Joseph Myers <joseph@codesourcery.com>
30849
30850 [BZ #14811]
30851 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30852 (__ieee754_powl): Saturate nonzero exponents with absolute value
30853 below 0x1p-79 to +/- 0x1p-79.
30854 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30855 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30856 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30857 nonzero exponents with absolute value below 0x1p-32 to +/-
30858 0x1p-32.
30859 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30860 (__ieee754_powl): Saturate nonzero exponents with absolute value
30861 below 0x1p-79 to +/- 0x1p-79.
30862 * math/libm-test.inc (pow_test): Add more tests.
30863
0ab234b7
AK
308642012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30865
30866 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30867 _dl_s390_cap_flags with kernel. Increase string length.
30868 (_dl_s390_platforms): Add z196 and zEC12.
30869
45832f74
JM
308702012-11-07 Joseph Myers <joseph@codesourcery.com>
30871
30872 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30873 Change XOPEN21K to XOPEN2K.
30874
19218757
MK
308752012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30876
30877 * string/memmove.c: Use memcpy when possible.
30878
c5f45721
AJ
308792012-11-06 Andreas Jaeger <aj@suse.de>
30880
30881 * po/eo.po: Update from translation team.
30882
82477c28
JM
308832012-11-06 Joseph Myers <joseph@codesourcery.com>
30884
30885 [BZ #14793]
30886 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30887 exponent and small x and y exponents, scale x or y up. Increase
30888 by 2 the exponent used in scaling up.
30889 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30890 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30891 * math/libm-test.inc (fma_test): Add more tests.
30892 (fma_test_towardzero): Likewise.
30893 (fma_test_downward): Likewise.
30894 (fma_test_upward): Likewise.
30895
99252c8c
JM
308962012-11-05 Joseph Myers <joseph@codesourcery.com>
30897
acfa885f
JM
30898 [BZ #14805]
30899 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30900 fenv_t *.
30901
99252c8c
JM
30902 [BZ #14801]
30903 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30904 namespace for names of struct fields.
30905 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30906 fenv_t fields.
30907 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30908 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30909
d6d98dea
ST
309102012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30911
30912 [BZ #3665]
30913 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30914
e10bb107
TS
309152012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30916
30917 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30918 PTR_DEMANGLE.
30919
30920 [BZ #5246]
30921 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30922 PTR_DEMANGLE.
30923
a0c2940d
JM
309242012-11-04 Joseph Myers <joseph@codesourcery.com>
30925
30926 [BZ #14797]
30927 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30928 definitely overflow as x * y not x * y + z.
30929 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30930 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30931 * math/libm-test.inc (fma_test): Add more tests.
30932 (fma_test_towardzero): Likewise.
30933 (fma_test_downward): Likewise.
30934 (fma_test_upward): Likewise.
30935
b830319d
TS
309362012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30937
30938 [BZ #157]
30939
30940 * include/stub-tag.h: Remove file.
30941 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30942 '#include' of it.
30943 * manual/maint.texi (Porting): Don't reference it.
30944 * Makerules ($(objpfx)stubs): Likewise.
30945 * dirent/closedir.c: Don't include <stub-tag.h>.
30946 * dirent/dirfd.c: Likewise.
30947 * dirent/fdopendir.c: Likewise.
30948 * dirent/getdents.c: Likewise.
30949 * dirent/getdents64.c: Likewise.
30950 * dirent/opendir.c: Likewise.
30951 * dirent/readdir.c: Likewise.
30952 * dirent/readdir64.c: Likewise.
30953 * dirent/readdir64_r.c: Likewise.
30954 * dirent/readdir_r.c: Likewise.
30955 * dirent/rewinddir.c: Likewise.
30956 * dirent/seekdir.c: Likewise.
30957 * dirent/telldir.c: Likewise.
30958 * gmon/profil.c: Likewise.
30959 * grp/setgroups.c: Likewise.
30960 * inet/if_index.c: Likewise.
30961 * io/access.c: Likewise.
30962 * io/chdir.c: Likewise.
30963 * io/chmod.c: Likewise.
30964 * io/chown.c: Likewise.
30965 * io/close.c: Likewise.
30966 * io/dup.c: Likewise.
30967 * io/dup2.c: Likewise.
30968 * io/dup3.c: Likewise.
30969 * io/euidaccess.c: Likewise.
30970 * io/faccessat.c: Likewise.
30971 * io/fchdir.c: Likewise.
30972 * io/fchmod.c: Likewise.
30973 * io/fchmodat.c: Likewise.
30974 * io/fchown.c: Likewise.
30975 * io/fchownat.c: Likewise.
30976 * io/fcntl.c: Likewise.
30977 * io/flock.c: Likewise.
30978 * io/fstatfs.c: Likewise.
30979 * io/fstatfs64.c: Likewise.
30980 * io/fstatvfs.c: Likewise.
30981 * io/fstatvfs64.c: Likewise.
30982 * io/futimens.c: Likewise.
30983 * io/fxstat.c: Likewise.
30984 * io/fxstat64.c: Likewise.
30985 * io/fxstatat.c: Likewise.
30986 * io/fxstatat64.c: Likewise.
30987 * io/getcwd.c: Likewise.
30988 * io/isatty.c: Likewise.
30989 * io/lchmod.c: Likewise.
30990 * io/lchown.c: Likewise.
30991 * io/link.c: Likewise.
30992 * io/linkat.c: Likewise.
30993 * io/lseek.c: Likewise.
30994 * io/lseek64.c: Likewise.
30995 * io/lxstat64.c: Likewise.
30996 * io/mkdir.c: Likewise.
30997 * io/mkdirat.c: Likewise.
30998 * io/mkfifo.c: Likewise.
30999 * io/mkfifoat.c: Likewise.
31000 * io/open.c: Likewise.
31001 * io/open64.c: Likewise.
31002 * io/openat.c: Likewise.
31003 * io/openat64.c: Likewise.
31004 * io/pipe.c: Likewise.
31005 * io/pipe2.c: Likewise.
31006 * io/poll.c: Likewise.
31007 * io/posix_fadvise.c: Likewise.
31008 * io/posix_fadvise64.c: Likewise.
31009 * io/posix_fallocate.c: Likewise.
31010 * io/posix_fallocate64.c: Likewise.
31011 * io/read.c: Likewise.
31012 * io/readlink.c: Likewise.
31013 * io/readlinkat.c: Likewise.
31014 * io/rmdir.c: Likewise.
31015 * io/sendfile.c: Likewise.
31016 * io/sendfile64.c: Likewise.
31017 * io/statfs.c: Likewise.
31018 * io/statfs64.c: Likewise.
31019 * io/statvfs.c: Likewise.
31020 * io/statvfs64.c: Likewise.
31021 * io/symlink.c: Likewise.
31022 * io/symlinkat.c: Likewise.
31023 * io/ttyname.c: Likewise.
31024 * io/ttyname_r.c: Likewise.
31025 * io/umask.c: Likewise.
31026 * io/unlink.c: Likewise.
31027 * io/unlinkat.c: Likewise.
31028 * io/utime.c: Likewise.
31029 * io/utimensat.c: Likewise.
31030 * io/write.c: Likewise.
31031 * io/xmknod.c: Likewise.
31032 * io/xmknodat.c: Likewise.
31033 * io/xstat.c: Likewise.
31034 * io/xstat64.c: Likewise.
31035 * login/getpt.c: Likewise.
31036 * login/grantpt.c: Likewise.
31037 * login/unlockpt.c: Likewise.
31038 * math/e_acoshl.c: Likewise.
31039 * math/e_acosl.c: Likewise.
31040 * math/e_asinl.c: Likewise.
31041 * math/e_atan2l.c: Likewise.
31042 * math/e_atanhl.c: Likewise.
31043 * math/e_coshl.c: Likewise.
31044 * math/e_expl.c: Likewise.
31045 * math/e_fmodl.c: Likewise.
31046 * math/e_gammal_r.c: Likewise.
31047 * math/e_hypotl.c: Likewise.
31048 * math/e_j0l.c: Likewise.
31049 * math/e_j1l.c: Likewise.
31050 * math/e_jnl.c: Likewise.
31051 * math/e_lgammal_r.c: Likewise.
31052 * math/e_log10l.c: Likewise.
31053 * math/e_log2l.c: Likewise.
31054 * math/e_logl.c: Likewise.
31055 * math/e_powl.c: Likewise.
31056 * math/e_rem_pio2l.c: Likewise.
31057 * math/e_sinhl.c: Likewise.
31058 * math/e_sqrtl.c: Likewise.
31059 * math/fclrexcpt.c: Likewise.
31060 * math/fedisblxcpt.c: Likewise.
31061 * math/feenablxcpt.c: Likewise.
31062 * math/fegetenv.c: Likewise.
31063 * math/fegetexcept.c: Likewise.
31064 * math/fegetround.c: Likewise.
31065 * math/feholdexcpt.c: Likewise.
31066 * math/fesetenv.c: Likewise.
31067 * math/fesetround.c: Likewise.
31068 * math/feupdateenv.c: Likewise.
31069 * math/fgetexcptflg.c: Likewise.
31070 * math/fraiseexcpt.c: Likewise.
31071 * math/fsetexcptflg.c: Likewise.
31072 * math/ftestexcept.c: Likewise.
31073 * math/k_cosl.c: Likewise.
31074 * math/k_rem_pio2l.c: Likewise.
31075 * math/k_sinl.c: Likewise.
31076 * math/k_tanl.c: Likewise.
31077 * math/s_asinhl.c: Likewise.
31078 * math/s_atanl.c: Likewise.
31079 * math/s_cbrtl.c: Likewise.
31080 * math/s_erfl.c: Likewise.
31081 * math/s_expm1l.c: Likewise.
31082 * math/s_log1pl.c: Likewise.
31083 * math/s_tanhl.c: Likewise.
31084 * misc/acct.c: Likewise.
31085 * misc/brk.c: Likewise.
31086 * misc/chflags.c: Likewise.
31087 * misc/chroot.c: Likewise.
31088 * misc/fchflags.c: Likewise.
31089 * misc/fgetxattr.c: Likewise.
31090 * misc/flistxattr.c: Likewise.
31091 * misc/fremovexattr.c: Likewise.
31092 * misc/fsetxattr.c: Likewise.
31093 * misc/fsync.c: Likewise.
31094 * misc/ftruncate.c: Likewise.
31095 * misc/futimes.c: Likewise.
31096 * misc/futimesat.c: Likewise.
31097 * misc/getdomain.c: Likewise.
31098 * misc/getdtsz.c: Likewise.
31099 * misc/gethostid.c: Likewise.
31100 * misc/gethostname.c: Likewise.
31101 * misc/getloadavg.c: Likewise.
31102 * misc/getpagesize.c: Likewise.
31103 * misc/getsysstats.c: Likewise.
31104 * misc/getxattr.c: Likewise.
31105 * misc/gtty.c: Likewise.
31106 * misc/ioctl.c: Likewise.
31107 * misc/lgetxattr.c: Likewise.
31108 * misc/listxattr.c: Likewise.
31109 * misc/llistxattr.c: Likewise.
31110 * misc/lremovexattr.c: Likewise.
31111 * misc/lsetxattr.c: Likewise.
31112 * misc/lutimes.c: Likewise.
31113 * misc/madvise.c: Likewise.
31114 * misc/mincore.c: Likewise.
31115 * misc/mlock.c: Likewise.
31116 * misc/mlockall.c: Likewise.
31117 * misc/mmap.c: Likewise.
31118 * misc/mprotect.c: Likewise.
31119 * misc/msync.c: Likewise.
31120 * misc/munlock.c: Likewise.
31121 * misc/munlockall.c: Likewise.
31122 * misc/munmap.c: Likewise.
31123 * misc/preadv.c: Likewise.
31124 * misc/preadv64.c: Likewise.
31125 * misc/ptrace.c: Likewise.
31126 * misc/pwritev.c: Likewise.
31127 * misc/pwritev64.c: Likewise.
31128 * misc/readv.c: Likewise.
31129 * misc/reboot.c: Likewise.
31130 * misc/remap_file_pages.c: Likewise.
31131 * misc/removexattr.c: Likewise.
31132 * misc/revoke.c: Likewise.
31133 * misc/select.c: Likewise.
31134 * misc/setdomain.c: Likewise.
31135 * misc/setegid.c: Likewise.
31136 * misc/seteuid.c: Likewise.
31137 * misc/sethostid.c: Likewise.
31138 * misc/sethostname.c: Likewise.
31139 * misc/setregid.c: Likewise.
31140 * misc/setreuid.c: Likewise.
31141 * misc/setxattr.c: Likewise.
31142 * misc/sstk.c: Likewise.
31143 * misc/stty.c: Likewise.
31144 * misc/swapoff.c: Likewise.
31145 * misc/swapon.c: Likewise.
31146 * misc/sync.c: Likewise.
31147 * misc/syncfs.c: Likewise.
31148 * misc/syscall.c: Likewise.
31149 * misc/truncate.c: Likewise.
31150 * misc/ualarm.c: Likewise.
31151 * misc/usleep.c: Likewise.
31152 * misc/ustat.c: Likewise.
31153 * misc/utimes.c: Likewise.
31154 * misc/vhangup.c: Likewise.
31155 * misc/writev.c: Likewise.
31156 * posix/_exit.c: Likewise.
31157 * posix/alarm.c: Likewise.
31158 * posix/execve.c: Likewise.
31159 * posix/fexecve.c: Likewise.
31160 * posix/fork.c: Likewise.
31161 * posix/fpathconf.c: Likewise.
31162 * posix/getaddrinfo.c: Likewise.
31163 * posix/getegid.c: Likewise.
31164 * posix/geteuid.c: Likewise.
31165 * posix/getgid.c: Likewise.
31166 * posix/getgroups.c: Likewise.
31167 * posix/getlogin.c: Likewise.
31168 * posix/getlogin_r.c: Likewise.
31169 * posix/getpgid.c: Likewise.
31170 * posix/getpid.c: Likewise.
31171 * posix/getppid.c: Likewise.
31172 * posix/getresgid.c: Likewise.
31173 * posix/getresuid.c: Likewise.
31174 * posix/getsid.c: Likewise.
31175 * posix/getuid.c: Likewise.
31176 * posix/glob64.c: Likewise.
31177 * posix/nanosleep.c: Likewise.
31178 * posix/pathconf.c: Likewise.
31179 * posix/pause.c: Likewise.
31180 * posix/posix_madvise.c: Likewise.
31181 * posix/pread.c: Likewise.
31182 * posix/pread64.c: Likewise.
31183 * posix/pwrite.c: Likewise.
31184 * posix/pwrite64.c: Likewise.
31185 * posix/sched_getaffinity.c: Likewise.
31186 * posix/sched_getp.c: Likewise.
31187 * posix/sched_gets.c: Likewise.
31188 * posix/sched_primax.c: Likewise.
31189 * posix/sched_primin.c: Likewise.
31190 * posix/sched_rr_gi.c: Likewise.
31191 * posix/sched_setaffinity.c: Likewise.
31192 * posix/sched_setp.c: Likewise.
31193 * posix/sched_sets.c: Likewise.
31194 * posix/sched_yield.c: Likewise.
31195 * posix/setgid.c: Likewise.
31196 * posix/setlogin.c: Likewise.
31197 * posix/setpgid.c: Likewise.
31198 * posix/setresgid.c: Likewise.
31199 * posix/setresuid.c: Likewise.
31200 * posix/setsid.c: Likewise.
31201 * posix/setuid.c: Likewise.
31202 * posix/sleep.c: Likewise.
31203 * posix/spawni.c: Likewise.
31204 * posix/sysconf.c: Likewise.
31205 * posix/times.c: Likewise.
31206 * posix/wait.c: Likewise.
31207 * posix/wait3.c: Likewise.
31208 * posix/wait4.c: Likewise.
31209 * posix/waitpid.c: Likewise.
31210 * resolv/gai_sigqueue.c: Likewise.
31211 * resource/getpriority.c: Likewise.
31212 * resource/getrlimit.c: Likewise.
31213 * resource/getrusage.c: Likewise.
31214 * resource/nice.c: Likewise.
31215 * resource/setpriority.c: Likewise.
31216 * resource/setrlimit.c: Likewise.
31217 * resource/ulimit.c: Likewise.
31218 * rt/aio_cancel.c: Likewise.
31219 * rt/aio_fsync.c: Likewise.
31220 * rt/aio_read.c: Likewise.
31221 * rt/aio_sigqueue.c: Likewise.
31222 * rt/aio_suspend.c: Likewise.
31223 * rt/aio_write.c: Likewise.
31224 * rt/clock_getres.c: Likewise.
31225 * rt/clock_gettime.c: Likewise.
31226 * rt/clock_nanosleep.c: Likewise.
31227 * rt/clock_settime.c: Likewise.
31228 * rt/lio_listio.c: Likewise.
31229 * rt/mq_close.c: Likewise.
31230 * rt/mq_getattr.c: Likewise.
31231 * rt/mq_notify.c: Likewise.
31232 * rt/mq_open.c: Likewise.
31233 * rt/mq_receive.c: Likewise.
31234 * rt/mq_send.c: Likewise.
31235 * rt/mq_setattr.c: Likewise.
31236 * rt/mq_timedreceive.c: Likewise.
31237 * rt/mq_timedsend.c: Likewise.
31238 * rt/mq_unlink.c: Likewise.
31239 * rt/shm_open.c: Likewise.
31240 * rt/shm_unlink.c: Likewise.
31241 * rt/timer_create.c: Likewise.
31242 * rt/timer_delete.c: Likewise.
31243 * rt/timer_getoverr.c: Likewise.
31244 * rt/timer_gettime.c: Likewise.
31245 * rt/timer_settime.c: Likewise.
31246 * setjmp/__longjmp.c: Likewise.
31247 * setjmp/setjmp.c: Likewise.
31248 * signal/kill.c: Likewise.
31249 * signal/killpg.c: Likewise.
31250 * signal/raise.c: Likewise.
31251 * signal/sigaction.c: Likewise.
31252 * signal/sigaltstack.c: Likewise.
31253 * signal/sigblock.c: Likewise.
31254 * signal/sigignore.c: Likewise.
31255 * signal/sigintr.c: Likewise.
31256 * signal/signal.c: Likewise.
31257 * signal/sigpause.c: Likewise.
31258 * signal/sigpending.c: Likewise.
31259 * signal/sigqueue.c: Likewise.
31260 * signal/sigreturn.c: Likewise.
31261 * signal/sigset.c: Likewise.
31262 * signal/sigsetmask.c: Likewise.
31263 * signal/sigstack.c: Likewise.
31264 * signal/sigsuspend.c: Likewise.
31265 * signal/sigtimedwait.c: Likewise.
31266 * signal/sigvec.c: Likewise.
31267 * signal/sigwait.c: Likewise.
31268 * signal/sigwaitinfo.c: Likewise.
31269 * signal/sysv_signal.c: Likewise.
31270 * socket/accept.c: Likewise.
31271 * socket/accept4.c: Likewise.
31272 * socket/bind.c: Likewise.
31273 * socket/connect.c: Likewise.
31274 * socket/getpeername.c: Likewise.
31275 * socket/getsockname.c: Likewise.
31276 * socket/getsockopt.c: Likewise.
31277 * socket/isfdtype.c: Likewise.
31278 * socket/listen.c: Likewise.
31279 * socket/recv.c: Likewise.
31280 * socket/recvfrom.c: Likewise.
31281 * socket/recvmsg.c: Likewise.
31282 * socket/send.c: Likewise.
31283 * socket/sendmsg.c: Likewise.
31284 * socket/sendto.c: Likewise.
31285 * socket/setsockopt.c: Likewise.
31286 * socket/shutdown.c: Likewise.
31287 * socket/sockatmark.c: Likewise.
31288 * socket/socket.c: Likewise.
31289 * socket/socketpair.c: Likewise.
31290 * stdio-common/ctermid.c: Likewise.
31291 * stdio-common/cuserid.c: Likewise.
31292 * stdio-common/remove.c: Likewise.
31293 * stdio-common/rename.c: Likewise.
31294 * stdio-common/renameat.c: Likewise.
31295 * stdio-common/tempname.c: Likewise.
31296 * stdlib/getcontext.c: Likewise.
31297 * stdlib/makecontext.c: Likewise.
31298 * stdlib/setcontext.c: Likewise.
31299 * stdlib/swapcontext.c: Likewise.
31300 * stdlib/system.c: Likewise.
31301 * streams/fattach.c: Likewise.
31302 * streams/fdetach.c: Likewise.
31303 * streams/getmsg.c: Likewise.
31304 * streams/getpmsg.c: Likewise.
31305 * streams/putmsg.c: Likewise.
31306 * streams/putpmsg.c: Likewise.
31307 * sysdeps/unix/bsd/getpt.c: Likewise.
31308 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31309 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31310 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31312 Likewise.
31313 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31314 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31315 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31316 * sysvipc/msgctl.c: Likewise.
31317 * sysvipc/msgget.c: Likewise.
31318 * sysvipc/msgrcv.c: Likewise.
31319 * sysvipc/msgsnd.c: Likewise.
31320 * sysvipc/semctl.c: Likewise.
31321 * sysvipc/semget.c: Likewise.
31322 * sysvipc/semop.c: Likewise.
31323 * sysvipc/semtimedop.c: Likewise.
31324 * sysvipc/shmat.c: Likewise.
31325 * sysvipc/shmctl.c: Likewise.
31326 * sysvipc/shmdt.c: Likewise.
31327 * sysvipc/shmget.c: Likewise.
31328 * termios/tcdrain.c: Likewise.
31329 * termios/tcflow.c: Likewise.
31330 * termios/tcflush.c: Likewise.
31331 * termios/tcgetattr.c: Likewise.
31332 * termios/tcgetpgrp.c: Likewise.
31333 * termios/tcsendbrk.c: Likewise.
31334 * termios/tcsetattr.c: Likewise.
31335 * termios/tcsetpgrp.c: Likewise.
31336 * time/adjtime.c: Likewise.
31337 * time/clock.c: Likewise.
31338 * time/getitimer.c: Likewise.
31339 * time/gettimeofday.c: Likewise.
31340 * time/setitimer.c: Likewise.
31341 * time/settimeofday.c: Likewise.
31342 * time/stime.c: Likewise.
31343 * time/time.c: Likewise.
31344
313452012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 31346
a20492cf
PT
31347 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31348 /usr/old/bin.
31349
72e182e3
PT
31350 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31351 instead of spaces.
31352 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31353
fbeafede
JM
313542012-11-03 Joseph Myers <joseph@codesourcery.com>
31355
5b5b04d6
JM
31356 [BZ #14796]
31357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31358 FE_TONEAREST before applying Dekker multiplication and Knuth
31359 addition. Clear inexact exceptions and check for exact zero
31360 results afterwards.
31361 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31362 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31363 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31364 * math/libm-test.inc (fma_test): Add more tests.
31365 (fma_test_towardzero): Likewise.
31366 (fma_test_downward): Likewise.
31367 (fma_test_upward): Likewise.
31368 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31369 function.
31370 (libc_fesetround): New macro.
31371 (libc_fesetroundf): Likewise.
31372 (libc_fesetroundl): Likewise.
31373 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31374 function.
31375 (libc_fesetround_387): Likewise.
31376 (libc_fesetroundf): New macro.
31377 (libc_fesetround): Likewise.
31378 (libc_fesetroundl): Likewise.
31379 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31380 function.
31381 (libc_fesetroundf): New macro.
31382 (libc_fesetround): Likewise.
31383 (libc_fesetroundl): Likewise.
31384 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31385 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31386 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31387 libm_hidden_ver.
31388 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31389 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31390 libm_hidden_def.
31391 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31392 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31393 libm_hidden_ver.
31394 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31395 libm_hidden_def.
31396
fbeafede
JM
31397 [BZ #3439]
31398 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31399 integer constant usable in #if and use that to give value to enum
31400 constant.
31401 (FE_DIVBYZERO): Likewise.
31402 (FE_UNDERFLOW): Likewise.
31403 (FE_OVERFLOW): Likewise.
31404 (FE_INVALID): Likewise.
31405 (FE_INVALID_SNAN): Likewise.
31406 (FE_INVALID_ISI): Likewise.
31407 (FE_INVALID_IDI): Likewise.
31408 (FE_INVALID_ZDZ): Likewise.
31409 (FE_INVALID_IMZ): Likewise.
31410 (FE_INVALID_COMPARE): Likewise.
31411 (FE_INVALID_SOFTWARE): Likewise.
31412 (FE_INVALID_SQRT): Likewise.
31413 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31414 (FE_TONEAREST): Likewise.
31415 (FE_TOWARDZERO): Likewise.
31416 (FE_UPWARD): Likewise.
31417 (FE_DOWNWARD): Likewise.
31418 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31419 (FE_DIVBYZERO): Likewise.
31420 (FE_OVERFLOW): Likewise.
31421 (FE_UNDERFLOW): Likewise.
31422 (FE_INEXACT): Likewise.
31423 (FE_TONEAREST): Likewise.
31424 (FE_DOWNWARD): Likewise.
31425 (FE_UPWARD): Likewise.
31426 (FE_TOWARDZERO): Likewise.
31427 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31428 (FE_UNDERFLOW): Likewise.
31429 (FE_OVERFLOW): Likewise.
31430 (FE_DIVBYZERO): Likewise.
31431 (FE_INVALID): Likewise.
31432 (FE_TONEAREST): Likewise.
31433 (FE_TOWARDZERO): Likewise.
31434 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31435 (FE_OVERFLOW): Likewise.
31436 (FE_UNDERFLOW): Likewise.
31437 (FE_DIVBYZERO): Likewise.
31438 (FE_INEXACT): Likewise.
31439 (FE_TONEAREST): Likewise.
31440 (FE_TOWARDZERO): Likewise.
31441 (FE_UPWARD): Likewise.
31442 (FE_DOWNWARD): Likewise.
31443 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31444 (FE_DIVBYZERO): Likewise.
31445 (FE_OVERFLOW): Likewise.
31446 (FE_UNDERFLOW): Likewise.
31447 (FE_INEXACT): Likewise.
31448 (FE_TONEAREST): Likewise.
31449 (FE_DOWNWARD): Likewise.
31450 (FE_UPWARD): Likewise.
31451 (FE_TOWARDZERO): Likewise.
31452
105ca950
CM
314532012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31454
31455 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31456
a542b389
AS
314572012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31458
31459 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31460 commands. Quote $PWD.
31461 (blacklist_exports): Don't use remove_newlines. Replace "declare
31462 -x" by "export".
31463 (remove_newlines): Remove.
31464
f62c8abc
L
314652012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31466
31467 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31468 * stdlib/stdlib.h (atof): Moved to ...
31469 * include/bits/stdlib-float.h: Here. New file.
31470 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31471 * stdlib/bits/stdlib-float.h: New file.
31472 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31473 -mno-sse -mno-mmx.
31474 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31475 <xmmintrin.h>.
31476
0155d5b2
JM
314772012-11-02 Joseph Myers <joseph@codesourcery.com>
31478
a68d0680
JM
31479 * conform/conformtest.pl (@headers): Add fenv.h.
31480 * conform/data/fenv.h-data: New file.
31481 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31482 include of <math/fenv.h>.
31483
caf7f573
JM
31484 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31485 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31486 && !UNIX98]. Enables tests for XOPEN2K8.
31487 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31488 POSIX2008]: Likewise.
31489
6c073ad6
JM
31490 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31491 (struct rusage): Do not expect type or its members.
31492
0155d5b2
JM
31493 [BZ #3439]
31494 * math/math.h (FP_NAN): Define macro to integer constant usable in
31495 #if and use that to give value to enum constant.
31496 (FP_INFINITE): Likewise.
31497 (FP_ZERO): Likewise.
31498 (FP_SUBNORMAL): Likewise.
31499 (FP_NORMAL): Likewise.
31500
b5dcacb4
AS
315012012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31502
31503 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31504 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31505 arguments.
31506
f7934be8
RM
315072012-11-02 Roland McGrath <roland@hack.frob.com>
31508
31509 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31510 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31511 autoconf-time if not.
31512 * configure.in: Remove AC_PREREQ.
31513
d7d08bde
TMQMF
315142012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31515
31516 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31517 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31518 of the internal implementation.
31519
dcdae19a
JM
315202012-11-02 Joseph Myers <joseph@codesourcery.com>
31521
31522 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31523 except include of <misc/sys/syslog.h>.
31524
d6cffd3e
AS
315252012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31526
31527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31528 function returns with a NULL context exit with zero.
31529
b3563932
TMQMF
315302012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31531
31532 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31533
b288a93d
L
315342012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31535
31536 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31537 (run_program_cmd): This.
31538 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31539 (tst_langinfo): New variable. Use it.
31540
a2421a68
SAS
315412012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31542
31543 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31544 floating point opcodes.
31545
6f796e1b
TS
315462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31547
7402596b
TS
31548 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31549 variable.
31550
d0d4f868
TS
31551 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31552
6f796e1b
TS
31553 * sysdeps/mach/hurd/powerpc: Remove directory.
31554 * sysdeps/mach/powerpc: Likewise.
31555
4da224a2
AS
315562012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31557
31558 * scripts/check-local-headers.sh: Ignore c++ headers.
31559
341dd673
TS
315602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31561
31562 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31563 __libc_cleanup_region_start argument.
31564
473611b2
JM
315652012-11-01 Joseph Myers <joseph@codesourcery.com>
31566
31567 [BZ #14784]
31568 [BZ #14785]
31569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31570 x * y using scaling, not as x * y + z.
31571 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31572 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31573 * math/libm-test.inc (fma_test): Add more tests.
31574 (fma_test_towardzero): Likewise.
31575 (fma_test_downward): Likewise.
31576 (fma_test_upward): Likewise.
31577
4078da3d
TS
315782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31579
31580 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31581
903252aa
JM
315822012-10-31 Joseph Myers <joseph@codesourcery.com>
31583
31584 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31585 New variable.
31586
cbc818d0
TS
315872012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31588
31589 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31590
5a03cb1e
AS
315912012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31592
31593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31594 Fix sort order.
31595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31596 Likewise.
31597
90aff2ff
TMQMF
315982012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31599
31600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31601 Fix the order of the list for glibc 2.17.
31602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31603 Likewise.
31604
1818fcb7
AS
316052012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31606
31607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31608
ef82f4da
JM
316092012-10-31 Joseph Myers <joseph@codesourcery.com>
31610
16a0e2ec
JM
31611 [BZ #14610]
31612 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31613 for low part of x being zero before using __atanl (y).
31614 * math/libm-test.inc (atan2_test): Add another test.
31615
0eb69512
JM
31616 * manual/install.texi (Configuring and compiling): Document
31617 general use of test-wrapper and test-wrapper-env.
31618 * INSTALL: Regenerated.
31619
ef82f4da
JM
31620 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31621 (__fma): Do not extract and scale down low bits on after-rounding
31622 systems when result rounded to normal precision would have normal
31623 exponent.
31624 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31625 (__fmal): Do not extract and scale down low bits on after-rounding
31626 systems when result rounded to normal precision would have normal
31627 exponent.
31628 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31629 (__fmal): Do not extract and scale down low bits on after-rounding
31630 systems when result rounded to normal precision would have normal
31631 exponent.
31632 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31633 macro.
31634 (fma_test): Add more tests.
31635 (fma_test_towardzero): Likewise.
31636 (fma_test_downward): Likewise.
31637 (fma_test_upward): Likewise.
31638
954ef0d9
L
316392012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31640
31641 * sysdeps/i386/tininess.h: Renamed to ...
31642 * sysdeps/x86/tininess.h: This.
31643 * sysdeps/x86_64/tininess.h: Removed.
31644
df61ffb2
JM
316452012-10-30 Joseph Myers <joseph@codesourcery.com>
31646
31647 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31648 input. Use $(build-program-cmd).
31649 ($(objpfx)tst-array1-static.out): Likewise.
31650 ($(objpfx)tst-array2.out): Likewise.
31651 ($(objpfx)tst-array3.out): Likewise.
31652 ($(objpfx)tst-array4.out): Likewise.
31653 ($(objpfx)tst-array5.out): Likewise.
31654 ($(objpfx)tst-array5-static.out): Likewise.
31655
01767843
CM
316562012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31657
47cc1490
CM
31658 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31659 if defined.
31660
01767843
CM
31661 * nss/nsswitch.h (nss_interface_function): Provide new
31662 macro for use with NSS functions.
31663 * grp/initgroups.c: Use new macro.
31664 * nss/getXXbyYY.c: Likewise.
31665 * nss/getXXbyYY_r.c: Likewise.
31666 * nss/getXXent.c: Likewise.
31667 * nss/getXXent_r.c: Likewise.
31668 * sysdeps/posix/getaddrinfo.c: Likewise.
31669
8321aa97
AJ
316702012-10-30 Andreas Jaeger <aj@suse.de>
31671
31672 * po/ru.po: Update Russion translation from translation project.
31673
2a27fd6d
JM
316742012-10-30 Joseph Myers <joseph@codesourcery.com>
31675
8627a232
JM
31676 [BZ #14152]
31677 [BZ #14783]
31678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31679 result and shift together with sticky bit instead of replicating
31680 round-to-nearest rounding.
31681 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31682 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31683 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31684 missing underflow exceptions.
31685 (fma_test_towardzero): Add more tests.
31686 (fma_test_downward): Likewise.
31687 (fma_test_upward): Likewise.
31688
2a27fd6d
JM
31689 [BZ #14047]
31690 * sysdeps/generic/tininess.h: New file.
31691 * sysdeps/i386/tininess.h: Likewise.
31692 * sysdeps/sh/tininess.h: Likewise.
31693 * sysdeps/x86_64/tininess.h: Likewise.
31694 * stdlib/tst-strtod-underflow.c: Likewise.
31695 * stdlib/tst-tininess.c: Likewise.
31696 * stdlib/strtod_l.c: Include <tininess.h>.
31697 (round_and_return): Do not set errno for exact underflow cases.
31698 Force an underflow exception when setting errno for underflow.
31699 Determine underflow based on rounding to normal precision if
31700 TININESS_AFTER_ROUNDING.
31701 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31702 ERANGE for exact underflow cases.
31703 * stdlib/Makefile (tests): Add tst-tininess and
31704 tst-strtod-underflow.
31705 ($(objpfx)tst-tininess): Use $(link-libm).
31706 ($(objpfx)tst-strtod-underflow): Likewise.
31707
e7170363
AJ
317082012-10-30 Andreas Jaeger <aj@suse.de>
31709
e5088dc6
AJ
31710 [BZ#14767]
31711 * elf/Makefile (tests): Remove conditional for have-initfini-array
31712 since this is now always required and the variable does not exist
31713 anymore.
31714 (tests-static): Likewise.
31715 (modules-names): Likewise.
31716
e7170363 31717 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31718
31719 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31720 merged with constructor/destructor.
31721 (init_array): Likewise.
31722 * elf/tst-array2dep.c (fini_array): Likewise.
31723 (init_array): Likewise.
31724
60457d8a
MF
317252012-10-29 Mike Frysinger <vapier@gentoo.org>
31726
31727 * manual/message.texi: Delete @cartouche tags.
31728
8bece752
PT
317292012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31730
94ce799f
PT
31731 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31732 EOPNOTSUPP.
31733 * sysdeps/mach/hurd/fsync.c: Likewise.
31734
8bece752
PT
31735 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31736 [_POSIX_REALTIME_SIGNALS]: Change condition to
31737 [_POSIX_REALTIME_SIGNALS > 0].
31738
86ebe6b1
AJ
317392012-10-27 Andreas Jaeger <aj@suse.de>
31740
31741 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31742 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31743 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31744 [__WORDSIZE != 64]: Likewise.
31745
54399c08
L
317462012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31747
31748 * iconvdata/tst-table.sh: Remove ${SHELL}.
31749 * iconvdata/tst-tables.sh: Likewise.
31750
e2211bed
DM
317512012-10-25 David S. Miller <davem@davemloft.net>
31752
31753 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31754 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31755 of strtoull.
31756
f303f97c
DM
31757 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31758 ifunc-impl-list.c
31759 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31760 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31761 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31762 file.
31763
1e9d84cd
RM
317642012-10-25 Roland McGrath <roland@hack.frob.com>
31765
31766 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31767 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31768 __getdirentries.
31769
df381762
JM
317702012-10-25 Joseph Myers <joseph@codesourcery.com>
31771 Jim Blandy <jimb@codesourcery.com>
31772
31773 * scripts/cross-test-ssh.sh: New file.
31774 * manual/install.texi (Configuring and compiling): Document use of
31775 cross-test-ssh.sh.
31776 * INSTALL: Regenerated.
31777
bff64913
PT
317782012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31779
31780 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31781 EOPNOTSUPP.
31782
25fe8932
JM
317832012-10-25 Joseph Myers <joseph@codesourcery.com>
31784
31785 * Makeconfig (run-program-prefix): Fix comment.
31786
cc1290d0
JM
317872012-10-24 Joseph Myers <joseph@codesourcery.com>
31788 Jim Blandy <jimb@codesourcery.com>
31789
31790 * Makeconfig (test-wrapper): New variable,
31791 (test-wrapper-env): Likewise.
31792 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31793 (run-built-tests): Define to yes.
31794 (run-program-prefix): Use $(test-wrapper).
31795 (built-program-cmd): Likewise.
31796 * Rules (make-test-out): Use $(test-wrapper-env) and
31797 $(host-built-program-cmd).
31798 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31799 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31800 tst-pathopt.sh.
31801 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31802 $(test-wrapper-env) to tst-rtld-load-self.sh.
31803 ($(objpfx)order2.out): Use $(test-wrapper).
31804 ($(objpfx)tst-initorder.out): Likewise.
31805 ($(objpfx)tst-initorder2.out): Likewise.
31806 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31807 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31808 (test_wrapper_env): New variable. Use it to run ld.so.
31809 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31810 Use it to run ld.so.
31811 (test_wrapper_env): Likewise.
31812 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31813 $(test-wrapper) to run-iconv-test.sh.
31814 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31815 (ICONV): Use $test_wrapper.
31816 * posix/Makefile ($(objpfx)globtest.out): Pass
31817 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31818 globtest.sh, not $(run-program-prefix).
31819 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31820 (test_wrapper): Likewise.
31821 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31822 set together with run_via_rtld_prefix.
31823 (run_program_prefix): Define in terms of test_wrapper and
31824 run_via_rtld_prefix.
31825
6e6249d0
RM
318262012-10-24 Roland McGrath <roland@hack.frob.com>
31827
31828 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31829 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31830 Targets removed.
31831
31832 [BZ #14743]
31833 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31834 Declare __clock_getres, __clock_gettime, __clock_settime,
31835 __clock_nanosleep, and __clock_getcpuclockid.
31836 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31837 Remove librt_hidden_def (clock_gettime).
31838 * sysdeps/unix/clock_gettime.c: Likewise.
31839 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31840 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31841 * rt/clock_getres.c: Define __clock_getres as an alias.
31842 * sysdeps/posix/clock_getres.c: Likewise.
31843 * rt/clock_settime.c: Define __clock_settime as an alias.
31844 * sysdeps/unix/clock_settime.c: Likewise.
31845 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31846 * sysdeps/unix/clock_nanosleep.c: Likewise.
31847 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31848 * rt/clock-compat.c: New file.
31849 * rt/Makefile (librt-routines): Add clock-compat and move
31850 $(clock-routines) to ...
31851 (routines): ... here, new variable.
31852 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31853 Don't add get_clockfreq here.
31854 * rt/Versions (libc: GLIBC_2.17): New version set.
31855 Add clock_* symbols here.
31856 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31857 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31858 (GLIBC_2.17): Add clock_* symbols.
31859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31861 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31863 Likewise.
31864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31865 Likewise.
31866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31870 * NEWS: Mention the move.
31871
31872 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31873 Use __open, __read, __close rather than their public counterparts.
31874 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31875 (__get_clockfreq_via_cpuinfo): Likewise.
31876 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31877 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31878
31879 * config.h.in (HAVE_IFUNC): New #undef.
31880 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31881 was successful.
31882 * configure: Regenerated.
31883
0cae3f4b
MF
318842012-10-24 Mike Frysinger <vapier@gentoo.org>
31885
31886 * configure.in: Move READELF check to start of file.
31887 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31888 libc_cv_asm_gnu_indirect_function in the process.
31889 * configure: Regenerated.
31890
8175a253
MF
318912012-10-24 Mike Frysinger <vapier@gentoo.org>
31892
31893 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31894 send the output to /dev/null.
31895 (libc_cv_cc_with_libunwind): Likewise.
31896 (libc_cv_as_noexecstack): Likewise.
31897 * configure: Regenerate.
31898
0708a7d1
JM
318992012-10-24 Joseph Myers <joseph@codesourcery.com>
31900
10b40d85
JM
31901 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31902
0708a7d1
JM
31903 * posix/globtest.sh (TMPDIR): Do not set.
31904 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31905 (testout): Likewise.
31906
9fddec1a
AJ
319072012-10-24 Andreas Jaeger <aj@suse.de>
31908
3a8db22f
AJ
31909 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31910 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31911 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31912 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31913 posix_fadvise64, posix_fallocate64.
31914
9fddec1a
AJ
31915 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31916 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31917 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31918 Likewise.
31919 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31920 Likewise.
31921 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31922
31923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31924 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31925 <bits/fcntl-linux.h>.
31926 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31927
31928 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31929 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31930 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31931 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31932 [__WORDSIZE != 64]: Likewise.
31933
ebfd1bbd
JM
319342012-10-23 Joseph Myers <joseph@codesourcery.com>
31935
03ac099f
JM
31936 * Makeconfig (run-built-tests): New variable.
31937 * Rules [$(cross-compiling) = yes]: Change condition to
31938 [$(run-built-tests) = no].
31939 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31940 to [$(run-built-tests) = yes].
31941 * elf/Makefile [$(cross-compiling) = no]: Likewise
31942 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31943 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31944 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31945 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31946 * io/Makefile [$(cross-compiling) = no]: Likewise.
31947 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31948 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31949 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31950 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31951 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31952 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31953 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31954 * string/Makefile [$(cross-compiling) = no]: Likewise.
31955
ebfd1bbd
JM
31956 * posix/Makefile ($(objpfx)globtest.out): Pass
31957 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31958 $(rtld-installed-name).
31959 * posix/globtest.sh (elf_objpfx): Remove variable.
31960 (rtld_installed_name): Likewise.
31961 (library_path): Likewise.
31962 (run_program_prefix): New variable. Use for running globtest
31963 binary.
31964
166bca24
JB
319652012-10-23 Jim Blandy <jimb@codesourcery.com>
31966 Joseph Myers <joseph@codesourcery.com>
31967
31968 * Makeconfig (host-built-program-cmd): New variable.
31969 * elf/Makefile (tst-stackguard1-ARGS): Use
31970 $(host-built-program-cmd).
31971 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31972 (tst-spawn-ARGS): Likewise.
31973 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31974
88866099
JM
319752012-10-23 Joseph Myers <joseph@codesourcery.com>
31976 Jim Blandy <jimb@codesourcery.com>
31977
31978 * Makeconfig (run-via-rtld-prefix): New variable.
31979 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31980 (built-program-cmd): Likewise.
31981
b4b4c296
AJ
319822012-10-22 Andreas Jaeger <aj@suse.de>
31983
31984 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31985 __O_RSYNC if it exists, otherwise to O_SYNC.
31986
6fb54a22
JB
319872012-10-22 Jim Blandy <jimb@codesourcery.com>
31988 Joseph Myers <joseph@codesourcery.com>
31989
31990 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31991 /dev/null.
31992 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31993 from /dev/null
31994 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31995 /dev/null.
31996
481b90b9
AJ
319972012-10-22 Andreas Jaeger <aj@suse.de>
31998
2a0e2669
AJ
31999 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32000 Define always.
32001 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32002
76e38f9a
AJ
32003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32004 bits/fcntl-linux.h.
32005
7cd37b43
AJ
32006 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32007 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32008
481b90b9
AJ
32009 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32010 to __O_LARGEFILE.
32011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32012 to __O_LARGEFILE.
32013
aba75984
JB
320142012-10-21 Jim Blandy <jimb@codesourcery.com>
32015 Joseph Myers <joseph@codesourcery.com>
32016
32017 * config.make.in (NM): New variable.
32018
88d4247f
AJ
320192012-10-21 Andreas Jaeger <aj@suse.de>
32020
32021 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32022 definitions and declarations that are provided by
32023 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32024
f2eed205
L
320252012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32026
32027 [BZ #14683]
32028 * elf/Makefile (tests-static): Add tst-leaks1-static.
32029 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32030 ($(objpfx)tst-leaks1-static): New rule.
32031 ($(objpfx)tst-leaks1-static-mem): Likewise.
32032 (tst-leaks1-static-ENV): New macro.
32033 * elf/dl-open.c (dl_open_worker): Check the main application
32034 only if SHARED is defined.
32035 * elf/tst-leaks1-static.c: New file.
32036
335e6931
AJ
320372012-10-20 Andreas Jaeger <aj@suse.de>
32038
32039 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32040 generic values for Linux.
32041 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32042 and declarations that are provided by <bits/fcntl-linux.h> and
32043 include <bits/fcntl-linux.h>.
32044 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32045 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32046
ac5c94d3
RM
320472012-10-20 Roland McGrath <roland@hack.frob.com>
32048
32049 * io/fcntl.h: Move include of <bits/types.h> to the top and
32050 include it unconditionally.
32051
de54b33a
L
320522012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32053
228cfb01
L
32054 * wcsmbs/Makefile (tests-ifunc): New variable.
32055 (tests): Add $(tests-ifunc).
32056 * wcsmbs/test-wcschr-ifunc.c: New file.
32057 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32058 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32059 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32060 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32061 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32062
69f07e5f
L
32063 * string/Makefile (tests-ifunc): New variable.
32064 (tests): Add $(tests-ifunc).
32065 * string/test-memccpy.c (TEST_NAME): New macro.
32066 * string/test-memchr.c (TEST_NAME): Likewise.
32067 * string/test-memcmp.c (TEST_NAME): Likewise.
32068 * string/test-memcpy.c (TEST_NAME): Likewise.
32069 * string/test-memmem.c (TEST_NAME): Likewise.
32070 * string/test-memmove.c (TEST_NAME): Likewise.
32071 * string/test-memset.c (TEST_NAME): Likewise.
32072 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32073 * string/test-stpcpy.c (TEST_NAME): Likewise.
32074 * string/test-stpncpy.c (TEST_NAME): Likewise.
32075 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32076 * string/test-strcasestr.c (TEST_NAME): Likewise.
32077 * string/test-strcat.c (TEST_NAME): Likewise.
32078 * string/test-strchr.c (TEST_NAME): Likewise.
32079 * string/test-strcmp.c(TEST_NAME): Likewise.
32080 * string/test-strcpy.c (TEST_NAME): Likewise.
32081 * string/test-strcspn.c (TEST_NAME): Likewise.
32082 * string/test-strlen.c (TEST_NAME): Likewise.
32083 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32084 * string/test-strncmp.c (TEST_NAME): Likewise.
32085 * string/test-strncpy.c (TEST_NAME): Likewise.
32086 * string/test-strnlen.c (TEST_NAME): Likewise.
32087 * string/test-strpbrk.c (TEST_NAME): Likewise.
32088 * string/test-strrchr.c (TEST_NAME): Likewise.
32089 * string/test-strspn.c (TEST_NAME): Likewise.
32090 * string/test-strstr.c (TEST_NAME): Likewise.
32091 * string/test-bcopy-ifunc.c: New file.
32092 * string/test-bzero-ifunc.c: Likewise.
32093 * string/test-memccpy-ifunc.c: Likewise.
32094 * string/test-memchr-ifunc.c: Likewise.
32095 * string/test-memcmp-ifunc.c: Likewise.
32096 * string/test-memcpy-ifunc.c: Likewise.
32097 * string/test-memmem-ifunc.c: Likewise.
32098 * string/test-memmove-ifunc.c: Likewise.
32099 * string/test-mempcpy-ifunc.c: Likewise.
32100 * string/test-memset-ifunc.c: Likewise.
32101 * string/test-rawmemchr-ifunc.c: Likewise.
32102 * string/test-stpcpy-ifunc.c: Likewise.
32103 * string/test-stpncpy-ifunc.c: Likewise.
32104 * string/test-strcasecmp-ifunc.c: Likewise.
32105 * string/test-strcasestr-ifunc.c: Likewise.
32106 * string/test-strcat-ifunc.c: Likewise.
32107 * string/test-strchr-ifunc.c: Likewise.
32108 * string/test-strchrnul-ifunc.c: Likewise.
32109 * string/test-strcmp-ifunc.c: Likewise.
32110 * string/test-strcpy-ifunc.c: Likewise.
32111 * string/test-strcspn-ifunc.c: Likewise.
32112 * string/test-strlen-ifunc.c: Likewise.
32113 * string/test-strncasecmp-ifunc.c: Likewise.
32114 * string/test-strncat-ifunc.c: Likewise.
32115 * string/test-strncmp-ifunc.c: Likewise.
32116 * string/test-strncpy-ifunc.c: Likewise.
32117 * string/test-strnlen-ifunc.c: Likewise.
32118 * string/test-strpbrk-ifunc.c: Likewise.
32119 * string/test-strrchr-ifunc.c: Likewise.
32120 * string/test-strspn-ifunc.c: Likewise.
32121 * string/test-strstr-ifunc.c: Likewise.
32122
de54b33a
L
32123 * debug/Makefile (tests-ifunc): New variable.
32124 (tests): Add $(tests-ifunc).
32125 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32126 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32127 * debug/test-stpcpy_chk-ifunc.c: New file.
32128 * debug/test-strcpy_chk-ifunc.c: Likewise.
32129
88481c16
SP
321302012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32131
32132 [BZ #13601]
32133 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32134 header is not read in.
32135
135948bd
JM
321362012-10-19 Joseph Myers <joseph@codesourcery.com>
32137
89f1c388
JM
32138 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32139 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32140 directly. Pass built executable to script as
32141 $(built-program-cmd).
32142 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32143 $testprogram without using LD_LIBRARY_PATH and $ldso.
32144
e40a0d21
JM
32145 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32146 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32147 $(rtld-installed-name).
32148 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32149 (rtld_installed_name): Likewise.
32150 (library_path): Likewise.
32151 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32152 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32153 $(run-program-prefix) to tst-tables.sh.
32154 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32155 it to run tst-table-from and tst-table-to.
32156 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32157 Pass it to tst-table.sh.
32158 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32159 $(run-program-prefix) to tst-gettext.sh.
32160 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32161 tst-translit.sh.
32162 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32163 tst-gettext2.sh.
32164 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32165 to run tst-gettext.
32166 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32167 to run tst-gettext2.
32168 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32169 to run tst-translit.
32170 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32171 $(run-program-prefix) to tst-mtrace.sh.
32172 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32173 to run tst-mtrace.
32174 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32175 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32176 $(rtld-installed-name).
32177 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32178 (rtld_installed_name): Likewise.
32179 (run_program_prefix): New variable. Use it to run wordexp-test.
32180
728e272a
JM
32181 * Makeconfig (ARCH): Remove all definitions.
32182 (machine): Likewise.
32183 [ARCH]: Remove conditional code.
32184 [!objdir]: Give error.
32185 [!objdir] (objpfx): Remove.
32186 [!objdir] (common-objpfx): Likewise.
32187 [!objdir] (common-objdir): Likewise.
32188 * configure.in (config_makefile): Remove. Hardcode Makefile in
32189 AC_CONFIG_FILES call.
32190 * configure: Regenerated.
32191
d528cdcf
JM
32192 [BZ #13888]
32193 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32194 or TMPDIR.
32195 (testout): Likewise.
32196
135948bd
JM
32197 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32198 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32199 $(rtld-installed-name).
32200 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32201 (rtld_installed_name): Likwise.
32202 (runit): Remove function.
32203 (run_getconf): New variable, Use it for running getconf binary.
32204
38c78296
L
322052012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32206
32207 [BZ #14716]
32208 * string/test-memmem.c (check_result): New function.
32209 (do_one_test): Use it.
32210 (check1): New function.
32211 (test_main): Use it.
32212
d077f65f
MT
322132012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32214
32215 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32216
ced52c71
JM
322172012-10-18 Joseph Myers <joseph@codesourcery.com>
32218
32219 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32220 (_G_LSEEK64): Likewise.
32221 (_G_MMAP64): Likewise.
32222 (_G_FSTAT64): Likewise.
32223 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32224 (_G_LSEEK64): Likewise.
32225 (_G_MMAP64): Likewise.
32226 (_G_FSTAT64): Likewise.
32227 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32228 unconditional. Call __mmap64 directly.
32229 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32230 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32231 __lseek64 directly.
32232 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32233 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32234 __mmap64 directly.
32235 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32236 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32237 __lseek64 directly.
32238 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32239 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32240 __lseek64 directly.
32241 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32242 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32243 __lseek64 directly.
32244 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32245 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32246 __fxstat64 directly.
32247 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32248 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32249 unconditional.
32250 (freopen64) [!_G_OPEN64]: Remove conditional code.
32251 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32252 unconditional.
32253 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32254 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32255 unconditional.
32256 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32257 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32258 unconditional.
32259 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32260 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32261 unconditional.
32262 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32263 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32264 unconditional.
32265 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32266 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32267 unconditional.
32268 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32269 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32270 unconditional.
32271 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32272
b741de23
SP
322732012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32274
32275 [BZ #12140]
32276 * manual/memory.texi (Malloc Tunable Parameters): Add note
32277 about free list pointers overwriting some perturb bytes.
32278 Wording suggested by Roland McGrath.
32279
f9b9d9c9
JM
322802012-10-17 Joseph Myers <joseph@codesourcery.com>
32281
32282 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32283 (lgamma_test): Likewise.
32284 (tgamma_test): Likewise.
32285
172a631a
FW
322862012-10-16 Florian Weimer <fweimer@redhat.com>
32287
32288 [BZ #14700]
32289 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32290 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32291
e9f37252
MK
322922012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32293
32294 * NEWS: Mention BZ #14716.
32295 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32296 when removing AVAILABLE1_USES_J macro.
32297
d394eb74
L
322982012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32299
32300 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32301 (__bswap_64): __uint64_t for unsigned 64-bit int.
32302
ca38dc17
AS
323032012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32304
32305 * include/string.h (memmem): Declare libc hidden alias.
32306 * string/memmem.c (memmem): Define libc hidden alias.
32307 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32308 __read, __close instead of open, read, close.
32309
9a387d1f
L
323102012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32311
ac49ecaf
L
32312 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32313 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32314 global and hidden.
32315 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32316 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32317 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32318 Likewise.
32319 (__rawmemchr_sse2): Likewise.
32320 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32321 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32322 (__strchr_sse2): Likewise.
32323 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32324 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32325 (__strcasecmp_sse2): Likewise.
32326 (__strncasecmp_sse2): Likewise.
32327 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32328 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32329 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32330 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32331 (__strrchr_sse2): Likewise.
32332 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32333 ifunc-impl-list.c.
32334 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32335 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32336 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32337 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32338 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32339 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32340 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32341 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32342 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32343 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32344 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32345 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32346 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32347 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32348 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32349 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32350 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32351 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32352 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32353 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32354 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32355 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32356 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32357 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32358 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32359 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32360 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32361 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32362 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32363 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32364
b090e8ea
L
32365 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32366 global and hidden.
32367 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32368 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32369 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32370 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32371 Likewise.
32372 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32373 Likewise.
32374 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32375 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32376 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32377 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32378 ifunc-impl-list.c.
32379 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32380 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32381 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32382 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32383 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32384 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32385 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32386 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32387 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32388 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32389 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32390 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32391 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32392 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32393 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32394 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32395 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32396 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32397 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32398 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32399 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32400 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32401 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32402 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32403 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32404 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32405 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32406 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32407 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32408 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32409 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32410 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32411 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32412 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32413 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32414 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32415 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32416 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32417 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32418 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32419 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32420
11dd4af6
L
32421 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32422 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32423 * include/ifunc-impl-list.h: New file.
32424 * misc/ifunc-impl-list.c: Likewise.
32425 * misc/Makefile (routines): Add ifunc-impl-list.
32426 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32427 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
32428 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32429 TEST_NAME]: New variables.
11dd4af6
L
32430 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32431 are defined.
32432 (test_init): Call __libc_ifunc_impl_list to initialize
32433 func_list if TEST_IFUNC and TEST_NAME are defined.
32434
9a387d1f
L
32435 * string/Makefile (strop-tests): Add bcopy and bzero.
32436 * string/test-bcopy.c: New file.
32437 * string/test-bzero.c: Likewise.
32438 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32439 defined.
32440 * string/test-memset.c: Support bzero test if TEST_BZERO is
32441 defined.
32442 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32443 __libc_memmove.
32444 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32445 __libc_memset.
32446 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32447 of memset.
32448
472371b9
JM
324492012-10-10 Joseph Myers <joseph@codesourcery.com>
32450
1e4a9536
JM
32451 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32452 * configure: Regenerated.
32453
d173d12e
JM
32454 * Makeconfig (+link-static-before-libc): Don't include
32455 $(link-static-libc).
32456
472371b9
JM
32457 * libio/libio.h (_IO_pos_t): Remove.
32458
89a3ad0b
AO
324592012-10-10 Alexandre Oliva <aoliva@redhat.com>
32460
32461 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32462 McGrath.
32463
e7451425
AO
324642012-10-10 Alexandre Oliva <aoliva@redhat.com>
32465
32466 * crypt/crypt-entry.c: Include fips-private.h.
32467 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32468 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32469 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32470 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32471
4ba74a35
AO
324722012-10-10 Alexandre Oliva <aoliva@redhat.com>
32473
32474 * crypt/crypt-private.h: Include stdbool.h.
32475 (_ufc_setup_salt_r): Return bool.
32476 * crypt/crypt-entry.c: Include errno.h.
32477 (__crypt_r): Return NULL with EINVAL for bad salt.
32478 * crypt/crypt_util.c (bad_for_salt): New.
32479 (_ufc_setup_salt_r): Check that salt is long enough and within
32480 the specified alphabet.
32481 * crypt/badsalttest.c: New file.
32482 * crypt/Makefile (tests): Add it.
32483 ($(objpfx)badsalttest): New.
32484
f96f1242
MK
324852012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32486
32487 * NEWS: Add entry for BZ #14602.
32488
0e8e0c1c
JM
324892012-10-09 Joseph Myers <joseph@codesourcery.com>
32490
32491 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32492 type-generic.
32493 * math/libm-test.inc: Update comment listing what functions and
32494 macros are tested.
32495 (isgreater_test): New function.
32496 (isgreaterequal_test): Likewise.
32497 (isless_test): Likewise.
32498 (islessequal_test): Likewise.
32499 (islessgreater_test): Likewise.
32500 (isunordered_test): Likewise.
32501 (main): Call the new functions.
32502
273edc5e
RM
325032012-10-09 Roland McGrath <roland@hack.frob.com>
32504
b8493de0
RM
32505 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32506 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32507 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32508 * sysdeps/i386/configure: Regenerated.
32509 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32510 * sysdeps/mach/configure: Regenerated.
32511 * sysdeps/mach/hurd/configure: Regenerated.
32512 * sysdeps/powerpc/configure: Regenerated.
32513 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32514 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32515 * sysdeps/s390/s390-32/configure: Regenerated.
32516 * sysdeps/s390/s390-64/configure: Regenerated.
32517 * sysdeps/sh/configure: Regenerated.
32518 * sysdeps/sparc/configure: Regenerated.
32519 * sysdeps/unix/sysv/linux/configure: Regenerated.
32520 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32521 * sysdeps/x86_64/configure: Regenerated.
32522
273edc5e
RM
32523 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32524 defined. Don't check if MAP is NULL.
32525
c8450f70
JM
325262012-10-09 Joseph Myers <joseph@codesourcery.com>
32527
32528 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32529 (_G_stat64): Likewise.
32530 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32531 (_G_stat64): Likewise.
32532 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32533 instead of struct _G_stat64.
32534 * libio/fileops.c (mmap_remap_check): Likewise.
32535 (decide_maybe_mmap): Likewise.
32536 (_IO_new_file_seekoff): Likewise.
32537 (_IO_file_stat): Likewise.
32538 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32539 _G_off64_t.
32540 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32541 instead of struct _G_stat64.
32542 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32543
57e605ba
MK
325442012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32545
32546 [BZ #14602]
32547 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32548 Replace with ...
32549 (CHECK_EOL): New macro.
32550 (two_way_short_needle): Check beginning of haystack for EOL. Use
32551 CHECK_EOL.
32552 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32553 Replace with CHECK_EOL.
32554 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32555 Replace with CHECK_EOL.
32556
ef1bb361
JM
325572012-10-08 Joseph Myers <joseph@codesourcery.com>
32558
32559 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32560 type-generic.
32561 * math/libm-test.inc: Update comment listing what functions and
32562 macros are tested.
32563 (finite_test): New function.
32564 (isinf_test): Likewise.
32565 (isnan_test): Likewise.
32566 (fpclassify_test): Test subnormal input.
32567 (isfinite_test): Likewise.
32568 (isnormal_test): Likewise.
32569 (main): Call the new functions.
32570
55f11534
JN
325712012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32572
32573 [BZ #14660]
32574 * Makerules (%.dynsym): Force C locale when running
32575 $(OBJDUMP) --dynamic-syms.
32576
1ab29350
AS
325772012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32578
32579 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32580 <stdint.h>.
32581
f1ecb7ef
DM
325822012-10-06 David S. Miller <davem@davemloft.net>
32583
32584 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32585 upper 32-bits of the length value in %o2 since we use branch-on-register
32586 tests which consider the entire 64-bit register.
32587
5d41d91a
L
325882012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32589
32590 * string/test-strstr.c (check2): Add a test for page boundary.
32591
3baddb72
DM
325922012-10-05 David S. Miller <davem@davemloft.net>
32593
32594 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32595 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32596 file.
32597 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32598 sysdep_routines.
32599 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32600 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32601 and bzero when HWCAP_SPARC_CRYPTO is present.
32602
9cee5585
L
326032012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32604
d7e0dab9
L
32605 [BZ #14602]
32606 * string/test-strstr.c (check2): New function.
32607 (test_main): Call check2.
32608
03759f47
L
32609 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32610 and bug-strchr1.
32611 * string/bug-strcasestr1.c (do_test): Moved to ...
32612 * string/test-strcasestr.c (check1): Here. New function.
32613 (do_one_test): Break out result checking code into ...
32614 (check_result): This. New function.
32615 (do_one_test): Call check_result.
32616 (test_main): Call check1.
32617 * string/bug-strchr1.c (do_test): Moved to ...
32618 * string/test-strchr.c (check1): Here. New function.
32619 (do_one_test): Break out result checking code into ...
32620 (check_result): This. New function.
32621 (do_one_test): Call check_result.
32622 (test_main): Call check1.
32623 * string/bug-strstr1.c (main): Moved to ...
046f153e 32624 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32625 (do_one_test): Break out result checking code into ...
32626 (check_result): This. New function.
32627 (do_one_test): Call check_result.
32628 (test_main): Call check1.
32629 * string/bug-strcasestr1.c: Removed.
32630 * string/bug-strchr1.c: Likewise.
32631 * string/bug-strstr1.c: Likewise.
32632
53cea63e
L
32633 * elf/Makefile (dl-routines): Add hwcaps.
32634 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32635 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32636 (_dl_important_hwcaps): Moved to ...
32637 * elf/dl-hwcaps.c: Here. New file.
32638 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32639
9cee5585 32640 [BZ #14557]
bb859b06
L
32641 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32642 if IS_IN_rtld isn't defined.
32643
9cee5585
L
32644 * elf/dl-support.c (_dl_sysinfo_map): New.
32645 Include "get-dynamic-info.h" and "setup-vdso.h".
32646 (_dl_non_dynamic_init): Call setup_vdso.
32647 * elf/dynamic-link.h: Don't include <assert.h>.
32648 (elf_get_dynamic_info): Moved to ...
32649 * elf/get-dynamic-info.h: Here. New file.
32650 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32651 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32652 * elf/setup-vdso.h: Here. New file.
32653 * elf/rtld.c: Include "setup-vdso.h".
32654 (dl_main): Call setup_vdso.
32655
23c31b76
JM
326562012-10-05 Joseph Myers <joseph@codesourcery.com>
32657
28234b07
JM
32658 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32659 creal in comment listing functions tested. List finite, isinf,
32660 isnan, isless, islessequal, isgreater, isgreaterequal,
32661 islessgreater, isunordered, lgamma_r and pow10 as functions and
32662 macros not tested. Mention which functions not tested are aliases
32663 for other functions. Fix typo. Note that signs of NaNs are not
32664 tested.
32665
23c31b76
JM
32666 * scripts/config.guess: Update from config.git.
32667 * scripts/config.sub: Likewise.
32668
9043e228
RM
326692012-10-04 Roland McGrath <roland@hack.frob.com>
32670
32671 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32672 * misc/madvise.c (madvise): Renamed to __madvise.
32673 Make madvise a weak alias.
32674 * include/sys/mman.h: Declare __madvise.
32675 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32676 * sysdeps/unix/syscalls.list
32677 (madvise): Make __madvise the strong name, and madvise a weak alias.
32678 * sysdeps/unix/sysv/linux/syscalls.list
32679 (madvise, mmap): Remove redundant entries.
32680 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32681 * malloc/malloc.c (mtrim): Likewise.
32682 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32683
f57f8055
RM
326842012-10-03 Roland McGrath <roland@hack.frob.com>
32685
32686 * sysdeps/mach/hurd/dl-cache.c: File removed.
32687 * config.h.in (USE_LDCONFIG): New #undef.
32688 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32689 * configure: Regenerated.
32690 * elf/Makefile (dl-routines): Add dl-cache only under
32691 [$(use-ldconfig) = yes].
32692 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32693 cache on [USE_LDCONFIG].
32694 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32695 [USE_LDCONFIG].
32696 * elf/rtld.c (dl_main): Likewise.
32697
5bb0c10a
PT
326982012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32699
32700 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32701 _SC_LEVEL4_CACHE_LINESIZE.
32702
010188c6
RM
327032012-10-03 Roland McGrath <roland@hack.frob.com>
32704
32705 * sysdeps/unix/bsd/confstr.h: File removed.
32706
b6c5ec07
AO
327072012-10-02 Alexandre Oliva <aoliva@redhat.com>
32708
32709 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32710 sys/sdt-config.h.
32711
408223d4
RM
327122012-10-02 Roland McGrath <roland@hack.frob.com>
32713
32714 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32715 Make 'mapoff' field ElfW(Off) rather than off_t.
32716
bb9510dc
DL
327172012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32718
fc997c6e
DL
32719 * nscd/Makefile: Remove nscd-cflags and all its users.
32720 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32721 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32722
bb9510dc
DL
32723 [BZ #10631]
32724 * malloc.c (malloc_printerr): Clarify error message.
32725
05699367
L
327262012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32727
32728 [BZ #14648]
32729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32730 Set bit_FMA_Usable if FMA is supported.
32731 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32732 macro.
32733 (bit_FMA4_Usable): Updated.
32734 (index_FMA_Usable): New macro.
32735 (CPUID_FMA): Likewise
32736 (HAS_FMA): Defined with bit_FMA_Usable.
32737
51367701
RM
327382012-10-01 Roland McGrath <roland@hack.frob.com>
32739
32740 * bits/types.h (__swblk_t): Type removed.
32741 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32742 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32743 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32744 (__SWBLK_T_TYPE): Likewise.
32745 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32746 (__SWBLK_T_TYPE): Likewise.
32747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32748 (__SWBLK_T_TYPE): Likewise.
32749 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32750 (__SWBLK_T_TYPE): Likewise.
32751
4d57bf63 327522012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32753 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32754
32755 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32756 (xdr_mapname): Use YPMAXMAP as maxsize.
32757 (xdr_peername): Use YPMAXPEER as maxsize.
32758 (xdr_keydat): Use YPAXRECORD as maxsize.
32759 (xdr_valdat): Use YPMAXRECORD as maxsize.
32760
93c65d43
RM
327612012-10-01 Roland McGrath <roland@hack.frob.com>
32762
497a03d6
RM
32763 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32764
93c65d43
RM
32765 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32766 * csu/init-first.c: ... here.
32767 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32768 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32769 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32770 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32771 * sysdeps/i386/init-first.c: File removed.
32772 * sysdeps/sh/init-first.c: File removed.
32773
bec749fd
JM
327742012-10-01 Joseph Myers <joseph@codesourcery.com>
32775
32776 [BZ #14645]
32777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32778 if x * y might underflow to zero and z is zero.
32779 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32780 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32781 * math/libm-test.inc (min_subnorm_value): New variable.
32782 (fma_test): Add more tests.
32783 (fma_test_towardzero): Likewise.
32784 (fma_test_downward): Likewise
32785 (fma_test_upward): Likewise.
32786 (initialize): Set min_subnorm_value.
32787
8ec5b013
JM
327882012-09-29 Joseph Myers <joseph@codesourcery.com>
32789
32790 [BZ #14638]
32791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32792 0 + 0.
32793 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32794 mode for addition resulting in exact zero.
32795 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32797 exact 0 + 0.
32798 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32799 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32800 * math/libm-test.inc (fma_test): Add more tests.
32801 (fma_test_towardzero): New function.
32802 (fma_test_downward): Likewise.
32803 (fma_test_upward): Likewise.
32804 (main): Call the new functions.
32805
b1fa802e
DM
328062012-09-28 David S. Miller <davem@davemloft.net>
32807
32808 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32809
d3b9fd9e
RM
328102012-09-28 Roland McGrath <roland@hack.frob.com>
32811
ea4d37b3
RM
32812 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32813 instead of SIGALRM.
32814
ac51c949
RM
32815 * sysdeps/gnu/_G_config.h: Moved to ...
32816 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32817 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32818 * sysdeps/generic/_G_config.h: ... here.
32819
28c195f7
RM
32820 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32821
848917f9
RM
32822 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32823
6bacf05b
RM
32824 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32825 Conditionalize target on [libnss_test1.so-version].
32826
91363dbb
RM
32827 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32828
cc87f7d8
RM
32829 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32830 (elfobjdir): Move out of conditionals.
32831
b1c608fe
RM
32832 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32833 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32834 (__nss_lookup_function): Conditionalize label remove_from_tree on
32835 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32836
1d9a6d96
DM
328372012-09-28 David S. Miller <davem@davemloft.net>
32838
32839 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32840 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32841 file.
32842 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32843 sysdep_routines.
32844 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32845 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32846 when HWCAP_SPARC_CRYPTO is present.
32847
72581615
PT
328482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32849
32850 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32851
715a900c
JL
328522012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32853
32854 [BZ #6530]
32855 * stdio-common/vfprintf.c (process_string_arg): Revert
32856 2000-07-22 change.
32857
328582011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32859
32860 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32861 for testcase.
32862 * stdio-common/tst-sprintf.c: Include <locale.h>
32863 (main): Test sprintf's handling of incomplete multibyte
32864 characters.
32865
9bac1d86
L
328662012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32867
32868 * elf/dl-runtime.c (VERSYMIDX): Removed.
32869 * elf/dl-version.c (VERSYMIDX): Likewise.
32870 * elf/do-rel.h (VERSYMIDX): Likewise.
32871 (VALIDX): Likewise.
32872 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32873 * elf/rtld.c (VALIDX): Likewise.
32874 (ADDRIDX): Likewise.
9bac1d86
L
32875 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32876 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32877 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32878 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32879 (VALIDX): Likewise.
32880 (ADDRIDX): Likewise.
9bac1d86 32881
b31606c0
PT
328822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32883
32884 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32885
11541177
JL
328862012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32887
32888 [BZ #11438]
32889 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32890 to global scope.
32891 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32892 addresses are in the same scope as 192.0.2/24.
32893 * posix/gai.conf: Document new scope table defaults.
32894
adb26fae
SP
328952012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32896
32897 [BZ #5298]
32898 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32899 for ftell. Compute offsets from write pointers instead.
32900 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32901
4573c6b0
SP
329022012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32903
32904 [BZ #14543]
32905 * libio/Makefile (tests): New test case tst-fseek.
32906 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32907 combination works in wide mode.
32908 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32909 state when the external buffer state changes.
32910
aa9bbfe6
DM
329112012-09-27 David S. Miller <davem@davemloft.net>
32912
32913 [BZ #14376]
32914 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32915 pass reloc->r_addend in as the 'high' argument to
32916 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32917
784421e7
DM
32918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32919
c39bc8b8
PT
329202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32921
32922 * rt/tst-aio2.c: Include <pthread.h>.
32923 * rt/tst-aio3.c: Likewise.
32924
1ccc2399
SE
329252012-09-27 Steve Ellcey <sellcey@mips.com>
32926
32927 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32928
31ed4153
L
329292012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32930
25f5f885
L
32931 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32932 contents on [SHARED].
31ed4153 32933
b7bfe116
MP
329342012-09-26 Marek Polacek <polacek@redhat.com>
32935
32936 [BZ #14530]
32937 [BZ #13741]
32938 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32939 for C++ and GCC <4.3 as well as for non GCC compilers.
32940
43c4edba
MT
329412012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32942
32943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32944
6a1bf82f
RM
329452012-09-25 Roland McGrath <roland@hack.frob.com>
32946
32947 * Makefile.in (all, install): Declare with .PHONY.
32948 Reported by Michael Hope <michael.hope@linaro.org>.
32949
8ad11b9a
TMQMF
329502012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32951
32952 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32953 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32954 system header.
32955 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32956 Likewise.
32957 (sydep_routines): Add the new and the internal functions.
32958 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32959 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32961 (GLIBC_2.17): Add the new function.
32962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32963 (GLIBC_2.17): Likewise.
32964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32965 (GLIBC_2.17): Likewise.
32966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32967 (GLIBC_2.17): Likewise.
32968 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32969
7e2fca8d
AM
329702012-09-25 Alan Modra <amodra@gmail.com>
32971
32972 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32973 Add release barrier before setting once_control to say
32974 initialisation is done. Add hints on lwarx. Use macro in
32975 place of isync.
32976 (clear_once_control): Add release barrier.
32977
b87c4b24
JM
329782012-09-25 Joseph Myers <joseph@codesourcery.com>
32979
d032e0d2
JM
32980 [BZ #13629]
32981 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32982 specially.
32983 * math/s_clog10.c (__clog10): Likewise.
32984 * math/s_clog10f.c (__clog10f): Likewise.
32985 * math/s_clog10l.c (__clog10l): Likewise.
32986 * math/s_clogf.c (__clogf): Likewise.
32987 * math/s_clogl.c (__clogl): Likewise.
32988 * math/Makefile (libm-calls): Add x2y2m1.
32989 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32990 (__x2y2m1): Likewise.
32991 (__x2y2m1l): Likewise.
32992 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32993 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32994 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32995 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32996 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32997 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32998 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32999 * sysdeps/i386/fpu/libm-test-ulps: Update.
33000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33001
b87c4b24
JM
33002 [BZ #14621]
33003 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33004 int as type of variable DEPTH.
33005 (glob): Use size_t instead of int as type of variables NEWCOUNT
33006 and OLD_PATHC.
33007
6d3bf199
LD
330082012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33009
22bf5c17
LD
33010 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33011 Add s_sincosf-sse2.
33012 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33013 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33014 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33015 macros for using routine as __sincosf_ia32.
33016 Use macro for function declaration and weak_alias.
33017 * sysdeps/i386/fpu/libm-test-ulps: Update.
33018
33019 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33021
33022 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
33023 subnormal argument.
33024 * math/s_cexpf.c (__cexpf): Likewise.
33025 * math/s_csinf.c (__csinf): Likewise.
33026 * math/s_csinhf.c (__csinhf): Likewise.
33027 * math/s_ctanf.c (__ctanf): Likewise.
33028 * math/s_ctanhf.c (__ctanhf): Likewise.
33029 * math/s_ccosh.c (__ccoshf): Likewise.
33030 * math/s_cexp.c (__cexpl): Likewise.
33031 * math/s_csin.c (__csin): Likewise.
33032 * math/s_csinh.c (__csinh): Likewise.
33033 * math/s_ctan.c (__ctan): Likewise.
33034 * math/s_ctanh.c (ctanh): Likewise.
33035 * math/s_ccoshl.c (__ccoshl): Likewise.
33036 * math/s_cexpl.c (__cexpl): Likewise.
33037 * math/s_csinl.c (__csinl): Likewise.
33038 * math/s_csinhl.c (__csinhl): Likewise.
33039 * math/s_ctanl.c (__ctanl): Likewise.
33040 * math/s_ctanhl.c (__ctanhl): Likewise.
33041
203e5603
JM
330422012-09-25 Joseph Myers <joseph@codesourcery.com>
33043
33044 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33045 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33046 (_IO_off_t): Define to __off_t, not _G_off_t.
33047 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33048 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33049 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33050 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33051 type of __dummy and __dummy2 fields.
33052 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33053 (_G_ssize_t): Likewise.
33054 (_G_off_t): Likewise.
33055 (_G_pid_t): Likewise.
33056 (_G_uid_t): Likewise.
33057 (_G_wchar_t): Likewise.
33058 (_G_wint_t): Likewise.
33059 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33060 (_G_ssize_t): Likewise.
33061 (_G_off_t): Likewise.
33062 (_G_pid_t): Likewise.
33063 (_G_uid_t): Likewise.
33064 (_G_wchar_t): Likewise.
33065 (_G_wint_t): Likewise.
33066 * sysdeps/mach/hurd/_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
9fab36eb
SP
330742012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33075
33076 * malloc/arena.c: Include malloc-sysdep.h.
33077 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33078 is sufficient to shrink the heap or an unmap is needed.
33079 * sysdeps/generic/malloc-sysdep.h: New file. Define
33080 new function check_may_shrink_heap.
33081 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33082 new function check_may_shrink_heap.
33083
2b4f00d1
SP
330842012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33085
33086 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33087 comments.
33088
9a9028b1
DL
330892012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33090
57c69bef
DL
33091 * catgets/test-gencat.sh: Add "set -e".
33092 * elf/tst-pathopt.sh: Likewise.
33093 * grp/tst_fgetgrent.sh: Likewise.
33094 * iconvdata/run-iconv-test.sh: Likewise.
33095 * intl/tst-gettext.sh: Likewise.
33096 * intl/tst-gettext2.sh: Likewise.
33097 * intl/tst-gettext4.sh: Likewise.
33098 * intl/tst-gettext6.sh: Likewise.
33099 * intl/tst-translit.sh: Likewise.
33100 * io/ftwtest-sh: Likewise.
33101 * libio/test-freopen.sh: Likewise.
33102 * malloc/tst-mtrace.sh: Likewise.
33103 * posix/globtest.sh: Likewise.
33104 * posix/tst-getconf.sh: Likewise.
33105 * posix/wordexp-tst.sh: Likewise.
33106 * stdio-common/tst-printf.sh: Likewise.
33107 * stdio-common/tst-unbputc.sh: Likewise.
33108 * stdlib/tst-fmtmsg.sh: Likewise.
33109 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33110 * catgets/Makefile: Do not specify -e option when running
33111 testsuite shell scripts.
33112 * elf/Makefile: Likewise.
33113 * grp/Makefile: Likewise.
33114 * iconvdata/Makefile: Likewise.
33115 * intl/Makefile: Likewise.
33116 * io/Makefile: Likewise.
33117 * libio/Makefile: Likewise.
33118 * malloc/Makefile: Likewise.
33119 * posix/Makefile: Likewise.
33120 * stdio-common/Makefile: Likewise.
33121 * stdlib/Makefile: Likewise.
33122 * sysdeps/x86_64/Makefile: Likewise.
33123
9a9028b1
DL
33124 * io/ftwtest-sh: Add copyright header.
33125 * posix/globtest.sh: Likewise.
33126 * posix/tst-getconf.sh: Likewise.
33127 * posix/wordexp-tst.sh: Likewise.
33128 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33129
ced6f16e
L
331302012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33131
94b32c39
L
33132 [BZ #13679]
33133 * Makeconfig (+link): Defined as $(+link-static) if
33134 $(build-shared) isn't yes.
33135 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33136 isn't yes.
33137 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33138
189e935b
L
33139 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33140
ced6f16e
L
33141 [BZ #14562]
33142 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33143 new chunk size with MALLOC_ALIGN_MASK.
33144
a9f8e53a
JM
331452012-09-24 Joseph Myers <joseph@codesourcery.com>
33146
33147 [BZ #5044]
33148 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33149 <rounding-mode.h>.
33150 (__printf_fphex): Determine rounding using get_rounding_mode and
33151 round_away.
33152 * stdio-common/tst-printf-round.c (struct hex_test): New
33153 structure.
33154 (hex_tests): New variable.
33155 (test_hex_in_one_mode): New function.
33156 (do_test): Also run tests for hex float output.
33157
43153109
JM
331582012-09-21 Joseph Myers <joseph@codesourcery.com>
33159
33160 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33161 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33162 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33163 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33164 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33165 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33166 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33167 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33168
8a26625d
JM
331692012-09-20 Joseph Myers <joseph@codesourcery.com>
33170
33171 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33172 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33173 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33174 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33175
f3fd569c
DL
331762012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33177
33178 [BZ #14579]
33179 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33180 mode only.
33181 * elf/tst-rtld-load-self.sh: New test.
33182 * elf/Makefile: Run it.
33183
63bbedd4
JM
331842012-09-18 Joseph Myers <joseph@codesourcery.com>
33185
33186 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33187 (tst-writev-ENV): Remove.
33188 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33189
626f8b6a
CM
331902012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33191
33192 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33193
b7aaa4d6
JM
331942012-09-17 Joseph Myers <joseph@codesourcery.com>
33195
33196 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33197 unconditional.
33198 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33199 Likewise.
33200 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33201 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33202 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33203 Likewise.
33204
65513990
L
332052012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33206
33207 [BZ #14587]
33208 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33209 * config.make.in (have-cpp-asm-debuginfo): Removed.
33210 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33211 * configure: Regenerated.
33212
784761be
JM
332132012-09-14 Joseph Myers <joseph@codesourcery.com>
33214
33215 [BZ #5044]
33216 * stdio-common/printf_fp.c: Include <stdbool.h> and
33217 <rounding-mode.h>.
33218 (___printf_fp): Determine rounding using get_rounding_mode and
33219 round_away.
33220 * stdio-common/tst-printf-round.c: New file.
33221 * stdio-common/Makefile (tests): Add tst-printf-round.
33222 (link-libm): New variable.
33223 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33224
9503345f
L
332252012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33226
33227 [BZ #14576]
33228 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33229 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33230 Likewise.
33231 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33232 Likewise.
33233
ad35fc00
JM
332342012-09-13 Joseph Myers <joseph@codesourcery.com>
33235
33236 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33237 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33238 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33239 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33240
6c9b0f68
JM
332412012-09-12 Joseph Myers <joseph@codesourcery.com>
33242
33243 [BZ #14518]
33244 * include/rounding-mode.h: New file.
33245 * sysdeps/generic/get-rounding-mode.h: Likewise.
33246 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33247 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33248 (MAX_VALUE): New macro.
33249 (MIN_VALUE): Likewise.
33250 (overflow_value): New function.
33251 (underflow_value): Likewise.
33252 (round_and_return): Use overflow_value and underflow_value to
33253 determine return values in overflow and underflow cases. Use
33254 round_away to determine rounding depending on rounding mode.
33255 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33256 determine return values in overflow and underflow cases.
33257 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33258 (struct test_results): New structure.
33259 (struct test): Use struct test_results to store expected results
33260 for all rounding modes.
33261 (TEST): Include expected results for all rounding modes.
33262 (test_in_one_mode): New function.
33263 (do_test): Use test_in_one_mode to compute and check results.
33264 Check results for all rounding modes.
33265 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33266 $(link-libm).
33267
19fcedd5
AM
332682012-12-09 Allan McRae <allan@archlinux.org>
33269
1e9d84cd 33270 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 33271
8bbfd2f1
JM
332722012-09-11 Joseph Myers <joseph@codesourcery.com>
33273
33274 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33275 (_G_int32_t): Likewise.
33276 (_G_uint16_t): Likewise.
33277 (_G_uint32_t): Likewise.
33278 (_G_HAVE_BOOL): Likewise.
33279 (_G_HAVE_ATEXIT): Likewise.
33280 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33281 (_G_HAVE_IO_FILE_OPEN): Likewise.
33282 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33283 (_G_int32_t): Likewise.
33284 (_G_uint16_t): Likewise.
33285 (_G_uint32_t): Likewise.
33286 (_G_HAVE_BOOL): Likewise.
33287 (_G_HAVE_ATEXIT): Likewise.
33288 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33289 (_G_HAVE_IO_FILE_OPEN): Likewise.
33290 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33291 (_G_int32_t): Likewise.
33292 (_G_uint16_t): Likewise.
33293 (_G_uint32_t): Likewise.
33294 (_G_HAVE_BOOL): Likewise.
33295 (_G_HAVE_ATEXIT): Likewise.
33296 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33297 (_G_HAVE_IO_FILE_OPEN): Likewise.
33298
b1dc5912
L
332992012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33300
33301 * csu/libc-tls.c: Update copyright years.
33302
0e886ef9
JM
333032012-09-10 Joseph Myers <joseph@codesourcery.com>
33304
28361c5e
JM
33305 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33306 [!_G_USING_THUNKS]: Remove conditional code.
33307 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33308 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33309
0e886ef9
JM
33310 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33311 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33312 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33313 (_G_VTABLE_LABEL_PREFIX): Likewise.
33314 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33315 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33316 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33317 (_G_VTABLE_LABEL_PREFIX): Likewise.
33318 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33319 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33320 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33321 (_G_VTABLE_LABEL_PREFIX): Likewise.
33322 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33323
bcba7aa2
L
333242012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33325
33326 * libio/Makefile: Include ../Makeconfig before tests.
33327 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33328 only if $(build-shared) is yes.
33329
06585ee8
L
33330 * iconv/gconv_db.c: Update copyright years.
33331
80ccd52c
LD
333322012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33333
33334 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33335 unwind info if defined PIC. Fix special cases description.
33336 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33337
33338 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33339 DP_HI_MASK entry.
33340 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33341
691bc9c1
L
333422012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33343
3d9b46b3
L
33344 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33345
de2139a9
L
33346 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33347 is NULL.
33348
5ca78dd0
L
33349 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33350 (LDLIBS-tst-chk4): This.
33351 (LDFLAGS-tst-chk5): Renamed to ...
33352 (LDLIBS-tst-chk5): This.
33353 (LDFLAGS-tst-chk6): Renamed to ...
33354 (LDLIBS-tst-chk6): This.
33355 (LDFLAGS-tst-lfschk4): Renamed to ...
33356 (LDLIBS-tst-lfschk4): This.
33357 (LDFLAGS-tst-lfschk5): Renamed to ...
33358 (LDLIBS-tst-lfschk5): This.
33359 (LDFLAGS-tst-lfschk6): Renamed to ...
33360 (LDLIBS-tst-lfschk6): This.
33361
691bc9c1
L
33362 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33363 on $(common-objpfx)soversions.mk.
33364
65cafb1c
JM
333652012-09-07 Joseph Myers <joseph@codesourcery.com>
33366
33367 [BZ #10014]
33368 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33369 example host name.
33370
c78ab094
SP
333712012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33372
33373 * malloc/arena.c (arena_get_retry): New function that gets
33374 another arena for the caller to try its request on.
33375 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33376 current arena cannot fulfill the request.
33377 (__libc_memalign): Likewise.
33378 (__libc_memalign): Likewise.
33379 (__libc_pvalloc): Likewise.
33380 (__libc_calloc): Likewise.
33381
01f49f59
JT
333822012-09-05 John Tobey <john.tobey@gmail.com>
33383
33384 [BZ #13542]
33385 * manual/arith.texi (Operations on Complex): Fix description
33386 of carg branch cut.
33387
4c23fed5
JM
333882012-09-06 Joseph Myers <joseph@codesourcery.com>
33389
1d3c8572
JM
33390 [BZ #10014]
33391 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33392 host name.
33393
4c23fed5
JM
33394 [BZ #10038]
33395 * manual/memory.texi (Memory): Make order of menu items match
33396 order of sections.
33397
04570aaa
L
333982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33399
33400 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33401 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33402 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33403
b80af2f4
L
334042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33405
33406 * csu/libc-tls.c (static_dtv): Renamed to ...
33407 (_dl_static_dtv): This. Make it global.
33408 (_dl_initial_dtv): Removed.
33409 (__libc_setup_tls): Updated.
33410 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33411 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33412 DL_INITIAL_DTV.
33413
2abe9f15
PM
334142012-09-06 Petr Machata <pmachata@redhat.com>
33415
33416 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33417 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33418 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33419 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33420
0948c3af
L
334212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33422
33423 [BZ #14545]
33424 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33425 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33426 freeing dtv[-1].
33427
a5055ad1
L
334282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33429
33430 [BZ #14544]
33431 * Makeconfig (link-static-before-libc): Replace $(+prector)
33432 with $(+prectorT).
33433 (link-static-after-libc): Replace $(+postctor) with
33434 $(+postctorT).
33435 (link-bounded): Replace $(+prector)/$(+postctor) with
33436 $(+prectorT)/$(+postctorT).
33437 (+prectorT): New macro.
33438 (+postctorT): Likewise.
33439
ed8c2ecd
JM
334402012-09-06 Joseph Myers <joseph@codesourcery.com>
33441
33442 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33443 (round_str): Handle values above the maximum for IBM long double
33444 as inexact.
33445 * stdlib/tst-strtod-round.c (tests): Regenerated.
33446
14c996c8
AK
334472012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33448
33449 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33450 assembler flag.
33451 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33452 zarch_nohighgprs around the zarch optimized routines.
33453 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33454 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33455 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33456 for zarch.
33457
430d6ce6
DM
334582012-09-05 David S. Miller <davem@davemloft.net>
33459
33460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33461
57f41c40
AS
33462 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33463 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
33464 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33465 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33466 entries.
33467
24d4e01b
AO
334682012-09-05 Alexandre Oliva <aoliva@redhat.com>
33469
33470 * malloc/arena.c: Fold copyright years.
33471 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33472
61d58174
AO
334732012-09-05 Alexandre Oliva <aoliva@redhat.com>
33474
33475 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33476
20196a5e
AO
334772012-09-05 Alexandre Oliva <aoliva@redhat.com>
33478
33479 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33480
5c447383
AO
334812012-09-05 Alexandre Oliva <aoliva@redhat.com>
33482
33483 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33484 change internal state upon failure.
33485
fad64255
AO
334862012-09-05 Alexandre Oliva <aoliva@redhat.com>
33487
33488 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33489 * malloc/memusage.c (mmap): Likewise.
33490 (mmap64, mremap): Likewise. Adjust name in comment.
33491
1ffb8c90
SP
334922012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33493
33494 * libio/fileops.c: Fix typos in comments.
33495 * libio/oldfileops.c: Likewise.
33496 * libio/wfileops.c: Likewise.
33497
6ef9cc37
SP
334982012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33499
33500 [BZ #1349]
33501 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33502 (tst-malloc-usable-ENV): Set environment for test case.
33503 * malloc/hooks.c (malloc_check_get_size): New function to get
33504 requested size.
33505 * malloc/malloc.c (musable): Use malloc_check_get_size.
33506 * malloc/tst-malloc-usable.c: New test case.
33507
4d038ae3
AS
335082012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33509
33510 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33511
c4e85184
AM
335122012-09-05 Allan McRae <allan@archlinux.org>
33513
b9dafc56 33514 [BZ #13966]
c4e85184
AM
33515 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33516 determine header location.
33517 * configure: Regenerated.
33518
e1343020
AS
335192012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33520
33521 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33522 float format.
33523 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
33524 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33525 format.
e1343020
AS
33526 (test): Regenerate.
33527
0a9f1987
DM
335282012-09-04 David S. Miller <davem@davemloft.net>
33529
33530 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33531 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33532 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33533
29237804
FW
335342012-09-04 Florian Weimer <fweimer@redhat.com>
33535
33536 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33537 failures.
33538
edb3cb88
FW
33539 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33540
60160d83
JM
335412012-09-04 Joseph Myers <joseph@codesourcery.com>
33542
33543 [BZ #9914]
33544 * libio/iogetdelim.c: Include <limits.h>.
33545 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33546 + len + 1 would overflow.
33547
bcd6c8dc
AJ
335482012-09-03 Andreas Jaeger <aj@suse.de>
33549
33550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33551 * sysdeps/i386/fpu/libm-test-ulps: Update.
33552
4ffffbd2
LD
335532012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33554
33555 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33556 Add s_sinf-sse2, s_conf-sse2.
33557
33558 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33559 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33560 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33561 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33562
33563 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33564 for using routine as __sinf_ia32.
33565 Use macro for function declaration and weak_alias.
33566 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33567 for using routine as __cosf_ia32.
33568 Use macro for function declaration and weak_alias.
33569
33570 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33571 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33572
33573 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33574 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33576
33577 * math/libm-test.inc (cos_test): Add more test cases.
33578 (sin_test): Likewise.
33579 (sincos_test): Likewise.
33580
511fa286
AK
335812012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33582
33583 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33584 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33585 hidden.
33586 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33587
5f30cfec
L
335882012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33589
33590 [BZ #14538]
33591 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33592 first element of the GOT.
33593 (elf_machine_load_address): Return the difference between
33594 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33595
0786794f
AM
335962012-09-01 Allan McRae <allan@archlinux.org>
33597
5f30cfec
L
33598 [BZ #13412]
33599 * configure.in (AWK): Require gawk version 3.0 or later.
33600 * configure: Regenerated.
0786794f 33601
26889eac
JM
336022012-09-01 Joseph Myers <joseph@codesourcery.com>
33603
33604 * sysdeps/unix/sysv/linux/kernel-features.h
33605 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33606 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33607 [__NR_clock_getres]: Make code unconditional.
33608 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33609 (clock_getcpuclockid): Remove code left unreachable by removal of
33610 conditionals.
33611 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33612 code unconditional.
33613 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33614 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33615 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33616 Make code unconditional.
33617 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33618 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33619 * sysdeps/unix/sysv/linux/clock_settime.c
33620 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33621 conditional code.
33622 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33623 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33624
d22e28b0
L
336252012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33626
33627 [BZ #14476]
33628 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33629 scripts/test-installation.pl.
33630
33631 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33632 and $ld_so_version if it is set.
33633
050af9c4
SP
336342012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33635
33636 [BZ #14516]
33637 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33638 failure if reading from procfs failed.
33639 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33640
ad845c0b
JM
336412012-08-27 Joseph Myers <joseph@codesourcery.com>
33642
33643 * sysdeps/unix/sysv/linux/kernel-features.h
33644 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33645 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33646 Remove conditional code.
33647 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33648 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33649 Remove conditional code.
33650 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33651 * sysdeps/unix/sysv/linux/i386/fxstat.c
33652 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33653 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33654 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33655 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33656 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33657 * sysdeps/unix/sysv/linux/i386/lxstat.c
33658 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33659 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33660 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33661 Remove conditional code.
33662 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33663 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33664 Remove conditional code.
33665 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33666 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33667 <kernel-features.h>.
33668 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33669 Remove.
33670 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33671 Remove conditional code.
33672 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33673 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33674 Remove conditional.
33675
5dbf56af
MF
336762012-08-27 Mike Frysinger <vapier@gentoo.org>
33677
33678 [BZ #5400]
33679 * NEWS: Add fixed bug number.
33680
d6e70f43
JM
336812012-08-27 Joseph Myers <joseph@codesourcery.com>
33682
7efb4737
JM
33683 [BZ #14519]
33684 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33685 underflowing exponent in case of negative sign.
33686 * stdlib/tst-strtod-round-data: Add more tests.
33687 * stdlib/tst-strtod-round.c (tests): Regenerated.
33688
af92131a
JM
33689 [BZ #3479]
33690 * stdlib/strtod_l.c (NDIG): Remove.
33691 (HEXNDIG): Likewise.
33692 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33693 smallest representable value.
33694 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33695 lie within an exact representation of 1/2 ulp of the result.
33696 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33697 unconditionally.
33698 (TENS_P9_IDX): Define unconditionally.
33699 (TENS_P9_SIZE): Likewise.
33700 (TENS_P10_IDX): Likewise.
33701 (TENS_P10_SIZE): Likewise.
33702 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33703 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33704 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33705 entries for 10^2^13 and 10^2^14.
33706 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33707 (TENS_P13_IDX): Define.
33708 (TENS_P13_SIZE): Likewise.
33709 (TENS_P14_IDX): Likewise.
33710 (TENS_P14_SIZE): Likewise.
33711 (_fpioconst_pow10): Change array size to
33712 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33713 unconditional.
33714 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33715 1024]: Add entries for 10^2^13 and 10^2^14.
33716 [LAST_POW10 > _LAST_POW10]: Remove #error.
33717 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33718 (_fpioconst_pow10): Change array size to
33719 FPIOCONST_POW10_ARRAY_SIZE.
33720 * stdlib/gen-fpioconst.c: New file.
33721 * stdlib/gen-tst-strtod-round.c: Likewise.
33722 * stdlib/tst-strtod-round-data: Likewise.
33723 * stdlib/tst-strtod-round.c: Likewise.
33724 * stdlib/Makefile (tests): Add tst-strtod-round.
33725
d6e70f43
JM
33726 [BZ #14459]
33727 * stdlib/strtod_l.c: Include <stdint.h>.
33728 (NDEBUG): Do not define.
33729 (round_and_return): Change EXPONENT parameter to type intmax_t.
33730 Rearrange calculations to avoid internal overflow possibilities.
33731 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33732 Rearrange calculations to avoid internal overflow possibilities.
33733 Assert that number fits inside MPNSIZE limbs.
33734 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33735 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33736 calculations and add assertions to avoid internal overflow
33737 possibilities. Add casts to avoid signed/unsigned operations.
33738 * stdlib/tst-strtod-overflow.c: New file.
33739 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33740
1f529f7d
MP
337412012-08-25 Marek Polacek <polacek@redhat.com>
33742
33743 * time/time.h: Fix some typos in comments.
33744
59a629f1
RM
337452012-08-23 Roland McGrath <roland@hack.frob.com>
33746
33747 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33748 * posix/tst-rfc3484-2.c: Likewise.
33749 * posix/tst-rfc3484-3.c: Likewise.
33750
d3bafbc9
SM
337512012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33752
33753 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33754 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33755
4efcc022
JM
337562012-08-23 Joseph Myers <joseph@codesourcery.com>
33757
33758 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33759 #include of fxstatat64.c.
33760
3cc3ef96
RM
337612012-08-22 Roland McGrath <roland@hack.frob.com>
33762
f04e2132
RM
33763 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33764 * shadow/getspent_r.c: Likewise.
33765 * shadow/getspnam.c: Likewise.
33766 * shadow/getspnam_r.c: Likewise.
33767 * gshadow/getsgent.c: Likewise.
33768 * gshadow/getsgent_r.c: Likewise.
33769 * gshadow/getsgnam.c: Likewise.
33770 * gshadow/getsgnam_r.c: Likewise.
33771 * inet/getnetbyad.c: Likewise.
33772 * inet/getnetbyad_r.c: Likewise.
33773 * inet/getnetbynm.c: Likewise.
33774 * inet/getnetbynm_r.c: Likewise.
33775 * inet/getnetent.c: Likewise.
33776 * inet/getnetent_r.c: Likewise.
33777 * inet/getproto.c: Likewise.
33778 * inet/getproto_r.c: Likewise.
33779 * inet/getprtent.c: Likewise.
33780 * inet/getprtent_r.c: Likewise.
33781 * inet/getprtname.c: Likewise.
33782 * inet/getprtname_r.c: Likewise.
33783 * inet/getrpcbyname.c: Likewise.
33784 * inet/getrpcbyname_r.c: Likewise.
33785 * inet/getrpcbynumber.c: Likewise.
33786 * inet/getrpcbynumber_r.c: Likewise.
33787 * inet/getrpcent.c: Likewise.
33788 * inet/getrpcent_r.c: Likewise.
33789 * inet/getaliasent.c: Likewise.
33790 * inet/getaliasent_r.c: Likewise.
33791 * inet/getaliasname.c: Likewise.
33792 * inet/getaliasname_r.c: Likewise.
33793 * nscd/getgrgid_r.c: Likewise.
33794 * nscd/getgrnam_r.c: Likewise.
33795 * nscd/gethstbyad_r.c: Likewise.
33796 * nscd/gethstbynm3_r.c: Likewise.
33797 * nscd/getpwnam_r.c: Likewise.
33798 * nscd/getpwuid_r.c: Likewise.
33799 * nscd/getsrvbynm_r.c: Likewise.
33800 * nscd/getsrvbypt_r.c: Likewise.
33801 * nscd/gai.c: Likewise.
33802
c53d909c
RM
33803 * configure.in (build_nscd): New substituted variable, set
33804 by --disable-build-nscd and defaults to $use_nscd.
33805 * configure: Regenerated.
33806 * config.make.in (build-nscd): New substituted variable.
33807 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33808 Change conditional to require [$(build-nscd) = yes] as well.
33809 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33810
3cc3ef96
RM
33811 [BZ# 13696]
33812 * configure.in (use_nscd): New substituted variable, set by
33813 --disable-nscd. If enabled, define USE_NSCD.
33814 * configure: Regenerated.
33815 * config.h.in: Add USE_NSCD.
33816 * config.make.in (use-nscd): New substituted variable.
33817 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33818 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33819 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33820 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33821 (CFLAGS-getgrnam_r.c): Likewise.
33822 (CFLAGS-initgroups.c): Likewise.
33823 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33824 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33825 Variables removed.
33826 * inet/getnetgrent_r.c
33827 (nscd_setnetgrent): New function, broken out of ...
33828 (setnetgrent): ... here. Call it.
33829 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33830 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33831 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33832 * nscd/Makefile (routines, aux): Move definitions after include of
33833 Makeconfig. Conditionalize on [$(use-nscd) != no].
33834 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33835 Conditionalize on [USE_NSCD].
33836 (is_nscd, nscd_init_cb): Likewise.
33837 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33838 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33839 * nss/nss_db/db-init.c: Likewise.
33840 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33841 [USE_NSCD].
33842 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33843 (make_request): Use it.
33844 (cache_valid_p): New function.
33845 (__check_pf): Use it.
33846 * NEWS: Add item for --disable-nscd.
33847
07e51550
DL
338482012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33849
33850 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33851 to support sed >= 4.2.1-20-ga9bf076.
33852 * configure: Regenerated.
33853
35a5b08b
RM
338542012-08-22 Roland McGrath <roland@hack.frob.com>
33855
33856 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33857 Conditionalize whole body on [IREL].
33858
8479f23a
JL
338592012-08-22 Jeff Law <law@redhat.com>
33860
33861 [BZ #14505]
33862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33863 if the family is PF_UNSPEC.
33864
48da0b21
MF
338652012-08-22 Mike Frysinger <vapier@gentoo.org>
33866
33867 * Makerules (lib-version): Rename from V.
33868 (install-lib-nosubdir): Change V to lib-version.
33869
15d0da8c
WS
338702012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33871
33872 [BZ #14252]
33873 * powerpc32/power6/wcschr.c: New file.
33874 * powerpc32/power6/wcscpy.c: New file.
33875 * powerpc32/power6/wcsrchr.c: New file.
33876 * powerpc64/power6/wcschr.c: New file.
33877 * powerpc64/power6/wcscpy.c: New file.
33878 * powerpc64/power6/wcsrchr.c: New file.
33879
bcca0895
MK
338802012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33881
33882 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33883 (two_way_short_needle): Use it.
5a4aaa33
RM
33884 * string/strstr.c (AVAILABLE1_USES_J): Define.
33885 * string/strcasestr.c: Likewise.
99677e57
MK
33886
33887 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33888 array references.
33889 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33890
400726de
MK
33891 [BZ #11607]
33892 * NEWS: Add an entry.
33893 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33894 define their defaults.
33895 (two_way_short_needle): Detect end-of-string on-the-fly.
33896 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33897 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33898 * string/bug-strcasestr1.c: New test.
33899 * string/Makefile: Run it.
33900
20a71f2c
MK
339012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33902
33903 [BZ #11607]
33904 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33905 the first character.
33906
21ad0558
RM
339072012-08-21 Roland McGrath <roland@hack.frob.com>
33908
33909 * csu/elf-init.c (__libc_csu_irel): Function removed.
33910 * csu/libc-start.c (apply_irel): New function.
33911 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33912
0e1d9911
JM
339132012-08-21 Joseph Myers <joseph@codesourcery.com>
33914
33915 * sysdeps/unix/sysv/linux/kernel-features.h
33916 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33917 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33918 <kernel-features.h>.
33919 [__NR_fadvise64_64]: Make code unconditional.
33920 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33921 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33922 !__NR_fadvise64_64)]: Likewise.
33923 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33924 !__NR_fadvise64_64))]: Likewise.
33925 [__NR_fadvise64]: Make code unconditional.
33926 [!__NR_fadvise64]: Remove conditional code.
33927 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33928 <kernel-features.h>.
33929 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33930 unconditional.
33931 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33932 conditional code.
33933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33934 not include <kernel-features.h>.
33935 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33936 unconditional.
33937 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33938 conditional code.
33939 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33940 include <kernel-features.h>.
33941 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33942 unconditional.
33943 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33944 conditional code.
33945
14a50c9d
WS
339462012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33947
33948 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33949 slight instruction rearrangements per scrollpipe analysis.
33950 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33951
c0f4faf0
RM
339522012-08-20 Roland McGrath <roland@hack.frob.com>
33953
696da859
RM
33954 * manual/syslog.texi (syslog; vsyslog, closelog):
33955 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33956 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33957
c0f4faf0
RM
33958 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33959 DSOCAPS to match condition on defining it.
33960
348363b2
JM
339612012-08-20 Joseph Myers <joseph@codesourcery.com>
33962
a35cbf28
JM
33963 * sysdeps/unix/sysv/linux/kernel-features.h
33964 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33966 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33967 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33969 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33970 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33972 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33973 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33974
445f7ecd
JM
33975 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33976 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33977
348363b2
JM
33978 * sysdeps/unix/sysv/linux/kernel-features.h
33979 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33980 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33981 unconditional.
33982 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33983 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33984 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33985 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33986 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33987 Make code unconditional.
33988 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33989 (__mmap64) [!__NR_mmap2]: Likewise.
33990 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33991 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33992 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33993 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33994 [__NR_mmap2]: Make code unconditional.
33995 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33996 (__mmap64) [!__NR_mmap2]: Likewise.
33997
bc5bc0e5
AK
339982012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33999
34000 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34001
88d506de
AJ
340022012-08-18 Andreas Jaeger <aj@suse.de>
34003
34004 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34005
493387d2
MF
340062012-08-18 Mike Frysinger <vapier@gentoo.org>
34007
34008 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34009 * include/unistd.h (__have_sock_cloexec): Likewise.
34010 (__have_pipe2): Likewise.
34011 (__have_dup3): Likewise.
34012
a277af22
MF
340132012-08-18 Mike Frysinger <vapier@gentoo.org>
34014
34015 [BZ #9685]
34016 * include/unistd.h (__have_pipe2): Change define into an extern int.
34017 (__have_dup3): Likewise.
34018 * socket/have_sock_cloexec.c: Include fcntl.h.
34019 (__have_pipe2): New variable.
34020 (__have_dup3): Likewise.
34021
fdab8fd3
MF
340222012-08-17 Mike Frysinger <vapier@gentoo.org>
34023
34024 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34025
31035e80
MP
340262012-08-17 Marek Polacek <polacek@redhat.com>
34027
34028 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34029 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34030
3bd9e993
RM
340312012-08-17 Roland McGrath <roland@hack.frob.com>
34032
c91c505f
RM
34033 * configure.in: Add AC_SUBST for sysheaders.
34034 * configure: Regenerated.
34035 * config.make.in (sysheaders): New substituted variable.
34036
7c6f9d53
RM
34037 * sysdeps/unix/mkfifo.c: Moved ...
34038 * sysdeps/posix/mkfifo.c: ... here.
34039 * sysdeps/unix/mkfifoat.c: Moved ...
34040 * sysdeps/posix/mkfifoat.c: ... here.
34041
34042 * sysdeps/unix/utime.c: Moved ...
34043 * sysdeps/posix/utime.c: ... here.
34044
34045 * sysdeps/unix/time.c: Moved ...
34046 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
34047 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34048 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
34049
34050 * sysdeps/unix/nice.c: Moved ...
34051 * sysdeps/posix/nice.c: ... here.
34052
34053 * sysdeps/unix/alarm.c: Moved ...
34054 * sysdeps/posix/alarm.c: ... here.
34055
3bd9e993
RM
34056 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34057
d1f09384
JL
340582012-08-17 Jeff Law <law@redhat.com>
34059
34060 * intl/Makefile (codeset_mo): New variable.
34061 ($(codeset_mo)): New target.
34062 (tst-codeset.out): Depend on that. Remove explicit rule.
34063 (tst-gettext3.out, tst-gettext5.out): Likewise.
34064 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34065 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34066 * intl/tst-codeset.sh: Remove.
34067 * intl/tst-gettext3.sh: Likewise.
34068 * intl/tst-gettext5.sh: Likewise.
34069
2ae1ae5c
RM
340702012-08-17 Roland McGrath <roland@hack.frob.com>
34071
c31fdb83
RM
34072 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34073 * sysdeps/unix/syscalls.list: ... here.
34074
a0844057
RM
34075 * sysdeps/posix/getaddrinfo.c
34076 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34077 (gaiconf_init, gaiconf_reload): Use them.
34078 [!_STATBUF_ST_NSEC]
34079 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34080 Define using time_t rather than struct timespec.
34081
750c1f2a
RM
34082 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34083 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34084 Macros removed.
34085 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34086 [!NO_THREADS].
34087 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34088 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34089 Likewise.
34090
2ae1ae5c
RM
34091 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34092 __libc_cleanup_push argument.
34093
e66a42f5
RM
34094 * bits/param.h: New file.
34095 * misc/sys/param.h: New file.
34096 * include/sys/param.h: New file.
34097 * misc/Makefile (headers): Add bits/param.h.
34098 * sysdeps/generic/sys/param.h: File removed.
34099 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34100 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34101 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 34102 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 34103
b7c08a66
RM
34104 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34105 last change.
34106
b2e1c562
RM
34107 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34108 [_IO_MTSAFE_IO].
34109 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34110 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34111 New macros.
34112
c75ccd4c
RM
34113 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34114 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34115 rather than -D_IO_MTSAFE_IO conditionally.
34116 * stdio-common/Makefile (CPPFLAGS): Likewise.
34117 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34118 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34119 Use $(libio-mtsafe).
34120 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34121 of -D_IO_MTSAFE_IO.
34122 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34123 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34124 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34125 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34126 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34127 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34128 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34129 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34130 (CFLAGS-fread_u_chk.c): Likewise.
34131 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34132 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34133 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34134 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34135 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34136 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34137 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34138 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34139 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34140
34141 * libio/Makefile: Test [$(libc-reentrant) = yes]
34142 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34143
34144 * Makeconfig
34145 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34146 * sysdeps/pthread/configure: File removed.
34147 * sysdeps/pthread/Makeconfig: New file.
34148 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34149 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34150
d9195db8
GB
341512012-08-16 Gary Benson <gbenson@redhat.com>
34152
34153 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34154 unmapping the first object in a namespace.
34155
86466cd9
RM
341562012-08-16 Roland McGrath <roland@hack.frob.com>
34157
34158 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34159 (__internal_setnetgrent): ... this. Add internal_function to
34160 definition. Add libc_hidden_def.
34161 (setnetgrent): Update caller.
34162 (internal_endnetgrent): Renamed to ...
34163 (__internal_endnetgrent): ... this. Add internal_function to
34164 definition. Add libc_hidden_def.
34165 (endnetgrent): Update caller.
34166 (internal_getnetgrent_r): Renamed to ...
34167 (__internal_getnetgrent_r): ... this. Add internal_function to
34168 definition. Add libc_hidden_def.
34169 (__getnetgrent_r): Update caller.
34170 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34171
c3c8283c
JM
341722012-08-16 Joseph Myers <joseph@codesourcery.com>
34173
34174 * stdlib/longlong.h: Update from GCC.
34175
db1ee0a8
RM
341762012-08-16 Roland McGrath <roland@hack.frob.com>
34177
34178 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34179 on _QL, which is set by umul_ppmm but never used.
34180 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34181 variables, which are set by GMP macros but never used.
34182 * stdio-common/_itowa.c (_itowa): Likewise.
34183 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34184 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34185
30f69637
CD
341862012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34187
34188 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34189 struct La_sh_regs is not constant.
34190 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34191 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34192 and struct La_sparc64_regs are not constant.
34193
93a78ac4
JM
341942012-08-16 Joseph Myers <joseph@codesourcery.com>
34195
34196 * sysdeps/unix/sysv/linux/kernel-features.h
34197 (__ASSUME_POSIX_TIMERS): Remove.
34198 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34199 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34200 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34201 Make code unconditional.
34202 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34203 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34204 Make code unconditional.
34205 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34206 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34207 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34208 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34209 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34210 Make code unconditional.
34211 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34212 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34213 (__libc_missing_posix_timers): Remove.
34214
dd924cd7
RM
342152012-08-15 Roland McGrath <roland@hack.frob.com>
34216
4b4f2771
RM
34217 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34218 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34219
601c888b
RM
34220 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34221
176790a7
RM
34222 * elf/dl-sym.c: Include <stdlib.h>.
34223
329bc018
RM
34224 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34225 constants, which avoids warnings in 32-bit builds.
34226
e04e272d
RM
34227 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34228 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34229
952bf94a
RM
34230 * misc/lseek.c: File moved to ...
34231 * io/lseek.c: ... here.
34232
7c99b50a
RM
34233 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34234
dd924cd7
RM
34235 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34236 shifting LEN more than 31 bits at once.
34237
b3f479a8
LD
342382012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34239
34240 [BZ #14195]
8c4ae0d4
RM
34241 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34242 segmentation fault for a case of two empty input strings.
b3f479a8
LD
34243 * string/test-strncasecmp.c (check1): Renamed to...
34244 (bz12205): ...this.
34245 (bz14195): Add new testcase for two empty input strings and N > 0.
34246 (test_main): Call new testcase, adapt for renamed function.
34247
9c55864e
AJ
342482012-08-15 Andreas Jaeger <aj@suse.de>
34249
34250 [BZ #14090]
34251 * crypt/md5test2.c: New test, based on test supplied by Serge
34252 Belyshev <belyshev@depni.sinp.msu.ru>.
34253 * crypt/Makefile (xtests): Add md5test-giant..
34254 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34255
02dcb6c5
PE
342562012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34257
34258 [BZ #14090]
34259 * crypt/md5.c (md5_process_block): Don't assume the buffer
34260 length is less than 2**32.
34261 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34262 length is less than 2**64.
34263
a3f95dcc
RM
342642012-08-15 Roland McGrath <roland@hack.frob.com>
34265
be75d758
RM
34266 * string/str-two-way.h: Include <sys/param.h>.
34267 (MAX): Macro removed.
34268
7312ca90
RM
34269 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34270 Move #define and #undef of memmove to just before and after
34271 including <string.h>.
34272
9a0a5486
RM
34273 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34274 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34275 and after including <string.h>. Move declarations of
34276 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34277 to before #include "string/memmove.c".
34278
67cc348d
RM
34279 * include/dirent.h: Declare __getdirentries.
34280
a3f95dcc
RM
34281 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34282 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34283
ca98e171
MF
342842012-08-14 Mike Frysinger <vapier@gentoo.org>
34285
34286 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34287 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34288 * sysdeps/i386/configure: Regenerated.
34289 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34290 STABS_CURRENT_FILE, and STABS_FUN.
34291 (END): Remove call to STABS_FUN_END.
34292 (STABS_CURRENT_FILE1): Delete.
34293 (STABS_CURRENT_FILE): Likewise.
34294 (STABS_FUN): Likewise.
34295 (STABS_FUN_END): Likewise.
34296 (STABS_FUN2): Likewise.
34297 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34298 * sysdeps/x86_64/configure: Regenerated.
34299
5908bf46
RM
343002012-08-14 Roland McGrath <roland@hack.frob.com>
34301
34302 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 34303 * elf/dl-lookup.c: Likewise.
5908bf46 34304
f2c05b9e
JM
343052012-08-14 Joseph Myers <joseph@codesourcery.com>
34306
34307 * sysdeps/unix/sysv/linux/kernel-features.h
34308 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34309 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34310 unconditionally.
34311 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34312 unconditionally.
34313 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34314 condition on __ASSUME_CLONE_THREAD_FLAGS.
34315
e11f5155
AJ
343162012-08-14 Andreas Jaeger <aj@suse.de>
34317
34318 * sysdeps/i386/fpu/libm-test-ulps: Update.
34319
51a9ba86
MK
343202012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34321
2fdd4f78
AJ
34322 * include/atomic.h (atomic_exchange_and_add): Split into ...
34323 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34324 New atomic macros.
51a9ba86 34325
ba6cba9e
MT
343262012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34327
34328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34329
42443a47
JL
343302012-08-13 Jeff Law <law@redhat.com>
34331
34332 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34333 null byte in the output string.
34334
121dce05
JM
343352012-08-10 Joseph Myers <joseph@codesourcery.com>
34336
34337 * sysdeps/unix/sysv/linux/kernel-features.h
34338 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34339 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34340 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34341 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34342 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34343 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34344 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34345
bf51f568
JL
343462012-08-09 Jeff Law <law@redhat.com>
34347
34348 [BZ #13939]
34349 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34350 When avoid_arena is set, don't retry in the that arena. Pick the
34351 next one, whatever it might be.
34352 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34353 (arena_lock): Pass in new parameter to arena_get2.
34354 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34355 arena_get2.
34356 (__libc_malloc): Unify retrying after main arena failure with
34357 __libc_memalign version.
34358 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34359
f85fa270
L
343602012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34361
34362 [BZ #14166]
34363 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34364 to __redirect_strstr.
34365 (__strstr_sse42): Use typeof __redirect_strstr.
34366 (__strstr_ia32): Likewise.
34367 (__libc_strstr): New prototype.
34368 (strstr): Renamed to ...
34369 (__libc_strstr): This.
34370 (strstr): New strong alias of __libc_strstr.
34371 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34372 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34373 __redirect_time.
34374 Include <time.h>.
34375 (__libc_time): New prototype.
34376 (time_ifunc): Replace time with __libc_time.
34377 (time): New strong alias and hidden definition of __libc_time.
34378 (__GI_time): Remove strong alias.
34379 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34380 Include <stddef.h>.
34381 (memmove): Redefined to __redirect_memmove.
34382 (__memmove_sse2): Use typeof __redirect_memmove.
34383 (__memmove_ssse3): Likewise.
34384 (__memmove_ssse3_back): Likewise.
34385 (__libc_memmove): New prototype.
34386 (memmove): Renamed to ...
34387 (__libc_memmove): This.
34388 (memmove): New strong alias of __libc_memmove.
34389
33b4a91e
MS
343902012-08-08 Mark Salter <msalter@redhat.com>
34391
34392 * elf/elf.h
34393 (R_MN10300_TLS_GD): Define.
34394 (R_MN10300_TLS_LD): Likewise.
34395 (R_MN10300_TLS_LDO): Likewise.
34396 (R_MN10300_TLS_GOTIE): Likewise.
34397 (R_MN10300_TLS_IE): Likewise.
34398 (R_MN10300_TLS_LE): Likewise.
34399 (R_MN10300_TLS_DTPMOD): Likewise.
34400 (R_MN10300_TLS_DTPOFF): Likewise.
34401 (R_MN10300_TLS_TPOFF): Likewise.
34402 (R_MN10300_SYM_DIFF): Likewise.
34403 (R_MN10300_ALIGN): Likewise.
34404 (R_MN10300_NUM): Update.
34405
b36137f1
JM
344062012-08-08 Joseph Myers <joseph@codesourcery.com>
34407
34408 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34409 Remove.
34410
cdd915fd
RM
344112012-08-08 Roland McGrath <roland@hack.frob.com>
34412
a2433aac
RM
34413 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34414
cdd915fd
RM
34415 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34416 sysdeps/unix -> sysdeps/posix move.
34417 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34418
bf9b740a
AM
344192012-08-07 Allan McRae <allan@archlinux.org>
34420
34421 [BZ #14303]
34422 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34423 (SUNOS_CPP): Likewise.
34424 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34425 not found.
34426 (open_input): Call CPP using execvp.
34427
93df14ee
JM
344282012-08-07 Joseph Myers <joseph@codesourcery.com>
34429
34430 * sysdeps/unix/sysv/linux/kernel-features.h
34431 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34432 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34433 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34434 (__ASSUME_WAITID_SYSCALL): Likewise.
34435 * sysdeps/unix/sysv/linux/dl-execstack.c
34436 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34437 code unconditional.
34438 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34439 conditional code.
34440 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34441 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34442 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34443 code.
34444 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34445 unconditional.
34446 [__ASSUME_WAITID_SYSCALL]: Likewise.
34447 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34448
d34689de
RM
344492012-08-07 Roland McGrath <roland@hack.frob.com>
34450
a281decc
RM
34451 * sysdeps/unix/closedir.c: Renamed to ...
34452 * sysdeps/posix/closedir.c: ... here.
34453 * sysdeps/unix/dirfd.c: Renamed to ...
34454 * sysdeps/posix/dirfd.c: ... here.
34455 * sysdeps/unix/dirstream.h: Renamed to ...
34456 * sysdeps/posix/dirstream.h: ... here.
34457 * sysdeps/unix/fdopendir.c: Renamed to ...
34458 * sysdeps/posix/fdopendir.c: ... here.
34459 * sysdeps/unix/opendir.c: Renamed to ...
34460 * sysdeps/posix/opendir.c: ... here.
34461 * sysdeps/unix/readdir.c: Renamed to ...
34462 * sysdeps/posix/readdir.c: ... here.
34463 * sysdeps/unix/readdir_r.c: Renamed to ...
34464 * sysdeps/posix/readdir_r.c: ... here.
34465 * sysdeps/unix/rewinddir.c: Renamed to ...
34466 * sysdeps/posix/rewinddir.c: ... here.
34467 * sysdeps/unix/seekdir.c: Renamed to ...
34468 * sysdeps/posix/seekdir.c: ... here.
34469 * sysdeps/unix/telldir.c: Renamed to ...
34470 * sysdeps/posix/telldir.c: ... here.
34471 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34472 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34473 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34474 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34475
22895b47
RM
34476 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34477 * bits/fcntl.h: ... here.
34478
707a53b6
RM
34479 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34480 not 0.
34481 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34482 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34483 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34484 (struct flock): Move l_start, l_len to the beginning.
34485 Use __pid_t for l_pid.
34486 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34487 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34488 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34489 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34490 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34491 [__USE_LARGEFILE64] (struct flock64): New type.
34492 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34493
f0bd3e25
RM
34494 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34495 * bits/dirent.h: ... here.
34496
d34689de
RM
34497 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34498 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34499
6dad2c06
JM
345002012-08-07 Joseph Myers <joseph@codesourcery.com>
34501
34502 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34503 Change from 2.6.0 to 2.6.16.
34504 * sysdeps/unix/sysv/linux/configure: Regenerated.
34505 * sysdeps/unix/sysv/linux/kernel-features.h
34506 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34507 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34508 version.
34509 (__ASSUME_UTIMES): Likewise.
34510 (__ASSUME_CLONE_STOPPED): Remove.
34511 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34512 architectures, not kernel version.
34513 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34514 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34515 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34516 (__ASSUME_WAITID_SYSCALL): Likewise.
34517 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34518 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34519 * README: State 2.6.16 as minimum Linux kernel version. Do not
34520 refer to older versions.
34521
03af9520
RM
345222012-08-06 Roland McGrath <roland@hack.frob.com>
34523
8e49df1d
RM
34524 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34525 Define alphasort64 as an alias.
34526 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34527 Define versionsort64 as an alias.
34528 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34529 Define scandir64 as an alias.
34530 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34531 Define scandirat64 as an alias.
34532 * dirent/alphasort64.c (alphasort64):
34533 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34534 * dirent/versionsort64.c: Likewise.
34535 * dirent/scandir64.c: Likewise.
34536 * dirent/scandirat64.c: Likewise.
34537 * sysdeps/wordsize-64/alphasort.c: File removed.
34538 * sysdeps/wordsize-64/alphasort64.c: File removed.
34539 * sysdeps/wordsize-64/scandir.c: File removed.
34540 * sysdeps/wordsize-64/scandir64.c: File removed.
34541 * sysdeps/wordsize-64/scandirat.c: File removed.
34542 * sysdeps/wordsize-64/scandirat64.c: File removed.
34543 * sysdeps/wordsize-64/versionsort.c: File removed.
34544 * sysdeps/wordsize-64/versionsort64.c: File removed.
34545 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34546 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34547 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34548 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34549 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34550 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34551 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34552 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34553
34554 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34555 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34556 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34557 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34558 [defined __arch64__ || defined __sparcv9]
34559 (__INO_T_MATCHES_INO64_T): New macro.
34560 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34561 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34562 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34563 * sysdeps/unix/sysv/linux/bits/dirent.h
34564 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34565 (_DIRENT_MATCHES_DIRENT64): New macro.
34566
03af9520
RM
34567 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34568 Define lockf64 as an alias.
34569 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34570 Define fseeko64 as an alias.
34571 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34572 Define ftello64 as an alias.
34573 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34574 Define _IO_fgetpos64 and fgetpos64 as aliases.
34575 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34576 Define _IO_fsetpos64 and fsetpos64 as aliases.
34577 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34578 Conditionalize body on this.
34579 * libio/fseeko64.c: Likewise.
34580 * libio/ftello64.c: Likewise.
34581 * libio/iofgetpos64.c: Likewise.
34582 * libio/iofsetpos64.c: Likewise.
34583 * sysdeps/wordsize-64/lockf.c: File removed.
34584 * sysdeps/wordsize-64/lockf64.c: File removed.
34585 * sysdeps/wordsize-64/fseeko.c: File removed.
34586 * sysdeps/wordsize-64/fseeko64.c: File removed.
34587 * sysdeps/wordsize-64/ftello.c: File removed.
34588 * sysdeps/wordsize-64/ftello64.c: File removed.
34589 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34590 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34591 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34592 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34593 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34594 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34595 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34596 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34597 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34598 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34599 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34600 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34601 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34602 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34603
34604 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34605 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34606 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34607 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34608 [defined __arch64__ || defined __sparcv9]
34609 (__OFF_T_MATCHES_OFF64_T): New macro.
34610 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34611 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34612 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34613 (__OFF_T_MATCHES_OFF64_T): New macro.
34614
c5757acd
L
346152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34616
34617 * stdlib/secure-getenv.c (__secure_getenv): Replace
34618 GLIBC_2_16 with GLIBC_2_17.
34619
3a31811e
L
346202012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34621
34622 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34623 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34624
faa2bccb
DM
346252012-08-03 David S. Miller <davem@davemloft.net>
34626
34627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34628
85fe1997
JM
346292012-08-03 Joseph Myers <joseph@codesourcery.com>
34630
34631 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34632 Remove.
34633 (__ASSUME_CORRECT_SI_PID): Likewise.
34634 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34635 (__ASSUME_TMPFS_NAME): Likewise.
34636 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34637 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34638 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34639 (HAVE_AUX_SECURE): Make definition unconditional.
34640 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34641 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34642
4f75b7a0
RM
346432012-08-03 Roland McGrath <roland@hack.frob.com>
34644
34645 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34646 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34647 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34648 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34649 __eloop_threshold instead of SYMLOOP_MAX.
34650
34651 * sysdeps/generic/eloop-threshold.h: New file.
34652 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34653 of MAXSYMLINKS.
34654 * elf/chroot_canon.c (chroot_canon): Likewise.
34655
7aab07e4
JM
346562012-08-03 Joseph Myers <joseph@codesourcery.com>
34657
34658 [BZ #13717]
34659 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34660 Change to 2.6.0 everywhere.
34661 * sysdeps/unix/sysv/linux/configure: Regenerated.
34662 * sysdeps/unix/sysv/linux/kernel-features.h
34663 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34664 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34665 kernel versions.
34666 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34667 (__ASSUME_FUTEX_REQUEUE): Remove.
34668 (__ASSUME_STATFS64): Define unconditionally.
34669 (__ASSUME_AT_SECURE): Likewise.
34670 (__ASSUME_CORRECT_SI_PID): Likewise.
34671 (__ASSUME_TGKILL): Define without depending on kernel version for
34672 i386.
34673 (__ASSUME_UTIMES): Likewise.
34674 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34675 kernel version.
34676 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34677 (__ASSUME_TMPFS_NAME): Likewise.
34678 * README: Update reference to Linux kernel versions.
34679
b67e9372
MP
346802012-08-02 Marek Polacek <polacek@redhat.com>
34681
1f529f7d 34682 [BZ# 14150]
b67e9372
MP
34683 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34684 libc_cv_asm_type_prefix with %.
34685 * configure: Regenerated.
d2441631
RM
34686 * include/libc-symbols.h: Remove comment about
34687 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34688 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34689 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34690 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34691 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34692 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34693 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34694 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34695 * elf/tst-unique2mod1.c: Likewise.
34696 * elf/tst-unique1mod2.c: Likewise.
34697 * elf/tst-unique1mod1.c: Likewise.
34698 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34699 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34700 Replace ASM_TYPE_DIRECTIVE with .type.
34701 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34702 * sysdeps/i386/sysdep.h: Likewise.
34703 * sysdeps/x86_64/sysdep.h: Likewise.
34704 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34706 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34707 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34708 * sysdeps/powerpc/powerpc32/sysdep.h:
34709 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34710 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34711 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34712 * sysdeps/i386/fpu/e_powf.S: Likewise.
34713 * sysdeps/i386/fpu/e_expl.S: Likewise.
34714 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34715 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34716 * sysdeps/i386/fpu/e_pow.S: Likewise.
34717 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34718 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34719 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34720 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34721 * sysdeps/i386/fpu/e_log2.S: Likewise.
34722 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34723 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34724 * sysdeps/i386/fpu/e_powl.S: Likewise.
34725 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34726 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34727 * sysdeps/i386/fpu/e_logl.S: Likewise.
34728 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34729 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34730 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34731 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34732 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34733 * sysdeps/i386/fpu/e_log.S: Likewise.
34734 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34735 * sysdeps/i386/fpu/e_logf.S: Likewise.
34736 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34737 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34738 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34739 * sysdeps/i386/fpu/e_log10.S: Likewise.
34740 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34741 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34742 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34743 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34744 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34745 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34746 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34747 * sysdeps/i386/i686/strtok.S: Likewise.
34748 * sysdeps/i386/i386-mcount.S: Likewise.
34749 * sysdeps/i386/strtok.S: Likewise.
34750 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34751 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34752 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34753 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34754 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34755 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34756 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34757 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34758 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34759 * sysdeps/x86_64/_mcount.S: Likewise.
34760 * sysdeps/x86_64/strtok.S: Likewise.
34761 * sysdeps/sh/_mcount.S: Likewise.
34762
2747bf9a
RM
347632012-08-01 Roland McGrath <roland@hack.frob.com>
34764
34765 * libio/iofopen.c: Include <fcntl.h>.
34766 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34767 (_IO_fopen64, fopen64): Define as aliases.
34768 * libio/iofopen64.c: Include <fcntl.h>.
34769 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34770 Conditionalize body on this.
34771 * sysdeps/wordsize-64/iofopen.c: File removed.
34772 * sysdeps/wordsize-64/iofopen64.c: File removed.
34773
3fb791b8
MP
347742012-08-01 Marek Polacek <polacek@redhat.com>
34775
34776 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34777 Use dlfcn directly instead of a variable.
34778 (binfmt-subdir): Do not define.
34779 (dlfcn): Likewise.
34780
a9f1039f
JM
347812012-08-01 Joseph Myers <joseph@codesourcery.com>
34782
23bddc06
JM
34783 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34784 Remove all definitions.
34785 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34786 <kernel-features.h>.
34787 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34788 (miss_F_GETOWN_EX): Remove all definitions.
34789 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34790 macro definition.
34791 [!__ASSUME_FCNTL64]: Remove conditional code.
34792 [__ASSUME_FCNTL64]: Make code unconditional.
34793 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34794 <kernel-features.h>.
34795 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34796 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34797 (lockf64) [__NR_fcntl64]: Make code unconditional.
34798 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34799
a9f1039f
JM
34800 * sysdeps/unix/sysv/linux/kernel-features.h
34801 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34802 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34803 Make code unconditional.
34804 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34805 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34807 [__NR_vfork]: Make code unconditional.
34808 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34809 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34811 [__NR_vfork]: Make code unconditional.
34812 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34813 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34814
09c0ee5f
RM
348152012-08-01 Roland McGrath <roland@hack.frob.com>
34816
48aec5b9
RM
34817 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34818 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34819
cd97c966
RM
34820 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34821 Define mkstemp64 as an alias.
3f55550c
RM
34822 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34823 Define mkstemps64 as an alias.
cd97c966
RM
34824 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34825 Define mkostemp64 as an alias.
b8625cfc
RM
34826 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34827 Define mkostemps64 as an alias.
cd97c966
RM
34828 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34829 Conditionalize body on this.
34830 * misc/mkostemp64.c: Likewise.
b8625cfc 34831 * misc/mkostemps64.c: Likewise.
3f55550c 34832 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34833 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34834 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34835 * sysdeps/wordsize-64/mkostemp.c: File removed.
34836 * sysdeps/wordsize-64/mkstemp.c: File removed.
34837 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34838 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34839 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34840 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34841
09c0ee5f
RM
34842 [BZ #14138]
34843 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34844 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34845 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34846 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34847
34848 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34849 compat_symbol macros from <shlib-compat.h> rather than the underlying
34850 default_symbol_version and symbol_version macros, so that DEFAULT
34851 lines in shlib-versions are respected.
34852 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34853
7e66ee51
FW
348542012-08-01 Florian Weimer <fweimer@redhat.com>
34855
34856 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34857 Declare with warn_unused_result.
34858 (setgid, setregid, setegid, setresgid): Likewise.
34859 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34860 Likewise.
34861 * WUR-REPORT: Remove set*id functions.
34862
d2a54255
PT
348632012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34864
34865 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34866
7ecdb005
RM
348672012-07-31 Roland McGrath <roland@hack.frob.com>
34868
b4180a5e 34869 [BZ #10191]
789bd351
RM
34870 * include/sys/socket.h (__libc_accept, __libc_accept4):
34871 Add attribute_hidden.
34872 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34873
40ce302d
RM
34874 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34875 use of PTR_MANGLE.
34876 * inet/getnetgrent_r.c (setup): Likewise.
34877
7ecdb005
RM
34878 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34879
e2eabb2c
DM
348802012-07-31 David S. Miller <davem@davemloft.net>
34881
34882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34883
d0419dbf
JM
348842012-07-31 Joseph Myers <joseph@codesourcery.com>
34885
34886 [BZ #13629]
34887 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34888 value between 1.0 and 2.0 and smaller part has absolute value less
34889 than 1.0.
34890 * math/s_clog10.c (__clog10): Likewise.
34891 * math/s_clog10f.c (__clog10f): Likewise.
34892 * math/s_clog10l.c (__clog10l): Likewise.
34893 * math/s_clogf.c (__clogf): Likewise.
34894 * math/s_clogl.c (__clogl): Likewise.
34895 * math/libm-test.inc (clog_test): Add more tests.
34896 (clog10_test): Likewise.
34897 * sysdeps/i386/fpu/libm-test-ulps: Update.
34898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34899
2bc13872
FW
349002012-07-31 Florian Weimer <fweimer@redhat.com>
34901
34902 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34903 Exit with zero in case no suitable GID is found, and write a
34904 message to standard error.
34905
bea9b193
RM
349062012-07-30 Roland McGrath <roland@hack.frob.com>
34907
34908 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34909 rather than to 1.
34910 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34911 (MAXPATHLEN): Removed.
34912 (NOGROUP, NODEV): New macros.
34913 (setbit, clrbit, isset, isclr): New macros.
34914 (howmany, roundup, powerof2): New macros.
34915 (DEV_BSIZE): New macro.
34916
34917 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34918 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34919
34920 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34921 definition on [!__NO_LONG_DOUBLE_MATH].
34922
34923 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34924 PTR_MANGLE and PTR_DEMANGLE.
34925
34926 * socket/accept4.c (accept4): Rename to __libc_accept4.
34927 Define accept4 as a weak alias.
34928
34929 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34930 on [_DIRENT_HAVE_D_TYPE].
34931 * io/ftw.c (ftw_dir): Likewise.
34932
34933 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34934
34935 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34936
34937 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34938 Use the BSD numbers rather than the arbitrary ones we had.
34939 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34940 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34941 (SIGXCPU, SIGXFSZ): New macros.
34942 (_NSIG): Now 32.
34943
34944 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34945 initializer on [_LIBC_REENTRANT].
34946
34947 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34948 definitions inside [_POSIX_MAPPED_FILES].
34949
34950 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34951
34952 * dirent/opendir.c: Include <fcntl.h>.
34953
34954 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34955 (__libc_getspecific): Likewise.
34956 (__libc_key_create): Likewise.
34957
34958 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34959 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34960 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34961 (tmpfile64): Define as alias.
34962 * sysdeps/wordsize-64/tmpfile.c: File removed.
34963 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34964 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34965 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34966
34967 * stdio-common/vfscanf.c: Include <stdbool.h>.
34968 * nss/makedb.c: Likewise.
34969 * stdio-common/_i18n_number.h: Likewise.
34970 * argp/argp-help.c: Likewise.
34971 * posix/wordexp.c: Likewise.
34972 * sysdeps/posix/spawni.c: Likewise.
34973 * nss/nss_files/files-initgroups.c: Likewise.
34974 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34975 * nss/nss_files/files-initgroups.c: Likewise.
34976 * nss/nss_db/db-netgrp.c: Likewise.
34977 * nss/nss_db/db-initgroups.c: Likewise.
34978 * io/fchmodat.c: Include <sys/stat.h>.
34979
34980 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34981 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34982
34983 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34984 [HAVE_MMAP].
34985
34986 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34987 Add multiple inclusion protection.
34988
e5abc686
DM
349892012-07-27 David S. Miller <davem@davemloft.net>
34990
34991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34992
815e6fa3
GB
349932012-07-27 Gary Benson <gbenson@redhat.com>
34994
34995 [BZ #14298]
34996 * elf/rtld.c: Include <stap-probe.h>.
34997 (dl_main): Added static probes "init_start" and "init_complete".
34998 * elf/dl-load.c: Include <stap-probe.h>.
34999 (lose): Take new parameter "nsid".
35000 Added static probe "map_failed".
35001 (_dl_map_object_from_fd): Pass namespace id to lose.
35002 Added static probe "map_start".
35003 (open_verify): Pass namespace id to lose.
35004 * elf/dl-open.c: Include <stap-probe.h>.
35005 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35006 and "reloc_complete".
35007 * elf/dl-close.c: Include <stap-probe.h>.
35008 (_dl_close_worker): Added static probes "unmap_start" and
35009 "unmap_complete".
35010 * elf/rtld-debugger-interface.txt: New file documenting the above.
35011
9f98c16c
RM
350122012-07-26 Roland McGrath <roland@hack.frob.com>
35013
35014 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35015 rather than a string variable.
35016 * sunrpc/rpc_main.c (h_output): Likewise.
35017 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35018
f3c22df3
PT
350192012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35020
35021 * inet/check_native.c: New file.
35022
3129cfc6
JM
350232012-07-26 Joseph Myers <joseph@codesourcery.com>
35024
da865e95
JM
35025 [BZ #13629]
35026 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35027 if larger part has absolute value 1.0.
35028 * math/s_clog10.c (__clog10): Likewise.
35029 * math/s_clog10f.c (__clog10f): Likewise.
35030 * math/s_clog10l.c (__clog10l): Likewise.
35031 * math/s_clogf.c (__clogf): Likewise.
35032 * math/s_clogl.c (__clogl): Likewise.
35033 * math/libm-test.inc (clog_test): Add more tests.
35034 (clog10_test): Likewise.
35035 * sysdeps/i386/fpu/libm-test-ulps: Update.
35036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35037
3129cfc6
JM
35038 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35039 (pltexit): Likewise.
35040 (La_regs): Likewise.
35041 (La_retval): Likewise.
35042 (int_retval): Likewise.
35043 Update #error for removed macros to refer only to definitions in
35044 tst-audit.h.
35045 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35046 macro.
35047 (pltexit): Likewise.
35048 (La_regs): Likewise.
35049 (La_retval): Likewise.
35050 (int_retval): Likewise.
35051 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35052 macro.
35053 (pltexit): Likewise.
35054 (La_regs): Likewise.
35055 (La_retval): Likewise.
35056 (int_retval): Likewise.
35057 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35058 macro.
35059 (pltexit): Likewise.
35060 (La_regs): Likewise.
35061 (La_retval): Likewise.
35062 (int_retval): Likewise.
35063 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35064 macro.
35065 (pltexit): Likewise.
35066 (La_regs): Likewise.
35067 (La_retval): Likewise.
35068 (int_retval): Likewise.
35069 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35070 macro.
35071 (pltexit): Likewise.
35072 (La_regs): Likewise.
35073 (La_retval): Likewise.
35074 (int_retval): Likewise.
35075 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35076 macro.
35077 (pltexit): Likewise.
35078 (La_regs): Likewise.
35079 (La_retval): Likewise.
35080 (int_retval): Likewise.
35081 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35082 macro definitions in tst-audit.h.
35083 * sysdeps/i386/tst-audit.h: New file.
35084 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35085 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35086 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35087 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35088 * sysdeps/sh/tst-audit.h: Likewise.
35089 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35090 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35091 * sysdeps/x86_64/tst-audit.h: Likewise.
35092
bfc07087
AJ
350932012-07-26 Andreas Jaeger <aj@suse.de>
35094
b1b2aaf8
AJ
35095 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35096 ptrace.
35097
35098 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35099 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35100 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35101 PTRACE_O_MASK.
35102 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35103 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35104 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35105
bfc07087
AJ
35106 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35107 value.
35108
35109 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35110 _sigsys.
35111 (si_call_addr, si_syscall, si_arch): Define new macro.
35112 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35113 _sigsys.
35114 (si_call_addr, si_syscall, si_arch): Define new marcro.
35115 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35116 _sigsys.
35117 (si_call_addr, si_syscall, si_arch): Define new macro.
35118 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35119 _sigsys.
35120 (si_call_addr, si_syscall, si_arch): Define new macro.
35121
89b4b02f
JM
351222012-07-25 Joseph Myers <joseph@codesourcery.com>
35123
35124 [BZ #13717]
35125 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35126 Change to 2.4.21 where previously 2.4.1.
35127 * sysdeps/unix/sysv/linux/configure: Regenerated.
35128 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35129 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35130 Linux kernel version.
35131 (__ASSUME_STD_AUXV): Remove.
35132 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35133 kernel version.
35134 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35135 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35136 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35137 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35138 (__ASSUME_NETLINK_SUPPORT): Likewise.
35139 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35140 (__no_netlink_support): Remove conditional definition.
35141 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35142 Remove.
35143 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35144 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35145 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35146 (if_nameindex_ioctl): Remove.
35147 (if_nameindex_netlink): Do not handle __no_netlink_support.
35148 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35149 code.
35150 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35151 Remove conditional code.
35152 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35153 code.
35154 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35155 unconditional.
35156 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35157 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35158 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35159 Remove.
35160 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35161 [!__ASSUME_STD_AUXV]: Remove conditional code.
35162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35163 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35164 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35166 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35167 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35168 code.
35169 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35171 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35172 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35173 conditional code.
35174 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35176 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35177 code.
35178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35179 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35180 conditional code.
35181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35182 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35183 code unconditional.
35184 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35185 conditional code.
35186 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35187 unconditional.
35188 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35189 conditional code.
35190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35191 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35192 unconditional.
35193 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35194 conditional code.
35195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35196 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35197 code unconditional.
35198 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35199 conditional code.
35200 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35201 unconditional.
35202 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35203 conditional code.
35204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35205 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35206 code unconditional.
35207 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35208 conditional code.
35209 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35210 unconditional.
35211 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35212 conditional code.
35213
842a39cd
AS
352142012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35215
35216 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35217 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35218 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35219 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35220 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35221 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35222 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35223 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35224 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35225 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35226 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35227 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35228 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35229 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35230 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35231 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35232 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35233 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35234 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35236 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35237 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35238 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35239
84b3fd84
FW
352402012-07-25 Florian Weimer <fweimer@redhat.com>
35241
35242 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
35243 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35244 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35245 Introduce __libc_secure_getenv.
0c7936d5
FW
35246 * stdlib/Versions (2.17): Add secure_getenv
35247 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35248 * stdlib/secure-getenv.c: Rename __secure_getenv to
35249 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35250 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
35251 * stdlib/tst-secure-getenv.c: New.
35252 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
35253 * manual/startup.texi (Environment Access): Document
35254 secure_getenv.
84b3fd84
FW
35255 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35256 __libc_secure_getenv.
35257 * inet/ruserpass.c (ruserpass): Likewise.
35258 * malloc/mtrace.c (mtrace): Likewise.
35259 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 35260 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
35261 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35262 * sysdeps/posix/tempname.c: Likewise. Evaluate
35263 HAVE_SECURE_GETENV.
35264 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 35265 __secure_getenv to __libc_secure_getenv.
84b3fd84 35266 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
35267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35268 Likewise.
35269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35270 Likewise.
35271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35273 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 35278
56e49b71
JM
352792012-07-25 Joseph Myers <joseph@codesourcery.com>
35280
35281 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35282 (struct La_i86_retval): Likewise.
35283 (struct La_x86_64_regs): Likewise.
35284 (struct La_x86_64_retval): Likewise.
35285 (struct La_x32_regs): Likewise.
35286 (struct La_x32_retval): Likewise.
35287 (struct La_ppc32_regs): Likewise.
35288 (struct La_ppc32_retval): Likewise.
35289 (struct La_ppc64_regs): Likewise.
35290 (struct La_ppc64_retval): Likewise.
35291 (struct La_sh_regs): Likewise.
35292 (struct La_sh_retval): Likewise.
35293 (struct La_s390_32_regs): Likewise.
35294 (struct La_s390_32_retval): Likewise.
35295 (struct La_s390_64_regs): Likewise.
35296 (struct La_s390_64_retval): Likewise.
35297 (struct La_sparc32_regs): Likewise.
35298 (struct La_sparc32_retval): Likewise.
35299 (struct La_sparc64_regs): Likewise.
35300 (struct La_sparc64_retval): Likewise.
35301 (struct audit_ifaces): Remove architecture-specific pltenter and
35302 pltexit members.
35303 * sysdeps/i386/ldsodefs.h: New file.
35304 * sysdeps/powerpc/ldsodefs.h: Likewise.
35305 * sysdeps/s390/ldsodefs.h: Likewise.
35306 * sysdeps/sh/ldsodefs.h: Likewise.
35307 * sysdeps/sparc/ldsodefs.h: Likewise.
35308 * sysdeps/x86_64/ldsodefs.h: Likewise.
35309
354691b7
MP
353102012-07-25 Marek Polacek <polacek@redhat.com>
35311
35312 [BZ #6808]
35313 * math/libm-test.inc (yn_test): Add another test.
35314 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35315 to ERANGE when the result is +-Inf.
35316 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35317 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35318 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35319 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35320
bf9e2071
JM
353212012-07-24 Joseph Myers <joseph@codesourcery.com>
35322
35323 * conform/data/time.h-data (NULL): Use macro-constant. Require
35324 equal to 0.
35325 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35326 clock_t.
35327 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35328
57633811
TS
353292012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35330
35331 * configure.in <sysdeps resolving>: Correct printing
35332 Implies_before.
35333 * configure: Regenerate.
35334
c23c33b0
TS
353352012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35336
35337 * math/w_ilogb.c: Include <limits.h>.
35338 * math/w_ilogbl.c: Likewise.
35339
b5982523
JM
353402012-07-20 Joseph Myers <joseph@codesourcery.com>
35341
35342 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35343 va_copy. Document allowing for unavailable va_copy only as
35344 pre-C99 compatibility.
35345 * manual/string.texi (Copying and Concatenation): Use va_copy
35346 instead of __va_copy in concat example.
35347
ac4ea442
PT
353482012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35349
35350 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35351 (__sendto): Use create_address_port. Initialize APORT and deallocate
35352 it if not null.
35353
f98eafbd
PT
35354 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35355 with O_NOLINK passed to __file_name_lookup.
35356
898c7aab
PT
35357 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35358 with O_NOLINK passed to __file_name_lookup.
35359
0ced335a
PT
35360 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35361 negative N or less than NGIDS.
35362
b3404dbd
PT
35363 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35364 type to string_t. Set ERANGE as errno and return it if NAME is not big
35365 enough. Use memcpy instead of strncpy.
35366
0f48659e
JM
353672012-07-20 Joseph Myers <joseph@codesourcery.com>
35368
35369 * elf/Makefile (check-data): Remove.
35370 (localplt.data): New vpath directive.
35371 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35372 instead of $(check-data).
35373 * scripts/data/localplt-generic.data: Move to ...
35374 * sysdeps/generic/localplt.data: ... here.
35375 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35376 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35377 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35379 ... here.
35380 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35382 ... here.
35383 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35385 ... here.
35386 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35388 ... here.
35389 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35391 ... here.
35392 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35394 ... here.
35395
d37cbdaa
AZ
353962012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35397
35398 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35399 PPC32 and PPC64 files.
35400 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35401 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35402
46f85fc2
AK
354032012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35404
35405 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35406 __makecontext_ret to ...
35407 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35408 ... here and call exit if uc_link is NULL. New file.
35409 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35410 __makecontext_ret.S.
35411 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35412 __makecontext_ret to ...
35413 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35414 ... here and call exit if uc_link is NULL. New file.
35415 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35416 __makecontext_ret.S.
35417
08f43f9b
AK
354182012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35419
35420 * elf/elf.h (R_390_IRELATIVE): New definition.
35421 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35422 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35423 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35424 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35425 (elf_machine_lazy_rel): Likewise.
35426 * sysdeps/s390/dl-irel.h: New file.
35427 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35428 * sysdeps/s390/s390-64/memset.S: New asm code.
35429 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35430 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35431 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35432 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35433 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35434 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35435 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35436 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35437 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35438 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35439 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35440 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35441 * sysdeps/s390/s390-32/memset.S: New asm code.
35442 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35443
3b05db33
MP
354442012-07-17 Marek Polacek <polacek@redhat.com>
35445
35446 [BZ #14349]
35447 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35448 * sysdeps/s390/s390-64/configure.in: Likewise.
35449 * sysdeps/sparc/configure.in: Likewise.
35450 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35451 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35452 * sysdeps/i386/configure.in: Likewise.
35453 * sysdeps/x86_64/configure.in: Likewise.
35454 * sysdeps/sh/configure.in: Likewise.
35455 * sysdeps/s390/s390-32/configure: Regenerated.
35456 * sysdeps/s390/s390-64/configure: Likewise.
35457 * sysdeps/x86_64/configure: Likewise.
35458 * sysdeps/sh/configure: Likewise.
35459 * sysdeps/powerpc/powerpc64/configure: Likewise.
35460 * sysdeps/powerpc/powerpc32/configure: Likewise.
35461 * sysdeps/sparc/configure: Likwise.
35462 * sysdeps/i386/configure: Likewise.
35463
a66877c6
MP
35464 * elf/dl-open.c: Comment fixes.
35465
cfc82fd8
JM
354662012-07-17 Joseph Myers <joseph@codesourcery.com>
35467
bd29910a
JM
35468 * Makefile [CXX] (check-data): Remove.
35469 [CXX] (c++-types.data): New vpath directive.
35470 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35471 vpath. Do not allow for C++ type data being missing.
35472 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35473 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35474 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35475 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35476 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35477 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35478 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35480 ... here.
35481 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35483 ... here.
35484 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35486 ... here.
35487 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35489 ... here.
35490 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35492 ... here.
35493 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35495 ... here.
35496 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35498 ... here.
35499 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35501
cfc82fd8
JM
35502 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35503 definitions to architecture-specific files.
35504 (TLS_IE): Likewise.
35505 (TLS_LD): Likewise.
35506 (TLS_GD): Likewise.
35507 * sysdeps/i386/tls-macros.h: New file.
35508 * sysdeps/powerpc/tls-macros.h: Likewise.
35509 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35510 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35511 * sysdeps/sh/tls-macros.h: Likewise.
35512 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35513 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35514 * sysdeps/x86_64/tls-macros.h: Likewise.
35515
f7db3170
TS
355162012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35517
07cbfc23
TS
35518 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35519 zero value for regular exit case.
35520
f7db3170
TS
35521 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35522 (__start_context): Preserve zero value for regular exit case.
35523
dc97c227
TS
355242012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35525 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35526
35527 * manual/setjmp.texi (setcontext): Clarify normal process
35528 termination when uc_link is the null pointer.
35529 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35530 exit call.
35531
d0cd7d02
AS
355322012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35533
35534 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35535 preprocessor. Test for each exception mask separately.
35536
dd318934
AJ
355372012-07-16 Andreas Jaeger <aj@suse.de>
35538
35539 * po/ru.po: Update from translation team.
35540
8048311a
JM
355412012-07-15 Joseph Myers <joseph@codesourcery.com>
35542
35543 * conform/data/string.h-data (NULL): Use macro-constant. Require
35544 equal to 0.
35545 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35546 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35547 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35548 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35549 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35550
b637d46e
AJ
355512012-07-13 Andreas Jaeger <aj@suse.de>
35552
35553 * po/fr.po: Update from translation team.
35554
541428fe
MP
355552012-07-12 Marek Polacek <polacek@redhat.com>
35556
35557 [BZ #14173]
35558 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35559 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35560 loop condition.
35561
ec332e94
JM
355622012-07-12 Joseph Myers <joseph@codesourcery.com>
35563
35564 [BZ #13717]
35565 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35566 Change to 2.4.1 where previously 2.4.0.
35567 * sysdeps/unix/sysv/linux/configure: Regenerated.
35568 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35569 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35570 version.
35571 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35572 (__ASSUME_AT_CLKTCK): Remove.
35573 (__ASSUME_AT_PAGESIZE): Likewise.
35574 (__ASSUME_AT_XID): Likewise.
35575 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35576 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35577 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35578 unconditionally.
35579 (HAVE_AUX_PAGESIZE): Likewise.
35580 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35581 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35582 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35583
7b6e99be
JB
355842012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35585
35586 [BZ #14307]
35587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35588 the temporary buffer used to invoke __gethostbyname2_r,
35589 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35590 host_data / struct gaih_addrtuple.
35591 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35592 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35593 header file nss/nsswitch.h.
35594 * nss/nsswitch.h (global scope): Add definition of implementation
35595 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35596 resolv/nss_dns/dns-host.c).
35597
608404eb
AJ
355982012-07-11 Andreas Jaeger <aj@suse.de>
35599
35600 * po/fr.po: Update from translation team.
35601
71220aca
AJ
35602 * po/sv.po: Update from translation team
35603 * po/fr.po: Another update from translation team.
35604
28cfe843
AZ
356052012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35606
35607 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35608 for subnormals or multiply small sinh result by itself.
35609 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35611
6b90f981
DM
356122012-07-11 David S. Miller <davem@davemloft.net>
35613
35614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35615
c6825772
AS
356162012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35617
35618 [BZ #14347]
35619 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35620 (INTERNAL_MARK): Shift it here.
35621
7b8e0d49
MP
356222012-07-10 Marek Polacek <polacek@redhat.com>
35623
35624 [BZ #14151]
35625 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35626 libc_cv_asm_global_directive with .globl.
35627 * configure: Regenerated.
35628 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35629 with .globl.
35630 * sysdeps/i386/configure: Regenerated.
35631 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35632 with .globl.
35633 * sysdeps/x86_64/configure: Regenerated.
35634 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35635 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35636 * elf/tst-unique2mod2.c: Likewise.
35637 * elf/tst-unique2mod1.c: Likewise.
35638 * elf/tst-unique1mod2.c: Likewise.
35639 * elf/tst-unique1mod1.c: Likewise.
35640 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35641 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35642 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35643 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35644 * sysdeps/mach/sysdep.h: Likewise.
35645 * sysdeps/i386/sysdep.h: Likewise.
35646 * sysdeps/i386/i386-mcount.S: Likewise.
35647 * sysdeps/x86_64/_mcount.S: Likewise.
35648 * sysdeps/x86_64/sysdep.h: Likewise.
35649 * sysdeps/sh/_mcount.S: Likewise.
35650 * sysdeps/sh/sysdep.h: Likewise.
35651 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35652 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35653 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35654 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35655 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35656 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35657 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35658 * locale/localeinfo.h: Likewise.
35659 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35660 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35661
6c55cda3
RM
356622012-07-09 Roland McGrath <roland@hack.frob.com>
35663
35664 [BZ #14336]
35665 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35666 system".
35667 * manual/message.texi (The Uniforum approach): Likewise.
35668 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35669 (glibc iconv Implementation): Likewise.
35670
638a572e
JM
356712012-07-09 Joseph Myers <joseph@codesourcery.com>
35672
35673 [BZ #14337]
35674 * math/s_clog.c (__clog): Avoid scaling a value down where that
35675 could result in underflow.
35676 * math/s_clog10.c (__clog10): Likewise.
35677 * math/s_clog10f.c (__clog10f): Likewise.
35678 * math/s_clog10l.c (__clog10l): Likewise.
35679 * math/s_clogf.c (__clogf): Likewise.
35680 * math/s_clogl.c (__clogl): Likewise.
35681 * math/libm-test.inc (clog_test): Add more tests.
35682 (clog10_test): Likewise.
35683 * sysdeps/i386/fpu/libm-test-ulps: Update.
35684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35685
261f4859
AS
356862012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35687
0abaf3e4
AS
35688 [BZ #14283]
35689 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35690 by 7 not 8 to examine high bit of fractional part.
35691
261f4859
AS
35692 [BZ #14042]
35693 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35694 for call to __mcount_internal.
35695 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35696 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35697 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35698
f17ac40d
JM
356992012-07-06 Joseph Myers <joseph@codesourcery.com>
35700
9ad63c23
JM
35701 [BZ #14154]
35702 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35703 approximation for values within 0x1p-13f of an odd multiple of
35704 pi/4.
35705 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35706 exception. Add more tests.
35707 * sysdeps/i386/fpu/libm-test-ulps: Update.
35708
f17ac40d
JM
35709 [BZ #6778]
35710 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35711 inputs and return -1 for them. Do not check for +Inf in case not
35712 reachable for +Inf.
35713 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35714 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35715 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35716 and return -1 for them. Do not check for +Inf in case not
35717 reachable for +Inf.
35718 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35719 define.
35720 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35721 and return -1 for them. Do not check for +Inf in case not
35722 reachable for +Inf.
35723 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35724 spurious underflow.
35725 * sysdeps/i386/fpu/libm-test-ulps: Update.
35726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35727
fb21f89b
MF
357282012-07-06 Mike Frysinger <vapier@gentoo.org>
35729
35730 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35731
cdfe2c5e
JM
357322012-07-05 Joseph Myers <joseph@codesourcery.com>
35733
35734 [BZ #14157]
35735 [BZ #14331]
35736 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35737 could result in spurious underflow. Scale down values above
35738 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35739 * math/s_csqrtf.c (__csqrtf): Likewise.
35740 * math/s_csqrtl.c (__csqrtl): Likewise.
35741 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35742 spurious underflow.
35743 * sysdeps/i386/fpu/libm-test-ulps: Update.
35744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35745
70d35b67
AS
357462012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35747
704bc459
AS
35748 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35749 xopen-msg.sed.
35750 * catgets/xopen-msg.awk: New file.
35751 * catgets/xopen-msg.sed: Removed.
35752
70d35b67
AS
35753 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35754 po2text.sed.
35755 * intl/po2test.awk: New file.
35756 * intl/po2test.sed: Removed.
35757
ca61cf32
JM
357582012-07-04 Joseph Myers <joseph@codesourcery.com>
35759
35760 [BZ #14328]
35761 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35762 or multiply small sinh result by itself.
35763 * math/s_ctanf.c (__ctanf): Likewise.
35764 * math/s_ctanh.c (__ctanh): Likewise.
35765 * math/s_ctanhf.c (__ctanhf): Likewise.
35766 * math/s_ctanhl.c (__ctanhl): Likewise.
35767 * math/s_ctanl.c (__ctanl): Likewise.
35768 * math/libm-test.inc (ctan_test_tonearest): New function.
35769 (ctan_test_towardzero): Likewise.
35770 (ctan_test_downward): Likewise.
35771 (ctan_test_upward): Likewise.
35772 (ctanh_test_tonearest): Likewise.
35773 (ctanh_test_towardzero): Likewise.
35774 (ctanh_test_downward): Likewise.
35775 (ctanh_test_upward): Likewise.
35776 (main): Call these new functions.
35777 * sysdeps/i386/fpu/libm-test-ulps: Update.
35778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35779
ca48a46a
MF
357802012-07-03 Mike Frysinger <vapier@gentoo.org>
35781
35782 * .gitignore: Delete /ports entry.
35783
9d63d37d
AJ
357842012-07-03 Andreas Jaeger <aj@suse.de>
35785
35786 * po/bg.po: Update from translation team.
35787 * po/cs.po: Likewise.
35788 * po/de.po: Likewise.
35789 * po/hr.po: Likewise.
35790 * po/nl.pl: Likewise.
35791 * po/pl.po: Likewise.
35792 * po/vi.po: Likewise.
35793
370ca3d2
JM
357942012-07-03 Joseph Myers <joseph@codesourcery.com>
35795
95f5a9a8
JM
35796 * Makeconfig [!+link] (+link-before-libc): New variable.
35797 [!+link] (+link-after-libc): Likewise.
35798 [!+link] (+link-tests): Likewise.
35799 [!+link] (+link): Define in terms of $(+link-before-libc) and
35800 $(+link-after-libc).
35801 [!+link-static] (+link-static-before-libc): New variable.
35802 [!+link-static] (+link-static-after-libc): Likewise.
35803 [!+link-static] (+link-static-tests): Likewise.
35804 [!+link-static] (+link-static): Define in terms of
35805 $(+link-static-before-libc) and $(+link-static-after-libc).
35806 [build-shared] (link-libc-before-gnulib): New variable.
35807 [build-shared] (link-libc-tests): Likewise.
35808 [build-shared] (link-libc): Define in terms of
35809 $(link-libc-before-gnulib).
35810 [!build-shared] (link-libc-tests): New variable.
35811 (link-libc-static-tests): New variable.
35812 [!gnulib] (gnulib-arch): New variable.
35813 [!gnulib] (gnulib-tests): Likewise.
35814 [!gnulib] (static-gnulib-arch): Likewise.
35815 [!gnulib] (static-gnulib-tests): Likewise.
35816 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35817 Define with "=" instead of ":=".
35818 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35819 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35820 * Rules (binaries-all-notests): New variable.
35821 (binaries-all-tests): Likewise.
35822 (binaries-static-notests): Likewise.
35823 (binaries-static-tests): Likewise.
35824 (binaries-all): Define using $(binaries-all-notests) and
35825 $(binaries-all-tests).
35826 (binaries-static): Define using $(binaries-static-notests) and
35827 $(binaries-static-tests).
35828 (binaries-shared-tests): New variable.
35829 (binaries-shared-notests): Likewise.
35830 (binaries-shared): Remove variable.
35831 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35832 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35833 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35834 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35835 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35836 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35837 * elf/Makefile (sln-modules): New variable.
35838 (extra-objs): Add $(sln-modules:=.o).
35839 (ldconfig-modules): Add static-stubs.
35840 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35841 * elf/static-stubs.c: New file.
35842
7a845b2c
JM
35843 [BZ #14283]
35844 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35845 by 7 not 8 to examine high bit of fractional part. Use volatile
35846 variables when splitting into final array of floats if
35847 __FLT_EVAL_METHOD__ != 0.
35848 * math/libm-test.inc (cos_test): Add another test.
35849 (sin_test): Likewise.
35850 * sysdeps/i386/fpu/libm-test-ulps: Update.
35851
e2283f38
JM
35852 [BZ #14273]
35853 * math/libm-test.inc (cosh_test): Add more tests.
35854
370ca3d2
JM
35855 * version.h (RELEASE): Set to "development".
35856 (VERSION): Set to "2.16.90".
35857
ee9247c3
CD
358582012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35859
35860 * NEWS: Update copyright. Remove last-updated date.
35861 Mention math library bug fixes and timezone data changes.
35862 * README: Mention GNU/Hurd, x32, and HPPA support status.
35863
4648c381
TS
358642012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35865
35866 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35867
aac78a43
AJ
358682012-06-27 Andreas Jaeger <aj@suse.de>
35869
35870 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35871
ed3dbfad
AJ
358722012-06-25 Andreas Jaeger <aj@suse.de>
35873
35874 * sysdeps/s390/fpu/libm-test-ulps: Update.
35875
4d0ee855
AS
358762012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35877 Thomas Schwinge <thomas@codesourcery.com>
35878
35879 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35880 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35881 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35882 fanotify_mark.
35883
af1bce34
TS
358842012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35885
a9fa33ba
TS
35886 * sysdeps/mach/start.c: Remove file.
35887 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35888 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35889 * sysdeps/sh/init-first.c: Likewise.
35890
58f902b8
TS
35891 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35892 registers for frame unwinding purposes, add CFI directives.
35893 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35894 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35895 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35896 Likewise.
35897
1518f58b
TS
35898 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35899 __fortify_fail returning.
35900 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35901
db9b5059
TS
35902 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35903 sysdeps/sh/____longjmp_chk.S.
35904 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35905 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35906 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35907 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35908
967705fe
TS
35909 * sysdeps/sh/abort-instr.h: New file.
35910 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35911 process in case exit returns.
35912
a9def8c4
TS
35913 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35914 initialize the GOT register before use.
35915
2a649725
TS
35916 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35917 calculation of ARGC > 4.
35918
af1bce34
TS
35919 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35920 meaningful names to some local labels.
35921
d230f50a
KK
359222012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35923 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35924
35925 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35926 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35927 (__arch_compare_and_exchange_val_16_acq): Likewise.
35928 (__arch_compare_and_exchange_val_32_acq): Likewise.
35929 (atomic_exchange_and_add): Fix gUSA sequence.
35930 (atomic_add): Likewise.
35931 (atomic_add_negative): Likewise.
35932 (atomic_add_zero): Likewise.
35933 (atomic_bit_test_set): Likewise.
35934
0479b305
AS
359352012-06-22 Andreas Schwab <schwab@redhat.com>
35936
35937 [BZ #13579]
35938 * include/link.h (struct link_map): Add l_free_initfini.
35939 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35940 l_initfini.
35941 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35942 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35943 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35944 set.
35945
0e3933b9
CD
359462012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35947
35948 * configure.in: Use AC_LANG_SOURCE.
35949 * configure: Regenerate.
35950
4248b1b1
RM
359512012-06-22 Roland McGrath <roland@hack.frob.com>
35952
35953 * configure.in (libc_cv_localstatedir): New substituted variable.
35954 * configure: Regenerated.
35955 * config.make.in (localstatedir): New variable, substituted from
35956 libc_cv_localstatedir.
35957 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35958 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35959 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35960 * sysdeps/gnu/configure: Regenerated.
35961
006dd861
JL
359622012-06-21 Jeff Law <law@redhat.com>
35963
35964 [BZ #14277]
35965 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35966 free. Simplify list management for _LIBC case.
35967
79662d42
JM
359682012-06-21 Joseph Myers <joseph@codesourcery.com>
35969
b7abb4bf
JM
35970 [BZ #14273]
35971 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35972 Clear sign bit of 64-bit integer value before comparing against
35973 overflow value.
35974
79662d42
JM
35975 * sysdeps/mach/configure: Regenerated.
35976
1f150908
L
359772012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35978
35979 [BZ #14278]
35980 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35981
28363bbf
JL
359822012-06-21 Jeff Law <law@redhat.com>
35983
35984 [BZ #13882]
35985 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35986 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 35987 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
35988 * elf/dl-open.c (dl_open_worker): Likewise.
35989
09615db4
CD
359902012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35991
35992 * scripts/list-sources.sh: Scan PORTS for translations.
35993 * po/libc.pot: Regenerated.
35994
2174c6dd
AJ
359952012-06-21 Andreas Jaeger <aj@suse.de>
35996
35997 [BZ #12194]
35998 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35999 warning.
36000 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36001 * bits/byteswap-16.h (__bswap_16): Likewise.
36002 * bits/byteswap.h (__bswap_constant_16): Likewise.
36003
3ee947b1
L
360042012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36005
36006 [BZ #14117]
a2f34833
L
36007 * sysdeps/i386/fpu_control.h: Removed.
36008 * sysdeps/x86_64/fpu_control.h: Moved to ...
36009 * sysdeps/x86/fpu_control.h: Here.
36010
3ee947b1
L
36011 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36012 (_FPU_SETCW): Likewise.
36013
ed1825f8
L
360142012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36015
25f1282a
L
36016 [BZ #14117]
36017 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36018 * sysdeps/x86/fpu/bits/mathinline.h: This.
36019 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36020
ed1825f8
L
36021 [BZ #14050]
36022 [BZ #14117]
36023 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36024 functions if __x86_64__ is defined.
36025
36d54b74
CLT
360262012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36027
36028 * string/endian.h: Add !__ASSEMBLER__ condition for including
36029 conversion interfaces.
36030
10285c21
JM
360312012-06-15 Joseph Myers <joseph@codesourcery.com>
36032
36033 [BZ #14241]
36034 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36035 of ABS(x) in calculating zero to negative powers other than odd
36036 integers.
36037 * math/libm-test.inc (pow_test): Add more tests.
36038
06c5abbd
AJ
360392012-06-15 Andreas Jaeger <aj@suse.de>
36040
36041 * manual/contrib.texi (Contributors): Update entry of Liubov
36042 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36043 Machado Filho.
36044
a3aeac40
CH
360452012-06-15 Cyril Hrubis <metan@ucw.cz>
36046
36047 * string/string.h: Add __wur to GNU version of strerror_r.
36048
49bdf4c1
L
360492012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36050
36051 [BZ #14229]
36052 * string/Makefile (tests): Add tst-strtok_r.
36053 * string/tst-strtok_r.c: New file.
36054 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36055 RAX_LP/RDX_LP on SAVE_PTR.
36056
834f9b8d
RM
360572012-06-14 Roland McGrath <roland@hack.frob.com>
36058
36059 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36060
75fa1921
JM
360612012-06-14 Joseph Myers <joseph@codesourcery.com>
36062
36063 * libm_test.inc (csqrt_test): Allow more spurious underflow
36064 exceptions.
36065 (j0_test): Likewise.
36066 (j1_test): Likewise.
36067 (y0_test): Likewise.
36068 (y1_test): Likewise.
36069
771766df
CD
360702012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36071
36072 * po/Makefile (libc.pot): Use UTF-8 charset.
36073
ceb9e56b
PP
360742012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36075
36076 [BZ #14210]
36077 Suppress sign-conversion warning from FD_SET.
36078 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36079 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36080 not unsigned long int.
36081 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36082
ddb28975
L
360832012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36084
36085 [BZ #14050]
36086 [BZ #14117]
36087 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36088 __extern_always_inline instead of __extern_inline.
36089 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36090 (__signbit): Likewise.
36091 (__signbitl): Support C++ namespace.
36092 (lrintf): New inline function.
36093 (lrint): Likewise.
36094 (llrintf): Likewise.
36095 (llrint): Likewise.
36096 (fmaxf): Likewise.
36097 (fmax): Likewise.
36098 (fminf): Likewise.
36099 (fmin): Likewise.
36100 (rint): Likewise.
36101 (rintf): Likewise.
36102 (ceil): Likewise.
36103 (ceilf): Likewise.
36104 (floor): Likewise.
36105 (floorf): Likewise.
36106 (nearbyint): Likewise.
36107 (nearbyintf): Likewise.
36108
d7b4fb26
TS
361092012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36110
36111 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36112 non-default versions.
36113
eb55f5c2
RM
361142012-06-11 Roland McGrath <roland@hack.frob.com>
36115
36116 [BZ #14218]
36117 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36118
366af02c
TS
361192012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36120
99ff6e5c
TS
36121 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36122 (FE_UPWARD, FE_DOWNWARD): Don't define.
36123 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36124 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36125
366af02c
TS
36126 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36127 reading it.
36128 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36129 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36130
793ea851
KK
361312012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36132
36133 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36134 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36135 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36136 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36137
a728a38f
L
361382012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36139
36140 [BZ #14117]
c08010c7
L
36141 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36142 * sysdeps/i386/fpu/Implies: New file.
36143 * sysdeps/x86_64/fpu/Implies: Likewise.
36144 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36145 * sysdeps/x86/fpu/bits/fenv.h: This.
36146
a728a38f
L
36147 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36148 __SSE_MATH__.
36149
6e230d11
SP
361502012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36151
36152 [BZ #14134]
36153 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36154 character 0xffff that matches the last element of the
36155 conversion table.
36156
1b671feb
AZ
361572012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36158
36159 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36160 fmodl commit.
36161
6043738b
AZ
361622012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36163
36164 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36165 values higher than 25.6283.
36166
34ae0b32
AZ
361672012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36168
36169 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36170 subnormal exponent extraction and add some __builtin_expect.
36171 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36172 Fix for subnormal mantissa calculation.
36173
1214ec8f
MF
361742012-06-04 Mike Frysinger <vapier@gentoo.org>
36175
36176 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36177 cpu2 is -1 and errno is not ENOSYS.
36178
f3d1f93c
L
361792012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36180
36181 [BZ #14117]
0e4a3cd7
L
36182 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36183 * sysdeps/x86/bits/string.h: This.
36184 * sysdeps/x86_64/bits/string.h: Removed.
36185
6704c645
L
36186 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36187 if not compiling for x86-64, but compiling for >= i486.
36188
48495318
L
36189 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36190 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36191
14adcbfc
L
36192 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36193 New macro from Linux kernel 3.4.0.
36194 (FP_XSTATE_MAGIC2): Likewise.
36195 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36196 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36197 (struct _fpx_sw_bytes): New struct.
36198 (struct _xsave_hdr): Likewise.
36199 (struct _ymmh_state): Likewise.
36200 (struct _xstate): Likewise.
36201
68e408ab
L
36202 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36203 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36204 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36205 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36206 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36207 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36208
f3d1f93c
L
36209 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36210 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36211 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36212 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36213 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36214 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36215
d9dc34cd
TMQMF
362162012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36217
36218 [BZ #13743]
36219 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36220 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36221 (sysdep_headers): Include sys/platform/ppc.h.
36222 * sysdeps/powerpc/test-gettimebase.c: Test for
36223 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36224 * manual/Makefile (appendices): Include platform.texi.
36225 * manual/contrib.texi (Contributors): Update @node pointers.
36226 * manual/maint.texi (Maintenance): Likewise.
36227 (Platform): New node.
36228 * manual/platform.texi: New file. Document the new features.
36229
4af3879c
SP
362302012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36231 Jakub Jelinek <jakub@redhat.com>
36232
36233 [BZ #14188]
36234 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36235 where __builtin_expect is unavailable.
36236
2fd6ff13
DM
362372012-06-03 David S. Miller <davem@davemloft.net>
36238
36239 * stdlib/longlong.h: Updated from GCC.
36240
173f7220
AS
362412012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36242
36243 [BZ #14042]
36244 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36245 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36246 __mcount_internal.
36247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36248 (GLIBC_2.16): Likewise.
36249
f34a1c6f
L
362502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36251
36252 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36253
88a4576f
JM
362542012-06-01 Joseph Myers <joseph@codesourcery.com>
36255
ea32bcdd
JM
36256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36257 (default-abi): New variable.
36258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36259 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36260 variable.
36261 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36262 Likewise.
36263 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36264 Likewise.
36265 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36266 Likewise.
36267
88a4576f
JM
36268 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36269 definition. Document in comment.
36270
402fe938
DM
362712012-06-01 David S. Miller <davem@davemloft.net>
36272
36273 * stdlib/longlong.h: Updated from GCC.
36274
3553723f
L
362752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36276
36277 [BZ #14117]
3bd872c4
L
36278 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36279 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36280 sys/debugreg.h sys/io.h here.
36281 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36282 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36283 sys/io.h.
36284 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36285 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36286 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36287 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36288 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36289 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36290
3553723f
L
36291 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36292 Define only if __x86_64__ is defined.
36293
4842e4fe
JM
362942012-06-01 Joseph Myers <joseph@codesourcery.com>
36295
c5bfe3d5
JM
36296 [BZ #14048]
36297 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36298 Use int64_t for variable i.
36299 * math/libm-test.inc (fmod_test): Add more tests.
36300
4842e4fe
JM
36301 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36302 z computation is not scheduled after fetestexcept.
36303 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36304 Use math_force_eval instead of asm to ensure calculation scheduled
36305 before exception test.
36306 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36307 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36308
efb73488
AJ
363092012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36310
36311 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36312 computation is not scheduled after fetestexcept.
36313
29bcce7c
L
363142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36315
36316 [BZ #14117]
36317 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36318 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36319
73a68f94
AZ
363202012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36321
36322 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36323 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36324
67b6df78
L
363252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36326
edf2933a 36327 [BZ #14117]
ebc64a18
L
36328 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36329 <bits/wordsize.h>.
36330 (__WCHAR_MIN): Support __WORDSIZE == 64.
36331 (__WCHAR_MAX): Likewise.
36332
edf2933a
L
36333 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36334 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36335
57c6cf40
L
36336 [BZ #14183]
36337 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36338 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36339
67b6df78 36340 [BZ #14117]
8eb6281e
L
36341 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36342 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36343
aac639f4
L
36344 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36345 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36346
67b6df78
L
36347 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36348 Defined to 1 if __x86_64__ isn't defined.
36349 (_STAT_VER_LINUX_OLD): New.
36350 (st_atime): Remove duplicate.
36351 (st_mtime): Likewise.
36352 (st_ctime): Likewise.
36353
1c2cfe81
DM
363542012-05-31 David S. Miller <davem@davemloft.net>
36355
36356 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36357 entries.
36358
5be8418c
AS
363592012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36360
e7725326
AS
36361 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36362 gen-libm-test.pl.
36363
5be8418c
AS
36364 [BZ #14132]
36365 * elf/dl-reloc.c: Include <_itoa.h>.
36366 (_dl_reloc_bad_type): Remove use of INTUSE.
36367 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36368 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36369 * stdio-common/psiginfo.c (psiginfo): Likewise.
36370 * stdio-common/psignal.c (psignal): Likewise.
36371 * string/strsignal.c (strsignal): Likewise.
36372 * include/signal.h (_sys_siglist): Declare hidden proto.
36373 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36374 INTVARDEF with libc_hidden_data_def.
36375 * stdio-common/itoa-udigits.c: Likewise.
36376 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36377 (_itoa_lower_digits_internal): Remove declaration.
36378 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36379 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36380 (_sys_sigabbrev_internal): Remove aliases.
36381 (_sys_siglist): Define hidden alias.
36382
507352f1
MT
363832012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36384
36385 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36386 bits/sysctl.h.
36387
42bbb1c3
L
363882012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36389
36390 [BZ #14117]
6bd784b6
L
36391 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36392 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36393
8bca20f0
L
36394 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36395 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36396 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36397 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36398 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36399 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36400
f9e890a9
L
36401 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36402 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36403 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36404
471101a1
L
36405 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36406 with __addr.
36407 (insw): Likewise.
36408 (insl): Likewise.
36409 (outsb): Likewise.
36410 (outsw): Likewise.
36411 (outsl): Likewise.
36412
6451c862
L
36413 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36414 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36415 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36416
a254b8c9
L
36417 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36418 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36419 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36420 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36421 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36422 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36423
b8dfdd92
L
36424 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36425 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36426
578cd270
L
36427 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36428 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36429
de662f5f
L
36430 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36431 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36432 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36433
25653439
L
36434 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36435 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36436 to ...
36437 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36438
6bad24a0
L
36439 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36440 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36441 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36442
42bbb1c3
L
36443 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36444 for x86-64.
36445 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36446
2d10d547
JM
364472012-05-31 Joseph Myers <joseph@codesourcery.com>
36448
36449 * math/math.h (M_El): Use two more decimal places.
36450 (M_LOG2El): Likewise.
36451 (M_LOG10El): Likewise.
36452 (M_LN2l): Likewise.
36453 (M_LN10l): Likewise.
36454 (M_PIl): Likewise.
36455 (M_PI_2l): Likewise.
36456 (M_PI_4l): Likewise.
36457 (M_1_PIl): Likewise.
36458 (M_2_PIl): Likewise.
36459 (M_2_SQRTPIl): Likewise.
36460 (M_SQRT2l): Likewise.
36461 (M_SQRT1_2l): Likewise.
36462
f230c29b
DM
364632012-05-31 David S. Miller <davem@davemloft.net>
36464
36465 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36466 values between float registers.
36467 * sysdeps/sparc/sparc64/memset.S: Likewise.
36468 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36469
fed806c3
MF
364702012-05-31 Mike Frysinger <vapier@gentoo.org>
36471
36472 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36473 -D_FORTIFY_SOURCE=1.
36474 (CPPFLAGS-tst-longjmp_chk.c): Define.
36475 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36476 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36477 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36478 CFLAGS-tst-wchar-h.c.
36479
30917259
MP
364802012-05-31 Marek Polacek <polacek@redhat.com>
36481
36482 [BZ #14132]
36483 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36484 __endmntent_internal): Remove declaration.
36485 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36486 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36487 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36488
1c58d5dc
DM
364892012-05-30 David S. Miller <davem@davemloft.net>
36490
36491 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36492 (___Q_simulate_exceptions): Use real FP ops rather than writing
36493 into the %fsr.
36494 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36495 Likewise.
36496
7dc00e0d
L
364972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36498
36499 [BZ #14117]
0bd53985
L
36500 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36501 * sysdeps/x86/bits/xtitypes.h: This.
36502
3a257e66
L
36503 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36504 * sysdeps/x86/bits/wordsize.h: This.
36505
62f62904
L
36506 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36507 * sysdeps/x86/bits/huge_vall.h: This.
36508
404fe9d9
L
36509 * sysdeps/i386/bits/select.h: Removed.
36510 * sysdeps/x86_64/bits/select.h: Renamed to ...
36511 * sysdeps/x86/bits/select.h: This.
36512
d48d0446
L
36513 * sysdeps/i386/bits/setjmp.h: Removed.
36514 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36515 * sysdeps/x86/bits/setjmp.h: This.
36516
7dc00e0d
L
36517 * sysdeps/i386/bits/mathdef.h: Removed.
36518 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36519 * sysdeps/x86/bits/mathdef.h: This.
36520
03277f8f
AS
365212012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36522
36523 [BZ #14132]
36524 * include/sys/socket.h (__connect_internal)
36525 (__libc_sa_len_internal): Remove declaration.
36526 (__connect, __libc_sa_len): Declare hidden_proto.
36527 (SA_LEN): Remove use of INTUSE.
36528 * socket/connect.c: Add libc_hidden_def.
36529 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36530 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36531 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36532 alias.
36533 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36534 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36535 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36536 of adding _internal alias.
36537
13764867
L
365382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36539
36540 [BZ #14117]
6bd97696
L
36541 * sysdeps/i386/bits/link.h: Removed.
36542 * sysdeps/i386/bits/linkmap.h: Likewise.
36543 * sysdeps/x86_64/bits/link.h: Renamed to ...
36544 * sysdeps/x86/bits/link.h: This.
36545 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36546 * sysdeps/x86/bits/linkmap.h: This.
36547
f726f0bb
L
36548 * sysdeps/i386/bits/endian.h: Removed.
36549 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36550 * sysdeps/x86/bits/endian.h: This.
36551
13764867
L
36552 * sysdeps/i386/bits/byteswap.h: Removed.
36553 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36554 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36555 * sysdeps/x86/bits/byteswap.h: This.
36556 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36557 * sysdeps/x86/bits/byteswap-16.h: This.
36558 * sysdeps/i386/Implies: Add x86.
36559 * sysdeps/x86_64/Implies: Likewise.
36560
ae251b0b
DM
365612012-05-30 David S. Miller <davem@davemloft.net>
36562
36563 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36564 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36565 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36566 (FP_TRAPPING_EXCEPTIONS): Define.
36567 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36568 (FP_TRAPPING_EXCEPTIONS): Define.
36569 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36570 subnormals only when inexact has been signalled or underflow
36571 exceptions are enabled.
36572 (_FP_PACK_CANONICAL): Likewise.
36573
d5c90867
L
365742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36575
36576 [BZ #14183]
36577 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36578 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36579
63f1549e
RH
365802012-05-30 Richard Henderson <rth@twiddle.net>
36581
8d8f2279
RH
36582 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36583 with #ifndef NOT_IN_libc.
36584
63f1549e
RH
36585 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36586 marked to avoid plt entry.
36587
0ab0291b
L
365882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36589
36590 [BZ #14112]
36591 * Makeconfig (default-abi): New macro.
36592 (abi-includes): Likewise.
36593 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36594 $(abi-$(default-abi)-lib-soname) for soname if defined.
36595 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36596 abi-variants.
36597 * Makefile (installed-stubs): Likewise.
36598 * include/stubs-biarch.h: Removed.
36599 * scripts/lib-names.awk: Only handle one library at a time.
36600 * scripts/soversions.awk: Remove WORDSIZE support.
36601 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36602 entries.
36603 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36604 Removed.
36605 (syscall-list-default-condition): Likewise.
36606 (syscall-list-default-condition): Likewise.
36607 (syscall-list-includes): Likewise.
36608 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36609 syscall-list-* with abi-*. Handle undefined abi-variants.
36610 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36611 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36612 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36613 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36614 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36615 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36616 Removed.
36617 (syscall-list-32-options): Likewise.
36618 (syscall-list-32-condition): Likewise.
36619 (syscall-list-64-options): Likewise.
36620 (syscall-list-64-condition): Likewise.
36621 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36622 macro.
36623 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36624 Renamed to ...
36625 (abi-*): This.
36626 (abi-64-ld-soname): New macro.
36627 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36628 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36629 Renamed to ...
36630 (abi-*): This.
36631 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36632 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36633
4da0431d
JM
366342012-05-30 Joseph Myers <joseph@codesourcery.com>
36635
3a85279c
JM
36636 * sysdeps/unix/sysv/linux/kernel-features.h
36637 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36638 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36639 include <kernel-features.h>.
36640 [!__NR_ftruncate64]: Remove conditional code.
36641 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36642 [__NR_ftruncate64]: Make code unconditional.
36643 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36644 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36645 include <kernel-features.h>.
36646 [!__NR_ftruncate64]: Remove conditional code.
36647 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36648 [__NR_ftruncate64]: Make code unconditional.
36649 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36651 include <kernel-features.h>.
36652 [!__NR_ftruncate64]: Remove conditional code.
36653 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36654 [__NR_ftruncate64]: Make code unconditional.
36655 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36657 include <kernel-features.h>.
36658 [!__NR_ftruncate64]: Remove conditional code.
36659 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36660 [__NR_ftruncate64]: Make code unconditional.
36661 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36662
4da0431d
JM
36663 * configure.in (libc_cv_fpie): Weaken to a compile test using
36664 LIBC_TRY_CC_OPTION.
36665 * configure: Regenerated.
36666
11ef492c
AK
366672012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36668
36669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36673 Refreshed.
36674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36680 Refreshed.
36681
d66ef399
DM
366822012-05-27 David S. Miller <davem@davemloft.net>
36683
36684 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36685 (___Q_zero): New.
36686 (__Q_simulate_exceptions): Return void. Change to simulate
36687 exceptions by writing into the %fsr.
36688 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36689 (__Qp_handle_exceptions): Likewise.
36690 (numbers): Delete.
36691 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36692 __Qp_handle_exceptions.
36693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36694 __Qp_handle_exceptions.
36695 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36696 as unused and give dummy FP_RND_NEAREST initializer.
36697 (FP_INHIBIT_RESULTS): Define.
36698 (___Q_simulate_exceptions): Update declaration.
36699 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36700 formatting.
36701 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36702 as unused and give dummy FP_RND_NEAREST initializer.
36703 (__Qp_handle_exceptions): Update declaration.
36704 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36705 formatting.
36706
04fb54b5
TS
367072012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36708
36709 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36710 the temporary FPU control word.
36711 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36712 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36713 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36714 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36715 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36716 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36717 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36718 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36719 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36720 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36721 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36722
3f99608f
KK
367232012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36724
36725 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36726 fields.
36727
65a4de4e
CLT
367282012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36729
36730 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36731 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36732 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36733 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36734 Likewise.
36735 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36736 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36737 Likewise.
36738
15749d40
UD
367392012-05-27 Ulrich Drepper <drepper@gmail.com>
36740
36741 * po/h.po: Update from translation team.
36742
25dbcb27
AS
367432012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36744
3d3f8e55
AS
36745 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36746
25dbcb27
AS
36747 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36748 handling of denormals.
36749 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36750 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36751 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36752 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36753 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36754 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36755 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36756 Likewise.
36757
7ad47a80 367582012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36759
36760 [BZ #14152]
36761 * math/libm-test.inc (fma_test): Don't always expect underflow
36762 exception.
36763
9c6ea9fa
SP
367642012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36765
36766 [BZ #12416]
36767 * elf/tst-execstack.c: Include stackinfo.h.
36768 (do_test): Adjust test case to ensure that pthread_getattr_np
36769 behaviour remains the same after marking stack executable.
36770
a8239222
JM
367712012-05-25 Joseph Myers <joseph@codesourcery.com>
36772
36773 * sysdeps/unix/sysv/linux/kernel-features.h
36774 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36775 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36776 kernel-features.h.
36777 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36778 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36779 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36780 kernel-features.h.
36781 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36782 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36783
918b5606
L
367842012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36785
36786 * configure.in: Define the default includes to being none.
36787 * configure: Regenerated.
36788
3a097cc7
RM
367892012-05-25 Roland McGrath <roland@hack.frob.com>
36790
8422c9a5
RM
36791 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36792 * sysdeps/x86_64/setjmp.S: Likewise.
36793 * sysdeps/i386/bsd-setjmp.S: Likewise.
36794 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36795 * sysdeps/i386/setjmp.S: Likewise.
36796 * sysdeps/i386/__longjmp.S: Likewise.
36797 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36798 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36799
3a097cc7
RM
36800 * include/stap-probe.h: New file.
36801 * configure.in: Handle --enable-systemtap.
36802 * configure: Regenerated.
36803 * config.h.in (USE_STAP_PROBE): New #undef.
36804 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36805 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36806 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36807
21708942
JM
368082012-05-25 Joseph Myers <joseph@codesourcery.com>
36809
36810 [BZ #13717]
36811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36812 to 2.4.0 where earlier.
36813 * sysdeps/unix/sysv/linux/configure: Regenerated.
36814 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36815 <kernel-features.h>.
36816 [__ASSUME_32BITUIDS]: Make code unconditional.
36817 [!__ASSUME_32BITUIDS]: Remove conditional code.
36818 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36819 <kernel-features.h>.
36820 [__ASSUME_32BITUIDS]: Make code unconditional.
36821 [!__ASSUME_32BITUIDS]: Remove conditional code.
36822 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36823 [__ASSUME_32BITUIDS]: Make code unconditional.
36824 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36825 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36826 <kernel-features.h>.
36827 [__ASSUME_32BITUIDS]: Make code unconditional.
36828 [!__ASSUME_32BITUIDS]: Remove conditional code.
36829 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36830 <kernel-features.h>.
36831 [__ASSUME_32BITUIDS]: Make code unconditional.
36832 [!__ASSUME_32BITUIDS]: Remove conditional code.
36833 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36834 <kernel-features.h>.
36835 [__ASSUME_32BITUIDS]: Make code unconditional.
36836 [!__ASSUME_32BITUIDS]: Remove conditional code.
36837 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36838 <kernel-features.h>.
36839 [__ASSUME_32BITUIDS]: Make code unconditional.
36840 [!__ASSUME_32BITUIDS]: Remove conditional code.
36841 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36842 <kernel-features.h>.
36843 [__ASSUME_32BITUIDS]: Make code unconditional.
36844 [!__ASSUME_32BITUIDS]: Remove conditional code.
36845 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36846 <kernel-features.h>.
36847 [__ASSUME_32BITUIDS]: Make code unconditional.
36848 [!__ASSUME_32BITUIDS]: Remove conditional code.
36849 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36850 <kernel-features.h>.
36851 [__ASSUME_32BITUIDS]: Make code unconditional.
36852 [!__ASSUME_32BITUIDS]: Remove conditional code.
36853 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36854 <kernel-features.h>.
36855 [__ASSUME_32BITUIDS]: Make code unconditional.
36856 [!__ASSUME_32BITUIDS]: Remove conditional code.
36857 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36858 <kernel-features.h>.
36859 [__ASSUME_32BITUIDS]: Make code unconditional.
36860 [!__ASSUME_32BITUIDS]: Remove conditional code.
36861 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36862 <kernel-features.h>.
36863 [__ASSUME_32BITUIDS]: Make code unconditional.
36864 [!__ASSUME_32BITUIDS]: Remove conditional code.
36865 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36866 <kernel-features.h>.
36867 [__NR_setresgid] (__setresgid): Do not declare.
36868 [__ASSUME_32BITUIDS]: Make code unconditional.
36869 [!__ASSUME_32BITUIDS]: Remove conditional code.
36870 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36871 <kernel-features.h>.
36872 [__NR_setresuid] (__setresuid): Do not declare.
36873 [__ASSUME_32BITUIDS]: Make code unconditional.
36874 [!__ASSUME_32BITUIDS]: Remove conditional code.
36875 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.c: Do not include
36880 <kernel-features.h>.
36881 [__ASSUME_32BITUIDS]: Make code unconditional.
36882 [!__ASSUME_32BITUIDS]: Remove conditional code.
36883 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36884 <kernel-features.h>.
36885 [__ASSUME_32BITUIDS]: Make code unconditional.
36886 [!__ASSUME_32BITUIDS]: Remove conditional code.
36887 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36888 <kernel-features.h>.
36889 [__ASSUME_32BITUIDS]: Make code unconditional.
36890 [!__ASSUME_32BITUIDS]: Remove conditional code.
36891 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36892 <kernel-features.h>.
36893 [__ASSUME_32BITUIDS]: Make code unconditional.
36894 [!__ASSUME_32BITUIDS]: Remove conditional code.
36895 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36896 <kernel-features.h>.
36897 [__ASSUME_32BITUIDS]: Make code unconditional.
36898 [!__ASSUME_32BITUIDS]: Remove conditional code.
36899 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36900 <kernel-features.h>.
36901 [__ASSUME_32BITUIDS]: Make code unconditional.
36902 [!__ASSUME_32BITUIDS]: Remove conditional code.
36903 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36904 <kernel-features.h>.
36905 [__ASSUME_32BITUIDS]: Make code unconditional.
36906 [!__ASSUME_32BITUIDS]: Remove conditional code.
36907 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36908 <kernel-features.h>.
36909 [__ASSUME_32BITUIDS]: Make code unconditional.
36910 [!__ASSUME_32BITUIDS]: Remove conditional code.
36911 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36912 <kernel-features.h>.
36913 [__ASSUME_32BITUIDS]: Make code unconditional.
36914 [!__ASSUME_32BITUIDS]: Remove conditional code.
36915 * sysdeps/unix/sysv/linux/kernel-features.h
36916 (__ASSUME_SETRESUID_SYSCALL): Remove.
36917 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36918 (__ASSUME_32BITUIDS): Likewise.
36919 (__ASSUME_LDT_WORKS): Likewise.
36920 (__ASSUME_O_DIRECTORY): Likewise.
36921 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36922 architecture but not kernel version.
36923 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36924 (__ASSUME_MMAP2_SYSCALL): Likewise.
36925 (__ASSUME_STAT64_SYSCALL): Likewise.
36926 (__ASSUME_IPC64): Likewise.
36927 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36928 <kernel-features.h>.
36929 [__ASSUME_32BITUIDS]: Make code unconditional.
36930 [!__ASSUME_32BITUIDS]: Remove conditional code.
36931 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36932 <kernel-features.h>.
36933 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36934 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36935 132096]: Remove conditional code.
36936 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36937 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36938 <kernel-features.h>.
36939 [__ASSUME_32BITUIDS]: Make code unconditional.
36940 [!__ASSUME_32BITUIDS]: Remove conditional code.
36941 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36942 <kernel-features.h>.
36943 [__ASSUME_32BITUIDS]: Make code unconditional.
36944 [!__ASSUME_32BITUIDS]: Remove conditional code.
36945 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36946 <kernel-features.h>.
36947 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36948 unconditional.
36949 (__setresgid): Do not declare.
36950 [__ASSUME_32BITUIDS]: Make code unconditional.
36951 [!__ASSUME_32BITUIDS]: Remove conditional code.
36952 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36953 <kernel-features.h>.
36954 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36955 unconditional.
36956 (__setresuid): Do not declare.
36957 [__ASSUME_32BITUIDS]: Make code unconditional.
36958 [!__ASSUME_32BITUIDS]: Remove conditional code.
36959 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36960 <kernel-features.h>.
36961 [__ASSUME_32BITUIDS]: Make code unconditional.
36962 [!__ASSUME_32BITUIDS]: Remove conditional code.
36963 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36964 <kernel-features.h>.
36965 [__ASSUME_32BITUIDS]: Make code unconditional.
36966 [!__ASSUME_32BITUIDS]: Remove conditional code.
36967
a386f1cc
RH
369682012-05-25 Richard Henderson <rth@twiddle.net>
36969
36970 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36971 dl_hwcap to ifunc resolver.
36972 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36973 elf_ifunc_invoke.
36974 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36975 dl_hwcap to ifunc resolver.
36976 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36977
b6550497
JM
369782012-05-24 Joseph Myers <joseph@codesourcery.com>
36979
36980 [BZ #14153]
36981 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36982 for |x| <= 2**-26, not 2**-57.
36983 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36984 exception.
36985
b0bc23a1
JL
369862012-05-24 Jeff Law <law@redhat.com>
36987
36988 * stdio-common/Makefile (tests): Add bug25.
36989 * stdio-common/bug25.c: New test.
36990
347c92e9
L
369912012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36992
36993 [BZ #13576]
36994 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36995 multiple of MALLOC_ALIGNMENT in size.
36996 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36997
6bcc8b3f
JM
369982012-05-24 Joseph Myers <joseph@codesourcery.com>
36999
37000 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37001 Require >= 256.
37002 (FILENAME_MAX): Use macro-int-constant.
37003 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37004 (_IOFBF): Use macro-int-constant.
37005 (_IOLBF): Likewise.
37006 (_IONBF): Likewise.
37007 (SEEK_CUR): Likewise.
37008 (SEEK_END): Likewise.
37009 (SEEK_SET): Likewise.
37010 (TMP_MAX): Likewise.
37011 (EOF): Use macro-int-constant. Require < 0.
37012 (NULL): Use macro-constant. Require == 0.
37013 (stdin): Require type to be FILE *.
37014 (stdout): Likewise.
37015 (stderr): Likewise.
37016 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37017 macro-int-constant.
37018 (EXIT_SUCCESS): Likewise.
37019 (NULL): Use macro-constant. Require == 0.
37020 (RAND_MAX): Use macro-int-constant.
37021 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37022 [C99-based standards] (strtof): Require function.
37023 [C99-based standards] (strtold): Likewise.
37024 [C99-based standards] (strtoll): Likewise.
37025 [C99-based standards] (strtoull): Likewise.
37026 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37027 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37028 [ISO || ISO99 || ISO11] (math.h): Likewise.
37029 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37030 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37031 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37032
d18ea0c5
AS
370332012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37034
37035 [BZ #14132]
56d25bb8
AS
37036 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37037 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37038 * intl/dgettext.c (DCGETTEXT): Likewise.
37039 * intl/gettext.c (DCGETTEXT): Likewise.
37040 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37041 * posix/regex_internal.h (gettext): Likewise.
37042 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37043 Remove declaration.
37044 * include/argz.h (__argz_count_internal)
37045 (__argz_stringify_internal): Remove declaration.
37046 (__argz_count, __argz_stringify): Declare hidden proto.
37047 * intl/dcgettext.c: Remove use of INTDEF.
37048 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37049 * string/argz-stringify.c: Likewise.
37050 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37051 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37052 Declare hidden proto.
d18ea0c5
AS
37053 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37054 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37055 Declare hidden proto.
37056 * include/stdio.h (__asprintf_internal): Don't declare.
37057 (__asprintf): Don't define as macro. Declare hidden proto.
37058 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37059 (__fsetlocking): Declare hidden proto.
37060 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37061 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37062 hidden proto.
37063 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37064 (_IO_setlinebuf): Remove use of INTUSE.
37065 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37066 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37067 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37068 Remove declaration.
37069 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37070 (_IO_do_flush): Remove use of INTUSE.
37071 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37072 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37073 (_IO_adjust_column, _IO_least_wmarker)
37074 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37075 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37076 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37077 (_IO_default_doallocate, _IO_wdefault_doallocate)
37078 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37079 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37080 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37081 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37082 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37083 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37084 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37085 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37086 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37087 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37088 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37089 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37090 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37091 proto.
37092 (_IO_flush_all_internal, _IO_adjust_column_internal)
37093 (_IO_default_uflow_internal, _IO_default_finish_internal)
37094 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37095 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37096 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37097 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37098 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37099 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37100 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37101 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37102 (_IO_file_close_internal, _IO_file_close_it_internal)
37103 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37104 (_IO_file_init_internal, _IO_file_attach_internal)
37105 (_IO_file_fopen_internal, _IO_file_read_internal)
37106 (_IO_file_sync_internal, _IO_file_seek_internal)
37107 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37108 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37109 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37110 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37111 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37112 (_IO_list_all_internal, _IO_link_in_internal)
37113 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37114 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37115 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37116 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37117 (_IO_do_write_internal, _IO_padn_internal)
37118 (_IO_getline_info_internal, _IO_getline_internal)
37119 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37120 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37121 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37122 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37123 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37124 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37125 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37126 with libc_hidden_ver, remove use of INTUSE.
37127 * libio/genops.c: Likewise.
37128 * libio/freopen.c: Likewise.
37129 * libio/freopen64.c: Likewise.
37130 * libio/iofclose.c: Likewise.
37131 * libio/iofdopen.c: Likewise.
37132 * libio/iofflush.c: Likewise.
37133 * libio/iofflush_u.c: Likewise.
37134 * libio/iofgets.c: Likewise.
37135 * libio/iofgets_u.c: Likewise.
37136 * libio/iofopen.c: Likewise.
37137 * libio/iofopncook.c: Likewise.
37138 * libio/iofread.c: Likewise.
37139 * libio/iofread_u.c: Likewise.
37140 * libio/ioftell.c: Likewise.
37141 * libio/iofwrite.c: Likewise.
37142 * libio/iogetline.c: Likewise.
37143 * libio/iogets.c: Likewise.
37144 * libio/iogetwline.c: Likewise.
37145 * libio/iopadn.c: Likewise.
37146 * libio/iopopen.c: Likewise.
37147 * libio/ioseekoff.c: Likewise.
37148 * libio/ioseekpos.c: Likewise.
37149 * libio/iosetbuffer.c: Likewise.
37150 * libio/iosetvbuf.c: Likewise.
37151 * libio/ioungetc.c: Likewise.
37152 * libio/ioungetwc.c: Likewise.
37153 * libio/iovdprintf.c: Likewise.
37154 * libio/iovsprintf.c: Likewise.
37155 * libio/iovsscanf.c: Likewise.
37156 * libio/memstream.c: Likewise.
37157 * libio/obprintf.c: Likewise.
37158 * libio/oldfileops.c: Likewise.
37159 * libio/oldiofclose.c: Likewise.
37160 * libio/oldiofdopen.c: Likewise.
37161 * libio/oldiofopen.c: Likewise.
37162 * libio/oldiopopen.c: Likewise.
37163 * libio/oldstdfiles.c: Likewise.
37164 * libio/putc.c: Likewise.
37165 * libio/setbuf.c: Likewise.
37166 * libio/setlinebuf.c: Likewise.
37167 * libio/stdfiles.c: Likewise.
37168 * libio/strops.c: Likewise.
37169 * libio/vasprintf.c: Likewise.
37170 * libio/vscanf.c: Likewise.
37171 * libio/vsnprintf.c: Likewise.
37172 * libio/vswprintf.c: Likewise.
37173 * libio/wfiledoalloc.c: Likewise.
37174 * libio/wfileops.c: Likewise.
37175 * libio/wgenops.c: Likewise.
37176 * libio/wmemstream.c: Likewise.
37177 * libio/wstrops.c: Likewise.
37178 * libio/__fpurge.c: Likewise.
37179 * libio/__fsetlocking.c: Likewise.
37180 * assert/assert.c: Likewise.
37181 * debug/fgets_chk.c: Likewise.
37182 * debug/fgets_u_chk.c: Likewise.
37183 * debug/fread_chk.c: Likewise.
37184 * debug/fread_u_chk.c: Likewise.
37185 * debug/gets_chk.c: Likewise.
37186 * debug/obprintf_chk.c: Likewise.
37187 * debug/vasprintf_chk.c: Likewise.
37188 * debug/vdprintf_chk.c: Likewise.
37189 * debug/vsnprintf_chk.c: Likewise.
37190 * debug/vsprintf_chk.c: Likewise.
37191 * malloc/mtrace.c: Likewise.
37192 * misc/error.c: Likewise.
37193 * misc/syslog.c: Likewise.
37194 * stdio-common/asprintf.c: Likewise.
37195 * stdio-common/fxprintf.c: Likewise.
37196 * stdio-common/getw.c: Likewise.
37197 * stdio-common/isoc99_fscanf.c: Likewise.
37198 * stdio-common/isoc99_scanf.c: Likewise.
37199 * stdio-common/isoc99_vfscanf.c: Likewise.
37200 * stdio-common/isoc99_vscanf.c: Likewise.
37201 * stdio-common/isoc99_vsscanf.c: Likewise.
37202 * stdio-common/printf-prs.c: Likewise.
37203 * stdio-common/printf_fp.c: Likewise.
37204 * stdio-common/printf_fphex.c: Likewise.
37205 * stdio-common/printf_size.c: Likewise.
37206 * stdio-common/putw.c: Likewise.
37207 * stdio-common/scanf.c: Likewise.
37208 * stdio-common/sprintf.c: Likewise.
37209 * stdio-common/tmpfile.c: Likewise.
37210 * stdio-common/vfprintf.c: Likewise.
37211 * stdio-common/vfscanf.c: Likewise.
37212 * stdlib/strfmon_l.c: Likewise.
37213 * sunrpc/openchild.c: Likewise.
37214 * sunrpc/xdr_stdio.c: Likewise.
37215 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37216 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37217
d6c33fda
RM
372182012-05-24 Roland McGrath <roland@hack.frob.com>
37219
c1487492
RM
37220 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37221
37222 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37223 in the third column, to generate for the shared library an IFUNC
37224 that uses _dl_vdso_vsym.
37225 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37226 * Makeconfig (object-suffixes-noshared): New variable.
37227
37228 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37229 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37230 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37231 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37232
d6c33fda
RM
37233 [BZ #14132]
37234 * include/sys/time.h (__gettimeofday): Remove macro.
37235 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37236 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37237 Remove INTDEF.
37238 (__gettimeofday): Add libc_hidden_def.
37239 (gettimeofday): Add libc_hidden_weak.
37240 * sysdeps/mach/gettimeofday.c: Likewise.
37241 * sysdeps/posix/gettimeofday.c: Likewise.
37242 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37243 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37244 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37245 (__gettimeofday_internal): Remove strong_alias.
37246 (__gettimeofday): Add libc_hidden_def.
37247 (gettimeofday): Add libc_hidden_weak.
37248 * sysdeps/unix/syscalls.list (gettimeofday):
37249 Remove __gettimeofday_internal alias.
37250
b5a2bbe6
L
372512012-05-24 Daniel Jacobowitz <drow@false.org>
37252 H.J. Lu <hongjiu.lu@intel.com>
37253
37254 [BZ #12495]
37255 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37256 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37257 (largebin_index_32_big): New.
37258 (largebin_index): Use it for 16-byte alignment.
37259 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37260 correction with front_misalign.
37261
cfba4fda
L
372622012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37263
7f907421
L
37264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37266 Likewise.
37267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37268 Likewise.
37269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37270 Likewise.
37271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37272 Likewise.
37273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37274 Likewise.
37275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37276 Likewise.
37277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37278 Likewise.
37279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37280 Likewise.
37281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37282 Likewise.
37283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37284 Likewise.
37285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37286 Likewise.
37287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37288 Likewise.
37289
cfba4fda
L
37290 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37291 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37292
80bad0cc
JM
372932012-05-24 Joseph Myers <joseph@codesourcery.com>
37294
7a25eb06
JM
37295 [BZ #10846]
37296 [BZ #14036]
37297 * math/libm-test.inc (exp_test): Add test from bug 14036.
37298 (pow_test): Add test from bug 10846.
37299
795405f9
JM
37300 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37301 and other flags.
37302 (special_function): Do not include flags in test name.
37303 (parse_args): Likewise.
37304 * sysdeps/i386/fpu/libm-test-ulps: Update.
37305 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37306 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37307 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37309
80bad0cc
JM
37310 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37311 exceptions.
37312 * math/libm-test.inc ("Philosophy"): Update comment about
37313 exception testing.
37314 (UNDERFLOW_EXCEPTION): New macro.
37315 (UNDERFLOW_EXCEPTION_OK): Likewise.
37316 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37317 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37318 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37319 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37320 (INVALID_EXCEPTION_OK): Update value.
37321 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37322 (OVERFLOW_EXCEPTION_OK): Likewise.
37323 (IGNORE_ZERO_INF_SIGN): Likewise.
37324 (test_exceptions): Handle underflow exceptions.
37325 (acos_test): Update for underflow exception expectations.
37326 (cexp_test): Likewise.
37327 (clog_test): Likewise.
37328 (clog10_test): Likewise.
37329 (csqrt_test): Likewise.
37330 (ctan_test): Likewise.
37331 (ctanh_test): Likewise.
37332 (exp_test): Likewise.
37333 (exp10_test): Likewise.
37334 (exp2_test): Likewise.
37335 (expm1_test): Likewise.
37336 (fma_test): Likewise.
37337 (j0_test): Likewise.
37338 (jn_test): Likewise.
37339 (nexttoward_test): Likewise.
37340 (pow_test): Likewise.
37341 (scalbn_test): Likewise.
37342 (scalbln_test): Likewise.
37343 (tan_test): Likewise.
37344 (y1_test): Likewise.
37345 * sysdeps/i386/fpu/libm-test-ulps: Update.
37346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37347
9e0e3d0b
DM
373482012-05-23 David S. Miller <davem@davemloft.net>
37349
37350 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37351 (__libc_sigaction): Remove unused local variables.
37352
ccd0a08f
L
373532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37354
37355 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37356
62bdf9a6
PE
373572012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37358
f8591f80
PE
37359 mktime: avoid signed integer overflow
37360 * time/mktime.c (__mktime_internal): Do not mishandle the case
37361 where diff == INT_MIN.
37362
94c7d826
PE
37363 mktime: simplify computation of average
37364 * time/mktime.c (ranged_convert): Use new time_t_avg function
37365 instead of rolling our own (probably-slower) code.
37366
ce73d683
PE
37367 mktime: do not assume signed right shift propagates sign bit
37368 * time/mktime.c (isdst_differ): New static function.
37369 (__mktime_internal): No need to normalize tm_isdst now.
37370 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37371 tm_isdst values.
37372
72a22e59
PE
37373 mktime: merge another wrapv change from gnulib
37374 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37375 from some compilers.
37376
68605433
PE
37377 mktime: remove incorrect attempt at unusual arithmetics
37378 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37379 The code didn't really work on such machines anyway.
37380 (TYPE_MINIMUM): Assume two's complement.
37381 (twos_complement_arithmetic): Verify that long_int and time_t
37382 are two's complement (or unsigned, in the latter case).
37383
03cf7fe3
PE
37384 mktime: check signed shifts on long_int and time_t, too
37385 * time/mktime.c (SHR): Check that shifts work as desired
37386 on the types long_int and time_t too, as SHR is used on
37387 such types.
37388
f04dfbc2
PE
37389 mktime: do not assume 'long' is wide enough
37390 * time/mktime.c (verify): Move decl up.
37391 (long_int): New type.
37392 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37393 to remove assumption in the code that 'long' is wide enough to
37394 store year values. This assumption is not true on x32 and on
37395 some non-glibc platforms.
37396
62bdf9a6
PE
37397 mktime: merge wrapv change from gnulib
37398 * time/mktime.c (WRAPV): New macro.
37399 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37400 (guess_time_tm, __mktime_internal): Do not assume that signed
37401 integer overflow wraps around; modern compilers generate code
37402 where this assumption is no longer valid.
37403
5e292e4f
L
374042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37405
37406 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37407 Replace "jmp L(pseudo_end)" with "ret".
37408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37409 Likewise.
37410
8caf8c87
AJ
374112012-05-23 Andreas Jaeger <aj@suse.de>
37412
37413 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37414 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37415
1a09dc56
AJ
374162012-05-23 Andreas Jaeger <aj@suse.de>
37417 Maximilian Attems <max@stro.at>
37418
37419 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37420 New macros.
37421
1c87aba0
L
374222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37423
37424 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37425 code so that pseudo_end is just ret and the stack pointer is
37426 correct also for static library in error case.
37427
40e45bd5
JM
374282012-05-23 Joseph Myers <joseph@codesourcery.com>
37429
c2670533
JM
37430 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37431 move to syscalls.list.
37432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37436
40e45bd5
JM
37437 * manual/install.texi (Running make install): Do not mention Linux
37438 kernel version for which pt_chown is not needed.
37439 (Linux): Do not mention problems with nscd with 2.0 kernels.
37440 * INSTALL: Regenerated.
37441
be08eda5
AJ
374422012-05-23 Andreas Jaeger <aj@suse.de>
37443
37444 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37445 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37446 macro.
37447 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37448 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37449 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37450 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37451 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37452 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37453 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37454 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37455 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37456 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37457 * sysdeps/unix/sysv/linux/bits/in.h
37458 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37459
a6a056bb
RM
374602012-05-22 Roland McGrath <roland@hack.frob.com>
37461
37462 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37463 (PREPARE_VERSION): Just use assert instead, it will be elided
37464 under [NDEBUG] anyway.
37465
c9009328
L
374662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37467
37468 * sysdeps/unix/sysv/linux/Makefile: Include
37469 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 37470 (sysdep_routines): Remove sysctl.
c9009328
L
37471 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37472 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37473 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37474 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37475 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37476
73338355
AJ
374772012-05-22 Andreas Jaeger <aj@suse.de>
37478
37479 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37480 that pseudo_end is just ret and the stack pointer is correct also
37481 for static library in error case.
37482
d44638b0
PP
374832012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37484
37485 [BZ #14122]
37486 * nss/nsswitch.c (defconfig_entries): New variable.
37487 (__nss_database_lookup): Don't leak defconfig entries.
37488 (nss_parse_service_list): Don't leak on error paths.
37489 (free_database_entries): New function.
37490 (free_defconfig): New function.
37491 (free_mem): Move common code to free_database_entries.
37492
31a39bd8
L
374932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37494
da0331a8
L
37495 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37496 Add arch_prctl.
37497 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37498
31a39bd8
L
37499 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37500 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37501 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37502 New macro.
37503 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37504 (INTERNAL_SYSCALL_TYPES): Likewise.
37505 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37506 (LOAD_REGS_TYPES_[1-6]): Likewise.
37507 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37508 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37509
45470df3
AZ
375102012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37511
37512 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37513 copysignl for GLIBC_2_0.
37514 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37515 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37516 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37517 logbl for GLIBC_2_0.
37518 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37519 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37520
98a61bcb
L
375212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37522
a4f6e481
L
37523 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37524 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37525
f63d5db6
L
37526 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37527 Use "neg %eax".
37528
98a61bcb
L
37529 * time/mktime.c: Update copyright years.
37530
95770f14
PE
375312012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37532
6226efbd
PE
37533 mktime: merge comment-quoting-style change from gnulib
37534 * time/mktime.c: Quote 'like this' in comments.
37535 The GNU coding standards suggest that we no longer quote `like this',
37536 as "`" and "'" are typically rendered asymmetrically nowadays.
37537 The typical gnulib style is to quote 'like this' when quoting
37538 code, and "like this" when quoting English.
37539
b99e4f78
PE
37540 * time/mktime.c (compile-command): Add "-I.".
37541
643e01e6
PE
37542 mktime: merge mktime-internal.h change from gnulib
37543 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37544
2554247d
PE
37545 mktime: merge time_r change from gnulib
37546 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37547
826dd0ab
PE
37548 mktime: merge DEBUG change from gnulib
37549 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37550 case system <time.h> has a #define.
37551
bd83aabe
PE
37552 mktime: merge <sys/types.h> change from gnulib
37553 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37554 since <time.t> is now guaranteed to define time_t.
37555
95770f14
PE
37556 mktime: merge HAVE_CONFIG_H change from gnulib
37557 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37558
5e1a27a9
L
375592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37560
0e44a77e
L
37561 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37562 Use "neg %eax".
37563
5e1a27a9
L
37564 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37565 __rlim_t cast.
37566 (struct rusage): Use anonymous union to pad each field to
37567 __syscall_slong_t.
37568
46259bec
DM
375692012-05-21 David S. Miller <davem@davemloft.net>
37570
37571 * Makefules (o-iterator): Remove .s cases.
37572 (compile-command.s): Delete.
37573 (COMPILE.s): Delete.
37574 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37575
59f0c22e
JM
375762012-05-21 Joseph Myers <joseph@codesourcery.com>
37577
37578 * configure.in (libc_cv_predef_stack_protector): Only consider
37579 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37580 * configure: Regenerated.
37581
20c07380
L
375822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37583
bbb3154b
L
37584 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37585 New macro. Use R*LP on int and pointer.
37586 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37587 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37588 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37589 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37590
20c07380
L
37591 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37592 [__WORDSIZE_TIME64_COMPAT32] instead of
37593 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37594 (struct utmp): Likewise.
37595 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37596 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37597 Renamed to ...
37598 (__WORDSIZE_TIME64_COMPAT32): This.
37599 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37600 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37601 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37602 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37603 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37604 (__WORDSIZE_TIME64_COMPAT32): New macro.
37605
d8d1017e
AJ
376062012-05-21 Andreas Jaeger <aj@suse.de>
37607
37608 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37609 only if [SHARED]. Add prototype for __wcschr_ia32.
37610
6c7fb145
RM
376112012-05-21 Roland McGrath <roland@hack.frob.com>
37612
37613 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37614 of %rbp unmolested in the jmp_buf while mangling the low bits.
37615 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37616 unmolested high bits of %rbp while demangling the low bits.
37617 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37618
66274218
AJ
376192012-05-21 Andreas Jaeger <aj@suse.de>
37620
07c58f8f
AJ
37621 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37622 * sunrpc/svc_simple.c: Use it for registerrpc.
37623 * sunrpc/xcrypt.c: Use it for passwd2des.
37624
66274218
AJ
37625 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37626
61f65140
L
376272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37628
37629 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37630 Don't define if [__SYSCALL_WORDSIZE != 32].
37631 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37632 New macro.
37633
5fefb436
AJ
376342012-05-21 Bruno Haible <bruno@clisp.org>
37635 Andreas Jaeger <aj@suse.de>
37636
37637 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37638 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37639 inptr and inend for must_buffer_ch.
37640 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37641 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37642 * stdio-common/Makefile (tests): Remove bug15.
37643 (bug15-ENV): Remove macro.
37644 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37645 anymore.
37646
d8e272ab
AJ
376472012-05-19 Andreas Jaeger <aj@suse.de>
37648 Roland McGrath <roland@hack.frob.com>
37649
37650 * manual/contrib.texi: Completely rewritten. It contains now an
37651 alphabetical list of contributors and their contributions.
37652
4a56a162
RH
376532012-05-21 Richard Henderson <rth@twiddle.net>
37654
37655 * misc/getauxval.c (__getauxval): Use unsigned long int.
37656 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37657 (getauxval): Use unsigned long int.
37658
d024d23c
L
376592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37660
37661 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37662
cbc00a03
RM
376632012-05-21 Roland McGrath <roland@hack.frob.com>
37664
37665 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37666 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37667 __alignof__ (long double).
37668
478143fa
AZ
376692012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37670
37671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37672
c7683a6d
RH
376732012-05-20 Richard Henderson <rth@twiddle.net>
37674
37675 * misc/getauxval.c: New file.
37676 * misc/sys/auxv.h: New file.
37677 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37678 (routines): Add getauxval.
37679 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37680 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37681 * elf/dl-sysdep.c (_dl_auxv): Remove.
37682 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37683 * elf/dl-support.c (_dl_auxv): New variable.
37684 (_dl_aux_init): Initialize it.
37685 * manual/startup.texi (Auxiliary Vector): New node.
37686 * sysdeps/generic/bits/hwcap.h: New file.
37687 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37688 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37689 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37690 * sysdeps/sparc/sysdep.h: ... here. Include it.
37691 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37692 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37694 Update.
c7683a6d
RH
37695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37698 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37703
a6f1845d
AZ
377042012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37705
37706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37707
cbcbe830
DM
377082012-05-19 David S. Miller <davem@davemloft.net>
37709
37710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37711
e0b16cc2
JM
377122012-05-19 Joseph Myers <joseph@codesourcery.com>
37713
37714 [BZ #14123]
37715 * math/s_ccosh.c: Include <float.h>
37716 (__ccosh): Avoid internal overflow calculating sinh and cosh
37717 values before multiplying by sin and cos values.
37718 * math/s_ccoshf.c: Likewise.
37719 * math/s_ccoshl.c: Likewise.
37720 * math/s_csin.c: Likewise.
37721 * math/s_csinf.c: Likewise.
37722 * math/s_csinl.c: Likewise.
37723 * math/s_csinh.c: Likewise.
37724 * math/s_csinhf.c: Likewise.
37725 * math/s_csinhl.c: Likewise.
37726 * math/libm-test.inc (ccos_test): Add more tests.
37727 (ccosh_test): Likewise.
37728 (csin_test): Likewise.
37729 (csinh_test): Likewise.
37730 * sysdeps/i386/fpu/libm-test-ulps: Update.
37731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37732
6ad13e08
L
377332012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37734
f66f0ce8
L
37735 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37736 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37737
6ad13e08
L
37738 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37739
b1d072a7
JM
377402012-05-19 Joseph Myers <joseph@codesourcery.com>
37741
37742 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37743 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37744 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37745 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37746 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37747 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37748 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37749 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37750 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37751 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37752 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37753 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37754 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37755 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37756 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37757 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37758 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37759 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37760 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37761 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37762 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37763 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37764 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37765 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37766 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37767 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37768 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37769 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37770 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37771 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37772 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37773
9eae47cb
AJ
377742012-05-18 Andreas Jaeger <aj@suse.de>
37775
37776 * csu/.gitignore: Delete.
37777
bb07f69f
L
377782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37779
37780 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37781 (timex): Use __syscall_slong_t.
37782
e6bdb741
AJ
377832012-05-18 Andreas Jaeger <aj@suse.de>
37784 Carlos O'Donell <carlos_odonell@mentor.com>
37785
37786 * manual/install.texi (Configuring and compiling): Update
37787 description about files modified in the source directory.
d6c33fda 37788 * INSTALL: Regenerated.
e6bdb741 37789
1b74487e
L
377902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37791
37792 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37793 value. Use "or" to set return value to -1.
37794 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37795 negate return value.
37796
a88b64b9
TMQMF
377972012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37798
57f41c40
AS
37799 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37800 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37801 failure if the compiler has Graphite support disabled.
37802 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37803 Likewise.
57f41c40
AS
37804 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37805 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37806 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37807 Likewise.
37808
3707636e
L
378092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37810
610b8622
L
37811 * sysdeps/x86_64/x32/_itoa.h: New file.
37812
7cd195df
L
37813 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37814 getdents system call only if kernel and user dirents have the
37815 same d_ino and d_off.
37816
94b07d20
L
37817 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37818 LLONG_MAX != LONG_MAX.
37819 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37820 (_fitoa_word): Likewise.
37821
18298070
L
37822 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37823 years.
37824 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37825 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37826 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37827
553c7ea4
L
37828 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37829 include <bits/wordsize.h>. Check __x86_64__ instead of
37830 __WORDSIZE.
37831 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37832 if __x86_64__ is defined. Use anonymous union on fpstate.
37833
3707636e
L
37834 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37835 anonymous union.
37836
b53ef01a
AS
378372012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37838
37fb1dc0
AS
37839 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37840 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37841 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37842 Refer to _rtld_local_ro instead of _rtld_global_ro.
37843 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37844 Likewise.
37845 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37846 Likewise.
37847 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37848 Likewise.
37849 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37850 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37851 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37852
b53ef01a
AS
37853 * sysdeps/powerpc/powerpc32/dl-machine.c
37854 (__elf_machine_runtime_setup) [PROF]: Don't reference
37855 _dl_prof_resolve.
37856
7a185db2
AJ
378572012-05-18 Andreas Jaeger <aj@suse.de>
37858
37859 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37860 function only available for GCCs before 3.4 since GCC 3.4
37861 introduced a builtin.
37862 (lrint): Likewise.
37863 (llrintf): Likewise.
37864 (llrint): Likewise.
37865 (fmaxf): Likewise.
37866 (fmax): Likewise.
37867 (fminf): Likewise.
37868 (fmin): Likewise.
37869 (rint): Likewise.
37870 (rintf): Likewise.
37871 (nearbyint): Likewise.
37872 (nearbyintf): Likewise.
37873 (ceil): Likewise.
37874 (ceilf): Likewise.
37875 (floor): Likewise.
37876 (floorf): Likewise.
37877
3e5aef87
L
378782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37879
428bd707
L
37880 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37881 on both fields and cast pointer to __syscall_ulong_t.
37882
3e5aef87
L
37883 * bits/types.h (__fsword_t): New type.
37884 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37885 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37886 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37887 (__FSWORD_T_TYPE): Likewise.
37888 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37889 (__FSWORD_T_TYPE): Likewise.
37890 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37891 (__FSWORD_T_TYPE): Likewise.
37892 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37893 (__FSWORD_T_TYPE): Likewise.
37894 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37895 __SWORD_TYPE with __fsword_t.
37896 (statfs64): Likewise.
37897
1ba7c3dc
DM
378982012-05-17 David S. Miller <davem@davemloft.net>
37899
37900 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37901
59910343
AJ
379022012-05-17 Andreas Jaeger <aj@suse.de>
37903
37904 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37905 warning.
37906
2e4c1e9e
L
379072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37908
37909 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37910
de7f5ce7
AJ
379112012-05-17 Andreas Jaeger <aj@suse.de>
37912
37913 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37914 when it is used.
37915
286abc3d
CM
379162012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37917
37918 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37919
477cc68e
L
379202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37921
37922 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37923 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37924
1a0994f5
CD
379252012-05-17 Andreas Jaeger <aj@suse.de>
37926 Carlos O'Donell <carlos_odonell@mentor.com>
37927
37928 [BZ #14059]
37929 * sysdeps/x86_64/multiarch/init-arch.h
37930 (bit_YMM_Usable): Rename to...
37931 (bit_AVX_Usable): ... this.
37932 (bit_FMA4_Usable): New macro.
37933 (bit_XMM_state): New macro.
37934 (bit_YMM_state): New macro.
37935 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37936 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37937 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37938 (CPUID_OSXSAVE): New macro.
37939 (CPUID_AVX): New macro.
37940 (CPUID_FMA4): New macro.
37941 (index_YMM_Usable): Rename to...
37942 (index_AVX_Usable): ... this.
37943 (HAS_AVX): Use HAS_ARCH_FEATURE.
37944 (HAS_FMA4): Likewise.
37945 (HAS_YMM_USABLE): Remove.
37946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37947 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37948 are present.
37949 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37950 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37951 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37952 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37953 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37954
0af797de
CM
379552012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37956
37957 * math/libm-test.c: Support platforms without multiple rounding modes.
37958 * math/bug-nextafter.c: Support platforms without FP exceptions.
37959 * math/bug-nexttoward.c: Likewise.
37960 * math/test-fenv.c: Likewise.
37961 * math/test-misc.c: Likewise.
37962 * stdlib/bug-getcontext.c: Likewise.
37963
e39745ff
AJ
379642012-05-17 Andreas Jaeger <aj@suse.de>
37965
37966 * manual/examples/search.c (critter_cmp): Change signature to
37967 avoid warnings.
37968 * manual/string.texi (Collation Functions): Likewise.
37969
48970aba
L
379702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37971
37972 * bits/types.h: Fold copyright years.
37973 * bits/typesizes.h: Likewise.
37974 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37975 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37976 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37977 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37978 * time/time.h: Likewise.
37979
bedee953
PP
379802012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37981
37982 [BZ #208]
37983 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37984 in instead of returning them. Return void.
37985 (__libc_mallinfo): Accumulate over all arenas.
37986 (__malloc_stats): Adjust for change in int_mallinfo interface.
37987
61653dfb
RM
379882012-05-16 Roland McGrath <roland@hack.frob.com>
37989
30b99d79
RM
37990 [BZ #10375]
37991 * configure.in (NM): Add AC_CHECK_TOOL for it.
37992 (libc_extra_cflags): New substituted variable.
37993 Check for -fstack-protector being used implicitly.
37994 * configure: Regenerated.
37995 * config.make.in (config-extra-cflags): New variable,
37996 gets @libc_extra_cflags@.
37997 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37998
61653dfb
RM
37999 [BZ #10375]
38000 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38001 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38002 * configure: Regenerated.
38003 * config.make.in (CPPUNDEFS): New substituted variable.
38004 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38005 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38006 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38007
661768bb
L
380082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38009
38010 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38011 (mq_attr): Use __syscall_slong_t.
38012
d4261567
L
380132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38014
38015 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38016 Check __x86_64__ instead of __WORDSIZE.
38017 (_STAT_VER_LINUX): Likewise.
38018 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38019 __syscall_ulong_t and __syscall_slong_t.
38020 (stat64): Likewise.
38021
cf3ff365
L
380222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38023
38024 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38025
76cf3e4d
L
380262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38027
38028 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38029
a637753a
L
380302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38031
38032 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38033 __syscall_ulong_t.
38034
d5e05119
L
38035 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38036 include <bits/wordsize.h>. Check __x86_64__ instead of
38037 __WORDSIZE.
38038 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38039 defined.
38040 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38041
f62ee380
L
38042 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38043 include <bits/wordsize.h>. Check __x86_64__ instead of
38044 __WORDSIZE.
38045 (user_regs_struct): Use "__extension__ unsigned long long"
38046 instead of "unsigned long" if __x86_64__ is defined.
38047 (user): Likewise. Pad after pointer field if __ILP32__ is
38048 defined.
38049
4e124ced
JM
380502012-05-16 Joseph Myers <joseph@codesourcery.com>
38051
6a3951a0
JM
38052 * configure.in (makeinfo): Require version 4.5 or later. Allow
38053 versions 5 to 9.
38054 * configure: Regenerated.
38055 * manual/install.texi (texinfo): Increase version requirement to
38056 4.5 or later.
38057 * INSTALL: Regenerated.
38058
4e124ced
JM
38059 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38060
953ca31a
L
380612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38062
38063 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38064
617aca05
L
38065 * sysdeps/x86_64/x32/ffs.c: New file.
38066
5762f7ae
L
38067 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38068 __syscall_ulong_t.
38069 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38070 defined. Use __syscall_ulong_t.
38071 (shminfo): Use __syscall_ulong_t.
38072 (shm_info): Likewise.
38073
a26b6856
L
38074 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38075 __syscall_ulong_t.
38076
cb2b9ef7
L
38077 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38078 <bits/wordsize.h>.
38079 (msgqnum_t): Use __syscall_ulong_t.
38080 (msglen_t): Likewise.
38081 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38082 __syscall_ulong_t.
38083
34683bb0
L
38084 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38085 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38086
84a68786
L
38087 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38088
48baa5f1
L
38089 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38090 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38091
180be88b
L
38092 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38093 __syscall_slong_t.
38094
5e90c8ad
L
38095 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38096 include <bits/wordsize.h>. Check __x86_64__ instead of
38097 __WORDSIZE.
38098
23dfb58b
L
38099 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38100 "unsigned long long int" if __x86_64__ is defined.
38101 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38102
ce5d54b0
L
38103 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38104 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38105 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38106
13dc9eac
L
38107 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38108 <stdint.h>.
38109 (GET_PC): Cast to uintptr_t first.
38110 (GET_FRAME): Likewise.
38111 (GET_STACK): Likewise.
38112
a7895d15
L
38113 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38114 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38115 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38116 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38117 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38118 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38119 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38120 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38121 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38122 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38123 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38124 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38125 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38126 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38127 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38128 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38129 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38130 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38131 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38132 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38133 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38134 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38135 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38136 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38137 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38138 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38139 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38140 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38141 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38142
656416c9
AS
381432012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38144
5bd66283
AS
38145 * Makerules (+depfiles): Also collect depfiles from .oS in
38146 $(extra-objs).
38147 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38148 .oS, $(libnldbl-routines)).
38149
656416c9
AS
38150 * Makerules (native-compile-mkdep-flags): Define.
38151 * sunrpc/Makefile (extra-objs): Add $(addprefix
38152 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38153 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38154 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38155 calling $(make-target-directory).
38156
a46f2169
L
381572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38158
38159 * bits/types.h (__snseconds_t): Removed.
38160 * time/time.h (struct timespec): Replace __snseconds_t with
38161 __syscall_slong_t.
38162 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38163 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38164 Likewise.
38165 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38166 (__SNSECONDS_T_TYPE): Likewise.
38167 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38168 (__SNSECONDS_T_TYPE): Likewise.
38169 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38170 (__SNSECONDS_T_TYPE): Likewise.
38171
6af6528b
L
381722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38173
38174 * sysdeps/mach/hurd/bits/typesizes.h
38175 (__SYSCALL_SLONG_TYPE): New macro.
38176 (__SYSCALL_ULONG_TYPE): Likewise.
38177
de986b56
L
381782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38179
38180 * bits/types.h (__syscall_slong_t): New type.
38181 (__syscall_ulong_t): Likewise.
38182
38183 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38184 (__SYSCALL_ULONG_TYPE): Likewise.
38185 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38186 (__SYSCALL_SLONG_TYPE): Likewise.
38187 (__SYSCALL_ULONG_TYPE): Likewise.
38188 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38189 (__SYSCALL_SLONG_TYPE): Likewise.
38190 (__SYSCALL_ULONG_TYPE): Likewise.
38191 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38192 (__SYSCALL_SLONG_TYPE): Likewise.
38193 (__SYSCALL_ULONG_TYPE): Likewise.
38194
85736dc7
L
381952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38196
38197 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38198 Add sigaltstack-offsets.sym.
38199 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38200 <sigaltstack-offsets.h>.
38201 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38202 longjmp_msg pointer.
38203 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38204 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38205 signal stack.
38206 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38207
cc03b296
JM
382082012-05-15 Joseph Myers <joseph@codesourcery.com>
38209
a9538892
JM
38210 * elf/stackguard-macros.h: Remove file.
38211 * sysdeps/generic/stackguard-macros.h: New file.
38212 * sysdeps/i386/stackguard-macros.h: Likewise.
38213 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38214 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38215 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38216 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38217 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38218 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38219 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38220 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38221 <elf/stackguard-macros.h>.
38222
cc03b296
JM
38223 [BZ #14109]
38224 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38225 __aligned__ in attribute.
38226 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38227 (gregset_t): Likewise.
38228
93171016
L
382292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38230
38231 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38232 * sysdeps/x86_64/64/Implies-after: Here. New file.
38233 * sysdeps/x86_64/x32/Implies-after: New file.
38234
d86813a0
L
382352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38236
38237 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38238 and access return value for _dl_profile_fixup. Use R10_LP to
38239 load frame size.
38240
2953ec75
L
382412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38242
38243 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38244
3b550e9e
L
382452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38246
38247 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38248 * sysdeps/x86_64/x32/sysdep.h: New file.
38249
eda41706
L
382502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38251
38252 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38253 * sysdeps/x86_64/setjmp.S: Likewise.
38254
9ea01d93
AZ
382552012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38256
38257 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38258 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38259 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38260 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38261 remove unused global constant.
38262
02a91938
CM
382632012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38264
38265 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38266 include of <not-cancel.h>.
38267
6540185f
RM
382682012-05-15 Roland McGrath <roland@hack.frob.com>
38269
38270 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38271
509072a0
AJ
382722012-05-15 Jeff Law <law@redhat.com>
38273 Andreas Jaeger <aj@suse.de>
38274
38275 [BZ #13594]
38276 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38277 out from...
38278 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38279 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38280 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38281 code changing __hst_map_handle.map.
38282
ba75122d
RM
382832012-05-15 Roland McGrath <roland@hack.frob.com>
38284
38285 * configure.in (sysnames): Look for Implies-before and Implies-after
38286 files.
38287 * configure: Regenerated.
38288
890d8bd8
L
382892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38290
38291 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38292 8-byte data alignment with LP_SIZE alignment.
38293
f6ee6623
L
382942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38295
38296 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38297 into R10_LP.
38298
ea2626f6
L
382992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38300
38301 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38302
085f715e
L
383032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38304
38305 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38306 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38307 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38308 Likewise.
38309 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38310
be8498fc
L
383112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38312
38313 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38314 (stackinfo_sub_sp): Likewise.
38315
70bc83b9
L
383162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38317
38318 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38319 RAX_LP.
38320
9bc0b730
L
383212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38322
38323 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38324 into R*_LP.
38325
6d2850e7
L
383262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38327
38328 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38329 sizes into R*_LP.
38330
3cb84561
L
383312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38332
38333 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38334
54e2ed81
L
383352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38336
38337 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38338 into R11_LP and load __x86_64_shared_cache_size_half into
38339 R8_LP.
38340
8a17f349
L
383412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38342
38343 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38344 R8_LP.
38345
777b1eea
AZ
383462012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38347
38348 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38349 logb for POWER7.
38350 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38351 logbf for POWER7.
38352 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38353 logbl for POWER7.
38354 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38355 powerpc32/power7/fpu/s_logb.c via #include.
38356 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38357 powerpc32/power7/fpu/s_logbf.c via #include.
38358 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38359 powerpc32/power7/fpu/s_logbl.c via #include.
38360
d20d4ac2
JM
383612012-05-15 Joseph Myers <joseph@codesourcery.com>
38362
38363 * README.libm: Remove file.
38364
6cdef1ab
L
383652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38366
38367 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38368 count for x32. Use R*_LP and omit operand-size suffix.
38369
0b254d8f
L
383702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38371
38372 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38373 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38374 * sysdeps/x86_64/x32/shlib-versions: New file.
38375
ceb809dc
RM
383762012-05-14 Roland McGrath <roland@hack.frob.com>
38377
38378 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38379 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38380 Use _dl_fatal_printf instead.
38381
37f1abd4
JM
383822012-05-14 Joseph Myers <joseph@codesourcery.com>
38383
38384 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38385 set if not set by the user. Do not allow for being unset.
38386 * sysdeps/unix/sysv/linux/configure: Regenerated.
38387
11de3a33
L
383882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38389
38390 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38391 the `q' suffix from lea and replace .quad with ASM_ADDR.
38392
e02f153a
L
383932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38394
38395 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38396 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38397 instead of $17.
38398 (PTR_DEMANGLE): Likewise.
38399
520ae0fd
L
384002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38401
38402 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38403 (LP_OP): Likewise.
38404 (ASM_ADDR): Likewise.
38405 (RAX_LP): Likewise.
38406 (RBP_LP): Likewise.
38407 (RBX_LP): Likewise.
38408 (RCX_LP): Likewise.
38409 (RDI_LP): Likewise.
38410 (RSI_LP): Likewise.
38411 (RSP_LP): Likewise.
38412 (R8_LP): Likewise.
38413 (R9_LP): Likewise.
38414 (R10_LP): Likewise.
38415 (R10_LP): Likewise.
38416 (R11_LP): Likewise.
38417 (R12_LP): Likewise.
38418 (R13_LP): Likewise.
38419 (R14_LP): Likewise.
38420 (R15_LP): Likewise.
38421
b985be81
L
384222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38423
38424 * sysdeps/x86_64/x32/dl-machine.h: New file.
38425
6a4888ff
AJ
384262012-05-14 Andreas Jaeger <aj@suse.de>
38427
38428 * manual/Makefile (subdir): Remove export of subdir.
38429 (all): Remove target.
38430 (.PHONY): Remove all from list.
38431 (mkinstalldirs): Remove.
38432 (.PHONY): Remove installdirs from list.
38433 ($(inst_infodir)/libc.info): Use make-target-directory.
38434 (installdirs): Remove.
38435 (subdir_%): Remove.
38436 (glibc-targets): Remove.
38437 (lib): Remove.
38438 (stubs): Remove.
38439 ($(objpfx)stubs ../po/manual.pot): Remove.
38440 ($(objpfx)stamp%): Remove.
38441 (make-target-directory): Remove.
38442 (subdir_install): Remove.
38443 (routines): Remove.
38444 (aux): Remove.
38445 (sources): Remove.
38446 (objects): Remove.
38447 (headers): Remove.
38448
38449 [BZ #13750]
38450 * manual/.gitignore: Remove, it's not needed anymore.
38451 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38452 all files in it.
38453 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38454 directory.
38455 (texis): Renamed to $(objpfx)texis.
38456 (texis-path): New, contains path to generated files.
38457 (chapters.%): Use texis-path for complete path, add extra argument
38458 libc-texinfo.sh.
38459 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38460 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38461 (summary,texi, stamp-summary): Use complete path of
38462 files. Generate files in build dir.
38463 (dir-add.texi): Build in build dir.
38464 (libm-err.texi,stamp-libm-err): Likewise.
38465 (version.texi, stamp-version): Likewise.
38466 (.%c.texi): Likewise.
38467 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38468 (mostlyclean): Remove target.
38469 (realclean): Remove target.
38470 (generated): Add new variable with contents from mostlyclean and
38471 realclean, remove entries duplicated in common-mostlyclean, add
38472 stamp-libm-err and stamp-version.
38473 (generated-dirs): Add libc directory.
38474 ($(inst_infodir)/libc.info): Install files from build dir.
38475
38476 * manual/install.texi (Configuring and compiling): Adjust since
38477 the info files are not part of the tar ball anymore.
38478
7ac77294
AJ
384792012-05-14 Andreas Jaeger <aj@suse.de>
38480
38481 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38482 variable.
38483
ffb7875d
JM
384842012-05-14 Joseph Myers <joseph@codesourcery.com>
38485
38486 [BZ #13717]
38487 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38488 to 2.2.0 where earlier.
38489 * sysdeps/unix/sysv/linux/configure: Regenerated.
38490 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38491 Remove conditional code.
38492 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38493 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38494 Remove conditional code.
38495 [!__NR_lchown]: Likewise.
38496 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38497 [__NR_lchown]: Likewise.
38498 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38499 comment referencing __ASSUME_LCHOWN_SYSCALL.
38500 * sysdeps/unix/sysv/linux/i386/sigaction.c
38501 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38502 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38503 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38504 Remove conditional code.
38505 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38506 (__protocol_available): Remove #if 0 code.
38507 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38508 conditional code.
38509 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38510 * sysdeps/unix/sysv/linux/kernel-features.h
38511 (__ASSUME_GETCWD_SYSCALL): Don't define.
38512 (__ASSUME_REALTIME_SIGNALS): Likewise.
38513 (__ASSUME_PREAD_SYSCALL): Likewise.
38514 (__ASSUME_PWRITE_SYSCALL): Likewise.
38515 (__ASSUME_POLL_SYSCALL): Likewise.
38516 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38517 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38518 non-SPARC.
38519 (__ASSUME_SIOCGIFNAME): Don't define.
38520 (__ASSUME_MSG_NOSIGNAL): Likewise.
38521 (__ASSUME_SENDFILE): Define unconditionally.
38522 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38523 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38524 conditional code.
38525 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38526 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38527 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38528 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38529 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38530 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38531 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38533 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38534 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38536 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38539 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38540 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38542 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38545 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38546 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38548 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38549 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38551 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38552 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38554 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38555 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38556 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38557 Remove conditional code.
38558 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38559 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38560 Remove conditional code.
38561 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38562 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38563 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38564 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38565 Remove conditional code.
38566 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38567 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38568 Remove conditional code.
38569 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38570 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38571 Remove conditional code.
38572 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38573 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38574 Remove conditional code.
38575 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38576 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38577 Remove conditional code.
38578 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38579 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38580 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38581 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38582 * sysdeps/unix/sysv/linux/sigaction.c
38583 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38584 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38585 * sysdeps/unix/sysv/linux/sigpending.c
38586 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38587 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38588 * sysdeps/unix/sysv/linux/sigprocmask.c
38589 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38590 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38591 * sysdeps/unix/sysv/linux/sigsuspend.c
38592 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38593 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38594 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38595 (__libc_missing_rt_sigs): Remove.
38596 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38597 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38598 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38599 Remove conditional code.
38600 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38601 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38602 return 1.
38603 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38604 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38605 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38606 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38607
1bfb7291
AJ
386082012-05-14 Andreas Jaeger <aj@suse.de>
38609
caae5a81
AJ
38610 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38611 it's not used in glibc.
38612 (__coshm1): Likewise.
38613 (__acosh1p): Likewise.
38614 (__sgn): Likewise.
38615
1bfb7291
AJ
38616 * manual/string.texi (Copying and Concatenation): Add missing
38617 variable in concat example.
38618 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38619
c044d724
L
386202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38621
144c5467 38622 [BZ #14103]
c044d724
L
38623 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38624 __builtin_clzl with __builtin_clzll.
38625
2523c62b
L
386262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38627
38628 [BZ #14104]
38629 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38630 libc_freeres_ptr.
38631
d7bb4c42
LD
386322012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38633
38634 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38635 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38636 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38637 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38638
9dc4e1fb
MF
386392012-05-14 Mike Frysinger <vapier@gentoo.org>
38640
38641 * NEWS: Update ia64 info.
38642
c7df0112
AS
386432012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38644
38645 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38646 used as bcopy.
38647
dc70356c
TS
386482012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38649
38650 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38651 * sysdeps/unix/syscalls.list (dup3): Likewise.
38652 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38653 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38654
9fb1a21f
L
386552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38656
38657 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38658 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38659
4822a2a5
L
386602012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38661
38662 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38663 thread pointer.
38664 (TLS_IE): Use mov/add instead of movq/addq to load thread
38665 pointer.
38666 (TLS_GD_PREFIX): New.
38667 (TLS_GD): Use it.
38668
842b81d6
DM
386692012-05-11 David S. Miller <davem@davemloft.net>
38670
38671 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38672 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38673 (_FPU_SETCW): Likewise.
38674
1cf463cd
L
386752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38676
38677 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38678 is 32-byte aligned.
38679
60cc4a18
AS
386802012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38681
38682 [BZ #11837]
38683 * iconvdata/gb18030.c: Update tables.
38684 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38685 characters specially.
38686 (BODY for TO_LOOP): Add encoding of missing ranges.
38687
febb44a4
TS
386882012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38689
38690 [BZ #13673]
38691 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38692 * sysdeps/mach/hurd/dup3.c: Likewise.
38693 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38694 * sysdeps/powerpc/memmove.c:: Likewise.
38695
0a10fb9e
L
386962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38697
38698 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38699 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38700
df8a552f
L
387012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38702
38703 * elf/elf.h (R_X86_64_RELATIVE64): New.
38704 (R_X86_64_NUM): Updated.
38705 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38706 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38707 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38708 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38709 tst-quad1pie tst-quad2pie
38710 (modules-names): Add tst-quadmod1 tst-quadmod2.
38711 ($(objpfx)tst-quad1): New dependency.
38712 ($(objpfx)tst-quad2): Likewise.
38713 ($(objpfx)tst-quad1pie): Likewise.
38714 ($(objpfx)tst-quad2pie): Likewise.
38715 * sysdeps/x86_64/tst-quad1.c: New file.
38716 * sysdeps/x86_64/tst-quad1pie.c: New file.
38717 * sysdeps/x86_64/tst-quad2.c: Likewise.
38718 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38719 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38720 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38721 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38722 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38723
f34d6f84
ST
387242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38725
f42d41d1
ST
38726 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38727 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38728 * streams/stropts.h (t_scalar_t): Define type.
38729
3c3571fc
ST
38730 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38731 (_PATH_PRESERVE): Set to "/var/lib".
38732 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38733
61f06bd3
ST
38734 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38735 instead of int.
38736
918d4d71
ST
38737 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38738 if __dir_mkfile succeeded.
38739
f34d6f84
ST
38740 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38741 checking for _hurd_dtablesize. Unlock it right after having
38742 finished _hurd_dtable allocation.
38743
10589b4a
TS
387442012-05-10 Thomas Schwinge <thomas@schwinge.name>
38745
674cdbc7
TS
38746 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38747 * sysdeps/mach/hurd/configure: Regenerated.
38748 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38749 special-casing to...
38750 * sysdeps/gnu/configure.in: ... this new file.
38751 * sysdeps/unix/sysv/linux/configure: Regenerated.
38752 * sysdeps/gnu/configure: New generated file.
38753
8e41b99f
TS
38754 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38755 for Linux: use nsec instead of usec, as well as:
38756 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38757 members of type struct timespec.
38758 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38759 New macros.
38760 (struct stat64): Likewise.
38761 (_STATBUF_ST_NSEC): New macro.
38762 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38763
10589b4a
TS
38764 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38765 __strtoul_internal rather than strtoul.
38766
63643c85
PT
387672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38768
38769 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38770 and reject them.
38771
3faebe6a
ST
387722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38773
38774 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38775 which preserves existing values.
38776 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38777
c6474b07
PT
387782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38779
38780 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38781 TIMEOUT values. Return EINVAL for NFDS values either negative or
38782 greater than FD_SETSIZE.
38783
1043890b
ST
387842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38785
38786 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38787 allocated, call __vm_protect to finish enabling the existing space, and
38788 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38789 allocate the remainder.
38790
37ed8b9b
PT
387912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38792
38793 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38794 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38795
db653660
ST
387962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38797
37ed8b9b
PT
38798 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38799 sysdeps/mach/hurd/readlink.c.
b29d4053 38800
db653660
ST
38801 * posix/tst-sysconf.c (posix_options): Only use
38802 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38803 _POSIX_SYNCHRONIZED_IO when they are defined
38804 * sysdeps/mach/hurd/bits/posix_opt.h:
38805 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38806 (_XOPEN_REALTIME): Undefine macro.
38807 (_XOPEN_REALTIME_THREADS): Undefine macro.
38808 (_XOPEN_SHM): Undefine macro.
38809 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38810 macro to -1.
38811 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38812 macro to -1.
38813 (_POSIX_ASYNC_IO): Undefine macro.
38814 (_POSIX_PRIORITIZED_IO): Undefine macro.
38815 (_POSIX_SPIN_LOCKS): Define macro to -1.
38816
ee16e894
ST
38817 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38818 SA_NODEFER, SA_RESETHAND.
38819 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38820 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38821 F_DUPFD_CLOEXEC.
38822
6103ae3b
TS
388232012-05-10 Thomas Schwinge <thomas@schwinge.name>
38824
38825 * elf/Makefile (pldd-modules): Define unconditionally.
38826
80b4e5f3
TS
388272012-05-10 Thomas Schwinge <thomas@schwinge.name>
38828
38829 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38830
edadcbd6
ST
388312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38832
38833 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38834 Return ENOENT when name is empty.
38835 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38836
80694780
TS
388372012-05-10 Thomas Schwinge <thomas@schwinge.name>
38838
1792c087
TS
38839 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38840
80694780
TS
38841 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38842
6b645f0d
ST
388432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38844
80694780
TS
38845 Fix mlock in all cases except non-readable pages.
38846 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38847 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38848
6b645f0d
ST
38849 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38850 (__mkdir): When path is `/', just fail with EEXIST.
38851 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38852
e468f8a3
TS
388532012-05-10 Thomas Schwinge <thomas@schwinge.name>
38854
38855 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38856 <sys/uio.h> (for writev).
38857 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38858 and <sys/param.h> (for MIN).
38859
a4186cff
PT
388602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38861
38862 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38863 REQUESTED_TIME. Properly set the remaining time and return EINTR
38864 if interrupted.
38865
510bbf14
TS
388662012-05-10 Thomas Schwinge <thomas@schwinge.name>
38867
38868 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38869 Depend on against $(link-rpcuserlibs).
38870
5d5722e8
ST
388712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38872
a4186cff
PT
38873 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38874 (__libc_stack_end): Do not use attribute_relro.
38875 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38876 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38877 to libthread-provided value.
a4186cff
PT
38878 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38879 attribute_relro.
5d5722e8 38880
37233df9
TS
388812012-05-10 Thomas Schwinge <thomas@schwinge.name>
38882
be971a2b
TS
38883 [BZ #3748]
38884 * bits/libc-lock.h (__libc_once_get): New macro.
38885 * sysdeps/mach/bits/libc-lock.h: Likewise.
38886 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38887 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38888 instead of using implementation details.
38889
37233df9
TS
38890 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38891 * libio/freopen.c: Likewise.
38892 * libio/freopen64.c: Likewise.
38893 * misc/syslog.c: Likewise.
38894 * nscd/connections.c: Likewise.
38895 * nscd/netgroupcache.c: Likewise.
38896 * sysdeps/posix/getcwd.c: Likewise.
38897
38de94a5
RM
388982012-05-10 Roland McGrath <roland@hack.frob.com>
38899
38900 * math/w_ilogbf.c: Add #include <limits.h>.
38901
67530489
ST
389022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38903
a4186cff 38904 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
38905 path instead of returning without unlocking.
38906
67530489
ST
38907 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38908 immediate-write ioctls.
38909 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38910
5aa3a74a
TS
389112012-05-10 Thomas Schwinge <thomas@schwinge.name>
38912
18bad2ae
TS
38913 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38914 __builtin_frame_address instead of making assumptions about the
38915 location of the return address relative to DATA. Force early load of
38916 the return address.
38917 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38918 __builtin_frame_address.
38919
5aa3a74a
TS
38920 dup3 for GNU Hurd.
38921 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38922 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38923 implement dup3 and do some further code clean-ups.
38924 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38925 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38926
ecd0de9a
ST
389272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38928
cd9fa985
ST
38929 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38930
a4186cff
PT
38931 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38932 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38933 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38934 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38935 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38936 d->port.lock.
802ca5a5 38937
a4186cff
PT
38938 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38939 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38940 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 38941
bcf55240
TS
389422012-05-10 Thomas Schwinge <thomas@schwinge.name>
38943
6960eb42
TS
38944 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38945 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38946 definitions.
38947
eb43375f
TS
38948 accept4 for GNU Hurd.
38949 * include/sys/socket.h (__libc_accept4): New prototype.
38950 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38951 to implement __libc_accept4.
38952 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38953 __libc_accept4.
38954 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38955
bcf55240
TS
38956 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38957 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38958 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38959 signal-defines.sym.
38960
6178c55b
ST
389612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38962
a4186cff 38963 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 38964
6f080c2f
TS
389652012-05-10 Thomas Schwinge <thomas@schwinge.name>
38966
38967 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38968 assertion on O_CLOEXEC flag.
38969 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38970 * hurd/intern-fd.c: Likewise.
38971 * hurd/port2fd.c: Likewise.
38972
bcfe3a54
ST
389732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38974
38975 [BZ #3906]
38976 * bits/in.h (IPV6_PKTINFO): Define new macro.
38977 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38978
89c9aa49
AZ
389792012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38980
38981 [BZ #13954]
38982 [BZ #13955]
38983 [BZ #13956]
38984 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38985 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38986 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38987 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38988 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38989 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38990 * math/libm-test.inc (logb_test) : Additional logb tests.
38991
021db4be
AJ
389922012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38993 Andreas Jaeger <aj@suse.de>
38994
38995 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38996 * configure: Regenerated.
38997 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38998 * config.make.in (link-obsolete-rpc): New substituted variable.
38999 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39000 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39001 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39002 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39003 so that libc.a contains the symbols.
39004 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39005 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39006 * sunrpc/auth_none.c: Likewise.
39007 * sunrpc/auth_unix.c: Likewise.
39008 * sunrpc/authdes_prot.c: Likewise.
39009 * sunrpc/authuxprot.c: Likewise.
39010 * sunrpc/clnt_gen.c: Likewise.
39011 * sunrpc/clnt_perr.c: Likewise.
39012 * sunrpc/clnt_raw.c: Likewise.
39013 * sunrpc/clnt_simp.c: Likewise.
39014 * sunrpc/clnt_tcp.c: Likewise.
39015 * sunrpc/clnt_udp.c: Likewise.
39016 * sunrpc/clnt_unix.c: Likewise.
39017 * sunrpc/des_crypt.c: Likewise.
39018 * sunrpc/des_soft.c: Likewise.
39019 * sunrpc/get_myaddr.c: Likewise.
39020 * sunrpc/key_call.c: Likewise.
39021 * sunrpc/key_prot.c: Likewise.
39022 * sunrpc/netname.c: Likewise.
39023 * sunrpc/pm_getmaps.c: Likewise.
39024 * sunrpc/pm_getport.c: Likewise.
39025 * sunrpc/pmap_clnt.c: Likewise.
39026 * sunrpc/pmap_prot.c: Likewise.
39027 * sunrpc/pmap_prot2.c: Likewise.
39028 * sunrpc/pmap_rmt.c: Likewise.
39029 * sunrpc/publickey.c: Likewise.
39030 * sunrpc/rpc_cmsg.c: Likewise.
39031 * sunrpc/rpc_common.c: Likewise.
39032 * sunrpc/rpc_dtable.c: Likewise.
39033 * sunrpc/rpc_prot.c: Likewise.
39034 * sunrpc/rpc_thread.c: Likewise.
39035 * sunrpc/rtime.c: Likewise.
39036 * sunrpc/svc.c: Likewise.
39037 * sunrpc/svc_auth.c: Likewise.
39038 * sunrpc/svc_raw.c: Likewise.
39039 * sunrpc/svc_run.c: Likewise.
39040 * sunrpc/svc_tcp.c: Likewise.
39041 * sunrpc/svc_udp.c: Likewise.
39042 * sunrpc/svc_unix.c: Likewise.
39043 * sunrpc/svcauth_des.c: Likewise.
39044 * sunrpc/xcrypt.c: Likewise.
39045 * sunrpc/xdr.c: Likewise.
39046 * sunrpc/xdr_array.c: Likewise.
39047 * sunrpc/xdr_float.c: Likewise.
39048 * sunrpc/xdr_intXX_t.c: Likewise.
39049 * sunrpc/xdr_mem.c: Likewise.
39050 * sunrpc/xdr_rec.c: Likewise.
39051 * sunrpc/xdr_ref.c: Likewise.
39052 * sunrpc/xdr_sizeof.c: Likewise.
39053 * sunrpc/xdr_stdio.c: Likewise.
39054
b5c086a2
RM
390552012-05-10 Roland McGrath <roland@hack.frob.com>
39056
39057 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39058 change. Update copyright years.
39059
6d74dd09
JM
390602012-05-10 Joseph Myers <joseph@codesourcery.com>
39061
39062 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39063
28e72501
MK
390642012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39065 Joseph Myers <joseph@codesourcery.com>
39066 Paul Pluzhnikov <ppluzhnikov@google.com>
39067
39068 [BZ #14012]
39069 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39070 requiring rpcgen.
39071 [cross-compiling] (extra-libs): Likewise.
39072 [cross-compiling] (extra-libs-others): Likewise.
39073 [cross-compiling] (librpcsvc-routines): Likewise.
39074 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39075 [cross-compiling] (omit-deps): Likewise.
39076 (sunrpc-CPPFLAGS): New variable.
39077 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39078 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39079 (cross-rpcgen-objs): New variable.
39080 (extra-objs): Append $(cross-rpcgen-objs).
39081 ($(cross-rpcgen-objs)): New rule.
39082 ($(objpfx)cross-rpcgen): Likewise.
39083 (rpcgen-cmd): Define to use $(built-program-file). Expand
39084 comment.
39085 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39086 ($(objpfx)x%.stmp): Likewise.
39087 * sunrpc/proto.h [IS_IN_build] (_): Define.
39088 [IS_IN_build] (_libc_intl_domainname): Likewise.
39089
c8c59454
L
390902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39091
39092 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39093 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39094 and R_X86_64_TPOFF64.
39095
6f27cd16
JM
390962012-05-10 Joseph Myers <joseph@codesourcery.com>
39097
39098 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39099 sysdeps/unix/sysv/syscalls.list.
39100 (stime): Likewise.
39101 (utime): Likewise.
39102 * sysdeps/unix/sysv/syscalls.list: Remove file.
39103
02467e1c
PE
391042012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39105
39106 [BZ #3440]
39107 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39108 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39109 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39110 (__LC_IDENTIFICATION): Make these macros useful in #if
39111 expressions, as required by C99.
39112
da392631
AS
391132012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39114
39115 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39116 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39117 after this.
39118
8115f29b
L
391192012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39120
39121 * stdlib/longlong.h: Updated from GCC.
39122
bdd74070
AJ
391232012-05-09 Andreas Jaeger <aj@suse.de>
39124
edfe0dbe
AJ
39125 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39126 default is first entry.
39127 (run_mode): Set type.
39128 (main): Remove informal message about syslog.
39129 (options): Fix typo.
39130
bcfe3a54
ST
39131 [BZ #14053]
39132 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 39133 to asm.
bcfe3a54
ST
39134 (lrint): Likewise.
39135 (llrintf): Likewise.
39136 (llrint): Likewise.
39137 (rint): Likewise.
39138 (rintf): Likewise.
39139 (nearbyint): Likewise.
39140 (nearbyintf): Likewise.
bdd74070 39141
91d8d69e
AJ
391422012-05-09 Andreas Jaeger <aj@suse.de>
39143 Pedro Alves <palves@redhat.com>
39144
39145 * nscd/nscd.c (run_mode): Use enum.
39146 (main): Cleanup coding style issue.
39147
bb90b80b
AJ
391482012-05-09 Alexandre Oliva <aoliva@redhat.com>
39149 Andreas Jaeger <aj@suse.de>
39150
bcfe3a54
ST
39151 * nscd/nscd.c (go_background): Replaced with...
39152 (run_mode): ... this.
bb90b80b 39153 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
39154 (options): Add -F --foreground.
39155 (main): Implement it.
39156 (parse_opt): Parse it.
bb90b80b 39157
1a4b75a1
AJ
391582012-05-09 Andreas Jaeger <aj@suse.de>
39159
39160 [BZ #14083]
39161 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39162 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39163 -Wconversion warning.
39164 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39165 Likewise.
39166
b1cc2472
JM
391672012-05-09 Joseph Myers <joseph@codesourcery.com>
39168
39169 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39170 == 0.
39171 (LC_ALL): Use macro-int-constant.
39172 (LC_COLLATE): Likewise.
39173 (LC_CTYPE): Likewise.
39174 (LC_MESSAGES): Likewise.
39175 (LC_MONETARY): Likewise.
39176 (LC_NUMERIC): Likewise.
39177 (LC_TIME): Likewise.
39178 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39179 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39180 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39181 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39182 Specify type.
39183 [C99-based standards] (float_t): Expect type.
39184 [C99-based standards] (double_t): Expect type.
39185 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39186 type.
39187 [C99-based standards] (HUGE_VALL): Likewise.
39188 [C99-based standards] (INFINITY): Likewise.
39189 [C99-based standards] (NAN): Likewise.
39190 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39191 [C99-based standards] (FP_NAN): Likewise.
39192 [C99-based standards] (FP_NORMAL): Likewise.
39193 [C99-based standards] (FP_SUBNORMAL): Likewise.
39194 [C99-based standards] (FP_ZERO): Likewise.
39195 [C99-based standards] (FP_FAST_FMA): Use
39196 optional-macro-int-constant. Specify type. Require == 1.
39197 [C99-based standards] (FP_FAST_FMAF): Likewise.
39198 [C99-based standards] (FP_FAST_FMAL): Likewise.
39199 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39200 [C99-based standards] (FP_ILOGBNAN): Likewise.
39201 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39202 Specify type.
39203 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39204 [C99-based standards] (math_errhandling): Specify type.
39205 [ISO99 || ISO11] (signgam): Do not allow.
39206 [non-C99-based standards] (copysignf): Do not allow.
39207 [non-C99-based standards] (exp2f): Likewise.
39208 [non-C99-based standards] (log2f): Likewise.
39209 [non-C99-based standards] (modff): Allow.
39210 [non-C99-based standards] (erff): Do not allow.
39211 [non-C99-based standards] (erfcf): Likewise.
39212 [non-C99-based standards] (gammaf): Likewise.
39213 [non-C99-based standards] (hypotf): Likewise.
39214 [non-C99-based standards] (j0f): Likewise.
39215 [non-C99-based standards] (j1f): Likewise.
39216 [non-C99-based standards] (jnf): Likewise.
39217 [non-C99-based standards] (lgammaf): Likewise.
39218 [non-C99-based standards] (tgammaf): Likewise.
39219 [non-C99-based standards] (y0f): Likewise.
39220 [non-C99-based standards] (y1f): Likewise.
39221 [non-C99-based standards] (ynf): Likewise.
39222 [non-C99-based standards] (isnanf): Likewise.
39223 [non-C99-based standards] (acoshf): Likewise.
39224 [non-C99-based standards] (asinhf): Likewise.
39225 [non-C99-based standards] (atanhf): Likewise.
39226 [non-C99-based standards] (cbrtf): Likewise.
39227 [non-C99-based standards] (expm1f): Likewise.
39228 [non-C99-based standards] (ilogbf): Likewise.
39229 [non-C99-based standards] (log1pf): Likewise.
39230 [non-C99-based standards] (logbf): Likewise.
39231 [non-C99-based standards] (nextafterf): Likewise.
39232 [non-C99-based standards] (remainderf): Likewise.
39233 [non-C99-based standards] (rintf): Likewise.
39234 [non-C99-based standards] (scalbf): Likewise.
39235 [non-C99-based standards] (copysignl): Likewise.
39236 [non-C99-based standards] (exp2l): Likewise.
39237 [non-C99-based standards] (log2l): Likewise.
39238 [non-C99-based standards] (modfl): Allow.
39239 [non-C99-based standards] (erfl): Do not allow.
39240 [non-C99-based standards] (erfcl): Likewise.
39241 [non-C99-based standards] (gammal): Likewise.
39242 [non-C99-based standards] (hypotl): Likewise.
39243 [non-C99-based standards] (j0l): Likewise.
39244 [non-C99-based standards] (j1l): Likewise.
39245 [non-C99-based standards] (jnl): Likewise.
39246 [non-C99-based standards] (lgammal): Likewise.
39247 [non-C99-based standards] (tgammal): Likewise.
39248 [non-C99-based standards] (y0l): Likewise.
39249 [non-C99-based standards] (y1l): Likewise.
39250 [non-C99-based standards] (ynl): Likewise.
39251 [non-C99-based standards] (isnanl): Likewise.
39252 [non-C99-based standards] (acoshl): Likewise.
39253 [non-C99-based standards] (asinhl): Likewise.
39254 [non-C99-based standards] (atanhl): Likewise.
39255 [non-C99-based standards] (cbrtl): Likewise.
39256 [non-C99-based standards] (expm1l): Likewise.
39257 [non-C99-based standards] (ilogbl): Likewise.
39258 [non-C99-based standards] (log1pl): Likewise.
39259 [non-C99-based standards] (logbl): Likewise.
39260 [non-C99-based standards] (nextafterl): Likewise.
39261 [non-C99-based standards] (remainderl): Likewise.
39262 [non-C99-based standards] (rintl): Likewise.
39263 [non-C99-based standards] (scalbl): Likewise.
39264 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39265 [non-C99-based standards] (FP_*): Do not allow.
39266 [C99-based standards] (FP_*): Change to
39267 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39268 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39269 allow.
39270 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39271 (SIG_ERR): Likewise.
39272 [X/Open-based standards] (SIG_HOLD): Likewise.
39273 (SIG_IGN): Likewise.
39274 (SIGABRT): Use macro-int-constant. Specify type. Require
39275 positive value.
39276 (SIGFPE): Likewise.
39277 (SIGILL): Likewise.
39278 (SIGINT): Likewise.
39279 (SIGSEGV): Likewise.
39280 (SIGTER): Likewise.
39281 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39282 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39283 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39284 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39285 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39286 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39287 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39288 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39289 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39290 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39291 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39292 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39293 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39294 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39295 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39296 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39297 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39298 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39299 [X/Open-based standards] (SIGTRAP): Likewise.
39300 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39301 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39302 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39303 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39304 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39305 allow.
39306
b9f1922d
IW
393072012-05-08 Ian Wienand <ianw@vmware.com>
39308
39309 [BZ #14080]
39310 * time/tzset.c (__tzset_parse_tz): Update default rules for
39311 daylight time changes in the Energy Policy Act of 2005.
39312
1db86e88
AJ
393132012-05-09 Andreas Jaeger <aj@suse.de>
39314
39315 [BZ #13983]
39316 * elf/ldconfig.c (parse_conf): Change string to make clear that
39317 ldconfig only issued a warning if ld.so.conf does not exist.
39318
dee4a4e3
DM
393192012-05-08 David S. Miller <davem@davemloft.net>
39320
ee0db190
DM
39321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39322 movxtod instead of popping the value on the stack.
39323
dee4a4e3
DM
39324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39325
6a43ec98
CD
393262012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39327
39328 * config.h.in: Add HAVE_ARM_PCS_VFP.
39329
05c2c961
RMG
393302012-05-08 Roland Mc Grath <roland@hack.frob.com>
39331
bcfe3a54
ST
39332 [BZ #13979]
39333 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39334 checking but the checks are disabled for any reason.
05c2c961 39335
4b30f61a
L
393362012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39337
39338 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39339 and ELF64_R_TYPE with ELFW(R_TYPE).
39340
eee2bc67
JM
393412012-05-08 Joseph Myers <joseph@codesourcery.com>
39342
7ea5391a
JM
39343 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39344 (ulimit): Likewise.
39345
eee2bc67
JM
39346 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39347 (settimeofday): Likewise.
39348
abb66a67
MF
393492012-05-08 Mike Frysinger <vapier@gentoo.org>
39350
39351 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39352 a struct th_u2 inside the union, and move tu_block/tu_code into
39353 a new th_u3 union of tu_block/tu_code inside of that. Move
39354 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39355 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39356 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39357 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39358 (th_stuff): Change to th_u1.tu_stuff.
39359 (th_data): Define.
39360 (th_msg): Change to th_u1.th_u2.tu_data.
39361
7f18b530
DM
393622012-05-07 David S. Miller <davem@davemloft.net>
39363
05760585
DM
39364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39365
7f18b530
DM
39366 [BZ #14074]
39367 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39368 (SETUP_PIC_REG): Use it.
39369 (SETUP_PIC_REG_LEAF): Use it.
39370
495fd99f
JM
393712012-05-07 Joseph Myers <joseph@codesourcery.com>
39372
39373 [BZ #13885]
39374 [BZ #13923]
39375 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39376 USE_AS_EXPM1L.
39377 (EXPL_FINITE): Likewise.
39378 (FLDLOG): Likewise.
39379 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39380 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39381 e_expl.S.
39382 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39383 USE_AS_EXPM1L.
39384 (EXPL_FINITE): Likewise.
39385 (FLDLOG): Likewise.
39386 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39387 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39388 e_expl.S.
39389 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39390 test of -max_value argument for long double.
39391 * sysdeps/i386/fpu/libm-test-ulps: Update.
39392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39393
6693d694
DM
393942012-05-06 David S. Miller <davem@davemloft.net>
39395
39396 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39397 quad soft-float symbols whose references which are compiler
39398 generated.
39399 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39400
6c23e11c
JM
394012012-05-06 Joseph Myers <joseph@codesourcery.com>
39402
d8b82cad
JM
39403 [BZ #13884]
39404 [BZ #13914]
39405 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39406 USE_AS_EXP10L.
39407 (EXPL_FINITE): Likewise.
39408 (FLDLOG): Likewise.
39409 (c0): Likewise.
39410 (c1): Likewise.
39411 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39412 Adjust comments for base varying.
39413 (__expl_finite): Change alias to EXPL_FINITE.
39414 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39415 e_expl.S.
39416 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39417 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39418 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39419 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39420 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39421 USE_AS_EXP10L.
39422 (EXPL_FINITE): Likewise.
39423 (FLDLOG): Likewise.
39424 (c0): Likewise.
39425 (c1): Likewise.
39426 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39427 Adjust comments for base varying.
39428 (__expl_finite): Change alias to EXPL_FINITE.
39429 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39430 tests for bugs.
39431 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39432
6c23e11c
JM
39433 [BZ #14064]
39434 * math/libm-test.inc (check_float_internal): Correct ulp
39435 calculation for subnormal expected results.
39436
29ba805c
AJ
394372012-05-06 Andreas Jaeger <aj@suse.de>
39438
39439 * Makeconfig (+math-flags): New, set to -frounding-math.
39440 (+cflags): Add +math-flags so that all of glibc gets compiled with
39441 it.
39442
39443 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39444
7b17aeda
JM
394452012-05-05 Joseph Myers <joseph@codesourcery.com>
39446
5779f134
JM
39447 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39448 Disable one test.
39449
41498f4d
JM
39450 [BZ #13787]
39451 [BZ #13922]
39452 [BZ #14036]
39453 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39454 (__ieee754_expl): Allow for and saturate large arguments.
39455 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39456 (u_threshold): Likewise.
39457 (__exp): Call __ieee754_exp before checking for overflow and
39458 underflow.
39459 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39460 (u_threshold): Likewise.
39461 (__expf): Call __ieee754_expf before checking for overflow and
39462 underflow.
39463 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39464 (u_threshold): Likewise.
39465 (__expl): Call __ieee754_expl before checking for overflow and
39466 underflow.
39467 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39468 (__ieee754_expl): Allow for and saturate large arguments.
39469 * math/libm-test.inc (exp_test): Add another test. Do not allow
39470 missing overflow exception on overflow.
39471 (expm1_test): Do not allow missing overflow exception on overflow.
39472
6698b8bf
JM
39473 * sysdeps/i386/fpu/e_expl.c: Move to ...
39474 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39475 rather than using inline asm.
39476 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39477 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39478 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39479
7b17aeda
JM
39480 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39481 (nice): Likewise.
39482 (poll): Likewise.
39483 (signal): Likewise.
39484 (time): Likewise.
39485 (times): Likewise.
39486
f7c85819
JM
394872012-05-04 Joseph Myers <joseph@codesourcery.com>
39488
39489 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39490 sysdeps/unix/common/syscalls.list.
39491 (fchmod): Likewise.
39492 (fchown): Likewise.
39493 (ftruncate): Likewise.
39494 (getrusage): Likewise.
39495 (gettimeofday): Likewise.
39496 (setpgid): Likewise.
39497 (setregid): Likewise.
39498 (setreuid): Likewise.
39499 (sigaction): Likewise.
39500 (truncate): Likewise.
39501 (vhangup): Likewise.
39502 * sysdeps/unix/common/syscalls.list: Remove file.
39503 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39504 * sysdeps/unix/sysv/linux/Implies: Likewise.
39505
336270d0
L
395062012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39507
39508 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39510 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39511 Moved to ...
39512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39513 Here.
39514 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39515 to ...
39516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39517 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39518 to ...
39519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39520 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39521 to ...
39522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39523 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39524 to ...
39525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39526 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39527 to ...
39528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39529 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39530 to ...
39531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39532 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39533 to ...
39534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39535 Here.
39536 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39537 to ...
39538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39539 Here.
39540 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39541 to ...
39542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39543 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39544 Moved to ...
39545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39546 Here.
39547 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39548 to ...
39549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39550
d128e450
JM
395512012-05-04 Joseph Myers <joseph@codesourcery.com>
39552
fa8ee516
JM
39553 * sysdeps/unix/common/bits/dirent.h: Remove file.
39554 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39555
d128e450
JM
39556 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39557 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39558 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39559 * sysdeps/unix/bsd/isatty.c: Likewise.
39560 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39561 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39562 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39563
ff8faaf0 395642012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39565
62881be4 39566 [BZ #13563]
31dc8730
AZ
39567 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39568 long double comparison inaccuracies.
39569 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39571
6fef930c
AS
395722012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39573
39574 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39575 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39576
8f203e6c
JM
395772012-05-04 Joseph Myers <joseph@codesourcery.com>
39578
39579 [BZ #14049]
39580 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39581 nonzero digits before rounding a hex value.
39582 * stdlib/tst-strtod.c (tests): Add another test.
39583
5197d9c2
AK
395842012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39585
39586 * sysdeps/s390/fpu/libm-test-ulps: Update.
39587
f0c1dedf
AJ
395882012-05-03 Andreas Jaeger <aj@suse.de>
39589
39590 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39591 does not get optimized out.
39592 (malloc_opt_barrier): New.
39593
a65ef2ae 395942012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39595 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39596
2b942cb7 39597 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39598 intermediate file deletion.
2b942cb7 39599 (generated): Add .symlist files.
a65ef2ae 39600
54b71e02
JM
396012012-05-03 Joseph Myers <joseph@codesourcery.com>
39602
39603 [BZ #13775]
39604 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39605 Redirect under this condition.
39606 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39607 [__USE_GNU] (__dprintf_chk): Not under this condition.
39608 [__USE_GNU] (__vdprintf_chk): Likewise.
39609 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39610 under this condition.
39611 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39612 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39613 [__USE_XOPEN2K8] (vdprintf): Likewise.
39614 [__USE_GNU] (__dprintf_chk): Not under this condition.
39615 [__USE_GNU] (__vdprintf_chk): Likewise.
39616 [__USE_GNU] (dprintf): Likewise.
39617 [__USE_GNU] (vdprintf): Likewise.
39618
d3dfcc41
RM
396192012-05-03 Roland McGrath <roland@hack.frob.com>
39620
39621 * elf/Makefile (common-generated): Set this instead of generated for
39622 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39623 $(all-built-dso)-derived lists.
39624
7ac30cc5
AJ
396252012-05-03 Andreas Jaeger <aj@suse.de>
39626
0c51e550
AJ
39627 * sysdeps/i386/fpu/libm-test-ulps: Update.
39628
7ac30cc5
AJ
39629 * FAQ: Removed.
39630 * FAQ.in: Likewise.
39631 * scripts/gen-FAQ.pl: Likewise.
39632 * manual/install.texi (Installation): Point to online location of
39633 FAQ.
39634 * Makefile (files-for-dist): Remove FAQ.
39635 (FAQ): Remove.
39636
d4c2917f
AM
396372012-05-02 Allan McRae <allan@archlinux.org>
39638
39639 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39640 (LDFLAGS-reldepmod5.so): Likewise.
39641 (LDFLAGS-reldep6mod1.so): Likewise.
39642 (LDFLAGS-reldep6mod4.so): Likewise.
39643 (LDFLAGS-reldep8mod3.so): Likewise.
39644 (LDFLAGS-unload4mod1.so): Likewise.
39645 (LDFLAGS-unload4mod2.so): Likewise.
39646 (LDFLAGS-tst-initorder): Likewise.
39647 (LDFLAGS-tst-initordera2.so): Likewise.
39648 (LDFLAGS-tst-initordera3.so): Likewise.
39649 (LDFLAGS-tst-initordera4.so): Likewise.
39650 (LDFLAGS-tst-initorderb2.so): Likewise.
39651 (LDFLAGS-noload): Likewise.
39652 (LDFLAGS-next): Likewise.
39653 (LDFLAGS-order2mod1.so): Likewise.
39654 (LDFLAGS-order2mod2.so): Likewise.
39655 (LDFLAGS-tst-initorder2): Likewise.
39656 (LDFLAGS-tst-initorder2a.so): Likewise.
39657 (LDFLAGS-tst-initorder2b.so): Likewise.
39658 (LDFLAGS-tst-initorder2c.so): Likewise.
39659 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39660
d77f993f
DM
396612012-05-02 David S. Miller <davem@davemloft.net>
39662
39663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39664
171a70b4
PP
396652012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39666
39667 [BZ #14055]
39668 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39669
0be196ad
AJ
396702012-05-02 Andreas Jaeger <aj@suse.de>
39671
39672 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39673 since we manipulate rounding mode.
39674 (CPPFLAGS-test-idouble.c): Likewise.
39675 (CPPFLAGS-test-ifloat.c): Likewise.
39676 (CFLAGS-test-ldouble.c): Likewise.
39677 (CFLAGS-test-double.c): Likewise.
39678 (CFLAGS-test-float.c): Likewise.
39679 (CFLAGS-test-misc.c): Likewise.
39680 (CFLAGS-test-test-fenv.c): Likewise.
39681
4f9d04aa
AZ
396822012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39683
2b942cb7
RM
39684 [BZ #2550]
39685 [BZ #2570]
39686 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39687 comparisons to determine direction to adjust input.
4f9d04aa 39688
82a79e7d
RM
396892012-05-01 Roland McGrath <roland@hack.frob.com>
39690
f5a01ca9
RM
39691 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39692 output to the target.
39693
90fe4186
RM
39694 * scripts/localplt.awk: New file.
39695 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39696 (check-localplt-CFLAGS): Variable removed.
39697 ($(all-built-dso:=.jmprel)): New static pattern rule.
39698 (generated): Add those targets.
39699 (localplt-built-dso): New variable.
39700 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39701
39702 * elf/check-localplt.c: File removed.
39703
82397ed6
RM
39704 * scripts/check-execstack.awk: New file.
39705 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39706 (check-execstack-CFLAGS): Variable removed.
39707 ($(objpfx)check-execstack.h): Target removed.
39708 ($(objpfx)execstack-default): New target.
39709 (generated): Add that instead of check-execstack.h.
39710 ($(all-built-dso:=.phdr)): New static pattern rule.
39711 (generated): Add those targets.
39712 * elf/check-execstack.c: File removed.
39713
82a79e7d
RM
39714 * scripts/check-textrel.awk: New file.
39715 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39716 (check-textrel-CFLAGS): Variable removed.
39717 (all-built-dso): Use := to define.o
39718 ($(all-built-dso:=.dyn)): New static pattern rule.
39719 (generated): Add those targets.
39720 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39721 * config.make.in (READELF): New substituted variable.
39722 * elf/check-textrel.c: File removed.
39723
62fde54f 397242012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39725
615605c9
JM
39726 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39727 allow.
39728 * conform/data/ctype.h-data [C99-based standards] (isblank):
39729 Expect function.
39730 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39731 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39732 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39733 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39734 Specify type. Require positive value.
39735 (EILSEQ): Likewise.
39736 (ERANGE): Likewise.
39737 [ISO || POSIX] (EILSEQ): Do not expect.
39738 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39739 Specify type. Require positive value.
39740 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39741 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39742 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39743 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39744 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39745 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39746 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39747 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39748 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39749 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39750 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39751 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39752 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39753 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39754 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39755 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39756 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39757 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39758 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39759 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39760 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39761 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39762 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39763 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39764 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39765 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39766 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39767 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39768 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39769 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39770 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39771 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39772 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39773 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39774 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39775 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39776 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39777 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39778 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39779 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39780 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39781 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39782 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39783 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39784 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39785 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39786 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39787 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39788 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39789 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39790 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39791 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39792 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39793 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39794 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39795 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39796 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39797 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39798 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39799 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39800 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39801 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39802 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39803 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39804 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39805 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39806 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39807 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39808 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39809 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39810 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39811 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39812 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39813 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39814 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39815 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39816 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39817 Require >= 2.
39818 (FLT_ROUNDS): Expect as macro, not constant.
39819 (FLT_MANT_DIG): Use macro-int-constant.
39820 (DBL_MANT_DIG): Likewise.
39821 (LDBL_MANT_DIG): Likewise.
39822 (FLT_DIG): Likewise.
39823 (DBL_DIG): Likewise.
39824 (LDBL_DIG): Likewise.
39825 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39826 (DBL_MIN_EXP): Likewise.
39827 (LDBL_MIN_EXP): Likewise.
39828 (FLT_MAX_EXP): Use macro-int-constant.
39829 (DBL_MAX_EXP): Likewise.
39830 (LDBL_MAX_EXP): Likewise.
39831 (FLT_MAX_10_EXP): Likewise.
39832 (DBL_MAX_10_EXP): Likewise.
39833 (LDBL_MAX_10_EXP): Likewise.
39834 (FLT_MAX): Use macro-constant.
39835 (DBL_MAX): Likewise.
39836 (LDBL_MAX): Likewise.
39837 (FLT_EPSILON): Use macro-constant. Give upper bound.
39838 (DBL_EPSILON): Likewise.
39839 (LDBL_EPSILON): Likewise.
39840 (FLT_MIN): Likewise.
39841 (DBL_MIN): Likewise.
39842 (LDBL_MIN): Likewise.
39843 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39844 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39845 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39846 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39847 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39848 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39849 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39850 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39851 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39852 [ISO11] (FLT_TRUE_MIN): Likewise.
39853 [ISO11] (LDBL_TRUE_MIN): Likewise.
39854 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39855 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39856 (SCHAR_MIN): Use macro-int-constant. Specify type.
39857 (SCHAR_MAX): Likewise.
39858 (UCHAR_MAX): Likewise.
39859 (CHAR_MIN): Likewise.
39860 (CHAR_MAX): Likewise.
39861 (MB_LEN_MAX): Use macro-int-constant.
39862 (SHRT_MIN): Use macro-int-constant. Specify type.
39863 (SHRT_MAX): Likewise.
39864 (USHRT_MAX): Likewise.
39865 (INT_MAX): Likewise.
39866 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39867 bound negative.
39868 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39869 bound with "U".
39870 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39871 bound with "L".
39872 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39873 bound negative. Suffix upper bound with "L".
39874 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39875 bound with "UL".
39876 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39877 Specify type.
39878 [C99-based standards] (LLONG_MAX): Likewise.
39879 [C99-based standards] (ULLONG_MAX): Likewise.
39880 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39881 == 0.
39882 [ISO11] (max_align_t): Require type.
39883 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39884
c9140a62
JM
39885 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39886 from $CFLAGS, without defining away __attribute__ calls.
39887 (checknamespace): Use $CFLAGS_namespace.
39888
9af0bf29
JM
39889 * conform/conformtest.pl (@keywords): Only include C99 keywords
39890 for standards based on C99 or C11.
39891
343222a2
JM
39892 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39893 Disable tests.
39894 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39895 UNIX98]: Likewise.
39896
661f8cf0
JM
39897 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39898 usability of symbols in #if.
39899
ee74b9cb
JM
39900 * conform/conformtest.pl: If macro or constant types start
39901 "promoted:", expect the symbol to be of the following type
39902 promoted by the integer promotions.
62fde54f 39903
aafc49b3
JM
39904 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39905 in one place. Also handle "macro-constant".
39906
fefdf574
JM
39907 * conform/conformtest.pl: Only accept expected macro values with
39908 "==". Parse all "macro" lines in one place.
39909 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39910
f2d922fe
JM
39911 * conform/conformtest.pl: Handle braced types on "constant" lines
39912 instead of handling "typed-constant".
39913 * conform/data/signal.h-data: Use "constant" instead of
39914 "typed-constant".
39915
d22956c9
JM
39916 * conform/conformtest.pl: Handle "optional-" at start of lines in
39917 one place rather than duplicating several cases. Handle each
39918 format of "macro" line with initial "optional-".
39919
028e2e38
JM
39920 * conform/conformtest.pl: Only accept expected constant or
39921 optional-constant values with "==". Parse all "constant" lines in
39922 one place. Parse all "optional-constant" lines in one place.
39923 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39924 * conform/data/fmtmsg.h-data: Likewise.
39925 * conform/data/netinet/in.h-data: Likewise.
39926 * conform/data/tar.h-data: Likewise.
39927 * conform/data/limits.h-data: Use "==" form on "constant" and
39928 "optional-constant" lines.
39929
1b8f2850
JM
39930 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39931 Use -std=c99 for XOPEN2K.
39932 (@knownproblems): Remove.
39933 (newtoken): Don't check %isknown.
39934
a05a144b
JM
39935 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39936 Do not expect macro.
39937 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39938 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39939 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39940 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39941 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39942 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39943 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39944 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39945 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39946 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39947 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39948 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39949 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39950 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39951 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39952 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39953 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39954 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39955 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39956 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39957 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39958 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39959 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39960 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39961 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39962 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39963 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39964 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39965 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39966 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39967 [XPG3] (acosh): Likewise.
39968 [XPG3] (asinh): Likewise.
39969 [XPG3] (atanh): Likewise.
39970 [XPG3] (cbrt): Likewise.
39971 [XPG3] (expm1): Likewise.
39972 [XPG3] (ilogb): Likewise.
39973 [XPG3] (log1p): Likewise.
39974 [XPG3] (logb): Likewise.
39975 [XPG3] (nextafter): Likewise.
39976 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39977 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39978 [XPG3] (remainder): Likewise.
39979 [XPG3] (rint): Likewise.
39980 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39981 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39982 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39983 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39984 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39985 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39986 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39987 [UNIX98 || XOPEN2K] (scalb): Expect.
39988 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39989 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39990 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39991 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39992 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39993 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39994 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39995 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39996 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39997 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39998 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39999 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40000 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40001 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40002 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40003 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40004 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40005 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40006 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40007 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40008 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40009 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40010 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40011 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40012 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40013 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40014 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40015 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40016 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40017 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40018 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40019 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40020 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40021 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40022 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40023 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40024 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40025 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40026 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40027 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40028 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40029 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40030 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40031 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40032 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40033 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40034 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40035 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40036 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40037 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40038 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40039 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40040 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40041 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40042 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40043 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40044 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40045 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40046 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40047 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40048 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40049 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40050 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40051 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40052 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40053 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40054 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40055 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40056 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40057 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40058 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40059 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40060 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40061 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40062 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40063 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40064 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40065 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40066 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40067 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40068 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40069 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40070 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40071 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40072 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40073 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40074 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40075 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40076 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40077 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40078 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40079 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40080 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40081 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40082 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40083 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40084 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40085 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40086 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40087 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40088 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40089 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40090 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40091 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40092 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40093 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40094 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40095 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40096 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40097 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40098 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40099 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40100 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40101 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40102 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40103 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40104 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40105 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40106 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40107 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40108 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40109 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40110 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40111 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40112 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40113 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40114 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40115 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40116 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40117 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40118 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40119 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40120 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40121 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40122 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40123 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40124 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40125
73c5ebe3
JM
40126 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40127 _XOPEN_SOURCE_EXTENDED for XPG4.
40128
39c33b6c
JM
40129 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40130
62fde54f
JM
40131 * Makeconfig (localtime): Remove variable.
40132 (inst_localtime-file): Likewise.
40133
0741d64c
AS
401342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40135
40136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40137 Update.
40138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40139 Update.
40140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40141 Update.
40142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40143 Update.
40144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40145 Update.
40146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40147 Update.
40148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40149 Update.
40150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40151 Update.
40152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40153 Update.
40154
7cb029ee
JM
401552012-05-01 Joseph Myers <joseph@codesourcery.com>
40156
40157 [BZ #2550]
40158 [BZ #2570]
40159 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40160 comparisons to determine direction to adjust input.
40161 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40162 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40163 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40164 Likewise.
40165 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40166 Likewise.
40167 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40168 Likewise.
40169 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40170 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40171 Likewise.
40172 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40173 Likewise.
40174 * math/libm-test.inc (nexttoward_test): Add more tests.
40175
412bd966
AS
401762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40177
40178 [BZ #14040]
40179 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40180 in version GLIBC_2.1, not GLIBC_2.0.
40181 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40182 Likewise.
40183
9568c0c2
JM
401842012-04-30 Joseph Myers <joseph@codesourcery.com>
40185
adfbc8ac
JM
40186 [BZ #13942]
40187 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40188 (1 - x) * (1 + x).
40189 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40190 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40191 * math/libm-test.inc (acos_test): Add more tests.
40192 (asin_test): Likewise.
40193 * sysdeps/i386/fpu/libm-test-ulps: Update.
40194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40195
5ba3cc69
JM
40196 [BZ #14034]
40197 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40198 of square root.
40199 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40200 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40201 * math/libm-test.inc (acos_test_tonearest): New function.
40202 (acos_test_towardzero): Likewise.
40203 (acos_test_downward): Likewise.
40204 (acos_test_upward): Likewise.
40205 (asin_test_tonearest): Likewise.
40206 (asin_test_towardzero): Likewise.
40207 (asin_test_downward): Likewise.
40208 (asin_test_upward): Likewise.
40209 (main): Call the new functions.
40210 * sysdeps/i386/fpu/libm-test-ulps: Update.
40211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40212
9568c0c2
JM
40213 [BZ #13884]
40214 [BZ #13924]
40215 * math/e_exp10.c: Include <float.h>.
40216 (__ieee754_exp10): Handle underflow here rather than multiplying
40217 large negative argument by M_LN10.
40218 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40219 of __ieee754_expf.
40220 * math/e_exp10l.c: Include <float.h>.
40221 (__ieee754_exp10l): Handle underflow here rather than multiplying
40222 large negative argument by M_LN10l.
40223 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40224 spurious overflow exception on underflow.
40225
5ac3ea17
MP
402262012-04-29 Marek Polacek <polacek@redhat.com>
40227
40228 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40229 (__fortify_function): New macro.
40230 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40231 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40232 __extern_always_inline.
40233 * libio/bits/stdio2.h: Likewise.
40234 * libio/bits/stdio.h: Likewise.
40235 * string/string.h: Likewise.
40236 * string/bits/string3.h: Likewise.
40237 * include/stdio.h: Likewise.
40238 * stdlib/bits/stdlib.h: Likewise.
40239 * stdlib/stdlib.h: Likewise.
40240 * rt/bits/mqueue2.h: Likewise.
40241 * rt/mqueue.h: Likewise.
40242 * posix/bits/unistd.h: Likewise.
40243 * posix/unistd.h: Likewise.
40244 * io/bits/poll2.h: Likewise.
40245 * io/bits/fcntl2.h: Likewise.
40246 * io/fcntl.h: Likewise.
40247 * io/sys/poll.h: Likewise.
40248 * misc/bits/syslog.h: Likewise.
40249 * misc/bits/syslog-ldbl.h: Likewise.
40250 * misc/sys/syslog.h: Likewise.
40251 * socket/bits/socket2.h: Likewise.
40252 * socket/sys/socket.h: Likewise.
40253 * debug/tst-chk1.c: Likewise.
40254 * wcsmbs/bits/wchar2.h: Likewise.
40255 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40256 * wcsmbs/wchar.h: Likewise.
40257
ecf0ebfb
AJ
402582012-04-29 Andreas Jaeger <aj@suse.de>
40259
40260 * Makerules (tests): Remove enable-check-abi protection.
40261 (check-abi-warn): Remove.
40262 (check-abi-%): Remove check-abi-warn usage.
40263
40264 * configure.in: Remove check-abi configure option.
40265 * configure: Regenerated.
40266 * config.make.in (enable-check-abi): Remove.
40267
6d5c57fa
AS
402682012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40269
24c5d07e 40270 [BZ #14033]
ded5180a
AS
40271 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40272 double functions to double *_finite functions.
40273
7e0d315d
AS
40274 [BZ #13941]
40275 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40276 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40277 LDBL_MIN_EXP.
40278 * stdio-common/Makefile (tests): Add tst-sprintf3.
40279 * stdio-common/tst-sprintf3.c: New file.
40280
6d5c57fa
AS
40281 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40282 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40283
0749ff8b
JM
402842012-04-28 Joseph Myers <joseph@codesourcery.com>
40285
40286 * conform/conformtest.pl: Remove duplicate typed-constant
40287 handling.
40288
8dbd5d7b
DM
402892012-04-28 David S. Miller <davem@davemloft.net>
40290
40291 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40292 (check-abi-%): Remove AWK script prerequisite and explicit
40293 abilist directory.
40294 (check-abi): Rewrite to just diff the symlist with the abilist.
40295 (config-tls, config-abi-config): Delete, no longer used.
40296 (update-abi-%): Remove AWK script and explicit abilist directory.
40297 (update-abi): Rewrite to simply compare and conditionally copy the
40298 symlist and the sysdep abilist file. Remove update-abi-config
40299 checks.
40300 * abilist/ld.abilist: Remove.
40301 * abilist/libBrokenLocale.abilist: Remove.
40302 * abilist/libanl.abilist: Remove.
40303 * abilist/libcrypt.abilist: Remove.
40304 * abilist/libdl.abilist: Remove.
40305 * abilist/librt.abilist: Remove.
40306 * abilist/libthread_db.abilist: Remove.
40307 * abilist/libutil.abilist: Remove.
40308 * scripts/extract-abilist.awk: Remove.
40309 * scripts/merge-abilist.awk: Remove.
40310 * sysdeps/generic/libcidn.abilist: New file.
40311 * sysdeps/generic/libnss_compat.abilist: New file.
40312 * sysdeps/generic/libnss_db.abilist: New file.
40313 * sysdeps/generic/libnss_dns.abilist: New file.
40314 * sysdeps/generic/libnss_files.abilist: New file.
40315 * sysdeps/generic/libnss_hesiod.abilist: New file.
40316 * sysdeps/generic/libnss_nis.abilist: New file.
40317 * sysdeps/generic/libnss_nisplus.abilist: New file.
40318 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40319 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40320 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40321 file.
40322 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40323 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40324 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40325 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40326 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40327 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40328 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40329 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40330 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40331 file.
40332 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40333 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40334 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40335 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40336 file.
40337 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40338 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40339 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40340 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40341 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40342 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40343 file.
40344 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40345 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40346 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40347 file.
40348 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40350 New file.
40351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40352 New file.
40353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40354 New file.
40355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40356 New file.
40357 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40358 New file.
40359 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40360 New file.
40361 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40362 New file.
40363 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40364 New file.
40365 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40366 New file.
40367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40368 New file.
40369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40370 New file.
40371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40372 New file.
40373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40374 New file.
40375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40376 file.
40377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40378 New file.
40379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40380 New file.
40381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40382 file.
40383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40384 New file.
40385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40386 New file.
40387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40388 file.
40389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40390 New file.
40391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40392 New file.
40393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40394 New file.
40395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40396 New file.
40397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40398 New file.
40399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40400 New file.
40401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40403 file.
40404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40405 New file.
40406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40407 file.
40408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40409 file.
40410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40411 file.
40412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40413 file.
40414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40415 file.
40416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40417 New file.
40418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40419 file.
40420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40421 file.
40422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40423 New file.
40424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40425 file.
40426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40428 file.
40429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40430 New file.
40431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40432 file.
40433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40434 file.
40435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40436 file.
40437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40438 file.
40439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40440 file.
40441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40442 New file.
40443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40444 file.
40445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40446 file.
40447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40448 New file.
40449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40450 file.
40451 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40452 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40453 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40454 file.
40455 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40456 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40457 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40458 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40459 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40460 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40461 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40462 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40463 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40464 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40467 file.
40468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40469 New file.
40470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40471 file.
40472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40473 file.
40474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40475 file.
40476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40477 file.
40478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40479 file.
40480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40481 New file.
40482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40483 New file.
40484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40485 file.
40486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40487 New file.
40488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40489 file.
40490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40492 file.
40493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40494 New file.
40495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40496 file.
40497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40498 file.
40499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40500 file.
40501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40502 file.
40503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40504 file.
40505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40506 New file.
40507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40508 New file.
40509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40510 file.
40511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40512 New file.
40513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40514 file.
40515
41d73a1b
JM
405162012-04-28 Joseph Myers <joseph@codesourcery.com>
40517
40518 * conform/conformtest.pl: Fix typo in handling typed-constant from
40519 allow-header.
40520
28aeeda4
JM
405212012-04-27 Joseph Myers <joseph@codesourcery.com>
40522
adae8f5e
JM
40523 * README: Cut down references to pre-2.6 Linux kernels and
40524 Linuxthreads. Update lists of configurations in libc and ports
40525 and sort alphabetically. Say "or newer" with Linux kernel version
40526 requirements.
40527
28aeeda4
JM
40528 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40529
a462cb63
RA
405302012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40531
40532 [BZ #887]
40533 * math/libm-test.inc (logb_test_downward): New test to expose
40534 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40535 rounding mode.
40536
6ad3493e
JM
405372012-04-27 Joseph Myers <joseph@codesourcery.com>
40538
40539 [BZ #14027]
40540 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40541 to be done.
40542 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40543 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40544
2ce4f015
JM
405452012-04-26 Joseph Myers <joseph@codesourcery.com>
40546
5aeb141a
JM
40547 * sysdeps/unix/i386/brk.S: Remove file.
40548 * sysdeps/unix/i386/dl-brk.S: Likewise.
40549 * sysdeps/unix/i386/pipe.S: Likewise.
40550 * sysdeps/unix/i386/sigreturn.S: Likewise.
40551 * sysdeps/unix/i386/syscall.S: Likewise.
40552 * sysdeps/unix/i386/vfork.S: Likewise.
40553 * sysdeps/unix/i386/wait.S: Likewise.
40554
7143acae
JM
40555 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40556 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40557
2ce4f015
JM
40558 * configure.in (arm*-none*): Do not allow without
40559 --enable-hacker-mode.
40560 (netbsd*): Remove case setting base_os.
40561 (386bsd*): Likewise.
40562 (freebsd*): Likewise.
40563 (bsdi*): Likewise.
40564 (osf*): Likewise.
40565 (sunos*): Likewise.
40566 (ultrix*): Likewise.
40567 (newsos*): Likewise.
40568 (dynix*): Likewise.
40569 (*bsd*): Likewise.
40570 (sysv*): Likewise.
40571 (isc*): Likewise.
40572 (esix*): Likewise.
40573 (sco*): Likewise.
40574 (minix*): Likewise.
40575 (irix4*): Likewise.
40576 (irix6*): Likewise.
40577 (solaris[2-9]*): Likewise.
40578 (none): Likewise.
40579 * configure: Regenerated.
40580
0ac229c8
AZ
405812012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40582
40583 [BZ #11521]
40584 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40585 overflow or cancellation in calculating denominator.
40586 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40587 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40588 down expression to avoid unexpected rounding in newer GCCs.
40589 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40590
33f244f4
DM
405912012-04-26 David S. Miller <davem@davemloft.net>
40592
40593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40594 long-double compat symbols.
40595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40608
cfa1f3e8
DM
406092012-04-25 David S. Miller <davem@davemloft.net>
40610
40611 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40612 HWCAP_* values only after the memory barriers have been defined.
40613 (atomic_full_barrier): Define.
40614 (atomic_read_barrier): Define.
40615 (atomic_write_barrier): Define.
40616
6e236b92
SP
406172012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40618
40619 * shlib-versions: Add libgcc_s version information.
40620 * sysdeps/generic/libgcc_s.h: Remove.
40621 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40622 libgcc_s.h.
40623 * sysdeps/gnu/unwind-resume.c: Likewise.
40624 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40625
aab39a09
DM
406262012-04-25 David S. Miller <davem@davemloft.net>
40627
40628 * sysdeps/unix/sparc/brk.S: Delete.
40629 * sysdeps/unix/sparc/dl-brk.S: Delete.
40630 * sysdeps/unix/sparc/pipe.S: Delete.
40631 * sysdeps/unix/sparc/sysdep.S: Delete.
40632 * sysdeps/unix/sparc/sysdep.h: Delete.
40633 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40634 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40635 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40636 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40637 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40638 (JUMPTARGET): Remove.
40639 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40640 sysdeps/unix/sparc/sysdep.h
40641 (ENTRY, END): Remove.
40642 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40643
a3cc4f48
JM
406442012-04-25 Joseph Myers <joseph@codesourcery.com>
40645
2ed8cda2
JM
40646 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40647 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40648 -DIS_IN_build.
40649
35d76d59
JM
40650 * timezone/README: Update upstream location and email address for
40651 tzcode and tzdata.
40652 * timezone/zdump.c: Update from tzcode 2012b.
40653 * timezone/zic.c: Likewise.
40654
a3cc4f48
JM
40655 * configure.in (libc_cv_as_needed): Remove test.
40656 * configure: Regenerated.
40657 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40658 conditional definition.
40659 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40660 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40661 * config.make.in (have-as-needed): Remove variable.
40662
ceab42c3
SP
406632012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40664 Paul Pluzhnikov <ppluzhnikov@google.com>
40665
40666 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40667 strings correctly.
40668
3ce2865f
CLT
406692012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40670
40671 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40672 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40673 * sysdeps/sh/strlen.S: Likewise.
40674
f37e0d68
JM
406752012-04-24 Joseph Myers <joseph@codesourcery.com>
40676
ae186e9a
JM
40677 * sysdeps/unix/fork.S: Remove file.
40678 * sysdeps/unix/i386/fork.S: Likewise.
40679 * sysdeps/unix/sparc/fork.S: Likewise.
40680
b96914af
JM
40681 * sysdeps/unix/system.c: Remove file.
40682 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40683
f37e0d68
JM
40684 * sysdeps/unix/getegid.S: Remove file.
40685 * sysdeps/unix/geteuid.S: Likewise.
40686
87ef29ca
RM
406872012-04-24 Roland McGrath <roland@hack.frob.com>
40688
83bcd236
RM
40689 * scripts/check-localplt.awk: New file.
40690 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40691 of diff.
40692 * scripts/data/localplt-generic.data: Add a comment.
40693
87ef29ca
RM
40694 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40695 NODE when __dir_mkfile failed.
40696 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40697 Reported by Ludovic Courtès <ludo@gnu.org>.
40698
e5a6e567
AJ
406992012-04-24 Andreas Jaeger <aj@suse.de>
40700
40701 * Makerules (common-clean): Also remove gen-as-const-headers
40702 files.
40703
c1820385
JM
407042012-04-24 Joseph Myers <joseph@codesourcery.com>
40705
40706 * Makerules (native-compile): Do not change working directory for
40707 build. Use $(OUTPUT_OPTION) in command.
40708 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40709
94e02fc4
AZ
407102012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40711
40712 [BZ #13886]
40713 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40714 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40715 * math/libm-test.inc (floor_test): Add more tests.
40716 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40717
3a533ca3
JM
407182012-04-24 Joseph Myers <joseph@codesourcery.com>
40719
940ab4b3
JM
40720 * sysdeps/unix/getdents.c: Remove file.
40721 * sysdeps/unix/sysv/getdents.c: Likewise.
40722 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40723
90e037bd
JM
40724 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40725 sysdeps/unix/mman/syscalls.list.
40726 (mmap): Likewise.
40727 (mprotect): Likewise.
40728 (msync): Likewise.
40729 (munmap): Likewise.
40730 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40731 * sysdeps/unix/mman/syscalls.list: Remove.
40732 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40733
3a533ca3
JM
40734 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40735 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40736 * configure: Regenerated.
40737 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40738 $(libgcc_s_suffix).
40739 * config.make.in (libgcc_s_suffix): Remove variable.
40740
1ad743de
JM
407412012-04-23 Joseph Myers <joseph@codesourcery.com>
40742
4ad451e2
JM
40743 * sysdeps/unix/sysv/gethostname.c: Move to ...
40744 * sysdeps/posix/gethostname.c: ... here.
40745
5e37ce39
JM
40746 * sysdeps/unix/execve.S: Remove file.
40747
1ad743de
JM
40748 * sysdeps/unix/_exit.S: Remove file.
40749
4e681b5b
AJ
407502012-04-23 Andreas Jaeger <aj@suse.de>
40751
40752 [BZ #13739]
40753 * manual/Makefile: Remove make dist support, there's no
40754 need for a stand-alone documentation tar ball.
40755 (TEXI2DVI): Define always, it's not in Makeconfig.
40756 (dist): Removed.
40757 (tar-it): Removed.
40758 (edition): Removed.
40759 (glibc-doc-$(edition).tar): Removed
40760 (%.Z): Removed.
40761 (%.gz): Removed.
40762 (%.uu): Removed.
40763 (ETAGS): Remove, it's in Makeconfig.
40764 (move-if-change): Remove, it's in Makeconfig.
40765
38686a03 407662012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40767
40768 [BZ #13970]
40769 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40770 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40771 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40772 (strtod_l, strtof_l, strtold_l): Remove __wur.
40773 It is not necessarily an error to ignore strtol's return value.
40774 One can reliably look at the stored endptr to decide whether
40775 the number had valid syntax.
40776
7c0616fa
AJ
407772012-04-21 Andreas Jaeger <aj@suse.de>
40778
803cb6b7 40779 [BZ #13739]
7c0616fa
AJ
40780 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40781
b0fe253f
JM
407822012-04-21 Joseph Myers <joseph@codesourcery.com>
40783
40784 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40785 * sysdeps/unix/sysv/Versions: Remove file.
40786
8280f22d
MT
407872012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40788
40789 [BZ #13927]
40790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40791
75ce411f 407922012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40793
40794 [BZ #7064]
40795 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40796 version from __vm86.
40797
097d59fa
JM
407982012-04-20 Joseph Myers <joseph@codesourcery.com>
40799
a90f3bcb
JM
40800 * sysdeps/unix/common/lxstat.c: Remove file.
40801 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40802
edc7ea78
JM
40803 * sysdeps/unix/sysv/Makefile: Remove file.
40804
cb78c221
JM
40805 * sysdeps/unix/sysv/direct.h: Remove file.
40806
efa6a45f
JM
40807 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40808 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40809 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40810 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40811 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40812 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40813 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40814
9c9f2d0c
JM
40815 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40816
4541c83b
JM
40817 * sysdeps/unix/xmknod.c: Remove file.
40818 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40819
f5d153a0
JM
40820 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40821
aa746595
JM
40822 * sysdeps/unix/sysv/i386/time.S: Remove file.
40823
cce5905e
JM
40824 * sysdeps/unix/fxstat.c: Remove file.
40825 * sysdeps/unix/xstat.c: Likewise.
40826 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40827
37fa3841
JM
40828 * sysdeps/unix/sysv/sigaction.c: Remove file.
40829
ff1962a3
JM
40830 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40831 (sysdep_headers): Remove variable.
40832 [termio.h not in sysdep_headers] (generated): Likewise.
40833 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40834 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40835 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40836 * sysdeps/unix/sysv/tcflow.c: Likewise.
40837 * sysdeps/unix/sysv/tcflush.c: Likewise.
40838 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40839 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40840 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40841 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40842 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40843
e7740d31
JM
40844 * sysdeps/unix/siglist.c: Remove file.
40845
ee06f18b
JM
40846 * sysdeps/unix/getppid.S: Remove file.
40847
097d59fa
JM
40848 * sysdeps/unix/mkdir.c: Remove file.
40849 * sysdeps/unix/rmdir.c: Likewise.
40850
ff3d51ec
AS
408512012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40852
40853 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40854 ERR_MAX value.
40855 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40856 errlist-compat value.
40857
50f81fd7
DM
408582012-04-18 David S. Miller <davem@davemloft.net>
40859
40860 * sysdeps/generic/memcopy.h (reg_char): Delete.
40861 * debug/strcat_chk.c: Use char, not reg_char.
40862 * debug/strcpy_chk.c: Likewise.
40863 * debug/strncat_chk.c: Likewise.
40864 * debug/strncpy_chk.c: Likewise.
40865 * string/memchr.c: Likewise.
40866 * string/memrchr.c: Likewise.
40867 * string/rawmemchr.c: Likewise.
40868 * string/strcat.c: Likewise.
40869 * string/strchr.c: Likewise.
40870 * string/strchrnul.c: Likewise.
40871 * string/strcmp.c: Likewise.
40872 * string/strcpy.c: Likewise.
40873 * string/strncat.c: Likewise.
40874 * string/strncmp.c: Likewise.
40875 * string/strncpy.c: Likewise.
40876
8ff41c46
WS
408772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40878
40879 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40880 __builtin_memcopy is called when src and dest ranges are known to not
40881 overlap.
40882
6b652f46
WS
408832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40884
40885 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40886 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40887 fwd_align_merge macro call.
40888 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40889 bwd_align_merge macro call.
40890 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40891
b282631e
WS
408922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40893
40894 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40895 bwd_align_merge macros.
40896 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40897 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40898 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40899
95aa737c
DM
409002012-04-18 David S. Miller <davem@davemloft.net>
40901
40902 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40903
7a99a614
AJ
409042012-04-18 Andreas Jaeger <aj@suse.de>
40905
40906 [BZ# 6794]
40907 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40908 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40909 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40910
40911 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40912 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40913 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40914
40915 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40916 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40917 Adjust for changed ldbl-128 files.
40918
40919 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40920 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40921 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40922
e5270c23
DM
409232012-04-17 David S. Miller <davem@davemloft.net>
40924
40925 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40926
fb5e92c9
AS
409272012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40928
40929 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40930 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40931 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40932 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40933 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40934 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40935
76da7265
AZ
409362012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40937
40938 [BZ #6794]
40939 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40940 * math/libm-test.inc: Add ilogb errno and exception tests.
40941 * math/w_ilogb.c: New file: ilogb wrapper.
40942 * math/w_ilogbf.c: New file: ilogbf wrapper.
40943 * math/w_ilogbl.c: New file: ilogbl wrapper.
40944 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40945 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40946 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40947 exception being thrown with 0.0 as argument.
40948 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40949 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40950 exception being thrown with 0.0 as argument.
40951 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40952 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40953 exception being thrown with 0.0 as argument.
40954 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40955 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40956 exception being thrown with 0.0 as argument.
40957 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40958 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 40959 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
40960 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40961 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40962 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40963 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40964 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40965 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40966
0396e69d
PB
409672012-04-17 Petr Baudis <pasky@ucw.cz>
40968
40969 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40970 with altivec.
40971
750b5926
MP
409722012-04-16 Marek Polacek <polacek@redhat.com>
40973
40974 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40975
751728a1
MP
409762012-04-16 Marek Polacek <polacek@redhat.com>
40977
40978 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40979 operands of fdivp instruction.
40980
34a27407
L
409812012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40982
40983 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40984 * elf/tst-auditmod3b.c: Likewise.
40985 * elf/tst-auditmod4b.c: Likewise.
40986 * elf/tst-auditmod5b.c: Likewise.
40987 * elf/tst-auditmod6b.c: Likewise.
40988 * elf/tst-auditmod6c.c: Likewise.
40989 * elf/tst-auditmod7b.c: Likewise.
40990 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40991 * sysdeps/x86_64/preconfigure.in: Likewise.
40992 * sysdeps/x86_64/preconfigure: Regenerated.
40993
7e73e17d
L
409942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40995
40996 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40997 __ILP32__.
40998
c7a6ab72
AB
409992012-04-13 Antoine Balestrat <merkil33@gmail.com>
41000
41001 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41002 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41003
a9e8e0e0
CL
410042012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41005
41006 [BZ #13973]
41007 * locale/iso-639.def: Fix gl language name. Spotted by
41008 Yaron Shahrabani.
41009
ec98af7d
RM
410102012-04-12 Roland McGrath <roland@hack.frob.com>
41011
41012 [BZ #2074]
41013 * libio/libio.h (__io_write_fn): Update comment.
41014
247c3ede
PB
410152012-04-12 Petr Baudis <pasky@ucw.cz>
41016
41017 [BZ #2074]
41018 * stdio.texi (Hook Functions): The user provided writer function
41019 is not allowed to return -1.
41020
55939d6d
DM
410212012-04-11 David S. Miller <davem@davemloft.net>
41022
41023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41024
90020f5a
MF
410252012-04-11 Mike Frysinger <vapier@gentoo.org>
41026
41027 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41028 Add a leading slash to rtkaio.
41029
288f9098
JM
410302012-04-11 Jim Meyering <meyering@redhat.com>
41031
90020f5a
MF
41032 [BZ #11959]
41033 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41034 It is not necessarily an error to ignore fwrite's return
41035 value. One can reliably use ferror to test for errors after
41036 the fact.
288f9098 41037
4be2b570
L
410382012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41039
41040 * bits/types.h (__snseconds_t): New type.
41041 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41042
41043 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41044 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41045 (__SNSECONDS_T_TYPE): Likewise.
41046 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41047 (__SNSECONDS_T_TYPE): Likewise.
41048 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41049 (__SNSECONDS_T_TYPE): Likewise.
41050
288f9098 410512012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
41052
41053 [BZ #2636]
41054 * manual/time.texi (Processor Time): Return type of times is
41055 elapsed real time since an arbitrary point in the past.
41056 (CPU Time): Move CLK_TCK from here...
41057 (Processor Time): ...to here. Correct description.
41058 * manual/conf.texi (Constants for Sysconf): Correct description of
41059 _SC_CLK_TCK.
41060
d7dd4413
DM
410612012-04-10 David S. Miller <davem@davemloft.net>
41062
41063 [BZ #13967]
41064 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41065 where the is a gap between DT_REL(A) and DT_JMPREL.
41066
b46068fc
L
410672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41068
41069 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41070 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41071 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41072
73d65cc3
SP
410732012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41074
41075 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41076 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41077 (dl_main): Handle --inhibit-cache.
41078 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41079 _dl_inhibit_cache.
41080 * elf/dl-load.c (_dl_map_object): Use it.
41081 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41082
bcc8d661
JM
410832012-04-09 Joseph Myers <joseph@codesourcery.com>
41084
8f9a2fae
JM
41085 [BZ #13872]
41086 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41087 (__ieee754_powl): Saturate large exponents rather than testing for
41088 overflow of y*log2(x).
41089 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41090 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41091 exceptions.
41092
bcc8d661
JM
41093 [BZ #11521]
41094 * math/s_ctan.c: Include <float.h>.
41095 (__ctan): Avoid internal overflow or cancellation in calculating
41096 denominator.
41097 * math/s_ctanf.c: Likewise.
41098 * math/s_ctanl.c: Likewise.
41099 * math/s_ctanh.c: Likewise.
41100 * math/s_ctanhf.c: Likewise.
41101 * math/s_ctanhl.c: Likewise.
41102 * math/libm-test.inc (ctan_test): Add more tests.
41103 (ctanh_test): Likewise.
41104 * sysdeps/i386/fpu/libm-test-ulps: Update.
41105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41106
823fbbb4
AJ
411072012-04-09 Andreas Jaeger <aj@suse.de>
41108
03879793
AJ
41109 [BZ #6894]
41110 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41111 is an optional BSD extension.
41112
823fbbb4
AJ
41113 [BZ #10254]
41114 * manual/stdio.texi (Opening Streams): Document additional fopen
41115 parameters.
41116
8de131cb
RM
411172012-04-09 Roland McGrath <roland@hack.frob.com>
41118
41119 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41120 %eax without telling the compiler.
41121
c0ed9d7d
CD
411222012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41123
41124 [BZ # 13963]
41125 * manual/install.texi: Use sourceware.org.
41126
c483f6b4
JM
411272012-04-09 Joseph Myers <joseph@codesourcery.com>
41128
d7dd9453
JM
41129 [BZ #13873]
41130 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41131 (__ieee754_pow): Generate overflow and underflow using huge*huge
41132 and tiny*tiny rather than just returning constant infinity or zero
41133 for large exponents.
41134 * math/libm-test.inc (pow_test): Require overflow exceptions for
41135 applicable cases of large exponents.
41136
c483f6b4
JM
41137 [BZ #706]
41138 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41139 (__ieee754_pow): Use iterative multiplication algorithm only for
41140 integer exponents with absolute value below 1024. Check for odd
41141 integer exponents when using algorithm for real exponents.
41142 * math/libm-test.inc (pow_test): Add more tests.
41143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41144
d2de7579
JM
411452012-04-08 Joseph Myers <joseph@codesourcery.com>
41146
41147 [BZ #13705]
41148 * math/libm-test.inc (exp_test): Do not allow overflow exception
41149 on underflow test.
41150
f77f1232
AJ
411512012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41152
41153 [BZ #13705]
41154 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41155 instead of __kernel_standard_f.
41156
3884932b
MF
411572012-04-08 Mike Frysinger <vapier@gentoo.org>
41158
41159 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41160 * sysdeps/x86_64/memset_chk.S: Likewise.
41161
54472e9c
AJ
411622012-04-08 Andreas Jaeger <aj@suse.de>
41163
6ab0fbfc
AJ
41164 [BZ #10153]
41165 * manual/startup.texi (Environment Access): Describe return value
41166 for putenv and setenv.
41167
61efba8c
AJ
41168 [BZ #6895]
41169 * manual/filesys.texi (Directory Entries): Add description for
41170 DT_LNK.
41171
95c3f29a
AJ
41172 [BZ #6890]
41173 * manual/filesys.texi (Directory Entries): Clarify that it's file
41174 system not operating system in the description of DT_UNKNOWN.
41175
54472e9c
AJ
41176 [BZ #6578]
41177 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41178
624254b1
SC
411792012-04-08 Stephen Compall <s11@member.fsf.org>
41180
41181 [BZ #6649]
41182 * manual/llio.texi (Opening and Closing Files): Add cross
41183 reference to explain mode argument.
41184
1e4920e0
MF
411852012-04-07 Mike Frysinger <vapier@gentoo.org>
41186
41187 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41188 * sysdeps/x86_64/memset_chk.S: Likewise.
41189
5ed848f3
DM
411902012-04-07 David S. Miller <davem@davemloft.net>
41191
41192 * elf/elf.h (R_SPARC_WDISP10): Define.
41193 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41194 R_SPARC_SIZE32.
41195 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41196 R_SPARC_SIZE64 and R_SPARC_H34.
41197
96154cd8
CD
411982012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41199
41200 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41201 conditions and remove no longer applicable assertion.
41202
9904dc47
L
412032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41204
41205 * bits/byteswap.h: Include <features.h>.
41206 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41207 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41208
f8887d0a
L
412092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41210
41211 * bits/byteswap.h (__bswap_16): Removed.
41212 Include <bits/byteswap-16.h> to get __bswap_16.
41213 * sysdeps/i386/bits/byteswap.h: Likewise.
41214 * sysdeps/s390/bits/byteswap.h: Likewise.
41215 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41216 * bits/byteswap-16.h: New file.
41217 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41218 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41219 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41220 * string/Makefile (headers): Add bits/byteswap-16.h.
41221
62470f60
PP
412222012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41223
41224 [BZ #13895]
41225 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41226 extra indirection.
41227 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41228 * nss/tst-nss-static.c: New.
41229
4dad7bab
RM
412302012-04-06 Robert Millan <rmh@gnu.org>
41231
41232 [BZ #6486]
41233 * manual/llio.texi (File Position Primitive): lseek
41234 refers to WHENCE when it really means OFFSET.
41235
e9142a17
AJ
412362012-04-06 Andreas Jaeger <aj@suse.de>
41237
2c040eff
AJ
41238 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41239 strncmp declarations.
41240
e9142a17
AJ
41241 * abilist/libc.abilist: Add __poll and __ppoll.
41242
ff9f1c5f
DM
412432012-04-05 David S. Miller <davem@davemloft.net>
41244
dcd2ae90
DM
41245 * scripts/check-local-headers.sh: Accept a host triplet in the
41246 path matched by the exclude regexp.
41247
993eb054
DM
41248 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41249 definition.
41250 * sysdeps/powerpc/powerpc32/dl-machine.h
41251 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41252 * sysdeps/s390/s390-32/dl-machine.h
41253 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41254 * sysdeps/sparc/sparc32/dl-machine.h
41255 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41256 * sysdeps/sparc/sparc64/dl-machine.h
41257 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41258
ff9f1c5f
DM
41259 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41260 lazy binding.
48e2e132 41261 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
41262 undefined symbol errors.
41263
48e2e132 41264 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
41265 DT_NEEDED entries.
41266
e80d6f94
MM
412672012-04-05 Michael Matz <matz@suse.de>
41268
41269 [BZ #13592]
41270 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41271
349fa79f
AJ
412722012-04-05 Andreas Jaeger <aj@suse.de>
41273
41274 [BZ #13908]
41275 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41276 comment.
41277
f402708f
KK
412782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41279
41280 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41281 which ROUND is no valid rounding mode.
41282
2ecccfc9
KK
412832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41284
41285 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41286 read again.
41287 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41288
8a53f50f
KK
412892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41290
41291 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41292 an exception using FPU order intentionally.
41293
412942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41295
41296 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41297 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41298 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41299 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41300
d653abb7
SJ
413012012-04-05 Simon Josefsson <simon@josefsson.org>
41302
41303 [BZ #12340]
41304 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41305 EINVAL when BUFLEN is too smal.
41306
c3b1bf7d
TS
413072012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41308
41309 [BZ #13553]
41310 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41311 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41312
b1aa60f3
AJ
413132012-04-03 Andreas Jaeger <aj@suse.de>
41314
c3b1bf7d 41315 [BZ #13938]
67f60a26
AJ
41316 * manual/setjmp.texi (System V contexts): Fix sentence.
41317
b1aa60f3
AJ
41318 [BZ #13926]
41319 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41320 New macro for this case.
41321 [!__GNUC__] (__bswap_64): New inline function for this case.
41322 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41323 * bits/byteswap.h: Likewise.
41324 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41325 ull, guard with __GLIBC_HAVE_LONG_LONG.
41326
41327 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41328 __GLIBC_HAVE_LONG_LONG.
41329
41330 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41331 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41332
39c59c35
TMQMF
413332012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41334
41335 [BZ #13691]
41336 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41337 inptr and inend, rather than using last_ch.
41338
135ffda8
DM
413392012-04-02 David S. Miller <davem@davemloft.net>
41340
41341 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41342 * stdio-common/printf-parse.h (read_int): Change return type to
41343 'int', return -1 on INT_MAX overflow.
41344 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41345 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41346 overflows INT_MAX. Check for overflow of in-format-string precision
41347 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41348 SIZE_MAX not INT_MAX for integer overflow test.
41349 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41350 skip the construct in the format string but do not record anything.
41351 * stdio-common/bug22.c: Adjust to test both width/prevision
41352 INT_MAX overflow as well as total length INT_MAX overflow. Check
41353 explicitly for proper errno values.
41354
228c019e
TS
413552012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41356
302cadd3
TS
41357 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41358 CHAR_MAX.
41359 * string/test-strcmp.c [! WIDE]: Likewise.
41360 * time/tst-mktime2.c: Likewise for INT_MAX.
41361 * string/test-string.h: #include <sys/param.h> for MIN.
41362
228c019e
TS
41363 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41364 * sysdeps/i386/init-first.c (init): Likewise.
41365 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41366 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41367 * sysdeps/sh/init-first.c (init): Likewise.
41368
cfa633f5
UD
413692012-04-01 Ulrich Drepper <drepper@gmail.com>
41370
41371 * po/ru.po: Update from translation team.
d1635ef8 41372 * po/vi.po: Likewise.
cfa633f5 41373
6cd0a5ea
SP
413742012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41375
41376 * resolv/nss_dns/dns-host.c: Merge copyright years.
41377
4b43400f
LD
413782012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41379
41380 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41381 Optimize memcpy with prefetch if
41382 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41383 src, dst pointers have unequal 16 byte alignments.
41384
48c41d04
SP
413852012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41386
41387 [BZ #13928]
41388 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41389 from a CNAME entry and return the minimum ttl for the query.
41390 (gaih_getanswer_slice): Likewise.
41391
b8dc394d
JL
413922012-03-30 Jeff Law <law@redhat.com>
41393
41394 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41395 due to long keys.
41396 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41397 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41398
2f5a5ed0
JL
41399 * resolv/nss_dns/dns-host.c: Update copyright year.
41400
1d39e359
UD
414012012-03-30 Ulrich Drepper <drepper@gmail.com>
41402
c030f70c 41403 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 41404 requests to save a system call. Fix check that all bytes are sent.
c030f70c 41405
1d39e359
UD
41406 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41407 comments for sendmmsg.
41408
414092012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
41410
41411 [BZ #13691]
41412 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41413 with only 1 character between 0x0041 and 0x01b0.
41414 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41415 * wcsmbs/tst-mbsnrtowcs.c: New file.
41416
20fde227
DM
414172012-03-29 David S. Miller <davem@davemloft.net>
41418
41419 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41420 small copies by hand.
41421
984a4237
JL
414222012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41423
41424 [BZ #13761]
57f41c40
AS
41425 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41426 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41427 group memberships.
984a4237 41428
18c9d62b
DM
414292012-03-28 David S. Miller <davem@davemloft.net>
41430
88d85d4f
DM
41431 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41432 that branches into memcpy.
41433 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41434 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41435 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41436 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41437 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41438 bits.
41439 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41440 implementation too.
41441 * sysdeps/sparc/mempcpy.S: New file.
41442
e5aa83e1
DM
41443 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41444 the IFUNC routine in the libc case.
41445 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41446
88570753
DM
41447 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41448 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41449 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41450 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41451 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41452 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41453 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41454 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41455
249d7567
DM
41456 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41457 loop to 256 bytes instead of 64 bytes and fix test signedness.
41458
18c9d62b
DM
41459 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41460 * sysdeps/sparc/sparc32/Makefile: rather than here...
41461 * sysdeps/sparc/sparc64/Makefile: and here.
41462
05f3d1f6
UD
414632012-03-28 Ulrich Drepper <drepper@gmail.com>
41464
41465 * malloc/mallocbug.c: Avoid warnings about unused variables.
41466
86ae07a8
JL
414672012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41468
41469 [BZ #13760]
41470 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41471 in the right place. Discard and retry query if response is
41472 larger than input buffer size.
41473
41bf21a1
JM
414742012-03-28 Joseph Myers <joseph@codesourcery.com>
41475
d6270972
JM
41476 [BZ #369]
41477 [BZ #2678]
41478 [BZ #3866]
41479 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41480 x for large integer exponent.
41481 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41482 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41483 sign of result as needed afterwards.
41484 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41485 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41486 result for underflowing pow the same as for overflow.
41487 (__kernel_standard_l): Handle powl overflow and underflow here
41488 rather than calling __kernel_standard.
41489 * math/libm-test.inc (pow_test): Add more tests.
41490
414fca03 41491 [BZ #3868]
41bf21a1
JM
41492 [BZ #13879]
41493 [BZ #13910]
41494 [BZ #13911]
41495 [BZ #13912]
41496 [BZ #13913]
41497 [BZ #13915]
41498 [BZ #13916]
41499 [BZ #13917]
41500 [BZ #13918]
41501 [BZ #13919]
41502 [BZ #13920]
41503 [BZ #13921]
41504 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41505 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41506 (__kernel_standard_l): New function.
41507 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41508 __kernel_standard.
41509 * math/w_acosl.c (__acosl): Likewise.
41510 * math/w_asinl.c (__asinl): Likewise.
41511 * math/w_atan2l.c (__atan2l): Likewise.
41512 * math/w_atanhl.c (__atanhl): Likewise.
41513 * math/w_coshl.c (__coshl): Likewise.
41514 * math/w_exp10l.c (__exp10l): Likewise.
41515 * math/w_exp2l.c (__exp2l): Likewise.
41516 * math/w_fmodl.c (__fmodl): Likewise.
41517 * math/w_hypotl.c (__hypotl): Likewise.
41518 * math/w_j0l.c (__j0l, __y0l): Likewise.
41519 * math/w_j1l.c (__j1l, __y1l): Likewise.
41520 * math/w_jnl.c (__jnl, __ynl): Likewise.
41521 * math/w_lgammal.c (__lgammal): Likewise.
41522 * math/w_log10l.c (__log10l): Likewise.
41523 * math/w_log2l.c (__log2l): Likewise.
41524 * math/w_logl.c (__logl): Likewise.
41525 * math/w_powl.c (__powl): Likewise.
41526 * math/w_remainderl.c (__remainderl): Likewise.
41527 * math/w_scalbl.c (sysv_scalbl): Likewise.
41528 * math/w_sinhl.c (__sinhl): Likewise.
41529 * math/w_sqrtl.c (__sqrtl): Likewise.
41530 * math/w_tgammal.c (__tgammal): Likewise.
41531 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41532 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41533 * math/libm-test.inc (acos_test): Add more tests.
41534 (acosh_test): Likewise.
41535 (asin_test): Likewise.
41536 (atanh_test): Likewise.
41537 (exp_test): Likewise.
41538 (exp10_test): Likewise.
41539 (exp2_test): Likewise.
41540 (expm1_test): Likewise.
41541 (lgamma_test): Likewise.
41542 (log_test): Likewise.
41543 (log10_test): Likewise.
41544 (log1p_test): Likewise.
41545 (log2_test): Likewise.
41546 (pow_test): Do not allow some spurious overflow exceptions.
41547 (sqrt_test): Add more tests.
41548 (tgamma_test): Likewise.
41549 (y0_test): Likewise.
41550 (y1_test): Likewise.
41551 (yn_test): Likewise.
41552
dd62fda6
AB
415532012-03-27 Anton Blanchard <anton@samba.org>
41554
41555 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41556 MAP_HUGETLB.
41557 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41558 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41559 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41560
1e3cdfda
AJ
415612012-03-27 David S. Miller <davem@davemloft.net>
41562
b855ab85
DM
41563 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41564
1e3cdfda
AJ
41565 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41566 have-as-vis3 check.
41567
415682012-03-27 Andreas Jaeger <aj@suse.de>
41569
41570 * sysdeps/x86_64/elf/configure.in: Moved to ...
41571 * sysdeps/x86_64/configure.in: ... here.
41572 * sysdeps/x86_64/elf/start.S: Moved to ...
41573 * sysdeps/x86_64/start.S: ... here.
41574 * sysdeps/x86_64/elf/configure: Delete.
41575
41576 * sysdeps/x86_64/configure.in: Merge contents from
41577 sysdeps/i386/configure.in (without i686 check).
41578
41579 * sysdeps/i386/elf/Versions: Merge into ...
41580 * sysdeps/i386/Versions: ... this.
41581 * sysdeps/i386/elf/Versions: Delete file.
41582 * sysdeps/i386/elf/start.S: Moved to ...
41583 * sysdeps/i386/start.S: ...here.
41584 * sysdeps/i386/elf/configure.in: Merge into...
41585 * sysdeps/i386/configure.in: ...here.
41586 * sysdeps/i386/elf/configure.in: Delete file.
41587 * sysdeps/i386/elf/configure: Delete file.
41588
41589 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41590 * debug/backtracesyms.c: ... here.
41591 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41592 * debug/backtracesymsfd.c: ... here.
41593 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41594 * sysdeps/generic/ifunc-sel.h: ... here.
41595
41596 * sysdeps/unix/i386/start.c: Delete file.
41597 * sysdeps/unix/sparc/start.c: Delete file.
41598 * sysdeps/unix/start.c: Delete file.
41599
41600 * sysdeps/sh/elf/configure.in: Moved to ...
41601 * sysdeps/sh/configure.in: ... here.
41602 * sysdeps/sh/elf/start.S: Moved to ...
41603 * sysdeps/sh/start.S: ... here.
41604 * sysdeps/sh/elf/configure: Delete file.
41605
41606 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41607 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41608 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41609 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41610 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41611 * sysdeps/powerpc/powerpc64/start.S: here.
41612 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41613 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41614 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41615 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41616 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41617
41618 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41619 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41620 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41621 * sysdeps/powerpc/powerpc32/start.S: ... here.
41622 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41623 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41624 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41625
41626 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41627 * sysdeps/powerpc/ifunc-sel.h: ... here.
41628 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41629 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41630
41631 * sysdeps/sparc/elf/configure.in: Moved to ...
41632 * sysdeps/sparc/configure.in: ... here.
41633 * sysdeps/sparc/elf/configure: Delete file.
41634 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41635 * sysdeps/sparc/sparc32/start.S: ... here.
41636 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41637 * sysdeps/sparc/sparc64/start.S: ... here.
41638 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41639 * sysdeps/sparc/sparc32/Makefile: ... this.
41640 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41641 * sysdeps/sparc/sparc64/Makefile: ... this.
41642
41643 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41644 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41645 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41646 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41647 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41648 * sysdeps/s390/s390-32/setjmp.S: ... here.
41649 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41650 * sysdeps/s390/s390-32/configure.in: ... here.
41651 * sysdeps/s390/s390-32/elf/configure: Delete file.
41652 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41653 * sysdeps/s390/s390-32/start.S: ... here.
41654
41655 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41656 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41657 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41658 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41659 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41660 * sysdeps/s390/s390-64/setjmp.S: ... here.
41661 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41662 * sysdeps/s390/s390-64/configure.in: ... here
41663 * sysdeps/s390/s390-64/elf/configure: Delete file.
41664 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41665 * sysdeps/s390/s390-64/start.S: ... here.
41666 * sysdeps/s390/s390-64/elf/configure: Delete.
41667
41668 * configure.in: Remove support for elf directories in sysdeps.
41669
41670 * configure: Regenerated.
41671 * sysdeps/i386/configure: Regenerated.
41672 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41673 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41674 * sysdeps/s390/s390-32/configure: Regenerated.
41675 * sysdeps/s390/s390-64/configure: Regenerated.
41676 * sysdeps/sh/configure: Regenerated.
41677 * sysdeps/sparc/configure: Regenerated.
41678 * sysdeps/x86_64/configure: Regenerated.
41679
a3f61311
AS
416802012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41681
c876e002
AS
41682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41683
a3f61311
AS
41684 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41685 denormal result into account.
41686
ac4c54f0
RM
416872012-03-25 Roland McGrath <roland@hack.frob.com>
41688
41689 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41690 Reported by Allan McRae <allan@archlinux.org>.
41691
6a9b9c02
JL
416922012-03-23 Jeff Law <law@redhat.com>
41693
41694 * nss/getnssent.c (__nss_getent): Fix typo.
41695
4c42a0c1
DM
416962012-03-23 David S. Miller <davem@davemloft.net>
41697
41698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41699
1532c7ac
L
417002012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41701
41702 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41703 to pad to uint64_t for each field.
41704 (dl_tls_index): Replace unsigned long with uint64_t.
41705
3ff42526
PP
417062012-03-23 Daniel Jacobowitz <dmj@google.com>
41707 Paul Pluzhnikov <ppluzhnikov@google.com>
41708
41709 [BZ #6528]
41710 * grp/Makefile (otherlibs): Don't set it.
41711 * inet/Makefile (otherlibs): Likewise.
41712 * login/Makefile (otherlibs): Likewise.
41713 * nscd/Makefile (otherlibs): Likewise.
41714 * posix/Makefile (otherlibs): Likewise.
41715 * pwd/Makefile (otherlibs): Likewise.
41716 * rt/Makefile (otherlibs): Likewise.
41717 * sunrpc/Makefile (otherlibs): Likewise.
41718 * nss/Makefile (otherlibs): Likewise.
41719 Add libnss_files to routines and static-only-routines.
41720 ($(objpfx)getent): Remove rule.
41721 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41722 static-only-routines.
41723
7c69cd14
JM
417242012-03-22 Joseph Myers <joseph@codesourcery.com>
41725
41726 [BZ #13892]
41727 * math/s_cexp.c: Include <float.h>.
41728 (__cexp): Handle exp result overflowing not necessarily
41729 overflowing both real and imaginary parts of result.
41730 * math/s_cexpf.c: Likewise.
41731 * math/s_cexpl.c: Likewise.
41732 * math/libm-test.inc (cexp_test): Add more tests.
41733 * sysdeps/i386/fpu/libm-test-ulps: Update.
41734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41735
81b035fe
L
417362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41737
41738 * include/link.h (ELFW): New macro.
41739 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41740 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41741
1da7940c
L
417422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41743
41744 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41745 with uint64_t.
41746
b749dbb9
L
417472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41748
41749 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41750 declaration.
41751 (struct La_x32_retval): Likewise.
41752
2ff87f3f
L
417532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41754
41755 * sysdeps/x86_64/preconfigure.in: New file.
41756 * sysdeps/x86_64/preconfigure: New generated file.
41757
c0df8e69
JM
417582012-03-22 Joseph Myers <joseph@codesourcery.com>
41759
48e44791
JM
41760 [BZ #13824]
41761 * math/e_exp2l.c: Include <float.h>.
41762 (__ieee754_exp2l): Handle overflow and underflow cases
41763 separately. Only pass fractional part of argument to
41764 __ieee754_expl.
41765 * math/libm-test.inc (exp2_test): Add more tests.
41766
c0df8e69
JM
41767 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41768 negating x to take absolute value.
41769 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41770 Likewise.
41771 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41772 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41773 Likewise.
41774 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41775 computing low part if x was negated.
41776 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41777
c8e43ba7
L
417782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41779
41780 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41781 la_x32_gnu_pltexit.
41782 (pltexit): Cast int_retval to ptrdiff_t.
41783 * elf/tst-auditmod3b.c: Likewise.
41784 * elf/tst-auditmod4b.c: Likewise.
41785 * elf/tst-auditmod5b.c: Likewise.
41786 * elf/tst-auditmod6b.c: Likewise.
41787 * elf/tst-auditmod6c.c: Likewise.
41788 * elf/tst-auditmod7b.c: Likewise.
41789
41790 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41791 and x32_gnu_pltexit.
41792
41793 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41794 __ELF_NATIVE_CLASS.
41795 (La_x32_regs): New macro.
41796 (La_x32_retval): Likewise.
41797 (la_x32_gnu_pltenter): New function prototype.
41798 (la_x32_gnu_pltexit): Likewise.
41799
7998fa78
AS
418002012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41801
dcb33988
AS
41802 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41803 exponent.
41804
233fc563
AS
41805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41806
7998fa78
AS
41807 * configure.in (libc_cv_cc_nofma): Check for option to disable
41808 generation of FMA instructions.
41809 * configure: Regenerate.
41810 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41811 * sysdeps/ieee754/dbl-64/Makefile: New file.
41812 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41813 Remove brandred-fma4.
41814 (CFLAGS-brandred-fma4.c): Remove.
41815 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41816 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41817 define.
41818 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41819 define.
41820
8e95c99a
L
418212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41822
41823 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41824 LLONG_MAX != LONG_MAX.
41825 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41826 (_fitoa_word): Likewise.
41827 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41828 LLONG_MAX != LONG_MAX.
41829 * stdio-common/_itowa.h: Include <_itoa.h>.
41830 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41831 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41832 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41833 only if not defined.
41834 (_ITOA_WORD_TYPE): Likewise.
41835 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41836 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41837
6f4db457
DM
418382012-03-21 David S. Miller <davem@davemloft.net>
41839
41840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41841
7785fe5a
L
418422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41843
41844 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41845 of x86_64 when setting libc_cv_slibdir, libdir and
41846 libc_cv_localedir.
41847 * sysdeps/unix/sysv/linux/configure: Regenerated.
41848
4535cd55
JM
418492012-03-21 Joseph Myers <joseph@codesourcery.com>
41850
41851 * manual/lang.texi (Old Varargs): Remove section.
41852 (How Variadic): Update menu.
41853 (va_start): Do not mention varargs.h.
41854
17228132
TS
418552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41856 Joseph Myers <joseph@codesourcery.com>
41857
41858 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41859 link test.
41860 * configure: Regenerated.
41861
8149f976
TS
418622012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41863
05f3d1f6
UD
41864 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41865 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41866 conformtest.pl
8149f976 41867
1a4ac776
JM
418682012-03-21 Joseph Myers <joseph@codesourcery.com>
41869
be22ce65
JM
41870 * NOTES: Remove.
41871 * Makefile (files-for-dist): Remove NOTES.
41872 (NOTES): Remove rule.
41873 * README: Don't refer to NOTES.
41874 * manual/creature.texi: Don't include macros.texi.
41875 * manual/intro.texi (creature.texi): Remove comment referring to
41876 NOTES.
41877
40b601fb
JM
41878 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41879 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41880 * configure: Regenerated.
41881 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41882 LIBC_TRY_CC_OPTION.
41883 (libc_cv_as_i686): Likewise.
41884 (libc_cv_cc_avx): Likewise.
41885 (libc_cv_cc_sse2avx): Likewise.
41886 (libc_cv_cc_fma4): Likewise.
41887 (libc_cv_cc_novzeroupper): Likewise.
41888 * sysdeps/i386/configure: Regenerated.
41889
1a4ac776
JM
41890 [BZ #13883]
41891 * sysdeps/i386/fpu/s_cexp.S: Remove.
41892 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41893 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41894 * math/libm-test.inc (cexp_test): Add more tests.
41895 * sysdeps/i386/fpu/libm-test-ulps: Update.
41896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41897
a458e7fe
AM
418982012-03-21 Allan McRae <allan@archlinux.org>
41899
41900 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41901
0cb7efc5
JM
419022012-03-21 Joseph Myers <joseph@codesourcery.com>
41903
41904 [BZ #13871]
41905 * math/w_exp2.c: Do not include <float.h>.
41906 (o_threshold, u_threshold): Remove.
41907 (__exp2): Calculate result before checking finiteness and calling
41908 __kernel_standard.
41909 * math/w_exp2f.c: Likewise.
41910 * math/w_exp2l.c: Likewise.
41911 * math/libm-test.inc (exp2_test): Require overflow exception for
41912 1e6 input.
2460d3aa
JM
41913
41914 [BZ #3866]
41915 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41916 range of signed 64-bit integers before using fistpll. Remove
41917 checks for whether integers fit in mantissa bits.
41918 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41919 the range of signed 32-bit integers before using fistpl. Remove
41920 checks for whether integers fit in mantissa bits.
41921 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41922 (__ieee754_powl): Test for y outside the range of signed 64-bit
41923 integers before using fistpll. Reduce 64-bit values to 63-bit
41924 ones as needed.
41925 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41926 divide-by-zero is raised for zero to large negative powers.
41927 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41928 (__ieee754_powl): Test for y outside the range of signed 64-bit
41929 integers before using fistpll. Reduce 64-bit values to 63-bit
41930 ones as needed.
41931 * math/libm-test.inc (pow_test): Add more tests.
41932
eb96ffb0
L
419332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41934
41935 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41936 <stdio-common/_itoa.h>.
41937 * debug/segfault.c: Likewise.
41938 * elf/dl-cache.c: Likewise.
41939 * elf/dl-minimal.c: Likewise.
41940 * elf/dl-misc.c: Likewise.
41941 * elf/dl-sysdep.c: Likewise.
41942 * elf/dl-version.c: Likewise.
41943 * elf/rtld.c: Likewise.
41944 * hurd/hurdsock.c: Likewise.
41945 * hurd/lookup-retry.c: Likewise.
41946 * malloc/malloc.c: Likewise.
41947 * malloc/mtrace.c: Likewise.
41948 * nscd/nscd_getgr_r.c: Likewise.
41949 * nscd/nscd_getpw_r.c: Likewise.
41950 * nscd/nscd_getserv_r.c: Likewise.
41951 * posix/getopt_init.c: Likewise.
41952 * posix/wordexp.c: Likewise.
41953 * stdio-common/_itoa.c: Likewise.
41954 * stdio-common/printf_fphex.c: Likewise.
41955 * stdio-common/vfprintf.c: Likewise.
41956 * string/_strerror.c: Likewise.
41957 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41958 * sysdeps/i386/i686/hp-timing.h: Likewise.
41959 * sysdeps/mach/_strerror.c: Likewise.
41960 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41961 * sysdeps/mach/hurd/sethostid.c: Likewise.
41962 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41963 * sysdeps/mach/xpg-strerror.c: Likewise.
41964 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41965 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41966 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41967 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41968 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41969 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41970 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41971 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41972 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41973 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41974 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41975 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41976 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41977 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41978 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41979 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41980 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41981 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41982 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41983 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41984 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41985
41986 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41987
41988 * stdio-common/_itoa.h: Moved to ...
41989 * sysdeps/generic/_itoa.h: Here.
41990
41991 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41992
41993 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41994 instead of "_itoa.h" and "_itowa.h".
41995 * stdio-common/vfprintf.: Likewise.
41996
d1af992d
L
419972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41998
41999 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42000 <bits/wordsize.h>.
42001 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42002 (__signbit): Likwise.
42003 (llrintf): Likwise.
42004 (llrint): Likwise.
42005
114883e0
L
420062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42007
42008 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42009 __WORDSIZE != 64.
42010
c135cc1b
JM
420112012-03-20 Joseph Myers <joseph@codesourcery.com>
42012
42013 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42014 OVERFLOW_EXCEPTION_OK.
42015 * math/libm-test.inc ("Philosophy"): Update comment about
42016 exception testing.
42017 (OVERFLOW_EXCEPTION): Define.
42018 (OVERFLOW_EXCEPTION_OK): Likewise.
42019 (INVALID_EXCEPTION_OK): Renumber.
42020 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42021 (IGNORE_ZERO_INF_SIGN): Likewise.
42022 (test_exceptions): Handle FE_OVERFLOW.
42023 (exp10_test): Expect overflow exceptions.
42024 (exp2_test): Likewise.
42025 (expm1_test): Likewise.
42026 (nextafter_test): Likewise.
42027 (pow_test): Likewise.
42028 (scalbn_test): Likewise.
42029 (scalbln_test): Likewise.
42030
95443d88
L
420312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42032
42033 * sysdeps/x86_64/bits/atomic.h
42034 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42035 64bit integer.
42036 (atomic_exchange_acq): Likewise.
42037 (__arch_exchange_and_add_body): Likewise.
42038 (__arch_add_body): Likewise.
42039 (atomic_add_negative): Likewise.
42040 (atomic_add_zero): Likewise.
42041
490df6c4
L
420422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42043
c2722551 42044 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
42045 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42046
5e52b189
L
420472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42048
42049 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42050 Check __x86_64__ instead of __WORDSIZE.
42051
a9879d4c
L
420522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42053
42054 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42055
5df98260
DM
420562012-03-19 David S. Miller <davem@davemloft.net>
42057
e1497744
DM
42058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42059
5df98260
DM
42060 * sysdeps/sparc/fpu/fenv_private.h: New file.
42061 * sysdeps/sparc/fpu/math_private.h: Use it.
42062 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42063 Remove.
57f41c40 42064 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
42065 (libc_feholdexcept_setroundl): Remove.
42066 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42067 Remove.
42068 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42069 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42070
b4c35121
L
420712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42072
42073 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42074 int64_t instead of long int.
42075 (INSERT_WORDS64): Likwise.
42076
56965fd7
L
420772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42078
42079 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42080 _Unwind_GetCFA return to _Unwind_Ptr first.
42081
83d1aec8
JM
420822012-03-19 Joseph Myers <joseph@codesourcery.com>
42083
1897ad44
JM
42084 [BZ #13629]
42085 * math/s_clog.c: Include <float.h>.
42086 (__clog): Scale large or subnormal inputs.
42087 * math/s_clogf.c: Likewise.
42088 * math/s_clogl.c: Likewise.
42089 * math/s_clog10.c: Include <float.h>.
42090 (M_LOG10_2): Define.
42091 (__clog10): Scale large or subnormal inputs.
42092 * math/s_clog10f.c: Likewise.
42093 * math/s_clog10l.c: Likewise.
42094 * math/libm-test.inc (clog_test): Add more tests.
42095 (clog10_test): Likewise.
42096 * sysdeps/i386/fpu/libm-test-ulps: Update.
42097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42098
7726d6a9
JM
42099 [BZ #11451]
42100 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42101 x and y.
42102 * math/libm-test.inc (atan2_test): Add another test.
42103
83d1aec8
JM
42104 * Makerules (common-objdir-compile): Remove.
42105 * sysdeps/unix/Makefile (config-generated): Do not add
42106 $(unix-generated) to variable.
42107 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42108 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42109 Remove rule.
42110 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42111 Likewise.
42112 [generic bits/local_lim.h] (before-compile): Do not append to
42113 variable.
42114 [generic bits/local_lim.h] (common-generated): Likewise.
42115 [generic sys/param.h] (before-compile): Do not append to variable.
42116 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42117 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42118 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42119 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42120 include.
42121 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42122 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42123 [generic sys/param.h] ($(addprefix
42124 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42125 [generic sys/param.h] (common-generated): Do not append to
42126 variable.
42127 [generic sys/param.h] (sysdep_headers): Likewise.
42128 [generic bits/errno.h] (before-compile): Do not append to
42129 variable.
42130 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42131 rule.
42132 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42133 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42134 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42135 [generic bits/errno.h] (common-generated): Do not append to
42136 variable.
42137 [generic bits/ioctls.h] (before-compile): Do not append to
42138 variable.
42139 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42140 rule.
42141 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42142 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42143 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42144 rule.
42145 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42146 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42147 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42148 [generic bits/ioctls.h] (common-generated): Do not append to
42149 variable.
42150 [generic sys/syscall.h] (syscall.h): Remove variable.
42151 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42152 rule.
42153 [generic sys/syscall.h] (before-compile): Do not append to
42154 variable.
42155 [generic sys/syscall.h] (common-generated): Likewise.
42156 * sysdeps/unix/errnos-tmpl.c: Remove file.
42157 * sysdeps/unix/errnos.awk: Likewise.
42158 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42159 * sysdeps/unix/ioctls.awk: Likewise.
42160 * sysdeps/unix/mk-local_lim.c: Likewise.
42161 * sysdeps/unix/snarf-ioctls: Likewise.
42162
4851a949
RH
421632012-03-19 Richard Henderson <rth@twiddle.net>
42164
bd37f2ee
RH
42165 * sysdeps/i386/fpu/fenv_private.h: New file.
42166 * sysdeps/i386/fpu/math_private.h: Use it.
42167 (math_opt_barrier, math_force_eval): Remove.
42168 (libc_feholdexcept_setround_53bit): Remove.
42169 (libc_feupdateenv_53bit): Remove.
42170 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42171 (math_opt_barrier, math_force_eval): Remove.
42172 (libc_feholdexcept): Remove.
42173 (libc_feholdexcept_setround): Remove.
42174 (libc_fetestexcept, libc_fesetenv): Remove.
42175 (libc_feupdateenv_test): Remove.
42176 (libc_feupdateenv, libc_feholdsetround): Remove.
42177 (libc_feresetround): Remove.
42178
d0adc922
RH
42179 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42180 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42181
0fe0f1f8
RH
42182 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42183 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42184 (libc_feupdateenv_testl): New.
42185 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42186 (libc_feupdateenv_testf): New.
42187 (libc_feupdateenv): Use libc_feupdateenv_test.
42188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42189 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42190
eb92c487
RH
42191 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42192 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42193 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42194 (libc_feresetround_noex): New.
42195 (libc_feresetround_noexf): New.
42196 (libc_feresetround_noexl): New.
42197 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42198 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42199 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42200 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42201 SET_RESTORE_ROUND.
42202 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42203 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42204 (__cos): Likewise.
42205 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42206 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42207 SET_RESTORE_ROUND_NOEX.
42208 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42209 SET_RESTORE_ROUND_NOEXF.
42210 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42211 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42212 (libc_feholdsetroundf): New.
42213 (libc_feresetround, libc_feresetroundf): New.
42214
7d2e8012
RH
42215 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42216 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42217 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42218
b4dabbb4
RH
42219 * sysdeps/generic/math_private.h: Include <fenv.h>.
42220 (default_libc_feholdexcept): New.
42221 (default_libc_feholdexcept_setround): New.
42222 (default_libc_fesetenv, default_libc_feupdateenv): New.
42223 (libc_feholdexcept): Only define if undefined.
42224 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42225 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42226 (libc_feholdexcept_setroundl): Likewise.
42227 (libc_feholdexcept_setround_53bit): Likewise.
42228 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42229 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42230 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42231 (libc_feupdateenv_53bit): Likewise.
42232 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42233 (libc_feholdexcept): Convert from macro to inline function.
42234 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42235 (libc_fesetenv, libc_feupdateenv): Likewise.
42236
4851a949
RH
42237 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42238 not previously defined.
42239 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42240 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42241 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42242 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42243 * sysdeps/ieee754/flt-32/math_private.h: New file.
42244 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42245 math_private.h below SET_FLOAT_WORD.
42246 (__isnan, __isinf_ns, __finite): Remove.
42247 (__isnanf, __isinf_nsf, __finitef): Remove.
42248
e79d442e
AS
422492012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42250
42251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42252
90b80344
DM
422532012-03-17 David S. Miller <davem@davemloft.net>
42254
42255 [BZ #6471]
42256 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42257 for 2.16.
42258
edc21804
DM
422592012-03-16 David S. Miller <davem@davemloft.net>
42260
77e927af
DM
42261 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42262 warnings.
42263
374976dd
DM
42264 [BZ #6471]
42265 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42266 properly.
42267 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42268 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42269 sysdep_routines when subdir is sysvipc.
42270 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42271 __getshmlba helper.
42272
edc21804
DM
42273 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42274
473c3ef3
L
422752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42276
42277 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42278 [__LP64__].
42279
eb0f39b6
L
422802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42281
42282 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42283 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42284 (__lround): Renamed to ...
42285 (__llround): This. Replace long int with long long int.
42286 Define lround functions as aliases of llround functions.
42287 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42288
6b6cd74b
L
422892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42290
42291 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42292 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42293 adresses to uintptr_t. Replace "long int" and "unsigned long
42294 int" with "greg_t" on va_arg.
42295
f1a77b01
L
422962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42297
42298 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42299 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42300
42301 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42302 Move e_machine check before EI_CLASS check. Handle x32
42303 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42304 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42305 SKIP_EM_IA_64 and include
42306 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42307
42308 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42309 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42310 (add_system_dir): New macro.
42311
42312 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42313 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42314
11b90b9f
JM
423152012-03-16 Joseph Myers <joseph@codesourcery.com>
42316
c36e1d23
JM
42317 [BZ #2551]
42318 [BZ #2552]
42319 [BZ #2553]
42320 [BZ #2554]
42321 [BZ #2562]
42322 [BZ #2563]
42323 [BZ #2565]
42324 [BZ #2566]
42325 [BZ #2576]
42326 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42327 (y0): Likewise.
42328 * math/w_j0f.c (j0f): Likewise.
42329 (y0f): Likewise.
42330 * math/w_j0l.c (__j0l): Likewise.
42331 (__y0l): Likewise.
42332 * math/w_j1.c (j1): Likewise.
42333 (y1): Likewise.
42334 * math/w_j1f.c (j1f): Likewise.
42335 (y1f): Likewise.
42336 * math/w_j1l.c (__j1l): Likewise.
42337 (__y1l): Likewise.
42338 * math/w_jn.c (jn): Likewise.
42339 (yn): Likewise.
42340 * math/w_jnf.c (jnf): Likewise.
42341 (ynf): Likewise.
42342 * math/w_jnl.c (__jnl): Likewise.
42343 (__ynl): Likewise.
42344 * math/libm-test.inc (j0_test): Add more tests.
42345 (j1_test): Likewise.
42346 (jn_test): Likewise. Add trailing semicolon to existing test.
42347 (y0_test): Likewise.
42348 (y1_test): Likewise.
42349 * sysdeps/i386/fpu/libm-test-ulps: Update.
42350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42351
11b90b9f
JM
42352 [BZ #13851]
42353 [BZ #13854]
42354 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42355 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42356 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42357 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42358 (__tanl): Set errno for infinite argument.
42359 * sysdeps/i386/fpu/mptan.c: Remove.
42360 * sysdeps/i386/fpu/s_tan.S: Likewise.
42361 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42362 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42363 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42364 * math/libm-test.inc (tan_test): Add more tests and enable more
42365 tests for double and long double.
42366 * sysdeps/i386/fpu/libm-test-ulps: Update.
42367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42368
6a1bd2a1
JK
423692012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42370
42371 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42372 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42373
10a803e0
RM
423742012-03-16 Roland McGrath <roland@hack.frob.com>
42375
42376 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42377 * configure.in: Use it for both main tree and add-ons.
42378 * configure: Regenerated.
42379
f196c7f7
L
423802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42381
42382 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42383
8848d99d
JM
423842012-03-16 Joseph Myers <joseph@codesourcery.com>
42385
96cbe7f4
JM
42386 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42387 in comment.
42388
8848d99d
JM
42389 [BZ #13851]
42390 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42391 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42392 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42393 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42394 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42395 infinite argument.
42396 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42397 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42398 != 0 for prec == 2.
42399 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42400 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42401 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42402 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42403 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42404 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42405 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42406 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42407 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42408 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42409 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42410 * math/libm-test.inc (cos_test): Add more tests and enable more
42411 tests for long double.
42412 (sin_test): Likewise.
42413 (sincos_test): Likewise.
42414 * sysdeps/i386/fpu/libm-test-ulps: Update.
42415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42416
dd7f4703
DM
424172012-03-16 David S. Miller <davem@davemloft.net>
42418
42419 * sysdeps/sparc/fpu/math_private.h: New file.
42420
006f1daa
DM
424212012-03-15 David S. Miller <davem@davemloft.net>
42422
c0c83bc8
DM
42423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42424 file.
e6a62e18 42425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
42426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42427 file.
e6a62e18
DM
42428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42434 sysdep routines.
42435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42436
88cb87d9
DM
42437 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42438 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42439
006f1daa 42440 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
42441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42442 sparc-ifunc.h
006f1daa 42443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
42444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42445 Likewise.
42446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42447 Likewise.
006f1daa
DM
42448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
42451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42452 Likewise.
006f1daa
DM
42453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
42457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42458 Likewise.
42459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42460 Likewise.
006f1daa
DM
42461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42466 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42467 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42468 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42469 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42470 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42475 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42478 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42479 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42480 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42481 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42482 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42483 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42484 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42485
11e0098e
AS
424862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42487
42488 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42489 scaling.
42490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42491
e85b09d0
AJ
424922012-03-15 Andreas Jaeger <aj@suse.de>
42493
42494 [BZ #13852]
42495 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42496 ieee754/flt-32 implementation for sin, cos and sincos.
42497 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42498 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42499 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42500 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42501 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42502 ieee754/flt-32 implementation for tan.
42503
42504 * math/libm-test.inc (cos_test): Enable some large input tests for
42505 float as well
42506 (sin_test): Likewise.
42507 (sincos_test): Likewise.
42508 (tan_test): Add tests for large input.
42509
42510 * sysdeps/i386/fpu/libm-test-ulps: Update.
42511
81c64153
AJ
425122012-03-15 Andreas Jaeger <aj@suse.de>
42513
42514 [BZ #13658]
42515 * math/libm-test.inc (cos_test): Add more test cases.
42516 (sin_test): Likewise.
42517 (sincos_test): Likewise.
42518
7bbfa5c6
AJ
425192012-03-15 Andreas Jaeger <aj@suse.de>
42520
42521 [BZ #13837]
42522 * math/libm-test.inc (cos_test): Add a test case for large input
42523 value.
42524 (sin_test): Likewise.
42525 (sincos_test): Likewise.
42526
57f41c40
AS
425272012-03-15 Andreas Jaeger <aj@suse.de>
42528 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
42529
42530 [BZ #13658]
0671f479 42531 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
42532 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42533 * sysdeps/i386/fpu/branred.c: Likewise.
42534 * sysdeps/i386/fpu/dosincos.c: Likewise.
42535 * sysdeps/i386/fpu/mpa.c: Likewise.
42536 * sysdeps/i386/fpu/s_cos.S: Likewise.
42537 * sysdeps/i386/fpu/s_sin.S: Likewise.
42538 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42539 * sysdeps/i386/fpu/sincos32.c: Likewise.
42540
42541 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42542 Define.
42543 (libc_feupdateenv_53bit): Define.
42544 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42545 Define.
42546 (libc_feupdateenv_53bit): Define.
42547
42548 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42549 53 bit (without extend i386 double precision).
42550
42551 * math/libm-test.inc (sincos_test): Add tests for large input.
42552 (sin): Likewise.
42553 (cos): Likewise.
42554
42555 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42556
9cad04ea
AS
425572012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42558
42559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42560
f7062b9a
DM
425612012-03-15 David S. Miller <davem@davemloft.net>
42562
42563 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42564 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42565 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42566 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42579 file.
f7062b9a 42580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42582 file.
f7062b9a 42583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42585 file.
f7062b9a 42586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42588 file.
f7062b9a
DM
42589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42590 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42591 fmin/fmax sysdep routines.
42592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42593
7bd951ff
DM
425942012-03-14 David S. Miller <davem@davemloft.net>
42595
559398ab
DM
42596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42600 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42601 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42602 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42603 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42605 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42607 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42616 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42617 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42618 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42619 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42620 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42623 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42624 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42625 routines.
42626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42627 file.
559398ab 42628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42630 file.
559398ab 42631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42633 file.
559398ab 42634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42636 file.
559398ab 42637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42639 file.
559398ab 42640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42642 file.
42643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42644 file.
42645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42646 file.
42647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42648 file.
42649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42650 New file.
42651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42652 file.
42653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42654 file.
559398ab 42655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42657 file.
559398ab 42658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42660 file.
559398ab 42661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42663 file.
559398ab 42664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42666 VIS3 routines.
559398ab
DM
42667
42668 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42669 New file.
42670
5a1c1e32
DM
42671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42672
eae47a36
DM
42673 * sysdeps/sparc/configure.in: New file.
42674 * sysdeps/sparc/configure: Generate.
42675 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42676 * configure: Regenerate.
42677 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42678 * config.make.in (have-as-vis3): New.
42679 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42680 available use -Av9d instead of -Av9a.
42681 * sysdeps/sparc/sparc64/Makefile: Likewise.
42682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42684 New file.
42685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42686 file.
42687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42688 New file.
42689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42690 file.
eae47a36
DM
42691 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42692 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42693 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42694 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42695 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42696
c0c83bc8
DM
42697 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42698 fzeros/fnegs to load 0x80000000 into a float register instead of
42699 using the stack.
7bd951ff
DM
42700 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42701
bd951ccb
JM
427022012-03-14 Joseph Myers <joseph@codesourcery.com>
42703
42704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42705 bits/syscall.h.
42706 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42707 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42708 ($(inst_includedir)/bits/syscall.h): Remove rule.
42709 ($(objpfx)bits/syscall.d): Include instead of
42710 $(objpfx)syscall-list.d.
42711 (generated): Change syscall-list.h and syscall-list.d to
42712 bits/syscall.h and bits/syscall.d.
42713
bb4e6db2
RM
427142012-03-14 Roland McGrath <roland@hack.frob.com>
42715
42716 [BZ #13846]
42717 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42718
aa4a2ae1
JM
427192012-03-14 Joseph Myers <joseph@codesourcery.com>
42720
e456826d
JM
42721 [BZ #13841]
42722 * math/s_csqrt.c: Include <float.h>.
42723 (__csqrt): Scale large or subnormal inputs.
42724 * math/s_csqrtf.c: Likewise.
42725 * math/s_csqrtl.c: Likewise.
42726 * math/libm-test.inc (csqrt_test): Add more tests.
42727 * sysdeps/i386/fpu/libm-test-ulps: Update.
42728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42729
aa4a2ae1
JM
42730 [BZ #13840]
42731 * math/libm-test.inc (hypot_test): Add more tests.
42732
7c10fd35
DM
427332012-03-13 David S. Miller <davem@davemloft.net>
42734
42735 [BZ #13840]
42736 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42737 double-precision for the calculation instead of scaling.
42738
f453b98b
JM
427392012-03-13 Joseph Myers <joseph@codesourcery.com>
42740
42741 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42742 manipulate bits before adding and subtracting TWO52[sx].
42743 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42744 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42745 Likewise.
42746 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42747
09a3453f
DM
427482012-03-13 David S. Miller <davem@davemloft.net>
42749
8e59da90
DM
42750 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42751 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42752 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42753 rtld-global-offsets.h
42754 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42755
2a8ab7f2
DM
42756 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42757 large parameters.
42758
10f62770
DM
42759 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42760
5f0bdb18
DM
42761 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42762 'err' in the ifdef scope in which it is actually used.
42763
09a3453f
DM
42764 * nss/nss_db/db-init.c: Include string.h
42765
b4b2eb5e
DM
427662012-03-12 David S. Miller <davem@davemloft.net>
42767
98bb2f1c
DM
42768 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42769 masking out of the most significant byte of random value used.
42770 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42771 Fix coding style in previous change.
42772
b4b2eb5e
DM
42773 * sysdeps/unix/sysv/linux/kernel-features.h
42774 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42775 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42776 expression.
42777 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42778 later.
42779
6e226b09
DM
427802012-03-11 David S. Miller <davem@davemloft.net>
42781
a1bcbd40
DM
42782 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42783 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42784 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42785 for 'resultvar' otherwise things get truncated on 64-bit.
42786
cb9d6174
DM
42787 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42788 Fix masking out of the most significant byte of random value used.
42789
6e226b09
DM
42790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42791
058c132d
AS
427922012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42793
42794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42795
2d2cd515
DM
427962012-03-09 David S. Miller <davem@davemloft.net>
42797
42798 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42799 variables with appropriate CPP guards.
57f41c40
AS
42800 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42801 from the frame pointer, not the stack pointer. Correct layout
42802 comments. Fix test on resulting framesize and the management of
42803 the outregs buffer for pltexit. Preserve floating point return
42804 values across _dl_call_pltexit call.
2d2cd515
DM
42805 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42806 framesize and the management of the outregs buffer for pltexit.
42807 Preserve floating point return values across _dl_call_pltexit
42808 call.
57f41c40
AS
42809 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42810 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42811 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42812 (print_exit): Fix format string for return register value.
42813
9a07f9d0
JM
428142012-03-10 Joseph Myers <joseph@codesourcery.com>
42815
42816 * sunrpc/Makefile (others): Add rpcgen.
42817 ($(objpfx)rpcgen): Remove special build rule and dependency on
42818 libc.
42819 * sunrpc/rpcgen.c: New file.
42820
547b5e30
PE
428212012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42822
c524201a
PE
42823 [BZ #13673]
42824 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42825 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42826 * sysdeps/i386/crti.S: Likewise.
42827 * sysdeps/i386/crtn.S: Likewise.
42828 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42829 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42830 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42831 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42832 * sysdeps/sh/crti.S: Likewise.
42833 * sysdeps/sh/crtn.S: Likewise.
42834 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42835
7b6235f2
PE
42836 [BZ #13673]
42837 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42838 with URL.
42839 * locale/programs/locfile-kw.gperf: Likewise.
42840 * locale/programs/charmap-kw.h: Regenerated.
42841 * locale/programs/locfile-kw.h: Likewise.
42842
547b5e30
PE
42843 [BZ #13673]
42844 * intl/plural.y: Replace FSF snail mail address with URL.
42845 * intl/plural.c: Regenerated.
42846
5f0a5dae
RH
428472012-03-09 Richard Henderson <rth@twiddle.net>
42848
42849 * include/math_private.h: Remove file.
42850 * math/math_private.h: Move file ...
42851 * sysdeps/generic/math_private.h: ... here.
42852
b8c03620
RH
42853 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42854 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42855 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42856
4e234f5d 42857 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42858 and <math_private.h>.
42859 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42860 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42861 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42862 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42863 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42864 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42865 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42867 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42868 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42869 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42870 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42871 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42872 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42873 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42874 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42875 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42876 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42877 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42878 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42879 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42880 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42881 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42882 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42883 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42884 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42885 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42886 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42887 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42888 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42889 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42890 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42891 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42892 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42893 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42894 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42895 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42896 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42897 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42898 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42899 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42900 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42901 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42902 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42903 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42904 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42905 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42906 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42907 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42908 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42909 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42910 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42911 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42912 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42913 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42914 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42915 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42916 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42917 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42918 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42919 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42920 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42921 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42922 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42923 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42924 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42925 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42926 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42927 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42928 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42929 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42930 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42931 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42932 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42933 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42934 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42935 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42936 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42937 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42938 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42939 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42940 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42941 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42942 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42943 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42944 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42945 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42946 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42947 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42948 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42949 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42950 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42951 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42952 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42953 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42954 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42955 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42956 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42957 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42958 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42959 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42960 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42961 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42962 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42963 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42964 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42965 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42966 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42967 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42968 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42969 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42970 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42971 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42972 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42973 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42974 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42975 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42976 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42977 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42978 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42979 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42980 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42981 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42982 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42983 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42984 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42985 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42986 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42987 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42988 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42989 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42990 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42991 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42992 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42993 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42994 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42995 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42996 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42997 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42998 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42999 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43000 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43001 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43002 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43003 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43004 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43005 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43006 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43007 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43008 * sysdeps/ieee754/k_standard.c: Likewise.
43009 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43010 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43011 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43012 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43013 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43014 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43015 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43016 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43017 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43018 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43019 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43020 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43021 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43022 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43023 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43024 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43025 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43026 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43027 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43028 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43029 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43030 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43031 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43032 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43033 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43034 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43035 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43036 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43037 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43038 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43039 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43040 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43041 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43042 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43043 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43044 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43045 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43046 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43047 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43048 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43049 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43050 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43051 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43052 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43053 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43054 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43055 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43056 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43057 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43058 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43059 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43060 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43061 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43062 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43063 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43064 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43065 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43066 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43067 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43068 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43069 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43070 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43071 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43072 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43073 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43074 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43075 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43076 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43077 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43078 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43079 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43080 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43081 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43082 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43083 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43084 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43085 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43086 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43087 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43088 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43089 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43090 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43091 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43092 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43093 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43094 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43095 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43096 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43097 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43098 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43099 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43100 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43101 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43102 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43103 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43104 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43105 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43106 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43107 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43108 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43109 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43110 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43111 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43112 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43113 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43114 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43115 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43116 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43117 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43118 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43119 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43120 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43121 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43122 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43123 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43124 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43125 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43126 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43127 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43128 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43129 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43130 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43131 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43132 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43133 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43134 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43135 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43136 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43137 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43138 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43139 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43140 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43141 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43142 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43143 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43144 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43145 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43146 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43147 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43148 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43149 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43150 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43151 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43152 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43153 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43154 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43155 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43156 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43157 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43158 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43159 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43160 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43161 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43162 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43163 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43164 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43165 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43166 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43167 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43168 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43169 * sysdeps/ieee754/s_lib_version.c: Likewise.
43170 * sysdeps/ieee754/s_matherr.c: Likewise.
43171 * sysdeps/ieee754/s_signgam.c: Likewise.
43172 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43173 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43174 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43175 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43176 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43177 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43178 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43179 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43180 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43181 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43182 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43183 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43184 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43185 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43186 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43187 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43188 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43189 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43190 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43191 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43192 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 43193
1991fa03
JM
431942012-03-09 Joseph Myers <joseph@codesourcery.com>
43195
43196 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43197 * sunrpc/rpc_main.c: Likewise.
43198 * sunrpc/rpc_svcout.c: Likewise.
43199
60d6f5a6
DM
432002012-03-09 David S. Miller <davem@davemloft.net>
43201
43202 * include/math_private.h: New file.
43203
4962050e
JM
432042012-03-09 Joseph Myers <joseph@codesourcery.com>
43205
02a6f887
JM
43206 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43207 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43208 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43209 from <bits/socket_type.h>.
43210 (enum __socket_type): Don't define here.
43211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43213 bits/socket_type.h.
43214
c6e013c1
JM
43215 [BZ #13566]
43216 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43217 checking __USE_GNU.
43218
4962050e
JM
43219 * Makerules ($(inst_includedir)/%.h): New rule.
43220 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43221 (install-others): Remove variable setting.
43222 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43223
38842f45
RH
432242012-03-08 Richard Henderson <rth@twiddle.net>
43225
67bb6da6
RH
43226 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43227 from macro to inline function; merge with the
43228 !__LIBC_INTERNAL_MATH_INLINES version.
43229 (__ieee754_sqrtf): Likewise.
43230
15194b4b
RH
43231 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43232 to inline function.
43233 (__rintf, __floor, __floorf): Likewise.
43234
64e21ede
RH
43235 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43236 macro to inline function.
43237 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43238
38842f45
RH
43239 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43240 not <math/math_private.h>.
43241
c64bf5fe
DM
432422012-03-08 David S. Miller <davem@davemloft.net>
43243
43244 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43245 copyright year.
43246 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43247
82d86f28
TS
432482012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43249
43250 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43251 normalization.
43252 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43253 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43254
aea5d727
UD
432552012-03-08 Ulrich Drepper <drepper@gmail.com>
43256
43257 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43258 be defined individually, they must be defined as a block. Define
43259 S for printing a string instead of hidint the different by using a
43260 macro for adding the 'l'.
43261 * stdio-common/tst-fphex-wide.c: Adjust.
43262
70bca0a3
MP
432632012-03-07 Marek Polacek <polacek@redhat.com>
43264
43265 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43266
65b81130
MP
432672012-03-08 Marek Polacek <polacek@redhat.com>
43268
43269 [BZ #13806]
43270 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43271 * stdio-common/tst-fphex.c: Define a few macros to make the
43272 test reusable. Use them.
43273 * stdio-common/tst-fphex-wide.c: New file.
43274
07037eeb
JM
432752012-03-08 Joseph Myers <joseph@codesourcery.com>
43276
a7a93d50
JM
43277 [BZ #6911]
43278 * manual/macros.texi (gnusystems): New macro.
43279 (nongnusystems): Likewise.
43280 (gnulinuxhurdsystems): Likewise.
43281 (gnuhurdsystems): Likewise..
43282 (gnulinuxsystems): Likewise.
43283 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43284 variants of the GNU system, not "GNU system".
43285 * manual/conf.texi: Likewise.
43286 * manual/errno.texi: Likewise. Update example of errno macro
43287 expansion.
43288 * manual/filesys.texi: Likewise.
43289 (getumask): Document as specific to GNU/Hurd.
43290 * manual/install.texi: Likewise. Reword some references to
43291 GNU/Linux.
43292 * manual/intro.texi: Likewise.
43293 * manual/io.texi: Likewise.
43294 (File Name Portability): Detail which constraints are inapplicable
43295 to all GNU systems and which are only inapplicable to GNU/Hurd.
43296 * manual/job.texi: Likewise.
43297 * manual/llio.texi: Likewise.
43298 (O_NOCTTY): Document as present on GNU/Linux.
43299 * manual/maint.texi: Likewise.
43300 * manual/memory.texi: Likewise.
43301 * manual/pattern.texi: Likewise.
43302 * manual/pipe.texi: Likewise.
43303 * manual/process.texi: Likewise.
43304 * manual/resource.texi: Likewise.
43305 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43306 child on GNU/Hurd.
43307 * manual/setjmp.texi: Likewise.
43308 * manual/signal.texi: Likewise.
43309 * manual/startup.texi: Likewise.
43310 * manual/stdio.texi: Likewise.
43311 * manual/terminal.texi: Likewise.
43312 (ONLCR): Document as POSIX.
43313 (OXTABS): Document availability on GNU/Linux as XTABS.
43314 (ONOEOT): Document availability separately from other bits.
43315 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43316 * manual/time.texi: Likewise.
43317 * manual/users.texi: Likewise.
43318 * INSTALL: Regenerated.
43319 * sysdeps/gnu/errlist.c: Regenerated.
43320
07037eeb
JM
43321 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43322 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43323 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43324 puts.
43325 * configure: Regenerated.
43326
d1d3431a
JM
433272012-03-07 Joseph Myers <joseph@codesourcery.com>
43328
af6a1e37
JM
43329 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43330 default includes instead of AC_HEADER_CHECK.
43331 * sysdeps/i386/configure: Regenerated.
43332
d1d3431a
JM
43333 [BZ #10716]
43334 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43335 * math/s_cacoshf.c (__cacoshf): Likewise.
43336 * math/s_cacoshl.c (__cacoshl): Likewise.
43337 * math/s_casinh.c (__casinh): Set signs of result from argument.
43338 * math/s_casinhf.c (__casinhf): Likewise.
43339 * math/s_casinhl.c (__casinhl): Likewise.
43340 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43341 (casinh_test): Add more tests.
43342 * sysdeps/i386/fpu/libm-test-ulps: Update.
43343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43344
482ff4da
UD
433452012-03-07 Ulrich Drepper <drepper@gmail.com>
43346
872fda05
UD
43347 * po/zh_TW.po: Update from translation team.
43348
a4300c7a
UD
43349 * login/Makefile (distribute): Remove variable.
43350 * catgets/Makefile: Likewise.
43351 * mach/Makefile: Likewise.
43352 * malloc/Makefile: Likewise.
43353 * misc/Makefile: Likewise.
43354 * iconv/Makefile: Likewise.
43355 * nscd/Makefile: Likewise.
43356 * hurd/Makefile: Likewise.
43357 * manual/Makefile: Likewise.
43358 * locale/Makefile: Likewise.
43359 * intl/Makefile: Likewise.
43360 * conform/Makefile: Likewise.
43361 * nss/Makefile: Likewise.
43362 * time/Makefile: Likewise.
43363 * soft-fp/Makefile: Likewise.
43364 * dirent/Makefile: Likewise.
43365 * gmon/Makefile: Likewise.
43366 * po/Makefile: Likewise.
43367 * rt/Makefile: Likewise.
43368 * socket/Makefile: Likewise.
43369 * math/Makefile: Likewise.
43370 * signal/Makefile: Likewise.
43371 * debug/Makefile: Likewise.
43372 * elf/Makefile: Likewise.
43373 * timezone/Makefile: Likewise.
43374 * stdlib/Makefile: Likewise.
43375 * iconvdata/Makefile: Likewise.
43376 * sunrpc/Makefile: Likewise.
43377 * io/Makefile: Likewise.
43378 * argp/Makefile: Likewise.
43379 * inet/Makefile: Likewise.
43380 * hesiod/Makefile: Likewise.
43381 * grp/Makefile: Likewise.
43382 * csu/Makefile: Likewise.
43383 * wctype/Makefile: Likewise.
43384 * crypt/Makefile: Likewise.
43385 * libio/Makefile: Likewise.
43386 * string/Makefile: Likewise.
43387 * nis/Makefile: Likewise.
43388 * resolv/Makefile: Likewise.
43389 * stdio-common/Makefile: Likewise.
43390 * wcsmbs/Makefile: Likewise.
43391 * dlfcn/Makefile: Likewise.
43392 * posix/Makefile: Likewise.
43393
3b7c4e74 43394 [BZ #6959]
482ff4da
UD
43395 * timezone/Makefile: Don't install timezone files, just the programs
43396 and scripts.
43397
f72ed77d
UD
433982012-03-06 Ulrich Drepper <drepper@gmail.com>
43399
a000466f
UD
43400 * nss/databases.def: Add missing gshadow entry.
43401
f72ed77d
UD
43402 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43403
a53b7a4e
MP
434042012-03-06 Marek Polacek <polacek@redhat.com>
43405
43406 [BZ #13726]
43407 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43408 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43409 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43410 * stdio-common/tst-long-dbl-fphex.c: New file.
43411
e9258400
DM
434122012-03-06 David S. Miller <davem@davemloft.net>
43413
43414 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43415 (set_obp_int): New function.
43416 (get_obp_int): New function.
43417 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
43418 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43419 Avoid unused variable warnings on 'val' and use builtin_expect.
43420 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43421 __builtin_expect.
e9258400
DM
43422 (INLINE_CLONE_SYSCALL): Likewise.
43423
3bd2c723
DM
434242012-03-05 David S. Miller <davem@davemloft.net>
43425
43426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43427
bbb78d03
AS
434282012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43429
884c5db4
AS
43430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43431
bbb78d03
AS
43432 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43433 only for |x| >= 40.
43434 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43435
1c9f702a 434362012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
43437
43438 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43439 Replace gettimeofday with __vdso_gettimeofday.
43440
7be16f82
RM
43441 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43442 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43443 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
43444
43445 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43446 time with __vdso_time.
43447
ed58a00f
JM
434482012-03-05 Joseph Myers <joseph@codesourcery.com>
43449
43450 * manual/lang.texi (size_t): Note types to which size_t may be
43451 equivalent with the GNU C Library, but do not describe when
43452 differences between them are significant.
43453
30ee4ced
AJ
434542012-03-05 Andreas Jaeger <aj@suse.de>
43455
43456 * sysdeps/i386/fpu/libm-test-ulps: Update.
43457
b7cd39e8
JM
434582012-03-05 Joseph Myers <joseph@codesourcery.com>
43459
43460 [BZ #3976]
43461 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43462 (__ieee754_pow): Save and restore rounding mode and use
43463 round-to-nearest for main computations.
43464 * math/libm-test.inc (pow_test_tonearest): New function.
43465 (pow_test_towardzero): Likewise.
43466 (pow_test_downward): Likewise.
43467 (pow_test_upward): Likewise.
43468 (main): Call the new functions.
43469 * sysdeps/i386/fpu/libm-test-ulps: Update.
43470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
43471
43472 [BZ #3976]
43473 * math/libm-test.inc (cosh_test_tonearest): New function.
43474 (cosh_test_towardzero): Likewise.
43475 (cosh_test_downward): Likewise.
43476 (cosh_test_upward): Likewise.
43477 (sinh_test_tonearest): Likewise.
43478 (sinh_test_towardzero): Likewise.
43479 (sinh_test_downward): Likewise.
43480 (sinh_test_upward): Likewise.
43481 (main): Call the new functions.
43482 * sysdeps/i386/fpu/libm-test-ulps: Update.
43483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43484
6c6a98c9
TV
434852012-03-05 Tom de Vries <tom@codesourcery.com>
43486
43487 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43488 default stack guard is set in last bytes.
43489 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43490
21bb2d2e 434912012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 43492
21bb2d2e 43493 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 43494
21bb2d2e
AJ
43495 [BZ #13656]
43496 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43497 possibly allocate from heap instead of stack.
43498 * stdio-common/bug-vfprintf-nargs.c: New file.
43499 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 43500
c6922934
AS
435012012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43502
43503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43504
bc957d53
MP
435052012-03-03 Marek Polacek <polacek@redhat.com>
43506
43507 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43508 * math/math_private.h: Likewise.
43509 * stdlib/tst-strtod.c: Likewise.
43510 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43511 * sysdeps/x86_64/bits/atomic.h: Likewise.
43512
6358490d
DM
435132012-03-02 David S. Miller <davem@davemloft.net>
43514
43515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43519 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43520 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43521 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43522 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43523
01ae168d
RM
435242012-03-02 Roland McGrath <roland@hack.frob.com>
43525
d9a17c07
RM
43526 [BZ #13792]
43527 * manual/examples/README: New file, says the example source files
43528 can be used under GPL>=2.
43529 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43530 line containing just "*/".
43531 * manual/examples/add.c: Add copyright header (GPL>=2).
43532 * manual/examples/argp-ex1.c: Likewise.
43533 * manual/examples/argp-ex2.c: Likewise.
43534 * manual/examples/argp-ex3.c: Likewise.
43535 * manual/examples/argp-ex4.c: Likewise.
43536 * manual/examples/atexit.c: Likewise.
43537 * manual/examples/db.c: Likewise.
43538 * manual/examples/dir.c: Likewise.
43539 * manual/examples/dir2.c: Likewise.
43540 * manual/examples/execinfo.c: Likewise.
43541 * manual/examples/filecli.c: Likewise.
43542 * manual/examples/filesrv.c: Likewise.
43543 * manual/examples/fmtmsgexpl.c: Likewise.
43544 * manual/examples/genpass.c: Likewise.
43545 * manual/examples/inetcli.c: Likewise.
43546 * manual/examples/inetsrv.c: Likewise.
43547 * manual/examples/isockad.c: Likewise.
43548 * manual/examples/longopt.c: Likewise.
43549 * manual/examples/memopen.c: Likewise.
43550 * manual/examples/memstrm.c: Likewise.
43551 * manual/examples/mkfsock.c: Likewise.
43552 * manual/examples/mkisock.c: Likewise.
43553 * manual/examples/mygetpass.c: Likewise.
43554 * manual/examples/pipe.c: Likewise.
43555 * manual/examples/popen.c: Likewise.
43556 * manual/examples/rprintf.c: Likewise.
43557 * manual/examples/search.c: Likewise.
43558 * manual/examples/select.c: Likewise.
43559 * manual/examples/setjmp.c: Likewise.
43560 * manual/examples/sigh1.c: Likewise.
43561 * manual/examples/sigusr.c: Likewise.
43562 * manual/examples/stpcpy.c: Likewise.
43563 * manual/examples/strdupa.c: Likewise.
43564 * manual/examples/strftim.c: Likewise.
43565 * manual/examples/strncat.c: Likewise.
43566 * manual/examples/subopt.c: Likewise.
43567 * manual/examples/swapcontext.c: Likewise.
43568 * manual/examples/termios.c: Likewise.
43569 * manual/examples/testopt.c: Likewise.
43570 * manual/examples/testpass.c: Likewise.
43571 * manual/examples/timeval_subtract.c: Likewise.
43572
01ae168d
RM
43573 [BZ #13792]
43574 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43575 function to ...
43576 * manual/timeval_subtract.c.texi: ... here, new file.
43577
49efa33d
DM
435782012-03-02 David S. Miller <davem@davemloft.net>
43579
43580 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43581
28afd92d
JM
435822012-03-02 Joseph Myers <joseph@codesourcery.com>
43583
804360ed
JM
43584 [BZ #3976]
43585 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43586 (__sin): Save and restore rounding mode and use round-to-nearest
43587 for all computations.
43588 (__cos): Save and restore rounding mode and use round-to-nearest
43589 for all computations.
43590 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43591 <fenv.h>.
43592 (tan): Save and restore rounding mode and use round-to-nearest for
43593 all computations.
43594 * math/libm-test.inc (cos_test_tonearest): New function.
43595 (cos_test_towardzero): Likewise.
43596 (cos_test_downward): Likewise.
43597 (cos_test_upward): Likewise.
43598 (sin_test_tonearest): Likewise.
43599 (sin_test_towardzero): Likewise.
43600 (sin_test_downward): Likewise.
43601 (sin_test_upward): Likewise.
43602 (tan_test_tonearest): Likewise.
43603 (tan_test_towardzero): Likewise.
43604 (tan_test_downward): Likewise.
43605 (tan_test_upward): Likewise.
43606 (main): Call the new functions.
43607 * sysdeps/i386/fpu/libm-test-ulps: Update.
43608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43609
a6d06d7b
JM
43610 [BZ #10135]
43611 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43612 small n, then large n, before computing and testing k+n.
43613 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43614 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43615 Likewise.
43616 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43617 Likewise.
43618 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43619 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43620 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43621 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43622 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43623 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43624 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43625 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43626 * math/libm-test.inc (scalbn_test): Add more tests.
43627 (scalbln_test): Likewise.
43628
07e12bb3
JM
43629 * manual/filesys.texi (mode_t): Describe constraints on size and
43630 signedness, not exact equivalence to a particular type.
43631 (ino_t): Likewise.
43632 (ino64_t): Likewise.
43633 (dev_t): Likewise.
43634 (nlink_t): Likewise.
43635 (blkcnt_t): Likewise.
43636 (blkcnt64_t): Likewise.
43637 * manual/llio.texi (off_t): Likewise.
43638
28afd92d
JM
43639 [BZ #3976]
43640 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43641 (__ieee754_exp): Save and restore rounding mode and use
43642 round-to-nearest for all computations.
43643 * math/libm-test.inc (exp_test_tonearest): New function.
43644 (exp_test_towardzero): Likewise.
43645 (exp_test_downward): Likewise.
43646 (exp_test_upward): Likewise.
43647 (main): Call the new functions.
43648 * sysdeps/i386/fpu/libm-test-ulps: Update.
43649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43650
b1eeb65d
CD
436512012-03-01 Chris Demetriou <cgd@google.com>
43652
43653 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43654 have predictable order.
43655
53362a4b
DM
436562012-03-01 David S. Miller <davem@davemloft.net>
43657
3c969083
DM
43658 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43659
759707de
DM
43660 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43661 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43662 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43663 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43664
dfdb8ff2
DM
43665 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43666 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43667 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43669 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43670 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43671 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43672 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43673 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43674
ead89f96
DM
43675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43676
7f66bd07
DM
43677 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43678 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43679 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43680
53362a4b
DM
43681 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43682 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43683 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43684 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43685 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43686 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43687 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43688 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43689 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43690 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43691 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43692 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43693 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43694 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43695 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43696 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43697 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43698 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43699 * sysdeps/sparc/elf/configure: Regenerated.
43700
7b1902cb
JM
437012012-03-01 Joseph Myers <joseph@codesourcery.com>
43702
bec039bc
JM
43703 * configure.in (AS, LD): Require binutils 2.20 or later.
43704 * configure: Regenerated.
43705 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43706 as required minimum version.
43707 * INSTALL: Regenerated.
43708
7b1902cb
JM
43709 [BZ #2541]
43710 [BZ #4108]
43711 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43712 before squaring exponent.
43713 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43714 bottom long double and 27 bits of top long double before squaring
43715 exponent.
43716 * math/libm-test.inc (erfc_test): Add more tests.
43717 * sysdeps/i386/fpu/libm-test-ulps: Update.
43718 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43720
f775c276
KT
437212012-03-01 Kai Tietz <ktietz@redhat.com>
43722
43723 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43724 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43725 containing bit-fields.
43726 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43727 * soft-fp/single.h (_FP_UNION_S): Likewise.
43728 * soft-fp/double.h (_FP_UNION_D): Likewise.
43729
5b8a4d4a
JM
437302012-02-29 Joseph Myers <joseph@codesourcery.com>
43731
0bab47b6
JM
43732 [BZ #13786]
43733 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43734 not include ../strcmp.S.
43735 [USE_AS_STRNCASECMP_L]: Likewise.
43736 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43737 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43738 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43739 (__strncasecmp_l_ia32): Define as alias to
43740 __strncasecmp_l_nonascii.
43741
0fcad3e2
JM
43742 [BZ #5794]
43743 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43744 * sysdeps/i386/fpu/libm-test-ulps: Update.
43745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43746
5b8a4d4a
JM
43747 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43749
8fdceb2e
JL
437502012-02-29 Jeff Law <law@redhat.com>
43751
43752 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43753 out of bounds read.
43754
1f393a11
MP
437552012-02-29 Marek Polacek <polacek@redhat.com>
43756
43757 [BZ #13706]
43758 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43759 * elf/Makefile: Add rules to run tst-unused-dep.out.
43760
8847f037
DM
437612012-02-28 David S. Miller <davem@davemloft.net>
43762
43763 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43764 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43765 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43766 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43767 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43768 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43769
169d7f11
JM
437702012-02-29 Joseph Myers <joseph@codesourcery.com>
43771
43772 * math/libm-test.inc (llround_test): Move one test from
43773 lround_test. Use TEST_f_L in moved test.
43774 (lround_test): Move misplaced test to llround_test. Add testcase
43775 from bug 2561.
43776
39adf059
UD
437772012-02-28 Ulrich Drepper <drepper@gmail.com>
43778
43779 * sysdeps/x86_64/fpu/e_expf.S: New file.
43780 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43781
71b5d1c5
SB
437822012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43783
43784 [BZ #13637]
43785 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43786 of remain_len that may cause incomplete multi-byte character and
43787 false match.
43788 * posix/bug-regex33.c: New file.
43789 * posix/Makefile (tests): Add bug-regex33.
43790
1f77f049
JM
437912012-02-28 Joseph Myers <joseph@codesourcery.com>
43792
43793 * manual/macros.texi: New file.
43794 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43795 * manual/libc.texinfo: Include macros.texi.
43796 * manual/creatute.texi: Likewise.
43797 * manual/install.texi: Likewise.
43798 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43799 @glibcadj{} in references to the GNU C Library.
43800 * manual/charset.texi: Likewise.
43801 * manual/conf.texi: Likewise.
43802 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43803 when not using those macros.
43804 * manual/creature.texi: Likewise.
43805 * manual/crypt.texi: Likewise.
43806 * manual/errno.texi: Likewise.
43807 * manual/filesys.texi: Likewise.
43808 * manual/header.texi: Likewise.
43809 * manual/install.texi: Likewise.
43810 * manual/intro.texi: Likewise.
43811 * manual/io.texi: Likewise.
43812 * manual/job.texi: Likewise.
43813 * manual/lang.texi: Likewise.
43814 * manual/libc.texiinfo: Likewise.
43815 * manual/llio.texi: Likewise.
43816 * manual/locale.texi: Likewise.
43817 * manual/maint.texi: Likewise.
43818 * manual/math.texi: Likewise.
43819 * manual/memory.texi: Likewise.
43820 * manual/message.texi: Likewise.
43821 * manual/nss.texi: Likewise.
43822 * manual/pattern.texi: Likewise.
43823 * manual/process.texi: Likewise.
43824 * manual/resource.texi: Likewise.
43825 * manual/search.texi: Likewise.
43826 * manual/setjmp.texi: Likewise.
43827 * manual/signal.texi: Likewise.
43828 * manual/socket.texi: Likewise.
43829 * manual/startup.texi: Likewise.
43830 * manual/stdio.texi: Likewise.
43831 * manual/string.texi: Likewise.
43832 * manual/sysinfo.texi: Likewise.
43833 * manual/syslog.texi: Likewise.
43834 * manual/terminal.texi: Likewise.
43835 * manual/time.texi: Likewise.
43836 * manual/users.texi: Likewise.
43837 * INSTALL: Regenerated.
43838 * NOTES: Regenerated.
d40c5d54 43839 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43840
450bf206
AS
438412012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43842
43843 * include/dirent.h: Include <dirstream.h> before
43844 <dirent/dirent.h>.
43845
741a235b
DM
438462012-02-28 David S. Miller <davem@davemloft.net>
43847
43848 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43849 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43850 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43851 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43852
d6b5aa58
DM
438532012-02-27 David S. Miller <davem@davemloft.net>
43854
1aff59a3
DM
43855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43857 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43858 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43859
d6b5aa58
DM
43860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43861 frame pointer instead of stack pointer relative arg slot.
43862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43863 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43864 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43865
433f48bf
CD
438662012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43867
43868 [BZ #3992]
43869 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43870
d674b76d
DM
438712012-02-27 David S. Miller <davem@davemloft.net>
43872
43873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43877 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43878 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43879 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43880 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43881
0e7727f7
JM
438822012-02-27 Joseph Myers <joseph@codesourcery.com>
43883
43884 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43885 later. Allow versions 5-9.
43be4ca2 43886 * configure: Regenerated.
0e7727f7
JM
43887 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43888 required minimum version and 4.6 as recommended version. Do not
43889 mention bugs in GCC 2.7 and 2.8.
43be4ca2 43890 * INSTALL: Regenerated.
0e7727f7 43891
a78bc654
DM
438922012-02-27 David S. Miller <davem@davemloft.net>
43893
428d5830
DM
43894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43898 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43899 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43900 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43901 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43902
a78bc654
DM
43903 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43904 manipulate bits before adding and subtracting TWO112[sx].
43905 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43906
4579f81c
RM
439072012-02-27 Roland McGrath <roland@hack.frob.com>
43908
36c8acb4
RM
43909 [BZ #13775]
43910 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43911 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43912 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43913 being in POSIX, because they are in 1003.1-2008.
43914
84ad622b
RM
43915 * rt/tst-aio.c: Include <fcntl.h>.
43916 * rt/tst-aio7.c: Likewise.
43917 * rt/tst-aio64.c: Likewise.
43918
4579f81c
RM
43919 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43920
abd923db
JM
439212012-02-27 Joseph Myers <joseph@codesourcery.com>
43922
43923 * manual/install.texi (--with-headers): Describe headers as
43924 interface headers, not private headers.
43925 (Specific advice for GNU/Linux systems): Describe use of headers
43926 from "make headers_install", not private headers from older
43927 kernels.
43be4ca2 43928 * INSTALL: Regenerated.
abd923db
JM
43929 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43930 Change to 2.6.19.
43931 * sysdeps/unix/sysv/linux/configure: Regenerated.
43932
6664049b
JM
43933 * manual/llio.texi (fclean): Remove documentation.
43934
bb8b6697
JM
43935 * manual/Makefile (libc-texi-generated): New variable. Include
43936 version.texi.
43937 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43938 $(libc-texi-generated), not duplicated list of files.
43939 (version.texi, stamp-version): New rules.
43940 (realclean): Remove $(libc-texi-generated), not individual files
43941 from that list. Do not remove dir-add.texinfo.
43942 * manual/libc.texinfo: Comment out uses of edition numbers and
43943 references to printed manual. Remove last-updated dates.
43944 (EDITION): Comment out.
43945 (ISBN): Likewise.
43946 (VERSION, UPDATED): Remove.
43947 (version.texi): Include.
43948
12e5c3b9
AS
439492012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43950
43951 * sysdeps/posix/spawni.c: Include <signal.h>.
43952 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43953 * sysdeps/pthread/aio_fsync.c: Likewise.
43954
4efeffc1 439552012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 43956
ba63ba08
UD
43957 * conform/Makefile (tests): Run only when not cross-compiling and
43958 when fast-check is not defined.
43959
d94a4670
UD
43960 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43961 * conform/data/limits.h-data: Fixes for POSIX2008.
43962 * conform/run-conformtest.sh: Run all tests.
43963 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43964 headers.
43965 * include/bits/dlfcn.h: Likewise.
43966 * include/langinfo.h: Likewise.
43967 * include/monetary.h: Likewise.
43968 * include/sys/poll.h: Likewise.
43969
43970 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43971 for __USE_GNU.
43972 * posix/spawn.h: Define __need_sigset_t.
43973 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43974 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43975 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43976 to get sigevent_t only.
43977 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43978 only for __USE_GNU.
43979 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43980 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43981 process_vm_writev only for __USE_GNU.
43982 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
43983
43984 * conform/Makefile: For now ignore errors from run-conformtest.
43985 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43986 POSIX to avoid namespace pollution. Don't prepend headers.
43987 * conform/data/aio.h-data: Fixes for POSIX testing.
43988 * conform/data/fcntl.h-data: Likewise.
43989 * conform/data/glob.h-data: Likewise.
43990 * conform/data/grp.h-data: Likewise.
43991 * conform/data/pthread.h-data: Likewise.
43992 * conform/data/pwd.h-data: Likewise.
43993 * conform/data/signal.h-data: Likewise.
43994 * conform/data/spawn.h-data: Likewise.
43995 * conform/data/stdio.h-data: Likewise.
43996 * conform/data/stdlib.h-data: Likewise.
43997 * conform/data/stropts.h-data: Likewise.
43998 * conform/data/sys/mman.h-data: Likewise.
43999 * conform/data/sys/stat.h-data: Likewise.
44000 * conform/data/sys/types.h-data: Likewise.
44001 * conform/data/sys/wait.h-data: Likewise.
44002 * conform/data/time.h-data: Likewise.
44003 * conform/data/unistd.h-data: Likewise.
44004 * conform/data/utime.h-data: Likewise.
44005
44006 * io/sys/stat.h: fchmod was always in POSIX.
44007 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44008 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44009 * rt/aio.h: Define __need_timespec before including <time.h>.
44010 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44011 struct. Add forward declaration of pthread_attr_t and use it in
44012 sigevent.
44013 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44014 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44015 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44016 always remove CLK_TCK definition.
44017
c20105c3
AS
440182012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44019
44020 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44021
7a270350
UD
440222012-02-25 Ulrich Drepper <drepper@gmail.com>
44023
31341567
UD
44024 * conform/run-conformtest.sh: New file.
44025 * conform/Makefile: Run run-conformtest for tests.
44026 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44027 support.
44028
44029 * conform/data/uchar.h-data: New file.
44030 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44031 * conform/data/arpa/inet.h-data: Likewise.
44032 * conform/data/assert.h-data: Likewise.
44033 * conform/data/complex.h-data: Likewise.
44034 * conform/data/cpio.h-data: Likewise.
44035 * conform/data/ctype.h-data: Likewise.
44036 * conform/data/dirent.h-data: Likewise.
44037 * conform/data/dlfcn.h-data: Likewise.
44038 * conform/data/errno.h-data: Likewise.
44039 * conform/data/fcntl.h-data: Likewise.
44040 * conform/data/float.h-data: Likewise.
44041 * conform/data/fmtmsg.h-data: Likewise.
44042 * conform/data/fnmatch.h-data: Likewise.
44043 * conform/data/ftw.h-data: Likewise.
44044 * conform/data/glob.h-data: Likewise.
44045 * conform/data/grp.h-data: Likewise.
44046 * conform/data/iconv.h-data: Likewise.
44047 * conform/data/inttypes.h-data: Likewise.
44048 * conform/data/langinfo.h-data: Likewise.
44049 * conform/data/libgen.h-data: Likewise.
44050 * conform/data/limits.h-data: Likewise.
44051 * conform/data/locale.h-data: Likewise.
44052 * conform/data/math.h-data: Likewise.
44053 * conform/data/monetary.h-data: Likewise.
44054 * conform/data/mqueue.h-data: Likewise.
44055 * conform/data/ndbm.h-data: Likewise.
44056 * conform/data/net/if.h-data: Likewise.
44057 * conform/data/netdb.h-data: Likewise.
44058 * conform/data/netinet/in.h-data: Likewise.
44059 * conform/data/nl_types.h-data: Likewise.
44060 * conform/data/poll.h-data: Likewise.
44061 * conform/data/pthread.h-data: Likewise.
44062 * conform/data/pwd.h-data: Likewise.
44063 * conform/data/regex.h-data: Likewise.
44064 * conform/data/sched.h-data: Likewise.
44065 * conform/data/search.h-data: Likewise.
44066 * conform/data/semaphore.h-data: Likewise.
44067 * conform/data/setjmp.h-data: Likewise.
44068 * conform/data/signal.h-data: Likewise.
44069 * conform/data/spawn.h-data: Likewise.
44070 * conform/data/stdarg.h-data: Likewise.
44071 * conform/data/stdio.h-data: Likewise.
44072 * conform/data/stdlib.h-data: Likewise.
44073 * conform/data/string.h-data: Likewise.
44074 * conform/data/strings.h-data: Likewise.
44075 * conform/data/stropts.h-data: Likewise.
44076 * conform/data/sys/ipc.h-data: Likewise.
44077 * conform/data/sys/mman.h-data: Likewise.
44078 * conform/data/sys/msg.h-data: Likewise.
44079 * conform/data/sys/resource.h-data: Likewise.
44080 * conform/data/sys/select.h-data: Likewise.
44081 * conform/data/sys/sem.h-data: Likewise.
44082 * conform/data/sys/shm.h-data: Likewise.
44083 * conform/data/sys/socket.h-data: Likewise.
44084 * conform/data/sys/stat.h-data: Likewise.
44085 * conform/data/sys/statvfs.h-data: Likewise.
44086 * conform/data/sys/time.h-data: Likewise.
44087 * conform/data/sys/timeb.h-data: Likewise.
44088 * conform/data/sys/times.h-data: Likewise.
44089 * conform/data/sys/types.h-data: Likewise.
44090 * conform/data/sys/uio.h-data: Likewise.
44091 * conform/data/sys/un.h-data: Likewise.
44092 * conform/data/sys/utsname.h-data: Likewise.
44093 * conform/data/sys/wait.h-data: Likewise.
44094 * conform/data/syslog.h-data: Likewise.
44095 * conform/data/tar.h-data: Likewise.
44096 * conform/data/termios.h-data: Likewise.
44097 * conform/data/utime.h-data: Likewise.
44098 * conform/data/utmpx.h-data: Likewise.
44099 * conform/data/varargs.h-data: Likewise.
44100 * conform/data/wchar.h-data: Likewise.
44101 * conform/data/wctype.h-data: Likewise.
44102 * conform/data/wordexp.h-data: Likewise.
44103
44104 * include/stropts.h: New file.
44105 * include/uchar.h: New file.
44106 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44107 * include/assert.h: Likewise.
44108 * include/ctype.h: Likewise.
44109 * include/dirent.h: Likewise.
44110 * include/dlfcn.h: Likewise.
44111 * include/fcntl.h: Likewise.
44112 * include/fnmatch.h: Likewise.
44113 * include/glob.h: Likewise.
44114 * include/grp.h: Likewise.
44115 * include/libio.h: Likewise.
44116 * include/locale.h: Likewise.
44117 * include/math.h: Likewise.
44118 * include/net/if.h: Likewise.
44119 * include/netdb.h: Likewise.
44120 * include/netinet/in.h: Likewise.
44121 * include/pthread.h: Likewise.
44122 * include/pwd.h: Likewise.
44123 * include/regex.h: Likewise.
44124 * include/sched.h: Likewise.
44125 * include/search.h: Likewise.
44126 * include/setjmp.h: Likewise.
44127 * include/signal.h: Likewise.
44128 * include/stdio.h: Likewise.
44129 * include/stdlib.h: Likewise.
44130 * include/string.h: Likewise.
44131 * include/sys/cdefs.h: Likewise.
44132 * include/sys/mman.h: Likewise.
44133 * include/sys/msg.h: Likewise.
44134 * include/sys/resource.h: Likewise.
44135 * include/sys/select.h: Likewise.
44136 * include/sys/socket.h: Likewise.
44137 * include/sys/stat.h: Likewise.
44138 * include/sys/statvfs.h: Likewise.
44139 * include/sys/time.h: Likewise.
44140 * include/sys/times.h: Likewise.
44141 * include/sys/uio.h: Likewise.
44142 * include/sys/utsname.h: Likewise.
44143 * include/sys/wait.h: Likewise.
44144 * include/termios.h: Likewise.
44145 * include/time.h: Likewise.
44146 * include/ulimit.h: Likewise.
44147 * include/unistd.h: Likewise.
44148 * include/utime.h: Likewise.
44149 * include/wchar.h: Likewise.
44150 * include/wctype.h: Likewise.
44151 * include/wordexp.h: Likewise.
44152
44153 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44154
7a270350
UD
44155 * time/time.h: TIME_UTC must be a macro.
44156 Make timespec_get available for ISO C11 only as well.
44157
7724defc
UD
441582012-02-24 Ulrich Drepper <drepper@gmail.com>
44159
44160 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44161 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44162
6b1d1d46
JM
441632012-02-24 Joseph Myers <joseph@codesourcery.com>
44164
44165 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 44166
0f8bbd69
JM
441672012-02-24 Joseph Myers <joseph@codesourcery.com>
44168
44169 * manual/texinfo.tex: Update to version 2012-01-19.16.
44170
66ab80bc
JM
441712012-02-24 Joseph Myers <joseph@codesourcery.com>
44172
44173 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44174
74981cc5
RM
441752012-02-24 Roland McGrath <roland@hack.frob.com>
44176
ee968201
RM
44177 [BZ #13738]
44178 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44179 * manual/fdl-1.3.texi: New file.
44180 * manual/fdl-1.1.texi: File removed.
44181
74981cc5
RM
44182 [BZ #13738]
44183 * manual/libc.texinfo (FDL_VERSION): New @set.
44184 Use it for mention of FDL in cover text.
44185 (Documentation License): Use it in @include file name.
44186
7bb764bc
JM
441872012-02-22 Joseph Myers <joseph@codesourcery.com>
44188 Roland McGrath <roland@hack.frob.com>
44189
44190 [BZ #5461]
57f41c40
AS
44191 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44192 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
44193 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44194 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44195 name.
44196 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44197
6cbeae47
JM
441982012-02-22 Joseph Myers <joseph@codesourcery.com>
44199
44200 [BZ #2547]
44201 [BZ #11365]
44202 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44203 manipulate bits before adding and subtracting TWO23[sx].
44204 * math/libm-test.inc (nearbyint_test): Add more tests.
44205
fe45ce09
JM
442062012-02-22 Joseph Myers <joseph@codesourcery.com>
44207
44208 [BZ #2548]
44209 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44210 bits before adding and subtracting TWO23[sx].
44211 * math/libm-test.inc (rint_test): Add more tests.
44212 (rint_test_tonearest): Likewise.
44213 (rint_test_towardzero): Likewise.
44214 (rint_test_downward): Likewise.
44215 (rint_test_upward: Likewise.
44216
ff3b3d82
JM
442172012-02-22 Joseph Myers <joseph@codesourcery.com>
44218
44219 [BZ #10110]
44220 * include/stdc-predef.h: New file. Extracted from features.h.
44221 * include/features.h: Include stdc-predef.h.
44222 * Makefile (headers): Add stdc-predef.h.
44223 * CONFORMANCE (Compiler limitations): Update.
44224
ef0aab35
JM
442252012-02-22 Joseph Myers <joseph@codesourcery.com>
44226
44227 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44228
58639409
DM
442292012-02-21 David S. Miller <davem@davemloft.net>
44230
44231 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44232 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44233
c0e70b25
DM
442342012-02-20 David S. Miller <davem@davemloft.net>
44235
44236 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44237 using a normal save/restore sequence, rather than allocating a
44238 dummy stack frame just to store a frame pointer and restore.
44239 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44240
fb06851d
JM
442412012-02-21 Joseph Myers <joseph@codesourcery.com>
44242
44243 * manual/install.texi: Fix stray word in line-wrapped comment.
44244
7a8b71c3
DM
442452012-02-20 David S. Miller <davem@davemloft.net>
44246
d510c123
DM
44247 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44248 both binutils and gcc support GOTDATA.
44249
0722d7c2
DM
44250 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44251 "rd %pc" in the PIC register setup sequences.
44252
3d2b3019
DM
44253 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44254 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44255 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44256 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44257 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44259 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44260 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44261 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44262 (SYSCALL_ERROR_HANDLER): Likewise.
44263 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44264 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44265 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44266 (SYSCALL_ERROR_HANDLER): Likewise.
44267
c80098a9
DM
44268 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44269 (HAVE_GCC_GOTDATA): New.
44270 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44271 relocation support in both binutils and gcc.
44272 * sysdeps/sparc/elf/configure: Regenerate.
44273
3a2545a0
DM
44274 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44275 * sysdeps/sparc/sparc32/elf/configure: Delete.
44276 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44277 * sysdeps/sparc/sparc64/elf/configure: Delete.
44278 * sysdeps/sparc/elf/configure.in: New file.
44279 * sysdeps/sparc/elf/configure: Generate.
44280
7a8b71c3
DM
44281 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44282 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44283 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44284 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44285 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44286
f1e86fca
JM
442872012-02-21 Joseph Myers <joseph@codesourcery.com>
44288
44289 * manual/install.texi: Do not mention specific glibc version
44290 numbers.
44291 * manual/libc.texinfo (VERSION, UPDATED): Update.
44292 (@copying): Use @copyright{} and range of years.
44293
0e7dfaef
JM
442942012-02-21 Joseph Myers <joseph@codesourcery.com>
44295
44296 [BZ #13695]
44297 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44298 [crti.S not in sysdirs] (generated): Do not append.
44299 [crti.S not in sysdirs] (omit-deps): Likewise.
44300 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44301 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44302 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44303 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44304 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44305 Likewise.
44306 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44307 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44308 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44309 * csu/defs.awk: Remove file.
44310 * sysdeps/generic/initfini.c: Likewise.
44311 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44312 variable.
44313 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44314 Likewise.
44315
599af3ca
JM
443162012-02-20 Joseph Myers <joseph@codesourcery.com>
44317
44318 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44319 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44320 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44321 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44322 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44323 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44324 <bits/epoll.h>.
44325 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44326 (__EPOLL_PACKED): Define to empty if not defined by
44327 <bits/epoll.h>.
44328 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44330 bits/epoll.h.
44331
0e499750
JM
443322012-02-20 Joseph Myers <joseph@codesourcery.com>
44333
44334 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44335 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44336 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44337 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44338 <bits/timerfd.h>.
44339 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44341 bits/timerfd.h.
44342
5ad91f6e
JM
443432012-02-20 Joseph Myers <joseph@codesourcery.com>
44344
44345 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44346 in C locale.
44347 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44348 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44349 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44351
06b99b02
AJ
443522012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44353
44354 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44355 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44356
7638c0fd
AS
443572012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44358
44359 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44360 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44361 defined.
44362 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44363 Likewise.
44364 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44365 entry for 2.16.
44366
92221550
AJ
443672012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44368
44369 * math/w_acos.c: Use non-signaling floating-point comparisons.
44370 * math/w_acosf.c: Likewise.
44371 * math/w_acosh.c: Likewise.
44372 * math/w_acoshf.c: Likewise.
44373 * math/w_acoshl.c: Likewise.
44374 * math/w_acosl.c: Likewise.
44375 * math/w_asin.c: Likewise.
44376 * math/w_asinf.c: Likewise.
44377 * math/w_asinl.c: Likewise.
44378 * math/w_atanh.c: Likewise.
44379 * math/w_atanhf.c: Likewise.
44380 * math/w_atanhl.c: Likewise.
44381 * math/w_exp2.c: Likewise.
44382 * math/w_exp2f.c: Likewise.
44383 * math/w_exp2l.c: Likewise.
44384 * math/w_j0.c: Likewise.
44385 * math/w_j0f.c: Likewise.
44386 * math/w_j0l.c: Likewise.
44387 * math/w_j1.c: Likewise.
44388 * math/w_j1f.c: Likewise.
44389 * math/w_j1l.c: Likewise.
44390 * math/w_jn.c: Likewise.
44391 * math/w_jnf.c: Likewise.
44392 * math/w_log.c: Likewise.
44393 * math/w_log10.c: Likewise.
44394 * math/w_log10f.c: Likewise.
44395 * math/w_log10l.c: Likewise.
44396 * math/w_log2.c: Likewise.
44397 * math/w_log2f.c: Likewise.
44398 * math/w_log2l.c: Likewise.
44399 * math/w_logf.c: Likewise.
44400 * math/w_logl.c: Likewise.
44401 * math/w_sqrt.c: Likewise.
44402 * math/w_sqrtf.c: Likewise.
44403 * math/w_sqrtl.c: Likewise.
44404 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44405 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44406 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44407 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44408 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44409
ebaf36eb
JM
444102012-02-19 Joseph Myers <joseph@codesourcery.com>
44411
44412 [BZ #9739]
44413 * manual/string.texi (strnlen): Use correct parameter name in
44414 equivalent expression.
44415
71c254a6
JM
444162012-02-19 Joseph Myers <joseph@codesourcery.com>
44417
44418 [BZ #11174]
44419 * manual/users.texi (seteuid): Consistently use neweuid for
44420 argument name.
44421
16d2c631
JM
444222012-02-19 Joseph Myers <joseph@codesourcery.com>
44423
44424 [BZ #13704]
44425 * manual/nss.texi (Services in the NSS configuration): Correct
44426 list of services in example configuration file.
44427
cd837b09
NB
444282012-02-19 Nick Bowler <nbowler@draconx.ca>
44429
44430 [BZ #11322]
44431 * manual/arith.texi: Remove statements about negative zero
44432 behaving identically to zero.
44433
02c4bbad
JM
444342012-02-18 Joseph Myers <joseph@codesourcery.com>
44435
44436 [BZ #5993]
44437 * manual/install.texi: Do not document upgrading from libc5.
44438
366842e7
JM
444392012-02-18 Joseph Myers <joseph@codesourcery.com>
44440
44441 [BZ #4596]
44442 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44443
dd54084d
DM
444442012-02-18 David S. Miller <davem@davemloft.net>
44445
44446 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44447 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44448 %o7 across the call.
44449 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44450 instead.
44451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44452 SETUP_PIC_REG_LEAF.
44453 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44454 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44455 * sysdeps/sparc/crtn.S: Likewise.
44456
2bcc53a3
UD
444572012-02-17 Ulrich Drepper <drepper@gmail.com>
44458
44459 * aout/Makefile: Remove.
44460
09c093b5
RK
444612012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44462
44463 [BZ #13058]
44464 * manual/examples/argp-ex1.c (main): Format definition in GNU
44465 style.
44466 * manual/examples/argp-ex2.c (main): Likewise.
44467 * manual/examples/argp-ex3.c (main): Likewise.
44468 * manual/examples/argp-ex4.c (main): Likewise.
44469 * manual/examples/longopt.c (main): Use new-style prototype
44470 definition.
44471 * manual/examples/strncat.c (main): Specify return type and use
44472 (void) for arguments.
44473 * manual/examples/subopt.c (main): Use char **argv argument.
44474
2ee633a2
JM
444752012-02-17 Joseph Myers <joseph@codesourcery.com>
44476
44477 [BZ #5077]
44478 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44479 rounding modes.
44480
0520adde
FB
444812012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44482
44483 [BZ #6907]
44484 * manual/string.texi (strchr): Change when strchrnul is
44485 recommended.
44486
3f4081cd
DGM
444872012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44488
44489 [BZ #174]
44490 * manual/locale.texi (setlocale): Document LOCPATH.
44491
d1b10e78
JM
444922012-02-17 Joseph Myers <joseph@codesourcery.com>
44493
44494 [BZ #10210]
44495 * manual/process.texi (execle): Move @dots{} before last argument.
44496
79c6869c
PB
444972012-02-17 Paul Bolle <pebolle@tiscali.nl>
44498
44499 [BZ #12047]
44500 * manual/charset.texi (Generic Charset Conversion): Fix typo
44501 (LC_TYPE -> LC_CTYPE).
44502
cc6e48bc
NB
445032012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44504
44505 [BZ #5805]
44506 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44507 (scalbnf): Likewise.
44508 (scalbnl): Likewise.
44509 (scalbln): Likewise.
44510 (scalblnf): Likewise.
44511 (scalblnl): Likewise.
44512 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44513 (vwarnx): Likewise.
44514 (verr): Likewise.
44515 (verrx): Likewise.
44516 * manual/filesys.texi (telldir): Use braces around return type.
44517 * manual/llio.texi (mmap): Add space after comma.
44518 (mmap64): Likewise.
44519 * manual/math.texi (jn): Use @var{} on parameter names.
44520 (jnf): Likewise.
44521 (jnl): Likewise.
44522 (yn): Likewise.
44523 (ynf): Likewise.
44524 (ynl): Likewise.
44525 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44526 line.
44527 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44528 "...".
44529 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44530 (sched_get_priority_max): Likewise.
44531 * manual/signal.texi (sigvec): Add space after comma.
44532 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44533 names.
44534 (if_indextoname): Likewise.
44535 (if_freenameindex): Likewise.
44536 (sendto): Use ',' instead of '.' in prototype.
44537 * manual/startup.texi (syscall): Use @dots{} instead of literal
44538 "...".
44539 * manual/stdio.texi (__fpending): Separate initial words of
44540 paragraph from @deftypefun line.
44541 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44542 "...".
44543 (vsyslog): Use @var{} on parameter names.
44544 * manual/terminal.texi (stty): Use @var{} on parameter names.
44545 * manual/users.texi (getutmp): Use @var{} on parameter names.
44546 (getutmpx): Likewise.
44547
5b23062f
JM
445482012-02-17 Joseph Myers <joseph@codesourcery.com>
44549
44550 [BZ #6884]
44551 * manual/stdio.texi (fopen): Fix typos in description of
44552 ",ccs=STRING".
44553
8dee4833
AJ
445542012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44555
44556 [BZ #4026]
44557 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44558 get clock_id definition.
44559
9078ce93
TS
445602012-02-17 Thomas Schwinge <thomas@schwinge.name>
44561
44562 [BZ #4822]
44563 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44564 (madvise): Cast every argument to void on its own.
44565
3835c55f
JM
445662012-02-17 Joseph Myers <joseph@codesourcery.com>
44567
44568 [BZ #9902]
44569 * manual/startup.texi (Exit Status): Fix typo.
44570
35c47e37
JM
445712012-02-17 Joseph Myers <joseph@codesourcery.com>
44572
44573 [BZ #10140]
44574 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44575 * manual/examples/argp-ex2.c: Likewise.
44576 * manual/examples/argp-ex3.c: Likewise.
44577
e3b69ca7
RH
445782012-02-16 Richard Henderson <rth@redhat.com>
44579
44580 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44581 * sysdeps/s390/s390-32/initfini.c: Remove.
44582 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44583 * sysdeps/s390/s390-64/initfini.c: Remove.
44584
df83af67
KK
445852012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44586
44587 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44588 compiler output for sysdeps/generic/initfini.c.
44589 * sysdeps/sh/elf/initfini.c: Remove file.
44590
f63f3380
DM
445912012-02-16 David S. Miller <davem@davemloft.net>
44592
fb59b3a4
DM
44593 [BZ #11494]
44594 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44595
f63f3380
DM
44596 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44597 * sysdeps/sparc/crti.S: New file.
44598 * sysdeps/sparc/crtn.S: New file.
44599 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44600 * sysdeps/sparc/sparc64/Makefile: Likewise.
44601
df6a4a4a
MF
446022012-02-15 Mike Frysinger <vapier@gentoo.org>
44603
6dd8f3dc 44604 [BZ #3335]
df6a4a4a
MF
44605 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44606
1cac7236
RM
446072012-02-15 Roland McGrath <roland@hack.frob.com>
44608
d2c736f8
RM
44609 [BZ #4822]
44610 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44611
1cac7236
RM
44612 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44613 (write, read, close): Likewise.
44614 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44615
8e475601
JM
446162012-02-15 Joseph Myers <joseph@codesourcery.com>
44617
44618 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44619 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44620 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44621 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44622 <bits/signalfd.h>.
44623 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44625 bits/signalfd.h.
44626
ed656b40
MP
446272012-02-14 Marek Polacek <polacek@redhat.com>
44628
44629 * sysdeps/x86_64/crti.S: New file.
44630 * sysdeps/x86_64/crtn.S: New file.
44631 * sysdeps/x86_64/elf/initfini.c: Remove file.
44632
2a979d3a
JM
446332012-02-13 Joseph Myers <joseph@codesourcery.com>
44634
44635 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44636 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44637 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44638 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44639 <bits/inotify.h>.
44640 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44642 bits/inotify.h.
44643
2a418ac3
JM
446442012-02-13 Joseph Myers <joseph@codesourcery.com>
44645
44646 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44647 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44648 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44649 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44650 <bits/eventfd.h>.
44651 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44653 bits/eventfd.h.
44654
fb779be7
TS
446552012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44656
e19e83c5
RM
44657 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44658 __feraiseexcept instead of feraiseexcept.
7c35ffed 44659
fb779be7
TS
44660 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44661 nanosleep invocations.
44662 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44663 strings, and add error checking for a nanosleep invocations.
44664
59ba27a6
PE
446652012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44666
44667 Replace FSF snail mail address with URLs, as per GNU coding standards.
44668 Most of the snail mail addresses were wrong anyway, and omitting
44669 them makes the source code easier to maintain. Almost all of the
44670 changes are to license notices and to locale LC_IDENTIFICATION
44671 addresses, except for this one:
44672 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44673 not its snail mail address.
44674
57b957eb
RH
446752012-02-09 Richard Henderson <rth@twiddle.net>
44676
af850b1c
RH
44677 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44678 of kernel-features.h.
44679
57b957eb
RH
44680 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44681
6b73181a
MP
446822012-02-08 Marek Polacek <polacek@redhat.com>
44683
44684 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44685 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44686 * sysdeps/gnu/_G_config.h: Likewise.
44687 * sysdeps/generic/_G_config.h: Likewise.
44688
26ecc33a
AS
446892012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44690
6c6dbc63
AS
44691 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44692 tests.
44693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44694
e216c012
AS
44695 * sysdeps/powerpc/powerpc32/crti.S: New file.
44696 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44697 * sysdeps/powerpc/powerpc64/crti.S: New file.
44698 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44699
26ecc33a
AS
44700 * Makeconfig (have-initfini): Don't set.
44701 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44702 * configure.in (nopic_initfini): Don't substitute.
44703 * config.h.in (HAVE_INITFINI): Don't #undef.
44704 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44705 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44706
3add8e13
JM
447072012-02-08 Joseph Myers <joseph@codesourcery.com>
44708
44709 Support crti.S and crtn.S provided directly by architectures.
44710 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44711 [crti.S in sysdirs] (omit-deps): Likewise.
44712 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44713 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44714 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44715 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44716 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44717 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44718 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44719 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44720 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44721 compiler output for sysdeps/generic/initfini.c.
44722 * sysdeps/i386/elf/Makefile: Remove file.
44723 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44724
a22f12b4
MP
447252012-02-07 Marek Polacek <polacek@redhat.com>
44726
44727 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44728 * sysdeps/gnu/_G_config.h: Likewise.
44729 * sysdeps/mach/hurd/_G_config.h: Likewise.
44730
148cf100
MP
447312012-02-07 Marek Polacek <polacek@redhat.com>
44732
44733 * math/Makefile (tests): Add tst-CMPLX2.
44734 * math/tst-CMPLX2.c: New file.
44735
cfdc0dd7
AS
447362012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44737
84ba42c4
AS
44738 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44739
cfdc0dd7
AS
44740 * math/libm-test.inc (jn_test): Add missing L suffix.
44741
622c86f4
MP
447422012-02-06 Marek Polacek <polacek@redhat.com>
44743
44744 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44745 * sysdeps/i386/fpu/e_powf.S: Likewise.
44746 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44747 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44748 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44749 * sysdeps/i386/fpu/e_pow.S: Likewise.
44750 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44751 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44752 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44753 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44754 * sysdeps/i386/fpu/e_log2.S: Likewise.
44755 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44756 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44757 * sysdeps/i386/fpu/e_powl.S: Likewise.
44758 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44759 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44760 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44761 * sysdeps/i386/fpu/e_logl.S: Likewise.
44762 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44763 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44764 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44765 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44766 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44767 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44768 * sysdeps/i386/fpu/e_log.S: Likewise.
44769 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44770 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44771 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44772 * sysdeps/i386/fpu/e_logf.S: Likewise.
44773 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44774 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44775 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44776 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44777 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44778 * sysdeps/i386/fpu/e_log10.S: Likewise.
44779 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44780 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44781 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44782 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44783 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44784 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44785 * sysdeps/i386/asm-syntax.h: Likewise.
44786 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44787 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44788 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44789 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44790 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44791 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44792 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44793 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44794 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44795 * sysdeps/powerpc/sysdep.h: Likewise.
44796 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44797 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44798
d4a54ac6
JM
447992012-02-06 Joseph Myers <joseph@codesourcery.com>
44800
44801 [BZ #411]
44802 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44803
314054ea
JM
448042012-02-06 Joseph Myers <joseph@codesourcery.com>
44805
44806 * sysdeps/i386/sysdep.h: Include <features.h>.
44807 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44808 version.
44809
d8e0ca50
JM
448102012-02-05 Joseph Myers <joseph@codesourcery.com>
44811
44812 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44813 Define.
44814 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44815 LOAD_PIC_REG_STR.
44816
b1da7dd9
JM
448172012-02-03 Joseph Myers <joseph@codesourcery.com>
44818
44819 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44820 (SETUP_PIC_REG): Use GET_PC_THUNK.
44821 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44822 macro.
44823
9a1d9254
JM
448242012-02-03 Joseph Myers <joseph@codesourcery.com>
44825
44826 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44827 for non-PIC compilation.
44828 (SETUP_PIC_REG): Add .p2align directive.
44829 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44830 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44831 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44832 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44833 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44834 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44835 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44836 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44837 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44838 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44839 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44840 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44841 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44842 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44843 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44844 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44845 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44846 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44847 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44848 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44849 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44850 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44851 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44852 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44853 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44854 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44855 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44856 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44857 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44858 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44859 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44860 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44861 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44862 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44863 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44864 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44865 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44866 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44867 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44868 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44869 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44870
65dc3b75
JM
448712012-02-03 Joseph Myers <joseph@codesourcery.com>
44872
44873 * math/tst-CMPLX.c: Include <stdio.h>.
44874
d55bf177
JM
448752012-01-31 Joseph Myers <joseph@codesourcery.com>
44876
44877 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44878 float.
44879 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44880 * sysdeps/sparc/bits/mathdef.h: Likewise.
44881
69db4f8f
MP
448822012-01-31 Marek Polacek <polacek@redhat.com>
44883
44884 * libio/libio.h: Don't define _PARAMS.
44885 * locale/programs/config.h: Don't define PARAMS.
44886 * stdlib/strtol_l.c: Likewise.
44887 (__strtol_l): Remove PARAMS from the prototype.
44888
41b81892
UD
448892012-01-31 Ulrich Drepper <drepper@gmail.com>
44890
3b49edc0
UD
44891 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44892 names. Just use the correct names. Remove unnecessary wrapper
44893 functions.
44894 * malloc/arena.c: Likewise.
44895 * malloc/hooks.c: Likewise.
44896
41b81892
UD
44897 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44898 ARENA_TEST says not to. Simplify test for creation of a new arena.
44899 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44900
27a25b6e
UD
449012012-01-30 Ulrich Drepper <drepper@gmail.com>
44902
44903 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44904 into tail calls.
44905 (update_get_addr): New function.
44906 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44907 GET_ADDR_MODULE parameter.
44908
c8a89e7d
JM
449092012-01-30 Joseph Myers <joseph@codesourcery.com>
44910
44911 * crypt/cert.c: Remove __STDC__ conditionals.
44912 * crypt/crypt-entry.c: Likewise.
44913 * crypt/crypt_util.c: Likewise.
44914 * libio/filedoalloc.c: Likewise.
44915 * libio/fileops.c: Likewise.
44916 * libio/genops.c: Likewise.
44917 * libio/iofclose.c: Likewise.
44918 * libio/iofdopen.c: Likewise.
44919 * libio/iofopen.c: Likewise.
44920 * libio/iofopen64.c: Likewise.
44921 * libio/iogetdelim.c: Likewise.
44922 * libio/iopopen.c: Likewise.
44923 * libio/obprintf.c: Likewise.
44924 * libio/oldfileops.c: Likewise.
44925 * libio/oldiofclose.c: Likewise.
44926 * libio/oldiofdopen.c: Likewise.
44927 * libio/oldiofopen.c: Likewise.
44928 * libio/oldiopopen.c: Likewise.
44929 * libio/wfiledoalloc.c: Likewise.
44930 * libio/wgenops.c: Likewise.
44931 * locale/programs/xmalloc.c: Likewise.
44932 * misc/syslog.c: Likewise.
44933 * stdio-common/xbug.c: Likewise.
44934 * string/memchr.c: Likewise.
44935 * string/memcmp.c: Likewise.
44936 * string/memrchr.c: Likewise.
44937 * string/rawmemchr.c: Likewise.
44938 * sysdeps/posix/getcwd.c: Likewise.
44939 * time/strftime_l.c: Likewise.
44940
3b100462
JM
449412012-01-30 Joseph Myers <joseph@codesourcery.com>
44942
44943 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
44944 * config.make.in (config-cflags-sse2avx): Define.
44945 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44946 Fix typo.
44947
607998af
CM
449482012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44949
44950 * scripts/config.guess: Update from upstream config git repository.
44951 * scripts/config.sub: Likewise.
44952
3601428f
CM
449532012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44954
3ac8b282
CM
44955 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44956 (EM_NUM): Update.
44957 (R_TILEPRO_*, R_TILEGX_*): New macros.
44958
e034841e
CM
44959 * scripts/firstversions.awk: Fix bug in version range handling.
44960
540d7568
CM
44961 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44962
3601428f
CM
44963 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44964
463de862
CM
44965 * include/sys/epoll.h: New file.
44966 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44967 libc_hidden_def.
44968
73139a76
UD
449692012-01-28 Ulrich Drepper <drepper@gmail.com>
44970
96bc5b45
UD
44971 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44972 Avoid unnecessary __WORDSIZE == 64 test.
44973 (fmaxf): Use VEX format if possible.
44974 (fmax): Likewise.
44975 (fminf): Likewise.
44976 (fmin): Likewise.
44977
56f6f6a2
UD
44978 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44979 * math/math_private.h: Remove libc_fegetround* and
44980 libc_fesetround*.
44981 * sysdeps/i386/configure.in: Check for -msse2avx.
44982 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44983 also if SSE2AVX is defined.
44984 Remove libc_fegetround* and libc_fesetround*.
44985 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44986 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44987 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44988 of HAS_YMM_USABLE.
44989 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44990 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44991 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44992 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44993 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44994
73139a76
UD
44995 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44996
d73f93a4
AZ
449972012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44998
44999 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45000 size is not set.
45001 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45002
6ee65ed6
UD
450032012-01-27 Ulrich Drepper <drepper@gmail.com>
45004
45005 [BZ #13618]
45006 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45007 relocation.
45008 * Makeconfig (libm): Define.
45009 * elf/Makefile: Add rules to build and run tst-relsort1.
45010 * elf/tst-relsort1.c: New file.
45011 * elf/tst-relsort1mod1.c: New file.
45012 * elf/tst-relsort1mod2.c: New file.
45013
8db21882
JM
450142012-01-27 Joseph Myers <joseph@codesourcery.com>
45015
45016 * math/s_ldexp.c: Remove __STDC__ conditionals.
45017 * math/s_ldexpf.c: Likewise.
45018 * math/s_ldexpl.c: Likewise.
45019 * math/s_nextafter.c: Likewise.
45020 * math/s_nexttowardf.c: Likewise.
45021 * math/s_significand.c: Likewise.
45022 * math/s_significandf.c: Likewise.
45023 * math/s_significandl.c: Likewise.
45024 * math/w_jnl.c: Likewise.
45025 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45026 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45027 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45028 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45029 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45030 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45031 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45032 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45033 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45034 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45035 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45036 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45037 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45038 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45039 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45040 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45041 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45042 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45044 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45045 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45046 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45047 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45048 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45049 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45050 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45051 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45052 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45053 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45054 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45055 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45056 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45057 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45058 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45059 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45060 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45061 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45062 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45063 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45064 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45065 * sysdeps/ieee754/k_standard.c: Likewise.
45066 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45067 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45068 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45069 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45070 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45071 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45072 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45073 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45074 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45075 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45076 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45077 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45078 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45079 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45080 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45081 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45082 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45083 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45084 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45085 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45086 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45087 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45088 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45089 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45090 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45091 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45092 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45093 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45094 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45095 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45096 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45097 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45098 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45099 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45100 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45101 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45102 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45103 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45104 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45105 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45106 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45107 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45108 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45109 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45110 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45111 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45112 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45113 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45114 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45115 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45116 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45117 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45118 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45119 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45120 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45121 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45122 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45123 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45124 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45125 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45126 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45127 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45128 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45129 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45130 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45131 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45132 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45133 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45134 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45135 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45136 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45137 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45138 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45139 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45140 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45141 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45142 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45143 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45144 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45145 * sysdeps/ieee754/s_matherr.c: Likewise.
45146 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45147 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45148 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45149 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45150
965a54a4
JM
451512012-01-26 Joseph Myers <joseph@codesourcery.com>
45152
45153 * crypt/md5.h: Remove __STDC__ conditionals.
45154 * libio/libioP.h: Likewise.
45155 * locale/programs/config.h: Likewise.
45156 * sysdeps/generic/sysdep.h: Likewise.
45157 * sysdeps/i386/asm-syntax.h: Likewise.
45158 * sysdeps/s390/asm-syntax.h: Likewise.
45159 * sysdeps/unix/sysdep.h: Likewise.
45160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45162
7071ad79
JM
451632012-01-26 Joseph Myers <joseph@codesourcery.com>
45164
45165 * libio/libio.h: Remove __STDC__ conditionals.
45166 * malloc/obstack.h: Likewise.
45167 * math/complex.h: Likewise.
45168 * math/math.h: Likewise.
45169 * sysdeps/generic/_G_config.h: Likewise.
45170 * sysdeps/gnu/_G_config.h: Likewise.
45171 * sysdeps/mach/hurd/_G_config.h: Likewise.
45172 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45173 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45174 * sysdeps/sparc/bits/mathdef.h: Likewise.
45175
afc5ed09
UD
451762012-01-26 Ulrich Drepper <drepper@gmail.com>
45177
45178 [BZ #13583]
45179 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 45180 Clean up HAS_* macros.
afc5ed09 45181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
45182 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45183 possible.
45184 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45185 HAS_AVX.
45186 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45187 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45188 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45189 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45190 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 45191
bdb6de1d
JM
451922012-01-25 Joseph Myers <joseph@codesourcery.com>
45193
45194 * elf/tst-unique3.cc (gets): Remove declaration.
45195 * elf/tst-unique3lib.cc (gets): Likewise.
45196 * elf/tst-unique3lib2.cc (gets): Likewise.
45197 * elf/tst-unique4.cc (gets): Likewise.
45198
b15549e6
UD
451992012-01-24 Ulrich Drepper <drepper@gmail.com>
45200
45201 * include/stdio.h: Add C++ protection. Add gets declarations and
45202 definitions.
45203 * debug/tst-chk1.c: Don't declare gets here.
45204 * stdio-common/tst-gets.c: Likewise.
45205
a037381f
JM
452062012-01-24 Joseph Myers <joseph@codesourcery.com>
45207
45208 * posix/glob: Remove directory.
45209
f1d4aa75
JM
452102012-01-24 Joseph Myers <joseph@codesourcery.com>
45211
45212 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45213
81c0c964
PT
452142012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45215
45216 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45217 of the non-standard EPFNOSUPPORT.
45218
0ea698ae
ST
452192011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45220
45221 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45222 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45223 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45224
d220b117
UD
452252012-01-21 Ulrich Drepper <drepper@gmail.com>
45226
45227 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45228
3e1aa84e
UD
452292012-01-20 Ulrich Drepper <drepper@gmail.com>
45230
45231 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45232 transient errors.
45233 * nscd/grpcache.c (cache_addgr): Likewise.
45234 * nscd/hstcache.c (cache_addhst): Likewise.
45235 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45236 * nscd/pwdcache.c (cache_addpw): Likewise.
45237 * nscd/servicescache.c (cache_addserv): Likewise.
45238
400aa020
UD
452392012-01-16 Ulrich Drepper <drepper@gmail.com>
45240
d77e7869
UD
45241 * malloc/malloc.c: Various cleanups.
45242 * malloc/hooks.c: Likewise.
45243
400aa020
UD
45244 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45245 * stdlib/bug-fmtmsg1.c: New file.
45246
45247 * stdlib/fmtmsg.c (init): Add missing unlock.
45248 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45249
e0a309cf
MP
452502012-01-12 Marek Polacek <polacek@redhat.com>
45251
45252 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45253 and _GNU_SOURCE.
45254
929d11c7
WS
452552012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45256
45257 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45258 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45259 macro to ensure uniqueness of label name.
45260 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45261 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45262
41d0e869
UD
452632012-01-11 Ulrich Drepper <drepper@gmail.com>
45264
0cc5ed3b
UD
45265 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45266
41d0e869
UD
45267 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45268 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45269 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45270 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45271
a47a831a
UD
452722012-01-10 Ulrich Drepper <drepper@gmail.com>
45273
daa891c0
UD
45274 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45275
45276 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45277 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45278 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45279
e58ef0f2
UD
45280 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45281
a47a831a 45282 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
45283 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45284 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 45285 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
45286
45287 * math/bits/math-finite.h: Add ldexp support.
45288
a0bfc9c7
MP
452892012-01-10 Marek Polacek <polacek@redhat.com>
45290
45291 * locale/programs/localedef.h (show_archive_content): Add noreturn
45292 attribute.
45293
d6e97a1d
UD
452942012-01-09 Ulrich Drepper <drepper@gmail.com>
45295
45296 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45297
d5835c26
UD
452982012-01-08 Ulrich Drepper <drepper@gmail.com>
45299
e5f484c6
UD
45300 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45301
d5835c26
UD
45302 * io/Makefile (headers): Add bits/poll2.h.
45303
d1f741e9
WS
453042011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45305
45306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45307 typo #include statement.
45308
ec09c1c4
UD
453092012-01-08 Ulrich Drepper <drepper@gmail.com>
45310
45311 * include/sys/cdefs.h: Define __attribute_alloc_size.
45312 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45313 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45314 * elf/pldd.c: Likewise.
45315 * iconv/iconv_charmap.c: Likewise.
45316 * iconv/iconvconfig.c: Likewise.
45317 * iconv/strtab.c: Likewise.
45318 * locale/programs/locale.c: Likewise.
45319 * locale/programs/localedef.h: Likewise.
45320 * locale/programs/simple-hash.c: Likewise.
45321 * nscd/nscd.h: Likewise.
45322 * nss/makedb.c: Likewise.
45323 * sysdeps/generic/ldconfig.h: Likewise.
45324 * locale/programs/localedef.c: Remove xmalloc prototype.
45325 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45326
20b38e03
PP
453272012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45328
45329 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45330 appropriate.
45331
a0da5fe1
UD
453322012-01-08 Ulrich Drepper <drepper@gmail.com>
45333
1d5a644a 45334 * math/Makefile (tests): Add tst-CMPLX.
669704fd 45335 * math/tst-CMPLX.c: New file.
1d5a644a 45336
8784a6db
UD
45337 * math/complex.h (CMPLXL): Fix typo.
45338
d9a216c0
UD
45339 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45340 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45341 GLIBC_2.16.
45342 * debug/tst-chk1.c: Add poll and ppoll tests.
45343 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45344 * include/sys/poll.h: Add hidden proto for ppoll.
45345 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45346 * sysdeps/mach/hurd/ppoll.c: Likewise.
45347 * io/ppoll.c: Likewise.
45348 * debug/poll_chk.c: New file.
45349 * debug/ppoll_chk.c: New file.
45350 * include/bits/poll2.h: New file.
45351 * io/bits/poll2.h: New file.
45352
ac097f5c
UD
45353 [BZ #1350]
45354 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45355
2119dcfa
UD
45356 * configure.in: static is always set to yes. Remove.
45357 * config.make.in: Don't set build-static.
45358 * Makeconfig: Remove use of build-static.
45359 * dlfcn/Makefile: Likewise.
45360 * elf/Makefile: Likewise.
45361 * math/Makefile: Likewise.
45362 * misc/Makefile: Likewise.
45363 * nptl/Makefile: Likewise.
45364 * sysdeps/mach/hurd/Makefile: Likewise.
45365
121766a9
UD
45366 * configure.in: PWD_P is not used anymore.
45367 * config.make.in: Remove PWD_P entry.
45368
51a1d39c 45369 * configure.in: Remove last remnants of RANLIB.
8720d066 45370 No need to check for signed size_t anymore.
215f4bdc
UD
45371 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45372 and IA-64.
3857022a 45373 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
45374 * aclocal.m4: Likewise.
45375
d3ed7225
UD
45376 * wcsmbs/mbrtoc16.c: Implement using towc function.
45377 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45378 * wcsmbs/wcsmbsload.c: Likewise.
45379 * iconv/gconv_simple.c: Likewise.
45380 * iconv/gconv_int.h: Likewise.
45381 * iconv/gconv_builtin.h: Likewise.
45382 * iconv/iconv_prog.c: Remove CHAR16 handling.
45383
45384 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45385
45386 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45387
a0da5fe1
UD
45388 * configure.in: Remove --with-elf and --enable-bounded options.
45389 Dont set base_machine for ia64. More non-ELF conditions removed.
45390 Remove testing and setting of leading underscore information.
45391 * config.make.in (build-bounded): Set to no.
45392 * config.h.in: Remove NO_UNDERSCORES entry.
45393 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45394 them.
45395 * csu/start.c: Remove !NO_UNDERSCORE code.
45396 * locale/localeinfo.h: Likewise.
45397 * sysdeps/generic/machine-gmon.h: Likewise.
45398 * sysdeps/generic/sysdep.h: Likewise.
45399 * sysdeps/i386/sysdep.h: Likewise.
45400 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45401 * sysdeps/mach/sysdep.h: Likewise.
45402 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45403 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45404 * sysdeps/sh/sysdep.h: Likewise.
45405 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45406 * sysdeps/unix/i386/sysdep.S: Likewise.
45407 * sysdeps/unix/sparc/start.c: Likewise.
45408 * sysdeps/unix/sparc/sysdep.S: Likewise.
45409 * sysdeps/unix/sparc/sysdep.h: Likewise.
45410 * sysdeps/unix/start.c: Likewise.
45411 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45412 * sysdeps/x86_64/sysdep.h: Likewise.
45413
df78418a
UD
454142012-01-07 Ulrich Drepper <drepper@gmail.com>
45415
a784e502
UD
45416 [BZ #13553]
45417 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45418 for non-gcc.
45419 * argp/argp-fmtstream.h: Use const instead __const.
45420 * argp/argp.h: Likewise.
45421 * assert/assert.h: Likewise.
45422 * bits/fenv.h: Likewise.
45423 * bits/sched.h: Likewise.
45424 * bits/sigset.h: Likewise.
45425 * bits/sigthread.h: Likewise.
45426 * catgets/nl_types.h: Likewise.
45427 * conform/data/pthread.h-data: Likewise.
45428 * crypt/crypt-private.h: Likewise.
45429 * crypt/crypt.h: Likewise.
45430 * crypt/crypt_util.c: Likewise.
45431 * ctype/ctype.h: Likewise.
45432 * debug/execinfo.h: Likewise.
45433 * debug/mbsnrtowcs_chk.c: Likewise.
45434 * debug/mbsrtowcs_chk.c: Likewise.
45435 * debug/wcsnrtombs_chk.c: Likewise.
45436 * debug/wcsrtombs_chk.c: Likewise.
45437 * debug/wcstombs_chk.c: Likewise.
45438 * dirent/dirent.h: Likewise.
45439 * dlfcn/dlfcn.h: Likewise.
45440 * elf/neededtest4.c: Likewise.
45441 * grp/grp.h: Likewise.
45442 * gshadow/gshadow.h: Likewise.
45443 * iconv/gconv.h: Likewise.
45444 * iconv/gconv_int.h: Likewise.
45445 * iconv/gconv_simple.c: Likewise.
45446 * iconv/iconv.h: Likewise.
45447 * iconv/loop.c: Likewise.
45448 * iconv/skeleton.c: Likewise.
45449 * include/aio.h: Likewise.
45450 * include/aliases.h: Likewise.
45451 * include/argz.h: Likewise.
45452 * include/arpa/inet.h: Likewise.
45453 * include/assert.h: Likewise.
45454 * include/dirent.h: Likewise.
45455 * include/dlfcn.h: Likewise.
45456 * include/execinfo.h: Likewise.
45457 * include/fcntl.h: Likewise.
45458 * include/fenv.h: Likewise.
45459 * include/glob.h: Likewise.
45460 * include/grp.h: Likewise.
45461 * include/libintl.h: Likewise.
45462 * include/mntent.h: Likewise.
45463 * include/netdb.h: Likewise.
45464 * include/pwd.h: Likewise.
45465 * include/rpc/netdb.h: Likewise.
45466 * include/sched.h: Likewise.
45467 * include/search.h: Likewise.
45468 * include/shadow.h: Likewise.
45469 * include/signal.h: Likewise.
45470 * include/stdio.h: Likewise.
45471 * include/stdlib.h: Likewise.
45472 * include/string.h: Likewise.
45473 * include/sys/socket.h: Likewise.
45474 * include/sys/stat.h: Likewise.
45475 * include/sys/statfs.h: Likewise.
45476 * include/sys/statvfs.h: Likewise.
45477 * include/sys/syslog.h: Likewise.
45478 * include/sys/time.h: Likewise.
45479 * include/sys/uio.h: Likewise.
45480 * include/time.h: Likewise.
45481 * include/unistd.h: Likewise.
45482 * include/utmp.h: Likewise.
45483 * include/wchar.h: Likewise.
45484 * include/wctype.h: Likewise.
45485 * inet/aliases.h: Likewise.
45486 * inet/arpa/inet.h: Likewise.
45487 * inet/netinet/ether.h: Likewise.
45488 * inet/netinet/in.h: Likewise.
45489 * intl/libintl.h: Likewise.
45490 * io/bits/fcntl2.h: Likewise.
45491 * io/fcntl.h: Likewise.
45492 * io/ftw.h: Likewise.
45493 * io/sys/poll.h: Likewise.
45494 * io/sys/stat.h: Likewise.
45495 * io/sys/statfs.h: Likewise.
45496 * io/sys/statvfs.h: Likewise.
45497 * io/utime.h: Likewise.
45498 * libio/bits/stdio.h: Likewise.
45499 * libio/bits/stdio2.h: Likewise.
45500 * libio/libio.h: Likewise.
45501 * libio/libioP.h: Likewise.
45502 * libio/stdio.h: Likewise.
45503 * locale/lc-ctype.c: Likewise.
45504 * locale/locale.h: Likewise.
45505 * login/utmp.h: Likewise.
45506 * malloc/arena.c: Likewise.
45507 * malloc/malloc.c: Likewise.
45508 * malloc/malloc.h: Likewise.
45509 * malloc/mcheck.c: Likewise.
45510 * malloc/mtrace.c: Likewise.
45511 * math/bits/mathcalls.h: Likewise.
45512 * math/fenv.h: Likewise.
45513 * math/math_private.h: Likewise.
45514 * misc/bits/error.h: Likewise.
45515 * misc/bits/syslog.h: Likewise.
45516 * misc/err.h: Likewise.
45517 * misc/error.h: Likewise.
45518 * misc/fstab.h: Likewise.
45519 * misc/mntent.h: Likewise.
45520 * misc/regexp.h: Likewise.
45521 * misc/search.h: Likewise.
45522 * misc/sgtty.h: Likewise.
45523 * misc/sys/mman.h: Likewise.
45524 * misc/sys/syslog.h: Likewise.
45525 * misc/sys/uio.h: Likewise.
45526 * misc/sys/xattr.h: Likewise.
45527 * misc/ttyent.h: Likewise.
45528 * nis/rpcsvc/ypclnt.h: Likewise.
45529 * nss/nss.h: Likewise.
45530 * posix/bits/unistd.h: Likewise.
45531 * posix/fnmatch.h: Likewise.
45532 * posix/glob.h: Likewise.
45533 * posix/sched.h: Likewise.
45534 * posix/spawn.h: Likewise.
45535 * posix/sys/wait.h: Likewise.
45536 * posix/unistd.h: Likewise.
45537 * posix/wordexp.h: Likewise.
45538 * pwd/pwd.h: Likewise.
45539 * resolv/netdb.h: Likewise.
45540 * resource/sys/resource.h: Likewise.
45541 * rt/aio.h: Likewise.
45542 * rt/bits/mqueue2.h: Likewise.
45543 * rt/mqueue.h: Likewise.
45544 * shadow/shadow.h: Likewise.
45545 * signal/signal.h: Likewise.
45546 * socket/send.c: Likewise.
45547 * socket/sendto.c: Likewise.
45548 * socket/sys/socket.h: Likewise.
45549 * stdio-common/printf.h: Likewise.
45550 * stdlib/bits/stdlib.h: Likewise.
45551 * stdlib/fmtmsg.h: Likewise.
45552 * stdlib/monetary.h: Likewise.
45553 * stdlib/stdlib.h: Likewise.
45554 * stdlib/ucontext.h: Likewise.
45555 * streams/stropts.h: Likewise.
45556 * string/argz.h: Likewise.
45557 * string/bits/string2.h: Likewise.
45558 * string/string.h: Likewise.
45559 * string/strings.h: Likewise.
45560 * sunrpc/rpc/auth.h: Likewise.
45561 * sunrpc/rpc/auth_des.h: Likewise.
45562 * sunrpc/rpc/clnt.h: Likewise.
45563 * sunrpc/rpc/netdb.h: Likewise.
45564 * sunrpc/rpc/pmap_clnt.h: Likewise.
45565 * sunrpc/rpc/xdr.h: Likewise.
45566 * sysdeps/generic/inttypes.h: Likewise.
45567 * sysdeps/generic/net/if.h: Likewise.
45568 * sysdeps/generic/sys/swap.h: Likewise.
45569 * sysdeps/gnu/net/if.h: Likewise.
45570 * sysdeps/gnu/utmpx.h: Likewise.
45571 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45572 * sysdeps/i386/i486/bits/string.h: Likewise.
45573 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45574 * sysdeps/s390/bits/string.h: Likewise.
45575 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45576 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45577 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45578 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45579 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45580 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45581 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45582 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45583 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45584 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45585 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45586 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45587 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45588 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45589 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45590 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45591 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45592 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45593 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45594 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45595 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45596 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45597 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45598 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45599 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45600 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45601 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45602 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45603 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45604 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45605 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45606 * sysvipc/sys/ipc.h: Likewise.
45607 * sysvipc/sys/msg.h: Likewise.
45608 * sysvipc/sys/sem.h: Likewise.
45609 * sysvipc/sys/shm.h: Likewise.
45610 * termios/termios.h: Likewise.
45611 * time/sys/time.h: Likewise.
45612 * time/time.h: Likewise.
45613 * wcsmbs/bits/wchar2.h: Likewise.
45614 * wcsmbs/uchar.h: Likewise.
45615 * wcsmbs/wchar.h: Likewise.
45616 * wctype/wctype.h: Likewise.
45617
0269750c
UD
45618 [BZ #13551]
45619 * Makeconfig: Remove all but ELF support including AIX support.
45620 * Makerules: Likewise.
45621 * config.h.in: Likewise.
45622 * config.make.in: Likewise.
45623 * configure: Likewise.
45624 * configure.in: Likewise.
45625 * csu/Makefile: Likewise.
45626 * csu/version.c: Likewise.
45627 * debug/Makefile: Likewise.
45628 * dlfcn/Makefile: Likewise.
45629 * elf/Makefile: Likewise.
45630 * extra-lib.mk: Likewise.
45631 * iconv/Makefile: Likewise.
45632 * include/libc-symbols.h: Likewise.
45633 * include/shlib-compat.h: Likewise.
45634 * resolv/Makefile: Likewise.
45635 * resolv/res_libc.c: Likewise.
45636 * rt/Makefile: Likewise.
45637 * sysdeps/i386/asm-syntax.h: Likewise.
45638 * sysdeps/i386/sysdep.h: Likewise.
45639 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45640 * sysdeps/mach/sysdep.h: Likewise.
45641 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45642 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45643 * sysdeps/s390/asm-syntax.h: Likewise.
45644 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45645 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45646 * sysdeps/sh/sysdep.h: Likewise.
45647 * sysdeps/unix/sparc/sysdep.h: Likewise.
45648 * sysdeps/wordsize-32/divdi3.c: Likewise.
45649 * sysdeps/x86_64/sysdep.h: Likewise.
45650
00bbd29b
UD
45651 * argp/Versions: Remove _argp_unlock_xxx.
45652
45653 [BZ #13559]
45654 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45655 * abilist/libBrokenLocale.abilist: Likewise.
45656 * abilist/libanl.abilist: Likewise.
45657 * abilist/libc.abilist: Likewise.
45658 * abilist/libcrypt.abilist: Likewise.
45659 * abilist/libdl.abilist: Likewise.
45660 * abilist/libm.abilist: Likewise.
45661 * abilist/libnsl.abilist: Likewise.
45662 * abilist/libpthread.abilist: Likewise.
45663 * abilist/libresolv.abilist: Likewise.
45664 * abilist/librt.abilist: Likewise.
45665 * abilist/libthread_db.abilist: Likewise.
45666 * abilist/libutil.abilist: Likewise.
45667 * abilist/libnss_db.abilist: New file.
45668
45669 * scripts/abilist.awk: Add support for indirect functions.
45670
a2693a0e
UD
45671 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45672
3f05895f
UD
45673 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45674
ecb6fb48
UD
45675 * shlib-versions: Remove entries for ports architectures.
45676
664f8cb9
UD
45677 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45678 files in ports.
45679 * elf/stackguard-macros.h: Remove support for IA-64.
45680 * elf/tst-auditmod1.c: Likewise.
45681 * sysdeps/generic/ldsodefs.h: Likewise.
45682
7ae81d88
UD
45683 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45684 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45685 configure files.
45686
bdeba135
UD
45687 [BZ #13552]
45688 * configure.in: Remove --enable-omitfp support.
45689 * FAQ.in: Adjust.
45690 * config.make.in: Likewise.
45691 * Makeconfig: Likewise.
45692 * manual/install.texi: Likewise.
45693
d75a0a62
UD
45694 In case anyone cares, the IA-64 architecture could move to ports.
45695 * sysdeps/ia64/*: Removed.
45696 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45697 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45698
dcc9756b
UD
45699 [BZ #13555]
45700 * configure.in: Remove entries for unsupported architectures.
45701
d3761ebc 45702 [BZ #13533]
9954432e
UD
45703 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45704 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45705 routines.
45706 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45707 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45708 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45709 fall back to using wcrtomb.
45710 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45711 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45712 renaming.
45713 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45714 * wcsmbs/tst-c16c32-1.c: New file.
45715
45716 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45717 local variable.
45718
c3a87236
UD
45719 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45720
28926a1b
UD
45721 * elf/tst-unique3.cc: Add explicit declaration of gets.
45722 * elf/tst-unique3lib.cc: Likewise.
45723 * elf/tst-unique3lib2.cc: Likewise.
45724 * elf/tst-unique4.cc: Likewise.
45725
df78418a
UD
45726 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45727
8ecd6b2a
JM
457282012-01-06 Joseph Myers <joseph@codesourcery.com>
45729
45730 [BZ #13566]
45731 * assert/assert.h (static_assert): Don't define for C++.
45732 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45733 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45734
9f115170
UD
457352012-01-03 Ulrich Drepper <drepper@gmail.com>
45736
5e0d0300
UD
45737 * iconv/loop.c (single loop): Fix assertion in storing of
45738 remaining bytes.
45739
9f115170
UD
45740 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45741
81fb02b0
UD
457422012-01-01 Ulrich Drepper <drepper@gmail.com>
45743
45744 * posix/getconf.c: Update copyright year.
45745 * nss/getent.c: Likewise.
a316c1f6 45746 * nss/makedb.c: Likewise.
81fb02b0
UD
45747 * iconv/iconvconfig.c: Likewise.
45748 * iconv/iconv_prog.c: Likewise.
45749 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45750 * elf/pldd.c: Likewise.
45751 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45752 * catgets/gencat.c: Likewise.
45753 * csu/version.c: Likewise.
45754 * elf/ldd.bash.in: Likewise.
45755 * elf/sprof.c (print_version): Likewise.
45756 * locale/programs/locale.c: Likewise.
45757 * locale/programs/localedef.c: Likewise.
a316c1f6 45758 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45759 * nscd/nscd.c (print_version): Likewise.
45760 * debug/xtrace.sh: Likewise.
45761 * malloc/memusage.sh: Likewise.
45762 * malloc/mtrace.pl: Likewise.
45763 * debug/catchsegv.sh: Likewise.
45764
2ba92745
JJ
457652011-12-30 Jakub Jelinek <jakub@redhat.com>
45766
45767 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45768 pure attribute.
45769
dadebdae
UD
457702011-12-24 Ulrich Drepper <drepper@gmail.com>
45771
d3761ebc 45772 [BZ #13533]
db6af3eb
UD
45773 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45774 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45775 transformations.
45776 * iconv/gconv_int.h: Likewise.
45777 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45778 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45779 from libc for GLIBC_2.16.
45780 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45781 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45782 * wcsmbs/uchar.h: Really define mbstate_t.
45783 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45784 * wcsmbs/c16rtomb.c: New file.
45785 * wcsmbs/mbrtoc16.c: New file.
45786 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45787 for C/POSIX locale.
45788 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45789 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45790
dadebdae
UD
45791 * wcsmbs/wchar.h: Add missing __restrict.
45792
67371b56
UD
457932011-12-23 Ulrich Drepper <drepper@gmail.com>
45794
74033a25
UD
45795 [BZ #13532]
45796 * time/Makefile (routines): Add timespec_get.
45797 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45798 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45799 timespec for ISO C11.
45800 * time/timespec_get.c: New file.
45801 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45802 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45803
380d7e87
UD
45804 [BZ #13531]
45805 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45806 * stdlib/stdlib.h: Declare aligned_alloc.
45807 * Versions.def: Add GLIBC_2.16 for libc.
45808 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45809
4e9e7a35
UD
45810 [BZ 13527]
45811 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45812 ISO C11.
45813
380d7e87 45814 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45815 code.
45816
03a71829
UD
45817 [BZ #13528]
45818 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45819
839e283e
UD
45820 [BZ #13529]
45821 * assert/assert.h (static_assert): Define.
45822
ce5294e2 45823 * version.h: Update for 2.16 development version.
90fa7312 45824
8d44e150 45825 [BZ #13526]
d7809905
UD
45826 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45827 _ISOC11_SOURCE.
45828
c0da14cd
UD
45829 * version.h (RELEASE): Bump for 2.15 release.
45830 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45831
530a3249
MP
45832 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45833 Patch by Marek Polacek <mpolacek@redhat.com>.
45834
67371b56
UD
45835 * bits/byteswap.h: Protect long long constants with __extension__.
45836 * sysdeps/i386/bits/byteswap.h: Likewise.
45837 * sysdeps/ia64/bits/byteswap.h: Likewise.
45838 * sysdeps/s390/bits/byteswap.h: Likewise.
45839 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45840
15db4de1
LD
458412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45842
45843 [BZ #13540]
bbe315ea
LD
45844 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45845 destination buffer.
15db4de1
LD
45846 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45847
2b2596b1
MP
458482011-12-23 Marek Polacek <polacek@redhat.com>
45849
45850 * elf/dl-addr.c (determine_info): Add inline keyword.
45851 * elf/tst-auditmod4b.c (check_avx): Likewise.
45852 * elf/tst-auditmod6b.c (check_avx): Likewise.
45853 * elf/tst-auditmod6c.c (check_avx): Likewise.
45854 * elf/tst-auditmod7b.c (check_avx): Likewise.
45855
70c6c246
UD
458562011-12-23 Ulrich Drepper <drepper@gmail.com>
45857
45858 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45859 !__SSE_MATH__.
45860
c044cf14
LD
458612011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45862
15db4de1 45863 [BZ #13540]
c044cf14
LD
45864 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45865 processing for last bytes.
45866
6b13d9d9
BH
458672011-08-06 Bruno Haible <bruno@clisp.org>
45868
d455f537
BH
45869 [BZ #13061]
45870 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45871 U+0385, not to U+1FEE.
45872
6b13d9d9
BH
45873 [BZ #13062]
45874 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45875 entry for U+00A5 U+0301.
45876
db910efd
UD
458772011-12-22 Ulrich Drepper <drepper@gmail.com>
45878
27deeafc
UD
45879 [BZ #13166]
45880 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45881 buffer for the output is too small.
45882
aed9d171
UD
45883 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45884 optimization.
45885
db910efd
UD
45886 [BZ #13185]
45887 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45888 SSE flags if possible.
45889
2bd779ae
LD
458902011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45891
e7f9dac3 45892 [BZ #13540]
2bd779ae
LD
45893 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45894 processing for last bytes.
45895
154bfc16
JM
458962011-12-22 Joseph Myers <joseph@codesourcery.com>
45897
45898 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45899 (syscall-list-default-options, syscall-list-default-condition)
45900 (syscall-list-includes): Define.
45901 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45902 list of ABIs and options and #if conditions for each ABI. Do not
45903 handle common syscalls between ABIs specially.
45904 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45905 Remove.
45906 (syscall-list-variants, syscall-list-32bit-options)
45907 (syscall-list-32bit-condition, syscall-list-64bit-options)
45908 (syscall-list-64bit-condition): Define.
45909 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45910 (syscall-list-variants, syscall-list-32bit-options)
45911 (syscall-list-32bit-condition, syscall-list-64bit-options)
45912 (syscall-list-64bit-condition): Define.
45913 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45914 Remove.
45915 (syscall-list-variants, syscall-list-32bit-options)
45916 (syscall-list-32bit-condition, syscall-list-64bit-options)
45917 (syscall-list-64bit-condition): Define.
45918 * sysdeps/unix/sysv/linux/x86_64/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
21eaf3a5
UD
459242011-12-22 Ulrich Drepper <drepper@gmail.com>
45925
16c6f992
UD
45926 * locale/iso-639.def: Add brx entry.
45927
41043168
UD
45928 [BZ #13328]
45929 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45930 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45931
21eaf3a5
UD
45932 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45933 __feraiseexcept_renamed.
45934
e3a851a2
UD
459352011-12-21 Ulrich Drepper <drepper@gmail.com>
45936
4920765e
UD
45937 [BZ #13538]
45938 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45939 EPOLLET with unsigned values.
45940 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45941 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45942
e3a851a2
UD
45943 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45944 to large cancellation.
45945 * math/s_cacoshf.c: Likewise.
45946 * math/s_cacoshl.c: Likewise.
45947
b27e24b8
RK
459482011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45949
45950 [BZ #13305]
aebefeee 45951 [BZ #12786]
b27e24b8
RK
45952 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45953 * math/s_cacoshf.c: Likewise.
45954 * math/s_cacoshl.c: Likewise.
45955
ee190f67
UD
459562011-12-21 Ulrich Drepper <drepper@gmail.com>
45957
45958 [BZ #13439]
45959 * iconv/gconv.h: Define __GCONV_SWAP.
45960 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45961 * iconvdata/utf-16.c: Likewise.
45962 * iconvdata/utf-32.c: Likewise.
45963
707f25df
AS
459642011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45965
45966 [BZ #13524]
45967 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45968 numerator after shifting it by one limb.
45969
d2daaa1e
RÁE
459702011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45971
45972 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45973 under [__USE_EXTERN_INLINES].
45974
a4647e72
UD
459752011-12-17 Ulrich Drepper <drepper@gmail.com>
45976
45977 [BZ #13446]
45978 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45979
f0b264f1
AZ
459802011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45981
45982 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45983 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45984 optimized code.
45985 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45986 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45987 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45988 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45989 for strncasecmp/strncasecmp_l compilation.
45990 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45991 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45992
8ef4f244
MP
459932011-12-08 Marek Polacek <mpolacek@redhat.com>
45994
45995 [BZ #13484]
45996 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45997 of __asm__.
45998
97ac2654
UD
459992011-12-17 Ulrich Drepper <drepper@gmail.com>
46000
46001 [BZ #13506]
46002 * time/tzfile.c (__tzfile_read): Check values from file header.
46003
91d2a845
WS
460042011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46005
46006 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46007 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46008 * powerpc/powerpc32/dl-start.S: Likewise.
46009 * powerpc/powerpc32/elf/start.S: Likewise.
46010 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46011 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46012 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46013 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46014 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46015 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46016 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46017 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46018 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46019 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46020 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46021 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46022 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46023 * powerpc/powerpc32/memset.S: Likewise.
46024 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46025 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46026 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46027 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46028 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46029 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46030 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46031 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46032 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46033 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46034 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46035 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46036 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46037
a1267ba1
AZ
460382011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46039
46040 * math/libm-test.inc: Added more nearbyint tests.
46041 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46042 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46043 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46044 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46045
ad8ac1bd
RL
460462011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46047
46048 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46049 FD_CLOEXEC.
46050
1d3e4b61
UD
460512011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46052
46053 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46054 Add wcscpy-ssse3 wcscpy-c.
46055 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46056 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46057 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46058 * sysdeps/x86_64/wcschr.S: New file.
46059 * sysdeps/x86_64/wcsrchr.S: New file.
46060 * string/test-strcmp.c: Remove checking of wcscmp function for
46061 wrong alignments.
46062 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46063 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46064 wcsrchr-sse2 wcsrchr-c.
46065 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46066 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46067 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46068 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46069 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46070 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46071 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46072 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46073 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46074 * wcsmbc/wcschr.c (WCSCHR): New macro.
46075
5b330a2d
UD
460762011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46077
46078 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46079 * wcsmbs/test-wcsrchr.c: New file.
46080 * string/test-strrchr.c: Add wcsrchr support.
46081 (WIDE): New macro.
46082 * wcsmbs/test-wcscpy.c: New file.
46083 * string/test-strcpy.c: Add wcscpy support.
46084 (WIDE): New macro.
26428b7c 46085
f039c043
UD
460862011-12-10 Ulrich Drepper <drepper@gmail.com>
46087
46088 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46089 the inner loop.
46090
850fb039
AS
460912011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46092
46093 [BZ #13472]
46094 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46095
4efbd5cb
UD
460962011-12-04 Ulrich Drepper <drepper@gmail.com>
46097
52ff5dd0 46098 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 46099 Minor optimizations.
52ff5dd0 46100
4efbd5cb
UD
46101 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46102 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46103 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46104
8a426e12
UD
461052011-12-03 Ulrich Drepper <drepper@gmail.com>
46106
aff2453d
UD
46107 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46108 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46109 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46110 for gcc to avoid warnings.
46111 * inet/Makefile (tests): Add tst-checks.
46112 * inet/tst-checks.c: New file.
46113
46114 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46115 warning.
46116
46117 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46118 __wmemcmp_sse2.
46119
46120 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46121 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46122
8a426e12
UD
46123 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46124
9bea3473
UD
461252011-12-02 Ulrich Drepper <drepper@gmail.com>
46126
3a965496
UD
46127 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46128 problem.
46129
9bea3473
UD
46130 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46131
f101631b
UD
461322011-11-29 Joseph Myers <joseph@codesourcery.com>
46133
46134 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46135 conditional on GCC version.
46136 (__arch_compare_and_exchange_val_8_acq)
46137 (__arch_compare_and_exchange_val_16_acq)
46138 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46139 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46140 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46141
a98275aa
UD
461422011-12-02 Joseph Myers <joseph@codesourcery.com>
46143
46144 * sysdeps/sh/backtrace.c: New file.
46145
d4cc29a2
AS
461462011-12-02 Andreas Schwab <schwab@redhat.com>
46147
46148 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46149 parenthesis.
46150
6257af2d
AS
461512011-12-01 Andreas Schwab <schwab@redhat.com>
46152
46153 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46154 falling back to utime.
46155
b5f44c1a
AS
461562011-11-30 Andreas Schwab <schwab@redhat.com>
46157
46158 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46159 expectations for float.
46160
f3a6cc0a
AS
461612011-11-29 Andreas Schwab <schwab@redhat.com>
46162
46163 * locale/weight.h (findidx): Add parameter len.
46164 * locale/weightwc.h (findidx): Likewise.
46165 * posix/fnmatch_loop.c (FCT): Adjust caller.
46166 * posix/regcomp.c (build_equiv_class): Likewise.
46167 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46168 * posix/regexec.c (check_node_accept_bytes): Likewise.
46169 * string/strcoll_l.c (STRCOLL): Likewise.
46170 * string/strxfrm_l.c (STRXFRM): Likewise.
46171
9d65ea3a
UD
461722011-11-17 Ulrich Drepper <drepper@gmail.com>
46173
46174 * Makefile.in: Remove CVSOPT handling.
46175 * configure.in: Remove use of AC_REVISION.
46176 * iconvdata/Makefile (distribute): No need to filter out CVS.
46177 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46178 handling.
46179
5583a086
AS
461802011-11-16 Andreas Schwab <schwab@redhat.com>
46181
46182 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46183 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46184 [USE_AS_STRNCASECMP_L]: Likewise.
46185 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46186 NO_TLS_DIRECT_SEG_REFS.
46187 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46188 Fix argument offsets for non-PIC.
46189 [USE_AS_STRNCASECMP_L]: Likewise.
46190 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46191 NO_TLS_DIRECT_SEG_REFS.
46192
d62a8200
UD
461932011-11-15 Ulrich Drepper <drepper@gmail.com>
46194
9d65ea3a 46195 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
46196 O_CLOEXEC.
46197 * locale/loadlocale.c (_nl_load_locale): Likewise.
46198
09f93bd3
AS
461992011-11-15 Andreas Schwab <schwab@redhat.com>
46200
446514f9
AS
46201 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46202 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46203 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46204 (SYSCALL_GETTIME): Set errno on error.
46205
09f93bd3
AS
46206 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46207 count references to noai6ai_cached.
46208
312be3f9
UD
462092011-11-15 Ulrich Drepper <drepper@gmail.com>
46210
46211 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46212
46213 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46214 FD_CLOEXEC for /proc/self/maps.
46215
46216 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46217 FD_CLOEXEC for /proc/meminfo.
46218
46219 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46220 gai.conf.
46221
46222 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46223 FD_CLOEXEC for given file.
46224
46225 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46226
46227 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46228 FD_CLOEXEC for /etc/hosts.
46229 (_gethtent): Likewise.
46230
46231 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46232
46233 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46234 cancellation and set FD_CLOEXEC for /etc/netgroup.
46235
46236 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46237 reading /etc/publickey.
46238
46239 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46240 allow cancellation when reading /etc/group.
46241
46242 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46243 cancellation.
46244 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46245
46246 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46247 when using data file.
46248
46249 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46250
46251 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46252 (write_nis_obj): Use "c" and "e" in fopen.
46253
46254 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46255
46256 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46257
46258 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46259
46260 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46261
46262 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46263 locale.alias.
46264
46265 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46266
46267 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46268
46269 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46270
46271 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46272 file parsing and set FD_CLOEXEC.
46273
82af0fa8
UD
462742011-11-14 Ulrich Drepper <drepper@gmail.com>
46275
46276 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46277
a5fb313c
AS
462782011-11-14 Andreas Schwab <schwab@redhat.com>
46279
46280 * malloc/arena.c (arena_get2): Don't call reused_arena when
46281 _int_new_arena failed.
46282
6abf3465
UD
462832011-11-14 Ulrich Drepper <drepper@gmail.com>
46284
46285 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46286 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46287 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46288 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46289 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46290 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46291 to compile strcasecmp and strncasecmp.
46292 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46293 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46294
46295 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46296
76e3966e
UD
462972011-11-13 Ulrich Drepper <drepper@gmail.com>
46298
46299 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46300 locale-defines.sym to gen-as-const-headers.
46301 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46302 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46303 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46304 to compile strcasecmp and strncasecmp.
46305 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46306 strcasecmp_l and strncasecmp_l.
46307 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46308 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46309 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46310 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46311 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46312 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46313 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46314 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46315 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46316 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46317 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46318
ab26144e
UD
463192011-11-12 Ulrich Drepper <drepper@gmail.com>
46320
7edb22ef
UD
46321 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46322 result of SYSDEP_GETTIME_CPU to retval.
46323 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46324 parameter list to macro. Remove trailing semicolon. Adjust users.
46325
9694fc44
UD
46326 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46327 variable.
46328
8ad89ef8
UD
46329 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46330 mantissa words.
46331 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46332
0c822ef9
UD
46333 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46334 from unused variable.
46335
874e0564
UD
46336 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46337 DWARF definitions.
46338 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46339 for assembling.
46340
3a2edc79
UD
46341 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46342 over namespaces.
46343
f3c2577f
UD
46344 * sunrpc/rpc_prot.c (rejected): Fix case value.
46345
294ce126
UD
46346 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46347 unsigned long long int to avoid warnings in shift.
46348
5e2b63c6
UD
46349 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46350 of use of trans.
46351 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46352 variable tmp.
46353
e7f4b08e
UD
46354 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46355 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46356 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46357
ab26144e
UD
46358 * nis/nis_table.c (nis_list): Use variable of correct type for
46359 result of __follow_path call.
46360
8a6d5255
AZ
463612011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46362
46363 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46364 of math functions ceil, trunc, floor, round, and sqrt, when
46365 avaliable on the platform.
46366 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46367 name clash.
46368 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46369 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46370 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46371
aaddc98c
MP
463722011-10-30 Marek Polacek <mpolacek@redhat.com>
46373
46374 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46375 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46376
95b7042b
RM
463772011-11-11 Roland McGrath <roland@hack.frob.com>
46378
46379 * include/unistd.h: Fix __readlink return type.
46380 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46381
57769839
UD
463822011-11-11 Ulrich Drepper <drepper@gmail.com>
46383
46384 * stdlib/ucontext.h: Undo last change for makecontext.
46385
edc5984d
AS
463862011-11-11 Andreas Schwab <schwab@redhat.com>
46387
98591e58
AS
46388 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46389
edc5984d
AS
46390 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46391 * setjmp/setjmp.h: Mark functions as non-leaf.
46392 * setjmp/bits/setjmp2.h: Likewise.
46393 * stdlib/ucontext.h: Likewise.
46394
77cdc054
AS
463952011-11-10 Andreas Schwab <schwab@redhat.com>
46396
46397 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46398 (reused_arena): Don't check arena limit.
46399 (arena_get2): Atomically check arena limit.
46400
fe72eebd
UD
464012011-11-08 Ulrich Drepper <drepper@gmail.com>
46402
5f078c32
UD
46403 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46404 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46405
fe72eebd
UD
46406 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46407 instructions.
46408
ae1bc2fa
AS
464092011-11-07 Andreas Schwab <schwab@redhat.com>
46410
7583a88d
AS
46411 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46412 handler when locking.
46413
ae1bc2fa
AS
46414 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46415 Fix size of allocated buffer.
46416
10fb0bfa
AS
464172011-11-04 Andreas Schwab <schwab@redhat.com>
46418
998832a4
AS
46419 [BZ #10103]
46420 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46421 declarations for long double functions.
46422 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46423
10fb0bfa
AS
46424 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46425
3d7ba52b
AS
464262011-11-03 Andreas Schwab <schwab@redhat.com>
46427
a9ae54a1
AS
46428 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46429 installed.
46430
3d7ba52b
AS
46431 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46432 is disabled.
46433
bc8db248
ST
464342011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46435
46436 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46437
45b96dd6
AS
464382011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46439
647776f6
AS
46440 * include/alloca.h (stackinfo_alloca_round): Define.
46441 (extend_alloca): Use it.
46442 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46443 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46444 here.
46445
d91a8b93
AS
46446 * scripts/check-local-headers.sh: Ignore libaudit.h.
46447
45b96dd6
AS
46448 * nscd/Makefile (extra-objs): Make recursively expanded.
46449
432d41ce
UD
464502011-11-01 Ulrich Drepper <drepper@gmail.com>
46451
34372fc6
UD
46452 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46453 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46454
fadb59f8
UD
46455 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46456 * posix/tst-rfc3484-2.c: Likewise.
46457 * posix/tst-rfc3484-3.c: Likewise.
46458
78239589
UD
46459 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46460 process_vm_writev.
46461 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46462 process_vm_writev.
46463 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46464 process_vm_writev from libc using GLIBC_2.15 version.
46465
432d41ce
UD
46466 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46467
02f9c6cf
PP
464682011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46469
46470 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46471 stack usage.
46472
3a2c0242
UD
464732011-10-31 Ulrich Drepper <drepper@gmail.com>
46474
f4ec4833
UD
46475 [BZ #13367]
46476 * nss/getent.c (initgroups_keys): Show error message in case no group
46477 names are given.
46478
3a2c0242
UD
46479 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46480 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46481 __bump_nl_timestamp.
46482 * nscd/connections (nscd_init): When host database is served open
46483 netlink socket and request notification about configuration changes.
46484 (main_loop_poll): Track netlink file descriptor and bump timestamp
46485 in case data becomes available.
46486 (main_loop_epoll): Likewise.
46487 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46488 (database_pers_head): Add extra_data fileds.
46489 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46490 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46491 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46492 Adjust caller.
46493 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46494 in6ai data, call __free_in6ai.
46495 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46496 Add -DHAVE_NETLINK.
46497 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46498 interface information. Reuse previous data if netlink timestamp
46499 is not changed.
46500 (__bump_nl_timestamp): New function.
46501 (__free_in6ai): New function.
46502
636064eb
UD
465032011-10-30 Ulrich Drepper <drepper@gmail.com>
46504
46505 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46506 close_not_cancel_no_status here.
46507 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46508
9beb2334
UD
465092011-10-29 Ulrich Drepper <drepper@gmail.com>
46510
6ef76f3b
UD
46511 [BZ #13276]
46512 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46513 return value.
46514
0ffc4f3e 46515 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
46516 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46517 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46518
cb95113e
UD
465192011-07-03 Andreas Jaeger <aj@suse.de>
46520
46521 [BZ #10709]
46522 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46523 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46524 * math/libm-test.inc (sin_test): Add test case.
46525
a1b560ff
UD
465262011-10-29 Ulrich Drepper <drepper@gmail.com>
46527
c9aaface
UD
46528 [BZ #13337]
46529 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46530 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46531
d272e7f1
UD
46532 * elf/chroot_canon.c (chroot_canon): Cleanups.
46533
1bc33071
UD
46534 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46535
1760874d
TJ
46536 [BZ #13335]
46537 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46538 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46539
51d91b18
UD
46540 * string/test-strchr.c: Make usable for strchrnul testing.
46541 * string/test-strchrnul.c: New file.
46542 * string/Makefile (strop-tests): Add strchrnul.
46543
a1b560ff 46544 * po/it.po: Update from translation team.
b611fb81 46545 * po/es.po: Likewise.
a1b560ff 46546
a5b81e1f
UD
465472011-10-28 Ulrich Drepper <drepper@gmail.com>
46548
fd52bc6d
UD
46549 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46550 the three constants needed as parameters. Drop the others.
46551 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46552 __m128i_strloadu_tolower.
52e4b9eb
UD
46553 Create and initialize variable zero and use it in all the places
46554 where _mm_setzero_si128 was used.
fd52bc6d 46555
a5b81e1f
UD
46556 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46557 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46558 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46559 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46560 anymore.
46561 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46562 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46563 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46564 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46565 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46566 __mpranred, __mptan.
46567 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46568 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46569 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46570 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46571 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46572 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46573 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46574 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46575 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46576
b4343346
AS
465772011-10-28 Andreas Schwab <schwab@redhat.com>
46578
0c92d8a8
AS
46579 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46580 redefine if SHARED.
46581 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46582
b4343346
AS
46583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46584 wide char related routines to wcsmbs subdir.
46585
3871f58f
AS
465862011-10-27 Andreas Schwab <schwab@redhat.com>
46587
46588 [BZ #13344]
46589 * misc/sys/cdefs.h (__THROWNL): Define.
46590 * posix/unistd.h: Use __THREADNL instead of __THREAD
46591 for memory synchronization functions.
46592
94d44d9f
RM
465932011-10-26 Roland McGrath <roland@hack.frob.com>
46594
21b64b15 46595 [BZ #13349]
94d44d9f
RM
46596 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46597 doesn't exist.
46598 * manual/stdio.texi (Obstack Streams): Node removed.
46599
f6ce9294
AS
466002011-10-26 Andreas Schwab <schwab@redhat.com>
46601
80479147
AS
46602 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46603 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46604 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46605
f6ce9294
AS
46606 * math/math_private.h (math_force_eval): Allow non-addressable
46607 arguments.
46608 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46609
618280a1
UD
466102011-10-25 Ulrich Drepper <drepper@gmail.com>
46611
e0016b11
UD
46612 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46613 file is not needed.
46614
46615 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46616 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46617 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46618 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46619 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46620 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46621 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46622 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46623 Add AVX variants.
46624 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46625 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46626 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46627 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46628 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46629 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46630 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46631 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46632 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46633 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46634 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46635 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46636 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46637 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46638 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46639 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46640 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46641 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46642 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46643
46644 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46645 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46646
618280a1
UD
46647 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46648 place. Use VEX encoding when compiling for AVX.
46649
37822576
AS
466502011-10-25 Andreas Schwab <schwab@redhat.com>
46651
1f1e1947
AS
46652 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46653 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46654
37822576
AS
46655 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46656
31ea014d
UD
466572011-10-25 Ulrich Drepper <drepper@gmail.com>
46658
d7826aa1 46659 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46660 useless if() expression.
d7826aa1
UD
46661 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46662 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46663 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46664 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46665 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46666 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46667 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46668 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46669 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46670 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46671 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46672 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46673 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46674 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46675 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46676 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46677 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46678 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46679 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46680
31ea014d
UD
46681 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46682
16437fec
AS
466832011-10-25 Andreas Schwab <schwab@redhat.com>
46684
46685 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46686 condition.
46687 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46688
31d3cc00
UD
466892011-10-25 Ulrich Drepper <drepper@gmail.com>
46690
46691 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46692 .text section. Avoid duplicate constants.
46693 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46694 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46695 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46696 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46697 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46698 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46699 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46700 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46701 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46702 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46703 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46704 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46705 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46706 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46707 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46708 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46709 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46710 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46711 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46712 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46713 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46714 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46715 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46716 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46717 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46718 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46719 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46720 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46721 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46722 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46723 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46724 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46725 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46726 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46727 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46728 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46729 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46730 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46731 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46732 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46733 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46734 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46735 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46736 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46737 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46738
58985aa9
UD
467392011-10-24 Ulrich Drepper <drepper@gmail.com>
46740
202c9deb
UD
46741 * sysdeps/x86_64/dla.h: Move to ...
46742 * sysdeps/x86_64/fpu/dla.h: ...here.
46743 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46744 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46745
af968f62
UD
46746 * config.make.in: Add have-mfma4 entry.
46747 * configure.in: Substitute libc_cv_cc_fma4.
46748 * math/Makefile (dbl-only-routines): Add sincostab.
46749 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46750 Use __sincostab not sincos.
46751 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46752 name is a macro.
46753 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46754 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46755 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46756 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46757 using __copysign.
46758 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46759 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46760 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46761 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46762 and __inv.
46763 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46764 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46765 __copysign.
46766 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46767 define aliases when function name is a macro.
46768 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46769 sysdeps/ieee754/dbl-64/sincos.tbl.
46770 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46771 fma4-enabled routines.
46772 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46773 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46774 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46775 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46776 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46777 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46778 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46779 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46780 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46781 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46782 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46783 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46784 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46785 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46786 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46787 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46788 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46789 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46790 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46791 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46792 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46793 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46794 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46795 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46796 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46797 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46798 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46799 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46800 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46801 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46802
58985aa9
UD
46803 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46804 rename.
46805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46807 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46809 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46810 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46811 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46812 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46813
a201fbcf
AS
468142011-10-24 Andreas Schwab <schwab@redhat.com>
46815
46816 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46817
fc2ee42a
LD
468182011-10-23 Ulrich Drepper <drepper@gmail.com>
46819
bb3129bd
UD
46820 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46821
0275fff8
UD
46822 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46823 prediction.
46824 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46825
2fa2ae85
UD
46826 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46827 Remove unused variable magic_bits.
46828 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46829
fc2ee42a
LD
46830 * string/strnlen.c: Define and use STRNLEN macro.
46831 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46832 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46833 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46834 * wcsmbs/wcslen.c: Define and use WCSLEN.
46835 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46836 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46837 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46838 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46839 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46840 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46841 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46842
ce7dd29f
LD
468432011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46844
46845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46846 strnlen-sse2-no-bsf.
46847 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46848 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46849 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46850 Add strnlen support.
46851 (USE_AS_STRNLEN): New macro.
46852 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46853 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46854 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46855 * sysdeps/x86_64/wcslen.S: New file.
46856
979c70a3
MZ
468572011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46858
46859 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46860 XMM-moves are used for copying on small sizes.
46861
2d09f82f
LD
468622011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46863
46864 * wcsmbs/Makefile (strop-tests): Add wcschr.
46865 * wcsmbs/test-wcschr.c: New file.
46866 * string/test-strchr.c: Update.
46867 Add wcschr support.
46868 (WIDE): New macro.
46869
619fccca
LD
468702011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46871
2d09f82f 46872 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46873 * wcsmbs/test-wcslen.c: New file.
46874 * string/test-strlen.c: Update.
46875 Add wcslen support.
46876 (WIDE): New macro.
46877
09f699ea
UD
468782011-10-23 Ulrich Drepper <drepper@gmail.com>
46879
46880 * po/it.po: Update from translation team.
46881
95584d3b
LD
468822011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46883
46884 * sysdeps/x86_64/wcscmp.S: Update.
46885 Fix wrong comparison semantics.
46886 wcscmp shall use signed comparison not unsigned.
46887 Don't use substraction to avoid overflow bug.
46888 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46889 * wcsmbc/wcscmp.c: Likewise.
46890 * string/test-strcmp.c: Likewise.
46891 Add new tests to check cases with negative values.
46892
c8b3296b
UD
468932011-10-23 Ulrich Drepper <drepper@gmail.com>
46894
46895 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46896 * sysdeps/x86_64/dla.h: ...here. New file.
46897 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46898 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46899 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46900 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46901 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46902 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46904 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46905 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46906
246ad57a
AS
469072011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46908
46909 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46910 __ynl_finite aliases.
46911
a1a87169
UD
469122011-10-22 Ulrich Drepper <drepper@gmail.com>
46913
0d355eb7
UD
46914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46915
a1a87169
UD
46916 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46917 define DLA_FMA.
46918 [DLA_FMA] (EMULV): Use DLA_FMA.
46919 [DLA_FMA] (MUL12): Use EMULV.
46920 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46921 that are not needed.
46922 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46923 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46924 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46925 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46927 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46928 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46929
ee2aafe0
AS
469302011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46931
46932 * math/s_nan.c: Undef __nan.
46933 * math/s_nanf.c: Undef __nanf.
46934 * math/s_nanl.c: Undef __nanl.
46935 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46936 "math_private.h".
46937
bc62c2fb
UD
469382011-10-22 Ulrich Drepper <drepper@gmail.com>
46939
77425c63
UD
46940 * math/s_catan.c: Add branch predictions.
46941 * math/s_catanf.c: Likewise.
46942 * math/s_catanh.c: Likewise.
46943 * math/s_catanhf.c: Likewise.
46944 * math/s_catanhl.c: Likewise.
46945 * math/s_catanl.c: Likewise.
46946 * math/s_cexp.c: Likewise.
46947 * math/s_cexpf.c: Likewise.
46948 * math/s_cexpl.c: Likewise.
46949 * math/s_clog.c: Likewise.
46950 * math/s_clog10.c: Likewise.
46951 * math/s_clog10f.c: Likewise.
46952 * math/s_clog10l.c: Likewise.
46953 * math/s_clogf.c: Likewise.
46954 * math/s_clogl.c: Likewise.
46955 * math/s_csqrt.c: Likewise.
46956 * math/s_csqrtf.c: Likewise.
46957 * math/s_csqrtl.c: Likewise.
46958 * math/s_ctanf.c: Likewise.
46959 * math/s_ctanh.c: Likewise.
46960 * math/s_ctanhf.c: Likewise.
46961 * math/s_ctanhl.c: Likewise.
46962 * math/s_ctanl.c: Likewise.
46963
bc62c2fb
UD
46964 * math/math_private.h: Define __nan, __nanf, __nanl.
46965 * math/s_cacosh.c: Include <math_private.h>.
46966 * math/s_cacoshl.c: Likewise.
46967 * math/s_casinh.c: Likewise.
46968 * math/s_casinhf.c: Likewise.
46969 * math/s_casinhl.c: Likewise.
46970 * math/s_ccos.c: Rely entire on ccosh.
46971 * math/s_ccosf.c: Rely entire on ccoshf.
46972 * math/s_ccosl.c: Rely entirely on ccoshl.
46973 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46974 Remove tests for FE_INVALID.
46975 * math/s_ccoshf.c: Likewise.
46976 * math/s_ccoshl.c: Likewise.
46977 * math/s_csin.c: Likewise.
46978 * math/s_csinf.c: Likewise.
46979 * math/s_csinh.c Likewise.
46980 * math/s_csinhf.c: Likewise.
46981 * math/s_csinhl.c: Likewise.
46982 * math/s_csinl.c: Likewise.
46983 * math/s_ctan.c: Likewise.
46984 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46985 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46986 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46987
8ec250a4
UD
469882011-10-21 Ulrich Drepper <drepper@gmail.com>
46989
c196fed8
UD
46990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46991 compilation problems.
46992
8ec250a4
UD
46993 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46994 __builtin_expect.
46995
8d4f46c6
UD
469962011-10-20 Ulrich Drepper <drepper@gmail.com>
46997
ed72b654
UD
46998 * sysdeps/i386/configure.in: Test for -mfma4 option.
46999 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47000 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47001 COMMON_CPUID_INDEX_80000001.
47002 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47003 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47004 use it if FMA3 is not supported.
47005 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47006
8d4f46c6
UD
47007 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47008 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47009
d45c60c2
AS
470102011-10-20 Andreas Schwab <schwab@redhat.com>
47011
47012 [BZ #12892]
47013 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47014 it would create a cycle with a link time dependency.
47015
d9a4d2ab
UD
470162011-10-19 Ulrich Drepper <drepper@gmail.com>
47017
855d1560
UD
47018 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47019 instruction.
47020 * string/Makefile (strop-tests): Add rawmemchr.
47021 * string/test-rawmemchr.c: New file.
47022
d9a4d2ab
UD
47023 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47024 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47025 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47026 when compiling str{,n}casecmp and when AVX is available. Hook up
47027 new optimized code in initializers.
47028
8f3b1ffe
AS
470292011-10-19 Andreas Schwab <schwab@redhat.com>
47030
47031 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47032 __feraiseexcept instead of feraiseexcept.
47033
d38f1dba
UD
470342011-10-18 Ulrich Drepper <drepper@gmail.com>
47035
d9a8d0ab
UD
47036 * math/math_private.h: Define defaults for libc_fetestexcept and
47037 libc_feupdateenv.
47038 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47039 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47040 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47041 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47042 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47043 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47044 libc_fetestexcept and libc_feupdateenv.
47045
4855e3dd
UD
47046 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47047 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47048 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47049 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47050 libc_feholdexcept_setround.
47051
581d30e3
UD
47052 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47053 Add s_nearbyint-c and s_nearbyintf-c.
47054 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47055 nearbyintf inlines.
47056 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47057 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47058 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47059 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47060
d38f1dba
UD
47061 * math/math_private.h: Define defaults for libc_fegetround,
47062 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47063 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47064 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47065 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47066 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47067 standard functions.
47068 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47069 Remove comments and hacks for old compiler versions.
47070 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47071 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47072 libc_feholdexceptl.
47073
caa6c9d8
AS
470742011-10-18 Andreas Schwab <schwab@redhat.com>
47075
47076 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
47077 (__feraiseexcept_renamed): Add __NTH.
47078 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
47079 namespace violations.
47080
97c066e6
UD
470812011-10-17 Ulrich Drepper <drepper@gmail.com>
47082
99ce7b04
UD
47083 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47084
1004d182
UD
47085 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47086
228a984d
UD
47087 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47088 recently added interfaces.
47089 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47090
c8553a6a
UD
47091 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47092 about macro parameter expansion.
47093
ed22dcf6
UD
47094 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47095 __NO_MATH_INLINES is defined. Cleanups.
47096
47097 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47098 and __floorf is target has SSE4.1.
47099 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47100 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47101 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47102 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47103
b171c137
UD
47104 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47105 name.
47106 (floorf): Likewise.
47107
97c066e6
UD
47108 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47109
629f62ef
AS
471102011-10-17 Andreas Schwab <schwab@redhat.com>
47111
49a43d80
AS
47112 * misc/sys/cdefs.h: Fix last change.
47113
629f62ef
AS
47114 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47115 database lookup.
47116
e453f6cd
UD
471172011-10-16 Ulrich Drepper <drepper@gmail.com>
47118
aa78043a
UD
47119 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47120
ad0f5cad
UD
47121 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47122 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47123 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47124 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47125 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47126 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47127 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47128 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47129 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47130 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47131 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47132 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47133 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47134 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47135 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47136 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47137 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47138 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47139 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47140 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47141 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47142 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47143
47144 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47145 ceil, ceilf, floor, floorf.
47146
47147 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47148 Perform IRELATIVE relocations last.
47149
e453f6cd
UD
47150 * elf/do-rel.h: Add another parameter nrelative, replacing the
47151 local variable with the same name. Change name of the function
47152 to end in Rel or Rela (uppercase).
47153 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47154 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47155 elf_dynamic_do_##reloc function.
47156
fd5bdc09
UD
471572011-10-15 Ulrich Drepper <drepper@gmail.com>
47158
79b195b5
UD
47159 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47160 is sufficient, at least on modern CPUs.
47161
d4a28569
UD
47162 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47163
b61099b5
UD
47164 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47165 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47166
bcf01e6d
UD
47167 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47168 __expl_finite.
47169 * math/bits/math-finite.h: Add entries for exp.
47170 * math/e_expl.c: Add __*_finite alias.
47171 * sysdeps/i386/fpu/e_exp.S: Likewise.
47172 * sysdeps/i386/fpu/e_expf.S: Likewise.
47173 * sysdeps/i386/fpu/e_expl.c: Likewise.
47174 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47175 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47176 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47177 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47178 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47179 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47180 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47181
ba1a0d59
UD
47182 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47183 is sufficient, at least on modern CPUs.
47184
fd5bdc09
UD
47185 * ctype/ctype-info.c (__ctype_init): Define.
47186 * include/ctype.h (__ctype_init): Declare.
47187 (__ctype_b_loc): The variable is always initialized.
47188 (__ctype_toupper_loc): Likewise.
47189 (__ctype_tolower_loc): Likewise.
47190 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47191 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47192
7872cfb0
AS
471932011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47194
b468825a
AS
47195 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47196
7872cfb0
AS
47197 * configure.in: Also look in $cxxmachine/include for C++ system
47198 headers.
47199
be13f7bf
LD
472002011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47201
47202 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47203 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47204 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47205 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47206 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47207 (USE_AS_WMEMCMP): New macro.
47208 Fixing indents.
47209 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47210 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47211 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47212 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47214 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47215 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47216 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47217 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47218 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47219 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47220 (USE_AS_WMEMCMP): New macro.
47221 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47222 * sysdeps/string/test-memcmp.c: Update.
47223 Fix simple_wmemcmp.
47224 Add new tests.
47225 * wcsmbs/wmemcmp.c: Update.
47226 (WMEMCMP): New macro.
47227 Fix overflow bug.
47228
556a2007
AJ
472292011-10-12 Andreas Jaeger <aj@suse.de>
47230
47231 [BZ #13268]
47232 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47233
538faaa7
UD
472342011-10-15 Ulrich Drepper <drepper@gmail.com>
47235
ab6737ff
UD
47236 * libio/iofwide.c (do_length): Avoid warning.
47237
538faaa7
UD
47238 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47239
396a21b1
UD
472402011-10-14 Ulrich Drepper <drepper@gmail.com>
47241
cdf2901f
UD
47242 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47243
38ad40ce
UD
47244 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47245 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47246 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47247 * sysdeps/i386/i686/fpu/e_log.S: New file.
47248 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47249 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47250
396a21b1
UD
47251 * ctype/ctype.h: Add support for inlined isXXX functions when
47252 compiling C++ code.
47253
6b1f68c9
AS
472542011-10-14 Andreas Schwab <schwab@redhat.com>
47255
349290c0
AS
47256 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47257
6b1f68c9
AS
47258 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47259
f2282d42
RM
472602011-10-13 Roland McGrath <roland@hack.frob.com>
47261
47262 [BZ #13291]
47263 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47264
5298ffa8
AS
472652011-10-13 Andreas Schwab <schwab@redhat.com>
47266
714fad23
AS
47267 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47268 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47269 feraiseexcept.
47270
81dcc7fb
AS
47271 * sysdeps/x86_64/memrchr.S: Check for zero size.
47272
5298ffa8
AS
47273 * string/stratcliff.c: Add memrchr tests.
47274
951fbcec
LD
472752011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47276
47277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47278 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47279 rawmemchr-sse2 rawmemchr-sse2-bsf.
47280 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47281 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47282 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47283 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47284 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47285 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47286 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47287 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47288 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47289 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47290 * string/memrchr.c (MEMRCHR): New macro.
47291
0ac5ae23
UD
472922011-10-12 Ulrich Drepper <drepper@gmail.com>
47293
47294 Add integration with gcc's -ffinite-math-only and optimize wrapper
47295 functions in libm.
47296 * Versions.def: Define GLIBC_2.15 version for libm.
47297 * math/Makefile (headers): Add bits/math-finite.h.
47298 * math/bits/math-finite.h: New file.
47299 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47300 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47301 * math/e_acoshl.c: Add __*_finite alias.
47302 * math/e_acosl.c: Likewise.
47303 * math/e_asinl.c: Likewise.
47304 * math/e_atan2l.c: Likewise.
47305 * math/e_atanhl.c: Likewise.
47306 * math/e_coshl.c: Likewise.
47307 * math/e_exp10.c: Likewise.
47308 * math/e_exp10f.c: Likewise.
47309 * math/e_exp10l.c: Likewise.
47310 * math/e_exp2l.c: Likewise.
47311 * math/e_fmodl.c: Likewise.
47312 * math/e_gammal_r.c: Likewise.
47313 * math/e_hypotl.c: Likewise.
47314 * math/e_j0l.c: Likewise.
47315 * math/e_j1l.c: Likewise.
47316 * math/e_jnl.c: Likewise.
47317 * math/e_lgammal_r.c: Likewise.
47318 * math/e_log10l.c: Likewise.
47319 * math/e_log2l.c: Likewise.
47320 * math/e_logl.c: Likewise.
47321 * math/e_powl.c: Likewise.
47322 * math/e_sinhl.c: Likewise.
47323 * math/e_sqrtl.c: Likewise.
47324 * math/e_scalb.c: Completely rewritten and optimized.
47325 * math/e_scalbf.c: Likewise.
47326 * math/e_scalbl.c: Likewise.
47327 * math/w_acos.c: Likewise.
47328 * math/w_acosf.c: Likewise.
47329 * math/w_acosl.c: Likewise.
47330 * math/w_acosh.c: Likewise.
47331 * math/w_acoshf.c: Likewise.
47332 * math/w_acoshl.c: Likewise.
47333 * math/w_asin.c: Likewise.
47334 * math/w_asinf.c: Likewise.
47335 * math/w_asinl.c: Likewise.
47336 * math/w_atan2.c: Likewise.
47337 * math/w_atan2f.c: Likewise.
47338 * math/w_atan2l.c: Likewise.
47339 * math/w_atanh.c: Likewise.
47340 * math/w_atanhf.c: Likewise.
47341 * math/w_atanhl.c: Likewise.
47342 * math/w_exp10.c: Likewise.
47343 * math/w_exp10f.c: Likewise.
47344 * math/w_exp10l.c: Likewise.
47345 * math/w_fmod.c: Likewise.
47346 * math/w_fmodf.c: Likewise.
47347 * math/w_fmodl.c: Likewise.
47348 * math/w_j0.c: Likewise.
47349 * math/w_j0f.c: Likewise.
47350 * math/w_j0l.c: Likewise.
47351 * math/w_j1.c: Likewise.
47352 * math/w_j1f.c: Likewise.
47353 * math/w_j1l.c: Likewise.
47354 * math/w_jn.c: Likewise.
47355 * math/w_jnf.c: Likewise.
47356 * math/w_log.c: Likewise.
47357 * math/w_logf.c: Likewise.
47358 * math/w_logl.c: Likewise.
47359 * math/w_log10.c: Likewise.
47360 * math/w_log10f.c: Likewise.
47361 * math/w_log10l.c: Likewise.
47362 * math/w_log2.c: Likewise.
47363 * math/w_log2f.c: Likewise.
47364 * math/w_log2l.c: Likewise.
47365 * math/w_pow.c: Likewise.
47366 * math/w_powf.c: Likewise.
47367 * math/w_powl.c: Likewise.
47368 * math/w_remainder.c: Likewise.
47369 * math/w_remainderf.c: Likewise.
47370 * math/w_remainderl.c: Likewise.
47371 * math/w_scalb.c: Likewise.
47372 * math/w_scalbf.c: Likewise.
47373 * math/w_scalbl.c: Likewise.
47374 * math/w_sqrt.c: Likewise.
47375 * math/w_sqrtf.c: Likewise.
47376 * math/w_sqrtl.c: Likewise.
47377 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47378 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47379 used.
47380 * math/math_private.h: Declare __kernel_standard_f.
47381 * math/w_cosh.c: Remove cruft and optimize a bit.
47382 * math/w_coshf.c: Likewise.
47383 * math/w_coshl.c: Likewise.
47384 * math/w_exp2.c: Likewise.
47385 * math/w_exp2f.c: Likewise.
47386 * math/w_exp2l.c: Likewise.
47387 * math/w_hypot.c: Likewise.
47388 * math/w_hypotf.c: Likewise.
47389 * math/w_hypotl.c: Likewise.
47390 * math/w_lgamma.c: Likewise.
47391 * math/w_lgamma_r.c: Likewise.
47392 * math/w_lgammaf.c: Likewise.
47393 * math/w_lgammaf_r.c: Likewise.
47394 * math/w_lgammal.c: Likewise.
47395 * math/w_lgammal_r.c: Likewise.
47396 * math/w_sinh.c: Likewise.
47397 * math/w_sinhf.c: Likewise.
47398 * math/w_sinhl.c: Likewise.
47399 * math/w_tgamma.c: Likewise.
47400 * math/w_tgammaf.c: Likewise.
47401 * math/w_tgammal.c: Likewise.
47402 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47403 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47404 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47405 Minor optimizations. Pretty printing. Remove cruft.
47406 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47407 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47408 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47409 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47410 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47411 * sysdeps/i386/fpu/e_asin.S: Likewise.
47412 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47413 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47414 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47415 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47416 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47417 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47418 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47419 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47420 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47421 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47422 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47423 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47424 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47425 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47426 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47427 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47428 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47429 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47430 * sysdeps/i386/fpu/e_log.S: Likewise.
47431 * sysdeps/i386/fpu/e_log10.S: Likewise.
47432 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47433 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47434 * sysdeps/i386/fpu/e_log2.S: Likewise.
47435 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47436 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47437 * sysdeps/i386/fpu/e_logf.S: Likewise.
47438 * sysdeps/i386/fpu/e_logl.S: Likewise.
47439 * sysdeps/i386/fpu/e_pow.S: Likewise.
47440 * sysdeps/i386/fpu/e_powf.S: Likewise.
47441 * sysdeps/i386/fpu/e_powl.S: Likewise.
47442 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47443 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47444 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47445 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47446 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47447 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47448 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47449 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47450 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47451 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47452 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47453 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47454 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47455 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47456 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47457 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47458 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47459 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47460 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47461 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47462 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47463 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47464 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47465 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47466 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47467 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47468 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47469 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47470 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47471 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47472 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47473 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47474 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47475 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47476 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47477 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47478 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47479 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47480 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47481 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47482 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47483 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47484 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47485 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47486 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47487 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47488 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47489 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47490 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47491 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47492 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47493 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47494 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47495 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47496 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47497 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47498 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47499 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47500 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47501 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47502 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47503 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47504 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47505 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47506 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47507 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47508 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47509 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47510 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47511 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47512 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47513 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47514 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47515 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47516 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47517 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47518 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47519 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47520 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47521 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47522 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47523 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47524 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47525 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47526 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47527 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47528 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47529 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47530 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47531 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47532 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47533 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47534 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47535 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47536 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47537 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47538 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47539 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47540 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47541 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47542 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47543 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47544 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47545 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47546 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47547 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47548 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47549 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47550 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47551 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47552 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47553 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47554 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47555 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47556 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47557 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47558 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47559 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47560 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47561 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47562 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47563 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47564 (__isnanf): Likewise.
47565 (__isinf_ns): Likewise.
47566 (__isinf_nsf): Likewise.
47567 (__finite): Likewise.
47568 (__finitef): Likewise.
47569 (__ieee754_sqrt): Define as macro.
47570 (__ieee754_sqrtf): Define as macro.
47571 (__ieee754_sqrtl): Define as macro.
47572 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47573 inlined copy.
47574 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47575 __FINITE_MATH_ONLY__ consistent.
47576 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47577
12cc2fcd
AS
475782011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47579
a843a204
AS
47580 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47581 of rawmemchr.
47582
12cc2fcd
AS
47583 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47584
c853acd5
UD
475852011-10-09 Ulrich Drepper <drepper@gmail.com>
47586
47587 * po/ja.po: Update from translation team.
47588
c658d255
RM
475892011-10-08 Roland McGrath <roland@hack.frob.com>
47590
110946e4
RM
47591 * locale/programs/locarchive.c (prepare_address_space): New function.
47592 (create_archive, enlarge_archive, open_archive): Use it.
47593
50604220
RM
47594 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47595 inside [SHARED], where it is used.
47596
c658d255
RM
47597 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47598
47599 * nss/getent.c (netgroup_keys): Remove unused variable.
47600 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47601
6a621eb7
UD
476022011-10-08 Ulrich Drepper <drepper@gmail.com>
47603
7edb55ce
UD
47604 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47605 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47606 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47607 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47608 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47609 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47610 * math/Makefile (libm-calls): Add s_isinf_ns.
47611 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47612 * math/multc3.c: Likewise.
47613 * math/s_casin.c: Likewise.
47614 * math/s_casinf.c: Likewise.
47615 * math/s_casinl.c: Likewise.
47616 * math/s_ccos.c: Likewise.
47617 * math/s_ccosf.c: Likewise.
47618 * math/s_ccosl.c: Likewise.
47619 * math/s_ctan.c: Likewise.
47620 * math/s_ctanf.c: Likewise.
47621 * math/s_ctanh.c: Likewise.
47622 * math/s_ctanhf.c: Likewise.
47623 * math/s_ctanhl.c: Likewise.
47624 * math/s_ctanl.c: Likewise.
47625 * math/w_fmod.c: Likewise.
47626 * math/w_fmodf.c: Likewise.
47627 * math/w_fmodl.c: Likewise.
47628 * math/w_remainder.c: Likewise.
47629 * math/w_remainderf.c: Likewise.
47630 * math/w_remainderl.c: Likewise.
47631 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47632 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47633 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47634 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47635 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47636 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47637 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47638 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47639
187da0ae
UD
47640 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47641 of the number.
47642 * stdio-common/printf_fphex.c: Likewise.
47643 * stdio-common/printf_size.c: Likewise.
47644
9277c064
UD
47645 * math/e_exp10.c: Include math_private.h using <...> not "...".
47646 * math/e_exp10f.c: Likewise.
47647 * math/e_exp10l.c: Likewise.
47648 * math/e_exp2l.c: Likewise.
47649 * math/e_j0l.c: Likewise.
47650 * math/e_j1l.c: Likewise.
47651 * math/e_jnl.c: Likewise.
47652 * math/e_lgammal_r.c: Likewise.
47653 * math/e_rem_pio2l.c: Likewise.
47654 * math/e_scalb.c: Likewise.
47655 * math/e_scalbf.c: Likewise.
47656 * math/e_scalbl.c: Likewise.
47657 * math/k_cosl.c: Likewise.
47658 * math/k_sinl.c: Likewise.
47659 * math/k_tanl.c: Likewise.
47660 * math/s_cacoshf.c: Likewise.
47661 * math/s_catan.c: Likewise.
47662 * math/s_catanf.c: Likewise.
47663 * math/s_catanh.c: Likewise.
47664 * math/s_catanhf.c: Likewise.
47665 * math/s_catanhl.c: Likewise.
47666 * math/s_catanl.c: Likewise.
47667 * math/s_ccosh.c: Likewise.
47668 * math/s_ccoshf.c: Likewise.
47669 * math/s_ccoshl.c: Likewise.
47670 * math/s_cexp.c: Likewise.
47671 * math/s_cexpf.c: Likewise.
47672 * math/s_cexpl.c: Likewise.
47673 * math/s_clog.c: Likewise.
47674 * math/s_clog10.c: Likewise.
47675 * math/s_clog10f.c: Likewise.
47676 * math/s_clog10l.c: Likewise.
47677 * math/s_clogf.c: Likewise.
47678 * math/s_clogl.c: Likewise.
47679 * math/s_csin.c: Likewise.
47680 * math/s_csinf.c: Likewise.
47681 * math/s_csinh.c: Likewise.
47682 * math/s_csinhf.c: Likewise.
47683 * math/s_csinhl.c: Likewise.
47684 * math/s_csinl.c: Likewise.
47685 * math/s_csqrt.c: Likewise.
47686 * math/s_csqrtf.c: Likewise.
47687 * math/s_csqrtl.c: Likewise.
47688 * math/s_ctan.c: Likewise.
47689 * math/s_ctanf.c: Likewise.
47690 * math/s_ctanh.c: Likewise.
47691 * math/s_ctanhf.c: Likewise.
47692 * math/s_ctanhl.c: Likewise.
47693 * math/s_ctanl.c: Likewise.
47694 * math/s_ldexp.c: Likewise.
47695 * math/s_ldexpf.c: Likewise.
47696 * math/s_ldexpl.c: Likewise.
47697 * math/s_significand.c: Likewise.
47698 * math/s_significandf.c: Likewise.
47699 * math/s_significandl.c: Likewise.
47700 * math/w_acos.c: Likewise.
47701 * math/w_acosf.c: Likewise.
47702 * math/w_acosh.c: Likewise.
47703 * math/w_acoshf.c: Likewise.
47704 * math/w_acoshl.c: Likewise.
47705 * math/w_acosl.c: Likewise.
47706 * math/w_asin.c: Likewise.
47707 * math/w_asinf.c: Likewise.
47708 * math/w_asinl.c: Likewise.
47709 * math/w_atan2.c: Likewise.
47710 * math/w_atan2f.c: Likewise.
47711 * math/w_atan2l.c: Likewise.
47712 * math/w_atanh.c: Likewise.
47713 * math/w_atanhf.c: Likewise.
47714 * math/w_atanhl.c: Likewise.
47715 * math/w_cosh.c: Likewise.
47716 * math/w_coshf.c: Likewise.
47717 * math/w_coshl.c: Likewise.
47718 * math/w_dremf.c: Likewise.
47719 * math/w_exp10.c: Likewise.
47720 * math/w_exp10f.c: Likewise.
47721 * math/w_exp10l.c: Likewise.
47722 * math/w_exp2.c: Likewise.
47723 * math/w_exp2f.c: Likewise.
47724 * math/w_fmod.c: Likewise.
47725 * math/w_fmodf.c: Likewise.
47726 * math/w_fmodl.c: Likewise.
47727 * math/w_hypot.c: Likewise.
47728 * math/w_hypotf.c: Likewise.
47729 * math/w_hypotl.c: Likewise.
47730 * math/w_j0.c: Likewise.
47731 * math/w_j0f.c: Likewise.
47732 * math/w_j0l.c: Likewise.
47733 * math/w_j1.c: Likewise.
47734 * math/w_j1f.c: Likewise.
47735 * math/w_j1l.c: Likewise.
47736 * math/w_jn.c: Likewise.
47737 * math/w_jnf.c: Likewise.
47738 * math/w_jnl.c: Likewise.
47739 * math/w_lgamma.c: Likewise.
47740 * math/w_lgamma_r.c: Likewise.
47741 * math/w_lgammaf.c: Likewise.
47742 * math/w_lgammaf_r.c: Likewise.
47743 * math/w_lgammal.c: Likewise.
47744 * math/w_lgammal_r.c: Likewise.
47745 * math/w_log.c: Likewise.
47746 * math/w_log10.c: Likewise.
47747 * math/w_log10f.c: Likewise.
47748 * math/w_log10l.c: Likewise.
47749 * math/w_log2.c: Likewise.
47750 * math/w_log2f.c: Likewise.
47751 * math/w_log2l.c: Likewise.
47752 * math/w_logf.c: Likewise.
47753 * math/w_logl.c: Likewise.
47754 * math/w_pow.c: Likewise.
47755 * math/w_powf.c: Likewise.
47756 * math/w_powl.c: Likewise.
47757 * math/w_remainder.c: Likewise.
47758 * math/w_remainderf.c: Likewise.
47759 * math/w_remainderl.c: Likewise.
47760 * math/w_scalb.c: Likewise.
47761 * math/w_scalbf.c: Likewise.
47762 * math/w_scalbl.c: Likewise.
47763 * math/w_sinh.c: Likewise.
47764 * math/w_sinhf.c: Likewise.
47765 * math/w_sinhl.c: Likewise.
47766 * math/w_sqrt.c: Likewise.
47767 * math/w_sqrtf.c: Likewise.
47768 * math/w_sqrtl.c: Likewise.
47769 * math/w_tgamma.c: Likewise.
47770 * math/w_tgammaf.c: Likewise.
47771 * math/w_tgammal.c: Likewise.
47772
6a621eb7
UD
47773 * po/ja.po: Update from translation team.
47774
bf582445
AJ
477752011-09-29 Andreas Jaeger <aj@suse.de>
47776
f9efbf3a
AJ
47777 [BZ #13179]
47778 * sunrpc/netname.c (netname2host): Fix logic.
47779
bf582445
AJ
47780 [BZ #6779]
47781 [BZ #6783]
47782 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47783 correctly.
47784 * math/w_remainder.c (__remainder): Likewise.
47785 * math/w_remainderf.c (__remainderf): Likewise.
47786 * math/libm-test.inc (remainder_test): Add test cases.
47787
48693bea
AK
477882011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47789
47790 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47791 sdiv_qrnnd.
47792
42622229
LD
477932011-10-07 Ulrich Drepper <drepper@gmail.com>
47794
47795 * string/test-memcmp.c: Avoid unncessary #defines.
47796 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47797
093ecf92
LD
477982011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47799
47800 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47801 Use new sse2 version for core i3 - i7 as it's faster
47802 than sse42 version.
47803 (bit_Prefer_PMINUB_for_stringop): New.
47804 * sysdeps/x86_64/rawmemchr.S: Update.
47805 Replace with faster SSE2 version.
47806 * sysdeps/x86_64/memrchr.S: New file.
47807 * sysdeps/x86_64/memchr.S: Update.
47808 Replace with faster SSE2 version.
47809
fde56e5c
MP
478102011-09-12 Marek Polacek <mpolacek@redhat.com>
47811
47812 * elf/dl-load.c (lose): Add cast to avoid warning.
47813
21fd49a9
UD
478142011-10-07 Ulrich Drepper <drepper@gmail.com>
47815
5a06e643
UD
47816 * po/ca.po: Update from translation team.
47817
684ae515
UD
47818 * inet/getnetgrent_r.c: Hook up nscd.
47819 * nscd/Makefile (routines): Add nscd_netgroup.
47820 (nscd-modules): Add netgroupcache.
47821 (CFLAGS-netgroupcache.c): Define.
47822 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47823 (cache_search): Add const to second parameter.
47824 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47825 INNETGR.
47826 (dbs): Add netgrdb entry.
47827 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47828 (verify_persistent_db): Handle netgrdb.
47829 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47830 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47831 GETFDNETGR.
47832 (netgroup_response_header): Define.
47833 (innetgroup_response_header): Define.
47834 (datahead): Add netgroup_response_header and innetgroup_response_header
47835 elements.
47836 * nscd/nscd.conf: Add entries for netgroup cache.
47837 * nscd/nscd.h (dbtype): Add netgrdb.
47838 (_PATH_NSCD_NETGROUP_DB): Define.
47839 (netgroup_iov_disabled): Declare.
47840 (xmalloc, xcalloc, xrealloc): Move declarations here.
47841 (cache_search): Adjust prototype.
47842 Add netgroup-related prototypes.
47843 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47844 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47845 (__nscd_innetgr): Declare.
47846 * nscd/selinux.c (perms): Use access_vector_t as element type and
47847 add netgroup-related initializers.
47848 * nscd/netgroupcache.c: New file.
47849 * nscd/nscd_netgroup.c: New file.
47850 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47851 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47852 For four parameters use innetgr.
47853 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47854 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47855 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47856 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47857
21fd49a9
UD
47858 * nscd/connections.c (register_traced_file): Don't register file
47859 for disabled databases.
47860
054c0457
UD
478612011-10-06 Ulrich Drepper <drepper@gmail.com>
47862
32b63198
UD
47863 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47864
054c0457
UD
47865 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47866 from tree and freeing node.
47867
64031225
JO
478682011-09-25 Jiri Olsa <jolsa@redhat.com>
47869
47870 * nss/nsswitch.c (__nss_database_lookup): Handle
47871 nss_parse_service_list out of memory case.
47872
0490345c
JO
478732011-09-15 Jiri Olsa <jolsa@redhat.com>
47874
47875 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47876 out of memory case.
47877
3a62d00d
AS
478782011-10-04 Andreas Schwab <schwab@redhat.com>
47879
47880 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47881 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47882 pass it down.
47883 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47884 elf_machine_rela, elf_machine_lazy_rel.
47885 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47886 (ELF_DYNAMIC_DO_REL): Likewise.
47887 (ELF_DYNAMIC_DO_RELA): Likewise.
47888 (ELF_DYNAMIC_RELOCATE): Likewise.
47889 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47890 to ELF_DYNAMIC_DO_REL.
47891 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47892 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47893 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47894 elf_machine_rela.
47895 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47896 skip_ifunc, don't call ifunc function if non-zero.
47897 (elf_machine_rela): Likewise.
47898 (elf_machine_lazy_rel): Likewise.
47899 (elf_machine_lazy_rela): Likewise.
47900 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47901 (elf_machine_lazy_rel): Likewise.
47902 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47903 Likewise.
47904 (elf_machine_lazy_rel): Likewise.
47905 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47906 Likewise.
47907 (elf_machine_lazy_rel): Likewise.
47908 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47909 (elf_machine_lazy_rel): Likewise.
47910 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47911 (elf_machine_lazy_rel): Likewise.
47912 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47913 (elf_machine_lazy_rel): Likewise.
47914 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47915 (elf_machine_lazy_rel): Likewise.
47916 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47917 (elf_machine_lazy_rel): Likewise.
47918 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47919 (elf_machine_lazy_rel): Likewise.
47920
68577918
UD
479212011-09-28 Ulrich Drepper <drepper@gmail.com>
47922
47923 * nss/nss_files/files-init.c (_nss_files_init): Use static
47924 initialization for all the *_traced_file variables.
47925
68822d74
AS
479262011-09-28 Andreas Schwab <schwab@redhat.com>
47927
47928 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47929
2056100b
RM
479302011-09-27 Roland McGrath <roland@hack.frob.com>
47931
47932 [BZ #13226]
47933 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47934
32c76b63
AS
479352011-09-27 Andreas Schwab <schwab@redhat.com>
47936
47937 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47938 Reread the line before reparsing it.
47939
bf972c9d
AS
479402011-09-26 Andreas Schwab <schwab@redhat.com>
47941
47942 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47943
e057a1b5
JM
479442011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47945 Maxim Kuvyrkov <maxim@codesourcery.com>
47946 Joseph Myers <joseph@codesourcery.com>
47947
47948 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47949 if needed for __stack_chk_guard.
47950
bc7e1c36
RM
479512011-09-19 Roland McGrath <roland@hack.frob.com>
47952
ecb1482f
RM
47953 * sysdeps/posix/spawni.c (script_execute): Always define it.
47954 It will be optimized away if unused.
47955 (maybe_script_execute): New function.
47956 (__spawni): Call it.
47957
bc7e1c36
RM
47958 * Makerules: Don't include tls.make.
47959 (config-tls): Always set to thread.
47960 * tls.make.c: File removed.
47961
1c3b002b
MF
479622011-09-19 Mike Frysinger <vapier@gentoo.org>
47963
47964 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47965 * config.make.in (CPPFLAGS-config): New substituted variable.
47966
2840865d
UD
479672011-09-15 Ulrich Drepper <drepper@gmail.com>
47968
88738eb6
UD
47969 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47970
cbf645a6 47971 [BZ #13192]
2840865d
UD
47972 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47973 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47974
b402e91a
RM
479752011-09-15 Roland McGrath <roland@hack.frob.com>
47976
47977 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47978 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47979 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47980 (CALL_FAIL): Likewise.
47981 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47982 (CALL_FAIL): Macro removed.
47983 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47984
4c1a1f71
UD
479852011-09-15 Ulrich Drepper <drepper@gmail.com>
47986
47987 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47988 for __FINITE_MATH_ONLY__ == 1.
47989
edc121be
AS
479902011-09-15 Andreas Schwab <schwab@redhat.com>
47991
47992 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47993 __ieee754_sqrt instead of sqrt.
47994 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47995 __ieee754_sqrtf instead of sqrtf.
47996 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47997 __floorf instead of floorf.
47998 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47999 __floorf, __truncf instead of floorf, truncf.
48000
cd205654
UD
480012011-09-14 Ulrich Drepper <drepper@gmail.com>
48002
ee4d0315
UD
48003 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48004
cd205654
UD
48005 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48006 __extern_always_inline.
48007 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48008 32-bit.
48009
48b67d71
AS
480102011-09-14 Andreas Schwab <schwab@redhat.com>
48011
48012 * elf/rtld.c (dl_main): Also relocate in dependency order when
48013 doing symbol dependency testing.
48014
1ae12c75
AS
480152011-09-13 Andreas Schwab <schwab@linux-m68k.org>
48016
48017 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48018 Always define `refsym'.
48019
995a80df
AS
480202011-09-13 Andreas Schwab <schwab@redhat.com>
48021
e529793b
AS
48022 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48023 (__FD_ELT): Renamed from __FDELT.
48024 * misc/bits/select2.h (__FD_ELT): Likewise.
48025 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48026 __FD_MASK instead of __FDELT, __FDMASK.
48027 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48028 Likewise.
48029 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48030 Likewise.
48031
52d4fef8
AS
48032 * elf/Makefile (gen-ldd): Fix pattern.
48033
995a80df
AS
48034 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48035 (init_tls): Likewise.
48036
8682f8b0
UD
480372011-09-12 Ulrich Drepper <drepper@gmail.com>
48038
48039 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48040
de82006d
AS
480412011-09-12 Andreas Schwab <schwab@redhat.com>
48042
a7c8e6a1
AS
48043 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48044 `struct cmsghdr *' instead of `void *'.
48045 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48046 Likewise.
48047
0f31fe77
AS
480482011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48049
48050 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48051 if non-absolute.
48052 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48053 ldd_rewrite_script.
0f31fe77 48054
32b4c839
UD
480552011-09-11 Ulrich Drepper <drepper@gmail.com>
48056
83cd1420
UD
48057 * configure.in: Remove --with-tls option.
48058 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48059 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48060 out in case it is missing.
48061 * sysdeps/ia64/elf/configure.in: Likewise.
48062 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48063 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48064 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48065 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48066 * sysdeps/sh/elf/configure.in: Likewise.
48067 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48068 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48069 * sysdeps/x86_64/elf/configure.in: Likewise.
48070 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48071 * sysdeps/mach/hurd/tls.h: Likewise.
48072
633f745d
UD
48073 [BZ #13067]
48074 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48075
f318beb8
UD
48076 [BZ #13090]
48077 * configure.in: Fix use of AC_INIT.
48078
32b4c839
UD
48079 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48080
3ce1f295
UD
480812011-09-10 Ulrich Drepper <drepper@gmail.com>
48082
bb016596
UD
48083 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48084 __set_errno.
8e58439c
UD
48085 * malloc/hooks.c: Likewise.
48086
aebae053 48087 [BZ #11929]
02d46fc4
UD
48088 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48089 variables statically.
48090 (narenas): Initialize.
48091 (list_lock): Initialize.
bb016596
UD
48092 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48093 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
48094 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48095 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48096 Add initializers to main_arena and mp_.
48097 (malloc_state): Remove pagesize member. Change all users to use
48098 GLRO(dl_pagesize).
48099
48100 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48101 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48102 is always initialized.
48103
22a89187
UD
48104 * malloc/malloc.c: Removed unused configurations and dead code.
48105 * malloc/arena.c: Likewise.
48106 * malloc/hooks.c: Likewise.
02d46fc4 48107 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 48108
d063d164
UD
48109 * include/tls.h: Removed. USE___THREAD must always be defined.
48110 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48111 * elf/dl-libc.c: Likewise.
48112 * elf/dl-tsd.c: Likewise.
48113 * include/errno.h: Likewise.
48114 * include/netdb.h: Likewise.
48115 * include/resolv.h: Likewise.
48116 * inet/herrno-loc.c: Likewise.
48117 * inet/herrno.c: Likewise.
48118 * malloc/arena.c: Likewise.
48119 * malloc/hooks.c: Likewise.
48120 * malloc/malloc.c: Likewise.
48121 * resolv/res-state.c: Likewise.
48122 * resolv/res_libc.c: Likewise.
48123 * sysdeps/i386/dl-machine.h: Likewise.
48124 * sysdeps/ia64/dl-machine.h: Likewise.
48125 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48126 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48127 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48128 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48129 * sysdeps/sh/dl-machine.h: Likewise.
48130 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48131 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48132 * sysdeps/unix/i386/sysdep.S: Likewise.
48133 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48134 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48135 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48136 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48137 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48138 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48139 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48140 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48143 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48144 * sysdeps/x86_64/dl-machine.h: Likewise.
48145 * tls.make.c: Likewise.
48146
3ce1f295
UD
48147 * configure.in: Remove --with-__thread option. Make tests for
48148 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48149 tls_model attribute fail if no support is available. Remove
48150 USE_IN_LIBIO.
48151 * Makeconfig: Adjust for dropped configure option. All features are
48152 now mandatory.
48153 * Makerules: Likewise.
48154 * Versions.def: Likewise.
48155 * argp/argp-fmtstream.c: Likewise.
48156 * argp/argp-fmtstream.h: Likewise.
48157 * argp/argp-help.c: Likewise.
48158 * assert/assert.c: Likewise.
48159 * config.h.in: Likewise.
48160 * config.make.in: Likewise.
48161 * configure: Likewise.
48162 * configure.in: Likewise.
48163 * csu/Versions: Likewise.
48164 * csu/init.c: Likewise.
48165 * elf/tst-audit2.c: Likewise.
48166 * elf/tst-tls10.c: Likewise.
48167 * elf/tst-tls10.h: Likewise.
48168 * elf/tst-tls11.c: Likewise.
48169 * elf/tst-tls12.c: Likewise.
48170 * elf/tst-tls14.c: Likewise.
48171 * elf/tst-tlsmod11.c: Likewise.
48172 * elf/tst-tlsmod12.c: Likewise.
48173 * elf/tst-tlsmod13.c: Likewise.
48174 * elf/tst-tlsmod13a.c: Likewise.
48175 * elf/tst-tlsmod14a.c: Likewise.
48176 * elf/tst-tlsmod15b.c: Likewise.
48177 * elf/tst-tlsmod16a.c: Likewise.
48178 * elf/tst-tlsmod16b.c: Likewise.
48179 * elf/tst-tlsmod7.c: Likewise.
48180 * elf/tst-tlsmod8.c: Likewise.
48181 * elf/tst-tlsmod9.c: Likewise.
48182 * gmon/gmon.c: Likewise.
48183 * grp/fgetgrent_r.c: Likewise.
48184 * grp/putgrent.c: Likewise.
48185 * hurd/fopenport.c: Likewise.
48186 * include/libc-symbols.h: Likewise.
48187 * include/tls.h: Likewise.
48188 * intl/gettextP.h: Likewise.
48189 * intl/loadinfo.h: Likewise.
48190 * locale/global-locale.c: Likewise.
48191 * locale/localeinfo.h: Likewise.
48192 * mach/devstream.c: Likewise.
48193 * malloc/arena.c: Likewise.
48194 * malloc/set-freeres.c: Likewise.
48195 * misc/err.c: Likewise.
48196 * misc/getttyent.c: Likewise.
48197 * misc/mntent_r.c: Likewise.
48198 * posix/getopt.c: Likewise.
48199 * posix/wordexp.c: Likewise.
48200 * pwd/fgetpwent_r.c: Likewise.
48201 * resolv/Versions: Likewise.
48202 * resolv/res_hconf.c: Likewise.
48203 * shadow/fgetspent_r.c: Likewise.
48204 * shadow/putspent.c: Likewise.
48205 * stdio-common/printf_fphex.c: Likewise.
48206 * stdio-common/tmpfile.c: Likewise.
48207 * stdlib/abort.c: Likewise.
48208 * stdlib/fmtmsg.c: Likewise.
48209 * sunrpc/auth_unix.c: Likewise.
48210 * sunrpc/clnt_perr.c: Likewise.
48211 * sunrpc/clnt_tcp.c: Likewise.
48212 * sunrpc/clnt_udp.c: Likewise.
48213 * sunrpc/clnt_unix.c: Likewise.
48214 * sunrpc/openchild.c: Likewise.
48215 * sunrpc/svc_simple.c: Likewise.
48216 * sunrpc/svc_tcp.c: Likewise.
48217 * sunrpc/svc_udp.c: Likewise.
48218 * sunrpc/svc_unix.c: Likewise.
48219 * sunrpc/xdr.c: Likewise.
48220 * sunrpc/xdr_array.c: Likewise.
48221 * sunrpc/xdr_rec.c: Likewise.
48222 * sunrpc/xdr_ref.c: Likewise.
48223 * sunrpc/xdr_stdio.c: Likewise.
48224
1248c1c4
PB
482252011-09-09 Ulrich Drepper <drepper@gmail.com>
48226
48227 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48228
482292011-07-03 Andreas Jaeger <aj@suse.de>
48230
48231 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48232 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48233 regenerate with gen-libm-tests.pl.
48234
482352010-05-12 Petr Baudis <pasky@suse.cz>
48236
48237 [BZ #11589]
48238 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48239 around j0() zero points by switching to j1().
48240 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48241 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48242 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48243 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48244
f22e1074
UD
482452011-09-09 Ulrich Drepper <drepper@gmail.com>
48246
f19009c1
UD
48247 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48248 instead of 0.
48249 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 48250 instead of 0.
f19009c1
UD
48251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48252 Patch in part by Pavel Roskin <proski@gnu.org>.
48253
3f8cc204
UD
48254 [BZ #13138]
48255 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48256 realloc.
48257 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48258 Free memory block if necessary.
48259
f22e1074
UD
48260 [BZ #12847]
48261 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48262 be NULL. Don't lock in this case.
48263
0a2349f9
RM
482642011-09-09 Roland McGrath <roland@hack.frob.com>
48265
48266 * elf/elf.h (ELFOSABI_GNU): New macro.
48267 (ELFOSABI_LINUX): Define to that.
48268
f3cdd467
DZ
482692011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48270
48271 * string/strncat.c (strncat): Undef the symbol in case it has been
48272 defined in bits/string.h.
48273
74718d13
UD
482742011-09-09 Ulrich Drepper <drepper@gmail.com>
48275
633e9e0f
UD
48276 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48277
0a2349f9 48278 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
48279 link map.
48280
f9924780
AJ
482812011-08-17 Andreas Jaeger <aj@suse.de>
48282
48283 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48284
7f5517aa
PP
482852011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48286 Ian Lance Taylor <iant@google.com>
48287
48288 * math/libm-test.inc (lround_test): New testcase.
48289 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48290
762011fe
UD
482912011-09-08 Ulrich Drepper <drepper@gmail.com>
48292
92963737
UD
48293 * Makefile: Remove support for automatic cvs check-ins.
48294 * Makerules: Likewise.
48295 * config.make.in: Likewise.
48296 * configure.in: Likewise.
48297 * intl/Makefile: Likewise.
48298 * locale/Makefile: Likewise.
48299 * po/Makefile: Likewise.
48300 * posix/Makefile: Likewise.
48301 * sysdeps/gnu/Makefile: Likewise.
48302 * sysdeps/mach/hurd/Makefile: Likewise.
48303 * sysdeps/sparc/sparc32/Makefile: Likewise.
48304
b0727fd8
JS
48305 [BZ #13118]
48306 * posix/Makefile (bug-regex32-ENV): Define.
48307 Patch by John Stanley <jpsinthemix@verizon.net>.
48308
a0f33f99
UD
48309 * misc/Makefile (headers): Add bits/select2.h.
48310 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48311 * misc/bits/select2.h: New file.
48312 * include/bits/select2.h: New file.
48313 * debug/Makefile (routines): Add fdelt_chk.
48314 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48315 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48316 FD_ISSET.
48317 * debug/fdelt_chk.c: New file.
48318
762011fe
UD
48319 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48320 * wcsmbs/test-wmemcmp.c: Likewise.
48321 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 48322 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
48323
483242011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48325
48326 * string/Makefile (strop-tests): Add memcmp.
48327 * string/test-wmemcmp.c: New file.
48328 * string/test-memcmp.c: Add wmemcmp support.
48329
7f513ec8
RM
483302011-09-08 Roland McGrath <roland@hack.frob.com>
48331
0442afb4
RM
48332 [BZ #13153]
48333 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48334 2011-07-19 change.
48335
7f513ec8
RM
48336 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48337 garbage value in a __mach_port_mod_refs call in the cases of the
48338 task-self and thread-self ports.
48339
a12b2239
ST
483402011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48341
48342 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48343
610f9ab4
AS
483442011-09-08 Andreas Schwab <schwab@redhat.com>
48345
7f513ec8 48346 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 48347
48882a1a
LD
483482011-09-07 Ulrich Drepper <drepper@gmail.com>
48349
b49865be
UD
48350 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48351
fdc86bc9
UD
48352 * elf/dl-libc.c (dlerror_run): Pass back error code from
48353 dl_catch_error.
48354
c966526a
UD
48355 [BZ #13123]
48356 * elf/dl-load.c (lose): Free l_origin if it is valid.
48357
48882a1a
LD
48358 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48359 names.
48360 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48361 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48362 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48363 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48364 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48365 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48366
77a2a8b4
AZ
483672011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48368
48369 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48370 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48371 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48372 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48373 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48374 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48375 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48376 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48377 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48378 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48379
24f579d8
AM
483802011-08-15 Alan Modra <amodra@gmail.com>
48381
48382 [BZ #13092]
48383 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48384 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48385 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48386 ppc_mcount to static-only-routines.
48387 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48388 __mcount_internal.
48389 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48390 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48391
3d4837df
UD
483922011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48393
48394 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48395 for finite and infinity parameters.
48396
22700377
WS
483972011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48398
48399 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48400 and add nop instructions for throughput optimization.
48401 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48402
5025581e
WS
484032011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48404
48405 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48406 aligned copy for power7 with vector-scalar instructions.
48407 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48408
08a300c9
L
484092011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48410
48411 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48412 AVX check.
48413
59178ef9
AS
484142011-09-07 Andreas Schwab <schwab@redhat.com>
48415
48416 [BZ #13144]
48417 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48418 last change.
48419
e38ba7ab
UD
484202011-09-07 Ulrich Drepper <drepper@gmail.com>
48421
48422 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48423 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48424 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48425 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48426 clock_gettime.
48427
d53a73ac
UD
484282011-09-06 Ulrich Drepper <drepper@gmail.com>
48429
fc8bffcc
UD
48430 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48431 Forgot to demangle the pointer.
48432
ceaa0c5d
UD
48433 * sysdeps/i386/sysdep.h: Define atom_text_section.
48434 * sysdeps/x86_64/sysdep.h: Likewise.
48435 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48436 section with atom_text_section.
48437 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48438 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48439 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48440 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48441 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48442
a77d3c17
UD
48443 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48444 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48445 already be defined. Change to take two parameters and don't assign
48446 result to variable. Adjust all users.
48447 Define INTERNAL_GETTIME if not already defined.
48448 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48449 call.
48450 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48451 HAVE_CLOCK_GETTIME_VSYSCALL.
48452 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48453
d53a73ac
UD
48454 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48455 gettimeofday vsyscall, just use time.
48456
a8f84144
AS
484572011-09-06 Andreas Schwab <schwab@redhat.com>
48458
48459 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48460 <errno.h>.
48461
ef606249
UD
484622011-09-06 Ulrich Drepper <drepper@gmail.com>
48463
48464 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48465 syscall on x86-64.
48466 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48467 syscall.
48468 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48469 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48470 syscall if possible.
48471
6585cb60
UD
484722011-09-05 Ulrich Drepper <drepper@gmail.com>
48473
48474 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48475 e_ident. Don't pass to find_mapsXX.
48476 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48477
a5f524e4
LD
484782011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48479
48480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48481 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48482 * sysdeps/x86_64/multiarch/strchr.S: Update.
48483 Check bit_slow_BSF bit.
48484 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48485 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48486 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48487
554881ef
UD
484882011-09-05 Ulrich Drepper <drepper@gmail.com>
48489
d96de963
UD
48490 [BZ #13134]
48491 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48492 before glibc 2.15.
48493 (tryshell): Define.
48494 (__spawni): Change last parameter to be flag. Test
48495 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48496 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48497 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48498 * posix/spawni.c: Likewise.
48499 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48500 * posix/spawnp.c: Likewise. Change normal version to use
48501 SPAWN_XFLAGS_USE_PATH.
48502 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48503 SPAWN_XFLAGS_TRY_SHELL.
48504
d48e5868
UD
48505 [BZ #13150]
48506 * posix/glob.h: Remove gcc 1.x support.
48507
554881ef
UD
48508 [BZ #13068]
48509 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48510
693fb948
LD
485112011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48512
48513 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48514 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48515 strrchr-sse2-bsf
48516 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48517 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48518 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48519 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48520 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48521 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48522
1b48c537
UD
485232011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48524
49d42c37
UD
48525 * sysdeps/x86_64/wcscmp.S: New file.
48526
1b48c537
UD
48527 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48528 wcscmp-c wcscmp-sse2
48529 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48530 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48531 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48532 * wcsmbs/wcscmp.c: Allow renaming.
48533
15c95c5d
DM
485342011-09-05 David S. Miller <davem@davemloft.net>
48535
48536 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48537 stack slot, rather than the struct return pointer slot.
48538 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48539 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48541 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48542
2f0ad8f3
UD
485432011-09-05 Ulrich Drepper <drepper@gmail.com>
48544
d88ae418
UD
48545 * po/ja.po: Update from translation team.
48546
2f0ad8f3
UD
48547 [BZ #13144]
48548 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48549 kernel in 64-bit binaries.
48550
5f4318d1
DM
485512011-09-01 David S. Miller <davem@davemloft.net>
48552
48553 * elf/elf.h (HWCAP_SPARC_*): Move to..
48554 * sysdeps/sparc/sysdep.h: this new file and add new values.
48555 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48556 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48557 _DL_HWCAP_COUNT to 24.
48558 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48559 entries.
48560 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48561 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48562 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48563 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48564 instead of magic constants.
48565 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48566
3ba57516
DM
485672011-08-31 David S. Miller <davem@davemloft.net>
48568
48569 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48570 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48571 Reimplement to do errno handling inline.
48572 (SYSCALL_ERROR_HANDLER): New macro.
48573 (__SYSCALL_STRING): Do not do errno handling in asm.
48574 (__CLONE_SYSCALL_STRING): Delete.
48575 (__INTERNAL_SYSCALL_STRING): Delete.
48576 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48577 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48578 (PSEUDO): Reimplement to do errno handling inline.
48579 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48580 (SYSCALL_ERROR_HANDLER): New macro.
48581 (__SYSCALL_STRING): Do not do errno handling in asm.
48582 (__CLONE_SYSCALL_STRING): Delete.
48583 (__INTERNAL_SYSCALL_STRING): Delete.
48584 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48585 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48586 i386.
48587 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48588 (inline_syscall*): Add 'err' argument.
48589 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48590 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48591 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48592 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48593
48594 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48595 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48596
2bc17433
AS
485972011-08-30 Andreas Schwab <schwab@redhat.com>
48598
48599 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48600
fbeb5f4d
JO
486012011-08-29 Jiri Olsa <jolsa@redhat.com>
48602
48603 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48604 directive.
48605
ad69cc26
DM
486062011-08-24 David S. Miller <davem@davemloft.net>
48607
48608 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48609
39dd69df
AS
486102011-08-24 Andreas Schwab <schwab@redhat.com>
48611
48612 * elf/Makefile: Add rules to build and run unload8 test.
48613 * elf/unload8.c: New file.
48614 * elf/unload8mod1.c: New file.
48615 * elf/unload8mod1x.c: New file.
48616 * elf/unload8mod2.c: New file.
48617 * elf/unload8mod3.c: New file.
48618
48619 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48620 it wasn't used.
48621
2c0b250a
DM
486222011-08-23 David S. Miller <davem@davemloft.net>
48623
48624 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48625 subtract stack bias.
48626 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48627 %sp not %fp in calculations.
48628 (_JMPBUF_UNWINDS_ADJ): Likewise.
48629
22044b48
DM
48630 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48631 (aio_suspend): Call it to force an exception region around the
48632 AIO_MISC_WAIT() invocation.
48633
2cae4995
AS
486342011-08-23 Andreas Schwab <schwab@redhat.com>
48635
48636 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48637 backslash.
48638
873a772e
AJ
486392011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48640
48641 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48642 protection macro.
48643 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48644 and <dl-machine.h>.
48645 (Elf64_FuncDesc): Remove.
48646
25ad0df1
DM
486472011-08-22 David S. Miller <davem@davemloft.net>
48648
48649 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48650 sigaltstack check, add missing cfi directives.
48651 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48652 missing cfi directives, and sigaltstack handling.
48653
e888bcbe
AS
486542011-08-16 Andreas Schwab <schwab@redhat.com>
48655
48656 [BZ #11724]
48657 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48658 object is seen twice.
48659 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48660
48661 * elf/Makefile (distribute): Add tst-initorder2.c.
48662 (tests): Add tst-initorder2.
48663 (modules-names): Add tst-initorder2a tst-initorder2b
48664 tst-initorder2c tst-initorder2d. Add rules to build them.
48665 ($(objpfx)tst-initorder2.out): New rule.
48666 * elf/tst-initorder2.c: New file.
48667 * elf/tst-initorder2.exp: New file.
48668
87162f46
AS
486692011-08-22 Andreas Schwab <schwab@redhat.com>
48670
70538b7f
AS
48671 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48672
f55ffe58
AS
48673 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48674 dependencies back to end of function.
48675
87162f46
AS
48676 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48677 $(elfobjdir)/ld.so.
48678
91b392a4
UD
486792011-08-21 Ulrich Drepper <drepper@gmail.com>
48680
48681 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48682 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48683 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48684 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48685 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48686 of __vdso_gettimeofday.
48687 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48688 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48689 attribute_hidden.
48690 (_libc_vdso_platform_setup): Remove initialization of
48691 __vdso_gettimeofday and __vdso_time.
48692
5c43483f
UD
486932011-08-20 Ulrich Drepper <drepper@gmail.com>
48694
775a77e7
UD
48695 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48696 and fgetc_unlocked.
48697 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48698 getc_unlocked.
89f447ed 48699
49c74ba9
UD
48700 * elf/dl-open.c (add_to_global): Report additions to the global scope
48701 for LD_DEBUG=scopes.
48702 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48703 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48704
5c43483f
UD
48705 [BZ #13114]
48706 * stdio-common/Makefile (tests): Add bug24.
48707 * stdio-common/bug24.c: New file.
48708
a101b025
AJ
487092011-08-19 Andreas Jaeger <aj@suse.de>
48710
48711 [BZ #13114]
48712 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48713 non-existant file when using close-on-exec mode.
48714
c88f1766
UD
487152011-08-20 Ulrich Drepper <drepper@gmail.com>
48716
0276a718
UD
48717 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48718 the very first instruction.
48719
c88f1766
UD
48720 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48721 the CFI state in the end.
48722 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48723 inclusion of dl-trampoline.h.
48724 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48725
51ccffa0
AS
487262011-08-19 Andreas Schwab <schwab@redhat.com>
48727
94d7165f
AS
48728 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48729 expectations for long double.
48730
51ccffa0
AS
48731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48732 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48733
fd708658 487342011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48735
48736 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48737 artificual limit depends upon the system page size.
48738
44f0a71e
UD
487392011-08-17 Ulrich Drepper <drepper@gmail.com>
48740
48741 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48742 * resolv/Makefile: Define CFLAGS-libresolv.
48743
8de79a24
AS
487442011-08-17 Andreas Schwab <schwab@redhat.com>
48745
48746 * nss/makedb.c (compute_tables): Make variables used in nested
48747 function static.
48748
27724598
UD
487492011-08-17 Ulrich Drepper <drepper@gmail.com>
48750
c5305d88
UD
48751 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48752 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48753 if buffer was too small.
48754
27724598
UD
48755 * elf/pldd.c (main): Attach to all threads in the process.
48756 Rewrite /proc handling to use *at functions.
48757
076fe015
UD
487582011-08-16 Ulrich Drepper <drepper@gmail.com>
48759
174baab3
UD
48760 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48761 specifies first scope to show.
48762 (dl_open_worker): Update callers. Move printing scope of new
48763 object to before the relocation.
44f0a71e 48764 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48765 * sysdeps/generic/ldsodefs.h: Update declaration.
48766
076fe015
UD
48767 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48768 string for the scope number.
48769
a60df2c3
UD
487702011-08-14 Ulrich Drepper <drepper@gmail.com>
48771
48772 * nscd/servicescache.c (cache_addserv): Make sure written is always
48773 initialized.
48774
5e4287d1
RM
487752011-08-14 Roland McGrath <roland@hack.frob.com>
48776
85ae0589
RM
48777 * sysdeps/i386/i486/bits/atomic.h
48778 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48779 statement expression, so as to suppress "set but not used" warning.
48780 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48781
69f63097
RM
48782 * string/strncat.c (STRNCAT): Use prototype definition.
48783
675456ef
RM
48784 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48785 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48786 -Iprograms here.
48787 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48788 (localedef-modules): Add localedef.
48789 (locale-modules): Add locale.
48790
5e4287d1
RM
48791 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48792 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48793 to avoid a warning.
48794
9c96ff23
DM
487952011-08-14 David S. Miller <davem@davemloft.net>
48796
48797 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48798 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48799
f9ddf089
UD
488002011-08-13 Ulrich Drepper <drepper@gmail.com>
48801
44f0a71e 48802 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48803 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48804 * elf/rtld.c (dl_main): Set l_name of vDSO.
48805 Call _dl_show_scope when DL_DEBUG_SCOPES.
48806 (process_dl_debug): Recognize scopes flag and also set it for all.
48807 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48808 Declare _dl_show_scope.
48809
1dc27704
UD
48810 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48811 (do_dlopen): Pass caller_dlopen to dl_open.
48812 (__libc_dlopen_mode): Initialize caller_dlopen.
48813
f9ddf089
UD
48814 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48815 of libc. Make tolower call locale-independent. Optimize a bit by
48816 using isdigit instead of isalnum.
48817 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48818
9ac533d3
UD
488192011-08-12 Ulrich Drepper <drepper@gmail.com>
48820
48821 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48822 was a dependency or dynamically loaded.
48823
89edf2e9
UD
488242011-08-11 Ulrich Drepper <drepper@gmail.com>
48825
8e999d29
UD
48826 * intl/l10nflist.c: Allow architecture-specific pop function.
48827 * sysdeps/x86_64/l10nflist.c: New file.
48828
89edf2e9
UD
48829 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48830 classification.
48831
14d96785
AS
488322011-08-10 Andreas Schwab <schwab@redhat.com>
48833
48834 * include/dirent.h: Add libc_hidden_proto for scandirat and
48835 scandirat64. Don't declare __scandirat64.
48836 * dirent/scandirat.c: Add libc_hidden_def.
48837 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48838 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48839
6761ac04
DM
488402011-08-10 David S. Miller <davem@davemloft.net>
48841
48842 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48843 enum.
48844 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48845 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48846 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48847
c55fbd1e
UD
488482011-08-09 Ulrich Drepper <drepper@gmail.com>
48849
48850 * Versions.def [libc]: Add GLIBC_2.15.
48851 * dirent/Makefile (routines): Add scandirat and scandirat64.
48852 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48853 GLIBC_2.15.
48854 * dirent/dirent.h: Declare scandirat and scandirat64.
48855 * dirent/scandirat.c: New file.
48856 * dirent/scandirat64.c: New file.
48857 * sysdeps/wordsize-64/scandirat.c: New file.
48858 * sysdeps/wordsize-64/scandirat64.c: New file.
48859 * dirent/opendir.c: Define opendirat.
48860 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48861 using scandirat.
48862 * dirent/scandir64.c: Adjust for scandir.c change.
48863 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48864 __scandirat64, and __scandir_cancel_handler.
48865 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48866 additional parameter and use openat instead of open (outside of ld.so).
48867 Add new __opendir as wrapper around __opendirat.
48868 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48869 here without requiring old scandirat implementation.
48870
879165f2
UD
488712011-08-08 Ulrich Drepper <drepper@gmail.com>
48872
48873 * dirent/scandir.c (cancel_handler): Renamed to
48874 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48875 defined. Adjust users.
48876 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48877 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48878
cb7e923b
UD
488792011-08-04 Ulrich Drepper <drepper@gmail.com>
48880
16292edd
UD
48881 * string/test-string.h (IMPL): Use __STRING to expand name and then
48882 stringify it.
48883
cb7e923b
UD
48884 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48885 of cleanups.
48886
cff82933
LD
488872011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48888
48889 * string/Makefile: Update.
48890 (strop-tests): Append strncat.
48891 * string/test-wcscmp.c: New file.
48892 New comprehensive test for wcscmp.
48893 * string/test-strcmp.c: Update.
48894 (WIDE): New define.
48895
9be9bfcc
AS
488962011-07-22 Andreas Schwab <schwab@redhat.com>
48897
48898 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48899 line.
48900
2e96f1c7
AS
489012011-07-26 Andreas Schwab <schwab@redhat.com>
48902
48903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48904 encoding to ACE if AI_IDN.
48905
85188888
JJ
489062011-08-01 Jakub Jelinek <jakub@redhat.com>
48907
48908 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48909 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48910
5fa16e9b
LD
489112011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48912
48913 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48914 Fix overflow bug in strncat.
48915 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48916
48917 * string/test-strncat.c: Update.
48918 Add new tests for checking overflow bugs.
48919
489202011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48921
48922 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48923 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48924 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48925 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48926 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48927 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48928 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48929 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48930 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48931
48932 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48933 (USE_AS_STRCAT): Define.
48934 Add strcat and strncat support.
48935 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48936
8c1a459f
AS
489372011-07-25 Andreas Schwab <schwab@redhat.com>
48938
48939 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48940 __n bigger than INT_MAX+1.
48941 (__strncmp_g): Likewise.
48942
bba33c28
UD
489432011-07-23 Ulrich Drepper <drepper@gmail.com>
48944
798be72d
UD
48945 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48946 * libio/stido.h: Likewise.
48947
8accd4dc
UD
48948 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48949 (AF_NFC): Define.
48950 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48951 (AF_NFC): Define.
48952
cbff0d96
UD
48953 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48954 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48955 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48956 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48957 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48958
9191c04a
UD
48959 [BZ #13021]
48960 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48961 installed.
48962
bba33c28
UD
48963 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48964 typo.
48965 (_dl_x86_64_save_sse): Likewise.
48966
90f139dd
UD
489672011-07-22 Ulrich Drepper <drepper@gmail.com>
48968
1aae088a
UD
48969 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48970 OSXSAVE.
48971 (_dl_x86_64_save_sse): Likewise.
48972
8e2045f5
UD
48973 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48974
90f139dd
UD
48975 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48976
1d002f25
AS
489772011-07-21 Andreas Schwab <schwab@redhat.com>
48978
48979 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48980 change.
48981 (_dl_x86_64_save_sse): Use correct AVX check.
48982
21137f89
UD
489832011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48984
48985 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48986 bug in strncpy/strncat.
48987 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48988
a65c0b7a
UD
489892011-07-21 Ulrich Drepper <drepper@gmail.com>
48990
48991 * string/tester.c (test_strcat): Add tests for different alignments
48992 of source and destination.
48993 (test_strncat): Likewise.
48994
6986b98a
UD
489952011-07-20 Ulrich Drepper <drepper@gmail.com>
48996
90bb2039
UD
48997 [BZ #12852]
48998 * posix/glob.c (glob): Check passed in values before using them in
48999 expressions to avoid some overflows.
49000 (glob_in_dir): Likewise.
49001
5644ef54
UD
49002 [BZ #13007]
49003 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49004 check for AVX enablement so that we don't crash with old kernels and
49005 new hardware.
49006 * elf/tst-audit4.c: Add same checks here.
49007 * elf/tst-audit6.c: Likewise.
49008
49009 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 49010
bfc9dc9b
AS
490112011-07-09 Andreas Schwab <schwab@linux-m68k.org>
49012
49013 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49014
702e64bb
UD
490152011-07-20 Ulrich Drepper <drepper@gmail.com>
49016
49017 * po/cs.po: Update from translation team.
49018 * po/bg.po: Likewise.
49019
295e904f
MP
490202011-07-12 Marek Polacek <mpolacek@redhat.com>
49021
49022 * misc/sys/cdefs.h: Add support for const attribute.
49023 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49024 to gnu_dev_{major,minor,makedev} functions.
49025
3ff94596
MP
490262011-07-20 Marek Polacek <mpolacek@redhat.com>
49027
49028 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49029
28b59fca
AS
490302011-07-20 Andreas Schwab <schwab@redhat.com>
49031
49032 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49033 strlen results.
49034
19df733e
AK
490352011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49036
49037 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49038 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49039 register in order to avoid conflicts with the soft frame pointer
49040 being held in r11 when necessary.
49041 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49042 (INTERNAL_VSYSCALL_NCS): Likewise.
49043
c8835729
MP
490442011-07-14 Marek Polacek <mpolacek@redhat.com>
49045
49046 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49047 * elf/dl-fini.c (_dl_fini): Adjust caller.
49048 * elf/dl-close.c (_dl_close_worker): Likewise.
49049 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49050
b902330c
MP
490512011-07-15 Marek Polacek <mpolacek@redhat.com>
49052
8991e135
MP
49053 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49054 "aux_cache->nlibs < 0".
49055
b902330c
MP
49056 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49057 in the reload-count case.
49058
99710781
LD
490592011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49060
49061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49062 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49063 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49064 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49065 * sysdeps/x86_64/multiarch/strcat.S: New file.
49066 * sysdeps/x86_64/multiarch/strncat.S: New file.
49067 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49068 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49069 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49070 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49071 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49072 (USE_AS_STRCAT): Define.
49073 Add strcat and strncat support.
49074 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49075 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49076 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49077 * string/strncat.c: Update.
49078 (USE_AS_STRNCAT): Define.
49079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49080 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49081 and i7.
49082 * sysdeps/x86_64/multiarch/init-arch.h
49083 (bit_Prefer_PMINUB_for_stringop): New.
49084 (index_Prefer_PMINUB_for_stringop): Likewise.
49085 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49086 bit_Prefer_PMINUB_for_stringop.
49087
7dc6bd90
UD
490882011-07-19 Ulrich Drepper <drepper@gmail.com>
49089
49090 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49091 buffer64.
49092 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49093 of casting of buffer.
49094 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49095 buffer32 and buffer64.
49096 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49097 writes instead of casting of buffer.
49098 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49099 buffer32.
49100 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49101 casting of buffer.
49102
e0e72284
AS
491032011-07-19 Andreas Schwab <schwab@redhat.com>
49104
49105 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49106
feb1eb0b
UD
491072011-07-19 Ulrich Drepper <drepper@gmail.com>
49108
49109 * nscd/nscd.c (termination_handler): Don't do anything for a database
49110 if it has not yet been initialized.
49111
298711ff
UD
491122011-07-18 Ulrich Drepper <drepper@gmail.com>
49113
49114 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49115
491162011-07-15 Marek Polacek <mpolacek@redhat.com>
49117
49118 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49119
f9d68389
UD
491202011-07-18 Ulrich Drepper <drepper@gmail.com>
49121
49122 * po/nl.po: Update from translation team.
49123 * po/sv.po: Likewise.
49124
db290cf5
RM
491252011-07-16 Roland McGrath <roland@hack.frob.com>
49126
49127 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49128 now disallowed by GCC.
5c550700 49129
fd5e21c7
RM
49130 * configure.in (use-default-link): Default to yes if a test -shared
49131 link meets our qualifications.
49132 * configure: Regenerated.
49133
5c550700
RM
49134 * config.make.in (output-format): New variable.
49135 * configure.in: Check for ld --print-output-format support.
49136 * configure: Regenerated.
49137 * Makerules ($(common-objpfx)format.lds)
49138 [$(output-format) != unknown]: Just use $(output-format),
49139 instead of the linker-script munging.
49140
9fa2c032
RM
491412011-07-14 Roland McGrath <roland@hack.frob.com>
49142
a6928d51
RM
49143 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49144 of $(common-objpfx)shlib.lds.
49145 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49146
661607b3
RM
49147 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49148 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49149
9fa2c032
RM
49150 * configure.in (-z relro check): Adjust test code to add a large
49151 writable data section after it.
49152 * configure: Regenerated.
49153
defe9061
RM
491542011-07-11 Roland McGrath <roland@hack.frob.com>
49155
49156 * configure.in (-z relro check): Fix test code to make the variable
49157 truly const.
49158 * configure: Regenerated.
49159
319b9ad4
UD
491602011-07-11 Ulrich Drepper <drepper@gmail.com>
49161
49162 * nscd/nscd.h (struct traced_file): Define.
49163 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49164 elements. Add traced_files.
49165 (inotify_fd): Declare.
49166 (register_traced_file): Declare.
49167 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49168 (inotify_fd): Export.
49169 (resolv_conf_descr): Remove.
49170 (nscd_init): Move inotify descriptor creation to main.
49171 Don't register files for notification here.
49172 (register_traced_file): New function.
49173 (invalidate_cache): Don't use reset_res to determine whether to call
49174 res_init, go through the list of registered files.
49175 (main_loop_poll): The inotify descriptors are now stored in the
49176 structures for the traced files.
49177 (main_loop_epoll): Likewise
49178 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49179 to __nss_disable_nscd.
49180 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49181 for a database anymore. Check the records for all the registered
49182 files instead.
49183 * nss/Makefile (libnss_files-routines): Add files-init.
49184 (libnss_db-routines): Add db-init.
49185 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49186 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49187 * nss/nss_db/db-init.c: New file.
49188 * nss/nss_files/files-init.c: New file.
49189 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49190 __nss_lookup_function.
49191 (__nss_lookup_function): Call nss_load_library.
49192 (nss_load_all_libraries): New function.
49193 (__nss_disable_nscd): Take parameter with callback function for files
49194 to register. Set is_nscd. Load all the DSOs for the NSS modules
49195 used for the cached services.
49196 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49197 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49198 options for features to all the files in nscd.
49199
49200 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49201
23bee3e8
RM
492022011-07-10 Roland McGrath <roland@hack.frob.com>
49203
49204 * csu/elf-init.c (__libc_csu_init): Comment typo.
49205
46a5b7f0
UD
492062011-07-09 Ulrich Drepper <drepper@gmail.com>
49207
49208 * po/pl.po: Update from translation team.
49209 * po/ja.po: Likewise.
49210 * po/ru.po: Likewise.
49211 * po/ko.po: Likewise.
49212 * po/fr.po: Likewise.
49213
d30cf5bb
RM
492142011-07-09 Roland McGrath <roland@hack.frob.com>
49215
113ddea4
RM
49216 * configure.in (.ctors/.dtors header and trailer check):
49217 Use an empirical test on a built program.
49218 * configure: Regenerated.
49219
574920b4
RM
49220 * configure.in (-z relro check): Use an empirical test on a built DSO.
49221 Detect, but do not require, on ia64.
49222 * configure: Regenerated.
49223
d30cf5bb
RM
49224 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49225 Update tests that use readelf to use $READELF instead.
49226 * configure: Regenerated.
49227
8538fdb3
UD
492282011-07-08 Ulrich Drepper <drepper@gmail.com>
49229
49230 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49231 if the result is not used.
49232
04d08991
AJ
492332011-07-05 Andreas Jaeger <aj@suse.de>
49234
49235 [BZ#9696]
49236 * stdlib/tst-strtod.c: Add testcase.
49237
de283087
AD
492382011-07-07 Ulrich Drepper <drepper@gmail.com>
49239
4e5f31c8 49240 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 49241 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
49242 The latter has a higher limit. Take additional parameter to pass to
49243 the new function.
49244 (__pathconf): Pass file to __statfs_link_max.
49245 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49246 __statfs_link_max.
49247 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49248 __statfs_link_max.
49249
de283087
AD
49250 [BZ #12868]
49251 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49252 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49253 Handle Lustre.
49254 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49255 (__statfs_filesize_max): Likewise.
49256 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49257
c75fa153
AJ
492582011-07-05 Andreas Jaeger <aj@suse.de>
49259
49260 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49261
1a544854
UD
492622011-07-06 Marek Polacek <mpolacek@redhat.com>
49263
49264 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49265 `status' variable.
49266 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49267 Likewise.
49268
6f0eec67
UD
492692011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49270
49271 * Makefile (strop-tests): Add strncat.
49272 * string/test-strncat.c: New file.
49273
aae30307
UD
492742011-06-30 Marek Polacek <mpolacek@redhat.com>
49275
49276 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49277
c0cfb5eb
UD
492782011-06-21 Andreas Jaeger <aj@suse.de>
49279
49280 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49281 Copy rule from iconvdata/Makefile.
49282
01636b21
UD
492832011-07-06 Ulrich Drepper <drepper@gmail.com>
49284
49285 [BZ #12922]
49286 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49287 but no long options are defined, just return 'W'.
49288
9895c8bc
UD
492892011-06-22 Marek Polacek <mpolacek@redhat.com>
49290
49291 [BZ #9696]
49292 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49293
5d4cf042
UD
492942011-07-06 Ulrich Drepper <drepper@gmail.com>
49295
49296 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49297 netgroups to read.
960e5535 49298 (innetgr): Likewise.
5d4cf042 49299
751eb97e
RM
493002011-07-05 Roland McGrath <roland@hack.frob.com>
49301
49302 * config.make.in (install_root): Default to $(DESTDIR).
49303
f15f1e45
UD
493042011-07-05 Ulrich Drepper <drepper@gmail.com>
49305
49306 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49307
4e34ac6a
RM
493082011-07-02 Roland McGrath <roland@hack.frob.com>
49309
5e9b6af4
RM
49310 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49311
84f9ea0f
RM
49312 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49313 containing directory rather than embedding absolute directory names.
49314
ea5ee9f7
RM
49315 * scripts/check-local-headers.sh: Rewritten using awk.
49316 Match by word, not by line. Print error messages for matches.
49317 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49318
1b74661a
RM
49319 * Makerules [shlib-lds-flags empty]:
49320 ($(common-objpfx)libc_pic.opts): New target.
49321 ($(common-objpfx)libc_pic.os.clean): New target.
49322 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49323
49324 * config.make.in (OBJCOPY): New variable.
49325 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49326 * configure: Regenerated.
49327
f781ef40
RM
49328 * config.make.in (use-default-link): New variable.
49329 * configure.in (use_default_link): Grok --with-default-link to set it.
49330 * configure: Regenerated.
49331 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49332 (shlib-lds, shlib-lds-flags): Define to empty.
49333
2d4fa81e
RM
49334 * Makerules (shlib-lds): New variable.
49335 (shlib-lds-flags): New variable.
49336 (build-shlib, build-moduile, build-module-asneeded): Use it.
49337 ($(common-objpfx)libc.so): Use $(shlib-lds).
49338 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49339 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49340
31fffa6b
RM
49341 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49342 DT_FLAGS/DT_FLAGS_1 with zero flags.
49343
4e34ac6a
RM
49344 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49345 linker script munging.
49346
fcfc776b
UD
493472011-07-02 Ulrich Drepper <drepper@gmail.com>
49348
49349 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49350 as 128-bit value.
49351 * crypt/sha512.c (sha512_process_block): Perform total addition using
49352 128-bit if possible.
49353 (__sha512_finish_ctx): Likewise.
49354 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49355 as 64-bit value.
49356 * crypt/sha256.c (SWAP64): Define.
49357 (sha256_process_block): Perform total addition using 64-bit if
49358 possible.
49359 (__sha256_finish_ctx): Likewise.
49360
99231d9a
UD
493612011-07-01 Ulrich Drepper <drepper@gmail.com>
49362
49363 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49364 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49365 * nscd/hstcache.c (cache_addhst): Likewise.
49366 * nscd/grpcache.c (cache_addgr): Likewise.
49367 * nscd/aicache.c (addhstaiX): Likewise
49368 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49369
445b4a53
TK
493702011-07-01 Thorsten Kukuk <kukuk@suse.de>
49371
49372 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49373 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49374 * nscd/hstcache.c (cache_addhst): Likewise.
49375 * nscd/grpcache.c (cache_addgr): Likewise.
49376 * nscd/aicache.c (addhstaiX): Likewise
49377
6d4d8e8e
AS
493782011-07-01 Andreas Schwab <schwab@redhat.com>
49379
49380 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49381 domain only when needed.
49382
89f654c5
AS
493832011-06-30 Andreas Schwab <schwab@redhat.com>
49384
49385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49386 is always restored.
49387
cf3b23ff
UD
493882011-06-29 Ulrich Drepper <drepper@gmail.com>
49389
49390 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49391 are re-adding the entry.
49392 * nscd/servicescache.c (cache_addserv): Likewise.
49393
751626f9
AJ
493942011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49395
49396 * sysdeps/generic/dl-irel.h: fix protection against multiple
49397 inclusions.
49398 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49399
9113ea1f
UD
494002011-06-28 Ulrich Drepper <drepper@gmail.com>
49401
5c0b8d90
UD
49402 [BZ #12935]
49403 * malloc/memusage.sh: Fix quoting in message.
49404 * debug/xtrace.sh: Likewise.
49405
9113ea1f
UD
49406 * configure.in: Remove support for --experimental-malloc option, make
49407 it the default.
49408 * config.make.in: Likewise.
49409 * malloc/Makefile: Likewise.
49410
a4172181
AS
494112011-06-27 Andreas Schwab <schwab@redhat.com>
49412
49413 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49414 two-byte characters.
49415
78a7eee7
RM
494162011-06-27 Roland McGrath <roland@hack.frob.com>
49417
62bede13
RM
49418 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49419 AC_CACHE_CHECK invocation.
49420 * configure: Regenerated.
49421
78a7eee7
RM
49422 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49423
5ce33a62
UD
494242011-06-27 Ulrich Drepper <drepper@gmail.com>
49425
034807a9
UD
49426 [BZ #12350]
49427 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49428 bit from old_res_options.
49429
4902da17
UD
49430 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49431
5ce33a62
UD
49432 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49433 value type for setfct.
49434
c2344f56
L
494352011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49436
49437 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49438 __gettimeofday instead of gettimeofday.
49439
68468076
UD
494402011-06-26 Ulrich Drepper <drepper@gmail.com>
49441
49442 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49443
acb0d739
L
494442011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49445
49446 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49447
49448 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49449 info.
49450
8912479f
L
494512011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49452
49453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49454 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49455 strcpy-sse2-unaligned strncpy-sse2-unaligned
49456 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49457 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49458 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49459 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49460 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49461 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49462 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49463 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49464 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49465 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49466 (STRCPY): Support SSE2 and SSSE3 versions.
49467
d5495a11
UD
494682011-06-24 Ulrich Drepper <drepper@gmail.com>
49469
49470 [BZ #12874]
49471 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49472 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49473 kernels which artificially limit size of requests.
49474
0b1cbaae
L
494752011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49476
49477 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49478 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49479 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49480 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49481 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49482 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49483 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49484 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49485 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49486 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49487 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49488 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49489 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49490 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49491 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49493 Enable unaligned load optimization for Intel Core i3, i5 and i7
49494 processors.
49495 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49496 Define.
49497 (index_Fast_Unaligned_Load): Define.
49498 (HAS_FAST_UNALIGNED_LOAD): Define.
49499
07f494a0
MP
495002011-06-23 Marek Polacek <mpolacek@redhat.com>
49501
49502 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49503
fa3fc0fe
UD
495042011-06-22 Ulrich Drepper <drepper@gmail.com>
49505
49506 [BZ #12907]
49507 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49508 until it is clear that the information is realy needed.
49509 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49510
e12df166
AS
495112011-06-22 Andreas Schwab <schwab@redhat.com>
49512
49513 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49514
852eb34d
UD
495152011-06-22 Ulrich Drepper <drepper@gmail.com>
49516
84e2a551
UD
49517 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49518 /sys/devices/system/cpu/online if it is usable.
49519
852eb34d
UD
49520 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49521 reading the information from the /proc filesystem to once a second.
49522
6e502e19
UD
495232011-06-21 Andreas Jaeger <aj@suse.de>
49524
49525 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49526 NULL after inclusion of kernel headers.
49527
75d39ff2
UD
495282011-06-21 Ulrich Drepper <drepper@gmail.com>
49529
51f9aa6a
UD
49530 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49531 calls to internal_setent.
49532
c0244a9d
UD
49533 [BZ #12885]
49534 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49535 addresses using gethostbyname4_r ignore IPv4 addresses.
49536
c5e3c2ae
UD
49537 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49538 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49539
75d39ff2
UD
49540 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49541
42675c6f
DM
495422011-06-20 David S. Miller <davem@davemloft.net>
49543
49544 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49545 inclusions.
49546 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49547
49548 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49549 (elf_irel): Use it.
49550 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49551 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49552 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49553 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49554 * sysdeps/x86_64/dl-irel.h: Likewise.
49555
49556 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49557 * elf/dl-sym.c: Likewise.
49558
57912a71
UD
495592011-06-15 Ulrich Drepper <drepper@gmail.com>
49560
49561 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49562 need to dereference resplen2.
49563
ee22793d
AS
495642011-06-14 Andreas Schwab <schwab@redhat.com>
49565
49566 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49567
a9e836b0
UD
495682011-06-15 Ulrich Drepper <drepper@gmail.com>
49569
77fb9117
UD
49570 * Makeconfig: Define vardbdir and inst_vardbdir.
49571 * nss/Makefile: Add rules to install db-Makefile.
49572
40c1b22c
UD
49573 * nss/nss_db/db-XXX.c: Cleanup.
49574
9f2da732
UD
49575 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49576 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49577 GLIBC_PRIVATE.
49578 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49579 * nss/makedb.c: Implement -g option to specify that value strings
49580 are generated and should not be added to table iterated over for
49581 get*ent calls.
49582 * nss/nss_db/db-initgroups.c: New file.
49583
82e9a1f7
UD
49584 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49585 interface.
49586
c41af17e
UD
49587 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49588 (internal_getgrouplist): Adjust to name change.
49589 Update use_initgroups_entry if this is not the first call.
49590 * nss/databases.def: Add initgroups entry.
49591
a9e836b0
UD
49592 * nss/makedb.c (compute_tables): Check result of multiple hash table
49593 sizes to minimize maximum chain length.
49594
2666d441
UD
495952011-06-14 Ulrich Drepper <drepper@gmail.com>
49596
49597 * Versions.def: Add entry for libnss_db.
49598 * shlib-versions: Likewise.
49599 * nss/Makefile: Add rules to build libnss_db.
49600 * nss/Versions: Add libnss_db information. Organize libnss_files
49601 entries better.
49602 * nss/db-Makefile: Add gshadow support. Change rules for the new
49603 makedb progra. Some minor improvements to generate smaller files.
49604 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49605 here from...
49606 * nss/makedb.c: ...here.
49607 Improve database format to be smaller and require less memory at
49608 runtime.
49609 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49610 db anymore.
49611 * nss/nss_db/db-netgrp.c: Likewise.
49612 * nss/nss_db/db-open.c: Likewise.
49613 * nss/nss_files/flies-XXX.x: Adjust comments.
49614 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49615 * nss/nss_files/files-grp.c: Likewise.
49616 * nss/nss_files/files-hosts.c: Likewise.
49617 * nss/nss_files/files-network.c: Likewise.
49618 * nss/nss_files/files-proto.c: Likewise.
49619 * nss/nss_files/files-pwd.c: Likewise.
49620 * nss/nss_files/files-rpc.c: Likewise.
49621 * nss/nss_files/files-service.c: Likewise.
49622 * nss/nss_files/files-sgrp.c: Likewise.
49623 * nss/nss_files/files-spwd.c: Likewise.
49624 * nss/nss_db/db-alias.c: Removed.
49625 * nss/nss_db/dummy-db.h: Removed.
49626
9ee76b5a
UD
496272011-06-02 Ulrich Drepper <drepper@gmail.com>
49628
49629 * nss/makedb.c: Rewritten to not use database library.
49630 * nss/Makefile: Update to build new makedb program.
49631
c71ca1f8
AJ
496322011-06-14 Andreas Jaeger <aj@suse.de>
49633
49634 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49635 memset declaration.
49636
3154bfb8
UD
496372011-06-10 Andreas Schwab <schwab@redhat.com>
49638
49639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49640 tmpbuf.
49641
b350afab
RM
496422011-06-10 Roland McGrath <roland@hack.frob.com>
49643
decd4e50
RM
49644 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49645 * elf/Makefile ($(objpfx)ld.so): Likewise.
49646
5615eaf2
RM
49647 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49648 Don't list ld.so twice in dependencies.
49649
49650 * posix/bug-regex31.c: Include <stdlib.h>.
49651
49652 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49653
49654 * nis/nss_compat/compat-spwd.c
49655 (getspent_next_nss_netgr): Remove unused variable.
49656 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49657
49658 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49659 nonmembers" output to use the right array.
49660
49661 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49662
49663 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49664
49665 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49666 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49667 * catgets/gencat.c (read_input_file): Likewise.
49668 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49669
49670 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49671 variable definition inside #if's controlling its use.
49672
49673 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49674
49675 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49676
49677 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49678
49679 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49680 unreachable code.
49681
49682 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49683
b68e08db
RM
49684 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49685 * configure: Regenerated.
49686
b350afab
RM
49687 * Makerules: Revert last change.
49688 * elf/Makefile: Likewise.
49689
28368601
RM
496902011-06-09 Roland McGrath <roland@hack.frob.com>
49691
49692 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49693 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49694 (reloc-link): Likewise.
49695
11988f8f
UD
496962011-06-09 Ulrich Drepper <drepper@gmail.com>
49697
49698 * elf/Makefile: Add rules to build pldd.
49699 * elf/pldd.c: New file.
49700 * elf/pldd-xx.c: New file.
49701
e80fab37
UD
497022011-06-07 Ulrich Drepper <drepper@gmail.com>
49703
49704 * version.h: Update for 2.15 development version.
49705
9b849836
DM
497062011-06-07 David S. Miller <davem@davemloft.net>
49707
49708 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49709 ifuncs.
49710 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49711 elf_machine_lazy_rel): Likewise.
49712 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49713 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49714 elf_machine_lazy_rel): Likewise.
49715 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49716 dl_hwcap via passed in argument.
49717 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49718 Likewise.
49719
5a31b283
AK
497202011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49721
49722 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49723
069e52f8
RM
497242011-06-06 Roland McGrath <roland@hack.frob.com>
49725
49726 [BZ #12849]
49727 * manual/fdl-1.1.texi: New file, verbatim from:
49728 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49729 * manual/lgpl-2.1.texi: New file, verbatim from:
49730 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49731 * manual/Makefile (licenses): New variable, list those new file names.
49732 (texis): Use it.
49733 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49734
49735 * manual/fdl.texi: File removed.
49736 * manual/lesser.texi: File removed.
49737 * manual/libc.texinfo (Copying, Documentation License):
49738 Use new @include file names, put @appendix directive before @include.
49739
f16846a5
JJ
497402011-06-04 Jakub Jelinek <jakub@redhat.com>
49741
49742 [BZ #12841]
49743 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49744 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49745 (mq_open): Add __NTH.
49746
3d29045b
L
497472011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49748
49749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49750 Assume Intel Core i3/i5/i7 processor if AVX is available.
49751
8c297311
UD
497522011-05-31 Ulrich Drepper <drepper@gmail.com>
49753
49754 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49755 typo.
49756
c8fc0c91
UD
497572011-05-31 Andreas Schwab <schwab@redhat.com>
49758
49759 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49760 memory. Use alloca_account. Fix memory leak when retrying.
49761
5b27a807
UD
497622011-05-31 Ulrich Drepper <drepper@gmail.com>
49763
356f8bc6
UD
49764 * version.h (RELEASE): Bump for 2.14 release.
49765 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49766
5b27a807
UD
49767 * config.make.in (RANLIB): Remove entry.
49768
01f16ab0
UD
497692011-05-30 Ulrich Drepper <drepper@gmail.com>
49770
41fce8bd
UD
49771 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49772 (libc.pot): Work around missing support for .ksh extension in xgettext.
49773
4769ae77
UD
49774 [BZ #12684]
49775 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49776 if both request failed.
49777 (send_dg): In case of server errors clear resplen or *resplen2.
49778
6b1e7d19
UD
49779 [BZ #12454]
49780 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49781 when there are multiple maps.
49782 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49783 (_dl_fini): Remove test here.
49784
01f16ab0
UD
49785 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49786
b1ebd700
UD
497872011-05-29 Ulrich Drepper <drepper@gmail.com>
49788
7ae22829
UD
49789 [BZ #12350]
49790 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49791 bit from old_res_options.
49792 (gaih_inet): Likewise.
49793
553149f6 49794 [BZ #11099]
18a84741 49795 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49796 as signed.
49797
652ffab1
UD
49798 * resolv/res_init.c (res_setoptions): Make the code more compact.
49799
16985fd0
UD
49800 [BZ #11558]
49801 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49802 set RES_USEVC.
49803
0464f746
UD
49804 [BZ #11634]
49805 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49806
7d17596c
UD
49807 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49808
cf6bbbd7
UD
49809 [BZ #11781]
49810 * malloc/malloc.h: Declare malloc hook variables as volatile.
49811
13f1ab36
UD
49812 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49813 in last patch.
49814
b1ebd700
UD
49815 [BZ #11799]
49816 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49817 raise in the comment.
80e2212d
UD
49818 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49819 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49820 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49821
ce67228d
UD
498222011-05-28 Ulrich Drepper <drepper@gmail.com>
49823
8887a920
UD
49824 [BZ #12811]
49825 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49826 grow the buffers more if it already has to be sufficient.
49827 (build_wcs_upper_buffer): Likewise.
49828 * posix/regexec.c (check_matching): Likewise.
49829 (clean_state_log_if_needed): Likewise.
49830 (extend_buffers): Don't enlarge buffers beyond size of the input
49831 buffer.
49832 Patches mostly by Emil Wojak <emil@wojak.eu>.
49833 * posix/bug-regex32.c: New file.
49834 * posix/Makefile (tests): Add bug-regex32.
49835
4f031072
UD
49836 * locale/findlocale.c (_nl_find_locale): Return right away if
49837 _nl_explode_name failed.
49838 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49839
d0478f0c
UD
49840 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49841
de81b246
UD
49842 * debug/xtrace.sh: Unify messages.
49843 * malloc/memusage.sh: Likewise.
49844
c738465a
UD
49845 [BZ #12813]
49846 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49847 time symbol from vDSO. Substitute with vsyscall if not available.
49848 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49849 __vdso_time.
49850
f1f929d7
UD
49851 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49852 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49853 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49854 Add sendmmsg and internal_sendmmsg.
49855 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49856 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49857 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49858
ce67228d
UD
49859 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49860 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49861 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49862
e57420c6
UD
498632011-05-27 Ulrich Drepper <drepper@gmail.com>
49864
a8509ca5
UD
49865 [BZ #12813]
49866 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49867 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49868 available.
49869 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49870 __vdso_getcpu.
49871
e57420c6
UD
49872 [BZ #12814]
49873 * iconvdata/Makefile (tests): Add bug-iconv9.
49874 * iconvdata/bug-iconv9.c: New file.
49875
4d07db15
AS
498762011-05-27 Andreas Schwab <schwab@redhat.com>
49877
49878 [BZ #12814]
49879 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49880
ea486f69
JJ
498812011-05-25 Jakub Jelinek <jakub@redhat.com>
49882
49883 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49884 (struct user_regs_struct): Change intcs field back to cs.
49885
6f038433
UD
498862011-05-25 Ulrich Drepper <drepper@gmail.com>
49887
49888 * po/ja.po: Update from translation team.
49889
67f86a25
UD
498902011-05-23 Ulrich Drepper <drepper@gmail.com>
49891
49892 [BZ #12795]
49893 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49894 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49895
def7fbd6
AS
498962011-05-20 Andreas Schwab <schwab@redhat.com>
49897
49898 * stdlib/longlong.h: Update from GCC.
49899
f50ef8f1
AS
499002011-05-23 Andreas Schwab <schwab@redhat.com>
49901
49902 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49903 parameter name.
49904 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49905 Add parameter name.
49906 (__sysconf): Pass it down.
49907
de7ce8f1
UD
499082011-05-22 Ulrich Drepper <drepper@gmail.com>
49909
f2962a71
UD
49910 [BZ #12671]
49911 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49912 some situations.
49913 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49914 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49915 add in in __libc_use_alloca calls. Adjust callers.
49916 (glob): Use malloc in some situations.
49917
de7ce8f1
UD
49918 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49919 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49920 pltexit.
49921
aec84f53
UD
499222011-05-21 Ulrich Drepper <drepper@gmail.com>
49923
05bb4a68
UD
49924 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49925 and CLOCK_BOOTTIME_ALARM.
49926
7ea72f99
UD
49927 [BZ #12782]
49928 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49929 is returned.
49930
7e4afad5
UD
49931 * string/_strerror.c (__strerror_r): Print negative errors as signed
49932 numbers.
49933
8e211fec
UD
49934 [BZ #12777]
49935 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49936 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49937 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49938
f7d82dc9
UD
49939 * configure.in: Fix typo in redirection and correct removal of test
49940 files in two cases.
49941
cc9e536d
UD
49942 [BZ #12788]
49943 * locale/setlocale.c (new_composite_name): Fix test to check for
49944 identical name of all categories.
49945
aec84f53
UD
49946 [BZ #12792]
49947 * libio/filedoalloc.c (local_isatty): New function.
49948 (_IO_file_doallocate): Use local_isatty.
49949 * stdio-common/perror.c (perror): In case a new stream is used
49950 forward the stream error.
49951 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49952 error flag.
49953
78e64fdc
RT
499542011-05-20 Ulrich Drepper <drepper@gmail.com>
49955
34a9094f
UD
49956 [BZ #11869]
49957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49958 alloca.
49959 * include/alloca.h (extend_alloca_account): Define.
49960
78e64fdc
RT
49961 [BZ #11857]
49962 * posix/regex.h: Fix comments with documentation of user-accessible
49963 fields after compilation and describe correct free'ing of pattern
49964 after re_compile_pattern.
49965 Patch by Reuben Thomas <rrt@sc3d.org>.
49966
457bddfc
RA
499672011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49968
49969 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49970 and -mno-altivec to prevent the compiler from using Altivec and/or
49971 VSX instructions when the corresponding registers are not available.
49972
a4527b51
AS
499732011-05-19 Andreas Schwab <schwab@redhat.com>
49974
49975 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49976
ed690b2f
UD
499772011-05-19 Ulrich Drepper <drepper@gmail.com>
49978
49979 * libio/freopen.c (freopen): Use __dup2, not dup2.
49980 * libio/freopen64.c (freopen64): Likewise.
49981
8db73634
L
499822011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49983
49984 [BZ #12775]
49985 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49986 * math/Makefile (tests): Add test-powl.
49987 (CFLAGS-test-powl.c): Define.
49988 * math/test-powl.c: New file.
49989
0a197a9d
L
499902011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49991
49992 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49993
ee30c380
UD
499942011-05-17 Ulrich Drepper <drepper@gmail.com>
49995
49996 [BZ #11837]
49997 * iconvdata/gb18030.c: Update to GB18020-2005.
49998
6ce75379
UD
499992011-05-16 Ulrich Drepper <drepper@gmail.com>
50000
a4b89fd8
AR
50001 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50002 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50003 Patch by Aharon Robbins <arnold@skeeve.com>.
50004
ea389b12
UD
50005 [BZ #11892]
50006 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50007 on the stack.
50008
68a3f91f
UD
50009 [BZ #11895]
50010 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50011 through underflows.
50012
15cc7dd1
UD
50013 [BZ #12766]
50014 * misc/error.c (error_at_line): Ensure file_name and old_file_name
50015 point to strings before performing equality test for error_one_per_line
50016 mode.
50017
f3799213
UD
50018 [BZ #11697]
50019 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50020
d79a9c94
UD
50021 [BZ #11820]
50022 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50023 (struct user_fpregs_struct): Avoid __uint*_t types.
50024
56e5eb46
UD
50025 [BZ #6420]
50026 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50027 symbol info. Use it instead of calling _dl_addr locally.
50028 (lock_and_info): New function.
50029 (tr_freehook): Call lock_and_info and pass symbol info as additional
50030 parameter to tr_where.
50031 (tr_mallochook): Likewise.
50032 (tr_reallochook): Likewise.
50033 (tr_memalignhook): Likewise.
50034
6ce75379
UD
50035 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50036 used and couldn't be at all thread-safe.
50037
f8a3b5bf
UD
500382011-05-15 Ulrich Drepper <drepper@gmail.com>
50039
94b7cc37
UD
50040 * libio/freopen.c (freopen): Don't close old file descriptor
50041 before the new one is opened. Instead dup the new file descriptor
50042 to the old one after the new stream is created.
50043 * libio/freopen64.c (freopen64): Likewise.
50044 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50045 * libio/fileops.c (_IO_new_file_close_it): Handle new
50046 _IO_FLAGS2_NOCLOSE flag.
50047 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50048 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50049 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50050 _IO_FLAGS2_NOCLOSE flag.
50051 * include/unistd.h: Add hidden_proto for dup3.
50052 Define __have_dup3.
50053 * io/dup3.c: Define hidden symbol.
50054 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50055
bd25564e
UD
50056 [BZ #7101]
50057 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50058 when an incomplete long option is used.
50059 * posix/tst-getopt_long1.c: New file.
50060 * posix/Makefile (tests): Add tst-getopt_long1.
50061
c84cfef4
UD
50062 [BZ #10138]
50063 * scripts/config.guess: Update from autoconf-2.68.
50064 * scripts/config.sub: Likewise.
50065
3b85df27
UD
50066 [BZ #10157]
50067 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50068 tests into ...
50069 (has_cpuclock): ...this. New function.
50070 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50071 macro here based on has_cpuclock code.
50072
15a856b1
UD
50073 [BZ #10149]
50074 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50075 First byte (not low byte) is now always NUL.
50076 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50077
05f399e6
UD
50078 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50079 Use non-cancelable interfaces.
50080
10a52685 50081 [BZ #9809]
94ecc67d
UD
50082 * locale/iso-639.def: Add entry for Sorani.
50083
f8a3b5bf
UD
50084 [BZ #11901]
50085 * include/stdlib.h: Move include protection to the right place.
50086 Define abort_msg_s. Declare __abort_msg with it.
50087 * stdlib/abort.c (__abort_msg): Adjust type.
50088 * assert/assert.c (__assert_fail_base): New function. Majority
50089 of code from __assert_fail. Allocate memory for __abort_msg with
50090 mmap.
50091 (__assert_fail): Now call __assert_fail_base.
50092 * assert/assert-perr.c: Remove bulk of implementation. Use
50093 __assert_fail_base.
50094 * include/assert.hL Declare __assert_fail_base.
50095 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50096 mmap.
50097 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50098
1af4e298
UD
500992011-05-14 Ulrich Drepper <drepper@gmail.com>
50100
f8a3b5bf 50101 [BZ #11952]
d26dfc60
MG
50102 [BZ #12453]
50103 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50104 until all modules are registered in the DTV.
50105 * elf/Makefile: Add rules to build and run tst-tls19.
50106 * elf/tst-tls19.c: New file.
50107 * elf/tst-tls19mod1.c: New file.
50108 * elf/tst-tls19mod2.c: New file.
50109 * elf/tst-tls19mod3.c: New file.
50110 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50111
2fc54d6f
UD
50112 [BZ #12083]
50113 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50114 correctly.
50115
98d76b46
UD
50116 [BZ #12601]
50117 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50118 two-byte sequence errors.
50119 * iconvdata/Makefile (tests): Add bug-iconv8.
50120 * iconvdata/bug-iconv8.c: New file.
50121
da3c19ef
UD
50122 [BZ #12626]
50123 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50124 buf2 definition.
50125
ca408c15
UD
50126 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50127
d6f67f7d
UD
50128 [BZ #12432]
50129 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50130 (dummy_getcfa): New function.
50131 (init): Get _Unwind_GetCFA address, use dummy if not found.
50132 (backtrace_helper): In recursion check, also check whether CFA changes.
50133 (__backtrace): Completely initialize arg.
50134
1af4e298 50135 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
50136 storing incomplete byte sequence in state object. Avoid testing for
50137 guaranteed too small input if we know there is enough data available.
1af4e298 50138
da62f81b
AS
501392011-05-11 Andreas Schwab <schwab@redhat.com>
50140
50141 * Makeconfig (+link-pie): Indent.
50142 * Rules (binaries-pie): Define if $(have-fpie) and
50143 $(build-shared).
50144 (binaries-shared): Also filter out $(binaries-pie).
50145 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50146 * nscd/Makefile (others-pie): Add nscd.
50147 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50148 ($(objpfx)nscd): Remove command override.
50149 * login/Makefile (others-pie): Add pt_chown.
50150 ($(objpfx)pt_chown): Remove command override.
50151 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50152 remove command overrides.
50153
fcabc0f8
UD
501542011-05-13 Ulrich Drepper <drepper@gmail.com>
50155
20030ae6
UD
50156 * libio/tst_putwc.c: Fix error messages.
50157
fcabc0f8
UD
50158 [BZ #12724]
50159 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50160 currently writing and seek to current position when not.
50161 * libio/Makefile (tests): Add bug-fclose1.
50162 * libio/bug-fclose1.c: New file.
50163
320a5dc0
PB
501642011-05-12 Ulrich Drepper <drepper@gmail.com>
50165
50166 [BZ #12511]
50167 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50168 don't set DF_1_NODELETE here.
50169 (do_lookup_x): When entering new entry test for copy relocation
50170 and if necessary set DF_1_NODELETE flag.
50171 * elf/tst-unique4.cc: New file.
50172 * elf/tst-unique4.h: New file.
50173 * elf/tst-unique4lib.cc: New file.
50174 * elf/Makefile: Add rules to build and run tst-unique4.
50175 Patch by Piotr Bury <pbury@goahead.com>.
50176
22836f52
UD
501772011-05-11 Ulrich Drepper <drepper@gmail.com>
50178
f574184a
UD
50179 [BZ #12052]
50180 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50181
e1fb097f
UD
50182 [BZ #12625]
50183 * misc/mntent_r.c (addmntent): Flush the stream after the output
50184
22836f52
UD
50185 [BZ #12393]
50186 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50187 (is_trusted_path_normalize): Skip initial colon. Append slash
50188 to empty buffer. Duplicate is_trusted_path code but allow
50189 constructed patch to be prefix.
50190 (is_dst): Allow $ORIGIN followed by /.
50191 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50192 Correct testing of result of is_trusted_path_normalize
50193 (decompose_rpath): Fix warning.
50194
7b3b0b2a
UD
501952011-05-10 Ulrich Drepper <drepper@gmail.com>
50196
50197 [BZ #11257]
50198 * grp/initgroups.c (internal_getgrouplist): When we found the service
50199 list through the initgroups entry in nsswitch.conf do not always
50200 continue on a successful lookup. Don't always use the
eac80ce2 50201 __nss_group_database value if it is set.
7b3b0b2a
UD
50202 * nss/nsswitch.conf (initgroups): Change action for successful db
50203 lookup to continue for compatibility.
50204
2a81eaa5
UD
502052011-05-09 Ulrich Drepper <drepper@gmail.com>
50206
be97a69e
UD
50207 [BZ #11532]
50208 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50209 and CP774 modules.
50210 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50211 and CP774 modules.
50212 * iconvdata/tst-tables.sh: Likewise.
50213 * iconvdata/cp770.c: New file.
50214 * iconvdata/cp771.c: New file.
50215 * iconvdata/cp772.c: New file.
50216 * iconvdata/cp773.c: New file.
50217 * iconvdata/cp774.c: New file.
50218 * iconvdata/testdata/CP770: New file.
50219 * iconvdata/testdata/CP770..UTF8: New file.
50220 * iconvdata/testdata/CP771: New file.
50221 * iconvdata/testdata/CP771..UTF8: New file.
50222 * iconvdata/testdata/CP772: New file.
50223 * iconvdata/testdata/CP772..UTF8: New file.
50224 * iconvdata/testdata/CP773: New file.
50225 * iconvdata/testdata/CP773..UTF8: New file.
50226 * iconvdata/testdata/CP774: New file.
50227 * iconvdata/testdata/CP774..UTF8: New file.
50228
50229 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50230 END CHARMAP line.
50231 * iconvdata/gen-8bit-gap.sh: Likewise.
50232 * iconvdata/gen-8bit.sh: Likewise.
50233
c1e9e399
UD
50234 * locale/iso-639.def: Add ary entry.
50235
24c55fb3 50236 [BZ #11258]
96b4b1b0
UD
50237 * locale/C-translit.h.in: Add U20A1 transliteration.
50238
bdc2f971
KB
50239 [BZ #12178]
50240 * locale/iso-639.def: Add wae entry.
50241 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50242
2952b117
UD
50243 [BZ #12545]
50244 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50245 for n.
50246
2a81eaa5
UD
50247 [BZ #12711]
50248 * locale/C-translit.h.in: Add entry for U20B9.
50249 Patch by pravin.d.s@gmail.com.
50250
28377d1b
UD
502512011-05-08 Ulrich Drepper <drepper@gmail.com>
50252
7fb90fb8
UD
50253 [BZ #12713]
50254 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50255 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
50256 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50257 in rtld. Use *stat64.
7fb90fb8 50258 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 50259 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 50260 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
50261 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50262 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50263 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50264 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50265 __fstatat64 macros.
7fb90fb8
UD
50266 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50267 * dirent/rewinddir.c: Add libc_hidden_def.
50268 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 50269 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 50270
28377d1b
UD
50271 * include/dirent.h (__alloc_dir): Add flags parameter.
50272 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50273 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50274 __alloc_dir.
50275 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50276 from fdopendir if O_CLOEXEC is already set.
50277
66bdbaa4
AM
502782011-03-15 Alan Modra <amodra@gmail.com>
50279
50280 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50281 l_tls_firstbyte_offset non-zero. Save padding offset in
50282 l_tls_firstbyte_offset for later use.
50283 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50284 freeing static tls block.
50285
95721191
JN
502862011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50287
50288 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50289 where #ifdef was intended. The intent is to prevent ARG_MAX from
50290 being defined by the kernel headers.
50291
f87dfb1f
UD
502922011-05-07 Ulrich Drepper <drepper@gmail.com>
50293
50294 [BZ #12734]
50295 * resolv/resolv.h: Define RES_NOTLDQUERY.
50296 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50297 no-tld-query and set RES_NOTLDQUERY.
50298 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50299 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50300 modern BIND to search name as TLD unless forbidden.
50301
47c3cd7a
UD
503022011-05-07 Petr Baudis <pasky@suse.cz>
50303 Ulrich Drepper <drepper@gmail.com>
50304
50305 [BZ #12393]
50306 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50307 (is_trusted_path): ...to here.
c1e9ea35 50308 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 50309 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 50310 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 50311
8a35c912
PP
503122011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50313
50314 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50315 __BEGIN/__END_DECLS.
50316
acd41f47
UD
503172011-05-06 Ulrich Drepper <drepper@gmail.com>
50318
50319 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50320 NSS_STATUS_NOTFOUND if no record was found.
50321
597df647
AS
503222011-05-05 Andreas Schwab <schwab@redhat.com>
50323
50324 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50325 (headers-not-in-tirpc): Remove rpc/netdb.h
50326 * resolv/netdb.h: Revert last change.
50327
b9af1301
PP
503282011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50329
50330 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50331 circular dependency between libgcc.a and libc.a.
50332
4e34d5f5
AS
503332011-05-05 Andreas Schwab <schwab@redhat.com>
50334
50335 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50336 * nis/Makefile: Don't install rpcsvc/*.
50337 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50338 instead of <rpc/types.h>.
50339 (MAXHOSTNAMELEN): Define.
50340
00ee369c
AS
503412011-05-03 Andreas Schwab <schwab@redhat.com>
50342
50343 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50344
0b592a30
MB
503452011-04-28 Maciej Babinski <mbabinski@google.com>
50346
50347 [BZ #12714]
50348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50349 gethostbyname4_r when IPv6 results are possible.
50350
6e04cbbe
UD
503512011-05-02 Ulrich Drepper <drepper@gmail.com>
50352
50353 [BZ #12723]
50354 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50355 _PC_PIPE_BUF handling.
50356
e4ecafe0
BH
503572011-04-30 Bruno Haible <bruno@clisp.org>
50358
50359 [BZ #12717]
50360 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50361 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50362 to 'int'.
50363 * inet/getnameinfo.c (getnameinfo): Likewise.
50364
125ee683
UD
503652011-04-29 Ulrich Drepper <drepper@gmail.com>
50366
50367 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50368 to groups setting in database lookup.
50369 * nss/nsswitch.conf: Add initgroups entry.
50370
b722481a
EB
503712011-04-22 Ulrich Drepper <drepper@gmail.com>
50372
50373 [BZ #12685]
50374 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50375 mode string.
50376 Patch by Eric Blake <eblake@redhat.com>.
50377
4df46dbd
L
503782011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50379
50380 * sunrpc/Makefile (need-export-routines): Add svc_run.
50381 (routines): Remove svc_run.
50382 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50383 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50384 * sunrpc/svc_run.c (svc_run): Likewise.
50385 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50386
e84142d2
UD
503872011-04-21 Ulrich Drepper <drepper@gmail.com>
50388
50389 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50390 problem in reallocation in last patch.
50391
877175d8
UD
503922011-04-20 Ulrich Drepper <drepper@gmail.com>
50393
50394 * sunrpc/Makefile: Move inclusion of Rules.
50395
ab8eed78
UD
503962011-04-19 Ulrich Drepper <drepper@gmail.com>
50397
50398 * nss/nss_files/files-initgroups.c: New file.
50399 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50400 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50401 _nss_files_initgroups_dyn.
50402
e3d8f584
RS
504032011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50404
50405 * elf/elf.h (R_ARM_IRELATIVE): Define.
50406
af190f45
UD
504072011-04-19 Ulrich Drepper <drepper@gmail.com>
50408
50409 * po/ru.po: Update from translation team.
50410
53cf59ef
UD
504112011-04-17 Ulrich Drepper <drepper@gmail.com>
50412
50413 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50414 dependencies.
50415
4c559bcd
MF
504162011-02-06 Mike Frysinger <vapier@gentoo.org>
50417
50418 [BZ #12653]
50419 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50420 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50421 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50422 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50423 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50424
4420675c
AS
504252011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50426
50427 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50428 differing bytes.
50429 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50430 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50431 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50432
75ea32ab
UD
504332011-04-17 Ulrich Drepper <drepper@gmail.com>
50434
50435 [BZ #12420]
50436 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50437 storing it.
50438 * stdlib/bug-getcontext.c: New file.
50439 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50440
27390476
AK
504412011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50442
50443 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50444 instructions into .machine "z9-109".
50445 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50446 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50447
10442705
AK
504482011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50449
50450 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50451 between environment variables and auxiliary vector.
50452
7b57bfe5
UD
504532011-04-16 Ulrich Drepper <drepper@gmail.com>
50454
50455 * Makefile: Add rules to build linkobj/libc.so.
50456 * include/libc-symbols.h: Define libc_hidden_nolink.
50457 * include/rpc/auth.h: Mark functions which are to be hidden.
50458 * include/rpc/auth_des.h: Likewise.
50459 * include/rpc/auth_unix.h: Likewise.
50460 * include/rpc/clnt.h: Likewise.
50461 * include/rpc/des_crypt.h: Likewise.
50462 * include/rpc/key_prot.h: Likewise.
50463 * include/rpc/pmap_clnt.h: Likewise.
50464 * include/rpc/pmap_prot.h: Likewise.
50465 * include/rpc/pmap_rmt.h: Likewise.
50466 * include/rpc/rpc_msg.h: Likewise.
50467 * include/rpc/svc.h: Likewise.
50468 * include/rpc/svc_auth.h: Likewise.
50469 * include/rpc/xdr.h: Likewise.
50470 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50471 * nss/Makefile: Likewise.
50472 * sunrpc/Makefile: Don't install headers. Build library with normal
50473 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50474 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50475 for the compat linking library. Remove use of INTDEF/INTUSE.
50476 * sunrpc/auth_none.c: Likewise.
50477 * sunrpc/auth_unix.c: Likewise.
50478 * sunrpc/authdes_prot.c: Likewise.
50479 * sunrpc/authuxprot.c: Likewise.
50480 * sunrpc/clnt_gen.c: Likewise.
50481 * sunrpc/clnt_perr.c: Likewise.
50482 * sunrpc/clnt_raw.c: Likewise.
50483 * sunrpc/clnt_simp.c: Likewise.
50484 * sunrpc/clnt_tcp.c: Likewise.
50485 * sunrpc/clnt_udp.c: Likewise.
50486 * sunrpc/clnt_unix.c: Likewise.
50487 * sunrpc/des_crypt.c: Likewise.
50488 * sunrpc/des_soft.c: Likewise.
50489 * sunrpc/get_myaddr.c: Likewise.
50490 * sunrpc/key_call.c: Likewise.
50491 * sunrpc/key_prot.c: Likewise.
50492 * sunrpc/netname.c: Likewise.
50493 * sunrpc/pm_getmaps.c: Likewise.
50494 * sunrpc/pm_getport.c: Likewise.
50495 * sunrpc/pmap_clnt.c: Likewise.
50496 * sunrpc/pmap_prot.c: Likewise.
50497 * sunrpc/pmap_prot2.c: Likewise.
50498 * sunrpc/pmap_rmt.c: Likewise.
50499 * sunrpc/publickey.c: Likewise.
50500 * sunrpc/rpc_cmsg.c: Likewise.
50501 * sunrpc/rpc_common.c: Likewise.
50502 * sunrpc/rpc_dtable.c: Likewise.
50503 * sunrpc/rpc_prot.c: Likewise.
50504 * sunrpc/rpc_thread.c: Likewise.
50505 * sunrpc/rtime.c: Likewise.
50506 * sunrpc/svc.c: Likewise.
50507 * sunrpc/svc_auth.c: Likewise.
50508 * sunrpc/svc_authux.c: Likewise.
50509 * sunrpc/svc_raw.c: Likewise.
50510 * sunrpc/svc_run.c: Likewise.
50511 * sunrpc/svc_simple.c: Likewise.
50512 * sunrpc/svc_tcp.c: Likewise.
50513 * sunrpc/svc_udp.c: Likewise.
50514 * sunrpc/svc_unix.c: Likewise.
50515 * sunrpc/svcauth_des.c: Likewise.
50516 * sunrpc/xcrypt.c: Likewise.
50517 * sunrpc/xdr.c: Likewise.
50518 * sunrpc/xdr_array.c: Likewise.
50519 * sunrpc/xdr_float.c: Likewise.
50520 * sunrpc/xdr_intXX_t.c: Likewise.
50521 * sunrpc/xdr_mem.c: Likewise.
50522 * sunrpc/xdr_rec.c: Likewise.
50523 * sunrpc/xdr_ref.c: Likewise.
50524 * sunrpc/xdr_sizeof.c: Likewise.
50525 * sunrpc/xdr_stdio.c: Likewise.
50526
e6c61494
UD
505272011-04-10 Ulrich Drepper <drepper@gmail.com>
50528
50529 [BZ #12650]
50530 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50531 * sysdeps/ia64/dl-tls.h: Likewise.
50532 * sysdeps/powerpc/dl-tls.h: Likewise.
50533 * sysdeps/s390/dl-tls.h: Likewise.
50534 * sysdeps/sh/dl-tls.h: Likewise.
50535 * sysdeps/sparc/dl-tls.h: Likewise.
50536 * sysdeps/x86_64/dl-tls.h: Likewise.
50537 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50538
34fe483e
AS
505392011-03-14 Andreas Schwab <schwab@redhat.com>
50540
50541 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50542 rpath element also skip the following colon.
50543 (expand_dynamic_string_token): Add is_path parameter and pass
50544 down to DL_DST_REQUIRED and _dl_dst_substitute.
50545 (decompose_rpath): Call expand_dynamic_string_token with
50546 non-zero is_path. Ignore empty rpaths.
50547 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50548 with zero is_path.
50549
f12a32e6
AS
505502011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50551
50552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50553 Make cancelable.
50554
38a7d692
UD
505552011-04-09 Ulrich Drepper <drepper@gmail.com>
50556
50557 [BZ #12655]
50558 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50559 Patch by Filipe David Manana <fdmanana@apache.org>.
50560
e451d22b
AS
505612011-04-07 Andreas Schwab <schwab@redhat.com>
50562
50563 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50564 Maintain aligned stack.
50565 (CHECK_RSP): Remove unused macro.
50566
dedc7c7b
UD
505672011-04-03 Ulrich Drepper <drepper@gmail.com>
50568
50569 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50570 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50571
94521213
UD
505722011-04-02 Ulrich Drepper <drepper@gmail.com>
50573
50574 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50575
8cb700c0 50576 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50577
0354e355
L
505782011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50579
50580 [BZ #12518]
50581 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50582 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50583 * sysdeps/x86_64/memmove.c: New file.
50584 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50585 (memcpy): Renamed to ...
50586 (__new_memcpy): This.
50587 (memcpy): Provide GLIBC_2_14 memcpy.
50588 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50589 (memcpy): Provide GLIBC_2_2_5 memcpy.
50590
8593482f
UD
505912011-04-01 Ulrich Drepper <drepper@gmail.com>
50592
50593 [BZ #12631]
50594 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50595
81a5726b
AS
505962011-03-30 Andreas Schwab <schwab@redhat.com>
50597
50598 * misc/syncfs.c: New file.
50599 * misc/Makefile (routines): Add syncfs.
50600 * posix/unistd.h: Declare syncfs.
50601 * sysdeps/unix/syscalls.list: Add syncfs.
50602
00e5419f
AS
506032011-04-01 Andreas Schwab <schwab@redhat.com>
50604
50605 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50606 open_by_handle_at.
50607 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50608 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50609 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50610 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50612 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50613 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50614
748876bf
UD
506152011-04-01 Ulrich Drepper <drepper@gmail.com>
50616
658e451d
UD
50617 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50618 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50619 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50620 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50621 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50622 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50623 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50624
748876bf
UD
50625 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50626 sync_file_range.c with -fexceptions.
50627 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50628 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50629 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50630 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50631 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50632 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50633 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50634 sync_file_range as cancellation point
50635 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50636 now a wrapper around __call_sync_file_range with cancellation handling.
50637 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50638 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50639 function name to __call_sync_file_range.
50640 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50641 Add call_sync_file_range.
748876bf 50642
6e63d5e1
AS
506432011-04-01 Andreas Schwab <schwab@redhat.com>
50644
50645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50646 bits/timex.h.
6e63d5e1 50647
46998f74
UD
506482011-04-01 Ulrich Drepper <drepper@gmail.com>
50649
4c1423ed
UD
50650 * iconv/iconv.h: Fix typo in comment.
50651 * io/fcntl.h: Likewise.
50652 * libio/stdio.h: Likewise.
50653 * posix/spawn.h: Likewise.
50654 * posix/unistd.h: Likewise.
50655 * stdlib/stdlib.h: Likewise.
50656 * time/time.h: Likewise.
50657 * wcsmbs/wchar.h: Likewise.
50658
158648c0
UD
50659 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50660 open_by_handle): Add.
50661 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50662 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50663 Augment a few comments.
50664 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50665 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50666 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50667 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50668 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50669 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50670 open_by_handle.
50671
46998f74
UD
50672 * io/fcntl.h (AT_EMPTY_PATH): Define.
50673
83fe108b
UD
506742011-03-30 Ulrich Drepper <drepper@gmail.com>
50675
50676 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50677 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50678 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50679 to...
50680 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50681 * Versions.def: Add GLIBC_2.14.
50682 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50683 Export.
83fe108b 50684
bb242059
UD
506852011-03-22 Ulrich Drepper <drepper@gmail.com>
50686
50687 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50688 round counter.
50689 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50690
c97a1282
L
506912011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50692
50693 [BZ #12597]
50694 * string/test-strncmp.c (do_page_test): New function.
50695 (check2): Likewise.
50696 (test_main): Call check2.
50697 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50698
2a115601
UD
506992011-03-20 Ulrich Drepper <drepper@gmail.com>
50700
50701 [BZ #12587]
50702 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50703 Handle cache information in CPU leaf 4.
50704 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50705
8126d904
UD
507062011-03-18 Ulrich Drepper <drepper@gmail.com>
50707
042c49c6 50708 [BZ #12583]
8126d904
UD
50709 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50710 character representation.
50711 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50712
ccfe366e
RA
507132011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50714
50715 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50716 END(__isnan) to END(__isnanf) to match function entry point/label
50717 EALIGN(__isnanf,...).
50718
c6e13027
JJ
507192011-03-10 Jakub Jelinek <jakub@redhat.com>
50720
50721 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50722
33f85a3f
UD
507232011-03-10 Ulrich Drepper <drepper@gmail.com>
50724
028478fa
UD
50725 [BZ #12510]
50726 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50727 copy from the symbol referenced in the relocation to initialize the
50728 used variable.
50729 Patch by Piotr Bury <pbury@goahead.com>.
50730 * elf/Makefile: Add rules to build and tst-unique3.
50731 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50732 * elf/tst-unique3.cc: New file.
50733 * elf/tst-unique3.h: New file.
50734 * elf/tst-unique3lib.cc: New file.
50735 * elf/tst-unique3lib2.cc: New file.
50736
33f85a3f
UD
50737 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50738
03592fc7
MF
507392011-03-10 Mike Frysinger <vapier@gentoo.org>
50740
50741 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50742 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50743 to _start.
03592fc7 50744
6a5ee102
UD
507452011-03-06 Ulrich Drepper <drepper@gmail.com>
50746
50747 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50748 to-be-loaded object along a path to loader is ld.so.
50749
7e4ba49c
HJ
507502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50751 Ulrich Drepper <drepper@gmail.com>
50752
50753 * sysdeps/x86_64/memset.S: After aligning destination, code
50754 branches to different locations depending on the value of
50755 misalignment, when multiarch is enabled. Fix this.
50756
507572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50758
50759 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50760 Set _x86_64_preferred_memory_instruction for AMD processsors.
50761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50762 Set bit_Prefer_SSE_for_memop for AMD processors.
50763
13a804de
UD
507642011-03-04 Ulrich Drepper <drepper@gmail.com>
50765
50766 * libio/fmemopen.c (fmemopen): Optimize a bit.
50767
9d25c392
AS
507682011-03-03 Andreas Schwab <schwab@redhat.com>
50769
50770 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50771
a5543c6a
RM
507722011-03-03 Roland McGrath <roland@redhat.com>
50773
50774 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50775
012d35f7
DM
507762011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50777
7e4ba49c 50778 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50779 __bzero_ultra1 instead of __memset_ultra1.
50780
4bff6e01
AS
507812011-02-23 Andreas Schwab <schwab@redhat.com>
50782 Ulrich Drepper <drepper@gmail.com>
50783
50784 [BZ #12509]
50785 * include/link.h (struct link_map): Add l_orig_initfini.
50786 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50787 returning unsuccessfully.
50788 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50789 close of a file loaded at startup, restore the original l_initfini
50790 list.
50791 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50792 list, store the pointer.
50793 * elf/Makefile ($(objpfx)noload-mem): New rule.
50794 (noload-ENV): Define.
50795 (tests): Add $(objpfx)noload-mem.
50796 * elf/noload.c: Include <memcheck.h>.
50797 (main): Call mtrace. Close all opened handles.
50798
f2092faf
AS
507992011-02-17 Andreas Schwab <schwab@redhat.com>
50800
50801 [BZ #12454]
50802 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50803 dependencies are missing.
50804
6c8a2e88
ST
508052011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50806
f2092faf 50807 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50808 Hurd needs munmap.
50809 * sysdeps/mach/hurd/ifreq.h: New file.
50810
84a42118
PB
508112011-01-27 Petr Baudis <pasky@suse.cz>
50812 Ulrich Drepper <drepper@gmail.com>
50813
071f805e 50814 [BZ 12445]#
84a42118
PB
50815 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50816 to extend_alloca().
50817 * stdio-common/bug23.c: New file.
50818 * stdio-common/Makefile (tests): Add bug23.
50819
e23fe25b
AS
508202010-09-28 Andreas Schwab <schwab@redhat.com>
50821 Ulrich Drepper <drepper@gmail.com>
50822
50823 [BZ #12489]
50824 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50825 before performing relro protection. At old place add assertion
50826 to make sure nothing changed.
50827
d3f02e10
NS
508282011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50829 Glauber de Oliveira Costa <glommer@gmail.com>
50830
50831 * elf/elf.h: Add new ARM TLS relocs.
50832
d55fd7a5
RA
508332011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50834
50835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50836 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50837 cast from r3.
50838 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50839 'tests' variable.
50840 * sysdeps/wordsize-64/tst-writev.c: New file.
50841
2206397e
RA
508422011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50843
50844 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50845 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50846 insns in _dl_start to prevent a TOC reference before relocs are
50847 resolved.
50848
e9433893
UD
508492011-02-15 Ulrich Drepper <drepper@gmail.com>
50850
50851 [BZ #12469]
50852 * Makeconfig: Remove RANLIB definition.
50853 * Makerules: Don't use RANLIB.
50854 * aclocal.m4: Remove ranlib test.
50855 * configure.in: No need to check for ranlib.
50856 * elf/rtld-Rules: Don't use RANLIB.
50857
f75286c6
ST
508582011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50859
8e31c82d
ST
50860 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50861 protection macro.
50862 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50863 inclusion protection macro.
50864
f75286c6
ST
50865 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50866 SIGRTMIN and SIGRTMAX and print information in that case only when
50867 SIGRTMIN is defined.
50868
c1d0e639
JJ
508692011-02-11 Jakub Jelinek <jakub@redhat.com>
50870
50871 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50872 arginfo fn returning -1.
50873
50874 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50875 and thousands string is zero terminated.
50876
edf9294e
AS
508772011-02-03 Andreas Schwab <schwab@redhat.com>
50878
50879 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50880 sysdeps/unix/sysv/linux/bits/socket.h.
50881
2b7e92df
ST
508822011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50883
edf9294e
AS
50884 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50885 (__CPU_COUNT): Remove old macros.
50886 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50887 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50888 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
50889 (__sched_cpualloc, __sched_cpufree): Add declarations.
50890
a4c7ea7b
UD
508912011-02-05 Ulrich Drepper <drepper@gmail.com>
50892
50893 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50894 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50895 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50896 (readdhstai): Return value of addhstaiX call.
50897 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50898 (addgrbyX): Return value returned by cache_addgr.
50899 (readdgrbyname): Return value returned by addgrbyX.
50900 (readdgrbygid): Likewise.
50901 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50902 (addpwbyX): Return value returned by cache_addpw.
50903 (readdpwbyname): Return value returned by addhstbyX.
50904 (readdpwbyuid): Likewise.
50905 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50906 (addservbyX): Return value returned by cache_addserv.
50907 (readdservbyname): Return value returned by addservbyX:
50908 (readdservbyport): Likewise.
50909 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50910 (addhstbyX): Return value returned by cache_addhst.
50911 (readdhstbyname): Return value returned by addhstbyX.
50912 (readdhstbyaddr): Likewise.
50913 (readdhstbynamev6): Likewise.
50914 (readdhstbyaddrv6): Likewise.
50915 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50916 (readdinitgroups): Return value returned by addinitgroupsX.
50917 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50918 (prune_cache): Keep track of timeout value of re-added entries.
50919 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50920 * nscd/nscd.h: Adjust prototypes of readd* functions.
50921
a0bf67cc
RM
509222011-02-04 Roland McGrath <roland@redhat.com>
50923
50924 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50925 (nis_stats): Likewise.
50926 * nis/nis_modify.c (nis_modify): Likewise.
50927 * nis/nis_remove.c (nis_remove): Likewise.
50928 * nis/nis_add.c (nis_add): Likewise.
50929
50930 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50931
50932 * posix/fnmatch_loop.c: Add some consts.
50933
50934 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50935
435b95eb
L
509362011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50937
50938 [BZ #12460]
50939 * config.make.in (config-cflags-novzeroupper): Define.
50940 * configure.in: Substitute libc_cv_cc_novzeroupper.
50941 * elf/Makefile (AVX-CFLAGS): Define.
50942 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50943 (CFLAGS-tst-auditmod4a.c): Likewise.
50944 (CFLAGS-tst-auditmod4b.c): Likewise.
50945 (CFLAGS-tst-auditmod6b.c): Likewise.
50946 (CFLAGS-tst-auditmod6c.c): Likewise.
50947 (CFLAGS-tst-auditmod7b.c): Likewise.
50948 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50949
8517b15e
UD
509502011-02-02 Ulrich Drepper <drepper@gmail.com>
50951
50952 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50953 function to the callback.
50954 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50955
10a656fe
AS
509562011-02-02 Andreas Schwab <schwab@redhat.com>
50957
50958 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50959 of errno.
50960
968dad0a
UD
509612011-01-19 Ulrich Drepper <drepper@gmail.com>
50962
9f94d2ea 50963 [BZ #11724]
968dad0a
UD
50964 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50965 of constructors.
50966 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50967 of destructors.
50968 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50969
50970 [BZ #11724]
50971 * elf/Makefile: Add rules to build and run new test.
50972 * elf/tst-initorder.c: New file.
50973 * elf/tst-initorder.exp: New file.
50974 * elf/tst-initordera1.c: New file.
50975 * elf/tst-initordera2.c: New file.
50976 * elf/tst-initordera3.c: New file.
50977 * elf/tst-initordera4.c: New file.
50978 * elf/tst-initorderb1.c: New file.
50979 * elf/tst-initorderb2.c: New file.
50980 * elf/tst-order-a1.c: New file.
50981 * elf/tst-order-a2.c: New file.
50982 * elf/tst-order-a3.c: New file.
50983 * elf/tst-order-a4.c: New file.
50984 * elf/tst-order-b1.c: New file.
50985 * elf/tst-order-b2.c: New file.
50986 * elf/tst-order-main.c: New file.
50987 New test case by George Gensure <werkt0@gmail.com>.
50988
86e92359
UD
509892010-10-01 Andreas Schwab <schwab@redhat.com>
50990
50991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50992 decoding ACE if AI_CANONIDN.
50993
5d5732b0
UD
509942011-01-18 Ulrich Drepper <drepper@gmail.com>
50995
50996 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50997
a77e8cbc
UD
509982011-01-17 Ulrich Drepper <drepper@gmail.com>
50999
6392473f
UD
51000 * version.h (RELEASE): Bump for 2.13 release.
51001 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51002
620a0529
UD
51003 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51004
18ba70a5
UD
51005 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51006 MADV_NOHUGEPAGE.
32465c3e
UD
51007 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51008 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51009 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51010 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51011 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51012 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51013
c0dafcf1
UD
51014 * posix/getconf.c: Update copyright year.
51015 * catgets/gencat.c: Likewise.
51016 * csu/version.c: Likewise.
51017 * debug/catchsegv.sh: Likewise.
51018 * debug/xtrace.sh: Likewise.
51019 * elf/ldconfig.c: Likewise.
51020 * elf/ldd.bash.in: Likewise.
51021 * elf/sprof.c (print_version): Likewise.
51022 * iconv/iconv_prog.c: Likewise.
51023 * iconv/iconvconfig.c: Likewise.
51024 * locale/programs/locale.c: Likewise.
51025 * locale/programs/localedef.c: Likewise.
51026 * malloc/memusage.sh: Likewise.
51027 * malloc/mtrace.pl: Likewise.
51028 * nscd/nscd.c (print_version): Likewise.
51029 * nss/getent.c: Likewise.
51030
a77e8cbc
UD
51031 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51032 PF_CAIF, and PF_ALG.
51033 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51034
77e8bddf
AS
510352011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51036
1f20b93a
AS
51037 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51038 (modules-names): Use them.
51039 (ifunc-test-modules, ifunc-pie-tests): Define.
51040 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51041 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51042 (test-extras): Likewise.
51043 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51044 $(compile-command.c).
51045 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51046 (all-built-dso): Define.
51047 (check-textrel.out, check-execstack.out): Depend on it.
51048
77e8bddf
AS
51049 * configure.in: Don't override --enable-multi-arch.
51050
bc425b33
UD
510512011-01-15 Ulrich Drepper <drepper@gmail.com>
51052
51053 [BZ #6812]
51054 * nscd/hstcache.c (tryagain): Define.
51055 (cache_addhst): Return tryagain not notfound for temporary errors.
51056 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51057 failed.
51058
794c3ad3
UD
510592011-01-14 Ulrich Drepper <drepper@gmail.com>
51060
70181fdd
UD
51061 [BZ #10563]
51062 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51063 to make the syscall.
51064 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51065
794c3ad3
UD
51066 [BZ #12378]
51067 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51068 and fall back to matching as normal character if the string ends before
51069 the matching ']' is found. This is what POSIX requires.
51070 * posix/testfnm.c: Adjust test result.
51071 * posix/globtest.sh: Adjust test result. Add new test.
51072 * posix/tst-fnmatch.input: Likewise.
51073 * posix/tst-fnmatch2.c: Add new test.
51074
68dc9497
AS
510752010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51076
51077 * elf/Makefile (check-execstack): Revert last change. Depend on
51078 check-execstack.h.
51079 (check-execstack.h): New target.
51080 (generated): Add check-execstack.h.
51081 * elf/check-execstack.c: Include "check-execstack.h".
51082 (main): Revert last change.
51083 (handle_file): Return zero if GNU_STACK is absent and
51084 DEFAULT_STACK_PERMS doesn't include PF_X.
51085
451f001b
UD
510862011-01-13 Ulrich Drepper <drepper@gmail.com>
51087
cfa28e56
UD
51088 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51089 in child fails because the descriptor is already closed.
8cf8ce17
UD
51090 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51091 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51092 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 51093
1086d70d
UD
51094 [BZ #12397]
51095 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51096 syscall.
51097
451f001b
UD
51098 [BZ #10484]
51099 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51100 temporary buffer used to handle multi lookups locally.
a85b5cb4 51101 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 51102
08769175
UD
511032011-01-12 Ulrich Drepper <drepper@gmail.com>
51104
51105 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51106 loader is ld.so.
51107
5e49c52e
UD
511082011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51109
51110 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51111 alignment for SSE2.
51112
60522a5f
UD
511132011-01-12 Ulrich Drepper <drepper@gmail.com>
51114
51115 [BZ #12394]
51116 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51117 characters. When rounding increased number of integer digits recompute
51118 number of groups.
51119 * stdio-common/tst-grouping.c: New file.
51120 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51121
f257bbd7
UD
511222011-01-09 Ulrich Drepper <drepper@gmail.com>
51123
51124 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51125 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51126
51127 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51128 void.
51129 * bits/select.h: Likewise.
51130
fa9c15cb
UD
511312011-01-08 Ulrich Drepper <drepper@gmail.com>
51132
51133 * po/ja.po: Update from translation team.
51134
16c2895f
DM
511352011-01-04 David S. Miller <davem@sunset.davemloft.net>
51136
51137 [BZ #11155]
51138 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51139 implementation just like for lxstat, fxstatat, et al.
51140
2543fef2
JM
511412010-12-27 Jim Meyering <meyering@redhat.com>
51142
51143 [BZ #12348]
51144 * posix/regexec.c (build_trtable): Return failure indication upon
51145 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51146
98727dbe
UD
511472010-12-25 Ulrich Drepper <drepper@gmail.com>
51148
5bd6dc5c
UD
51149 [BZ #12201]
51150 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51151 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51152 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51153 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51154
97983464
UD
51155 [BZ #12207]
51156 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51157
98727dbe
UD
51158 [BZ #12204]
51159 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51160 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51161
4a531bb0
L
511622010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51163
51164 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51165 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51166 script has SORT_BY_INIT_PRIORITY.
51167 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51168 NO_CTORS_DTORS_SECTIONS is defined.
51169 * elf/soinit.c: Likewise.
51170 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51171 NO_CTORS_DTORS_SECTIONS is defined.
51172 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51173 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51174 * sysdeps/sh/init-first.c: Likewise.
51175 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51176
07eb4b71
UD
511772010-12-24 Ulrich Drepper <drepper@gmail.com>
51178
51179 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51180 always use the slow path.
51181
30950a5f
RA
511822010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51183
51184 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51185 similar rule which adds the sysdep directories to the header search in
51186 order to pick up the correct platform stackinfo.h.
51187 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51188 perform test if it is, otherwise return successfully without testing.
51189 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51190 DEFAULT_STACK_PERMS define in stackinfo.h.
51191 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51192 defined in stackinfo.h.
51193 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51194 DEFAULT_STACK_PERMS defined in stackinfo.h.
51195 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51196 * sysdeps/ia64/stackinfo.h: Likewise.
51197 * sysdeps/s390/stackinfo.h: Likewise.
51198 * sysdeps/sh/stackinfo.h: Likewise.
51199 * sysdeps/sparc/stackinfo.h: Likewise.
51200 * sysdeps/x86_64/stackinfo.h: Likewise.
51201 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51202 PF_X for powerpc64. Retain PF_X for powerpc32.
51203
db753e2c
UD
512042010-12-19 Ulrich Drepper <drepper@gmail.com>
51205
14b697f7
UD
51206 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51207 accurately.
db753e2c
UD
51208 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51209 GETDENTS_64BIT_ALIGNED.
51210
28300719
UD
512112010-12-14 Ulrich Drepper <dreper@gmail.com>
51212
14b697f7 51213 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 51214
4f197237
AS
512152010-12-10 Andreas Schwab <schwab@redhat.com>
51216
dbb0472f
AS
51217 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51218 _GNU_SOURCE.
51219
4f197237
AS
51220 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51221 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51222 Remove __restrict.
51223 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51224 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51225
fb88ac72
UD
512262010-12-09 Ulrich Drepper <drepper@gmail.com>
51227
51228 [BZ #11655]
51229 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51230 are initialized.
51231
42acbb92
JJ
512322010-12-09 Jakub Jelinek <jakub@redhat.com>
51233
51234 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51235
c038d98d
UD
512362010-12-03 Ulrich Drepper <drepper@gmail.com>
51237
51238 * po/it.po: Update from translation team.
51239
3a4a2499
L
512402010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51241
51242 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51243 unused codes.
51244
1e24cf6e
UD
512452010-11-30 Ulrich Drepper <drepper@gmail.com>
51246
51247 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51248
a7690819
AS
512492010-11-24 Andreas Schwab <schwab@redhat.com>
51250
51251 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51252 specially.
51253 (gaih_getanswer_slice): Likewise.
51254
3bf8d1b1
JJ
512552010-10-20 Jakub Jelinek <jakub@redhat.com>
51256
51257 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51258
6db52fbb
PB
512592010-05-31 Petr Baudis <pasky@suse.cz>
51260
51261 [BZ #11149]
51262 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51263 silently even in the chroot mode.
51264
eaca7569
UD
512652010-11-22 Ulrich Drepper <drepper@gmail.com>
51266
51267 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51268 last patch a bit. Pretty printing
51269
3056dcdb
UD
512702010-05-31 Petr Baudis <pasky@suse.cz>
51271
51272 [BZ #10085]
51273 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51274 initialization of skip_initgroups_dyn.
51275
cf7c9078
UD
512762010-11-19 Ulrich Drepper <drepper@gmail.com>
51277
51278 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51279 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51280
a1fb5e3e
UD
512812010-11-16 Ulrich Drepper <drepper@gmail.com>
51282
51283 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51284
3540d66b
AS
512852010-11-11 Andreas Schwab <schwab@redhat.com>
51286
51287 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51288 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51289 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51290 ($(objpfx)tst-fnmatch-mem): New rule.
51291 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51292 * posix/tst-fnmatch.c (main): Call mtrace.
51293
13b69574
L
512942010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51295
51296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51297 Support Intel processor model 6 and model 0x2c.
51298
da93d214
LM
512992010-11-10 Luis Machado <luisgpm@br.ibm.com>
51300
51301 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51302 signed comparison.
51303
8ca52c6e
L
513042010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51305
51306 [BZ #12205]
51307 * string/test-strncasecmp.c (check_result): New function.
51308 (do_one_test): Use it.
51309 (check1): New function.
51310 (test_main): Use it.
51311 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51312 Support strcasecmp and strncasecmp.
51313
69da074d
UD
513142010-11-08 Ulrich Drepper <drepper@gmail.com>
51315
51316 [BZ #12194]
51317 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51318 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51319
ff02d528
L
513202010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51321
51322 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51323 IFUNC support.
51324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51325 memset-x86-64.
51326 * sysdeps/x86_64/multiarch/bzero.S: New file.
51327 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51328 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51329 * sysdeps/x86_64/multiarch/memset.S: New file.
51330 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51332 Set bit_Prefer_SSE_for_memop for Intel processors.
51333 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51334 Define.
51335 (index_Prefer_SSE_for_memop): Define.
51336 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51337
344d0b54
LM
513382010-11-04 Luis Machado <luisgpm@br.ibm.com>
51339
51340 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51341 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51342
c0dde15b
UD
513432010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51344
51345 [BZ #12191]
51346 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51347 (__x86_64_raw_data_cache_size_half): Likewise.
51348 (__x86_64_raw_shared_cache_size): Likewise.
51349 (__x86_64_raw_shared_cache_size_half): Likewise.
51350
51351 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51352 (__x86_64_raw_data_cache_size_half): Likewise.
51353 (__x86_64_raw_shared_cache_size): Likewise.
51354 (__x86_64_raw_shared_cache_size_half): Likewise.
51355 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51356 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51357 and __x86_64_raw_shared_cache_size_half. Round
51358 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51359 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51360 to multiple of 256 bytes.
51361
0e516e0e
MS
513622010-11-03 Ulrich Drepper <drepper@gmail.com>
51363
51364 [BZ #12167]
51365 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51366 of inacessible symlinks. Verify result of symlink before returning it.
51367 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51368 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51369
0e012e87
ER
513702010-10-28 Erich Ritz <erichritz@gmail.com>
51371
51372 * math/math.h (isinf): Fix typo in comment.
51373
de0ff7bc
UD
513742010-11-01 Ulrich Drepper <drepper@gmail.com>
51375
51376 * po/da.po: Update from translation team.
51377
fa41c84d
UD
513782010-10-26 Ulrich Drepper <drepper@gmail.com>
51379
51380 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51381 is added to the list.
51382
f0967738
AK
513832010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51384 Ulrich Drepper <drepper@gmail.com>
51385
51386 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51387 the global list here. Move code to...
51388 (_dl_add_to_namespace_list): ...here. New function.
51389 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51390 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51391 * elf/dl-load.c (lose): Don't remove the element from the list.
51392 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51393 (_dl_map_object): Likewise.
51394
513952010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
51396
51397 [BZ #12159]
51398 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51399 into all bytes of SSE register.
51400 Patch by Richard Li <richardpku@gmail.com>.
51401
f0967738 514022010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
51403
51404 [BZ #12140]
51405 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51406 perturbing.
51407
d0b9e94f
MB
514082010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51409
51410 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51411 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51412 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51413 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51415 submachine.
51416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51417
8e9f92e9
AS
514182010-10-22 Andreas Schwab <schwab@redhat.com>
51419
51420 * include/dlfcn.h (__RTLD_SECURE): Define.
51421 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51422 mode & __RTLD_SECURE instead.
51423 (open_path): Rename preloaded parameter to secure.
51424 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51425 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51426 * elf/dl-deps.c (openaux): Likewise.
51427 * elf/rtld.c (struct map_args): Remove is_preloaded.
51428 (map_doit): Don't use it.
51429 (dl_main): Likewise.
51430 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51431 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51432
bc96fbda
AS
514332010-09-09 Andreas Schwab <schwab@redhat.com>
51434
51435 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51436 (sysd-rules-targets): Remove duplicates.
51437 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51438 rtld-%.$o dependency.
51439
22cd1c9b
AS
514402010-10-18 Andreas Schwab <schwab@redhat.com>
51441
51442 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51443 _dl_map_object do it.
51444
18edac48
UD
514452010-10-19 Ulrich Drepper <drepper@gmail.com>
51446
51447 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51448 fast fma builtins, define the macros in the C99 standard.
51449 (FP_FAST_FMAF): Likewise.
51450 (FP_FAST_FMAL): Likewise.
51451 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51452
51453 * bits/mathdef.h: Update copyright year.
51454 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51455
d2050124
MM
514562010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51457
51458 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51459 builtins, define the macros in the C99 standard.
51460 (FP_FAST_FMAF): Likewise.
51461 (FP_FAST_FMAL): Likewise.
51462 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51463 multiply/add.
51464 (FP_FAST_FMAF): Likewise.
51465
475facd1
JJ
514662010-10-15 Jakub Jelinek <jakub@redhat.com>
51467
51468 [BZ #3268]
51469 * math/libm-test.inc (fma_test): Some new testcases.
51470 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51471 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51472 y and infinite z. Do multiplication by C already in long double.
51473 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51475 y and infinite z. Do bitwise or of inexact bit into u.d.
51476 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51477 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51478 * sysdeps/i386/fpu/s_fma.S: Removed.
51479 * sysdeps/i386/fpu/s_fmal.S: Removed.
51480
7c08a05c
JJ
514812010-10-16 Jakub Jelinek <jakub@redhat.com>
51482
51483 [BZ #3268]
51484 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51485 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51486 computation is not scheduled after fetestexcept. Fix value
51487 of minimum denormal long double.
51488
f3f7372d
JJ
514892010-10-14 Jakub Jelinek <jakub@redhat.com>
51490
51491 [BZ #3268]
51492 * math/libm-test.inc (fma_test): Add some more tests.
51493 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51494 correctly.
51495
14d43591
AS
514962010-10-15 Andreas Schwab <schwab@redhat.com>
51497
51498 * scripts/data/localplt-s390-linux-gnu.data: New file.
51499 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51500
5e908464
JJ
515012010-10-13 Jakub Jelinek <jakub@redhat.com>
51502
51503 [BZ #3268]
51504 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51505 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51506 instead of dbl-64.
51507 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51508 inlines.
51509 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51510 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51511 if one of x and y is very large and the other is subnormal.
51512 * sysdeps/s390/fpu/s_fmaf.c: New file.
51513 * sysdeps/s390/fpu/s_fma.c: New file.
51514 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51515 * sysdeps/powerpc/fpu/s_fma.S: New file.
51516 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51517 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51518 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51519
515202010-10-12 Jakub Jelinek <jakub@redhat.com>
51521
51522 [BZ #3268]
51523 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51524 fma tests.
51525 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51526 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51527 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51528 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51529 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51530 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51531 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51532
b833d51f
UD
515332010-10-12 Ulrich Drepper <drepper@redhat.com>
51534
51535 [BZ #12078]
51536 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51537 * posix/bug-regex31.input: Add test case.
51538
1751705d
UD
515392010-10-11 Ulrich Drepper <drepper@gmail.com>
51540
e9b9cbf5
UD
51541 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51542 * posix/bug-regex31.input: New file.
51543
51544 [BZ #12078]
51545 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51546 (parse_sub_exp): Fix last change, use postorder.
51547
ef06edbe
UD
51548 * posix/bug-regex31.c: New file.
51549 * posix/Makefile: Add rules to build and run bug-regex31.
51550
a129c80d
UD
51551 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51552
51553 [BZ #12078]
51554 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51555
b76b818e
UD
51556 [BZ #12108]
51557 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51558 to have entries in sys_siglist.
51559
1751705d
UD
51560 [BZ #12093]
51561 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51562 be NULL.
51563
9ff8d36f
JJ
515642010-10-07 Jakub Jelinek <jakub@redhat.com>
51565
51566 [BZ #3268]
51567 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51568 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51569 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51570 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51571 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51572 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51573 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51574 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51575 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51576 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51577 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51578 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51579 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51580 * math/ftestexcept.c (fetestexcept): Likewise.
51581 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51582 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51583 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51584 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51585 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51586 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51587 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51588
af325969
UD
515892010-10-11 Ulrich Drepper <drepper@gmail.com>
51590
c579b202 51591 [BZ #12107]
af325969
UD
51592 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51593 newline.
51594
67a67b95
UD
515952010-10-06 Ulrich Drepper <drepper@gmail.com>
51596
51597 * string/bug-strstr1.c: New file.
51598 * string/Makefile: Add rules to build and run bug-strstr1.
51599
5fb308bc
EB
516002010-10-05 Eric Blake <eblake@redhat.com>
51601
51602 [BZ #12092]
51603 * string/str-two-way.h (two_way_long_needle): Always clear memory
51604 when skipping input due to the shift table.
51605
45db99c7
UD
516062010-10-03 Ulrich Drepper <drepper@gmail.com>
51607
3b111893
UD
51608 [BZ #12005]
51609 * malloc/mcheck.c: Handle large requests.
51610
45db99c7
UD
51611 [BZ #12077]
51612 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51613 for strncmp and strncasecmp.
51614 * string/stratcliff.c: Add tests for strcmp and strncmp.
51615 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51616
cf7a1eb8
NI
516172010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51618
51619 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51620 __set_fpscr.
51621
6484ba5e
AJ
516222010-09-30 Andreas Jaeger <aj@suse.de>
51623
51624 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51625 (CGROUP_SUPER_MAGIC): Define.
51626 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51627 Handle btrfs and cgroup file systems.
51628 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51629 Likewise.
51630
91c42559
LM
516312010-09-27 Luis Machado <luisgpm@br.ibm.com>
51632
51633 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51634 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51635
87a97932
AK
516362010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51637
51638 [BZ #12067]
51639 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51640 trying to locate the ELF header.
51641
c21cc9bc
AS
516422010-09-27 Andreas Schwab <schwab@redhat.com>
51643
51644 [BZ #11611]
51645 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51646 Mask out sign-bit copies when constructing f_fsid.
51647
315970f6
PB
516482010-09-24 Petr Baudis <pasky@suse.cz>
51649
51650 * debug/stack_chk_fail_local.c: Add missing licence exception.
51651 * debug/warning-nop.c: Likewise.
51652
1ac7a2c7
JM
516532010-09-15 Joseph Myers <joseph@codesourcery.com>
51654
51655 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51656 implementing getdents64 using getdents syscall, set d_type if
51657 __ASSUME_GETDENTS32_D_TYPE.
51658
56801c50
AS
516592010-09-16 Andreas Schwab <schwab@redhat.com>
51660
51661 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51662 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51663
dda51327
UD
516642010-09-21 Ulrich Drepper <drepper@redhat.com>
51665
51666 [BZ #12037]
51667 * posix/unistd.h: Undo change of feature selection for ftruncate from
51668 2010-01-11.
51669
8ffcee4a
UD
516702010-09-20 Ulrich Drepper <drepper@redhat.com>
51671
a545ecd9 51672 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51673 detection.
51674
e24f0a8b
AS
516752010-09-20 Andreas Schwab <schwab@redhat.com>
51676
51677 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51678 fanotify_mark.
51679 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51680
7291c56f
AS
516812010-09-14 Andreas Schwab <schwab@redhat.com>
51682
51683 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51684 variables after CHECK_SP call.
51685 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51686
bc5fb037
AS
516872010-09-13 Andreas Schwab <schwab@redhat.com>
51688 Ulrich Drepper <drepper@redhat.com>
51689
51690 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51691 re-relocationg ld.so.
51692 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51693 _dl_init_paths call.
51694 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51695 here anymore.
51696
e66e7419
UD
516972010-09-14 Ulrich Drepper <drepper@redhat.com>
51698
51699 * resolv/res_init.c (__res_vinit): Count the default server we added.
51700
c044aa75
CLT
517012010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51702 Ulrich Drepper <drepper@redhat.com>
51703
51704 [BZ #11968]
51705 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51706 (____longjmp_chk): Use %ebx for saving value across system call.
51707 Add unwind info.
51708
32cf4069
AS
517092010-09-06 Andreas Schwab <schwab@redhat.com>
51710
51711 * manual/Makefile: Don't mix pattern rules with normal rules.
51712
817328ee
AS
517132010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51714
51715 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51716 operation.
51717 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51718 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51719 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51720 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51721 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51722 Likewise.
51723
29fddf61
UD
517242010-09-04 Ulrich Drepper <drepper@redhat.com>
51725
51726 [BZ #11979]
51727 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51728 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51729
0959ffc9
UD
517302010-09-02 Ulrich Drepper <drepper@redhat.com>
51731
51732 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51733 * sysdeps/x86_64/addmul_1.S: Likewise.
51734 * sysdeps/x86_64/lshift.S: Likewise.
51735 * sysdeps/x86_64/mul_1.S: Likewise.
51736 * sysdeps/x86_64/rshift.S: Likewise.
51737 * sysdeps/x86_64/sub_n.S: Likewise.
51738 * sysdeps/x86_64/submul_1.S: Likewise.
51739
ece29840
ST
517402010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51741
0959ffc9
UD
51742 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51743 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51744 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51745 * bits/sched.h [__need_schedparam]
ece29840 51746 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51747 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51748 (__defined_schedparam): Define to 1.
ece29840
ST
51749 (__sched_param): New structure, identical to sched_param.
51750 (__need_schedparam): Undefine.
51751
e53a31fe
MF
517522010-08-31 Mike Frysinger <vapier@gentoo.org>
51753
fdc0c10d
MF
51754 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51755 (epoll_create1): Declare.
51756
e53a31fe
MF
51757 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51758
a726d796
AS
517592010-08-31 Andreas Schwab <schwab@redhat.com>
51760
51761 [BZ #7066]
51762 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51763 shifting retval into place.
51764
2f3e3dc7
UD
517652010-09-01 Ulrich Drepper <drepper@redhat.com>
51766
f2933da9
UD
51767 * nis/rpcsvc/nis.h: Update copyright notice.
51768 * nis/rpcsvc/nis.x: Likewise.
51769 * nis/rpcsvc/nis_callback.h: Likewise.
51770 * nis/rpcsvc/nis_callback.x: Likewise.
51771 * nis/rpcsvc/nis_object.x: Likewise.
51772 * nis/rpcsvc/nis_tags.h: Likewise.
51773 * nis/rpcsvc/yp.h: Likewise.
51774 * nis/rpcsvc/yp.x: Likewise.
51775 * nis/rpcsvc/ypupd.h: Likewise.
51776 * nis/yp_xdr.c: Likewise.
51777 * nis/ypupdate_xdr.c: Likewise.
51778
2f3e3dc7
UD
51779 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51780 mainly the body of pmap_getport. Add parameters to specify timeouts.
51781 (pmap_getport): Use __libc_rpc_getport.
51782 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51783 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51784 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51785
f3dcc2f9
AS
517862010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51787
51788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51789 fanotify_mark.
51790
6d34eb5b
RM
517912010-08-27 Roland McGrath <roland@redhat.com>
51792
51793 * sysdeps/i386/i686/multiarch/Makefile
51794 (CFLAGS-varshift.c): New variable.
51795
9ea3de11
UD
517962010-08-27 Ulrich Drepper <drepper@redhat.com>
51797
c96d23fc
UD
51798 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51799 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51800
9ea3de11
UD
51801 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51802
51803 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51804
623aac7f
L
518052010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51806
51807 * sysdeps/x86_64/strlen.S: Unroll the loop.
51808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51809 strlen-sse2 strlen-sse2-bsf.
51810 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51811 __strlen_no_bsf if bit_Slow_BSF is set.
51812 (__strlen_sse42): Removed.
51813 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51814 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51815
8b2b7715
RM
518162010-08-25 Roland McGrath <roland@redhat.com>
51817
51818 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51819 * sysdeps/x86_64/multiarch/varshift.c: New file.
51820 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51821 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51822 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51823 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51824
e73015f2
L
518252010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51826
51827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51828 strlen-sse2 strlen-sse2-bsf.
51829 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51830 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51831 (__strlen_sse2): Removed.
51832 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51833 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51835 bit_Slow_BSF for Atom.
51836 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51837 (index_Slow_BSF): Define.
51838 (HAS_SLOW_BSF): Define.
51839
df24a73e
UD
518402010-08-25 Ulrich Drepper <drepper@redhat.com>
51841
51842 [BZ #10851]
51843 * resolv/res_init.c (__res_vinit): When no server address at all
51844 is given default to loopback.
51845
f2ac4868
RM
518462010-08-24 Roland McGrath <roland@redhat.com>
51847
09055553
RM
51848 * configure.in: Remove config-name.h generation.
51849 * configure: Regenerated.
51850 * config-name.in: File removed.
51851 * scripts/config-uname.sh: New file.
51852 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51853 ($(objdir)config-name.h): New target.
51854
f2ac4868
RM
51855 * sunrpc/rpc_parse.h: Avoid nested comment.
51856
73f27d5e
RH
518572010-08-24 Richard Henderson <rth@redhat.com>
51858 Ulrich Drepper <drepper@redhat.com>
51859 H.J. Lu <hongjiu.lu@intel.com>
51860
51861 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51863 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51864 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51865 _mm_alignr_epi8 with _mm_loadu_si128.
51866 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51867 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51868 (__m128i_shift_right): Removed.
51869 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51870 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51871 * sysdeps/x86_64/multiarch/varshift.h: New file.
51872 * sysdeps/x86_64/multiarch/varshift.S: New file.
51873
84b9230c
MF
518742010-08-21 Mike Frysinger <vapier@gentoo.org>
51875
51876 * configure.in: Move assembler checks to before sysdep dir checking.
51877
9bbd0ddc
PB
518782010-08-20 Petr Baudis <pasky@suse.cz>
51879
51880 * LICENSES: Sync the sunrpc license.
51881
9da4bb31
UD
518822010-08-19 Ulrich Drepper <drepper@redhat.com>
51883
a7ab6ec8
UD
51884 * sunrpc/auth_des.c: Update copyright notice once again.
51885 * sunrpc/auth_none.c: Likewise.
51886 * sunrpc/auth_unix.c: Likewise.
51887 * sunrpc/authdes_prot.c: Likewise.
51888 * sunrpc/authuxprot.c: Likewise.
51889 * sunrpc/bindrsvprt.c: Likewise.
51890 * sunrpc/clnt_gen.c: Likewise.
51891 * sunrpc/clnt_perr.c: Likewise.
51892 * sunrpc/clnt_raw.c: Likewise.
51893 * sunrpc/clnt_simp.c: Likewise.
51894 * sunrpc/clnt_tcp.c: Likewise.
51895 * sunrpc/clnt_udp.c: Likewise.
51896 * sunrpc/clnt_unix.c: Likewise.
51897 * sunrpc/des_crypt.c: Likewise.
51898 * sunrpc/des_soft.c: Likewise.
51899 * sunrpc/get_myaddr.c: Likewise.
51900 * sunrpc/getrpcport.c: Likewise.
51901 * sunrpc/key_call.c: Likewise.
51902 * sunrpc/key_prot.c: Likewise.
51903 * sunrpc/openchild.c: Likewise.
51904 * sunrpc/pm_getmaps.c: Likewise.
51905 * sunrpc/pm_getport.c: Likewise.
51906 * sunrpc/pmap_clnt.c: Likewise.
51907 * sunrpc/pmap_prot.c: Likewise.
51908 * sunrpc/pmap_prot2.c: Likewise.
51909 * sunrpc/pmap_rmt.c: Likewise.
51910 * sunrpc/rpc/auth.h: Likewise.
51911 * sunrpc/rpc/auth_unix.h: Likewise.
51912 * sunrpc/rpc/clnt.h: Likewise.
51913 * sunrpc/rpc/des_crypt.h: Likewise.
51914 * sunrpc/rpc/key_prot.h: Likewise.
51915 * sunrpc/rpc/netdb.h: Likewise.
51916 * sunrpc/rpc/pmap_clnt.h: Likewise.
51917 * sunrpc/rpc/pmap_prot.h: Likewise.
51918 * sunrpc/rpc/pmap_rmt.h: Likewise.
51919 * sunrpc/rpc/rpc.h: Likewise.
51920 * sunrpc/rpc/rpc_des.h: Likewise.
51921 * sunrpc/rpc/rpc_msg.h: Likewise.
51922 * sunrpc/rpc/svc.h: Likewise.
51923 * sunrpc/rpc/svc_auth.h: Likewise.
51924 * sunrpc/rpc/types.h: Likewise.
51925 * sunrpc/rpc/xdr.h: Likewise.
51926 * sunrpc/rpc_clntout.c: Likewise.
51927 * sunrpc/rpc_cmsg.c: Likewise.
51928 * sunrpc/rpc_common.c: Likewise.
51929 * sunrpc/rpc_cout.c: Likewise.
51930 * sunrpc/rpc_dtable.c: Likewise.
51931 * sunrpc/rpc_hout.c: Likewise.
51932 * sunrpc/rpc_main.c: Likewise.
51933 * sunrpc/rpc_parse.c: Likewise.
51934 * sunrpc/rpc_parse.h: Likewise.
51935 * sunrpc/rpc_prot.c: Likewise.
51936 * sunrpc/rpc_sample.c: Likewise.
51937 * sunrpc/rpc_scan.c: Likewise.
51938 * sunrpc/rpc_scan.h: Likewise.
51939 * sunrpc/rpc_svcout.c: Likewise.
51940 * sunrpc/rpc_tblout.c: Likewise.
51941 * sunrpc/rpc_util.c: Likewise.
51942 * sunrpc/rpc_util.h: Likewise.
51943 * sunrpc/rpcinfo.c: Likewise.
51944 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51945 * sunrpc/rpcsvc/key_prot.x: Likewise.
51946 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51947 * sunrpc/rpcsvc/mount.x: Likewise.
51948 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51949 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51950 * sunrpc/rpcsvc/rex.x: Likewise.
51951 * sunrpc/rpcsvc/rstat.x: Likewise.
51952 * sunrpc/rpcsvc/rusers.x: Likewise.
51953 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51954 * sunrpc/rpcsvc/spray.x: Likewise.
51955 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51956 * sunrpc/rtime.c: Likewise.
51957 * sunrpc/svc.c: Likewise.
51958 * sunrpc/svc_auth.c: Likewise.
51959 * sunrpc/svc_authux.c: Likewise.
51960 * sunrpc/svc_raw.c: Likewise.
51961 * sunrpc/svc_run.c: Likewise.
51962 * sunrpc/svc_simple.c: Likewise.
51963 * sunrpc/svc_tcp.c: Likewise.
51964 * sunrpc/svc_udp.c: Likewise.
51965 * sunrpc/svc_unix.c: Likewise.
51966 * sunrpc/svcauth_des.c: Likewise.
51967 * sunrpc/xcrypt.c: Likewise.
51968 * sunrpc/xdr.c: Likewise.
51969 * sunrpc/xdr_array.c: Likewise.
51970 * sunrpc/xdr_float.c: Likewise.
51971 * sunrpc/xdr_mem.c: Likewise.
51972 * sunrpc/xdr_rec.c: Likewise.
51973 * sunrpc/xdr_ref.c: Likewise.
51974 * sunrpc/xdr_sizeof.c: Likewise.
51975 * sunrpc/xdr_stdio.c: Likewise.
51976
9da4bb31
UD
51977 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51978 handling.
51979
bdaa77bc
AS
519802010-08-19 Andreas Schwab <schwab@redhat.com>
51981
51982 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51983
fe2f79db
LM
519842010-08-19 Luis Machado <luisgpm@br.ibm.com>
51985
51986 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51987 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51988 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51989 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51990 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51991 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51992 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51993 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51994 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51995 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51996 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51997 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51998 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51999 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52000
b9b42ee0
AB
520012010-07-26 Anton Blanchard <anton@samba.org>
52002
52003 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52004 * malloc/arena.c (heap_trim): Likewise.
52005
1c06ba31
UD
520062010-08-16 Ulrich Drepper <drepper@redhat.com>
52007
52008 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52009 here. Not...
52010 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52011 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52012
f8392f40
L
520132010-08-12 H.J. Lu <hongjiu.lu@intel.com>
52014
52015 * sysdeps/i386/elf/Makefile: New file.
52016
3162f12e
AS
520172010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52018
52019 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52020 from fanotify_init.
52021 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52022 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52023
28c90b2c
UD
520242010-08-15 Ulrich Drepper <drepper@redhat.com>
52025
52026 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52027 of strncasecmp_l.
1feccb6c 52028 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 52029
ca6bb004
UD
520302010-08-14 Ulrich Drepper <drepper@redhat.com>
52031
e9f82e0d
UD
52032 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52033 strncase_l-nonascii.
52034 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52035 Add strncase_l-ssse3.
52036 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52037 * sysdeps/x86_64/strcmp.S: Likewise.
52038 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52039 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52040 * sysdeps/x86_64/strncase.S: New file.
52041 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52042 * sysdeps/x86_64/strncase_l.S: New file.
52043 * string/Makefile (strop-tests): Add strncasecmp.
52044 * string/test-strncasecmp.c: New file.
52045
52046 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52047 warning.
52048
ca6bb004
UD
52049 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52050 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52051
052fa7b3
AS
520522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52053
52054 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52055
962dba78
UD
520562010-08-12 Ulrich Drepper <drepper@redhat.com>
52057
52058 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52059 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52060 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52061
bebff237
AM
520622010-05-01 Alan Modra <amodra@gmail.com>
52063
52064 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52065 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52066 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52067 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52068 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52069 tidying. Don't tail-call __sigjmp_save for static lib.
52070 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52071 save location.
52072 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52073 (CALL_MCOUNT): Add eh info, and nop after bl.
52074 (TAIL_CALL_SYSCALL_ERROR): New macro.
52075 (PSEUDO_RET): Use it.
52076 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52077 Correct save location of integer regs and cr.
52078 (_dl_profile_resolve): Correct cr save location. Delete nops
52079 after bl when SHARED. Reduce cfi size a little by better
52080 placement of cfi directives.
52081 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52082 make a stack frame. Instead use parm save area as a temp.
52083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52084 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52086 Don't make a stack frame for parent, use parm save area.
52087 Increase child stack frame to 112 bytes. Don't save unused reg,
52088 and adjust reg usage. Set up cfi on error recovery and
52089 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52091 (__makecontext): Add dummy nop after jump to exit.
52092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52093 Use correct parm save area and cr save, reduce stack frame.
52094 Correct cfi for possible PSEUDO_RET frame setup.
52095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52096 Branch to local label emitted by PSEUDO_RET rather than
52097 __syscall_error.
52098
02637374
AS
520992010-08-12 Andreas Schwab <schwab@redhat.com>
52100
52101 [BZ #11904]
52102 * locale/programs/locale.c (print_assignment): New function.
52103 (show_locale_vars): Use it.
52104
c3e2f19b
UD
521052010-08-11 Ulrich Drepper <drepper@redhat.com>
52106
3cdaa6ad
UD
52107 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52108 field.
52109 (struct statfs64): Likewise.
52110 (_STATFS_F_FLAGS): Define.
52111 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52112 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52113 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52114 (ST_VALID): Define locally.
52115 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52116 __statvfs_getflags, use the provided value.
52117 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52118 __ASSUME_STATFS_F_FLAGS.
52119
754f7da3
UD
52120 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52121
10b3bedc
UD
52122 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52123 Add sys/fanotify.h.
52124 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52125 fanotify_mask for GLIBC_2.13.
52126 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52127 fanotify_init and fanotify_mark.
52128 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52129 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52130
c08fb0d7
UD
52131 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52132 Add prlimit.
52133 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52134 prlimit64 for GLIBC_2.13.
52135 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52136 prlimit64.
52137 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52138 syscall.
52139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52140 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52141 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52142 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52143 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52144 add prlimit alias.
52145 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52146
15bac72b
UD
52147 [BZ #11903]
52148 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52149 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52150
c3e2f19b
UD
52151 * nss/Makefile: Add rules to build and run tst-nss-test1.
52152 * shlib-versions: Add entry for libnss_test1.
52153 * nss/nss_test1.c: New file.
52154 * nss/tst-nss-test1.c: New file.
52155
52156 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52157 (__nss_configure_lookup): Set appropriate entry in
52158 __nss_configure_lookup to true.
52159 * nss/nsswitch.h: Define enum with indeces of databases in
52160 databases and __nss_database_custom arrays. Declare
52161 __nss_database_custom.
52162 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52163 to avoid using nscd when custom rules are installed.
52164 * nss/getXXbyYY_r.c: Likewise.
52165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52166
52167 * nss/nss_files/files-parse.c: Whitespace fixes.
52168
f15ce4d8
UD
521692010-08-09 Ulrich Drepper <drepper@redhat.com>
52170
52171 [BZ #11883]
52172 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52173 * posix/fnmatch_loop.c: Likewise.
52174
d22e4cc9
AK
521752010-07-17 Andi Kleen <ak@linux.intel.com>
52176
52177 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52178 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52179 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52180 * Versions.def [GLIBC_2.13]: Add.
52181
805bc17d
UD
521822010-08-06 Ulrich Drepper <drepper@redhat.com>
52183
52184 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52185 Also fail if tpwd after pwuid call is NULL.
52186
5a42321d
ST
521872010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52188
52189 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52190 when converting to ms.
52191
fd3ebeda
ST
521922010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52193
52194 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52195 EOPNOTSUPP errors with ENOTTY.
52196 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52197 EOPNOTSUPP errors with ENOTTY.
52198
73507d3a
UD
521992010-07-31 Ulrich Drepper <drepper@redhat.com>
52200
52201 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52202 Add strcasecmp_l-ssse3.
52203 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52204 strcasecmp.
52205 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52206 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52207 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52208
fe36dd02
UD
522092010-07-30 Ulrich Drepper <drepper@redhat.com>
52210
66f6765a
UD
52211 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52212
42e08a54
UD
52213 * string/Makefile (strop-tests): Add strcasecmp.
52214 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52215 strcasecmp_l-nonascii.
52216 (gen-as-const-headers): Add locale-defines.sym.
52217 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52218 * sysdeps/x86_64/strcasecmp.S: New file.
52219 * sysdeps/x86_64/strcasecmp_l.S: New file.
52220 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52221 * sysdeps/x86_64/locale-defines.sym: New file.
52222 * string/test-strcasecmp.c: New file.
52223
fe36dd02
UD
52224 * string/test-strcasestr.c: Test both ends of the range of characters.
52225 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52226
48cbc0d6
RM
522272010-07-29 Roland McGrath <roland@redhat.com>
52228
76e6d6bc 52229 [BZ #11856]
48cbc0d6
RM
52230 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52231
880113d9
UD
522322010-07-27 Ulrich Drepper <drepper@redhat.com>
52233
52234 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52235 for ld.so.
52236
deb9cabb
AS
522372010-07-27 Andreas Schwab <schwab@redhat.com>
52238
52239 * manual/memory.texi (Malloc Tunable Parameters): Document
52240 M_PERTURB.
52241
1c7570ff
RM
522422010-07-26 Roland McGrath <roland@redhat.com>
52243
52244 [BZ #11840]
52245 * configure.in (-fgnu89-inline check): Set and substitute
52246 gnu89_inline, not libc_cv_gnu89_inline.
52247 * configure: Regenerated.
52248 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52249
24fb0f88
UD
522502010-07-26 Ulrich Drepper <drepper@redhat.com>
52251
52252 * string/test-strnlen.c: New file.
52253 * string/Makefile (strop-tests): Add strnlen.
52254 * string/tester.c (test_strnlen): Add a few more test cases.
52255 * string/tst-strlen.c: Better error reporting.
52256
52257 * sysdeps/x86_64/strnlen.S: New file.
52258
8e96b93a
UD
522592010-07-24 Ulrich Drepper <drepper@redhat.com>
52260
52261 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52262 lower-latency instructions.
52263
dbc676d4
UD
522642010-07-23 Ulrich Drepper <drepper@redhat.com>
52265
52266 * string/test-strcasestr.c: New file.
52267 * string/test-strstr.c: New file.
52268 * string/Makefile (strop-tests): Add strstr and strcasestr.
52269 * string/str-two-way.h: Don't undefine MAX.
52270 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52271
f6a31e0e
AS
522722010-07-21 Andreas Schwab <schwab@redhat.com>
52273
52274 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52275 strcasestr-nonascii.
52276 (CFLAGS-strcasestr-nonascii.c): Define.
52277 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52278 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52279 Remove unused attribute.
52280
5dbc3b6c
RM
522812010-07-20 Roland McGrath <roland@redhat.com>
52282
52283 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52284 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52285 ld.so.cache was broken. With it, there is no way to disable dsocaps
52286 like LD_HWCAP_MASK can disable hwcaps.
52287
23d101d8
EPM
522882010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52289
52290 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52291
cc9f2e47
UD
522922010-07-16 Ulrich Drepper <drepper@redhat.com>
52293
52294 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52295 call in strcasestr.
52296 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52297 __strcasestr_sse42_nonascii.
52298 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52299 strcasestr-nonascii.c.
52300 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52301
77c1b069
LM
523022010-06-15 Luis Machado <luisgpm@br.ibm.com>
52303
52304 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52305 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52306 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52307 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52308
440566c3
UD
523092010-07-09 Ulrich Drepper <drepper@redhat.com>
52310
52311 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52312 fcntl.
52313
5be9d05d
AS
523142010-07-06 Andreas Schwab <schwab@redhat.com>
52315
c30b7ee2 52316 [BZ #11577]
5be9d05d
AS
52317 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52318 dl_signal_cerror.
52319
8a492a67
UD
523202010-07-06 Ulrich Drepper <drepper@redhat.com>
52321
52322 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52323 _PC_PIPE_BUF using F_GETPIPE_SZ.
52324
713df3d5
RM
523252010-07-05 Roland McGrath <roland@redhat.com>
52326
52327 * manual/arith.texi (Rounding Functions): Fix rint description
52328 implicit in round description.
52329
702e8f14
UD
523302010-07-02 Ulrich Drepper <drepper@redhat.com>
52331
52332 * elf/Makefile: Fix linking for a few tests to make recent linker
52333 happy.
52334
52ed8be9
AS
523352010-06-30 Andreas Schwab <schwab@redhat.com>
52336
52337 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52338 $(common-objpfx)libc_nonshared.a.
52339
f47c9a11
LM
523402010-06-21 Luis Machado <luisgpm@br.ibm.com>
52341
52342 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52343 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52344 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52345 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52346 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52347 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52348 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52349 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52364 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52365 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52366 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52367 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52368 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52369 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52370 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52371 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52372 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52373 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52374 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52375 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52390
6fb8cbcb
L
523912010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52392
52393 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52394 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52395 * string/memmove.c (memmove): Renamed to ...
52396 (MEMMOVE): ...this. Default to memmove.
52397 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52398 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52399 (END_CHK): Define.
52400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52401 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52402 mempcpy-ssse3-back memmove-ssse3-back.
52403 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52404 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52405 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52406 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52407 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52408 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52409 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52410 * sysdeps/x86_64/multiarch/memmove.c: New file.
52411 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52412 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52413 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52414 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52415 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52416 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52417 Define.
52418 (index_Fast_Copy_Backward): Define.
52419 (HAS_ARCH_FEATURE): Define.
52420 (HAS_FAST_REP_STRING): Define.
52421 (HAS_FAST_COPY_BACKWARD): Define.
52422
4e733bac 524232010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
52424
52425 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52426 Restore proper fallback handling.
52427
63c4ed22
UD
524282010-06-19 Ulrich Drepper <drepper@redhat.com>
52429
ac2b484c
UD
52430 [BZ #11701]
52431 * posix/group_member.c (__group_member): Correct checking loop.
52432
63c4ed22
UD
52433 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52434 OOM in getpwuid_r correctly. Return error number when the caller
52435 should return, otherwise -1.
52436 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52437 call returning > 0 value.
52438 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52439
765ade4b
AS
524402010-06-07 Andreas Schwab <schwab@redhat.com>
52441
52442 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52443 libc_nonshared.a from targets in modules-names.
52444
80da2e09
KS
524452010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52446
52447 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52448 requires it.
52449
158db122
LM
524502010-06-10 Luis Machado <luisgpm@br.ibm.com>
52451
52452 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52453 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52454 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52455 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52456
caa78cf8
AS
524572010-06-02 Andreas Schwab <schwab@redhat.com>
52458
52459 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52460
b2ef2c01
UD
524612010-06-14 Ulrich Drepper <drepper@redhat.com>
52462
52463 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52464 and F_GETPIPE_SZ.
52465 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52466 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52467 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52468 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52469 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52470 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52471
fbd643b6
RM
524722010-06-14 Roland McGrath <roland@redhat.com>
52473
52474 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52475
f32f2869
JJ
524762010-06-07 Jakub Jelinek <jakub@redhat.com>
52477
52478 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52479 __REDIRECT followed by __THROW.
52480 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52481 * posix/getopt.h (getopt): Likewise.
52482
2a50c078
EPM
524832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52484
52485 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52486 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52487 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52488 in AT_FLAGS.
52489 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52490 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52491
eb5ad2eb
LM
524922010-05-28 Luis Machado <luisgpm@br.ibm.com>
52493
52494 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52495
3c88fe1e
L
524962010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52497
52498 [BZ #11640]
52499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52500 Properly check family and model.
52501
d2f73151
TY
525022010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52503
52504 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52505
ebd2e13d
LM
525062010-05-24 Luis Machado <luisgpm@br.ibm.com>
52507
52508 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52509
b32b8b45
UD
525102010-05-21 Ulrich Drepper <drepper@redhat.com>
52511
52512 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52513 symbol reference.
52514
9acbe24d
AS
525152010-05-19 Andreas Schwab <schwab@redhat.com>
52516
52517 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52518 symbol reference.
52519
f0ccf6ea
AS
525202010-05-21 Andreas Schwab <schwab@redhat.com>
52521
3d04ff3a
AS
52522 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52523 and internal_recvmmsg.
52524 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52525 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52526 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52527 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52528
f0ccf6ea
AS
52529 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52530 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52531 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52532
5b08ac57
AS
525332010-05-20 Andreas Schwab <schwab@redhat.com>
52534
52535 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52536
4828935d
LM
525372010-05-17 Luis Machado <luisgpm@br.ibm.com>
52538
52539 POWER7 optimizations.
52540 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52541 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52542
373d545e
UD
525432010-05-19 Ulrich Drepper <drepper@redhat.com>
52544
52545 * version.h: Update for 2.13 development version.
52546
21a2b1ae
AS
525472010-05-12 Andrew Stubbs <ams@codesourcery.com>
52548
52549 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52550 exceptions. Return 0.
52551
3f7dcb2b
RM
525522010-05-07 Roland McGrath <roland@redhat.com>
52553
52554 * elf/ldconfig.c (main): Add a const.
52555
5f24d53a 525562010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52557
a160f8d8
UD
52558 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52559 (args_options): Add no-idn option.
52560 (ahosts_keys_int): Add idn_flags to ai_flags.
52561 (parse_option): Handle 'i' option to clear idn_flags.
52562
5f24d53a
UD
52563 * malloc/malloc.c (_int_free): Possible race in the most recently
52564 added check. Only act on the data if no current modification
52565 happened.
265bb1ce
UD
52566
52567See ChangeLog.17 for earlier changes.